Jump to content

Recommended Posts

Posted

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
Posted

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 

Posted

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 ]
  • 3 weeks later...
Posted

 

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

  • 4 months later...
Posted

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;
Posted

how?

 

replace the old line with this.

announce "Congrats! " + strcharinfo(0) + " he/she reached the maximum level",bc_all;
  • 2 weeks later...
Posted

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;
}
}

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...