Open Razish opened 9 months ago
As far as I understand the problem in Issue #1146 , wouldn't it also work to make sure IPstring is purged on disconnect? What would make the solution here better?
As far as I understand the problem in Issue #1146 , wouldn't it also work to make sure IPstring is purged on disconnect? What would make the solution here better?
If it was cleared in game module that might be fine. If in server, not so good. It'd be nice to solve this in a way that doesn't require an engine update.
That said, this is a nice and long overdue cleanup of the code either way and certainly can't hurt.
Also, is it possible that the ip is not deleted in order to detect reconnets?
Fixed connection status checks in
g_antiFakePlayer
. Replicated the check in the engine.g_antiFakePlayer
->sv_antiFakePlayer
g_maxConnPerIP
->sv_maxConnPerIP
Fixes #1146