viewing paste devil square | Text

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326
//------------------------------------------------------------
//Start of Devil Square =================================
//------------------------------------------------------------
//  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 :p        //
// +  Add a little bit infos for newbie users    //
//==========================//
// == Minor edits by Janice of LoadedRO.com  ==  //
// --  Fixed some typo and grammatical error  --  //
// --  Added MvPs in the mobs  --  //
// --  Lessen the Treasure Boxes --  //
// --  Changed the required Zeny and level to enter --  //
/////////////////////////////////////////////////
 
mid_camp.gat,217,217,1  script  Devil Square::Devil Square  738,{
 
 mes "[Devil Square Guard]";
 mes "Welcome to the entrance door to ^FF0000Devil Square^000000!";
 next;
 mes "[Devil Square Guard]";
 mes "If you failed or die, the door will be closed and you have to wait until it opens again.";
 next;
 menu "Enter",-,"Info",Info,"Cancel",Cancel;
 
 if(Baselevel < 250) goto LReq;
 if(Zeny < 50000000) goto LReq;
 if($inf == 1) goto L_go;
 goto L_error;
 
 LReq:
       mes "[Devil Square Guard]";
       mes "Minimum base level to enter is 250.";
       mes "The registration fee is 50,000,000z.";
       close;
 
 L_go:
       if (getmapusers("ordeal_1-1.gat")==10) goto toomany;
       set Zeny,Zeny - 50000000;
       announce ""+strcharinfo(0)+" has entered the Devil Square!",8;
       percentheal 100,100;
       warp "ordeal_1-1.gat",182,182;
       end;
 
 L_error:
       mes "[Devil Square Guard]";
       mes "Devil Square is now closed.";
       mes "It'll be open again at:";
       mes "10am, 12pm, 2pm, 4pm, 6pm, 8pm,";
       mes "10pm, 12am, 2am, 4am, 6am, 8am.";
       close;
 
 Info:
 mes "[Devil Square Guard]";
 mes "There are 3 level monster you'll encounter.";
 mes "Each level the enemies will grow stronger.";
 mes "If you succeded to win all the 3 levels, you'll get the opportunity to open 5 Treasure Boxes with items, equips, and rare cards inside!!";
 close;
 end;
 
 toomany:
 mes "[Devil Square Guard]";
 mes "I'm sorry but the Devil Square is FULL.";
 mes "Maximum users to enter is 10 players.";
 set $inf,0;
 close;
 end;
 
 Cancel:
 mes "[Devil Square Guard]";
 mes "See ya!";
 close;
 end;
}
 
////End Of Devil Square Entrance
 
ordeal_1-1.gat,182,183,5    script    Cek    -1,{
 
OnTimer30000:
 if (getmapusers("ordeal_1-1.gat") == 0) Announce "All players failed to survive at the Devil Square!",8;
 if (getmapusers("ordeal_1-1.gat") == 0) set $status,1;
 if (getmapusers("ordeal_1-1.gat") == 0) killmonsterall "ordeal_1-1.gat";
 if (getmapusers("ordeal_1-1.gat") == 0) end;
 Announce "There are still [" + getmapusers("ordeal_1-1.gat") + "] player(s) trying to survive at the Devil Square!",8;
 initnpctimer;
 end;
 
}
 
