Radian Posted March 17, 2015 Posted March 17, 2015 View File 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 Radian Submitted 03/17/2015 Category Utilities Video Content Author Radian 1 Quote
magic2938 Posted March 18, 2015 Posted March 18, 2015 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 Quote
Radian Posted March 18, 2015 Author Posted March 18, 2015 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 Quote
Fantastik Posted March 20, 2015 Posted March 20, 2015 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. Quote
Radian Posted March 20, 2015 Author Posted March 20, 2015 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 ] Quote
Titan Posted April 6, 2015 Posted April 6, 2015 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 Quote
cutekram Posted August 29, 2015 Posted August 29, 2015 how can i add a announce to people got a reward when they reach to 99 help pls Quote
Radian Posted August 29, 2015 Author Posted August 29, 2015 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; Quote
cutekram Posted August 30, 2015 Posted August 30, 2015 @F O R D Thanks and how can i make it announce in yellow color? Quote
Zell Posted August 30, 2015 Posted August 30, 2015 @ F O R D Thanks and how can i make it announce in yellow color? be_yellow maybe? Quote
Radian Posted August 30, 2015 Author Posted August 30, 2015 how? replace the old line with this. announce "Congrats! " + strcharinfo(0) + " he/she reached the maximum level",bc_all; Quote
cutekram Posted August 30, 2015 Posted August 30, 2015 thank you sir FORD more POWER !!!! THANKS Quote
Quazy Posted September 9, 2015 Posted September 9, 2015 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; } } Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.