Jump to content

Utility: Reach to the Max


Radian

Recommended Posts


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Reach to the Max


I made a little changes on this script. and all settings can be seen in the script.

OnInit:
	// NPC Header Name
	.np$ = "[^009900 Race Event ^000000]";

	// Activate Event? 1 = on / 0 = off default
	.e_active = 1;

	// Set the first account id here
	// to where you want to start this event.
	.acc_strt = 2000000;

	// Set the last accound id here
	// beyond this account id will no
	// longer acceptable.
	.acc_end = 2000020;

	// Max Base & Job Level here!
	.b_lvl = 99;
	.j_lvl = 70;

	// Rewards per winner. <itemid1>,<itemamt1>,....
	setarray .itemre, 501,10,502,10,503,10,504,10,505,5;

	// Waitingroom
	waitingroom "Race Event",0;

	end;

 


  • Submitter
  • Submitted
    03/17/2015
  • Category
  • Video
  • Content Author
    Radian

 

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  29
  • Reputation:   0
  • Joined:  07/06/14
  • Last Seen:  

is this can use @rebirth system 
after they reach 255/120 and they reach 20 rebirths 

they will automatically get the reward like this script

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

is this can use @rebirth system 

after they reach 255/120 and they reach 20 rebirths 

they will automatically get the reward like this script

 

I'm sorry.. I can't 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  26
  • Reputation:   1
  • Joined:  12/03/11
  • Last Seen:  

Can you also add option for a maximum player only. Like only the first 20 players will get the reward and a option to disabled it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

Can you also add option for a maximum player only. Like only the first 20 players will get the reward and a option to disabled it.

 

Just set this to the starting point of the players account and the end.

	.aid_start = 2000000;	// Set the Account ID here where you want to start. [ set this to 0 = disable ]
	.aid_end = 2000020;	// Set the ending Account ID here. [ set this to 0 = disable ]
Link to comment
Share on other sites

  • 3 weeks later...

  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  135
  • Reputation:   4
  • Joined:  11/23/12
  • Last Seen:  

 

Can you also add option for a maximum player only. Like only the first 20 players will get the reward and a option to disabled it.

 

Just set this to the starting point of the players account and the end.

	.aid_start = 2000000;	// Set the Account ID here where you want to start. [ set this to 0 = disable ]
	.aid_end = 2000020;	// Set the ending Account ID here. [ set this to 0 = disable ]

what if some of the players within that account id didn't participate? tnx

Link to comment
Share on other sites

  • 4 months later...

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  08/08/13
  • Last Seen:  

how can i add a announce to people got a reward when they reach to 99 help pls

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

how can i add a announce to people got a reward when they reach to 99 help pls

 

on this line

getitem .reward[.@i],.amount[.@i];

and add this below

announce "Congrats! " + strcharinfo(0) + " he/she reached the maxium level",bc_blue,bc_all;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  08/08/13
  • Last Seen:  

@F O R D Thanks and how can i make it announce in yellow color?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  53
  • Topics Per Day:  0.01
  • Content Count:  411
  • Reputation:   261
  • Joined:  04/25/12
  • Last Seen:  

@

F O R D Thanks and how can i make it announce in yellow color?

be_yellow maybe?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  08/08/13
  • Last Seen:  

how?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  162
  • Topics Per Day:  0.05
  • Content Count:  1546
  • Reputation:   192
  • Joined:  07/23/14
  • Last Seen:  

how?

 

replace the old line with this.

announce "Congrats! " + strcharinfo(0) + " he/she reached the maximum level",bc_all;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  30
  • Reputation:   0
  • Joined:  08/08/13
  • Last Seen:  

thank you sir FORD more POWER !!!! THANKS

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  44
  • Reputation:   0
  • Joined:  11/21/13
  • Last Seen:  

hi radian can i ask how can i make this reward enable not only in 1 character per account but atleast 3 character per account can claim here when they reach the max level? here is your script

 

// -- A very simple script that made by me (Radian)
// -- Compatible with rAthena.
// -- I don't mind if you want to optimized this
// -- just please include me on the credits :)
 
prontera,153,151,4 script Race to the Max 125,{
 
if ( .enable_event ) {
 
if ( getcharid(3) > .aid_end ) {
mes "[ ^777777Account ID Checker^000000 ]";
mes "I'm sorry you are late to avail this..";
close;
}
 
if ( getcharid(3) < .aid_start ) {
mes "[ ^777777Account ID Checker^000000 ]";
mes "It's impossible you are below of the id we required to obtained the special event rewards.";
close;
}
 
if ( BaseLevel < .max_base_level || JobLevel < .max_job_level ) {
mes "[ ^00FF00Race Up to Max^000000 ]";
mes "We're sorry you are not qualified yet on this event, please come back when you are base level is "+.max_base_level+" and job level is "+.max_job_level+".";
close;
}
 
if ( #Reward == 1 ) {
mes "[ ^FF0000FATAL ERROR^000000 ]";
mes "We apologize that you are not qualified any more to receive or get a special reward from us.";
close;
}
mes "[ ^0000FFCongratulation Note^000000 ]";
mes "We verified that you are qualified and will receive a reward from us.";
for ( .@i = 0;  .@i < getarraysize(.reward); .@i++ )
for ( .@i = 0; .@i < getarraysize(.amount); .@i++ )
getitem .reward[.@i],.amount[.@i];
announce "Congrats! " + strcharinfo(0) + " he/she reached the maximum level",bc_all;
set #Reward, 1;
close;
 
OnInit:
// ------------------------------------------------------------ \\
.enable_event = 1; // Set 0 = Disable / 1 = Enable Default.
.max_base_level = 99; // Set the maximum base level here.
.max_job_level = 70; // Set the maximum job level here.
.aid_start = 2000000; // Set the Account ID here where you want to start. [ set this to 0 = disable ]
.aid_end = 2000000; // Set the ending Account ID here. [ set this to 0 = disable ]
setarray .reward,501,502,503,504,505; // Set the rewards here.
setarray .amount,1,1,1,1,1; // Set the reward amouns here.
waitingroom "Race to the Max",0; // Waiting Room.
// ------------------------------------------------------------- \\
end;
}
}
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
Reply to this topic...

×   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...