ZelosAvalon Posted January 13, 2013 Posted January 13, 2013 i need a script if i can put double exp on wekend, if possible I would like to to choose the day and time event will happen, but if no1 have it can post for me just a script for double exp for all server just on Saturday and Sunday. Quote
Emistry Posted January 13, 2013 Posted January 13, 2013 you can adjust this script.. trunk/npc/custom/etc/floating_rates.txt //add any other HOURS OnHour00: OnHour06: OnHour12: OnHour18: //------------------- set $@brate,rand(100,150); set $@jrate,rand(100,150); set $@drate,rand(100,150); Quote
0 GM Henry Posted January 27, 2017 Posted January 27, 2017 On 21-1-2013 at 8:56 AM, Dastgir said: Use This, Nothing to Configure, On Weekend it just double the base/job exp rate and announces. EXP.txt Is this Friday Saturday and Sunday or starts at Saturday? Quote
0 skymia Posted April 18, 2017 Posted April 18, 2017 On 1/14/2013 at 1:34 PM, Dastgir said: Weekend Double Exp Event: - script FloatingRates -1,{ OnInit: OnClock0001: if(gettime(4)==6 || gettime(4)==0 ) { set .br,getbattleflag("base_exp_rate")*2; set .jr,getbattleflag("job_exp_rate")*2; setbattleflag("base_exp_rate"), .br; setbattleflag("job_exp_rate"), .jr; atcommand "@reloadmobdb"; end; } if(gettime(4) == 1) { announce "Weekend Exp Event is finished",bc_all,0xFF6060; atcommand "@reloadbattleconf"; atcommand "@reloadmobdb"; } end; OnMinute02: if(gettime(4)==6 || gettime(4)==0 ) { announce "Weekend Exp Event(Base:"+.br/100+"x, Job:"+.jr/100+"x) is active!!",bc_all,0xFF6060; } end; } does this script works? Quote
Mystery Posted January 14, 2013 Posted January 14, 2013 You can always try this. People told me it's working and there isn't problems with it yet. :> Quote
ZelosAvalon Posted January 14, 2013 Author Posted January 14, 2013 You can always try this. People told me it's working and there isn't problems with it yet. :> my server rates is 5x who i can configure this script part: set $@brate,rand(100,150); // Change the value here for your Base Experience set $@jrate,rand(100,150); // Change the value here for your Job Experience 100 and 150 ? I have to modify? Quote
Mystery Posted January 14, 2013 Posted January 14, 2013 You can always try this. People told me it's working and there isn't problems with it yet. :> my server rates is 5x who i can configure this script part: set $@brate,rand(100,150); // Change the value here for your Base Experience set $@jrate,rand(100,150); // Change the value here for your Job Experience 100 and 150 ? I have to modify? Check this thread to help you. 100 = 1x 150 = 1.5x 1 Quote
ZelosAvalon Posted January 14, 2013 Author Posted January 14, 2013 You can always try this. People told me it's working and there isn't problems with it yet. :> my server rates is 5x who i can configure this script part: set $@brate,rand(100,150); // Change the value here for your Base Experience set $@jrate,rand(100,150); // Change the value here for your Job Experience 100 and 150 ? I have to modify? Check this thread to help you. 100 = 1x 150 = 1.5x My rate is 5x, so I must change: 100 per 500,150 per 1000 ? correct ? Quote
Dastgir Posted January 14, 2013 Posted January 14, 2013 Weekend Double Exp Event: - script FloatingRates -1,{ OnInit: OnClock0001: if(gettime(4)==6 || gettime(4)==0 ) { set .br,getbattleflag("base_exp_rate")*2; set .jr,getbattleflag("job_exp_rate")*2; setbattleflag("base_exp_rate"), .br; setbattleflag("job_exp_rate"), .jr; atcommand "@reloadmobdb"; end; } if(gettime(4) == 1) { announce "Weekend Exp Event is finished",bc_all,0xFF6060; atcommand "@reloadbattleconf"; atcommand "@reloadmobdb"; } end; OnMinute02: if(gettime(4)==6 || gettime(4)==0 ) { announce "Weekend Exp Event(Base:"+.br/100+"x, Job:"+.jr/100+"x) is active!!",bc_all,0xFF6060; } end; } 1 Quote
Mystery Posted January 15, 2013 Posted January 15, 2013 My rate is 5x, so I must change: 100 per 500,150 per 1000 ? correct ? 500 = 5x 1000= 10x 1 Quote
ZelosAvalon Posted January 15, 2013 Author Posted January 15, 2013 My rate is 5x, so I must change: 100 per 500,150 per 1000 ? correct ? 500 = 5x 1000= 10x is as it should be? for a 5x server ? //===== rAthena Script ======================================= //= Floating Rates //===== Support ============================================== //= Vist: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/doc/script_commands.txt //= to know how to change the time settings //===== By: ================================================== //= Mysterious //===== Current Version: ===================================== //= 1.5 //===== Compatible With: ===================================== //= rAthena SVN //===== Description: ========================================= //= EXP Doubles on Weekends //===== Other Information: =================================== // Every weekend, starting on Fridays, players will gain // double EXP. The script will announce when Double EXP has // begun so that players know. //===== TODO: ================================================ // 1) Optimize script a little more // 2) Make script more friendly //===== Additional Comments: ================================= //= v1.0 - Intitial Re-release [Mysterious] //= v1.1 - Made it so that it starts on Friday, ends on Sunday [Mysterious] //= v1.2 - Optimized entire script [Mysterious] //= v1.3 - Made it more friendly [Mysterious] //= v1.4 - Optimized [Mysterious] //= v1.5 - Adjusted a few things [Mysterious] //============================================================ - script FloatingRates -1,{ OnInit: //Note: You can always set a standard exp. rate or set it as a rand set $@brate,rand(500,1000); // Change the value here for your Base Experience set $@jrate,rand(500,1000); // Change the value here for your Job Experience // ========================= OnClock0000: if(gettime(4)==4 || gettime(4)==5 || gettime(4)==6 ) { // Friday, Saturday, Sunday //Base Experience setbattleflag("base_exp_rate",$@brate); //Job Experience setbattleflag("job_exp_rate",$@jrate); // Reload the database atcommand "@reloadmobdb"; } end; } // We will announce about the EXP rates every 01 Minute of every Hour so that player's know what's going on - script FloatingAnn -1,{ OnMinute01: if(gettime(4)==4 || gettime(4)==5 || gettime(4)==6 ) { // Friday, Saturday, Sunday announce "Double EXP is currently in affect with 1."+($@brate-500)+"x/1."+($@jrate-500)+"x rates!",bc_all,0xFF6060; } end; } - script FloatingAnn#1 -1,{ OnClock1159: if(gettime(4) == 0) { // On Sunday at 11:59pm server time, Double EXP event will end announce "Weekend Double EXP has finished!",bc_all,0xFF6060; setbattleflag("base_exp_rate", 500); // Set this rates back to your regular server's rates setbattleflag("job_exp_rate", 500 ); // Set this rates back to your regular server's rates atcommand "@reloadmobdb"; } end; } Quote
Capuche Posted January 15, 2013 Posted January 15, 2013 (edited) // Rate at which exp. is given. (Note 2) base_exp_rate: 100 // Rate at which job exp. is given. (Note 2) job_exp_rate: 100 As you can see, there are 2 rates : base_exp_rate and job_exp_rate in your trunk/conf/battle/exp.txt Check yours rates and you change this setting to double exp ~ set $@brate, base_exp_rate * 2; // Change the value here for your Base Experience set $@jrate, job_exp_rate * 2; // Change the value here for your Job Experience Edited January 15, 2013 by Capuche Quote
ZelosAvalon Posted January 21, 2013 Author Posted January 21, 2013 (edited) My rate is 5x, so I must change: 100 per 500,150 per 1000 ? correct ? 500 = 5x 1000= 10x i really dont understand this script, I tried to put this event over the weekend, but it didn't work, he could pass me already configured for a server 5x? Edited January 21, 2013 by ZelosAvalon Quote
Dastgir Posted January 21, 2013 Posted January 21, 2013 Use This, Nothing to Configure, On Weekend it just double the base/job exp rate and announces. EXP.txt Quote
Saisho Posted February 23, 2013 Posted February 23, 2013 is this script right? i was thinking it was fix in 2x but looks like it keeps increasing the exp every certain amount of time during the day Quote
Question
ZelosAvalon
i need a script if i can put double exp on wekend, if possible I would like to to choose the day and time event will happen, but if no1 have it can post for me just a script for double exp for all server just on Saturday and Sunday.
15 answers to this question
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.