Raised This Month: $51 Target: $400
 12% 

Solved [TF2] Client is not in game bug


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Mitchell
~lick~
Join Date: Mar 2010
Old 08-15-2019 , 15:33   Re: [TF2] Client is not in game bug
Reply With Quote #24

I also saw this issue, gonna be honest I stoped reading these comments since they didn't seem to read the code you posted.
If a player disconnects and reconnects they are given a new userId, this means this error should theoretically only show up if a player joins then a map change happens. (Disconnect/Connect forwards still fire etc). GetClientOfUserId I don't think does an in-game or connecting check since they are still technically 'connected'. In TF2 the server hibernates, meaning if a player joins they would spawn in and then the map would change, meaning the timer could still trigger.

TL;DR: Put the TIMER_FLAG_NO_MAPCHANGE flag on the timer.

I assume this is the issue but you can confirm in the logs and the timestamps of the map change log.

Last edited by Mitchell; 08-15-2019 at 15:43.
Mitchell is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode