Jump to content
  • 0
Sign in to follow this  
Random756

Can you help me with my killmvp script ?

Question

Hello, 

Here is the script I made in order to kill mvp (and prevent players from farming mvp too hard after a reloadscript or a reboot). 

-    script    killmvp    FAKE_NPC,{
end;
    
OnInit:
    startnpctimer;
    announce "killing mvp...", bc_all;
    end; 
    
OnTimer6000:
    atcommand "@killmonster2 abbey02";       // Fallen Bishop Hibram
    atcommand "@killmonster2 abbey03";       // Beelzebub
    atcommand "@killmonster2 abyss_03";      // Detale
    atcommand "@killmonster2 ama_dun03";     // Samurai Specter
    atcommand "@killmonster2 anthell02";     // Maya
    atcommand "@killmonster2 anthell01";     // Maya purple
    atcommand "@killmonster2 ayo_dun02";     // Lady Tanee
    atcommand "@killmonster2 beach_dun";     // Tao Gunka
    atcommand "@killmonster2 ein_dun02";     // RSX-0806
    atcommand "@killmonster2 gef_dun01";     // Dracula
    atcommand "@killmonster2 gef_dun02";     // Doppelganger
    atcommand "@killmonster2 gef_fild02";    // Orc Hero
    atcommand "@killmonster2 gef_fild10";    // Orc Lord
    atcommand "@killmonster2 gef_fild14";    // Orc Hero
    atcommand "@killmonster2 gl_chyard";     // Dark Lord
    atcommand "@killmonster2 gld_dun01";     // Eddga
    atcommand "@killmonster2 gld_dun02";     // Doppelganger
    atcommand "@killmonster2 gld_dun03";     // Maya
    atcommand "@killmonster2 gld_dun04";     // Dark Lord
    atcommand "@killmonster2 gon_dun03";     // Evil Snake Lord
    atcommand "@killmonster2 ice_dun03";     // Ktullanux
    atcommand "@killmonster2 in_sphinx5";    // Pharaoh
    atcommand "@killmonster2 jupe_core";     // Vesper
    atcommand "@killmonster2 kh_dun02";      // Kiel D-01
    atcommand "@killmonster2 lhz_dun02";     // Egnigem Cenia
    atcommand "@killmonster2 lhz_dun03";     // bio3
    atcommand "@killmonster2 lhz_dun04";     // Bio 4
    atcommand "@killmonster2 lou_dun03";     // White Lady
    atcommand "@killmonster2 mjolnir_04";    // Mistress
    atcommand "@killmonster2 moc_fild17";    // Phreeoni
    atcommand "@killmonster2 moc_pryd04";    // Osiris
    atcommand "@killmonster2 moc_pryd06";    // Amon Ra
    atcommand "@killmonster2 mosk_dun03";    // Zmey Gorynych
    atcommand "@killmonster2 niflheim";      // Lord of Death
    atcommand "@killmonster2 odin_tem03";    // Valkyrie Randgris
    atcommand "@killmonster2 pay_dun04";     // Moonlight Flower
    atcommand "@killmonster2 pay_fild11";    // Eddga
    atcommand "@killmonster2 prt_maze03";    // Baphomet
    atcommand "@killmonster2 prt_sewb4";     // Golden Thief Bug
    atcommand "@killmonster2 ra_fild02";     // Atroce
    atcommand "@killmonster2 ra_fild03";     // Atroce
    atcommand "@killmonster2 ra_fild04";     // Atroce
    atcommand "@killmonster2 ra_san05";      // Gloom Under Night
    atcommand "@killmonster2 thor_v03";      // Ifrit
    atcommand "@killmonster2 treasure02";    // Drake
    atcommand "@killmonster2 tur_dun04";     // Turtle General
    atcommand "@killmonster2 ve_fild01";     // Atroce
    atcommand "@killmonster2 ve_fild02";     // Atroce
    atcommand "@killmonster2 xmas_dun01";    // Angeling // Chepet
    atcommand "@killmonster2 xmas_dun02";    // Stormy Knight
    atcommand "@killmonster2 xmas_fild01";   // Garm
    atcommand "@killmonster2 moc_fild22";    // Wounded Morroc
    atcommand "@killmonster2 pay_fild04";    // Angeling/Deviling etc
    atcommand "@killmonster2 yuno_fild03";    // angeling Deviling
    atcommand "@killmonster2 yuno_fild05";   // arc angeling
    atcommand "@killmonster2 man_fild03";    // hardrock mamoth
    atcommand "@killmonster2 alde_dun04"; // sword
    atcommand "@killmonster2 gefenia01";
    atcommand "@killmonster2 gefenia02";
    atcommand "@killmonster2 gefenia03";
    atcommand "@killmonster2 gefenia04";
    atcommand "@killmonster2 gef_dun01";
    atcommand "@killmonster2 gl_cas01";
    atcommand "@killmonster2 gl_cas02";
    atcommand "@killmonster2 gl_knt01";
    atcommand "@killmonster2 gl_knt02";
    atcommand "@killmonster2 ein_dun01";
    atcommand "@killmonster2 ein_fild02";
    atcommand "@killmonster2 ein_fild07";
    atcommand "@killmonster2 c_tower1";
    atcommand "@killmonster2 c_tower2";
    atcommand "@killmonster2 c_tower3";
    atcommand "@killmonster2 c_tower4";
    atcommand "@killmonster2 odin_tem02";
    atcommand "@killmonster2 cmd_fild03";
    atcommand "@killmonster2 hu_fild05";
    atcommand "@killmonster2 tha_t04";
    atcommand "@killmonster2 tha_t05";
    atcommand "@killmonster2 tha_t06";
    atcommand "@killmonster2 tha_t07";
    atcommand "@killmonster2 tha_t08";
    atcommand "@killmonster2 tha_t09";
    atcommand "@killmonster2 tha_t10";
    atcommand "@killmonster2 tha_t11";
    atcommand "@killmonster2 ra_fild01";
    atcommand "@killmonster2 cmd_fild08";
    atcommand "@killmonster2 um_fild03";
    
    announce "All MVP have been killed.", bc_all;
    end;

OnTimer8000:
    stopnpctimer;
    end;
}

But my script is not working as intended. Instead, it randomly kills mob in map on that list, but never on every map. For example one time it'll trigger the killmonster2 in xmas_fild, and another time it'll trigger @killmonster2 in thor_v03 etc. It never kills the full list.

I have no error whatsoever on my console. 

Do you have any idea why my script is not working properly ? 

Thanks a lot 

Edited by Crousti

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0
13 hours ago, Crousti said:

Hello, 

Here is the script I made in order to kill mvp (and prevent players from farming mvp too hard after a reloadscript or a reboot). 

-    script    killmvp    FAKE_NPC,{ end;      OnInit:     startnpctimer;     announce "killing mvp...", bc_all;     end;       OnTimer6000:     atcommand "@killmonster2 abbey02";       // Fallen Bishop Hibram     atcommand "@killmonster2 abbey03";       // Beelzebub     atcommand "@killmonster2 abyss_03";      // Detale     atcommand "@killmonster2 ama_dun03";     // Samurai Specter     atcommand "@killmonster2 anthell02";     // Maya     atcommand "@killmonster2 anthell01";     // Maya purple     atcommand "@killmonster2 ayo_dun02";     // Lady Tanee     atcommand "@killmonster2 beach_dun";     // Tao Gunka     atcommand "@killmonster2 ein_dun02";     // RSX-0806     atcommand "@killmonster2 gef_dun01";     // Dracula     atcommand "@killmonster2 gef_dun02";     // Doppelganger     atcommand "@killmonster2 gef_fild02";    // Orc Hero     atcommand "@killmonster2 gef_fild10";    // Orc Lord     atcommand "@killmonster2 gef_fild14";    // Orc Hero     atcommand "@killmonster2 gl_chyard";     // Dark Lord     atcommand "@killmonster2 gld_dun01";     // Eddga     atcommand "@killmonster2 gld_dun02";     // Doppelganger     atcommand "@killmonster2 gld_dun03";     // Maya     atcommand "@killmonster2 gld_dun04";     // Dark Lord     atcommand "@killmonster2 gon_dun03";     // Evil Snake Lord     atcommand "@killmonster2 ice_dun03";     // Ktullanux     atcommand "@killmonster2 in_sphinx5";    // Pharaoh     atcommand "@killmonster2 jupe_core";     // Vesper     atcommand "@killmonster2 kh_dun02";      // Kiel D-01     atcommand "@killmonster2 lhz_dun02";     // Egnigem Cenia     atcommand "@killmonster2 lhz_dun03";     // bio3     atcommand "@killmonster2 lhz_dun04";     // Bio 4     atcommand "@killmonster2 lou_dun03";     // White Lady     atcommand "@killmonster2 mjolnir_04";    // Mistress     atcommand "@killmonster2 moc_fild17";    // Phreeoni     atcommand "@killmonster2 moc_pryd04";    // Osiris     atcommand "@killmonster2 moc_pryd06";    // Amon Ra     atcommand "@killmonster2 mosk_dun03";    // Zmey Gorynych     atcommand "@killmonster2 niflheim";      // Lord of Death     atcommand "@killmonster2 odin_tem03";    // Valkyrie Randgris     atcommand "@killmonster2 pay_dun04";     // Moonlight Flower     atcommand "@killmonster2 pay_fild11";    // Eddga     atcommand "@killmonster2 prt_maze03";    // Baphomet     atcommand "@killmonster2 prt_sewb4";     // Golden Thief Bug     atcommand "@killmonster2 ra_fild02";     // Atroce     atcommand "@killmonster2 ra_fild03";     // Atroce     atcommand "@killmonster2 ra_fild04";     // Atroce     atcommand "@killmonster2 ra_san05";      // Gloom Under Night     atcommand "@killmonster2 thor_v03";      // Ifrit     atcommand "@killmonster2 treasure02";    // Drake     atcommand "@killmonster2 tur_dun04";     // Turtle General     atcommand "@killmonster2 ve_fild01";     // Atroce     atcommand "@killmonster2 ve_fild02";     // Atroce     atcommand "@killmonster2 xmas_dun01";    // Angeling // Chepet     atcommand "@killmonster2 xmas_dun02";    // Stormy Knight     atcommand "@killmonster2 xmas_fild01";   // Garm     atcommand "@killmonster2 moc_fild22";    // Wounded Morroc     atcommand "@killmonster2 pay_fild04";    // Angeling/Deviling etc     atcommand "@killmonster2 yuno_fild03";    // angeling Deviling     atcommand "@killmonster2 yuno_fild05";   // arc angeling     atcommand "@killmonster2 man_fild03";    // hardrock mamoth     atcommand "@killmonster2 alde_dun04"; // sword     atcommand "@killmonster2 gefenia01";     atcommand "@killmonster2 gefenia02";     atcommand "@killmonster2 gefenia03";     atcommand "@killmonster2 gefenia04";     atcommand "@killmonster2 gef_dun01";     atcommand "@killmonster2 gl_cas01";     atcommand "@killmonster2 gl_cas02";     atcommand "@killmonster2 gl_knt01";     atcommand "@killmonster2 gl_knt02";     atcommand "@killmonster2 ein_dun01";     atcommand "@killmonster2 ein_fild02";     atcommand "@killmonster2 ein_fild07";     atcommand "@killmonster2 c_tower1";     atcommand "@killmonster2 c_tower2";     atcommand "@killmonster2 c_tower3";     atcommand "@killmonster2 c_tower4";     atcommand "@killmonster2 odin_tem02";     atcommand "@killmonster2 cmd_fild03";     atcommand "@killmonster2 hu_fild05";     atcommand "@killmonster2 tha_t04";     atcommand "@killmonster2 tha_t05";     atcommand "@killmonster2 tha_t06";     atcommand "@killmonster2 tha_t07";     atcommand "@killmonster2 tha_t08";     atcommand "@killmonster2 tha_t09";     atcommand "@killmonster2 tha_t10";     atcommand "@killmonster2 tha_t11";     atcommand "@killmonster2 ra_fild01";     atcommand "@killmonster2 cmd_fild08";     atcommand "@killmonster2 um_fild03";          announce "All MVP have been killed.", bc_all;     end; OnTimer8000:     stopnpctimer;     end; }

But my script is not working as intended. Instead, it randomly kills mob in map on that list, but never on every map. For example one time it'll trigger the killmonster2 in xmas_fild, and another time it'll trigger @killmonster2 in thor_v03 etc. It never kills the full list.
////.........
I have no error whatsoever on my console. 

Do you have any idea why my script is not working properly ? 

Thanks a lot 

Hello this is killing all monster in map lol. better to disable monster in monster respawn for example in thor_v03
in

npc\pre-re\mobs\dungeons\thor_v.txt <--- find the mob_boss
and comment it like this.

//thor_v03,0,0,0,0    boss_monster    Ifrit    1832,1,39600000,600000,0

Just do this much better. to completely disabled.

boss_monster is mvp you can find it on mobs folder each txt.
 

Share this post


Link to post
Share on other sites
  • 0
3 hours ago, hikashin said:

Hello this is killing all monster in map lol. better to disable monster in monster respawn for example in thor_v03
in

npc\pre-re\mobs\dungeons\thor_v.txt <--- find the mob_boss
and comment it like this.

//thor_v03,0,0,0,0    boss_monster    Ifrit    1832,1,39600000,600000,0

Just do this much better. to completely disabled.

boss_monster is mvp you can find it on mobs folder each txt.
 

But he doesn't want to disable the MVP, he just want to prevent people from killing the mvp all the time he uses @reloadscript.

Share this post


Link to post
Share on other sites
  • 0
On 7/22/2019 at 2:52 AM, Caspian said:

But he doesn't want to disable the MVP, he just want to prevent people from killing the mvp all the time he uses @reloadscript.

in live server it should not do @reloadscript everytime as proper practice.

Edited by hikashin

Share this post


Link to post
Share on other sites
  • 0
6 hours ago, hikashin said:

in live server it should not do @reloadscript everytime as proper practice.

Yes, of course, but the same thing will happen if he disables the mvp. the changes will only be applied if he reloads the script or restart the server.

 

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.