minx123 2 Posted April 22, 2015 helloo.. its posible to make command for kill all mvp when reloading script? Quote Share this post Link to post Share on other sites
0 Bringer 0 Posted April 22, 2015 @doom all monster will be killed Quote Share this post Link to post Share on other sites
0 minx123 2 Posted April 22, 2015 (edited) @doom Kills everyone on the server. zzz.. not monster.. Edited April 22, 2015 by minx123 1 Mumbles reacted to this Quote Share this post Link to post Share on other sites
0 Bringer 0 Posted April 22, 2015 @doom Kills everyone on the server. zzz.. not monster.. go to any dun map type @doommap you will see the monster gone Quote Share this post Link to post Share on other sites
0 Alayne 99 Posted April 22, 2015 (edited) You can't do that with a command. On the other hand, you can create a script which will wipe the mvp on each map on Init. Simply list the maps where an mvp has been spawned, and on OnInit event, go through this array in a loop and use killmonserall "mapx"; You can even bind it to a script command using bindatcommand if needed. Edited April 22, 2015 by Alayne Quote Share this post Link to post Share on other sites
0 Mumbles 193 Posted April 22, 2015 Or you could just not @reloadscript lol But anyway, here you go: http://upaste.me/2f9618109227d4fcd 1 minx123 reacted to this Quote Share this post Link to post Share on other sites
0 Kong 9 Posted April 22, 2015 Or you could just not @reloadscript lol But anyway, here you go: http://upaste.me/2f9618109227d4fcd Does it work with tombs? I mean what name will appear when you use this command. Does the tomb appear and what is the name of the killer? Quote Share this post Link to post Share on other sites
0 Alayne 99 Posted April 22, 2015 Yes the tomb will appear. But I don't know which name will be displayed, thought. Quote Share this post Link to post Share on other sites
0 minx123 2 Posted April 23, 2015 (edited) thank you so much.. @@Mumbles [Error]: script_rid2sd: fatal error ! player not attached![Debug]: Function: strcharinfo (1 parameter):[Debug]: Data: number value=0[Debug]: Source (NPC): killboss (invisible/not on a map)[Error]: script_rid2sd: fatal error ! player not attached![Debug]: Function: strcharinfo (1 parameter):[Debug]: Data: number value=0[Debug]: Source (NPC): killboss (invisible/not on a map) this bcoz of what? Edited April 24, 2015 by minx123 Quote Share this post Link to post Share on other sites
0 Soul1992 2 Posted April 28, 2015 //===== By: ==================================================//= EL Dragon//===== Current Version: =====================================//= 1.00//===== Compatible With: =====================================//= rAthena SVN//============================================================- script killboss -1,{OnInit: bindatcmd "killboss",strnpcinfo(3)+"::OnAtCommand", 20,100; end;OnAtCommand: killmonsterall "abbey02"; // Fallen Bishop Hibram killmonsterall "abbey03"; // Beelzebub killmonsterall "abyss_03"; // Detale killmonsterall "ama_dun03"; // Samurai Specter killmonsterall "anthell02"; // Maya killmonsterall "ayo_dun02"; // Lady Tanee killmonsterall "beach_dun"; // Tao Gunka killmonsterall "ein_dun02"; // RSX-0806 killmonsterall "gef_dun01"; // Dracula killmonsterall "gef_dun02"; // Doppelganger killmonsterall "gef_fild02"; // Orc Hero killmonsterall "gef_fild10"; // Orc Lord killmonsterall "gef_fild14"; // Orc Hero killmonsterall "gl_chyard"; // Dark Lord killmonsterall "gld_dun01"; // Eddga killmonsterall "gld_dun02"; // Doppelganger killmonsterall "gld_dun03"; // Maya killmonsterall "gld_dun04"; // Dark Lord killmonsterall "gon_dun03"; // Evil Snake Lord killmonsterall "ice_dun03"; // Ktullanux killmonsterall "in_sphinx5"; // Pharaoh killmonsterall "jupe_core"; // Vesper killmonsterall "kh_dun02"; // Kiel D-01 killmonsterall "lhz_dun02"; // Egnigem Cenia killmonsterall "lhz_dun03"; // Assassin Cross Eremes, High Priest Margaretha, High Wizard Kathryne, Lord Knight Seyren, Sniper Cecil, Whitesmith Howard killmonsterall "lou_dun03"; // White Lady killmonsterall "mjolnir_04"; // Mistress killmonsterall "moc_fild17"; // Phreeoni killmonsterall "moc_pryd04"; // Osiris killmonsterall "moc_pryd06"; // Amon Ra killmonsterall "mosk_dun03"; // Zmey Gorynych killmonsterall "niflheim"; // Lord of Death killmonsterall "odin_tem03"; // Valkyrie Randgris killmonsterall "pay_dun04"; // Moonlight Flower killmonsterall "pay_fild11"; // Eddga killmonsterall "prt_maze03"; // Baphomet killmonsterall "prt_sewb4"; // Golden Thief Bug killmonsterall "ra_fild02"; // Atroce killmonsterall "ra_fild03"; // Atroce killmonsterall "ra_fild04"; // Atroce killmonsterall "ra_san05"; // Gloom Under Night killmonsterall "thor_v03"; // Ifrit killmonsterall "treasure02"; // Drake killmonsterall "tur_dun04"; // Turtle General killmonsterall "ve_fild01"; // Atroce killmonsterall "ve_fild02"; // Atroce killmonsterall "xmas_dun02"; // Stormy Knight killmonsterall "xmas_fild01"; // Garm message strcharinfo(0)," boss maps have been cleared."; end;} Quote Share this post Link to post Share on other sites
0 minx123 2 Posted April 28, 2015 //===== By: ==================================================//= EL Dragon//===== Current Version: =====================================//= 1.00//===== Compatible With: =====================================//= rAthena SVN//============================================================- script killboss -1,{OnInit: bindatcmd "killboss",strnpcinfo(3)+"::OnAtCommand", 20,100; end;OnAtCommand: killmonsterall "abbey02"; // Fallen Bishop Hibram killmonsterall "abbey03"; // Beelzebub killmonsterall "abyss_03"; // Detale killmonsterall "ama_dun03"; // Samurai Specter killmonsterall "anthell02"; // Maya killmonsterall "ayo_dun02"; // Lady Tanee killmonsterall "beach_dun"; // Tao Gunka killmonsterall "ein_dun02"; // RSX-0806 killmonsterall "gef_dun01"; // Dracula killmonsterall "gef_dun02"; // Doppelganger killmonsterall "gef_fild02"; // Orc Hero killmonsterall "gef_fild10"; // Orc Lord killmonsterall "gef_fild14"; // Orc Hero killmonsterall "gl_chyard"; // Dark Lord killmonsterall "gld_dun01"; // Eddga killmonsterall "gld_dun02"; // Doppelganger killmonsterall "gld_dun03"; // Maya killmonsterall "gld_dun04"; // Dark Lord killmonsterall "gon_dun03"; // Evil Snake Lord killmonsterall "ice_dun03"; // Ktullanux killmonsterall "in_sphinx5"; // Pharaoh killmonsterall "jupe_core"; // Vesper killmonsterall "kh_dun02"; // Kiel D-01 killmonsterall "lhz_dun02"; // Egnigem Cenia killmonsterall "lhz_dun03"; // Assassin Cross Eremes, High Priest Margaretha, High Wizard Kathryne, Lord Knight Seyren, Sniper Cecil, Whitesmith Howard killmonsterall "lou_dun03"; // White Lady killmonsterall "mjolnir_04"; // Mistress killmonsterall "moc_fild17"; // Phreeoni killmonsterall "moc_pryd04"; // Osiris killmonsterall "moc_pryd06"; // Amon Ra killmonsterall "mosk_dun03"; // Zmey Gorynych killmonsterall "niflheim"; // Lord of Death killmonsterall "odin_tem03"; // Valkyrie Randgris killmonsterall "pay_dun04"; // Moonlight Flower killmonsterall "pay_fild11"; // Eddga killmonsterall "prt_maze03"; // Baphomet killmonsterall "prt_sewb4"; // Golden Thief Bug killmonsterall "ra_fild02"; // Atroce killmonsterall "ra_fild03"; // Atroce killmonsterall "ra_fild04"; // Atroce killmonsterall "ra_san05"; // Gloom Under Night killmonsterall "thor_v03"; // Ifrit killmonsterall "treasure02"; // Drake killmonsterall "tur_dun04"; // Turtle General killmonsterall "ve_fild01"; // Atroce killmonsterall "ve_fild02"; // Atroce killmonsterall "xmas_dun02"; // Stormy Knight killmonsterall "xmas_fild01"; // Garm message strcharinfo(0)," boss maps have been cleared."; end;} error.@@Soul1992 Quote Share this post Link to post Share on other sites
0 Oxxy 24 Posted May 9, 2015 (edited) I guess the line bindatcmd "killboss",strnpcinfo(3)+"::OnAtCommand", 20,100; should look like this bindatcmd "killboss",strnpcinfo(1)+"::OnAtCommand", 20,100; *strnpcinfo(<type>)This function will return the various parts of the name of the calling NPC.Whatever it returns is determined by type. 0 - The NPC's display name (visible#hidden) 1 - The visible part of the NPC's display name 2 - The hidden part of the NPC's display name 3 - The NPC's unique name (::name) 4 - The name of the map the NPC is in. You don't have any unique name in NPC's name. Edited May 9, 2015 by Oxxy Quote Share this post Link to post Share on other sites
0 minx123 2 Posted May 10, 2015 (edited) I guess the line bindatcmd "killboss",strnpcinfo(3)+"::OnAtCommand", 20,100; should look like this bindatcmd "killboss",strnpcinfo(1)+"::OnAtCommand", 20,100; *strnpcinfo(<type>)This function will return the various parts of the name of the calling NPC.Whatever it returns is determined by type. 0 - The NPC's display name (visible#hidden) 1 - The visible part of the NPC's display name 2 - The hidden part of the NPC's display name 3 - The NPC's unique name (::name) 4 - The name of the map the NPC is in. You don't have any unique name in NPC's name. hmm i already test it.. still same.. i need to go list map and kill by self.. cant kill from on maintown. @@Oxxy Edited May 10, 2015 by minx123 Quote Share this post Link to post Share on other sites
helloo.. its posible to make command for kill all mvp when reloading script?
Share this post
Link to post
Share on other sites