Originally posted by tbvp
Originally posted by nprz
Not seeing how that would work because when the player logs off their HP/Mana/Stamina is not stored. So when they log back in the server doesn\'t know how much they had to do that calculation.
1) I explained that in my post, and it has been talked about in previous posts, maybe you should reread it.
I just don\'t see the point in bothering to give stats back to people while they are logged off.
Originally posted by nprz
I\'d just vote to put those stats in the database. It is annoying to exploit this feature because of having to load hundreds of megs into RAM but it does give some advantage to people who do exploit it.
2)Hundreds of megs? You loading the whole gosh darn game into ram or something? Sure there is the bit of a wait to reload the world map, but hundreds of megs?
I\'m not retarded, not but when I open up Task Manager and look at psclient.exe it says 245 MB, which is how much RAM it is using up.
Originally posted by nprz
If you are concerned with storage, then store the percent (rounded to the nearest integer) and it would only take 1 byte. But if you are grabbing all of that user\'s information from the database already, 3 cells won\'t change access time.
3)Huh? if players vitals are already stored, which I don\'t think they are yet, then there wouldn\'t be any storing of other numbers. The simple calculation would be done when the trigger would be called once the player started the relog process.
Once again, I don\'t see the importance of regenerating while not in the game. The importance would be not having it start at 100% everytime they enter the game. And my argument was that since vitals aren\'t stored, it would add to the database, but since each character\'s data is probably all being fetched at once, 3 cells won\'t make any large effect on CPU usage. Especially since it only needs to be updated when the player leaves and fetched when they enter (of course with the reliability of the server, this might upset people after regenerating their stats to have the server crash and not save them).
4) welcome to the forums. have a nice day.
Thank you for the warm welcome.