Jump to content

alphenz

Members
  • Posts

    5
  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

alphenz's Achievements

Poring

Poring (1/15)

0

Reputation

  1. Thank you very much for your hard work Problem solved.
  2. I don't get this part.The script is like a spawn permanent, you kill one monster, this one is spawn randomly in the castle. Spawn again... maybe you don't want a permanent spawn and the monsters are all re-spawn 2 min after the emp is broken ? Read the doc/script_commands.txtI read the whole file + some npc script.. the docs are the basis I've tried using the script you made. at first all the monsters were spawned. I kill one monster and it re-spawn somewhere, but after I break the emperium, all monster killed and didn't re-spawn again. I want permanent re-spawn and also I want the monster to re-spawn after the emp is broken. I hope I didn't make you confused edited: my mapserv-sql.bat shows this: [Warning]: npc_event: player's event queue is full, can't add event 'spawn_woe:: OnNPCKillEvent' ! [Warning]: npc_event: player's event queue is full, can't add event 'spawn_woe:: OnNPCKillEvent' ! [Warning]: npc_event: player's event queue is full, can't add event 'spawn_woe:: OnNPCKillEvent' ! [Warning]: npc_event: player's event queue is full, can't add event 'spawn_woe:: OnNPCKillEvent' !
  3. The problem that monster spawned twice has been solved. Thanks. The last script you give is more easy to use. But, may I ask one more thing? Is it possible to make the monster spawned again after the emperium broken? Like 1 or 2 minutes after that happen. I really want to learn to use script commands but don't know where to start. where do you learn it?
  4. Hi thank you for your help, edited: I've tried to add map name but I think it failed. So I just make a new script and change the map name like this: - script prtg1_woe -1,{ OnAgitStart:// when woe start for( .@i = 0; .@i < .size_mob; .@i++ ) monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],4,strnpcinfo(0) +"::OnKillMob"+ .@i; end; OnAgitEnd:// when woe end sleep 2; killmonsterall "prtg_cas01"; end; OnKillMob0: if( agitcheck() ) {// check is woe on .@i = 0; // for OnKillMob0 event monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i;// spawn 1 mob } end; OnKillMob1: if( agitcheck() ) { .@i = 1; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob2: if( agitcheck() ) { .@i = 2; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob3: if( agitcheck() ) { .@i = 3; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob4: if( agitcheck() ) { .@i = 4; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob5: if( agitcheck() ) { .@i = 5; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob6: if( agitcheck() ) { .@i = 6; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob7: if( agitcheck() ) { .@i = 7; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob8: if( agitcheck() ) { .@i = 8; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],1,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob9: if( agitcheck() ) { .@i = 9; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob10: if( agitcheck() ) { .@i = 10; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob11: if( agitcheck() ) { .@i = 11; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob12: if( agitcheck() ) { .@i = 12; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnKillMob13: if( agitcheck() ) { .@i = 13; monster "prtg_cas01",0,0,"--ja--", .mob_ID[.@i],6,strnpcinfo(0) +"::OnKillMob"+ .@i; } end; OnInit: setarray .mob_ID, 1638, 1639, 1637, 1636, 1635, 1634, 2221, 2222, 2223, 2224, 2225, 2226, 2227; // add more mob id .size_mob = getarraysize( .mob_ID ); end; } However, everytime Emperium broken the monster spawned twice. Is there something wrong?
  5. Hello, I've been playing Ragnarok for myself and I want something interesting. So, I want to make a script that spawn monsters when WoE starts. I've made the monsters to spawn in a castle but I do not know how to make them disappear when WoE ends and spawn them again when WoE starts. I also tried to change agit_main.txt but nothing happened. Here is my script: //================================================== // aldeg_cas01 //================================================== aldeg_cas01,0,0,0,0 monster Cecil Damon 1638,4,20000,0,0 aldeg_cas01,0,0,0,0 monster Kathryne Keyron 1639,4,20000,0,0 aldeg_cas01,0,0,0,0 monster Margaretha Sorin 1637,4,20000,0,0 aldeg_cas01,0,0,0,0 monster Howard Alt-Eisen 1636,4,20000,0,0 aldeg_cas01,0,0,0,0 monster Eremes Guile 1635,4,20000,0,0 aldeg_cas01,0,0,0,0 monster Seyren Windsor 1634,4,00,0,0 aldeg_cas01,0,0,0,0 monster Randel 2221,4,20000,0,0 aldeg_cas01,0,0,0,0 monster Flamel 2222,4,20000,0,0 aldeg_cas01,0,0,0,0 monster Celia 2223,1,20000,0,0 aldeg_cas01,0,0,0,0 monster Chen 2224,4,20000,0,0 aldeg_cas01,0,0,0,0 monster Gertie 2225,4,20000,0,0 aldeg_cas01,0,0,0,0 monster Alphoccio 2226,4,20000,0,0 aldeg_cas01,0,0,0,0 monster Trentini 2227,4,20000,0,0 aldeg_cas01,216,23,0,0 monster Cecil Damon 1638,4,5000,0,0 aldeg_cas01,216,23,0,0 monster Kathryne Keyron 1639,4,5000,0,0 aldeg_cas01,216,23,0,0 monster Margaretha Sorin 1637,4,5000,0,0 aldeg_cas01,216,23,0,0 monster Howard Alt-Eisen 1636,4,5000,0,0 aldeg_cas01,216,23,0,0 monster Eremes Guile 1635,4,5000,0,0 aldeg_cas01,216,23,0,0 monster Seyren Windsor 1634,4,00,0,0 aldeg_cas01,216,23,0,0 monster Randel 2221,4,5000,0,0 aldeg_cas01,216,23,0,0 monster Flamel 2222,4,5000,0,0 aldeg_cas01,216,23,0,0 monster Celia 2223,1,5000,0,0 aldeg_cas01,216,23,0,0 monster Chen 2224,4,5000,0,0 aldeg_cas01,216,23,0,0 monster Gertie 2225,4,5000,0,0 aldeg_cas01,216,23,0,0 monster Alphoccio 2226,4,5000,0,0 aldeg_cas01,216,23,0,0 monster Trentini 2227,4,5000,0,0 If you see, this is just a permanent monster spawn. Can someone help me, please? Thank you and sorry for bad English.
×
×
  • Create New...