ZelosAvalon Posted January 13, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 181 Reputation: 33 Joined: 11/11/12 Last Seen: 1 hour ago Share 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 Link to comment Share on other sites More sharing options...
Emistry Posted January 13, 2013 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2369 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share 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 Link to comment Share on other sites More sharing options...
0 GM Henry Posted January 27, 2017 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 44 Reputation: 9 Joined: 03/07/13 Last Seen: April 12, 2023 Share 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 Link to comment Share on other sites More sharing options...
0 skymia Posted April 18, 2017 Group: Members Topic Count: 63 Topics Per Day: 0.02 Content Count: 298 Reputation: 4 Joined: 02/19/17 Last Seen: May 26, 2024 Share 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 Link to comment Share on other sites More sharing options...
mrlongshen Posted January 13, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted January 13, 2013 better you use ROTD. 1 Quote Link to comment Share on other sites More sharing options...
Mystery Posted January 14, 2013 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share Posted January 14, 2013 You can always try this. People told me it's working and there isn't problems with it yet. :> Quote Link to comment Share on other sites More sharing options...
ZelosAvalon Posted January 14, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 181 Reputation: 33 Joined: 11/11/12 Last Seen: 1 hour ago Author Share 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 Link to comment Share on other sites More sharing options...
Mystery Posted January 14, 2013 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share 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 Link to comment Share on other sites More sharing options...
ZelosAvalon Posted January 14, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 181 Reputation: 33 Joined: 11/11/12 Last Seen: 1 hour ago Author Share 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 Link to comment Share on other sites More sharing options...
Dastgir Posted January 14, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 331 Reputation: 63 Joined: 11/29/11 Last Seen: Saturday at 10:21 AM Share 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 Link to comment Share on other sites More sharing options...
Mystery Posted January 15, 2013 Group: Members Topic Count: 94 Topics Per Day: 0.02 Content Count: 2192 Reputation: 253 Joined: 11/11/11 Last Seen: June 24, 2020 Share 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 Link to comment Share on other sites More sharing options...
ZelosAvalon Posted January 15, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 181 Reputation: 33 Joined: 11/11/12 Last Seen: 1 hour ago Author Share 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 Link to comment Share on other sites More sharing options...
Capuche Posted January 15, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share 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 Link to comment Share on other sites More sharing options...
ZelosAvalon Posted January 21, 2013 Group: Members Topic Count: 72 Topics Per Day: 0.02 Content Count: 181 Reputation: 33 Joined: 11/11/12 Last Seen: 1 hour ago Author Share 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 Link to comment Share on other sites More sharing options...
Dastgir Posted January 21, 2013 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 331 Reputation: 63 Joined: 11/29/11 Last Seen: Saturday at 10:21 AM Share Posted January 21, 2013 Use This, Nothing to Configure, On Weekend it just double the base/job exp rate and announces. EXP.txt Quote Link to comment Share on other sites More sharing options...
Saisho Posted February 23, 2013 Group: Members Topic Count: 52 Topics Per Day: 0.01 Content Count: 185 Reputation: 20 Joined: 01/06/13 Last Seen: November 11, 2018 Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.