[Help] How to spawn multi NPCs by auto script?
Im tired to manually spawn each NPCs. And when I re-install server Database, I will need to manually spawn each NPCs again...
[Help] How to spawn multi NPCs by auto script?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 51
- Joined: Thu Oct 25, 2012 2:07 am
- VlLight
- L2j Veteran
- Posts: 577
- Joined: Fri Dec 14, 2007 11:58 am
- Location: Russia
Re: [Help] How to spawn multi NPCs by auto script?
Are uou spawning them using //spawn command?
-
- Posts: 51
- Joined: Thu Oct 25, 2012 2:07 am
Re: [Help] How to spawn multi NPCs by auto script?
Yes Im using //spawn command manually.VlLight wrote: Are uou spawning them using //spawn command?
But I want to spawn 100 NPCs just by one script and a double click...
- VlLight
- L2j Veteran
- Posts: 577
- Joined: Fri Dec 14, 2007 11:58 am
- Location: Russia
Re: [Help] How to spawn multi NPCs by auto script?
1. Set these parameters in general.properties
2. Spawn your NPC's
3. Before database reinstall backup custom_spawnlist table
4. After database reinstall restore custom_spawnlist table from backup, if needed
Code: Select all
CustomSpawnlistTable = TrueSaveGmSpawnOnCustom = True
3. Before database reinstall backup custom_spawnlist table
4. After database reinstall restore custom_spawnlist table from backup, if needed
-
- Posts: 51
- Joined: Thu Oct 25, 2012 2:07 am
Re: [Help] How to spawn multi NPCs by auto script?
Thanks. And please answer one more question.
When I use command spawn, the first NPC will be spawned right next to me, but the second NPC also will be spawned at the old position (same position to the first NPC), even though I have run away.
How to fix this error?
When I use command spawn, the first NPC will be spawned right next to me, but the second NPC also will be spawned at the old position (same position to the first NPC), even though I have run away.
How to fix this error?
-
- Posts: 8
- Joined: Wed Nov 26, 2008 6:36 am
Re: [Help] How to spawn multi NPCs by auto script?
Only target yoursef, move away and then spawn.