Quote:
Originally Posted by kNowo
During my debugging, the pdata offset of 124 (m_flLastActivityTime) is set to the time when a player dies because his lastbutton pdata offset (245) is set to IN_SCORE (32768) at that time.
I can think of 2 solutions:
1. hook cmdstart and block the key
2. save the player's last activity time at pre death and set that value at post death
I'm sure they are a few other methods too. What is the best method to fix this bug?
EDIT: Also, it seems that lastactivity_normalizer.sma is not working correctly. Plugin is running but the pdata is still getting updated on death and pre spawn events of an afk player.
|
omg, it is fixed since last hlds build and this topic is older than 2010.
update your server and use mp_autokick and mp_autokick_timeout vars.
__________________