Jump to content
  • 0

CAN I REQUEST FOR THIS SCRIPT


Json

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   1
  • Joined:  08/16/12
  • Last Seen:  

HI rA.

 

Can i Request for this script 

 

JUMPER

PORING CATCHER

PORING RACE

DICE

Lucky Pick Event

Poring Punch

 

That Start Every 10 Mins ?

 

Thanks

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Jumper:

//==========================================================//
//========= Script by RyCHIRO                      =========//
//========= http://reincarnation-network.com       =========//
//========= http://chiyan-ro.com                   =========//
//==========================================================//

-	script	jumpevent	-1,{

	OnWhisperGlobal:
	if ( getgmlevel() < 99 ) end;

	L_JumpAdmin:
	mes "[Manager]";
	mes "^FF0000~Hi GM " + strcharinfo(0) + "!~^000000";
	mes "^FF0000The Current Prize is:^000000";
	mes "^FF00001. Random Prize:^000000 ^008000"+$jmp_item_amount1+" "+getitemname($jmp_item_id1)+"^000000";
	mes "^FF00002. Random Prize:^000000 ^008000"+$jmp_item_amount2+" "+getitemname($jmp_item_id2)+"^000000";
	mes "^FF00003. Random Prize:^000000 ^008000"+$jmp_item_amount3+" "+getitemname($jmp_item_id3)+"^000000";
	switch(select("Start Jump Event?:Set Prize:Not today Fellas!")){

		case 1:
			next;
			if( $@JumpStart == 1 ){
			mes "[Manager]";
			mes "I Can't Start The Event!!";
			mes "The Event is still ON!!";
			next;
			goto L_JumpAdmin;
			}
			next;
			mes "[Manager]";
			mes "^FF0000~Sure thing!~^000000";
			close2;
			goto L_StartJmp;

		case 2:
			next;
			mes "[Manager]";
			mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
			menu "Set Prize 1",SP1,"Set Prize 2",SP2,"Set Prize 3",SP3,"Go Back to main",L_JumpAdmin;

		SP1:
		next;
		mes "[Manager]";
		mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
		input $jmp_item_id1;
		next;
		mes "[Manager]";
		mes "^FF0000~How many if this item should I give away?~^000000";
		input $jmp_item_amount1;
		next;
		mes "[Manager]";
		mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount1 +" "+ getitemname($jmp_item_id1)   +"^000000? ^FF0000Great.~^000000";
		next;
		goto L_JumpAdmin;

		SP2:
		next;
		mes "[Manager]";
		mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
		input $jmp_item_id2;
		next;
		mes "[Manager]";
		mes "^FF0000~How many if this item should I give away?~^000000";
		input $jmp_item_amount2;
		next;
		mes "[Manager]";
		mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount2 +" "+ getitemname($jmp_item_id2)   +"^000000? ^FF0000Great.~^000000";
		next;
		goto L_JumpAdmin;

		SP3:
		next;
		mes "[Manager]";
		mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
		input $jmp_item_id3;
		next;
		mes "[Manager]";
		mes "^FF0000~How many if this item should I give away?~^000000";
		input $jmp_item_amount3;
		next;
		mes "[Manager]";
		mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount3 +" "+ getitemname($jmp_item_id3)   +"^000000? ^FF0000Great.~^000000";
		next;
		goto L_JumpAdmin;

		Case 3:
			next;
			mes "[Manager]";
			mes "Bye!!";
			close;

		}// End Admin Manager...

	OnMinute25:
	L_StartJmp:
	announce "Jumper Event : will begin in 20 seconds",bc_blue;
	sleep2 5000;
	announce "Jumper Event : I'm Going to JUMP somewhere..!!",bc_blue;
	sleep2 5000;
	announce "Jumper Event : By the way I'm going to disguise into a random monster.!!",bc_blue;
	sleep2 10000;
	announce "Jumper Event : Last 10 seconds",bc_blue;
	sleep2 10000;
	set $@ran, rand(1,10);
	if ($@ran == 10) set $@jmpmap$,"hugel";
	if ($@ran == 9) set $@jmpmap$,"yuno";
	if ($@ran == 8) set $@jmpmap$,"comodo";
	if ($@ran == 7) set $@jmpmap$,"xmas";
	if ($@ran == 6) set $@jmpmap$,"aldebaran";
	if ($@ran == 5) set $@jmpmap$,"izlude";
	if ($@ran == 4) set $@jmpmap$,"payon";
	if ($@ran == 3) set $@jmpmap$,"geffen";
	if ($@ran == 2) set $@jmpmap$,"morocc";
	if ($@ran == 1) set $@jmpmap$,"prontera";
	announce "Jumper Event : Go Find me!! I'm here in "+$@jmpmap$+"!!!",bc_blue;
	set $@JmpRnd,10;
	goto OnStart;

	OnStart:
	if ($@JmpRnd == 0){
	stopnpctimer;
	set $@JumpStart,0;
	sleep2 3000;
	announce "Jumper Event : is now OVER!!",bc_blue;
	sleep2 15000;
	movenpc "Jumper"+$@ran+"",1,1; //move the NPC
	setnpcdisplay "Jumper"+$@ran+"",1002;
	end;
	}
	if ($@JmpRnd == 10){
	goto OnStart2;
	}
	stopnpctimer;
	sleep2 3000;
	announce "Jumper Event : Next Round will begin in 15 seconds...",bc_blue;
	sleep2 15000;
	setnpcdisplay "Jumper"+$@ran+"",1002;
	movenpc "Jumper"+$@ran+"",1,1; //move the NPC
	set $@ran, rand(1,10);
	if ($@ran == 10) set $@jmpmap$,"hugel";
	if ($@ran == 9) set $@jmpmap$,"yuno";
	if ($@ran == 8) set $@jmpmap$,"comodo";
	if ($@ran == 7) set $@jmpmap$,"xmas";
	if ($@ran == 6) set $@jmpmap$,"aldebaran";
	if ($@ran == 5) set $@jmpmap$,"izlude";
	if ($@ran == 4) set $@jmpmap$,"payon";
	if ($@ran == 3) set $@jmpmap$,"geffen";
	if ($@ran == 2) set $@jmpmap$,"morocc";
	if ($@ran == 1) set $@jmpmap$,"prontera";
	announce "Jumper Event : Go Find me!! I'm here in "+$@jmpmap$+"!!!",bc_blue;
	goto OnStart2;

	OnStart2:
	set $monster, rand(1001,1995);
	if($monster == 1003 || $monster == 1218 || $monster == 1006 || $monster == 1017 || $monster == 1021 || $monster == 1022 ||    $monster == 1027 || $monster == 1043 || $monster == 1006 || $monster == 1136 || $monster == 1137 || $monster == 1168 ||    $monster == 1171 || $monster == 1172 || $monster == 1173 || $monster == 1181 || $monster == 1210 || $monster == 1223 ||    $monster == 1284 || ($monster >= 1324 && $monster <= 1363) || $monster == 1006 || $monster == 1407 || $monster == 1411 ||    $monster == 1414 || $monster == 1496 || $monster == 1501 || $monster == 1900){ goto OnStart2; end; }
	while(1) { //Initiate an infinite loop
	set $@jx,rand(0,300); //Set a randon X coordinate
	set $@jy,rand(0,300); //Set a random Y coordinate
	if(checkcell(""+$@jmpmap$+"",$@jx,$@jy,cell_chkpass)) break; //If cell is walkable break out of the loop
	}
	initnpctimer;
	set $@JumpStart,1;
	movenpc "Jumper"+$@ran+"",$@jx,$@jy; //move the NPC
	setnpcdisplay "Jumper"+$@ran+"",$monster;
	set $@JmpRnd,$@JmpRnd-1;
	end;

	OnTimer60000:
	set $@JumpStart,0;
	announce "Jumper Event : WOW no One Found ME!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
	sleep2 3000;
	donpcevent "jumpevent::OnStart";
	end;

}//End Script

