View Single Post
psychonic

BAFFLED
Join Date: May 2008
Old 07-09-2015 , 12:49   Re: [TF2] Detouring CLog::Print not quite working
Reply With Quote #9

Quote:
Originally Posted by Powerlord View Post
I was under the impression that certain games use a new connect event, player_connect_client.

CS:GO and TF2 specifically.
CS:GO only has player_connect and no longer sets the IP address in it. TF2 added a second event, player_connect_client that does not have the IP address set and gets broadcast to clients. TF2 still has player_connect, and it still triggers the serverside logging.

A better approach for both of them would have just been to mark the IP field as type "local", so that the event would stay as-is, with the exception of that field not being broadcasted with it to clients.
psychonic is offline