[QUESTION]

05/18/2011 07:10 ac1dtab#1
Ok i have not asked any questions in quite a while as i have been getting better with my server ishues and have usualy figured them out but this one is giveing me mager ishues so i have turned to the wonderful and briliant minds of epvpers for help yet again..... ok my server has been running quite smooth for a few months now population still a little smaller then i like but hay it can only grow bigger with time. i have custome gear and lapis for players and they can quite easaly get past the 64k max hp mark causeing roleover i know i can change db row to store reguler int but that dosent fix ishu as anything above 32k give server dc... now i am asuming this is because psgame calls it as a small int or something like that. my question is...... is there anyway to make the max HP SP MP shown ingame reguler int and also store as reguler int to alow for higher HP players??
05/28/2011 08:05 ac1dtab#2
bump bump plzz any help
05/28/2011 09:00 zargon05#3
Yes you could but it would require extensive rewrite of commands inside ps_game which would be a hassle.
05/28/2011 11:36 Bаne#4
To dumb it down, it would require alot more work then you would want to do...
05/28/2011 16:46 castor4878#5
Quote:
Originally Posted by ac1dtab View Post
i have custome gear and lapis for players and they can quite easaly get past the 64k max hp mark causeing roleover i know i can change db row to store reguler int but that dosent fix ishu as anything above 32k give server dc.
it's not the case; a toon can have more than 32k HP, but still less than 64k.
(if your ps_game doesn't manage more than 32.767 pts, change it, I'm pretty sure all available there support 64k, and since you gave no info on your config...)

regarding handling of HP, SP, MP counters as 32-bit values (they are handled as unsigned 16-bit values), you would definitively forget that option.

from my opinion, the issue you have to fix is "i have custome gear and lapis", providing top-enormous-even-bigger figures does not change the game, you can divide all HP, defense and attacks by 10 or 100 without changing the game-play, the sole impact will be that these values will comply with the used arithmetic, and it's not a bad effect.
08/24/2011 00:06 [GMA]Neo#6
where are these hp mp sp files located so i can look at them?
08/24/2011 00:49 Bаne#7
GMAneo, look at the last date of a thread, if it's super old just make a new one..