-	script	Jumper	-1,{
	if( $@JumpStart == 0 ){
	mes "[Jumper]";
	mes "I'm sorry, Someone Found me..";
	close;
	}
	set $@prize, rand(1,100);
	if ( $@prize <= 50 ){
	set $@JumpStart,0;
	getitem $jmp_item_id1,$jmp_item_amount1;
	announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
	donpcevent "jumpevent::OnStart";
	mes "[Jumper]";
	mes "WOW you found me!!";
	mes "Take this as a REWARD!!";
	mes "You got ^008000"+ $jmp_item_amount1 +" "+ getitemname($jmp_item_id1) +"^000000";
	close;
	end;
	}
	set $@prize, rand(1,100);
	if ( $@prize <= 49 ){
	set $@JumpStart,0;
	getitem $jmp_item_id2,$jmp_item_amount2;
	announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
	donpcevent "jumpevent::OnStart";
	mes "[Jumper]";
	mes "WOW you found me!!";
	mes "Take this as a REWARD!!";
	mes "You got ^008000"+ $jmp_item_amount2 +" "+ getitemname($jmp_item_id2) +"^000000";
	close;
	end;
	}
	set $@prize, rand(1,100);
	if ( $@prize <= 48 ){
	set $@JumpStart,0;
	getitem $jmp_item_id3,$jmp_item_amount3;
	announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
	donpcevent "jumpevent::OnStart";
	mes "[Jumper]";
	mes "WOW you found me!!";
	mes "Take this as a REWARD!!";
	mes "You got ^008000"+ $jmp_item_amount3 +" "+ getitemname($jmp_item_id3) +"^000000";
	close;
	end;
	}
}//End Script

prontera,1,1,1	duplicate(Jumper)	Jumper1	1002
morocc,1,1,1	duplicate(Jumper)	Jumper2	1002
geffen,1,1,1	duplicate(Jumper)	Jumper3	1002
payon,1,1,1	duplicate(Jumper)	Jumper4	1002
izlude,1,1,1	duplicate(Jumper)	Jumper5	1002
aldebaran,1,1,1	duplicate(Jumper)	Jumper6	1002
xmas,1,1,1	duplicate(Jumper)	Jumper7	1002
comodo,1,1,1	duplicate(Jumper)	Jumper8	1002
yuno,1,1,1	duplicate(Jumper)	Jumper9	1002
hugel,1,1,1	duplicate(Jumper)	Jumper10	1002

Poring Catcher:

//=========== PORING CATCHER MADE ==============\\
//=== BY: SHOGS-GFX and RAGNAROK DEVELOPERS ====\\
//= Please Report if you encounter some errors =\\
//===== https://www.facebook.com/ShogsGfx ======\\
//==============================================\\
//==FUNCTIONS===================================\\
/* GM Can start the event manualy
   GM Can also stop the event manualy
HOW: just PM this npc (npc:pcatch)
The Next Guide Will Be Given by the Manager 	*/
//======= PLEASE DO NOT REMOVE CREDITS =========\\
//==============================================\\
//== MORE UPDATES TO COME FOR BETTER FUNCTION ==\\
//===== https://www.facebook.com/ShogsGfx ======\\
//==============================================\\

//====LEVEL OF GM CAN CONTROL THE EVENT=========\\

-	script	GMCONTROL	-1,{
OnInit:
set $gmcontrol,60;
end;

}
//---------------END OF SETUP-------------------\\

//================ON WHISPER=========================\\
-	script	pcatch	-1,{

//====LEVEL OF GM CAN CONTROL THE EVENT=========\\
//OnInit:
//set $gmcontrol,60;
//end;
//---------------END OF SETUP-------------------\\

OnWhisperGlobal:
if(getgmlevel() >= $gmcontrol) {
mes "^3399FF[Poring Catcher]^000000";	
mes "Hello GameMaster!";
mes "What do you want to do?";
switch(select("Start Event:Stop Event:Nothing"))
{
	case 1: 
	{
		next;
		mes "^3399FF[Poring Catcher]^000000";
		mes "Please confirm by typing START."; 
		input .@confirm$;          
		if (.@confirm$ == "START") 
		{
			donpcevent "Announcer2::OnGMStart"; 
			close;
		}
		mes "Confirmation failed";
		close;
		break;
	}
	case 2:
	{
		next;
		mes "^3399FF[Poring Catcher]^000000";
		mes "Please confirm by typing STOP."; 
		input .@confirm$;          
		if (.@confirm$ == "STOP") 
		{
			donpcevent "Announcer2::OnGMStop";
			close;
		}
		mes "Confirmation failed";
		close;
		break;
		
	}
					
	case 3:
	{
		next; mes "^3399FF[Poring Catcher]^000000";
		mes "Good bye"; 
		close;
	}

}
}
}


//====================ANNOUNCER======================\\

-	script	Announcer2	-1,{


OnGMStart:
	killmonster "poring_w01.gat","All";
	announce "(Poring Manager) : A Gamemaster started a Poring Catcher Event now.",0;
	sleep 3000;
	announce "(Poring Manager) : If you want to join, come at the middle of Prontera, enter the warp portal.",0;
	enablenpc "PoringCatcher";
	sleep 2000;
	announce "(Poring Manager) : Prize: will be TCG and Gold Coins",0;
	sleep 2000;
	announce "(Poring Manager) : The portal is going to close in one minute.",0;  
	sleep 60000;
	announce "(Poring Manager) : The portal has been closed.",0;
	disablenpc "PoringCatcher";
	if(getmapusers("poring_w01") == 0) 
	{
		disablenpc "Poring Banker";
		announce "Event Poring Catcher didn't start because there's no players.",0;
		end;
	}

	donpcevent "Poring Banker::OnEnable";
	end;

OnGMStop:

	killmonster "poring_w01.gat","All";
	announce "A Gamemaster has stopped the Poring Catcher Event",0;
	mapwarp "poring_w01.gat","prontera.gat",155,173;
	disablenpc "Poring Banker";
	disablenpc "PoringCatcher";
	end;



OnClock1200:
OnClock1100:
OnClock1300:
OnClock2300:
	killmonster "poring_w01.gat","All";
	announce "(Poring Manager) : Poring Catcher Event will start at the moment.",0;
	sleep 3000;
	announce "(Poring Manager) : If you want to join, come at the middle of Prontera, enter the warp portal.",0;
	enablenpc "PoringCatcher";
	sleep 2000;
	announce "(Poring Manager) : Prize: will be TCG and Gold Coins",0;
	sleep 2000;
	announce "(Poring Manager) : The portal is going to close in one minute.",0;  
	sleep 60000;
	announce "(Poring Manager) : The portal has been closed.",0;
	disablenpc "PoringCatcher";
	if(getmapusers("poring_w01") == 0) 
	{
		disablenpc "Poring Banker";
		announce "Event Poring Catcher didn't start because no players found in map.",0;
		end;
	}

	donpcevent "Poring Banker::OnEnable";
	end;

OnInit:
	disablenpc "Poring Banker";
	disablenpc "PoringCatcher";
}
//---------All Job Registration----------------------------------------
prontera,155,173,0	warp	PoringCatcher	2,2,poring_w01,105,128

//---------------------------------------------------------------------


//---------------------------------------------------------------------
-	script	Poring Banker	-1,{

OnEnable:
mapannounce "poring_w01","Poring Manager: The Poring Catcher Event will start shortly",0;
sleep2 10000;
mapannounce "poring_w01","Poring Manager: I will be summoning 100 porings with different names kill the real poring",0;
sleep2 10000;
mapannounce "poring_w01","Poring Manager: What are we waiting for?..Let's Catch some Porings!!...",0;
sleep2 10000;
goto L_Start;
end;
L_Start:
	if(getmapusers("poring_w01") == 0) goto L_None;
	if(getmapusers("poring_w01") >= 1) {

	mapannounce "poring_w01","Poring Manager: Get ready at the count of 5 we will start!....",0;
	sleep2 6000;
	mapannounce "poring_w01","Poring Manager: 5",0;
	sleep2 5000;
	mapannounce "poring_w01","Poring Manager: 4",0;
	sleep2 4000;
	mapannounce "poring_w01","Poring Manager: 3",0;
	sleep2 3000;
	mapannounce "poring_w01","Poring Manager: 2",0;
	sleep2 2000;
	mapannounce "poring_w01","Poring Manager: 1",0;
	donpcevent "Poringsummoner::OnSummon";
	end;
	}

	L_None:
	disablenpc "Poring Banker";
	killmonster "poring_w01.gat","All";
	end;
}

//==================SUMMONER OF PORINGS ======================\\
-	script	Poringsummoner	-1,{

OnSummon:
   if(getmapusers("poring_w01") == 0) goto L_2None;
   monster "poring_w01.gat",0,0,"Poring",1002,1,"poringwin::OnMobKilled";
   monster "poring_w01.gat",0,0,"Pouring",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Proing",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Poirng",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Poing",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"I'm not a Poring",1002,5,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Gnirop",1002,1,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Poring",1113,1,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Poring",1062,1,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Por|ng",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Por1ng",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Porong",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"P0ring",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"P@ring",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Porng",1002,1,"poringlose::OnMobKilled";end;
L_2None:
disablenpc "Poring Banker";
killmonster "poring_w01.gat","All";
end;
}

//==================REAL PORING FOR WIN======================\\
-	script	poringwin	-1,{

OnMobKilled:
   killmonster "poring_w01.gat","All";
   atcommand "@doommap";
   getitem 7227,1;
   getitem 671, 10;
   announce "Poring Banker: We have a winner! well done " + strcharinfo(0) + ".",0;
   warp "SavePoint",0,0;
   end;
}

//==================DUMY PORINGS FOR LOSERS======================\\
-	script	poringlose	-1,{
OnMobKilled:
   dispbottom "Your out of the game, You did not catch the right Poring !";
   percentheal -99,-99;
   warp "SavePoint",0,0;
   end;
}


//==================Mapflags========================\\
poring_w01	mapflag	nowarp
poring_w01	mapflag	nowarpto
poring_w01	mapflag	noteleport
poring_w01	mapflag	nosave
poring_w01	mapflag	nomemo
poring_w01	mapflag	nobranch
poring_w01	mapflag	noloot
poring_w01	mapflag	noskill
poring_w01	mapflag	nopenalty
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  235
  • Reputation:   0
  • Joined:  05/03/13
  • Last Seen:  

Dice event

i think event start in every 30 min

 

Dice_Event.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  22
  • Reputation:   1
  • Joined:  08/16/12
  • Last Seen:  

Jumper:

//==========================================================//
//========= Script by RyCHIRO                      =========//
//========= http://reincarnation-network.com       =========//
//========= http://chiyan-ro.com                   =========//
//==========================================================//

-	script	jumpevent	-1,{

	OnWhisperGlobal:
	if ( getgmlevel() < 99 ) end;

	L_JumpAdmin:
	mes "[Manager]";
	mes "^FF0000~Hi GM " + strcharinfo(0) + "!~^000000";
	mes "^FF0000The Current Prize is:^000000";
	mes "^FF00001. Random Prize:^000000 ^008000"+$jmp_item_amount1+" "+getitemname($jmp_item_id1)+"^000000";
	mes "^FF00002. Random Prize:^000000 ^008000"+$jmp_item_amount2+" "+getitemname($jmp_item_id2)+"^000000";
	mes "^FF00003. Random Prize:^000000 ^008000"+$jmp_item_amount3+" "+getitemname($jmp_item_id3)+"^000000";
	switch(select("Start Jump Event?:Set Prize:Not today Fellas!")){

		case 1:
			next;
			if( $@JumpStart == 1 ){
			mes "[Manager]";
			mes "I Can't Start The Event!!";
			mes "The Event is still ON!!";
			next;
			goto L_JumpAdmin;
			}
			next;
			mes "[Manager]";
			mes "^FF0000~Sure thing!~^000000";
			close2;
			goto L_StartJmp;

		case 2:
			next;
			mes "[Manager]";
			mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
			menu "Set Prize 1",SP1,"Set Prize 2",SP2,"Set Prize 3",SP3,"Go Back to main",L_JumpAdmin;

		SP1:
		next;
		mes "[Manager]";
		mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
		input $jmp_item_id1;
		next;
		mes "[Manager]";
		mes "^FF0000~How many if this item should I give away?~^000000";
		input $jmp_item_amount1;
		next;
		mes "[Manager]";
		mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount1 +" "+ getitemname($jmp_item_id1)   +"^000000? ^FF0000Great.~^000000";
		next;
		goto L_JumpAdmin;

		SP2:
		next;
		mes "[Manager]";
		mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
		input $jmp_item_id2;
		next;
		mes "[Manager]";
		mes "^FF0000~How many if this item should I give away?~^000000";
		input $jmp_item_amount2;
		next;
		mes "[Manager]";
		mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount2 +" "+ getitemname($jmp_item_id2)   +"^000000? ^FF0000Great.~^000000";
		next;
		goto L_JumpAdmin;

		SP3:
		next;
		mes "[Manager]";
		mes "^FF0000~What should the prize for winning be? Please input the ID.~^000000";
		input $jmp_item_id3;
		next;
		mes "[Manager]";
		mes "^FF0000~How many if this item should I give away?~^000000";
		input $jmp_item_amount3;
		next;
		mes "[Manager]";
		mes "^FF0000~So, the prize is^000000 ^008000"+ $jmp_item_amount3 +" "+ getitemname($jmp_item_id3)   +"^000000? ^FF0000Great.~^000000";
		next;
		goto L_JumpAdmin;

		Case 3:
			next;
			mes "[Manager]";
			mes "Bye!!";
			close;

		}// End Admin Manager...

	OnMinute25:
	L_StartJmp:
	announce "Jumper Event : will begin in 20 seconds",bc_blue;
	sleep2 5000;
	announce "Jumper Event : I'm Going to JUMP somewhere..!!",bc_blue;
	sleep2 5000;
	announce "Jumper Event : By the way I'm going to disguise into a random monster.!!",bc_blue;
	sleep2 10000;
	announce "Jumper Event : Last 10 seconds",bc_blue;
	sleep2 10000;
	set $@ran, rand(1,10);
	if ($@ran == 10) set $@jmpmap$,"hugel";
	if ($@ran == 9) set $@jmpmap$,"yuno";
	if ($@ran == 8) set $@jmpmap$,"comodo";
	if ($@ran == 7) set $@jmpmap$,"xmas";
	if ($@ran == 6) set $@jmpmap$,"aldebaran";
	if ($@ran == 5) set $@jmpmap$,"izlude";
	if ($@ran == 4) set $@jmpmap$,"payon";
	if ($@ran == 3) set $@jmpmap$,"geffen";
	if ($@ran == 2) set $@jmpmap$,"morocc";
	if ($@ran == 1) set $@jmpmap$,"prontera";
	announce "Jumper Event : Go Find me!! I'm here in "+$@jmpmap$+"!!!",bc_blue;
	set $@JmpRnd,10;
	goto OnStart;

	OnStart:
	if ($@JmpRnd == 0){
	stopnpctimer;
	set $@JumpStart,0;
	sleep2 3000;
	announce "Jumper Event : is now OVER!!",bc_blue;
	sleep2 15000;
	movenpc "Jumper"+$@ran+"",1,1; //move the NPC
	setnpcdisplay "Jumper"+$@ran+"",1002;
	end;
	}
	if ($@JmpRnd == 10){
	goto OnStart2;
	}
	stopnpctimer;
	sleep2 3000;
	announce "Jumper Event : Next Round will begin in 15 seconds...",bc_blue;
	sleep2 15000;
	setnpcdisplay "Jumper"+$@ran+"",1002;
	movenpc "Jumper"+$@ran+"",1,1; //move the NPC
	set $@ran, rand(1,10);
	if ($@ran == 10) set $@jmpmap$,"hugel";
	if ($@ran == 9) set $@jmpmap$,"yuno";
	if ($@ran == 8) set $@jmpmap$,"comodo";
	if ($@ran == 7) set $@jmpmap$,"xmas";
	if ($@ran == 6) set $@jmpmap$,"aldebaran";
	if ($@ran == 5) set $@jmpmap$,"izlude";
	if ($@ran == 4) set $@jmpmap$,"payon";
	if ($@ran == 3) set $@jmpmap$,"geffen";
	if ($@ran == 2) set $@jmpmap$,"morocc";
	if ($@ran == 1) set $@jmpmap$,"prontera";
	announce "Jumper Event : Go Find me!! I'm here in "+$@jmpmap$+"!!!",bc_blue;
	goto OnStart2;

	OnStart2:
	set $monster, rand(1001,1995);
	if($monster == 1003 || $monster == 1218 || $monster == 1006 || $monster == 1017 || $monster == 1021 || $monster == 1022 ||    $monster == 1027 || $monster == 1043 || $monster == 1006 || $monster == 1136 || $monster == 1137 || $monster == 1168 ||    $monster == 1171 || $monster == 1172 || $monster == 1173 || $monster == 1181 || $monster == 1210 || $monster == 1223 ||    $monster == 1284 || ($monster >= 1324 && $monster <= 1363) || $monster == 1006 || $monster == 1407 || $monster == 1411 ||    $monster == 1414 || $monster == 1496 || $monster == 1501 || $monster == 1900){ goto OnStart2; end; }
	while(1) { //Initiate an infinite loop
	set $@jx,rand(0,300); //Set a randon X coordinate
	set $@jy,rand(0,300); //Set a random Y coordinate
	if(checkcell(""+$@jmpmap$+"",$@jx,$@jy,cell_chkpass)) break; //If cell is walkable break out of the loop
	}
	initnpctimer;
	set $@JumpStart,1;
	movenpc "Jumper"+$@ran+"",$@jx,$@jy; //move the NPC
	setnpcdisplay "Jumper"+$@ran+"",$monster;
	set $@JmpRnd,$@JmpRnd-1;
	end;

	OnTimer60000:
	set $@JumpStart,0;
	announce "Jumper Event : WOW no One Found ME!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
	sleep2 3000;
	donpcevent "jumpevent::OnStart";
	end;

}//End Script

