View Single Post
  #1  
Old 10-12-2015, 02:54 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default Bot Pet Buffs/Inventories And BotGroups

There is a fix for all 3 of these issues implemented in an upcoming change.


For those who would like to fix it now, or who are using a 'static' code base and are experiencing these issues:

Bot::SavePetStats()
https://github.com/EQEmu/Server/blob.../bot.cpp#L1839

Code:
-	return 0;
+	return results.LastInsertedID();

Bot::SaveBotGroup()
https://github.com/EQEmu/Server/blob.../bot.cpp#L3483

Code:
+	botGroupId = results.LastInsertedID();
	if(botGroupId == 0)
__________________
Uleat of Bertoxxulous

Compilin' Dirty
Reply With Quote