Page 1 of 1

[SOLVED] //spawn working only once

Posted: Fri Aug 31, 2018 11:13 pm
by Hemorrhoid
Using last Rev of Master.

When I use the //spawn command, the mob spawns alright, I kill it (like a regular player would) then the mob does not respawn.

It only respawns if I do the unspawnall/respawnall commands, or if i restart the gameserver.

I treid using bth the spawn menu, and the //spawn command, both gave me same result (not using the spwan_once command).

Regular spawned mobs (that were given with the server files) respawn fine after I killed them.

Re: //spawn working only once

Posted: Sat Sep 01, 2018 12:24 am
by Hemorrhoid
[SOLVED]The //spawn command and the GM menu Spawn tool create a new line in the spawnlist.sql but give the value 0 to the variable respawn_delay, hence why the mobs spawn only after a server restart or //respawnall.

So we have to manually edit the sql to "complete" the new spawn of the monster, the GM menu is not enough.

Re: [SOLVED] //spawn working only once

Posted: Sat Sep 01, 2018 4:02 pm
by JMD
just do

//spawn npcid respawntime

example
//spawn gremlin 300 => will spawn a gremlin that once killed will repsawn in 5 minutes.

Re: [SOLVED] //spawn working only once

Posted: Sat Sep 01, 2018 6:53 pm
by Hemorrhoid
JMD wrote: Sat Sep 01, 2018 4:02 pm just do

//spawn npcid respawntime

example
//spawn gremlin 300 => will spawn a gremlin that once killed will repsawn in 5 minutes.
That's helpful, thank you