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.
[SOLVED] //spawn working only once
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 10
- Joined: Wed Jan 23, 2008 7:40 pm
[SOLVED] //spawn working only once
Last edited by Hemorrhoid on Sat Sep 01, 2018 12:25 am, edited 1 time in total.
-
- Posts: 10
- Joined: Wed Jan 23, 2008 7:40 pm
Re: //spawn working only once
[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.
So we have to manually edit the sql to "complete" the new spawn of the monster, the GM menu is not enough.
-
- Advanced User
- Posts: 1440
- Joined: Wed Apr 15, 2009 10:07 am
Re: [SOLVED] //spawn working only once
just do
//spawn npcid respawntime
example
//spawn gremlin 300 => will spawn a gremlin that once killed will repsawn in 5 minutes.
//spawn npcid respawntime
example
//spawn gremlin 300 => will spawn a gremlin that once killed will repsawn in 5 minutes.
-
- Posts: 10
- Joined: Wed Jan 23, 2008 7:40 pm