From 02505295e6b59adb12370505932979816e191ee1 Mon Sep 17 00:00:00 2001 From: neon <> Date: Wed, 15 May 2019 18:06:29 +0200 Subject: [PATCH 1/2] NSM: change logging --- NoSteamManager/scripting/NoSteamManager_Connect.sp | 2 +- NoSteamManager/scripting/NoSteamManager_RevEmu.sp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/NoSteamManager/scripting/NoSteamManager_Connect.sp b/NoSteamManager/scripting/NoSteamManager_Connect.sp index 9b0d599..2c406df 100644 --- a/NoSteamManager/scripting/NoSteamManager_Connect.sp +++ b/NoSteamManager/scripting/NoSteamManager_Connect.sp @@ -280,7 +280,7 @@ public void SQL_OnQueryCompleted(Database db, DBResultSet results, const char[] } else { - LogMessage("%L tried to join with a legitimate steamid while not authenticated with steam. Refusing connection, IPs dont match. (Known: %s | Current: %s)", client, sResultAddress, sAddress); + LogAction(client, -1, "\"%L\" tried to join with a legitimate steamid while not authenticated with steam. Refusing connection, IPs dont match. (Known: %s | Current: %s)", client, sResultAddress, sAddress); KickClient(client, "Trying to join with a legitimate steamid while not authenticated with steam."); return; } diff --git a/NoSteamManager/scripting/NoSteamManager_RevEmu.sp b/NoSteamManager/scripting/NoSteamManager_RevEmu.sp index 4a5ee61..329f291 100644 --- a/NoSteamManager/scripting/NoSteamManager_RevEmu.sp +++ b/NoSteamManager/scripting/NoSteamManager_RevEmu.sp @@ -268,7 +268,7 @@ public void SQL_OnQueryCompleted(Database db, DBResultSet results, const char[] } else { - LogMessage("%L tried to join with a legitimate steamid while having a illegitimate connection type: '%s'. Refusing connection, IPs dont match. (Known: %s | Current: %s)", client, sConnectionType, sResultAddress, sAddress); + LogAction(client, -1, "\"%L\" tried to join with a legitimate steamid while having a illegitimate connection type: '%s'. Refusing connection, IPs dont match. (Known: %s | Current: %s)", client, sConnectionType, sResultAddress, sAddress); KickClient(client, "Trying to join with a legitimate steamid while having a illegitimate connection."); return; } From 9b3b68bbe893006ad774514bc9b6da5979b0f539 Mon Sep 17 00:00:00 2001 From: Dogan Date: Mon, 20 May 2019 00:37:10 +0200 Subject: [PATCH 2/2] rtv_extended: fix for rtv reenable rtv after maptime drops to 0 and map gets extended --- mapchooser_extended/scripting/rockthevote_extended.sp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mapchooser_extended/scripting/rockthevote_extended.sp b/mapchooser_extended/scripting/rockthevote_extended.sp index fdc6013..3321b47 100644 --- a/mapchooser_extended/scripting/rockthevote_extended.sp +++ b/mapchooser_extended/scripting/rockthevote_extended.sp @@ -129,6 +129,11 @@ public void OnConfigsExecuted() public void OnMapTimeLeftChanged() { SetupTimeOverTimer(); + + if(!g_RTVAllowed) + { + g_RTVAllowed = true; + } } public void OnClientPutInServer(int client)