ordeal_1-1.gat,182,183,5    script    HiddenNpc    -1,{
 
OnClock0200:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock0400:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock0600:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock0800:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock1000:
       Announce "Devil Square is now open! 5 Minutes until it start...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock1200:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock1400:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock1600:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock1800:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock2000:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock2200:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnClock2400:
       Announce "Devil Square is now open! 5 Minutes until it starts...",8;
       disablenpc "Exit";
       initnpctimer;
       set $inf,1;
       set $status,0;
       killmonsterall "ordeal_1-1.gat";
       end;
 
OnTimer60000:
       Announce "Devil Square will begin in 4 minutes...",8;
       end;
 
OnTimer120000:
       Announce "Devil Square will begin in 3 minutes...",8;
       end;
 
OnTimer180000:
       Announce "Devil Square will begin in 2 minutes...",8;
       end;
 
OnTimer240000:
       Announce "Devil Square will begin in 1 minute...",8;
       end;
 
OnTimer300000:
 Announce "The Devil Square has begun!",8;
 initnpctimer "Cek";
 set $inf,0;
 set $mob,75;
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Duneyrr",2018,30,"HiddenNpc::Ondevildead";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Archer Guardian",1285,35,"HiddenNpc::Ondevildead";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Majorous",1310,30,"HiddenNpc::Ondevildead";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Giant Spider",1304,45,"HiddenNpc::Ondevildead";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Wind Ghost",1263,45,"HiddenNpc::Ondevildead";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Mutant Dragon",1262,40,"HiddenNpc::Ondevildead";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Flying Bear",2176,1,"HiddenNpc::Ondevildead";
 end;
 
Ondevildead:
if ($status == 1) end;
set $mob,$mob-1;
if($mob == 25) Announce "Devil Square : 25 mobs to go before the 2nd round!",8;
if($mob == 5) Announce "Devil Square : 5 mobs to go before the 2nd round!",8;
if($mob == 0) Announce "Devil Square will now enter the 2nd round!",8;
if($mob == 0) goto Ondevil2;
end;
 
Ondevil2:
 set $mob,70;
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Bloody Knight",1268,45,"HiddenNpc::Ondevildead2";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Knight Guardian",1286,45,"HiddenNpc::Ondevildead2";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Soldier Guardian",1287,45,"HiddenNpc::Ondevildead2";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Injustice",1257,10,"HiddenNpc::Ondevildead2";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Dark Illusion",1302,40,"HiddenNpc::Ondevildead2";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Violy",1390,60,"HiddenNpc::Ondevildead2";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Ancient Pan",2175,1,"HiddenNpc::Ondevildead";
 end;
 
Ondevildead2:
 if ($status == 1) end;
 set $mob,$mob-1;
 if($mob == 25) Announce "Devil Square : 25 mobs to go before the 3rd round!",8;
 if($mob == 5) Announce "Devil Square : 5 mobs to go before the 3rd round!",8;
 if($mob == 0) Announce "Devil Square will now enter the 3rd round! Watch out for the Final BOSS!!",8;
 if($mob == 0) goto Ondevil3;
 end;
 
Ondevil3:
 set $mob,58;
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Seyren Windsor",1640,5,"HiddenNpc::Ondevildead3";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Margarethr",1643,5,"HiddenNpc::Ondevildead3";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Shecil",1644,5,"HiddenNpc::Ondevildead3";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Katrinn",1645,5,"HiddenNpc::Ondevildead3";
areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Eremes",1641,5,"HiddenNpc::Ondevildead3";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] Harword",1642,5,"HiddenNpc::Ondevildead3";
 areamonster "ordeal_1-1.gat",183,182,246,244,"[DS] King CROW",2168,1,"HiddenNpc::Ondevildead";
 end;
 
Ondevildead3:
 if ($status == 1) end;
 set $mob,$mob-1;
 if($mob == 25) Announce "Devil Square : 25 mobs left to VICTORY!",8;
 if($mob == 5) Announce "Devil Square : 5 mobs left to VICTORY!",8;
 if($mob == 0) Announce "Devil Square : CONGRATULATIONS - 3 Treasure Boxes can now be yours!",8;
 if($mob == 0) goto Ondevil4;
 end;
 
Ondevil4:
 set $mob,10;
 monster "ordeal_1-1.gat",233,245,"Treasure Box",673,3,"HiddenNpc::Onboxdead";
 monster "ordeal_1-1.gat",236,242,"Treasure Box",13995,10,"HiddenNpc::Onboxdead";
 monster "ordeal_1-1.gat",239,239,"Treasure Box",14232,10,"HiddenNpc::Onboxdead";
 monster "ordeal_1-1.gat",242,236,"Treasure Box",7539,30,"HiddenNpc::Onboxdead";
 monster "ordeal_1-1.gat",245,233,"Treasure Box",12103,5,"HiddenNpc::Onboxdead";
 end;
 
Onboxdead:
 if ($status == 1) end;
 set $mob, $mob - 1;
 Announce "Devil Square : " + strcharinfo(0) +" has opened the treasure box at Devil Square!",8;
 if($mob == 0) enablenpc "Exit";
 set $inf,0;
 end;
 
}
 
// -- Mapflags
ordeal_1-1.gat  mapflag nowarp
ordeal_1-1.gat  mapflag nowarpto
ordeal_1-1.gat  mapflag noteleport
ordeal_1-1.gat  mapflag nosave  SavePoint
ordeal_1-1.gat  mapflag nomemo
//ordeal_1-1.gat  mapflag gvg
ordeal_1-1.gat  mapflag nobranch
ordeal_1-1.gat  mapflag nopenalty
// -- End of Mapflags
 
ordeal_1-1.gat,246,245,3    script    Exit    734,{
 mes "[Exit Devil Square]";
 mes "Are you sure you want to leave the Devil Square?";
 next;
 menu "No.",-,"Yes.",Yes;
    close;
 Yes:
 warp "mid_camp.gat",208,230;
 close;
}
 
//------------------------------------------------------------
//End of Devil Square =================================
//------------------------------------------------------------
Viewed 845 times, submitted by Guest.