Jump to content

norightinfo

Members
  • Content Count

    12
  • Joined

  • Last visited

  1. Hi do you happen to know where I can find this plugin?
  2. Oh, I see. that's too bad, I really love Hercules performance and script designed compared to rAthena (my opinion), is this how the Hercules be going forward? or are there any plans on adding it back?, I can't seems to find articles about it here. Is there a plugins that's similar to adding drop rate bonus to the item?
  3. Hi Herc's, I was just wondering if you have any workaround on the giving an item bonus droprate like the one in rAthena: bonus2 bDropAddRace,r,x; Adds x% to player's drop rate when killing a monster with race r. bonus2 bDropAddClass,c,x; Adds x% to player's drop rate when killing a monster with class c. I already check some of the post regarding this function, but to no avail. The only solution I found is used the field manual and bubble gum item script, however it is showing a status icon when equipping the item. OnEquipScript: <"sc_start SC_CASH_PLUSEXP,-1,10; sc_start SC_CASH_RECEIVEITEM,-1,10;"> OnUnequipScript: <" sc_end SC_CASH_PLUSEXP; sc_end SC_CASH_RECEIVEITEM;"> any workaround on this? like not showing the status icon and not affecting the original field manual and bubblegum item effect?
  4. Hi so I have been testing the floating rates, and tried the gettimetick(); function, however it seems that it goes straight to else and I can't seem to figure out the logic issue Here's my code: - script FloatingRatesStart FAKE_NPC,{ OnInit: //add HOURS for starting OnClock0300: OnClock0900: OnClock1500: OnClock2100: //------------------- if((gettimetick(GETTIME_HOUR) >= 15 && gettimetick(GETTIME_HOUR) < 18) || (gettimetick(GETTIME_HOUR) >= 21 && gettimetick(GETTIME_HOUR) < 24) || (gettimetick(GETTIME_HOUR) >= 3 && gettimetick(GETTIME_HOUR) < 6)) { set $@brate,1000; set $@jrate,1000; set $@drate,500; //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 "The floatings rates has started, rates are: 10x 10x 5x",bc_all,0xFF6060; end; } else { set $@brate,500; set $@jrate,500; set $@drate,300; //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 "The floating rates has ended, rates are back to normal!",bc_all,0xFF6060; end; } }
  5. Hi~ Okay so the script works and I have been checking on this for awhile, However I notice something. Everytime I close the emulator and re-run it again, the floating rates resets back to the server exp setup. Example: at 3PM, the floating rates starts with the adjusted experience set, however at around 3PM and 4minutes (3:04pm) I closed the emulator to like apply some other npc. when I restarted the emulator, and check the rates it adjusted back to the original server experience., How do I improved on this? I tried checking the gettimetick function but can't seem to make it work. I tried to apply something like: if(gettimetick(GETTIME_HOUR) >= 15 && gettimetick(GETTIME_HOUR) < 18) as I understand 15 = 3PM / 18 = 6pm so like 17 would be 5pm (since I want it to work from 3PM to 5PM) But I don't know if I am on the correct path.
  6. Hi @Kuya Jeo yes, I adjusted the time, and it appears to be working.
  7. Hi @Kuya Jeo, thank you for this, There was an issue with "unexpected new line string..", however I was able to figure it out. It was on this line
  8. Hi~ I have been trying to analyze and modifying this script by @AnnieRuru https://github.com/AnnieRuru/Release/blob/master/scripts/Utility/daily supply/daily_supply_0.3.txt However nothing seems working as it was too complicated for me. Basically what I wanted is simple Daily Supply NPC script + Give 4 items (different items that I can set) + Once per account only (not per character) + No confirmation Dialog, it just gives the item upon clicking the NPC + If the user already claim the supply, an message bubble will show on top of NPC informing that they already claim the supply (ex. You already claim your reward today) + Although it is daily it will just reset every 12AM
  9. Hi @Kuya Jeo and @Neffletics, thank you so much for this it is working now, thank you also @Daraen for providing me this link, I really appreciate the response everyone thank you.
  10. Hi @Neffletics ok I did try your code, however the script starts directly. Even if it wasn't the desired time yet. Here's the script: - script FloatingRatesStart FAKE_NPC,{ OnInit: //add HOURS for starting OnHour03: OnHour09: OnHour15: OnHour21: //------------------- set $@brate,1000; set $@jrate,1000; set $@drate,500; //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 "The Floating rates has started, rates are: 10x 10x 5x",bc_all,0xFF6060; end; } - script FloatingRatesEnd FAKE_NPC,{ OnInit: //add HOUR for ending OnHour05: OnHour12: OnHour17: OnHour23: //------------------- set $@brate,500; set $@jrate,500; set $@drate,300; //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 "The Floating rates has ended, rates are back to normal!",bc_all,0xFF6060; end; }
  11. Hi @Neffletics thank you so much for this, Also @Daraen do you have any reference on this method? so that I can study on this in the future.
  12. Hi, I just started using Hercules and understand how it works. currently, I am trying to modify the included floating_rates script. - script FloatingRates FAKE_NPC,{ OnInit: //add any other HOURS OnHour03: OnHour05: OnHour12: OnHour18: //------------------- set $@brate,rand(100,150); set $@jrate,rand(100,150); set $@drate,rand(100,150); //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; } So basically, I just want it to activate everyday, let's say a certain time during the day: example: - start at 1AM - ends at 3AM then start again at 9AM ends at 11AM, however between those times it will return to the server experience rate example: server rate is 5x/5x/3x (base/job/drops) then during floating rate hours it will be go a total of 10x/10x/4x in addition, once it starts it announce, once it ends it also announce. I tried looking up to different floating_rates request, however I am unable to understand much. I really appreciate if anyone can enlighten me on this.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.