Jump to content
  • 0
Sign in to follow this  
RhamXIV

Automated Event ( Hourly ) with Cashpoint Reward

Question

4 answers to this question

Recommended Posts

  • 0

What kind of event do you want?

 

What will be it's goals?

 

 

Sample of hourly event:

 

prontera,150,150,4	script	Hide and Seek::hourly_event	1_M_01,{
	
	if ( .STATUS ) {
		mes("[^FFA500Hide and Seek^000000]");
		mes("Oh! You found me!");
		mes("Here's your reward!");
		announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all);
		#CASHPOINTS += 75; // Adds 75 Cash Points
		close2();
		donpcevent("hourly_event::OnStopEvent");
	}
	end();

	OnInit:
		hideonnpc("hourly_event");
		.STATUS = 0;
		end();

	OnMinute00: //Every hour at this minute the event will begins
		donpcevent("hourly_event::OnStartEvent");
		end();

	OnStartEvent:
		initnpctimer();

		setarray(
			.COORDINATES[0],
			// x, y (just for prontera)
			119, 311,
			105,  74,
			129, 261,
			188, 330,
			241,  76,
			205, 238,
			 60, 335,
			240, 292
		);

		.@i = rand(getarraysize(.COORDINATES));
		.@x = .COORDINATES[.@i];
		.@y = .COORDINATES[.@i + 1];

		movenpc("hourly_event", .@x, .@y);

		.STATUS = 1;

		announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all);

		hideoffnpc("hourly_event");

		end();

	OnStopEvent:
		stopnpctimer();
		.STATUS = 0;
		hideonnpc("hourly_event");
		end();

	OnTimer1800000:
		donpcevent("hourly_event::OnStopEvent");
		end();
}

Goal: Find the NPC in Prontera.

Share this post


Link to post
Share on other sites
  • 0

What kind of event do you want?

 

What will be it's goals?

 

 

Sample of hourly event:

 

prontera,150,150,4	script	Hide and Seek::hourly_event	1_M_01,{
	
	if ( .STATUS ) {
		mes("[^FFA500Hide and Seek^000000]");
		mes("Oh! You found me!");
		mes("Here's your reward!");
		announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all);
		#CASHPOINTS += 75; // Adds 75 Cash Points
		close2();
		donpcevent("hourly_event::OnStopEvent");
	}
	end();

	OnInit:
		hideonnpc("hourly_event");
		.STATUS = 0;
		end();

	OnMinute00: //Every hour at this minute the event will begins
		donpcevent("hourly_event::OnStartEvent");
		end();

	OnStartEvent:
		initnpctimer();

		setarray(
			.COORDINATES[0],
			// x, y (just for prontera)
			119, 311,
			105,  74,
			129, 261,
			188, 330,
			241,  76,
			205, 238,
			 60, 335,
			240, 292
		);

		.@i = rand(getarraysize(.COORDINATES));
		.@x = .COORDINATES[.@i];
		.@y = .COORDINATES[.@i + 1];

		movenpc("hourly_event", .@x, .@y);

		.STATUS = 1;

		announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all);

		hideoffnpc("hourly_event");

		end();

	OnStopEvent:
		stopnpctimer();
		.STATUS = 0;
		hideonnpc("hourly_event");
		end();

	OnTimer1800000:
		donpcevent("hourly_event::OnStopEvent");
		end();
}

Goal: Find the NPC in Prontera.

i wanted that like 

LMS

Disguise

Mushroom Hunting

Dice

Jumper

Poring Catcher

Etc i know its too much hope you had it and the price is 1 Cashpoint XD thank you mate

Edited by RhamXIV

Share this post


Link to post
Share on other sites
  • 0

 

What kind of event do you want?

 

What will be it's goals?

 

 

Sample of hourly event:

 

prontera,150,150,4	script	Hide and Seek::hourly_event	1_M_01,{
	
	if ( .STATUS ) {
		mes("[^FFA500Hide and Seek^000000]");
		mes("Oh! You found me!");
		mes("Here's your reward!");
		announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all);
		#CASHPOINTS += 75; // Adds 75 Cash Points
		close2();
		donpcevent("hourly_event::OnStopEvent");
	}
	end();

	OnInit:
		hideonnpc("hourly_event");
		.STATUS = 0;
		end();

	OnMinute00: //Every hour at this minute the event will begins
		donpcevent("hourly_event::OnStartEvent");
		end();

	OnStartEvent:
		initnpctimer();

		setarray(
			.COORDINATES[0],
			// x, y (just for prontera)
			119, 311,
			105,  74,
			129, 261,
			188, 330,
			241,  76,
			205, 238,
			 60, 335,
			240, 292
		);

		.@i = rand(getarraysize(.COORDINATES));
		.@x = .COORDINATES[.@i];
		.@y = .COORDINATES[.@i + 1];

		movenpc("hourly_event", .@x, .@y);

		.STATUS = 1;

		announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all);

		hideoffnpc("hourly_event");

		end();

	OnStopEvent:
		stopnpctimer();
		.STATUS = 0;
		hideonnpc("hourly_event");
		end();

	OnTimer1800000:
		donpcevent("hourly_event::OnStopEvent");
		end();
}

Goal: Find the NPC in Prontera.

i wanted that like 

LMS

Disguise

Mushroom Hunting

Dice

Jumper

Poring Catcher

Etc i know its too much hope you had it and the price is 1 Cashpoint XD thank you mate

 

-    script    AutoPickEvent    -1,{
 
OnClock2000:
 
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;
 #CASHPOINTS += 25; // Adds 25 Cash Points Rewards
  break;
}
end;
}

Lucky pick event try this Every 2hrs 

Share this post


Link to post
Share on other sites
  • 0

 

 

What kind of event do you want?

 

What will be it's goals?

 

 

Sample of hourly event:

 

prontera,150,150,4	script	Hide and Seek::hourly_event	1_M_01,{
	
	if ( .STATUS ) {
		mes("[^FFA500Hide and Seek^000000]");
		mes("Oh! You found me!");
		mes("Here's your reward!");
		announce(sprintf("[Hide and Seek] %s found me! Thank you all for participating.", strcharinfo(0)), bc_all);
		#CASHPOINTS += 75; // Adds 75 Cash Points
		close2();
		donpcevent("hourly_event::OnStopEvent");
	}
	end();

	OnInit:
		hideonnpc("hourly_event");
		.STATUS = 0;
		end();

	OnMinute00: //Every hour at this minute the event will begins
		donpcevent("hourly_event::OnStartEvent");
		end();

	OnStartEvent:
		initnpctimer();

		setarray(
			.COORDINATES[0],
			// x, y (just for prontera)
			119, 311,
			105,  74,
			129, 261,
			188, 330,
			241,  76,
			205, 238,
			 60, 335,
			240, 292
		);

		.@i = rand(getarraysize(.COORDINATES));
		.@x = .COORDINATES[.@i];
		.@y = .COORDINATES[.@i + 1];

		movenpc("hourly_event", .@x, .@y);

		.STATUS = 1;

		announce("[Hide and Seek] The event has begun! Try to find me in Prontera!", bc_all);

		hideoffnpc("hourly_event");

		end();

	OnStopEvent:
		stopnpctimer();
		.STATUS = 0;
		hideonnpc("hourly_event");
		end();

	OnTimer1800000:
		donpcevent("hourly_event::OnStopEvent");
		end();
}

Goal: Find the NPC in Prontera.

i wanted that like 

LMS

Disguise

Mushroom Hunting

Dice

Jumper

Poring Catcher

Etc i know its too much hope you had it and the price is 1 Cashpoint XD thank you mate

-    script    AutoPickEvent    -1,{
 
OnClock2000:
 
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;
 #CASHPOINTS += 25; // Adds 25 Cash Points Rewards
  break;
}
end;
}

Lucky pick event try this Every 2hrs 

 

here sir hope you can help me thanks 

 

Cluckers : 5 Cash Points ( every 5 hours )

Devil Square : 1 Cash Point ( every 2 hours )

Dice : 5 Cashpoints ( every 5 hours )

Disguise : 1 Cashpoint ( each round / 10 rounds every 2 hours )

LMS : 10 Cashpoints ( every 7 hours )

Lotti : 10 Cashpoints ( every 7 hours )

Mushroom : 1 Cashpoint ( 2 hours )

Poring Catcher : 5 cash points ( every 5 hours )

Hide And Seek : 1 cash point ( each round / 10 rounds ) 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.