EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   Bot Pet Buffs/Inventories And BotGroups (https://www.eqemulator.org/forums/showthread.php?t=40086)

Uleat 10-12-2015 02:54 PM

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)



All times are GMT -4. The time now is 12:35 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.