Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bots

Development::Bots Forum for bots.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old 04-03-2017, 06:59 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Bear with me...


This is where we assign the npc_spell_id: https://github.com/EQEmu/Server/blob...e/bot.cpp#L487

And running..
Code:
SELECT `name` FROM `npc_spells` WHERE `id` = '3008';
..should return one entry - 'Bard Bot'

Conversely, running..
Code:
SELECT `id` FROM `npc_spells` WHERE `name` = 'Bard Bot';
..should return one entry - '3008'


Checking the saved bot entries..
Code:
SELECT `spells_id` FROM `bot_data` WHERE `spells_id` < '3001' OR `spells_id` > '3016';
..should return zero (0) entries.


Finally, check the spell entries tables with..
Code:
SELECT `npc_spells_id` FROM `bot_spells_entries` WHERE `npc_spells_id` < '3001' OR `npc_spells_id` > '3016';
..returning zero entries and..
Code:
SELECT `npc_spells_id` FROM `bot_spells_entries` WHERE `npc_spells_id` = '3008';
returning 132 entries.


If these queries don't produce the expected results, don't delete anything and we'll go from there.
__________________
Uleat of Bertoxxulous

Compilin' Dirty

Last edited by Uleat; 04-03-2017 at 07:06 PM..
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:57 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3