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:30 PM
Ashiar
Fire Beetle
 
Join Date: Feb 2008
Location: gjkfjh
Posts: 2
Default

Quote:
Originally Posted by Aramid View Post
What version of EQEmulator and EQBots (aka EQOffline) are you using?

I am using the 1102 version from Congdar along with the 1102 emu and this doesn't happen to me. I am using 3 casters and 2 melee's.
Thanks for responding Aramid. I have since got it all working properly after a reformat and reinstalled everything just how it was before, this time though it just works.

I must have missed something somewhere, im quite puzzled by this.

GeargeS I tried out a few of your programs, the quest editor and NPC/Loot editor - they are really good. I was wondering though when creating a BOT with the NPC/Loot editor it assigns the first available ID wich is a 4 digit number like 1005, where as creating a bot in game would assign a 7 digit number like 2700012. Could this cause any problems at all with the way the BOT code works?

Thank you for all your effort guys this is really good stuff.
  #2  
Old 04-04-2008, 05:40 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Quote:
Originally Posted by Ashiar View Post
GeargeS I tried out a few of your programs, the quest editor and NPC/Loot editor - they are really good. I was wondering though when creating a BOT with the NPC/Loot editor it assigns the first available ID wich is a 4 digit number like 1005, where as creating a bot in game would assign a 7 digit number like 2700012. Could this cause any problems at all with the way the BOT code works?
Assigning the first available ID as opposed to the highest ID will cause trouble with the PEQ db, as we may use those IDs one day which would obviously conflict. IDs past 999,999 will never be used by us, and any currently past that point I plan on moving down to our "reserved" range.
  #3  
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+
  #4  
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 05:51 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