Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On my Ultra RPG there is a hp regen bug, armor bug and health bug #329

Open
mikcla opened this issue Oct 28, 2019 · 2 comments
Open

On my Ultra RPG there is a hp regen bug, armor bug and health bug #329

mikcla opened this issue Oct 28, 2019 · 2 comments

Comments

@mikcla
Copy link

mikcla commented Oct 28, 2019

A ultra rpg is a normal rpg, but i have turned super high op for how many times you can upgrade in a upgrade, and how much it gives. You also get way more exp, then normal.

Hp regen. On my server, when you have high health like 30k or something and you have some hp regen. Then when you hp regen to max health, then you go down to like 3k hp and regen up. This goes on in a loop. its should stop when it hits max hp.

Armor plus, each upgrade in armor should give 500 more armor, but the number seems to cap of at 255.

Health, it seems you cant get more than 30k hp.

@peace-maker
Copy link
Owner

Those sound like limits of the game. It probably uses an unsigned byte to store armor and a short for the health? Are you sure it's possible to have more than 255 armor or more than 32k health?

@mikcla
Copy link
Author

mikcla commented Jan 18, 2020

@peace-maker I went into a privat match and test some stuff with health. So it seems the limit for max health is 32768, however when you reach this the health bar is gone. If you give yourself higher health than this, it shows the amount you are over max health, until you hit 32768 again, then it loops another time. However when i take damage it goes to 0 and then goes to 32768 and then down, until i dont have anymore health.

So you can have higher than 32768 health, it just wont show it. When you upgrade it health regen, it seems to mess up, and it throws away the earlier loops/lairs of health you had. So the problem is health regen.

I chould not find out how to add more than 100 armor i the privat match so i don´t know to fix that. but the health thing is mutch more inportant.

Sry if my languge isn´t optimal. Commet if there is something you didn´t understand :) and i hope to hear form you soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants