[Fixed]/spawn add problem
-
Durge
- Posts: 94
- Joined: Sun Jan 03, 2010 11:45 am
[Fixed]/spawn add problem
After I added one npc to my new zone and I added a spawn for him, every spawn after that I try to add is trying to duplicate the first spawn's ID, no idea why it wants to copy the first spawn, but I can't seem to add any npcs to the zone now.

-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: /spawn add problem
I can confirm this bug, /spawn add new is attempting to add a spawn with an id of zone_id * 10000 but if that id already exists it just gives a db error in the console, I will be looking into this.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: /spawn add problem
Fixed this bug and submited code to dev svn, locking this topic.
- John Adams
- Retired
- Posts: 9684
- Joined: Thu Jul 26, 2007 6:27 am
- EQ2Emu Server: EQ2Emulator Test Center
- Characters: John
- Location: Arizona
- Contact:
Re: [Fixed]/spawn add problem
FYI, I recently added this new spawn_id calculation code to World, so new spawns would fit into the current zone_id * 10000 scheme we decided on years ago. I see the fix, and that was dumb of me to not bump it +1
Sorry. I had tested it on an empty DB, not one with spawns already in it 
- Cynnar
- Project Leader
- Posts: 738
- Joined: Sat Sep 27, 2014 1:22 am
- EQ2Emu Server: Eq2emulator
- Characters: Vlash
Veinlash
Taragak
Cynnar
Re: [Fixed]/spawn add problem
Flagged to be archived.
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Who is online
Users browsing this forum: No registered users and 0 guests