mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-09 00:12:56 +00:00
More lax + more helpful RRID timestamp errors
This commit is contained in:
parent
43eb8471e5
commit
632d9b4d0d
1 changed files with 3 additions and 3 deletions
|
|
@ -256,7 +256,7 @@ shouldsign_t ShouldSignChallenge(uint8_t *message)
|
|||
memcpy(&claimedIP, message + sizeof(then), sizeof(claimedIP));
|
||||
realIP = I_GetNodeAddressInt(servernode);
|
||||
|
||||
if ((max(now, then) - min(now, then)) > 60*5)
|
||||
if ((max(now, then) - min(now, then)) > 60*15)
|
||||
return SIGN_BADTIME;
|
||||
|
||||
if (realIP != claimedIP && I_IsExternalAddress(&realIP))
|
||||
|
|
@ -946,7 +946,7 @@ static boolean CL_SendJoin(void)
|
|||
}
|
||||
else if (safe == SIGN_BADTIME)
|
||||
{
|
||||
I_Error("External server sent a message with an unusual timestamp.\nCheck your clocks!");
|
||||
I_Error("External server sent a message with an unusual timestamp.\nMake sure your system time is set correctly.");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -5328,7 +5328,7 @@ static void HandlePacketFromPlayer(SINT8 node)
|
|||
if (safe == SIGN_BADIP)
|
||||
HandleSigfail("External server sent the wrong IP");
|
||||
else if (safe == SIGN_BADTIME)
|
||||
HandleSigfail("Bad timestamp - check your clocks");
|
||||
HandleSigfail("Bad timestamp - is your time set correctly?");
|
||||
else
|
||||
HandleSigfail("Unknown auth error - contact a developer");
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue