Uleat
10-12-2015, 02:54 PM
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/master/zone/bot.cpp#L1839
- return 0;
+ return results.LastInsertedID();
Bot::SaveBotGroup()
https://github.com/EQEmu/Server/blob/master/zone/bot.cpp#L3483
+ botGroupId = results.LastInsertedID();
if(botGroupId == 0)
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/master/zone/bot.cpp#L1839
- return 0;
+ return results.LastInsertedID();
Bot::SaveBotGroup()
https://github.com/EQEmu/Server/blob/master/zone/bot.cpp#L3483
+ botGroupId = results.LastInsertedID();
if(botGroupId == 0)