Rest HP Regen
Hello All.
I fired up a new server today to test modern code (my current server is very old) and I am having an issue with HP Regen. I do not have these rules on my current server so they are new to me. ruleset_id | rule_name | rule_value 1 Character:RestRegenEnabled true 1 Character:RestRegenEnd 180 1 Character:RestRegenEndurance true 1 Character:RestRegenHP 180 1 Character:RestRegenMana 180 1 Character:RestRegenPercent 20 10 Character:RestRegenPercent 20 1 Character:RestRegenRaidTimeToActivate 10 1 Character:RestRegenTimeToActivate 10 6 Character:RestRegenTimeToActivate 10 5 Character:RestRegenTimeToActivate 10 These rules have been tested in tutorialb (rule set 1) and East Commons (rule set changes to 1). However, the HP regen does not seem to take effect. The Character:RestRegenTimeToActivate rule does appear to work (changing the rule also changes the in game timer). XP modifiers also appear to be working as expected. Also, the regen seems to be consistent. I created a test character (human / warrior) ran around tutorialb and took some damage. After leaving combat the rest timer ticked down from 10 (as expected). But, while sitting, standing or resting HP only went up by 2 HP per tick. I expected 20% per tick. Server Windows Server 2016 Installed using Akka's Server Installer (today 1/1/2019) Client: SoF2 I found a few other post on the topic, but nothing seemed to take effect in game. I have been logging out -> stopping the serer -> making changing and reloading the server just to make sure. |
I've literally tried adjusting every single one of those numbers to get it to work and ive actually made things to where no regen is applied at all. Wish I could help ya boss but im lost with that.
|
Client doesn't show OOC regen. You will notice they're labeled Combat Regens in the UI.
Character:RestRegenPercent isn't used anymore Character:RestRegenEnd, Character:RestRegenHP, and Character:RestRegenMana are in seconds to go from 0 to full while OOC and sitting. Again, the UI will not show this. |
Did anyone get this working? I updated my source code last night, and I cannot modify the rest regen amounts. RestRegenEnabled and RestRegenTimeToActivate are working; however, RestRegenHP seems to do nothing.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Character:RestRegenEnd
Character:RestRegenHP Character:RestRegenMana These are the rules you want to set. you can get percentage doing 6 * (100 / value) You can screw with values with #rules. |
Also the time to activate makes a difference. Instant would be 0. If you have it set at 3 minutes to activate you won't enter rest mode until the timer is done. Cannot be debuffed etc.
Also, make sure client has OOC Regen. |
I'm still getting to know a bunch of the database so this is a relevant place to ask. Does the fast_regen_hp/mana/end columns in the zone table have an effect on the mentioned rule values ? They are default set at 180 right now.
|
Quote:
So that was a derp on my part :P |
Question - Did this change back to using the rule table? I tried changing the zone table values and it had no effect, whereas changing the regen rules in the rule values table most definitely had an effect. Or is there some indicator I missed that controls which table to use?
|
Is it possible to reduce the timer that counts down when out of combat but not in fast regen mode?
|
Quote:
|
All times are GMT -4. The time now is 11:50 PM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.