• 0
Sign in to follow this  
Followers 0
RhamXIV

Automated Event ( Hourly ) with Cashpoint Reward

Question

Hi guys can i have automated event that can start hourly and the prize is Cashpoint please help me thank you

Share this post


Link to post
Share on other sites

4 answers to this question

  • 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
		);

		[email protected] = rand(getarraysize(.COORDINATES));
		[email protected] = .COORDINATES[[email protected]];
		[email protected] = .COORDINATES[[email protected] + 1];

		movenpc("hourly_event", [email protected], [email protected]);

		.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
		);

		[email protected] = rand(getarraysize(.COORDINATES));
		[email protected] = .COORDINATES[[email protected]];
		[email protected] = .COORDINATES[[email protected] + 1];

		movenpc("hourly_event", [email protected], [email protected]);

		.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
		);

		[email protected] = rand(getarraysize(.COORDINATES));
		[email protected] = .COORDINATES[[email protected]];
		[email protected] = .COORDINATES[[email protected] + 1];

		movenpc("hourly_event", [email protected], [email protected]);

		.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", [email protected];
  attachrid [email protected];
  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
		);

		[email protected] = rand(getarraysize(.COORDINATES));
		[email protected] = .COORDINATES[[email protected]];
		[email protected] = .COORDINATES[[email protected] + 1];

		movenpc("hourly_event", [email protected], [email protected]);

		.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", [email protected];
  attachrid [email protected];
  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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0