EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Bots (https://www.eqemulator.org/forums/forumdisplay.php?f=676)
-   -   Bot spells... (https://www.eqemulator.org/forums/showthread.php?t=41004)

Warkral 10-24-2016 07:24 PM

Bot spells...
 
Ok, I can now nearly confirm the bots are pulling they're spells from a location other than the bot spell lists (700+). After my bot wizard spend every second of every minute making sure our entire group had the 32 second buff, "O'Keil's Embers", I just went in and deleted all of the O'Keil's line of spells, rebooted the server, logged out. Logged in, he was no longer casting it, played all night, logged out, kept the server on, logged in tonight, and he is chain casting it once again. Logged into EOC and it is indeed no longer listed in the bot spell list, however, he is chain casting.

Where is he pulling the spell from?

Uleat 10-24-2016 08:15 PM

Code:

SELECT * FROM `npc_spells` WHERE `id` >= 700 AND `id` <= 712;
SELECT * FROM `npc_spells_entries` WHERE `npc_spells_id` >= 700 AND `npc_spells_id` <= 712;

Did you re-run shared_memory.exe after deleting them from the database?


If you did not, chances are you rebooted the server and 'cleared' the overwrite bug temporarily and it picked up again.

Deleting the spells from the database isn't enough since spells are 'pre-loaded' into mmf files when [sm] is run and the spells were still accessible.

Warkral 10-24-2016 11:19 PM

Quote:

Originally Posted by Uleat (Post 252053)
Code:

SELECT * FROM `npc_spells` WHERE `id` >= 700 AND `id` <= 712;
SELECT * FROM `npc_spells_entries` WHERE `npc_spells_id` >= 700 AND `npc_spells_id` <= 712;

Did you re-run shared_memory.exe after deleting them from the database?


If you did not, chances are you rebooted the server and 'cleared' the overwrite bug temporarily and it picked up again.

Deleting the spells from the database isn't enough since spells are 'pre-loaded' into mmf files when [sm] is run and the spells were still accessible.

Ok thanks Uleat, I'll give that a try.

Warkral 10-24-2016 11:32 PM

Quote:

Originally Posted by Uleat (Post 252053)
Code:

SELECT * FROM `npc_spells` WHERE `id` >= 700 AND `id` <= 712;
SELECT * FROM `npc_spells_entries` WHERE `npc_spells_id` >= 700 AND `npc_spells_id` <= 712;

Did you re-run shared_memory.exe after deleting them from the database?


If you did not, chances are you rebooted the server and 'cleared' the overwrite bug temporarily and it picked up again.

Deleting the spells from the database isn't enough since spells are 'pre-loaded' into mmf files when [sm] is run and the spells were still accessible.

Worked like a charm. Thanks again Uleat.


All times are GMT -4. The time now is 11:21 AM.

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