how to automatic spawn npc or monster
ie :
SPAWN GMShop with id : 2121212
spawn in giran with x= 1102011 y=132028 z=-1023
Just spawn 3 Hours / 24 Jam
Automatic Spawn NPC/Monster ?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 110
- Joined: Sun Aug 31, 2008 7:16 am
Re: Automatic Spawn NPC/Monster ?
i dont have time to give example script but.. here is how u can do it in few words..
make a .py script that spawns the npc.. add it to cron folder and then add a task to global_tasks in the database to run every xx hours/minutes u want.. or specific times.. (for example every day at 8pm).
make a .py script that spawns the npc.. add it to cron folder and then add a task to global_tasks in the database to run every xx hours/minutes u want.. or specific times.. (for example every day at 8pm).
-
- Posts: 7
- Joined: Tue Oct 27, 2009 6:04 pm
Re: Automatic Spawn NPC/Monster ?
onSpawn()
startquesttimer("respawn",...)
startquesttimer("respawn",...)
-
- Posts: 175
- Joined: Thu Dec 17, 2009 7:20 am
Re: Automatic Spawn NPC/Monster ?
can u give me a full code please ?
because im noob about that
because im noob about that
-
- Posts: 43
- Joined: Fri Dec 10, 2010 4:31 am
Re: Automatic Spawn NPC/Monster ?
Can send a file or document about it? We need know put these code where and when.. Thanks for help.