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

Development::Bots Forum for bots.

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 04-04-2008, 05:46 PM
Congdar
Developer
 
Join Date: Jul 2007
Location: my own little world
Posts: 751
Default

I don't think the bot code cares what the npcid is, but there is a protocol for npc id's. The first few numbers should be the zone the npc is supposed to spawn in. Cavedude as said he is fine with the bots using the 27000000+
  #2  
Old 04-04-2008, 07:45 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

With the next CVS dump, the max NPCID from PEQ will be 999138. I set the auto increment for npc_types to 999999, so on a fresh db without bots, the first bot will take ID 1000000. If you already have bots, I recommend re-ordering your IDs so they start at 1 million. Then, set your auto-increment to the ID of the last bot like this:

Code:
ALTER TABLE npc_types AUTO_INCREMENT = id;
Keep in mind that 1 million will never be used by PEQ, unless Sony uses zones with zoneids in the 1,000s and since the current batch of zones are in the 400s, I don't see that happening. We have more than enough IDs to use inbetween, as we allocate ourselves 1,000 IDs per zone.

Last edited by cavedude; 04-05-2008 at 03:47 AM..
Closed Thread

Thread Tools
Display Modes

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 11:35 PM.


 

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