Issue information

Issue ID
#6094
Status
New
Severity
None
Started
Hercules Elf Bot
Jun 22, 2012 15:56
Last Post
Hercules Elf Bot
Jun 25, 2012 21:46
Confirmation
Yes (0)
No (4)

Hercules Elf Bot - Jun 22, 2012 15:56

Originally posted by [b]Seraph Sephiroth[/b]
Hello people :}

I ran into a rather odd problem using rAthena 16243.
Setting maximum HP to 75000000 (correctly, mind you)
I found a few unpleasant malfunctions;

When the HP value approaches max, it decreases suddenly by large amounts
and the percentage display of the hitpoints turn into negative values.

I have not tested the result on every single job, but what I do know
is that the job "Lord Knight" does in fact obey my HP rules with no serious issues
except that the HP percentage does display negative values (but I can live with that).

Basically, when a job should be able to hit 75000000 it hits around 20000000 instead
simply for not capping where it should.

Is this a known issue? And are there any ideas on how to resolve this?

Edit:

I just found out it has nothing to do with the absolute value of 75000000 in job settings, but it is a scale problem instead.
I tried setting hp_rate to 5% and end up with my High Wizard dropping back in HP after hitting a mere 3600000, whereas
it is able to reach at least 20000000 HP when hp_rate is left at 100%

This post has been edited by Seraph Sephiroth on Jun 22, 2012 16:22

Hercules Elf Bot - Jun 22, 2012 22:07

Originally posted by [b]GM Zimtkeks[/b]
Max HP you can have (at least visualy) is 20.000.000 HP.

I am not sure if you can actually go higher than that and the client just wont show it.

Hercules Elf Bot - Jun 23, 2012 22:41

Originally posted by [b]Seraph Sephiroth[/b]
[quote name='GM Zimtkeks' timestamp='1340402876' post='11096']
Max HP you can have (at least visualy) is 20.000.000 HP.I am not sure if you can actually go higher than that and the client just wont show it.
[/quote]

Well, the strange thing is: Lord Knight is able to hit a visually correct 75000000, but the percentage should say "100%" when fully healed, however it says "-14%" instead, this is not a serious concern of mine though. The problem is that no other jobs are allowed to hit 75000000 for some reason, and when approaching that amount through raising vitality the maximum HP will drop instead of being capped at 75000000.

So basically, for some reason I can't explain the system is being ignored by all jobs except for Lord Knight. Some jobs are able to hit far over 20000000 despite this issue, and High Wizard ends up having around 23000000+ HP.

Hercules Elf Bot - Jun 25, 2012 20:14

Originally posted by [b]Xantara[/b]
I tried this but my HP never decreased when approaching the max_hp, even when hp_rate is not equal to 100. Also, as the HP increased, it did max out at the given max_hp. I was using @allstats though for testing; perhaps that wasn't a good way....?

This post has been edited by Xantara on Jun 25, 2012 20:14

Hercules Elf Bot - Jun 25, 2012 21:46

Originally posted by [b]Seraph Sephiroth[/b]
[quote name='Xantara' timestamp='1340655272' post='11245']
I tried this but my HP never decreased when approaching the max_hp, even when hp_rate is not equal to 100. Also, as the HP increased, it did max out at the given max_hp. I was using @allstats though for testing; perhaps that wasn't a good way....?
[/quote]

I used the command "@vit" to reach the exact amount I set in my server rules, "7500".
After some more toying around with it I figured out how to fix the first part of my problem,
I am now able to get all jobs to my capped value "75000000" when 7500 vit is reached,
however because of how I fixed this issue (through increasing HPFactor in job_db1.txt)
the characters however do gain HP way too fast, and decreasing hp_rate only screws things up.
So I'll have to find a solution for that now, and maybe later I can look into the other issue I have
concerning this problem: The percentage will display -14 when a character is fully healed
at 75000000.

Any help concerning those issues is greatly appreciated.