Jump to content

GM Takumirai

Members
  • Posts

    592
  • Joined

  • Last visited

Everything posted by GM Takumirai

  1. Hehehe sori i put it that way so u can test the event still the same result.. i don't know why it doesn't stop the timer.. - script RFYLBank -1,{ OnInit: disablenpc "Zombie Master"; disablenpc "R.F.Y.L. Banker"; } gonryun,167,98,3 script Zombie Master 718,{ mes "[Zombie Master]"; if (BaseLevel > 1){ mes "[^0000FFZombie Master^000000]"; mes "You must be a level 1 Novice."; close; } if (class > 0){ mes "[^0000FFZombie Master^000000]"; mes "You are not a Novice and must be level 1."; close; } if(Weight > 0) { mes "Lower your weight, Remove all your items."; close; } mes "Hello What can I do for you?"; next; menu "Register",-,"What is Zombie v.s. Novice?",what,"Leave",leave; next; mes "[Zombie Master]"; mes "Thank you for registering Mr. " + strcharinfo(0) + ", Have fun!"; close2; npctalk ""+strcharinfo(0)+" has registered for the Zombie v.s. Novice."; sc_end SC_ALL; sc_start SC_DECREASEAGI,1200000,10; percentheal 100,100; sc_start SC_STRIPSHIELD,1200000,5; sc_start SC_STRIPWEAPON,1200000,5; sc_start SC_STRIPARMOR,1200000,5; sc_start SC_STRIPHELM,1200000,5; statusup2 bStr,-999; statusup2 bAgi,-999; statusup2 bVit,-999; statusup2 bInt,-999; statusup2 bDex,-999; statusup2 bLuk,-999; warp "sec_pri",24,76; end; what: mes "[Zombie Master]"; mes "Zombie v.s. Novice Event, You just run for you life to survive the number of wave of Zombie."; next; mes "[Zombie Master]"; mes "Zombie v.s. Novice Event have different Difficulties."; mes "If Only 1 player survive the wave the game is Over."; next; mes "[Zombie Master]"; mes "That's all"; close; leave: mes "[Zombie Master]"; mes "I hope you will register next time"; close; } - script RFYL -1,{ OnMinute05: OnMinute25: OnMinute40: OnMinute50: enablenpc "Zombie Master"; delwaitingroom; waitingroom "Register Zombie v.s. Novice Now",0; pvpoff "sec_pri"; announce "Zombie Vs. Novice event Will begin in 3 minutes. Head at Gonryun town,0; killmonsterall "sec_pri"; sleep 55000; announce "Zombie Vs. Novice event will begin in 2 minutes! Head at Gonryun town",0; sleep 5000; announce "Zombie Master: I have now appeared at Gonryun town!",0; enablenpc "Zombie Master"; sleep 60000; announce "Zombie Vs. Novice event will begin in 1 minute!",0; sleep 30000; mapannounce "sec_pri","In 30 seconds the Registration will be closed!",0; sleep 25000; announce "Zombie Vs. Novice Event: will closed in ~5~",0; sleep 1000; announce "Zombie Vs. Novice Event: will closed in ~4~",0; sleep 1000; announce "Zombie Vs. Novice Event: will closed in ~3~",0; sleep 1000; announce "Zombie Vs. Novice Event: will closed in ~2~",0; sleep 1000; announce "Zombie Vs. Novice Event: will closed in ~1~",0; sleep 1000; announce "Zombie Vs. Novice Event: Registration is closed!",0; disablenpc "Zombie Master"; killmonsterall "sec_pri"; if(getmapusers("sec_pri") == 1){ announce "sec_pri","Zombie Master: Event Ended 1 Participant Only..",0; killmonsterall "sec_pri"; pvpoff "sec_pri"; mapwarp "sec_pri","prontera",0,0; stopnpctimer; } // ========================= // Round 1 // ========================= initnpctimer; sleep 1000; mapannounce "sec_pri","Zombie Vs. Novice Event: will begin in ~5~",0; sleep 1000; mapannounce "sec_pri","Zombie Vs. Novice Event: will begin in ~4~",0; sleep 1000; mapannounce "sec_pri","Zombie Vs. Novice Event: will begin in ~3~",0; sleep 1000; mapannounce "sec_pri","Zombie Vs. Novice Event: will begin in ~2~",0; sleep 1000; mapannounce "sec_pri","Zombie Vs. Novice Event: will begin in ~1~",0; sleep 10000; mapannounce "sec_pri","Zombie Vs. Novice Event: Run~",0; monster "sec_pri",24,76,"Zombie",1015,1; sleep 10000; monster "sec_pri",24,76,"Zombie",1015,1; sleep 10000; monster "sec_pri",24,76,"Zombie",1015,1; sleep 10000; monster "sec_pri",24,76,"Zombie",1015,1; sleep 55000; // ========================= // Round 2 // ========================= mapannounce "sec_pri","Round 2!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-2",1015,1; sleep 55000; monster "sec_pri",24,76,"Zombie-2",1015,1; // ========================= // Round 3 // ========================= mapannounce "sec_pri","Round 3!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-3",1015,1; sleep 55000; monster "sec_pri",24,76,"Zombie-3",1015,1; // ========================= // Round 4 // ========================= mapannounce "sec_pri","Round 4!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-4",1015,1; sleep 10000; monster "sec_pri",24,76,"Zombie-4",1015,1; sleep 55000; monster "sec_pri",24,76,"Zombie-4",1015,1; // ========================= // Round 5 // ========================= mapannounce "sec_pri","Round 5!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-5",1015,1; sleep 55000; monster "sec_pri",24,76,"Zombie-5",1015,1; // ========================= // Round 6 // ========================= mapannounce "sec_pri","Round 6!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-6",1015,1; sleep 55000; monster "sec_pri",24,76,"Zombie-6",1015,1; // ========================= // Round 7 // ========================= mapannounce "sec_pri","Round 7! Final Round!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-7",1015,1; sleep 20000; monster "sec_pri",24,76,"Zombie-7",1015,1; sleep 30000; monster "sec_pri",24,76,"Zombie-7",1015,1; sleep 40000; monster "sec_pri",24,76,"Zombie-7",1036,1; sleep 50000; monster "sec_pri",24,76,"Zombie-7",1036,1; sleep 60000; monster "sec_pri",24,76,"Zombie-7",1015,1; goto OnWin2; end; // ========================= // End of Rounds // ========================= OnTimer10000: if ( getmapusers("sec_pri") > 1 ){ initnpctimer; end; } else{ mapannounce "sec_pri","You have won, approach the R.F.Y.L. Banker NPC please.",0; enablenpc "R.F.Y.L. Banker"; stopnpctimer; } end; OnWin2: if ( getmapusers("sec_pri") == 0 ) { killmonsterall "sec_pri"; announce "RFYL Event: Event has ended. No one has joined.",0; stopnpctimer; end; } else if ( getmapusers("sec_pri") > 1 ) { mapannounce "sec_pri",getmapusers("sec_pri") +" has survived the event.",0,0x00FF00;; initnpctimer; end; } initnpctimer; end; // ========================= // When players die // ========================= OnPCDieEvent: getmapxy .@mapnvz$,.@xnvz,.@ynvz,0; if ( .@mapnvz$ == "sec_pri") { sleep2 100; warp "prontera",0,0; atcommand "@alive "+ strcharinfo(0); dispbottom "Sorry, but you were killed."; } sleep2 500; if (.@mapnvz$ == "sec_pri" && getmapusers("sec_pri") == 1 ) { killmonsterall "sec_pri"; sc_start SC_BASILICA,30000,1; mapannounce "sec_pri","You have won, approach the R.F.Y.L. Banker NPC please.",0; enablenpc "R.F.Y.L. Banker"; stopnpctimer; end; } end; } sec_pri,24,76,3 script R.F.Y.L. Banker 72,{ if(getmapusers("sec_pri") > 1){ npctalk "Only the last Survivor can talk with me."; end; } mes "[R.F.Y.L. Banker]"; mes "Please tell me your name:"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[R.F.Y.L. Banker]"; mes "Are you sure that is your name?"; close; } mes "[R.F.Y.L. Banker]"; mes "Congrats. You've won."; close2; announce "R.F.Y.L. Banker: We have a winner! "+.@name$+" has won the Novice vs Zombie event!",0; getitem 7711, 1; // Change This item id to what ever you want warp "prontera",0,0; disablenpc "R.F.Y.L. Banker"; end; OnInit: while(1){ delwaitingroom; waitingroom "["+getmapusers("sec_pri")+"] Participants ",0; sleep 1000; } end; } // == Mapflags sec_pri mapflag nowarpto sec_pri mapflag nowarp sec_pri mapflag noteleport sec_pri mapflag nomemo sec_pri mapflag nosave SavePoint sec_pri mapflag nobranch sec_pri mapflag noicewall sec_pri mapflag nopenalty sec_pri mapflag nobranch sec_pri mapflag noexp sec_pri mapflag noreturn sec_pri mapflag pvp_noparty sec_pri mapflag restricted 1
  2. - can't reproduce maybe i need to be level 255.. not working in default level..
  3. - script RFYLBank -1,{ OnInit: disablenpc "Zombie Master"; disablenpc "R.F.Y.L. Banker"; } gonryun,167,98,3 script Zombie Master 718,{ mes "[Zombie Master]"; if (BaseLevel > 1){ mes "[^0000FFZombie Master^000000]"; mes "You must be a level 1 Novice."; close; } if (class > 0){ mes "[^0000FFZombie Master^000000]"; mes "You are not a Novice and must be level 1."; close; } mes "Hello What can I do for you?"; next; menu "Register",-,"What is Zombie v.s. Novice?",what,"Leave",leave; next; mes "[Zombie Master]"; mes "Thank you for registering Mr. " + strcharinfo(0) + ", Have fun!"; close2; npctalk ""+strcharinfo(0)+" has registered for the Zombie v.s. Novice."; sc_end SC_ALL; sc_start SC_DECREASEAGI,1200000,10; percentheal 100,100; sc_start SC_STRIPSHIELD,1200000,5; sc_start SC_STRIPWEAPON,1200000,5; sc_start SC_STRIPARMOR,1200000,5; sc_start SC_STRIPHELM,1200000,5; statusup2 bStr,-999; statusup2 bAgi,-999; statusup2 bVit,-999; statusup2 bInt,-999; statusup2 bDex,-999; statusup2 bLuk,-999; warp "sec_pri",24,76; end; what: mes "[Zombie Master]"; mes "Zombie v.s. Novice Event, You just run for you life to survive the number of wave of Zombie."; next; mes "[Zombie Master]"; mes "Zombie v.s. Novice Event have different Difficulties."; mes "If Only 1 player survive the wave the game is Over."; next; mes "[Zombie Master]"; mes "That's all"; close; leave: mes "[Zombie Master]"; mes "I hope you will register next time"; close; } - script RFYL -1,{ OnMinute05: OnMinute10: OnMinute20: OnMinute30: OnMinute40: OnMinute50: OnMinute55: enablenpc "Zombie Master"; delwaitingroom; waitingroom "Register Zombie v.s. Novice Now",0; pvpoff "sec_pri"; announce "Zombie Vs. Novice event Will begin in 3 minutes. Head East/North",0; killmonsterall "sec_pri"; sleep 55000; announce "Zombie Vs. Novice event will begin in 2 minutes! Head East/North",0; sleep 5000; announce "Zombie Master: I have now appeared in Rachel!",0; enablenpc "Zombie Master"; sleep 60000; announce "Zombie Vs. Novice event will begin in 1 minute!",0; sleep 30000; mapannounce "sec_pri","In 30 seconds the zombies will spawn!",0; sleep 25000; announce "Zombie Vs. Novice event will begin in ~5~",0; sleep 1000; announce "Zombie Vs. Novice event will begin in ~4~",0; sleep 1000; announce "Zombie Vs. Novice event will begin in ~3~",0; sleep 1000; announce "Zombie Vs. Novice event will begin in ~2~",0; sleep 1000; announce "Zombie Vs. Novice event will begin in ~1~",0; sleep 1000; announce "Zombie Vs. Novice event has now begun!",0,0x00FF00; disablenpc "Zombie Master"; if(getmapusers("sec_pri") == 1){ announce "sec_pri","Zombie Master: Event Ended 1 Participant Only..",0; pvpoff "sec_pri"; mapwarp "sec_pri","prontera",0,0; stopnpctimer; } // ========================= // Round 1 // ========================= sleep 10000; monster "sec_pri",24,76,"Zombie",1015,1; sleep 10000; monster "sec_pri",24,76,"Zombie",1015,1; sleep 10000; monster "sec_pri",24,76,"Zombie",1015,1; sleep 10000; monster "sec_pri",24,76,"Zombie",1015,1; sleep 55000; // ========================= // Round 2 // ========================= mapannounce "sec_pri","Round 2!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-2",1015,1; sleep 55000; monster "sec_pri",24,76,"Zombie-2",1015,1; // ========================= // Round 3 // ========================= mapannounce "sec_pri","Round 3!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-3",1015,1; sleep 55000; monster "sec_pri",24,76,"Zombie-3",1015,1; // ========================= // Round 4 // ========================= mapannounce "sec_pri","Round 4!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-4",1015,1; sleep 10000; monster "sec_pri",24,76,"Zombie-4",1015,1; sleep 55000; monster "sec_pri",24,76,"Zombie-4",1015,1; // ========================= // Round 5 // ========================= mapannounce "sec_pri","Round 5!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-5",1015,1; sleep 55000; monster "sec_pri",24,76,"Zombie-5",1015,1; // ========================= // Round 6 // ========================= mapannounce "sec_pri","Round 6!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-6",1015,1; sleep 55000; monster "sec_pri",24,76,"Zombie-6",1015,1; // ========================= // Round 7 // ========================= mapannounce "sec_pri","Round 7! Final Round!",0; sleep 10000; monster "sec_pri",24,76,"Zombie-7",1015,1; sleep 20000; monster "sec_pri",24,76,"Zombie-7",1015,1; sleep 30000; monster "sec_pri",24,76,"Zombie-7",1015,1; sleep 40000; monster "sec_pri",24,76,"Zombie-7",1036,1; sleep 50000; monster "sec_pri",24,76,"Zombie-7",1036,1; sleep 60000; monster "sec_pri",24,76,"Zombie-7",1015,1; initnpctimer; end; // ========================= // End of Rounds // ========================= OnTimer0500: if ( getmapusers("sec_pri") == 0 ) { killmonsterall "sec_pri"; announce "RFYL Event: Event has ended. No one has joined.",0; stopnpctimer; end; } else if ( getmapusers("sec_pri") > 1 ) { mapannounce "sec_pri",getmapusers("sec_pri") +" has survived the event.",0,0x00FF00;; initnpctimer; end; } initnpctimer; end; // ========================= // When players die // ========================= OnPCDieEvent: getmapxy .@mapnvz$,.@xnvz,.@ynvz,0; if ( .@mapnvz$ == "sec_pri") { sleep2 100; warp "prontera",0,0; atcommand "@alive "+ strcharinfo(0); dispbottom "Sorry, but you were killed."; } sleep2 500; if (.@mapnvz$ == "sec_pri" && getmapusers("sec_pri") == 1 ) { killmonsterall "sec_pri"; sc_start SC_BASILICA,30000,1; mapannounce "sec_pri","You have won, approach the R.F.Y.L. Banker NPC please.",0; enablenpc "R.F.Y.L. Banker"; stopnpctimer; end; } end; } sec_pri,24,76,3 script R.F.Y.L. Banker 72,{ if(getmapusers("sec_pri") > 1){ npctalk "Only the last Survivor can talk with me."; end; } mes "[R.F.Y.L. Banker]"; mes "Please tell me your name:"; next; input .@name$; if(.@name$ != strcharinfo(0)) { mes "[R.F.Y.L. Banker]"; mes "Are you sure that is your name?"; close; } mes "[R.F.Y.L. Banker]"; mes "Congrats. You've won."; close2; announce "R.F.Y.L. Banker: We have a winner! "+.@name$+" has won the Novice vs Zombie event!",0; getitem 7711, 1; // Change This item id to what ever you want warp "prontera",0,0; disablenpc "R.F.Y.L. Banker"; end; OnInit: while(1){ delwaitingroom; waitingroom "["+getmapusers("sec_pri")+"] Participants ",0; sleep 1000; } end; } // == Mapflags sec_pri mapflag nowarpto sec_pri mapflag nowarp sec_pri mapflag noteleport sec_pri mapflag nomemo sec_pri mapflag nosave SavePoint sec_pri mapflag nobranch sec_pri mapflag noicewall sec_pri mapflag nopenalty sec_pri mapflag nobranch sec_pri mapflag noexp sec_pri mapflag noreturn sec_pri mapflag pvp_noparty sec_pri mapflag restricted 1 - the problem is when the npc recognize only 1 player left the NPC still continue itself to spawn zombie .. even if it stopnpctimer.. - also if 1 participant only left..
  4. https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/npc/custom/quests/quest_shop.txt how to make it rentitem *time* instead of get the item
  5. OnClock0000 = 12:00 midnight OnClock1200 = 12:00 Noon OnClock1700 = 5:00 PM - this is a military time..
  6. Please search some of your request is under the release script section.. Stat reset only but you can edit it putting a reset skill also .. http://rathena.org/board/topic/62734-stat-reset-npc-purified-reset-stone/
  7. You can edit this http://rathena.org/board/topic/70613-utility-guild-pack-giver/
  8. use this http://rathena.org/board/topic/65196-tcg-drainer-very-useful-to-most-of-the-servers-just-like-lotti-girl-in-pro/
  9. if you want like that you can use this.. http://rathena.org/board/topic/65196-tcg-drainer-very-useful-to-most-of-the-servers-just-like-lotti-girl-in-pro/
  10. //===== rAthena Script ======================================= //= Rock Scissors Roulette //===== By: ================================================== //= acky //===== Current Version: ===================================== //= 1.2 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= Plays a hybrid Russian Roulette Rock Scissors Paper game. //===== Additional Comments: ================================= //= Prizes customizable, Added emotions. //= 1.2 Fixes by Blackthunder and me [Poki#3] //============================================================ prontera,157,157,4 script Crazy Boris 85,{ mes "Hey you! Up for Rock Scissors Roulette?"; mes "You have to pay 1,000,000M Zeny."; next; mes "Let me check if you have enough Zeny."; next; if( Zeny < 1000000 ){ mes "You don't have enough Zeny."; }else{ mes "Do you want to play?"; select("Yes"); set Zeny,Zeny - 1000000; mes "Crazy Boris"; set @counter,1; mes "Hey you! Up for Rock Scissors Roulette?"; next; menu "Let me play.",PLAY,"Explain the rules.",RULES,"Leave",LEAVE; SAME: mes "Draw! Again!"; next; goto PLAY; WIN: mes "Damnit, You Win!"; emotion 19; next; goto OPPPULL; LOSE: emotion 18; mes "Boorah! You Lose!"; next; goto YOUPULL; PLAY: mes "Rock... Paper..."; set @opp,rand (1,3); menu "^0000FFROCK!",ROCK,"^FF0000SCISSORS!",SCISSORS,"^00FF00PAPER!^000000",PAPER; ROCK: if (@lastchoice == 1) set @opp,rand (1,3); if (@opp == 1) emotion 11; if (@opp == 2) emotion 10; if (@opp == 3) emotion 12; set @lastchoice,1; if (@opp == 1) goto SAME; if (@opp == 2) goto WIN; if (@opp == 3) goto LOSE; SCISSORS: if (@lastchoice == 2) set @opp,rand (1,2); if (@opp == 1) emotion 11; if (@opp == 2) emotion 10; if (@opp == 3) emotion 12; set @lastchoice,2; if (@opp == 1) goto LOSE; if (@opp == 2) goto SAME; if (@opp == 3) goto WIN; PAPER: if (@lastchoice == 3) set @opp,rand (2,3); if (@opp == 1) emotion 11; if (@opp == 2) emotion 10; if (@opp == 3) emotion 12; set @lastchoice,3; if (@opp == 1) goto WIN; if (@opp == 2) goto LOSE; if (@opp == 3) goto SAME; YOUPULL: if (@counter == 1) goto ONE; if (@counter == 2) goto TWO; if (@counter == 3) goto THREE; if (@counter == 4) goto FOUR; if (@counter == 5) goto FIVE; if (@counter == 6) goto SIX; OPPPULL: if (@counter == 1) goto ONEa; if (@counter == 2) goto TWOa; if (@counter == 3) goto THREEa; if (@counter == 4) goto FOURa; if (@counter == 5) goto FIVEa; if (@counter == 6) goto SIXa; ONE: set @counter,2; mes "1 of 6"; set @pull,rand (1,6); next; if (@pull == 1) goto DIE; if (@pull != 1) goto SAFE; TWO: set @counter,3; mes "2 of 6"; set @pull,rand (1,5); next; if (@pull == 1) goto DIE; if (@pull != 1) goto SAFE; THREE: set @counter,4; mes "3 of 6"; set @pull,rand (1,4); next; if (@pull == 1) goto DIE; if (@pull != 1) goto SAFE; FOUR: set @counter,5; mes "4 of 6"; set @pull,rand (1,3); next; if (@pull == 1) goto DIE; if (@pull != 1) goto SAFE; FIVE: set @counter,6; mes "5 of 6"; set @pull,rand (1,2); if (@pull == 1) set @pull,rand (1,2); next; if (@pull == 1) goto DIE; if (@pull != 1) goto SAFE; SIX: mes "6 of 6"; mes "Say your prayers"; set @pull,1; next; if (@pull == 1) goto DIE; if (@pull != 1) goto SAFE; ONEa: set @counter,2; mes "1 of 6"; set @pull,rand (1,6); next; if (@pull == 1) goto KILL; if (@pull != 1) goto SAFE; TWOa: set @counter,3; mes "2 of 6"; set @pull,rand (1,5); next; if (@pull == 1) goto KILL; if (@pull != 1) goto SAFE; THREEa: set @counter,4; mes "3 of 6"; set @pull,rand (1,4); next; if (@pull == 1) goto KILL; if (@pull != 1) goto SAFE; FOURa: set @counter,5; mes "4 of 6"; set @pull,rand (1,3); next; if (@pull == 1) goto KILL; if (@pull != 1) goto SAFE; FIVEa: set @counter,6; mes "5 of 6"; set @pull,rand (1,2); next; if (@pull == 1) goto KILL; if (@pull != 1) goto SAFE; SIXa: mes "6 of 6"; mes "Say your prayers"; set @pull,1; next; if (@pull == 1) goto KILL; if (@pull != 1) goto SAFE; SAFE: emotion 32; mes "*^0000FFClick^000000* whew..."; goto PLAY; DIE: specialeffect2 183; emotion 29; percentheal -100,-100; mes "*^0000FFClick^000000* *^FF0000BANG^000000*"; mes "You're dead!"; close; KILL: specialeffect 183; emotion 23; mes "*^0000FFClick^000000* *^FF0000BANG^000000*"; mes "OWWW @#$%^!! THAT HURT LIKE HELL!!"; next; goto PRIZE; RULES: mes "Ok here are the rules:"; mes "I have with me a ^FF00006^000000 chamber pistol with ^FF00001^000000 round. First we play ^FF0000Scissors ^00FF00Paper ^0000FFRock^000000. The loser pulls the trigger. The winner is whoever comes out best."; mes "Beat me to win a prize."; menu "Let me play.",CONT,"No thanks.",LEAVE; CONT: mes "Ok here we go..."; next; goto PLAY; PRIZE: mes "Congratulations! You have won..."; specialeffect2 510; set @prize,rand (1,31); if (@prize == 1) goto P1; if (@prize == 2) goto P2; if (@prize == 3) goto P3; if (@prize == 4) goto P4; if (@prize == 5) goto P5; if (@prize == 6) goto P6; if (@prize == 7) goto P7; if (@prize == 8) goto P8; if (@prize == 9) goto P9; if (@prize == 10) goto P10; if (@prize == 11) goto P11; if (@prize == 12) goto P12; if (@prize == 13) goto P13; if (@prize == 14) goto P14; if (@prize == 15) goto P15; if (@prize == 16) goto P16; if (@prize == 17) goto P17; if (@prize == 18) goto P18; if (@prize == 19) goto P19; if (@prize == 20) goto P20; if (@prize == 21) goto P21; if (@prize == 22) goto P22; if (@prize == 23) goto P23; if (@prize == 24) goto P24; if (@prize == 25) goto P25; if (@prize == 26) goto P26; if (@prize == 27) goto P27; if (@prize == 28) goto P28; if (@prize == 29) goto P29; if (@prize == 30) goto P30; if (@prize == 31) goto P31; P1: announce "Congratulations to "+strcharinfo(0)+".. You won 10x Oridecon from Crazy Boris! ",0; getitem 984,10; close; P2: announce "Congratulations to "+strcharinfo(0)+".. You won 10x Elunium from Crazy Boris! ",0; getitem 985,10; close; P3: announce "Congratulations to "+strcharinfo(0)+".. You won 100x Fly Wings from Crazy Boris! ",0; getitem 601,100; close; P4: announce "Congratulations to "+strcharinfo(0)+".. You won 8x Old Blue Box from Crazy Boris! ",0; getitem 603,8; close; P5: announce "Congratulations to "+strcharinfo(0)+".. You won 4x Old Violet Box from Crazy Boris! ",0; getitem 617,4; close; P6: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Old Card Album from Crazy Boris! ",0; getitem 616,1; close; P7: announce "Congratulations to "+strcharinfo(0)+".. You won 10x Dead Branch from Crazy Boris! ",0; getitem 604,10; close; P8: announce "Congratulations to "+strcharinfo(0)+".. You won 3x Gold from Crazy Boris! ",0; getitem 969,3; close; P9: announce "Congratulations to "+strcharinfo(0)+".. You won 10x Elunium from Crazy Boris! ",0; getitem 985,10; close; P10: announce "Congratulations to "+strcharinfo(0)+".. You won 20x Blue Potion from Crazy Boris! ",0; getitem 505,20; close; P11: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Alucard Sunglasses from Crazy Boris! ",0; getitem 32048,1; close; P12: announce "Congratulations to "+strcharinfo(0)+".. You won 1x White Glasses from Crazy Boris! ",0; getitem 32049,1; close; P13: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Purple Glasses from Crazy Boris! ",0; getitem 32050,1; close; P14: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Black Glasses from Crazy Boris! ",0; getitem 32051,1; close; P15: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Gold Glasses from Crazy Boris! ",0; getitem 32052,1; close; P16: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Saiyan Ears from Crazy Boris! ",0; getitem 32053,1; close; P17: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Robo Headphones from Crazy Boris! ",0; getitem 32054,1; close; P18: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Rayban from Crazy Boris! ",0; getitem 32055,1; close; P19: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Kankuro Mask from Crazy Boris! ",0; getitem 32056,1; close; P20: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Heart Sunglasses from Crazy Boris! ",0; getitem 32057,1; close; P21: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Face of Death from Crazy Boris! ",0; getitem 32058,1; close; P22: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Chii Ears from Crazy Boris! ",0; getitem 32059,1; close; P23: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Butterfly Pin from Crazy Boris! ",0; getitem 32060,1; close; P24: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Blue Tie from Crazy Boris! ",0; getitem 32063,1; close; P25: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Black Tie from Crazy Boris! ",0; getitem 32064,1; close; P26: announce "Congratulations to "+strcharinfo(0)+".. You won False Apprentice from Crazy Boris! ",0; getitem 32066,1; close; P27: announce "Congratulations to "+strcharinfo(0)+".. You won 1x State Alchemist Pocket Watch from Crazy Boris! ",0; getitem 32067,1; close; P28: announce "Congratulations to "+strcharinfo(0)+".. You won 1x Proof of Donation from Crazy Boris! ",0; getitem 7179,1; close; P29: announce "Congratulations to "+strcharinfo(0)+".. You won 2x TCG from Crazy Boris! ",0; getitem 7227,2; close; P30: announce "Congratulations to "+strcharinfo(0)+".. You won 3x Poring Coins from Crazy Boris! ",0; getitem 7539,3; close; P31: announce "Congratulations to "+strcharinfo(0)+".. You won 4x Silver Coins from Crazy Boris! ",0; getitem 675,4; close; LEAVE: mes "Pansy."; close; }
  11. the better way to do this is to make another type of obb.. http://rathena.org/board/topic/68778-how-to-make-a-custom-obb-or-oca/#entry126978
  12. try this jigs OnInit: disablenpc "Support Priest"; end; OnClock1400: enablenpc "Support Priest"; end; OnClock1600: disablenpc "Support Priest"; }} Off Topic : Jigs remember me?, im with aloha in adik gaming network..
  13. not an emperium ladder room, im referring to WOE emperium, if a player break an emperium during WOE he will received +1 points this points will be used to buy an items..
  14. Tnx emistry and ocean.. still not working OnTimer1000: { set .@type,atoi(strnpcinfo(2)); for(;isloggedin(getd(".n_"+.@type+"_master")) { set .@type,atoi(strnpcinfo(2)); attachrid(getd(".n_"+.@type+"_master")); getmapxy(getd(".n_"+.@type+"_master_map$"),getd(".n_"+.@type+"_master_x"),getd(".n_"+.@type+"_master_y"),0); getmapxy(getd(".n_"+.@type+"_npc_map$"),getd(".n_"+.@type+"_npc_x"),getd(".n_"+.@type+"_npc_y"),1,strnpcinfo(0)); { for( .@i = 0; .@i < getarraysize( .@map$ ) - 1; .@i++ ) if( getd(".n_"+.@type+"_master_map$") == .@maps$[.@i] ){ callsub onendd; break; } if(maxhp/hp>=4) { percentheal 15,15; specialeffect2 312; } if(getd(".n_"+.@type+"_tmp_time") == 0) { sc_start SC_BLESSING,60000,10; specialeffect2 42; sc_start SC_INCREASEAGI,60000,10; specialeffect2 37; sc_start SC_IMPOSITIO,60000,10; specialeffect2 84; sc_start SC_MAGNIFICAT,60000,10; specialeffect2 76; sc_start SC_GLORIA,60000,10; specialeffect2 75; sc_start SC_SUFFRAGIUM,60000,10; specialeffect2 88; sc_start SC_ASSUMPTIO,60000,10; specialeffect2 375; } setd ".n_"+.@type+"_tmp_time",getd(".n_"+.@type+"_tmp_time")+1; if( getd(".n_"+.@type+"_tmp_time") >= 60 ) setd ".n_"+.@type+"_tmp_time",0; detachrid; if(!isloggedin(getd(".n_"+.@type+"_master"))) { callsub OnEndd; break; } if(distance(getd(".n_"+.@type+"_npc_x"),getd(".n_"+.@type+"_npc_y"),getd(".n_"+.@type+"_master_x"),getd(".n_"+.@type+"_master_y"))>=8||getd(".n_"+.@type+"_master_map$")!=getd(".n_"+.@type+"_npc_map$")) unitwarp getd(".n_"+.@type+"_unit_id"),getd(".n_"+.@type+"_master_map$"),getd(".n_"+.@type+"_master_x"),getd(".n_"+.@type+"_master_y"); else unitwalk getd(".n_"+.@type+"_unit_id"),getd(".n_"+.@type+"_master_x")+rand(-3,3),getd(".n_"+.@type+"_master_y")+rand(-3,3); setd ".n_"+.@type+"_time",getd(".n_"+.@type+"_time")-1; if( getd(".n_"+.@type+"_time") <= 0 ) { callsub OnEndd; break; } sleep2 1000; } } callsub OnEndd; end; OnInit: setd ".n_"+atoi(strnpcinfo(2))+"_unit_id",getnpcid(0); set .amount,.amount+1; setarray .@maps$, "guild_vs1","0", "guild_vs2","1", "guild_vs3","2", "guild_vs4","3", "guild_vs5","4", "06guild_01","5", "06guild_02","6"; end; } }
  15. this is a source modification i think, but if you want you can use the vending patch http://rathena.org/board/topic/60817-extended-vending-system-18/
  16. gonryun,162,122,6 script PVP Warper 852,{ mes "Hello I can warp you inside the PvP Arena!"; next; mes "Where do you want to go?"; menu "Normal PvP [" + getmapusers("pvp_y_1-2") + " / 40]",normal, "No Party PvP [" + getmapusers("pvp_y_2-2") + " / 40]",np; normal: if (getmapusers("06guild_01") > 39) { mes "The PvP Arena is full"; close; } warp "06guild_01",0,0; close; np: if (getmapusers("06guild_02") > 39) { mes "The PvP Arena is full"; close; } warp "06guild_02",0,0; close; } 06guild_01 mapflag nowarp 06guild_01 mapflag pvp 06guild_01 mapflag nowarpto 06guild_01 mapflag noteleport 06guild_01 mapflag nosave 06guild_01 mapflag nomemo 06guild_01 mapflag nobranch 06guild_01 mapflag nocommand 80 06guild_02 mapflag nowarp 06guild_02 mapflag pvp 06guild_02 mapflag nowarpto 06guild_02 mapflag noteleport 06guild_02 mapflag nosave 06guild_02 mapflag nomemo 06guild_02 mapflag nobranch 06guild_02 mapflag pvp_noparty 06guild_02 mapflag nocommand 80
  17. can i ask a question/help - in god* dedicate npc script i put this script if( getd(".n_"+.@type+"_master_map$") == "guild_01" ) { callsub OnEndd; break; } - the npc disappear in map guild_01 and it works now my problem is when i made it like this if( getd(".n_"+.@type+"_master_map$") == ".@maps$" ) { callsub OnEndd; break; } setarray .@maps$, "guild_vs1","0", "guild_vs2","1", "guild_vs3","2", "guild_vs4","3", "guild_vs5","4"; - there's no errors but the problem is the npc doesn't remove when i go in the said map
  18. rAthena already have battle grounds script in svn, i think in eAthena also and please use search button we already have it here release..
  19. good luck to the devs for this.. we need this alot..
  20. lets wait for Euphy for the standardization of the quest love this
×
×
  • Create New...