AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting (https://forums.alliedmods.net/forumdisplay.php?f=107)
-   -   Detouring OnValidateAuthTicketResponse, stopping/bypassing steamauth? (https://forums.alliedmods.net/showthread.php?t=324651)

foon 05-22-2020 17:29

Detouring OnValidateAuthTicketResponse, stopping/bypassing steamauth?
 
Ive been having SteamAuth issues (failure code 6 - meaning "Steam auth ticket has been canceled") for a while now. I've tried everything I can to fix this issue, even going to a base game install with no sourcemod, and it still happens to clients. I guess its just our server host. When it happens to a client, 99% of the time its on map change.

I went looking through the TF2 source (what im referring to is below in the spoiler) and came across:
Code:

void CSteam3Server::OnValidateAuthTicketResponse( ValidateAuthTicketResponse_t *pValidateAuthTicketResponse )
and
void CSteam3Server::OnValidateAuthTicketResponseHelper( CBaseClient *cl, EAuthSessionResponse eAuthSessionResponse )

Spoiler

Clients are always authed until the map change, then something happens and they lose it (losing connection to our server, or losing connection to steams).
I'm not sure if it is possible or not, but would there be a way to detour around OnValidateAuthTicketResponseHelper -> k_EAuthSessionResponseAuthTicketCanceled switch statement (or something to stop getting kicked for invalid auth ticket)? I know this could open up to people spoofing their ID's, but losing a bunch of people on map change isnt worth it (plus we assign admins based on IP, and ban via IP).

I'm willing to pay for a plugin if it comes to that.

asherkin 05-23-2020 14:01

Re: Detouring OnValidateAuthTicketResponse, stopping/bypassing steamauth?
 
I believe your interpretation of the problem is incorrect - the error you're seeing happens when the client crashes without leaving the server. Stopping their "ghost" being kicked from the server won't help, they'll just time out a little bit later anyway.

foon 05-23-2020 16:20

Re: Detouring OnValidateAuthTicketResponse, stopping/bypassing steamauth?
 
That's what I thought too at first. I talked to a bunch of people, and their game isn't physically crashing, they are just getting kicked to the main menu. Unless you can crash without physically crashing?

We were on Windows and moved to Linux last month, it wasn't happening on windows at all. So that was super weird, nothing changed plugin or config wise between.


All times are GMT -4. The time now is 12:49.

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