EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::General Support (https://www.eqemulator.org/forums/forumdisplay.php?f=598)
-   -   Client / Server food sync (https://www.eqemulator.org/forums/showthread.php?t=33717)

Tabasco 06-16-2011 08:56 AM

Client / Server food sync
 
In my ongoing effort to find new and interesting ways to kill my players, I tried to introduce starvation and dehydration.
This works, however I've noticed that the client and server get out of sync after a few eating cycles. The server thinks the client should be hungry but the client won't let a player consume food. On most servers that's probably not a problem because the consumption multipliers are standard or higher and nobody cares about eating.
Is there a way to tell the client what the hunger level should be or is that something the client won't budge on? I've been looking in the stamina updates, but it doesn't look like the client cares about anything it receives there.

trevius 06-17-2011 12:39 AM

You will need to figure out the formulas for consumption rates. I think they may already be close somewhat, but they definitely aren't perfect from what I recall. The cast time setting on the food/drink is related to the interval between when you can eat or drink again, but you would need to do testing to figure out the exact numbers.

It would be nice to figure out the alcohol tolerance formula, as that can get out of sync with the server too which can cause the client and server inventories to lose sync which can cause item loss. I have just never had enough time and will to run all of the tests needed to get decent formulas.

Tabasco 06-18-2011 12:34 AM

Thanks for the information, just knowing that what we have is an estimate is helpful. I already have some debugging framework in place so when I get some time I'll do some testing and throw booze in the mix as well.


All times are GMT -4. The time now is 04:23 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.