Hello, I tried to use the script. I didnt find any error, but somehow i cant seem to warp-in or enter devil in the room, it keeps saying "Minimum base level to enter is 70", Im on my Max level.
Here's the script: (please help me , thank you!)
// Made:By Kirlein (Tyirial Script Concept) //// Devil Square based off the mmorpg Muonline //// Have Fun and feel free to leave suggestions //// Leave This intacted //// + Translated by Stillhard aka Dewa //// + Add times for 24 hours of play //// + Add a little bit infos for newbie users //// Completely rewrite by ~AnnieRuru~ //// + Tested with rAthena 17101 //// http://rathena.org/board/topic/77632-devil-square//////////////////////////////////////////////////prontera,181,191,2 script MVP Grave 4_DARKLORD,{ mes "[MVP Grave Guardian]"; mes "Welcome to the entrance door to ^FF0000MVP Grave^000000"; mes "If you failed or die, the door will be closed and you have to wait until it start to open again"; next; if ( select ( "Enter", "Info", "Cancel " ) == 3 ) { mes "[MVP Grave Guardian]"; mes "See ya"; close; } else if ( @menu == 2 ) { // Info mes "[MVP Grave Guardian]"; mes "There are 4 level monster you'll encounter"; mes "Each level the enemies will grow stronger"; mes "If you succeded to win all 10 level monster, you'll get Grave Badge, TCG, and Coins!!"; close; } else if ( .start != 1 ) { // time mes "[MVP Grave Guardian]"; mes "MVP Grave is now closed"; mes "It'll be open again at:"; mes "00:00 , 02:00 , 04:00 , 06:00"; // display your time here mes "08:00 , 10:00 , 12:00 , 14:00"; mes "16:00 , 18:00 , 20:00 , 22:00"; close; } else if ( baselevel < 70 || zeny < 20000 ) { // requirement mes "[MVP Grave Guardian]"; mes "Minimum base level to enter is 70"; mes "The registration fee is 20,000z"; close; } else if ( .register_num >= .register_limit ) { // room FULL mes "[MVP Grave Guardian]"; mes "I'm sorry but the MVP Grave is FULL"; mes "Maximum users to enter is "+ .register_limit +" players"; close; } zeny = zeny - 20000; announce strcharinfo(0)+" has entered the MVP Grave", bc_npc; percentheal 100,100; warp "ordeal_1-1",150,150; .register_aid[ .register_num ] = getcharid(3); .register_num++; end;OnInit: .register_limit = 10; // maximum amount of players can play in this event .ann_survive = 30000; // the rate at which announce the players that still survive in devil square, in mili-seconds bindatcmd "devilsquare", strnpcinfo(0)+"::Onatcmd", 99,100; end;Onatcmd: if ( compare( .@atcmd_parameters$, "on" ) || compare( .@atcmd_parameters$, "start" ) ) { if ( .start ) dispbottom "MVP Grave Event already started."; else goto L_Start; } else if ( compare( .@atcmd_parameters$, "off" ) || compare( .@atcmd_parameters$, "end" ) ) { if ( !.start ) dispbottom "MVP Grave Event not yet start."; else goto L_End; } else if ( !.start ) { dispbottom "Devil Square Event is currently not running."; dispbottom "Use "+ .@atcmd_command$ +" on | start to start the event."; dispbottom "Use "+ .@atcmd_command$ +" off | end to end this event"; } else if ( .start == 1 ) dispbottom "MVP Grave Event is currently accepting participations."; else dispbottom "MVP Grave Event is currently running. Currently on Round "+ .round +" with "+ .mob +" mobs left."; end;L_Start:OnClock2127: // yeah I know about OnMinute ... it just that more people knows better using OnClock//OnClock0200://OnClock0400://OnClock0600://OnClock0800://OnClock1000://OnClock1200://OnClock1400://OnClock1600://OnClock1800://OnClock2000://OnClock2200: if ( .start ) end; .start = 1; disablenpc "Exit#DS"; mapannounce "ordeal_1-1","MVP Grave is now closed", bc_map; getmapxy .@map$, .@x, .@y, 1; mapwarp "ordeal_1-1", .@map$, .@x, .@y; killmonsterall "ordeal_1-1"; announce "MVP Grave is OPENED NOW!! 5 Minutes until it starts..!!", bc_all; sleep 60000; announce "MVP Grave will begin in 4 minutes..!!", bc_all; sleep 60000; announce "MVP Grave will begin in 3 minutes..!!", bc_all; sleep 60000; announce "MVP Grave will begin in 2 minutes..!!", bc_all; sleep 60000; announce "MVP Grave will begin in 1 minutes..!!", bc_all; sleep 60000; announce "MVP Grave is STARTED NOW !!", bc_all; if ( !.register_num ) goto L_End; .start = 2; donpcevent strnpcinfo(0)+"::OnSurvive"; donpcevent strnpcinfo(0)+"::OnIdle"; .round = 1; .mob = 27; monster "ordeal_1-1",149,149,"Moonlight Flower",1150,1,strnpcinfo(0)+"::Ondevildead"; monster "ordeal_1-1",149,149,"Golden Thief Bug",1086,1,strnpcinfo(0)+"::Ondevildead"; monster "ordeal_1-1",149,149,"Cat o' Nine Tails",1307,10,strnpcinfo(0)+"::Ondevildead"; monster "ordeal_1-1",149,149,"Gemini-S58 .",1681,15,strnpcinfo(0)+"::Ondevildead"; end;Ondevildead: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs to enter the 2nd round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 2nd round", bc_map; goto Ondevil2; } end;Ondevil2: .round = 2; .mob = 32; monster "ordeal_1-1",149,149,"Turtle General",1312,1,strnpcinfo(0)+"::Ondevildead2"; monster "ordeal_1-1",149,149,"Assaulter",1315,10,strnpcinfo(0)+"::Ondevildead2"; monster "ordeal_1-1",149,149,"Gazeti",1778,10,strnpcinfo(0)+"::Ondevildead2"; monster "ordeal_1-1",149,149,"Ice Titan",1777,10,strnpcinfo(0)+"::Ondevildead2"; monster "ordeal_1-1",149,149,"Ktullanux",1779,1,strnpcinfo(0)+"::Ondevildead2"; end;Ondevildead2: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 3rd round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 3rd round", bc_map; goto Ondevil3; } end;Ondevil3: .round = 3; .mob = 32; monster "ordeal_1-1",149,149,"Incantation Samurai",1492,1,strnpcinfo(0)+"::Ondevildead3"; monster "ordeal_1-1",149,149,"tamruan",1584,10,strnpcinfo(0)+"::Ondevildead3"; monster "ordeal_1-1",149,149,"Mutant Dragon",1449,10,strnpcinfo(0)+"::Ondevildead3"; monster "ordeal_1-1",149,149,"RSX 0806",1623,1,strnpcinfo(0)+"::Ondevildead3"; monster "ordeal_1-1",149,149,"Waste Stove",1617,10,strnpcinfo(0)+"::Ondevildead3"; end;Ondevildead3: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 4th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 4th round", bc_map; goto Ondevil4; } end;Ondevil4: .round = 4; .mob = 32; monster "ordeal_1-1",149,149,"Baphomet",1039,1,strnpcinfo(0)+"::Ondevildead4"; monster "ordeal_1-1",149,149,"Pharaoh",1157,1,strnpcinfo(0)+"::Ondevildead4"; monster "ordeal_1-1",149,149,"Gryphon",1447,10,strnpcinfo(0)+"::Ondevildead4"; monster "ordeal_1-1",149,149,"Tatacho",1986,10,strnpcinfo(0)+"::Ondevildead4"; monster "ordeal_1-1",149,149,"Apocalypse",1365,10,strnpcinfo(0)+"::Ondevildead4"; end;Ondevildead4: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 5th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 5th round", bc_map; goto Ondevil5; } end;Ondevil5: .round = 5; .mob = 16; monster "ordeal_1-1",149,149,"Kraken",2202,1,strnpcinfo(0)+"::Ondevildead5"; monster "ordeal_1-1",149,149,"King Kray",2198,5,strnpcinfo(0)+"::Ondevildead5"; monster "ordeal_1-1",149,149,"Sropho",2201,5,strnpcinfo(0)+"::Ondevildead5"; monster "ordeal_1-1",149,149,"Sedora",2204,5,strnpcinfo(0)+"::Ondevildead5"; end;Ondevildead5: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 6th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 6th round", bc_map; goto Ondevil6; } end;Ondevil6: .round = 6; .mob = 18; monster "ordeal_1-1",149,149,"Dark lord",1272,1,strnpcinfo(0)+"::Ondevildead6"; monster "ordeal_1-1",149,149,"Osiris",1038,1,strnpcinfo(0)+"::Ondevildead6"; monster "ordeal_1-1",149,149,"Gopinich",1885,1,strnpcinfo(0)+"::Ondevildead6"; monster "ordeal_1-1",149,149,"Dark Illusion",1302,5,strnpcinfo(0)+"::Ondevildead6"; monster "ordeal_1-1",149,149,"Chimera",1283,5,strnpcinfo(0)+"::Ondevildead6"; monster "ordeal_1-1",149,149,"Mavka",1884,5,strnpcinfo(0)+"::Ondevildead6"; end;Ondevildead6: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 7th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 7th round", bc_map; goto Ondevil7; } end;Ondevil7: .round = 7; .mob = 22; monster "ordeal_1-1",149,149,"Ifrit",1832,1,strnpcinfo(0)+"::Ondevildead7"; monster "ordeal_1-1",149,149,"salamander",1831,5,strnpcinfo(0)+"::Ondevildead7"; monster "ordeal_1-1",149,149,"Stormy Knight",1251,1,strnpcinfo(0)+"::Ondevildead7"; monster "ordeal_1-1",149,149,"Sword guardian",1899,5,strnpcinfo(0)+"::Ondevildead7"; monster "ordeal_1-1",149,149,"Bow Guardian",1830,5,strnpcinfo(0)+"::Ondevildead7"; monster "ordeal_1-1",149,149,"Kasa",1835,5,strnpcinfo(0)+"::Ondevildead7"; end;Ondevildead7: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 8th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 8th round", bc_map; goto Ondevil8; } end;Ondevil8: .round = 8; .mob = 22; monster "ordeal_1-1",149,149,"Detale",1719,1,strnpcinfo(0)+"::Ondevildead8"; monster "ordeal_1-1",149,149,"ferus",1714,5,strnpcinfo(0)+"::Ondevildead8"; monster "ordeal_1-1",149,149,"Hydro",1813,5,strnpcinfo(0)+"::Ondevildead8"; monster "ordeal_1-1",149,149,"Amon Ra",1511,1,strnpcinfo(0)+"::Ondevildead8"; monster "ordeal_1-1",149,149,"Acidus",1713,5,strnpcinfo(0)+"::Ondevildead8"; monster "ordeal_1-1",149,149,"Acidus",1716,5,strnpcinfo(0)+"::Ondevildead8"; end;Ondevildead8: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 9th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 9th round", bc_map; goto Ondevil9; } end;Ondevil9: .round = 9; .mob = 23; monster "ordeal_1-1",149,149,"Maya",1147,1,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Atroce",1785,1,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Maya Purple",1289,1,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Galion",1783,5,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Necromancer",1870,5,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Agav",1769,5,strnpcinfo(0)+"::Ondevildead9"; monster "ordeal_1-1",149,149,"Echio",1770,5,strnpcinfo(0)+"::Ondevildead9"; end;Ondevildead9: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to enter the 10th round", bc_map; else if ( !.mob ) { announce "MVP Grave will enter to 10th round", bc_map; goto Ondevil10; } end;Ondevil10: .round = 10; .mob = 54; monster "ordeal_1-1",149,149,"Lost Dragon",2131,2,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Entweihen",1957,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Bangungot Manananggal",2338,15,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Tiyanak",2340,15,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Bangungot Mangkukulam",2339,15,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Mangkukulam",2312,10,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Bakonawa",2321,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Memory of Thanatos",1708,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1960,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1961,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1958,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1958,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; monster "ordeal_1-1",149,149,"Thorn",1959,1,strnpcinfo(0)+"::Ondevildead10"; end;Ondevildead10: .mob--; if ( .mob == 25 || .mob == 5 ) announce "MVP Grave : "+ .mob +" mobs left to finish the MVP Grave", bc_map; else if ( !.mob ) { announce "Congratulations!! Please proceed to the center to claim your rewards!", bc_map; goto L_End; } end;L_End: killmonsterall "ordeal_1-1"; enablenpc "Exit#DS"; deletearray .register_aid; .start = .round = .mob = .register_num = 0; end;OnPCDieEvent:OnPCLogoutEvent: if ( .start && strcharinfo(3) == "ordeal_1-1" ) { while ( .register_aid[.@i] != getcharid(3) && .@i < .register_num ) .@i++; deletearray .register_aid[.@i], 1; .register_num--; if ( !.register_num ) { announce "All players failed to survive at MVP Grave", bc_all; killmonsterall "ordeal_1-1"; goto L_End; } } end;OnSurvive: while ( .start == 2 ) { mapannounce "ordeal_1-1", .register_num +" players is still survive at MVP Grave", bc_map; sleep .ann_survive; } end;OnIdle: sleep 30000; // wait 120 secs while( .start ) { sleep 2000; for( .@i = 0; .@i < .register_num; .@i++ ) { if ( checkidle( rid2name( .register_aid[.@i] ) ) >= 120 ) unitkill .register_aid[.@i]; } } end; }ordeal_1-1,149,150,7 script Exit#DS 4_DEVIRUCHI,{ mes "[Exit]"; mes "See ya"; getitem 673,5; next; warp "caspen",168,214 ; close;}ordeal_1-1 mapflag nolootordeal_1-1 mapflag nomoblootordeal_1-1 mapflag nomvplootordeal_1-1 mapflag nowarpordeal_1-1 mapflag nowarptoordeal_1-1 mapflag noteleportordeal_1-1 mapflag nosave SavePointordeal_1-1 mapflag nomemoordeal_1-1 mapflag nobranchordeal_1-1 mapflag nopenaltyordeal_1-1 mapflag noicewallordeal_1-1 mapflag monster_noteleport
Hello, I tried to use the script. I didnt find any error, but somehow i cant seem to warp-in or enter devil in the room, it keeps saying "Minimum base level to enter is 70", Im on my Max level.
Here's the script:
(please help me , thank you!)
Share this post
Link to post
Share on other sites