PDA

View Full Version : #advnpcspawn usage - bug?


Lillu
11-23-2009, 05:26 PM
I'm having some trouble with #advnpcspawn for a while now, but couldn't figure out what the problem is. I might using it wrong, so would appreciate if anyone could explain what am I doing wrong.

I'm simply creating spawngroups, adding npcs to the spawngroup, then spawning npcs to populate a zone from the spawngroup's npc pool. Like this:

Step1: Creating spawngroup
#advnpcspawn makegroup (SpawnGroupname)

Step2: Adding npcs to the spawngoup
#advnpcspawn addgroupentry (SpawnGroupID) (NPCid) (chance to spawn)

Step3: running around the zone and planting spawnpoints
#dbspawn2 (SpawnGroupID) (respawn time in seconds) (version)

All seems fine, I'm able to #repop/#spawnfix or whatever successfully.. till the zone is rebooted. Then the spawngroup entry 'disappears' from the db(?!?).

The spawn2 table entries are all there intact, but the spawngroupID related spawngroup and spawnentry table entries are missing..

If I recreate those manually in Navicat, the spawn2 entries are working again and the zone is populated as before.. I know it's more than weird, but maybe it's a layer8 error on my end, so thought I would post it..