Hatake Kakashi Posted June 20, 2014 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Share Posted June 20, 2014 please give me a script.. every 12pm - 6pm will enable or work this exp and drop times.. sample my normal exp rate is 60x and my drop is 30x so if 12pm today my server exp now is 120x and drop is 60x.. please give me and how to edit it. thank you. Quote Link to comment Share on other sites More sharing options...
sandbox Posted June 20, 2014 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 949 Reputation: 174 Joined: 06/12/12 Last Seen: Friday at 12:25 PM Share Posted June 20, 2014 We already have that, read this NPC. https://github.com/rathena/rathena/blob/master/npc/custom/etc/floating_rates.txt Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted June 21, 2014 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted June 21, 2014 (edited) how to edit this floating rates? into 12pm - 6pm Edited June 21, 2014 by Hatake Kakashi Quote Link to comment Share on other sites More sharing options...
Jyabil Posted June 21, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 89 Reputation: 7 Joined: 02/27/12 Last Seen: July 22, 2014 Share Posted June 21, 2014 how to edit this floating rates? into 12pm - 6pm Just remove the code below from the script that sandbox mentioned. OnHour00: OnHour06: Quote Link to comment Share on other sites More sharing options...
Hatake Kakashi Posted June 21, 2014 Group: Members Topic Count: 254 Topics Per Day: 0.05 Content Count: 825 Reputation: 3 Joined: 11/14/11 Last Seen: June 25, 2021 Author Share Posted June 21, 2014 so how to edit drop and exp rates? i try this edit.. my server exp rates is 80x and i want it to be 120 if the floating rates enable.. how to do? i tried this? is this correct? //===== rAthena Script ======================================= //= Floating Server Rates //===== By: ================================================== //= Lupus //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= It's a simply example of setbattleflag //= This script will change your server rates from 1x to 1.5x every 6 hours //= Note: It doesn't affect Card granted drops, MVP & Treasure Chests drops ^_- //= It also doesn't affect CARD drops, because they are just 0.01% //===== Additional Comments: ================================= //= You can make incredible scripts with 'setbattleflag'! //============================================================ - script FloatingRates -1,{ OnInit: //add any other HOURS OnHour12: OnHour18: //------------------- set $@brate,rand(12000,22000); set $@jrate,rand(12000,22000); set $@drate,rand(12000,22000); //Base exp setbattleflag("base_exp_rate",$@brate); //Job exp setbattleflag("job_exp_rate",$@jrate); //Drops setbattleflag("item_rate_common",$@drate); setbattleflag("item_rate_heal",$@drate); setbattleflag("item_rate_use",$@drate); setbattleflag("item_rate_equip",$@drate); //we don't change card drops rate, because these values won't change them anyway atcommand "@reloadmobdb"; announce "Current Rune-Midgard rates are: 1."+($@brate-100)+"x 1."+($@jrate-100)+"x 1."+($@drate-100)+"x",bc_all,0xFF6060; end; } Quote Link to comment Share on other sites More sharing options...
Jyabil Posted June 21, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 89 Reputation: 7 Joined: 02/27/12 Last Seen: July 22, 2014 Share Posted June 21, 2014 (edited) so how to edit drop and exp rates? i try this edit.. my server exp rates is 80x and i want it to be 120 if the floating rates enable.. how to do? i tried this? is this correct? //===== rAthena Script ======================================= //= Floating Server Rates //===== By: ================================================== //= Lupus //===== Current Version: ===================================== //= 1.0 //===== Compatible With: ===================================== //= rAthena Project //===== Description: ========================================= //= It's a simply example of setbattleflag //= This script will change your server rates from 1x to 1.5x every 6 hours //= Note: It doesn't affect Card granted drops, MVP & Treasure Chests drops ^_- //= It also doesn't affect CARD drops, because they are just 0.01% //===== Additional Comments: ================================= //= You can make incredible scripts with 'setbattleflag'! //============================================================ - script FloatingRates -1,{ OnInit: //add any other HOURS OnHour12: OnHour18: //------------------- set $@brate,rand(12000,22000); set $@jrate,rand(12000,22000); set $@drate,rand(12000,22000); //Base exp setbattleflag("base_exp_rate",$@brate); //Job exp setbattleflag("job_exp_rate",$@jrate); //Drops setbattleflag("item_rate_common",$@drate); setbattleflag("item_rate_heal",$@drate); setbattleflag("item_rate_use",$@drate); setbattleflag("item_rate_equip",$@drate); //we don't change card drops rate, because these values won't change them anyway atcommand "@reloadmobdb"; announce "Current Rune-Midgard rates are: 1."+($@brate-100)+"x 1."+($@jrate-100)+"x 1."+($@drate-100)+"x",bc_all,0xFF6060; end; } The code below from your script will set the rates randomly from 120 - 220. set $@brate,rand(12000,22000); set $@jrate,rand(12000,22000); set $@drate,rand(12000,22000); If you want it to be set to 120 only, it should be like these: set $@brate, 12000; set $@jrate, 12000; set $@drate, 12000; Also, change your announcement to: announce "Current Rune-Midgard rates are: "+($@brate * .01)+" x "+($@jrate * .01)+" x "+($@drate * .01),bc_all,0xFF6060; Note: The script will set your rates to 120 all the time. If you want to set it back to 80, you can add a timer or a new script that will change it back to 80. Edited June 21, 2014 by Jyabil Quote Link to comment Share on other sites More sharing options...
Question
Hatake Kakashi
please give me a script.. every 12pm - 6pm will enable or work this exp and drop times.. sample
my normal exp rate is 60x and my drop is 30x so if 12pm today my server exp now is 120x and drop is 60x..
please give me and how to edit it. thank you.
Link to comment
Share on other sites
5 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.