Jump to content

Kirito-kun

Members
  • Posts

    57
  • Joined

  • Last visited

Everything posted by Kirito-kun

  1. prontera,151,174,3 script Poring Catcher Warper 723,{ mes "Do you want to join the Poring Catcher Event?"; menu "Yes",-; set @rex,rand(102,104); warp "poring_c01",@rex,101; close; } prontera,159,182,4 script pcetrigger 45,{ OnInit: enablenpc "Poring Catcher Warper"; end; OnClock2100: OnClock2200: OnClock2300: OnCatcherTrigger: if(agitcheck() == 1) end; enablenpc "Poring Catcher Warper"; announce "Poring Catcher Event: We are going to have a Poring Catcher Event",bc_all,0xFF7F50; sleep2 1000; announce "Poring Catcher Event: For those who want to join, please warp @ prontera 158 176!",bc_all,0xFF7F50; //Edit to where would you place the warper sleep2 1000; announce "Poring Catcher Event: The Warper would be open for 1 minute",bc_all,0xFF7F50; sleep2 30000; announce "Poring Catcher Event: Last 30 Seconds.",bc_all,0xFF7F50; sleep2 30000; announce "Poring Catcher Event: Warper Closed.",bc_all,0xFF7F50; disablenpc "Poring Catcher Warper"; donpcevent "Poring Catcher Event::OnPoringCatcherStart"; end; } poring_c01,106,110,3 script Got Stuck?#pce 948,{ mes "[ Got Stuck? ]"; mes "Do you wish to go back?"; menu "Yes",-; warp "mellina",115,150; close; } - script Poring Catcher Event -1,{ OnPoringCatcherStart: mapannounce "poring_c01","We are about to start the Poring Catcher Event.",bc_blue; sleep2 1000; mapannounce "poring_c01","Rules are simple:",bc_blue; sleep2 1000; mapannounce "poring_c01","In a few seconds I'm going to spawn tons of porings..",bc_blue; sleep2 1000; mapannounce "poring_c01","..All you need to do is kill the Poring with the right name..",bc_blue; sleep2 1000; mapannounce "poring_c01","..Which would be Poring.",bc_blue; sleep2 1000; mapannounce "poring_c01","If you kill the wrong one, you're out!",bc_blue; sleep2 3000; mapannounce "poring_c01","That's it.. Now let's get this on!",bc_blue; sleep2 3000; goto Lstart; end; Lstart: if(getmapusers("poring_c01") == 0) goto Lnoone; if(getmapusers("poring_c01") > 0) { mapannounce "poring_c01","Ready...",bc_blue; sleep2 1000; mapannounce "poring_c01","Get Set..",bc_blue; sleep2 1500; mapannounce "poring_c01","Go!",bc_blue; sleep2 1000; areamonster "poring_c01",95,108,113,87,"Poring",1002,1,"poringwin::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poking",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poiring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poling",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Porng",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"pH0ur1n6",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"P0ring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Porong",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Powing",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poriing",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Boring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Lolwut!?",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Kill me to win!",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; sleep2 1800000; if(getmapusers("poring_c01") > 0) { goto Lnoone; disablenpc "Poring Catcher Warper"; } end; Lnoone: announce "No one won the Poring Catcher Event!",bc_all,0xFF7F50; mapwarp "poring_c01","mellina",115,150; killmonsterall "poring_c01"; disablenpc "Poring Catcher Warper"; end; } } - script poringwin -1,{ OnMobKilled: getitem 7227,1; //Edit on what prize would you give to the winner announce strcharinfo(0)+" won the Poring Catcher Event!",bc_all,0xFF7F50; disablenpc "Poring Catcher Warper"; killmonsterall "poring_c01"; mapwarp "poring_c01","mellina",115,150; end; } - script poringlose -1,{ OnMobKilled: dispbottom "You killed the wrong Poring! Yerrrrrrrrrrrr out!"; warp "prontera",155,192; //Edit to where will you warp players that lost sleep2 500; if(getmapusers("poring_c01") == 0) goto Lnoone; end; Lnoone: announce "No one won the Poring Catcher Event!",bc_all,0xFF7F50; mapwarp "poring_c01","mellina",115,150; killmonsterall "poring_c01"; disablenpc "Poring Catcher Warper"; end; } poring_c01 mapflag nopenalty poring_c01 mapflag noloot poring_c01 mapflag noskill poring_c01 mapflag nowarpto poring_c01 mapflag nowarp poring_c01 mapflag noteleport poring_c01 mapflag nomemo poring_c01 mapflag nosave SavePoint poring_c01 mapflag nobranch poring_c01 mapflag nodrop still not working sir, same with "Novice Vs. Zombie" is it possible that this script is not compatible with my server? by the way how to use that code box to post? where to find it. hihihi sorry too noob
  2. I've already done and change everything u told me to do guys, but still not working, i cant event see the npc warper, but there's no error in map-server.... Why it wont work? can u give me other scripts for this event guys? thanks a lot //======Name======================================== // Poring Catcher Event //======Version===================================== // 1.0 //======Author(s)=================================== // Sandbox, Clydelion //======Comments==================================== // In loving memory of AstralRO //================================================== //Edit to where would you place the warper prontera,151,174,3 script Poring Catcher Warper 723,{ mes "Do you want to join the Poring Catcher Event?"; menu "Yes",-; set @rex,rand(102,104); warp "poring_c01",@rex,101; close; } prontera,159,182,4 script pcetrigger 45,{ OnInit: enablenpc "Poring Catcher Warper"; end; OnCatcherTrigger: if(agitcheck() == 1) end; enablenpc "Poring Catcher Warper"; announce "Poring Catcher Event: We are going to have a Poring Catcher Event",bc_all,0xFF7F50; sleep2 1000; announce "Poring Catcher Event: For those who want to join, please warp @ prontera 158 176!",bc_all,0xFF7F50; //Edit to where would you place the warper sleep2 1000; announce "Poring Catcher Event: The Warper would be open for 1 minute",bc_all,0xFF7F50; sleep2 30000; announce "Poring Catcher Event: Last 30 Seconds.",bc_all,0xFF7F50; sleep2 30000; announce "Poring Catcher Event: Warper Closed.",bc_all,0xFF7F50; disablenpc "Poring Catcher Warper"; donpcevent "Poring Catcher Event::OnPoringCatcherStart"; end; } poring_c01,106,110,3 script Got Stuck?#pce 948,{ OnHour0000: OnHour0002: mes "[ Got Stuck? ]"; mes "Do you wish to go back?"; menu "Yes",-; warp "mellina",115,150; close; } - script Poring Catcher Event -1,{ OnPoringCatcherStart: mapannounce "poring_c01","We are about to start the Poring Catcher Event.",bc_blue; sleep2 1000; mapannounce "poring_c01","Rules are simple:",bc_blue; sleep2 1000; mapannounce "poring_c01","In a few seconds I'm going to spawn tons of porings..",bc_blue; sleep2 1000; mapannounce "poring_c01","..All you need to do is kill the Poring with the right name..",bc_blue; sleep2 1000; mapannounce "poring_c01","..Which would be Poring.",bc_blue; sleep2 1000; mapannounce "poring_c01","If you kill the wrong one, you're out!",bc_blue; sleep2 3000; mapannounce "poring_c01","That's it.. Now let's get this on!",bc_blue; sleep2 3000; goto Lstart; end; Lstart: if(getmapusers("poring_c01") == 0) goto Lnoone; if(getmapusers("poring_c01") > 0) { mapannounce "poring_c01","Ready...",bc_blue; sleep2 1000; mapannounce "poring_c01","Get Set..",bc_blue; sleep2 1500; mapannounce "poring_c01","Go!",bc_blue; sleep2 1000; areamonster "poring_c01",95,108,113,87,"Poring",1002,1,"poringwin::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poking",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poiring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poling",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Porng",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"pH0ur1n6",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"P0ring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Porong",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Powing",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poriing",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Boring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Lolwut!?",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Kill me to win!",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; sleep2 1800000; if(getmapusers("poring_c01") > 0) { goto Lnoone; disablenpc "Poring Catcher Warper"; } end; Lnoone: announce "No one won the Poring Catcher Event!",bc_all,0xFF7F50; mapwarp "poring_c01","mellina",115,150; killmonsterall "poring_c01"; disablenpc "Poring Catcher Warper"; end; } } - script poringwin -1,{ OnMobKilled: getitem 7227,1; //Edit on what prize would you give to the winner announce strcharinfo(0)+" won the Poring Catcher Event!",bc_all,0xFF7F50; disablenpc "Poring Catcher Warper"; killmonsterall "poring_c01"; mapwarp "poring_c01","mellina",115,150; end; } - script poringlose -1,{ OnMobKilled: dispbottom "You killed the wrong Poring! Yerrrrrrrrrrrr out!"; warp "prontera",155,192; //Edit to where will you warp players that lost sleep2 500; if(getmapusers("poring_c01") == 0) goto Lnoone; end; Lnoone: announce "No one won the Poring Catcher Event!",bc_all,0xFF7F50; mapwarp "poring_c01","mellina",115,150; killmonsterall "poring_c01"; disablenpc "Poring Catcher Warper"; end; } poring_c01 mapflag nopenalty poring_c01 mapflag noloot poring_c01 mapflag noskill poring_c01 mapflag nowarpto poring_c01 mapflag nowarp poring_c01 mapflag noteleport poring_c01 mapflag nomemo poring_c01 mapflag nosave SavePoint poring_c01 mapflag nobranch poring_c01 mapflag nodrop ================================================================================== prontera,154,188,4 script announce_nvz 101,{ OnHour00: OnHour03: if(agitcheck() == 1) end; announce "The Novice Vs. Zombie Event will begin in 3 minutes.",0; killmonsterall "quiz_01"; sleep 5000; announce "The NPC 'Novice vs. Zombie' has appeared in Prontera!",0; enablenpc "Novice vs. Zombie"; sleep 55000; announce "Event: Novice Vs. Zombie will begin in 2 minutes. You better get ready!",0; sleep 60000; announce "Event: Novice Vs. Zombie will begin in 1 minute!",0; sleep 30000; mapannounce "quiz_01","In 30 seconds the monster will appear!",0; sleep 25000; announce "Event: Novice Vs. Zombie will begin in ~5~",0; sleep 1000; announce "~4~",0; sleep 1000; announce "~3~",0; sleep 1000; announce "~2~",0; sleep 1000; announce "~1~",0; sleep 1000; announce "Event: 'Novice Vs. Zombie' has begun!!",0,0x00FF00; monster "quiz_01",42,369,"Zombie",1036,4; disablenpc "Novice vs. Zombie"; sleep 10000; monster "quiz_01",42,369,"Zombie-2",1036,10; sleep 10000; monster "quiz_01",42,369,"Zombie-3",1036,10; sleep 10000; monster "quiz_01",42,369,"Zombie-4",1036,10; initnpctimer; end; OnTimer5000: if ( getmapusers("quiz_01") == 0 ) { killmonsterall "quiz_01"; announce "'Novice Vs. Zombie' has ended. All of the Zombies are gone.",0; disablenpc "Prize"; stopnpctimer; end; } else if ( getmapusers("quiz_01") > 1 ) { if ($@NvZCounter >= 5){ switch(rand(0,2)){ case 0: mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; break; case 1: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL alive? Are you sure you're not cheating?",0,0x00FF00; break; case 2: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL ALIVE? Seriously, I'm gonna have to report you.",0,0x00FF00; break; } } else { mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; } sleep 10000; set $@NvZCounter,$@NvZCounter+1; initnpctimer; end; } initnpctimer; end; OnPCDieEvent: getmapxy .@mapnvz$,.@xnvz,.@ynvz,0; if ( .@mapnvz$ == "quiz_01") { sleep2 1; warp "prontera",156,223; atcommand "@alive "+ strcharinfo(0); dispbottom "You have lost..."; } sleep2 1000; if ( .@mapnvz$ == "quiz_01" && getmapusers("quiz_01") == 1 ) { killmonsterall "quiz_01"; mapannounce "quiz_01","You have won, please approach to Prize NPC.",0; enablenpc "Prize"; set $@NvZCounter,0; stopnpctimer; end; } end; } quiz_01,42,369,3 script Prize 72,{ if (sex == 1) { announce "In 'Novice Vs. Zombie', " + strcharinfo (0) + " has won! Let's congratulate him!",0; } else { announce "In 'Novice Vs. Zombie'" + strcharinfo (0) + " has won! Let's congratulate her!",0; }; getitem 30005,100; warp "prontera",156,223; sleep2 250; disablenpc "Prize"; end; } prontera,155,170,3 script Novice vs. Zombie 1015,{ if (BaseLevel > 1) goto L_No; if (class == 0) goto L_event; if (class > 0) goto L_No; L_event: sc_end SC_ALL; percentheal 100,100; atcommand "@storeall"; warp "quiz_01",42,369; close; L_No: mes "[^0000FFNovice Vs. Zombie^000000]"; mes "Brains!!!!!!! D=<"; mes "^696969You are not a level 1 novice! Cheater!^000000"; close; OnInit: disablenpc "Novice vs. Zombie"; disablenpc "Prize"; end; } // mapflag quiz_01 mapflag nocommand 2
  3. This is what happend after i change id4 damn i think i know how to solve this one, im too noob, i just realize that the id group is 4, it should be id group is also 4 in SQL instead of 60, sorry guys, thanks for the help, i got slow brain SOLVED !!
  4. KINDLY HELP ME, SORRY FOR ASKING TOO MUCH. NOT GOOD IN SCRIPTS, THANKS Can u guys make this event work ingame and make it automated event every 2hrs, price = 1tcg (ID: 7227) //======Name======================================== // Poring Catcher Event //======Version===================================== // 1.0 //======Author(s)=================================== // Sandbox, Clydelion //======Comments==================================== // In loving memory of AstralRO //================================================== //Edit to where would you place the warper - script Poring Catcher Warper -1,{ mes "Do you want to join the Poring Catcher Event?"; menu "Yes",-; set @rex,rand(102,104); warp "poring_c01",@rex,101; close; } prontera,159,182,4 script pcetrigger 45,{ OnInit: enablenpc "Poring Catcher Warper"; end; OnCatcherTrigger: if(agitcheck() == 1) end; enablenpc "Poring Catcher Warper"; announce "Poring Catcher Event: We are going to have a Poring Catcher Event",bc_all,0xFF7F50; sleep2 1000; announce "Poring Catcher Event: For those who want to join, please warp @ mellina 115 150!",bc_all,0xFF7F50; //Edit to where would you place the warper sleep2 1000; announce "Poring Catcher Event: The Warper would be open for 1 minute",bc_all,0xFF7F50; sleep2 30000; announce "Poring Catcher Event: Last 30 Seconds.",bc_all,0xFF7F50; sleep2 30000; announce "Poring Catcher Event: Warper Closed.",bc_all,0xFF7F50; disablenpc "Poring Catcher Warper"; donpcevent "Poring Catcher Event::OnPoringCatcherStart"; end; } poring_c01,106,110,3 script Got Stuck?#pce 948,{ mes "[ Got Stuck? ]"; mes "Do you wish to go back?"; menu "Yes",-; warp "mellina",115,150; close; } - script Poring Catcher Event -1,{ OnPoringCatcherStart: mapannounce "poring_c01","We are about to start the Poring Catcher Event.",bc_blue; sleep2 1000; mapannounce "poring_c01","Rules are simple:",bc_blue; sleep2 1000; mapannounce "poring_c01","In a few seconds I'm going to spawn tons of porings..",bc_blue; sleep2 1000; mapannounce "poring_c01","..All you need to do is kill the Poring with the right name..",bc_blue; sleep2 1000; mapannounce "poring_c01","..Which would be Poring.",bc_blue; sleep2 1000; mapannounce "poring_c01","If you kill the wrong one, you're out!",bc_blue; sleep2 3000; mapannounce "poring_c01","That's it.. Now let's get this on!",bc_blue; sleep2 3000; goto Lstart; end; Lstart: if(getmapusers("poring_c01") == 0) goto Lnoone; if(getmapusers("poring_c01") > 0) { mapannounce "poring_c01","Ready...",bc_blue; sleep2 1000; mapannounce "poring_c01","Get Set..",bc_blue; sleep2 1500; mapannounce "poring_c01","Go!",bc_blue; sleep2 1000; areamonster "poring_c01",95,108,113,87,"Poring",1002,1,"poringwin::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poking",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poiring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poling",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Porng",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"pH0ur1n6",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"P0ring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Porong",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Powing",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poriing",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Boring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Lolwut!?",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Kill me to win!",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; sleep2 1800000; if(getmapusers("poring_c01") > 0) { goto Lnoone; disablenpc "Poring Catcher Warper"; } end; Lnoone: announce "No one won the Poring Catcher Event!",bc_all,0xFF7F50; mapwarp "poring_c01","mellina",115,150; killmonsterall "poring_c01"; disablenpc "Poring Catcher Warper"; end; } } - script poringwin -1,{ OnMobKilled: getitem 7227,1; //Edit on what prize would you give to the winner announce strcharinfo(0)+" won the Poring Catcher Event!",bc_all,0xFF7F50; disablenpc "Poring Catcher Warper"; killmonsterall "poring_c01"; mapwarp "poring_c01","mellina",115,150; end; } - script poringlose -1,{ OnMobKilled: dispbottom "You killed the wrong Poring! Yerrrrrrrrrrrr out!"; warp "mellina",115,150; //Edit to where will you warp players that lost sleep2 500; if(getmapusers("poring_c01") == 0) goto Lnoone; end; Lnoone: announce "No one won the Poring Catcher Event!",bc_all,0xFF7F50; mapwarp "poring_c01","mellina",115,150; killmonsterall "poring_c01"; disablenpc "Poring Catcher Warper"; end; } poring_c01 mapflag nopenalty poring_c01 mapflag noloot poring_c01 mapflag noskill poring_c01 mapflag nowarpto poring_c01 mapflag nowarp poring_c01 mapflag noteleport poring_c01 mapflag nomemo poring_c01 mapflag nosave SavePoint poring_c01 mapflag nobranch poring_c01 mapflag nodrop KINDLY MAKE THIS ONE AUTOMATED EVENT ALSO EVERY 3HOURS. PRICE 1TCG (id:7227) prontera,154,188,4 script announce_nvz 101,{ OnMinute05: if(agitcheck() == 1) end; announce "The Novice Vs. Zombie Event will begin in 3 minutes.",0; killmonsterall "quiz_01"; sleep 5000; announce "The NPC 'Novice vs. Zombie' has appeared in Prontera!",0; enablenpc "Novice vs. Zombie"; sleep 55000; announce "Event: Novice Vs. Zombie will begin in 2 minutes. You better get ready!",0; sleep 60000; announce "Event: Novice Vs. Zombie will begin in 1 minute!",0; sleep 30000; mapannounce "quiz_01","In 30 seconds the monster will appear!",0; sleep 25000; announce "Event: Novice Vs. Zombie will begin in ~5~",0; sleep 1000; announce "~4~",0; sleep 1000; announce "~3~",0; sleep 1000; announce "~2~",0; sleep 1000; announce "~1~",0; sleep 1000; announce "Event: 'Novice Vs. Zombie' has begun!!",0,0x00FF00; monster "quiz_01",42,369,"Zombie",1036,4; disablenpc "Novice vs. Zombie"; sleep 10000; monster "quiz_01",42,369,"Zombie-2",1036,10; sleep 10000; monster "quiz_01",42,369,"Zombie-3",1036,10; sleep 10000; monster "quiz_01",42,369,"Zombie-4",1036,10; initnpctimer; end; OnTimer5000: if ( getmapusers("quiz_01") == 0 ) { killmonsterall "quiz_01"; announce "'Novice Vs. Zombie' has ended. All of the Zombies are gone.",0; disablenpc "Prize"; stopnpctimer; end; } else if ( getmapusers("quiz_01") > 1 ) { if ($@NvZCounter >= 5){ switch(rand(0,2)){ case 0: mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; break; case 1: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL alive? Are you sure you're not cheating?",0,0x00FF00; break; case 2: mapannounce "quiz_01",getmapusers("quiz_01") +" players are STILL ALIVE? Seriously, I'm gonna have to report you.",0,0x00FF00; break; } } else { mapannounce "quiz_01",getmapusers("quiz_01") +" players are still alive.",0,0x00FF00; } sleep 10000; set $@NvZCounter,$@NvZCounter+1; initnpctimer; end; } initnpctimer; end; OnPCDieEvent: getmapxy .@mapnvz$,.@xnvz,.@ynvz,0; if ( .@mapnvz$ == "quiz_01") { sleep2 1; warp "prontera",156,223; atcommand "@alive "+ strcharinfo(0); dispbottom "You have lost..."; } sleep2 1000; if ( .@mapnvz$ == "quiz_01" && getmapusers("quiz_01") == 1 ) { killmonsterall "quiz_01"; mapannounce "quiz_01","You have won, please approach to Prize NPC.",0; enablenpc "Prize"; set $@NvZCounter,0; stopnpctimer; end; } end; } quiz_01,42,369,3 script Prize 72,{ if (sex == 1) { announce "In 'Novice Vs. Zombie', " + strcharinfo (0) + " has won! Let's congratulate him!",0; } else { announce "In 'Novice Vs. Zombie'" + strcharinfo (0) + " has won! Let's congratulate her!",0; }; getitem 30005,100; warp "prontera",156,223; sleep2 250; disablenpc "Prize"; end; } prontera,155,170,3 script Novice vs. Zombie 1015,{ if (BaseLevel > 1) goto L_No; if (class == 0) goto L_event; if (class > 0) goto L_No; L_event: sc_end SC_ALL; percentheal 100,100; atcommand "@storeall"; warp "quiz_01",42,369; close; L_No: mes "[^0000FFNovice Vs. Zombie^000000]"; mes "Brains!!!!!!! D=<"; mes "^696969You are not a level 1 novice! Cheater!^000000"; close; OnInit: disablenpc "Novice vs. Zombie"; disablenpc "Prize"; end; } // mapflag quiz_01 mapflag nocommand 2
  5. /* Player groups configuration file --------------------------------- This file defines "player groups" and their privileges. Each group has its id and name, lists of available commands and other permissions, and a list of other groups it inherits from. Group settings -------------- <id> Unique group number. The only required field. <name> Any string. If empty, defaults to "Group <id>". It is used in several @who commands. <level> Equivalent of GM level, which was used in revisions before r15572. You can set it to any number, but usually it's between 0 (default) and 99. Members of groups with lower level can not perform some actions/commands (like @kick) on members of groups with higher level. It is what script command getgmlevel() returns. Group level can also be used to override trade restrictions (db/item_trade.txt). <commands> A group of settings <command name> : <bool> or <commandname> : [ <bool>, <bool> ] First boolean value is for atcommand, second one for charcommand. If set to true, group can use command. If only atcommand value is provided, false is assumed for charcommand. If a command name is not included, false is assumed for both atcommand and charcommand. For a full list of available commands, see: doc/atcommands.txt. Command names must not be aliases. <log_commands> Boolean value. If true then all commands used by the group will be logged to atcommandlog. If setting is omitted in a group definition, false is assumed. Requires 'log_commands' to be enabled in 'conf/log_athena.conf'. <permissions> A group of settings <permission> : <bool> If a permission is not included, false is assumed. For a full list of available permissions, see: doc/permissions.txt <inherit> A list of group names that given group will inherit commands and permissions from. Group names are case-sensitive. Inheritance results ------------------- Both multiple inheritance (Group 2 -> Group 1 and Group 3 -> Group 1) and recursive inheritance (Group 3 -> Group 2 -> Group 1) are allowed. Inheritance rules should not create cycles (eg Group 1 inherits from Group 2, and Group inherits from Group 1 at the same time). Configuration with cycles is considered faulty and can't be processed fully by server. Command or permission is inherited ONLY if it's not already defined for the group. If group inherits from multiple groups, and the same command or permission is defined for more than one of these groups, it's undefined which one will be inherited. Syntax ------ This config file uses libconfig syntax: http://www.hyperrealm.com/libconfig/libconfig_manual.html#Configuration-Files Upgrading from revisions before r15572 ------------------------------------- http://rathena.org/board/index.php?showtopic=58877 */ groups: ( { id: 0 /* group 0 is the default group for every new account */ name: "Player" level: 0 inherit: ( /*empty list*/ ) commands: { /* no commands by default */ commands: true charcommands: true help: true rates: true uptime: true showdelay: true exp: true mobinfo: true iteminfo: true whodrops: true time: true jailtime: true hominfo: true homstats: true showexp: true showzeny: true whereis: true /* feature commands */ refresh: true noask: true noks: true autoloot: true alootid: true autoloottype: true autotrade: true request: true go: true breakguild: true } permissions: { /* without this basic permissions regular players could not trade or party */ can_trade: true can_party: true command_enable: true } }, { id: 1 name: "Super Player" inherit: ( "Player" ) /* can do everything Players can and more */ level: 0 commands: { /* informational commands */ commands: true charcommands: true help: true rates: true uptime: true showdelay: true exp: true mobinfo: true iteminfo: true whodrops: true time: true jailtime: true hominfo: true homstats: true showexp: true showzeny: true whereis: true /* feature commands */ refresh: true noask: true noks: true autoloot: true alootid: true autoloottype: true autotrade: true request: true go: true breakguild: true channel: true langtype: true } permissions: { } }, { id: 2 name: "Support" inherit: ( "Super Player" ) level: 1 commands: { version: true where: true jumpto: true who: true who2: true who3: true whomap: true whomap2: true whomap3: true users: true broadcast: true localbroadcast: true } log_commands: true permissions: { receive_requests: true view_equipment: true } }, { id: 3 name: "Script Manager" inherit: ( "Support" ) level: 1 commands: { tonpc: true hidenpc: true shownpc: true loadnpc: true unloadnpc: true npcmove: true addwarp: true } log_commands: true permissions: { any_warp: true } }, { id: 60 name: "Event Manager" inherit: ( "Script Manager" ) level: 60 commands: { monster: true monstersmall: true monsterbig: true killmonster2: true cleanarea: true cleanmap: true item: [true, true] zeny: [true, true] disguise: [true, true] undisguise: [true, true] size: [true, true] raise: true raisemap: true day: true night: true skillon: true skilloff: true pvpon: true pvpoff: true gvgon: true gvgoff: true allowks: true me: true marry: true divorce: true refreshall: true } log_commands: true permissions: { can_trade: false any_warp: true } }, { id: 5 name: "VIP" inherit: ( "Player" ) /* can do everything Players can */ level: 0 commands: { rates: true who: true } permissions: { /* no permissions by default */ } }, { id: 10 name: "Law Enforcement" inherit: ( "Support" ) level: 2 commands: { hide: true follow: true kick: true disguise: true fakename: true option: true speed: true warp: true kill: true recall: true ban: true block: true jail: true jailfor: true mute: true storagelist: true cartlist: true itemlist: true stats: true } log_commands: true permissions: { join_chat: true kick_chat: true hide_session: true who_display_aid: true hack_info: true any_warp: true view_hpmeter: true } }, { id: 99 name: "Admin" level: 99 inherit: ( "Support", "Law Enforcement" ) commands: { /* not necessary due to all_commands: true */ } log_commands: true permissions: { can_trade: true can_party: true all_skill: false all_equipment: false skill_unconditional: false use_check: true use_changemaptype: true all_commands: true channel_admin: true can_trade_bounded: true item_unconditional: false bypass_stat_onclone: true bypass_max_stat: true /* all_permission: true */ } } ) its not working sir
  6. yes, i also recompile but still not working,
  7. Ok sir, Thanks a lot for helping me, hope u help me again if i have a problem Sir kindly help me with this another script Its not working in game, //======Name======================================== // Poring Catcher Event //======Version===================================== // 1.0 //======Author(s)=================================== // Sandbox, Clydelion //======Comments==================================== // In loving memory of AstralRO //================================================== //Edit to where would you place the warper prontera,151,174,3 script Poring Catcher Warper 723,{ mes "Do you want to join the Poring Catcher Event?"; menu "Yes",-; set @rex,rand(102,104); warp "poring_c01",@rex,101; close; } - script pcetrigger -1,{ OnInit: enablenpc "Poring Catcher Warper"; end; OnCatcherTrigger: if(agitcheck() == 1) end; enablenpc "Poring Catcher Warper"; announce "Poring Catcher Event: We are going to have a Poring Catcher Event",bc_all,0xFF7F50; sleep2 1000; announce "Poring Catcher Event: For those who want to join, please warp @ mellina 115 150!",bc_all,0xFF7F50; //Edit to where would you place the warper sleep2 1000; announce "Poring Catcher Event: The Warper would be open for 1 minute",bc_all,0xFF7F50; sleep2 30000; announce "Poring Catcher Event: Last 30 Seconds.",bc_all,0xFF7F50; sleep2 30000; announce "Poring Catcher Event: Warper Closed.",bc_all,0xFF7F50; disablenpc "Poring Catcher Warper"; donpcevent "Poring Catcher Event::OnPoringCatcherStart"; end; } poring_c01,106,110,3 script Got Stuck?#pce 948,{ mes "[ Got Stuck? ]"; mes "Do you wish to go back?"; menu "Yes",-; warp "mellina",115,150; close; } - script Poring Catcher Event -1,{ OnPoringCatcherStart: mapannounce "poring_c01","We are about to start the Poring Catcher Event.",bc_blue; sleep2 1000; mapannounce "poring_c01","Rules are simple:",bc_blue; sleep2 1000; mapannounce "poring_c01","In a few seconds I'm going to spawn tons of porings..",bc_blue; sleep2 1000; mapannounce "poring_c01","..All you need to do is kill the Poring with the right name..",bc_blue; sleep2 1000; mapannounce "poring_c01","..Which would be Poring.",bc_blue; sleep2 1000; mapannounce "poring_c01","If you kill the wrong one, you're out!",bc_blue; sleep2 3000; mapannounce "poring_c01","That's it.. Now let's get this on!",bc_blue; sleep2 3000; goto Lstart; end; Lstart: if(getmapusers("poring_c01") == 0) goto Lnoone; if(getmapusers("poring_c01") > 0) { mapannounce "poring_c01","Ready...",bc_blue; sleep2 1000; mapannounce "poring_c01","Get Set..",bc_blue; sleep2 1500; mapannounce "poring_c01","Go!",bc_blue; sleep2 1000; areamonster "poring_c01",95,108,113,87,"Poring",1002,1,"poringwin::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poking",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poiring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poling",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Porng",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"pH0ur1n6",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"P0ring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Porong",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Powing",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Poriing",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Boring",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Lolwut!?",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; areamonster "poring_c01",95,108,113,87,"Kill me to win!",1002,3*getmapusers("poring_c01"),"poringlose::OnMobKilled"; sleep2 1800000; if(getmapusers("poring_c01") > 0) { goto Lnoone; disablenpc "Poring Catcher Warper"; } end; Lnoone: announce "No one won the Poring Catcher Event!",bc_all,0xFF7F50; mapwarp "poring_c01","mellina",115,150; killmonsterall "poring_c01"; disablenpc "Poring Catcher Warper"; end; } } - script poringwin -1,{ OnMobKilled: getitem 7227,1; //Edit on what prize would you give to the winner announce strcharinfo(0)+" won the Poring Catcher Event!",bc_all,0xFF7F50; disablenpc "Poring Catcher Warper"; killmonsterall "poring_c01"; mapwarp "poring_c01","mellina",115,150; end; } - script poringlose -1,{ OnMobKilled: dispbottom "You killed the wrong Poring! Yerrrrrrrrrrrr out!"; warp "mellina",115,150; //Edit to where will you warp players that lost sleep2 500; if(getmapusers("poring_c01") == 0) goto Lnoone; end; Lnoone: announce "No one won the Poring Catcher Event!",bc_all,0xFF7F50; mapwarp "poring_c01","mellina",115,150; killmonsterall "poring_c01"; disablenpc "Poring Catcher Warper"; end; } poring_c01 mapflag nopenalty poring_c01 mapflag noloot poring_c01 mapflag noskill poring_c01 mapflag nowarpto poring_c01 mapflag nowarp poring_c01 mapflag noteleport poring_c01 mapflag nomemo poring_c01 mapflag nosave SavePoint poring_c01 mapflag nobranch poring_c01 mapflag nodrop
  8. Level 60 In game Char or Level 60 in groupID in SQL SIR?
  9. Berry Changer is now WORKING !! Thanks a lot sir And Also Stats Seller, but when I buy stats My Character refresh. Looks like @refresh
  10. I've Already change the Group ID to 60 in SQL This is the Commands in game on the gm account Instead of this Commands Here is the Screen Shot In Game Using the Gm ACcount Kindly Help Me sir.
  11. prontera,151,187,4 script Berry Ticket NPC 822,{ mes "[Berry Ticket NPC]"; mes "What would you like to do?"; switch(select("Ygg Berry to Poring Coin","Poring Coin to Ygg Berry","Information")) { case 1: if (countitem(607) < 200) goto L_NE; delitem 607,200; getitem 7539,1; close; L_NE: mes "I'm Sorry but you don't have enough Ygg Berry."; close; case 2: if (checkweight(607,200) == 0 ) goto L_OW; if (countitem(7539) < 1) goto L_NEEDITEM; delitem 7539,1; getitem 607,200; close; case 3: next; mes "[Berry Ticket NPC]"; mes "I can convert your 'Poring Coin' into 200pcs Ygg Berry and vice versa."; close; L_NEEDITEM: mes "[Berry Ticket NPC]"; mes "Sorry you don't have Poring Coin"; close; L_OW: mes "[Berry Ticket NPC]"; mes "Sorry your overweight"; close; } } ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// //===== eAthena Script ======================================= //= Stats Seller //===== By: ================================================== //= DeadChild //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= Any eAthena Version //===== Description: ========================================= //= Stats Seller //===== Additional Comments: ================================= //= Have fun with it ^^ //============================================================ prontera.gat,168,178,4 script STP/SKP Seller 86,{ set @price, 1000; mes "[STP/SKP Seller]"; mes "Hi, I'm the STP/SKP Seller"; mes "It cost 1,000z each point"; mes "which one you wanna buy?"; next; menu "Status Point",ST,"Skill Point",SK,"No thanks I'm fine",EXIT; ST: mes "[STP/SKP Seller]"; mes "What do you want to buy?"; next; menu "Str",STR,"Agi",AGI,"Vit",VIT,"Int",INT,"Dex",DEX,"Luk",LUK; SK: mes "[STP/SKP Seller]"; mes "So how many?"; input @quantity; next; if (@quantity == 0) goto WT; if (zeny < (@quantity * @price)) goto NZ; mes "[STP/SKP Seller]"; mes "Done"; set zeny, zeny - (@quantity * @price); set SkillPoint, SkillPoint + @quantity; close; STR: mes "[STP/SKP Seller]"; mes "Hold on..."; next; mes "[STP/SKP Seller]"; mes "So how many?"; input @quantity; next; if (@quantity == 0) goto WT; if (@quantity > 999) goto TM; if (zeny < (@quantity * @price)) goto NZ; set zeny, zeny - (@quantity * @price); statusup2 bStr,@quantity; getmapxy(@mapname$,@mapx,@mapy,0,""+strcharinfo(0)+""); mes "[STP/SKP Seller]"; mes "Done"; next; warp ""+@mapname$+"",""+@mapx+"",""+@mapy+""; close; AGI: mes "[STP/SKP Seller]"; mes "Hold on..."; next; mes "[STP/SKP Seller]"; mes "So how many?"; input @quantity; next; if (@quantity == 0) goto WT; if (@quantity > 999) goto TM; if (zeny < (@quantity * @price)) goto NZ; set zeny, zeny - (@quantity * @price); statusup2 bAgi,@quantity; getmapxy(@mapname$,@mapx,@mapy,0,""+strcharinfo(0)+""); mes "[STP/SKP Seller]"; mes "Done"; next; warp ""+@mapname$+"",""+@mapx+"",""+@mapy+""; close; VIT: mes "[STP/SKP Seller]"; mes "Hold on..."; next; mes "[STP/SKP Seller]"; mes "So how many?"; input @quantity; next; if (@quantity == 0) goto WT; if (@quantity > 999) goto TM; if (zeny < (@quantity * @price)) goto NZ; set zeny, zeny - (@quantity * @price); statusup2 bVit,@quantity; getmapxy(@mapname$,@mapx,@mapy,0,""+strcharinfo(0)+""); mes "[STP/SKP Seller]"; mes "Done"; next; warp ""+@mapname$+"",""+@mapx+"",""+@mapy+""; close; INT: mes "[STP/SKP Seller]"; mes "Hold on..."; next; mes "[STP/SKP Seller]"; mes "So how many?"; input @quantity; next; if (@quantity == 0) goto WT; if (@quantity > 999) goto TM; if (zeny < (@quantity * @price)) goto NZ; set zeny, zeny - (@quantity * @price); statusup2 bInt,@quantity; getmapxy(@mapname$,@mapx,@mapy,0,""+strcharinfo(0)+""); mes "[STP/SKP Seller]"; mes "Done"; next; warp ""+@mapname$+"",""+@mapx+"",""+@mapy+""; close; DEX: mes "[STP/SKP Seller]"; mes "Hold on..."; next; mes "[STP/SKP Seller]"; mes "So how many?"; input @quantity; next; if (@quantity == 0) goto WT; if (@quantity > 999) goto TM; if (zeny < (@quantity * @price)) goto NZ; set zeny, zeny - (@quantity * @price); statusup2 bDex,@quantity; getmapxy(@mapname$,@mapx,@mapy,0,""+strcharinfo(0)+""); mes "[STP/SKP Seller]"; mes "Done"; next; warp ""+@mapname$+"",""+@mapx+"",""+@mapy+""; close; LUK: mes "[STP/SKP Seller]"; mes "Hold on..."; next; mes "[STP/SKP Seller]"; mes "So how many?"; input @quantity; next; if (@quantity == 0) goto WT; if (@quantity > 999) goto TM; if (zeny < (@quantity * @price)) goto NZ; set zeny, zeny - (@quantity * @price); statusup2 bLuk,@quantity; getmapxy(@mapname$,@mapx,@mapy,0,""+strcharinfo(0)+""); mes "[STP/SKP Seller]"; mes "Done"; next; warp ""+@mapname$+"",""+@mapx+"",""+@mapy+""; close; WT: mes "[STP/SKP Seller]"; mes "Please don't waste my time"; close; TM: mes "[STP/SKP Seller]"; mes "Sorry but you can only get 999 Status Point"; close; NZ: mes "[STP/SKP Seller]"; mes "Sorry but you do not have enough zeny."; close; EXIT: mes "[STP/SKP Seller]"; mes "Okay then..."; close; } [attachment=12350:154.jpg]
  12. Its ok now, I just remove the folder Almighty and put the events in event folder and other npc in custom folder. SOLVED!!
  13. Then Im going to change into that one sir. Thanks for the help sir sir those script is not working in game, i've already change my rathena from github.. I already import item_db_re.sql to my database and still not working kindly check if there's an error on the script?
  14. This is what i used sir https://rathena.svn.sourceforge.net/svnroot/rathena/
  15. Sir this is what happened after I import and recompile
  16. what should i do sir? kindly help me thx
  17. I already use @reloadscript and I already recompile. but still not working, and those new script I put is working
  18. @Radian There's no error message in map-server. Is there any error on those scripts? There's no error message in the map-server sir. Is there any error in the scripts??
  19. This scripts is not working in game. Is there an error in scripts? kindly help me fix this. thanks npc: npc/custom/kairo/statsseller.txt npc: npc/custom/kairo/berrychanger.txt npc: npc/custom/kairo/Coin Exchanger4.1.txt npc: npc/custom/kairo/GM Online List.txt npc: npc/custom/events/RFYL.txt berrychanger.txt Coin Exchanger 4.1.txt GM Online List.txt statsseller.txt RFYL.txt.txt
  20. Yes, I already did what they say, and i already using new prontera. but im still error in prontera inn Solved!!! Thanks Closed!!
  21. @promise Im using new prontera Solved !! Thanks Closed !!
  22. Before I download New Prontera, Im Error in prontera town ( only in prontera ) but after I downloaded New Prontera, i got another problem. Im Error in Prontera Inn. I cant find any solution, Can anyone help me... Sorry for my bad english
  23. Kindly help me guys, I used the new prontera and it works but when i go to prontera inn. it crashed. sorry for my bad english.
  24. I cant find the "Skip Packet Header Obfuscation" option. and this is what I checked in diff patcher Its working now, but, when I warp to Prontera (@go 0)... my client Crashed. It stops loading 3% then crashed. but I can go in different towns except in prontera
  25. Kindly Help me for my Test Server Thanks a lot... I got this problem.. I cant find a way how to solve this one
×
×
  • Create New...