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

Development::Bots Forum for bots.

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 08-18-2007, 05:17 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

It's 992, yes.
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
  #2  
Old 08-19-2007, 12:33 AM
drakelord
Hill Giant
 
Join Date: Nov 2002
Location: NC, USA
Posts: 182
Default

Alright, something is definately not loading correctly.

In the database, the bots "npc_spells_id" is set to 600.
600 is the number of the npc_spells field created for the druid bot.
In npc_spells_entries, the spells are selected.

The bot is loaded and updated, and with #bot debug spells, he is showing spells that are not even on my list. Does it not actually use the npc_spells_id field in the database?
  #3  
Old 08-19-2007, 01:18 AM
Magoth78
Discordant
 
Join Date: Jun 2003
Posts: 345
Default

To be sure that it's loading your spells, target your bot and do "#ai spellslist 600".
__________________
User's projects:
-- Original EMPIRE I/II and Factions! servers
-- Web GM Portal
-- EQoffline/bots
  #4  
Old 08-20-2007, 04:36 AM
drakelord
Hill Giant
 
Join Date: Nov 2002
Location: NC, USA
Posts: 182
Default

Sweet, it worked.

Now, next couple things, :3; First off, is there a way to get a bot to cast DoT's before it casts it's direct damage spells?

Also, how can I increase the casting rate in the source code?
  #5  
Old 08-20-2007, 11:15 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Might require some manual effort on your part, but I believe the npc_spell_entries table has a "priority" field. If it does what I think, the NPC should cast it's spells in the order of priority. I haven't tested this, but it would make sense.

You know how some NPCs pop, and immediately start buffing themselves or summon pets... I think this is what controls that.
  #6  
Old 08-20-2007, 12:19 PM
Zengez
Hill Giant
 
Join Date: Nov 2004
Posts: 160
Default

I May be totally off target but I thought I read somewhere that that field governed some weird idea about how many times the npc casts that in a given amount of time... i.e. if priority is 5 then the npc casts that spell 5 times per however long that time period is...

That could be dating myself though and not have been true since the dawn of time, but I remember that from somewhere if it matters... My server is down though so no ability to test it unfortunately.
  #7  
Old 08-20-2007, 01:28 PM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

I wouldn't be the least bit surprised if a field aptly named "priority" ended up having nothing whatsoever to do with prioritizing what order to cast, but quantities of casts.

Considering I am still wrestling with understanding conditional spawns...
Closed Thread


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 10:20 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3