whoo, the search button worked. anyways, after seeing a player abuse this method of health all night long it got me thinking about the subject again.
Originally posted by DaveG
Yeah, yeah, yeah... I just try to avoid adding more crap for the server to load (added up for every client, it is something that may me noticeable). But, Koshdukai already convinced me we might as well do it...
It\'ll get put in... soon...
Since its been awhile, I\'m not sure if this was done or not, but my suggestion follows assuming it was. I\'m not a programmer anymore so my skills are a bit, out of date, but would it be hard to take the last time a player logged out (Not sure if this is stored or not) and subtract that from the time the player is relogging in? Converting that number acheived to seconds and then running that number through a simple calulation to get a total amount of health gained while away and then adding it to the players health that they logged out with would fix the problem.
IE, a player logs out for a total of 40 seconds with 50% health (thier client crashed). That 40 seconds runs through the calculation (simplfied: 1% of health gain for every 2 seconds of real time, gives 20% health to be added). This 20% is added to thier recorded health upon log out, 50%, and they log in with 70% health.
This could be also added to the other player vitals as well. Welp, back to being silent I go.
EDIT: fixed a few typos.