-	script	Jumper	-1,{
	if( $@JumpStart == 0 ){
	mes "[Jumper]";
	mes "I'm sorry, Someone Found me..";
	close;
	}
	set $@prize, rand(1,100);
	if ( $@prize <= 50 ){
	set $@JumpStart,0;
	getitem $jmp_item_id1,$jmp_item_amount1;
	announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
	donpcevent "jumpevent::OnStart";
	mes "[Jumper]";
	mes "WOW you found me!!";
	mes "Take this as a REWARD!!";
	mes "You got ^008000"+ $jmp_item_amount1 +" "+ getitemname($jmp_item_id1) +"^000000";
	close;
	end;
	}
	set $@prize, rand(1,100);
	if ( $@prize <= 49 ){
	set $@JumpStart,0;
	getitem $jmp_item_id2,$jmp_item_amount2;
	announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
	donpcevent "jumpevent::OnStart";
	mes "[Jumper]";
	mes "WOW you found me!!";
	mes "Take this as a REWARD!!";
	mes "You got ^008000"+ $jmp_item_amount2 +" "+ getitemname($jmp_item_id2) +"^000000";
	close;
	end;
	}
	set $@prize, rand(1,100);
	if ( $@prize <= 48 ){
	set $@JumpStart,0;
	getitem $jmp_item_id3,$jmp_item_amount3;
	announce "Jumper Event : "+strcharinfo(0)+" is the WINNER!! I'm here in "+$@jmpmap$+" "+$@jx+" "+$@jy+"!!",bc_blue;
	donpcevent "jumpevent::OnStart";
	mes "[Jumper]";
	mes "WOW you found me!!";
	mes "Take this as a REWARD!!";
	mes "You got ^008000"+ $jmp_item_amount3 +" "+ getitemname($jmp_item_id3) +"^000000";
	close;
	end;
	}
}//End Script

prontera,1,1,1	duplicate(Jumper)	Jumper1	1002
morocc,1,1,1	duplicate(Jumper)	Jumper2	1002
geffen,1,1,1	duplicate(Jumper)	Jumper3	1002
payon,1,1,1	duplicate(Jumper)	Jumper4	1002
izlude,1,1,1	duplicate(Jumper)	Jumper5	1002
aldebaran,1,1,1	duplicate(Jumper)	Jumper6	1002
xmas,1,1,1	duplicate(Jumper)	Jumper7	1002
comodo,1,1,1	duplicate(Jumper)	Jumper8	1002
yuno,1,1,1	duplicate(Jumper)	Jumper9	1002
hugel,1,1,1	duplicate(Jumper)	Jumper10	1002

Poring Catcher:

//=========== PORING CATCHER MADE ==============\\
//=== BY: SHOGS-GFX and RAGNAROK DEVELOPERS ====\\
//= Please Report if you encounter some errors =\\
//===== https://www.facebook.com/ShogsGfx ======\\
//==============================================\\
//==FUNCTIONS===================================\\
/* GM Can start the event manualy
   GM Can also stop the event manualy
HOW: just PM this npc (npc:pcatch)
The Next Guide Will Be Given by the Manager 	*/
//======= PLEASE DO NOT REMOVE CREDITS =========\\
//==============================================\\
//== MORE UPDATES TO COME FOR BETTER FUNCTION ==\\
//===== https://www.facebook.com/ShogsGfx ======\\
//==============================================\\

//====LEVEL OF GM CAN CONTROL THE EVENT=========\\

-	script	GMCONTROL	-1,{
OnInit:
set $gmcontrol,60;
end;

}
//---------------END OF SETUP-------------------\\

//================ON WHISPER=========================\\
-	script	pcatch	-1,{

//====LEVEL OF GM CAN CONTROL THE EVENT=========\\
//OnInit:
//set $gmcontrol,60;
//end;
//---------------END OF SETUP-------------------\\

OnWhisperGlobal:
if(getgmlevel() >= $gmcontrol) {
mes "^3399FF[Poring Catcher]^000000";	
mes "Hello GameMaster!";
mes "What do you want to do?";
switch(select("Start Event:Stop Event:Nothing"))
{
	case 1: 
	{
		next;
		mes "^3399FF[Poring Catcher]^000000";
		mes "Please confirm by typing START."; 
		input .@confirm$;          
		if (.@confirm$ == "START") 
		{
			donpcevent "Announcer2::OnGMStart"; 
			close;
		}
		mes "Confirmation failed";
		close;
		break;
	}
	case 2:
	{
		next;
		mes "^3399FF[Poring Catcher]^000000";
		mes "Please confirm by typing STOP."; 
		input .@confirm$;          
		if (.@confirm$ == "STOP") 
		{
			donpcevent "Announcer2::OnGMStop";
			close;
		}
		mes "Confirmation failed";
		close;
		break;
		
	}
					
	case 3:
	{
		next; mes "^3399FF[Poring Catcher]^000000";
		mes "Good bye"; 
		close;
	}

}
}
}


//====================ANNOUNCER======================\\

-	script	Announcer2	-1,{


OnGMStart:
	killmonster "poring_w01.gat","All";
	announce "(Poring Manager) : A Gamemaster started a Poring Catcher Event now.",0;
	sleep 3000;
	announce "(Poring Manager) : If you want to join, come at the middle of Prontera, enter the warp portal.",0;
	enablenpc "PoringCatcher";
	sleep 2000;
	announce "(Poring Manager) : Prize: will be TCG and Gold Coins",0;
	sleep 2000;
	announce "(Poring Manager) : The portal is going to close in one minute.",0;  
	sleep 60000;
	announce "(Poring Manager) : The portal has been closed.",0;
	disablenpc "PoringCatcher";
	if(getmapusers("poring_w01") == 0) 
	{
		disablenpc "Poring Banker";
		announce "Event Poring Catcher didn't start because there's no players.",0;
		end;
	}

	donpcevent "Poring Banker::OnEnable";
	end;

OnGMStop:

	killmonster "poring_w01.gat","All";
	announce "A Gamemaster has stopped the Poring Catcher Event",0;
	mapwarp "poring_w01.gat","prontera.gat",155,173;
	disablenpc "Poring Banker";
	disablenpc "PoringCatcher";
	end;



OnClock1200:
OnClock1100:
OnClock1300:
OnClock2300:
	killmonster "poring_w01.gat","All";
	announce "(Poring Manager) : Poring Catcher Event will start at the moment.",0;
	sleep 3000;
	announce "(Poring Manager) : If you want to join, come at the middle of Prontera, enter the warp portal.",0;
	enablenpc "PoringCatcher";
	sleep 2000;
	announce "(Poring Manager) : Prize: will be TCG and Gold Coins",0;
	sleep 2000;
	announce "(Poring Manager) : The portal is going to close in one minute.",0;  
	sleep 60000;
	announce "(Poring Manager) : The portal has been closed.",0;
	disablenpc "PoringCatcher";
	if(getmapusers("poring_w01") == 0) 
	{
		disablenpc "Poring Banker";
		announce "Event Poring Catcher didn't start because no players found in map.",0;
		end;
	}

	donpcevent "Poring Banker::OnEnable";
	end;

OnInit:
	disablenpc "Poring Banker";
	disablenpc "PoringCatcher";
}
//---------All Job Registration----------------------------------------
prontera,155,173,0	warp	PoringCatcher	2,2,poring_w01,105,128

//---------------------------------------------------------------------


//---------------------------------------------------------------------
-	script	Poring Banker	-1,{

OnEnable:
mapannounce "poring_w01","Poring Manager: The Poring Catcher Event will start shortly",0;
sleep2 10000;
mapannounce "poring_w01","Poring Manager: I will be summoning 100 porings with different names kill the real poring",0;
sleep2 10000;
mapannounce "poring_w01","Poring Manager: What are we waiting for?..Let's Catch some Porings!!...",0;
sleep2 10000;
goto L_Start;
end;
L_Start:
	if(getmapusers("poring_w01") == 0) goto L_None;
	if(getmapusers("poring_w01") >= 1) {

	mapannounce "poring_w01","Poring Manager: Get ready at the count of 5 we will start!....",0;
	sleep2 6000;
	mapannounce "poring_w01","Poring Manager: 5",0;
	sleep2 5000;
	mapannounce "poring_w01","Poring Manager: 4",0;
	sleep2 4000;
	mapannounce "poring_w01","Poring Manager: 3",0;
	sleep2 3000;
	mapannounce "poring_w01","Poring Manager: 2",0;
	sleep2 2000;
	mapannounce "poring_w01","Poring Manager: 1",0;
	donpcevent "Poringsummoner::OnSummon";
	end;
	}

	L_None:
	disablenpc "Poring Banker";
	killmonster "poring_w01.gat","All";
	end;
}

//==================SUMMONER OF PORINGS ======================\\
-	script	Poringsummoner	-1,{

OnSummon:
   if(getmapusers("poring_w01") == 0) goto L_2None;
   monster "poring_w01.gat",0,0,"Poring",1002,1,"poringwin::OnMobKilled";
   monster "poring_w01.gat",0,0,"Pouring",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Proing",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Poirng",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Poing",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"I'm not a Poring",1002,5,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Gnirop",1002,1,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Poring",1113,1,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Poring",1062,1,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Por|ng",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Por1ng",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Porong",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"P0ring",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"P@ring",1002,10,"poringlose::OnMobKilled";
   monster "poring_w01.gat",0,0,"Porng",1002,1,"poringlose::OnMobKilled";end;
L_2None:
disablenpc "Poring Banker";
killmonster "poring_w01.gat","All";
end;
}

//==================REAL PORING FOR WIN======================\\
-	script	poringwin	-1,{

OnMobKilled:
   killmonster "poring_w01.gat","All";
   atcommand "@doommap";
   getitem 7227,1;
   getitem 671, 10;
   announce "Poring Banker: We have a winner! well done " + strcharinfo(0) + ".",0;
   warp "SavePoint",0,0;
   end;
}

//==================DUMY PORINGS FOR LOSERS======================\\
-	script	poringlose	-1,{
OnMobKilled:
   dispbottom "Your out of the game, You did not catch the right Poring !";
   percentheal -99,-99;
   warp "SavePoint",0,0;
   end;
}


//==================Mapflags========================\\
poring_w01	mapflag	nowarp
poring_w01	mapflag	nowarpto
poring_w01	mapflag	noteleport
poring_w01	mapflag	nosave
poring_w01	mapflag	nomemo
poring_w01	mapflag	nobranch
poring_w01	mapflag	noloot
poring_w01	mapflag	noskill
poring_w01	mapflag	nopenalty

Thankyooou .

 

Btw how bout Poring Race Poring Punch u have ? 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

Poring Race:

//===== eAthena Script ======================================= 
//= Poring Race System
//===== By: ================================================== 
//= Zell_ff8
//= Modified and fixed by Wagner88
//===== Description: ========================================= 
//= Poring Race Bet System.
//===== More: ================================================
//= Bet how much zeny you want
//= You receive zeny when you win.
//= Max bet custom (default = 100000 zeny)
//============================================================



p_track02	mapflag	nobranch
p_track02	mapflag	noicewall
p_track02	mapflag	nomemo
p_track02	mapflag	noreturn
p_track02	mapflag	noteleport

//Warps
hugel,45,57,0	warp	p_track001	2,2,p_track02,75,42
p_track02,78,42,0	warp	p_track002	1,3,hugel,48,60


//NPC Checker
p_track02,44,41,0	script	Checker#prace0	-1,{

OnChequeo:
	for( set .@tmp1,0; .@tmp1 < getarraysize( $prace_bidders ); set .@tmp1,.@tmp1+1 ) {
		if( attachrid( $prace_bidders[.@tmp1] ) ) {
			if ( @prace_playing != 1 ) end;
			dispbottom "The winner is "+$prace_winner$+" and you have bet for "+@prace_winner$+".";
			if ( @prace_winner$ == $prace_winner$ && @prace_winner$!="" ) {  
				dispbottom "You have won!"; 
				mapannounce "p_track02"," Congratulations! "+strcharinfo(0)+" has won!",1,0xFFAB54;
				// set Zeny, Zeny + @prace_zeny*6;
				set #PoringRacePoints, #PoringRacePoints + @prace_zeny*6;//Poring Race Points
				emotion 21,1;
			}
			else {
				dispbottom "You have lost."; 
				emotion 28,1;
			}
			set @prace_winner$,"";
			set @prace_playing,0;
		} //else { announce .@tmp1+" || "+$prace_bidders[.@tmp1],bc_all; }  //debug
	} 	
	for( set .@tmp1,0; .@tmp1 < getarraysize( $prace_bidders ); set .@tmp1,.@tmp1+1 )
		set $prace_bidders[.@tmp1], 0;
	end;
}

//NPC Principal
p_track02,58,41,2	script	Bidder#prace0	57,{ 

	//MAX BET (customizable)
	set @max_bet, 100000;

	if ( $prace_random < 1 ) callsub OnInit;
	if ( @prace_playing == 1 ) goto AlreadyPlaying;

	getmapxy(.@mapname$,.@x1,.@y,1,"Poring#prace1");
	getmapxy(.@mapname$,.@x2,.@y,1,"Angeling#prace2");
	getmapxy(.@mapname$,.@x3,.@y,1,"Metaling#prace3");
	getmapxy(.@mapname$,.@x4,.@y,1,"Deviling#prace4");
	getmapxy(.@mapname$,.@x5,.@y,1,"Santa Poring#prace5");
	getmapxy(.@mapname$,.@x6,.@y,1,"Poporing#prace6");
	if (.@x1 != 58 || .@x2 != 58 || .@x3 != 58 || .@x4 != 58 || .@x5 != 58 || .@x6 != 58) {
		mes "[Bidder]";
		mes "There is a race in progress...";
		close;
	}
L_bet:
	mes "[Bidder]";
	mes "How much Poring Race Points do you want to bet?";
	mes "(maximum bet: " + @max_bet + " )";
	input @prace_zeny;

L_controlzeny:

	if( @prace_zeny > @max_bet ) goto TooMuch; 	
	if(@prace_zeny==0) goto NoZero;
	if( #PoringRacePoints < @prace_zeny ) goto NotEnuf;
	goto L_poring;


TooMuch:
	next;
	mes "[Bidder]";
	mes "Sorry but the bet limit is " + @max_bet + " Poring Race Points.";	
	close;

NoZero:
	next;
	mes "[Bidder]";
	mes "We're not joking here! Go away if you don't want to play Poring Race Points!";	
	close;

NotEnuf:
	next;
	mes "[Bidder]";
	mes "I'm sorry but you don't have enough Poring Race Points to make that bet.";
	close;

L_poring:
	mes " - bet = " + @prace_zeny + " -";
	mes "Ok, now choose the poring you want to bet:"; 
	next;
	menu "Poring",p1,"Angeling",p2,"Metaling",p3,"Deviling",p4,"Santa Poring",p5,"Poporing",p6,"  None",-;
	mes "[Bidder]";
	mes "Goodbye.";
	close;

p1:
	set #PoringRacePoints, #PoringRacePoints -@prace_zeny;
	set @prace_winner$,"Poring"; goto Ready;
p2:
	set #PoringRacePoints, #PoringRacePoints -@prace_zeny;
	set @prace_winner$,"Angeling"; goto Ready;
p3:
	set #PoringRacePoints, #PoringRacePoints -@prace_zeny;
	set @prace_winner$,"Metaling"; goto Ready;
p4:
	set #PoringRacePoints, #PoringRacePoints -@prace_zeny;
	set @prace_winner$,"Deviling"; goto Ready;
p5:
	set #PoringRacePoints, #PoringRacePoints -@prace_zeny;
	set @prace_winner$,"Santa Poring"; goto Ready;
p6:
	set #PoringRacePoints, #PoringRacePoints -@prace_zeny;
	set @prace_winner$,"Poporing"; goto Ready;

Ready:
	set $prace_bets,$prace_bets+1;
	set $prace_bidders[$prace_bets], getcharid(3);
	set @prace_playing,1;
	mes "[Bidder]";
	mes "I have "+$prace_bets+" bets.";
	setnpctimer 60000;startnpctimer;
	npctalk "I got "+strcharinfo(0)+" bet!";
	close;

Start1:
	setnpctimer 0;
	startnpctimer;
	end;

AlreadyPlaying:
	mes "[Bidder]";
	mes "You have choose ^00bb00"+@prace_winner$+"^000000";
	close;

StartRace:
	donpcevent "Metaling#prace3::OnRace";
	donpcevent "Poring#prace1::OnRace";
	donpcevent "Poporing#prace6::OnRace";
	donpcevent "Angeling#prace2::OnRace";
	donpcevent "Santa Poring#prace5::OnRace";
	donpcevent "Deviling#prace4::OnRace";
	end;

OnStopRace:
	donpcevent "Poring#prace1::OnStop";
	donpcevent "Angeling#prace2::OnStop";
	donpcevent "Metaling#prace3::OnStop";
	donpcevent "Deviling#prace4::OnStop";
	donpcevent "Santa Poring#prace5::OnStop";
	donpcevent "Poporing#prace6::OnStop";
	if ( $prace_winner$ != "" ) callsub WinRace;
	end;

ReturnRace:
	donpcevent "Poring#prace1::OnReturn";
	donpcevent "Angeling#prace2::OnReturn";
	donpcevent "Metaling#prace3::OnReturn";
	donpcevent "Deviling#prace4::OnReturn";
	donpcevent "Santa Poring#prace5::OnReturn";
	donpcevent "Poporing#prace6::OnReturn";
	end;


WinRace:
	mapannounce "p_track02","The winner is "+$prace_winner$,1,0xFFAB54;
	donpcevent "Checker#prace0::OnChequeo";
	setnpctimer 30000;startnpctimer;
	end;


OnInit:
	set $prace_random,70;
	set $prace_random2,600;
	set $prace_winner$,"";
	set $prace_bets,0;
	set $prace_bidders,0;
	end;

OnTimer500:
mapannounce "p_track02","Porings, on your marks...",1,0xFFAB54;end;	

OnTimer3000:
mapannounce "p_track02","...3...",1,0xFFAB54;end;	

OnTimer4000:
mapannounce "p_track02","...2...",1,0xFFAB54;end;	

OnTimer5000:
mapannounce "p_track02","...1...",1,0xFFAB54;
callsub StartRace;end;

OnTimer6000:
stopnpctimer;
mapannounce "p_track02","Gooo!!!",1,0xFFAB54;end;

OnTimer35000:
set $prace_winner$,"";set $prace_bets,0;
stopnpctimer;callsub ReturnRace;end;

OnTimer90000:
npctalk "I got "+$prace_bets+" bets. Anyone else?"; end;
OnTimer110000:
npctalk "The race will start soon. Last chance."; end;
OnTimer120000:
goto Start1; end;

}





//-----------------------------------
// Racer NPC's
//-----------------------------------
p_track02,58,38,2	script	Poring#prace1	1002,{ 
end;
OnRace:
initnpctimer; startnpctimer;end;
OnStop:
stopnpctimer;end;
OnReturn:
npcwalkto 58,38;end;
OnTimer1100:
getmapxy(.@mapname$,.@x,.@y,1,"Poring#prace1");
if(rand(100) < $prace_random) npcwalkto .@x-1,.@y;
setnpctimer rand($prace_random2);startnpctimer;
if ((.@x-1) == 29) { set $prace_winner$,"Poring"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; }
end;
}
p_track02,58,36,2	script	Angeling#prace2	1096,{ 
end;
OnRace:
initnpctimer; startnpctimer;end;
OnStop:
stopnpctimer;end;
OnReturn:
npcwalkto 58,36;end;
OnTimer1100:
getmapxy(.@mapname$,.@x,.@y,1,"Angeling#prace2");
if(rand(100) < $prace_random) npcwalkto .@x-1,.@y;
setnpctimer rand($prace_random2);startnpctimer;
if ((.@x-1) == 29) { set $prace_winner$,"Angeling"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; }
end;
}
p_track02,58,34,2	script	Metaling#prace3	1613,{ 
end;
OnRace:
initnpctimer; startnpctimer;end;
OnStop:
stopnpctimer;end;
OnReturn:
npcwalkto 58,34;end;
OnTimer1100:
getmapxy(.@mapname$,.@x,.@y,1,"Metaling#prace3");
if(rand(100) < $prace_random) npcwalkto .@x-1,.@y;
setnpctimer rand($prace_random2);startnpctimer;
if ((.@x-1) == 29) { set $prace_winner$,"Metaling"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; }
end;
}
p_track02,58,32,2	script	Deviling#prace4	1582,{ 
end;
OnRace:
initnpctimer; startnpctimer;end;
OnStop:
stopnpctimer;end;
OnReturn:
npcwalkto 58,32;end;
OnTimer1100:
getmapxy(.@mapname$,.@x,.@y,1,"Deviling#prace4");
if(rand(100) < $prace_random) npcwalkto .@x-1,.@y;
setnpctimer rand($prace_random2);startnpctimer;
if ((.@x-1) == 29) { set $prace_winner$,"Deviling"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; }
end;
}
p_track02,58,30,2	script	Santa Poring#prace5	1062,{ 
end;
OnRace:
initnpctimer; startnpctimer;end;
OnStop:
stopnpctimer;end;
OnReturn:
npcwalkto 58,30;end;
OnTimer1100:
getmapxy(.@mapname$,.@x,.@y,1,"Santa Poring#prace5");
if(rand(100) < $prace_random) npcwalkto .@x-1,.@y;
setnpctimer rand($prace_random2);startnpctimer;
if ((.@x-1) == 29) { set $prace_winner$,"Santa Poring"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; }
end;
}
p_track02,58,28,2	script	Poporing#prace6	1031,{ 
end;
OnRace:
initnpctimer; startnpctimer;end;
OnStop:
stopnpctimer;end;
OnReturn:
npcwalkto 58,28;end;
OnTimer1100:
getmapxy(.@mapname$,.@x,.@y,1,"Poporing#prace6");
if(rand(100) < $prace_random) npcwalkto .@x-1,.@y;
setnpctimer rand($prace_random2);startnpctimer;
if ((.@x-1) == 29) { set $prace_winner$,"Poporing"; emotion 29; donpcevent "Bidder#prace0::OnStopRace"; }
end;
}

Poring Punch:

// ---			ARTHistic's Property			---
// ---	Please visit http://thdesigns.co.nr    ---
// ---		   Scripted By: ARTHistic		   ---
// ---		 Do Not Revomed the Credits		 ---
- script PPE_inital -1,{
OnInit:
set $@PoringEventChecker, 0;
set $@PoringEventPrizeChecker, 0;
set $PPEDefendingChampion$,"secret";
end;
}
prontera,130,205,5 script Poring Punch Event 808,{
mes "[ Poring Punch Event ]";
mes "Hello, I'm the Poring Punch Event Manager. My record says that the defending champion on this event was "+$PPEDefendingChampion$+". Anyways, what do you want to do?";
mes " ";
mes "Scripted by: ^777777ARTHistic^000000";
next;
menu "How does this work?",PPE_HowTo,"Host this Event",PPE_Host,"Join Event Now",PPE_Join,"Claim my reward",PPE_claim,"Nevermind",PPE_nvm;
PPE_HowTo:
  mes "[ Poring Punch Event ]";
  mes "This is an event where everyone can join in. All you have to do is to punch the right monsters and to avoid the wrong ones. Each kind of monster has its corresponsing points. You only have 5 minutes to earn points as much as you can. The Highest Scorer at the end of this event shall win Poring Coins";
  mes "Reminder: No weapons, cart, and pets is allowed in this event.";
  mes " ";
  mes "Scripted by: ^777777ARTHistic^000000";
  close;
PPE_Host:
OnMinute15:
  if ( $@PoringEventChecker != 0 ){
   mes "[ Poring Punch Event ]";
   mes "There is Poring Punch Event on-going. You can host this event if it is still on-going.";
   mes " ";
   mes "Scripted by: ^777777ARTHistic^000000";
   close;
  }else{
   mes "[ Poring Punch Event ]";
   mes "You need to pay 200,000,000 z to host this event. Would you like to pay to host this event?";
   next;
   menu "Yes",PPE_HostYes,"No",-;
   mes "[ Poring Punch Event ]";
   mes "Okay. Maybe next time.";
   mes " ";
   mes "Scripted by: ^777777ARTHistic^000000";
   close;
	PPE_HostYes:
	 if ( Zeny >= 200000000 ){
	  mes "[ Poring Punch Event ]";
	  mes "Thanks "+strcharinfo(0)+", for hosting this event. It will start shortly.";
	  mes " ";
	  mes "Scripted by: ^777777ARTHistic^000000";
	  set Zeny, Zeny-200000000;
	  close2;
	  set $@PoringEventChecker, 1;
	  announce ""+strcharinfo(0)+" paid to host Poring Punch Event!", bc_all;
	  killmonsterall "pvp_n_1-2";
	  sleep2 10000;
	  initnpctimer;
	  end;
	 }else{
	  mes "[ Poring Punch Event ]";
	  mes "Sorry "+strcharinfo(0)+", you dont have enough zenies to host this event.";
	  mes " ";
	  mes "Scripted by: ^777777ARTHistic^000000";
	  close;
	 }end;
  }end;
PPE_Join:
  if ( $@PoringEventChecker != 0 ){
   if (gethominfo(2) != "null"){
	mes "[ Poring Punch Event ]";
	mes "No homunculus is allowed in this event! Sorry "+strcharinfo(0)+" but you can't join this event!";
	close;
   }
   if (getpetinfo(2) != "null"){
	mes "[ Poring Punch Event ]";
	mes "No pet is allowed in this event! Sorry "+strcharinfo(0)+" but you can't join this event!";
	close;
   }
   if (checkcart()){
	mes "[ Poring Punch Event ]";
	mes "[ Poring Punch Event ]";
	mes "No cart is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";
	close;
   }
   if (checkfalcon()){
	mes "[ Poring Punch Event ]";
	mes "No falcon is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";
	close;
   }
   if (checkriding()){
	mes "[ Poring Punch Event ]";
	mes "[ Poring Punch Event ]";
	mes "No riding is allowed! Sorry "+strcharinfo(0)+" but you can't join this event!";
	close;
   }
   mes "[ Poring Punch Event ]";
   mes "Good luck "+strcharinfo(0)+".";
   mes " ";
   mes "Scripted by: ^777777ARTHistic^000000";
   close2;
   set @PoringPoints, 0;
   warp "pvp_n_1-2.gat",0,0;
   end;
  }else{
   mes "[ Poring Punch Event ]";
   mes "Sorry. No Poring Punch Event is held at the moment.";
   mes " ";
   mes "Scripted by: ^777777ARTHistic^000000";
   close;
  }end;
PPE_claim:
  if ($HighestPoringPointsName$ == strcharinfo(0) && $@PoringEventPrizeChecker == 1) {
   mes "[Poring Punch Event]";
   mes "Congragulations "+strcharinfo(0)+". Here is your reward.";
   getitem 7227,1;
   set $HighestPoringPointsName$,"";
   set $HighestPoringPoints,0;
   set $@PoringEventPrizeChecker, 0;
   close;
  } else {
   mes "[ Poring Punch Event ]";
   mes "Sorry "+strcharinfo(0)+". You're not the winner so you can't claim anything";
   mes " ";
   mes "Scripted by: ^777777ARTHistic^000000";
   close;
  }end;
PPE_nvm:
  mes "[ Poring Punch Event ]";
  mes "Okay. Maybe next time.";
  mes " ";
  mes "Scripted by: ^777777ARTHistic^000000";
  close;
OnPoringKill:
  if (getequipweaponlv(4)==0 && getequipweaponlv(3)==0){
   set @PoringPoints,@PoringPoints+1;
   if (@PoringPoints > $HighestPoringPoints) {
	set $HighestPoringPointsName$,strcharinfo(0);
	set $PPEDefendingChampion$,strcharinfo(0);
	set $HighestPoringPoints,@PoringPoints;
   }
   dispbottom "You have "+@PoringPoints+" point(s)";
   end;
  }else {
   dispbottom "You have to punch the monster without any weapon.";
   warp "prontera",130,200;
   end;
  }
OnDropsKill:
  if (getequipweaponlv(4)==0 && getequipweaponlv(3)==0){
   set @PoringPoints,@PoringPoints+5;
   if (@PoringPoints > $HighestPoringPoints) {
	set $HighestPoringPointsName$,strcharinfo(0);
	set $PPEDefendingChampion$,strcharinfo(0);
	set $HighestPoringPoints,@PoringPoints;
   }
   dispbottom "You have "+@PoringPoints+" point(s)";
   end;
  }else {
   dispbottom "You have to punch the monster without any weapon.";
   warp "prontera",130,200;
   end;
  }

OnPoporingKill:
  if (getequipweaponlv(4)==0 && getequipweaponlv(3)==0){
   if (@PoringPoints < 10) {
	set @PoringPoints, 0;
	dispbottom "You have "+@PoringPoints+" point(s)";
	end;
   }else {
	set @PoringPoints,@PoringPoints-10;
	dispbottom "You have "+@PoringPoints+" point(s)";
	end;
   }end;
  }else {
   dispbottom "You have to punch the monster without any weapon.";
   warp "prontera",130,200;
   end;
  }

OnHour30:
if ( $@PoringEventChecker == 0 ) {
  set $@PoringEventChecker, 1;
  initnpctimer;
  end;
}
OnTimer10000:
announce "Poring Punch Event has started.",0;
monster "pvp_n_1-2",0,0,"1 Point",1002,50,"Poring Punch Event::OnPoringKill";
monster "pvp_n_1-2",0,0,"5 Points",1113,10,"Poring Punch Event::OnDropsKill";
monster "pvp_n_1-2",0,0,"-10 Ponts",1031,50,"Poring Punch Event::OnPoporingKill";
end;
OnTimer70000:
mapannounce "pvp_n_1-2.gat","Poring Punch Event: 4 minutes left.",0;
monster "pvp_n_1-2",0,0,"1 Point",1002,50,"Poring Punch Event::OnPoringKill";
monster "pvp_n_1-2",0,0,"5 Points",1113,5,"Poring Punch Event::OnDropsKill";
monster "pvp_n_1-2",0,0,"-10 Ponts",1031,20,"Poring Punch Event::OnPoporingKill";
end;
OnTimer130000:
mapannounce "pvp_n_1-2.gat","Poring Punch Event: 3 minutes left.",0;
monster "pvp_n_1-2",0,0,"1 Point",1002,30,"Poring Punch Event::OnPoringKill";
monster "pvp_n_1-2",0,0,"5 Points",1113,5,"Poring Punch Event::OnDropsKill";
monster "pvp_n_1-2",0,0,"-10 Ponts",1031,15,"Poring Punch Event::OnPoporingKill";
end;
OnTimer190000:
mapannounce "pvp_n_1-2.gat","Poring Punch Event: 2 minutes left.",0;
monster "pvp_n_1-2",0,0,"1 Point",1002,30,"Poring Punch Event::OnPoringKill";
monster "pvp_n_1-2",0,0,"5 Points",1113,5,"Poring Punch Event::OnDropsKill";
monster "pvp_n_1-2",0,0,"-10 Ponts",1031,5,"Poring Punch Event::OnPoporingKill";
end;
OnTimer250000:
mapannounce "pvp_n_1-2.gat","Poring Punch Event: 1 minute left.",0;
monster "pvp_n_1-2",0,0,"1 Point",1002,50,"Poring Punch Event::OnPoringKill";
monster "pvp_n_1-2",0,0,"5 Points",1113,5,"Poring Punch Event::OnDropsKill";
monster "pvp_n_1-2",0,0,"-10 Ponts",1031,5,"Poring Punch Event::OnPoporingKill";
end;
OnTimer310000:
stopnpctimer;
announce "Poring Punch Event has ended and the event Winner is "+$HighestPoringPointsName$+".",0;
killmonsterall "pvp_n_1-2";
set $@PoringEventChecker, 0;
set $@PoringEventPrizeChecker, 1;
sleep2 5000;
mapannounce "pvp_n_1-2.gat","You'll be warp at prontera in a short while.",16;
sleep2 10000;
mapwarp "pvp_n_1-2","prontera",155,166;
end;
}

// MAPFLAGS
pvp_n_1-2 mapflag nobranch
pvp_n_1-2 mapflag noexp
pvp_n_1-2 mapflag noskill
pvp_n_1-2 mapflag nomemo
pvp_n_1-2 mapflag nopenalty
pvp_n_1-2 mapflag pvp off
pvp_n_1-2 mapflag nosave SavePoint
pvp_n_1-2 mapflag noskill
pvp_n_1-2 mapflag noteleport
pvp_n_1-2 mapflag nowarp
pvp_n_1-2 mapflag nowarpto

Lucky Pick Event:

- script AutoFunEvent -1,{
OnClock2030:
while(1)
{
  query_sql "select account_id from `char` where online = 1 order by rand() limit 1", .@aid;
  attachrid .@aid;
  if(CheckVending())
  {
   DetachRID();
   continue;
  }
  announce strcharinfo(0) +" won in Lucky Pick Event.", 0;
  getitem 7179,1;
  break;
}
end;
}

I got it all by searching. So next time; try to use search before posting.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  65
  • Topics Per Day:  0.02
  • Content Count:  235
  • Reputation:   0
  • Joined:  05/03/13
  • Last Seen:  

Dice event

i think event start in every 30 min

 

Change "ilyo_kwan",174,109; in to   "prontera",156,183

in script

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

Use this. Enjoy !

Link to comment
Share on other sites

Join the conversation

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

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

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

×   Your previous content has been restored.   Clear editor

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

×
×
  • Create New...