Closed nickdnk closed 2 years ago
// Whether the plugin kicks new clients when no match is loaded get5_kick_when_no_match_loaded 1 -- You need to set it to zero (0)
You can find it under: csgo/cfg/sourcemod/get5.cfg
Unless the match has been setup via the web?
// Whether the plugin kicks new clients when no match is loaded get5_kick_when_no_match_loaded 1 -- You need to set it to zero (0)
You can find it under: csgo/cfg/sourcemod/get5.cfg
Unless the match has been setup via the web?
This has nothing to do with the problem. As you can see from the console output I am clearly loading match configurations and the correct SteamIDs are in that file. This happens rarely, not all the time, which it would if it was a configuration issue. I want other players to be kicked (and the server to not work if no match is loaded).
Edit: Updated wording in expected behavior to elaborate on this.
Perhaps https://github.com/splewis/get5/issues/557 is related? Unless he means it prints out "failed to load match config" which is not the case here.
To me it seems to be related to the server "changing levels" when the first person joins, and when/if this happens at the wrong time, this happens.
I would suggest trying to disable hibernation on your server, which should stop that behavior (I believe).
To me it seems to be related to the server "changing levels" when the first person joins, and when/if this happens at the wrong time, this happens.
I would suggest trying to disable hibernation on your server, which should stop that behavior (I believe).
Hibernation is already disabled.
Edit: This also does not explain how the server can accept a match-load command and then immediately (even if no map change takes place) reject users, as evident from the attached logs.
I've not had this problem (where it's not resolved with a reconnect) after using autoload instead of entering the command in the console. I think it's a case of bad timing when using the command manually on a newly booted server. Closing.
Expected behavior
I would expect players to not be kicked when joining a server that has loaded a match configuration with their SteamIDs.
Actual behavior
Players sometimes get kicked when attempting to join a newly started server with the
NoMatchSetupInfoMessage
string. I have tried to replicate this behavior, but I have not been able to reliably do so. Reconnecting again (sometimes twice) "solves" the problem even though no commands are run on the server. It occurs both when using the auto-load config (with a fixed path to the .json file) and when manually entering the command into the server terminal, although the latter triggered the problem much more frequently.The server output looks like this when it happens. In this case it was a manually entered command, and then reconnecting does not work. Reconnecting only (but always) works when the config is autoloaded. In practice this means there is no real problem, but it's just annoying and weird.
Note: This log is from september. The problem is the same today, I just never got around to reporting it. It happens once in a while. Maybe every 25-30th game I'd say.
Steps to reproduce
Unable. Play many games? I know this is awful information, but I have nothing to go on and I have looked through the code trying to find out where it could possibly go wrong to no avail. To me it seems to be related to the server "changing levels" when the first person joins, and when/if this happens at the wrong time, this happens.
Debug info:
basebans.smx: Basic Ban Commands by AlliedModders LLC: Basic Banning Commands (1.10.0.6497, http://www.sourcemod.net/) adminhelp.smx: Admin Help by AlliedModders LLC: Display command information (1.10.0.6497, http://www.sourcemod.net/) basecomm.smx: Basic Comm Control by AlliedModders LLC: Provides methods of controlling communication. (1.10.0.6497, http://www.sourcemod.net/) funvotes.smx: Fun Votes by AlliedModders LLC: Fun Vote Commands (1.10.0.6497, http://www.sourcemod.net/) basevotes.smx: Basic Votes by AlliedModders LLC: Basic Vote Commands (1.10.0.6497, http://www.sourcemod.net/) nextmap.smx: Nextmap by AlliedModders LLC: Provides nextmap and sm_nextmap (1.10.0.6497, http://www.sourcemod.net/) admin-flatfile.smx: Admin File Reader by AlliedModders LLC: Reads admin files (1.10.0.6497, http://www.sourcemod.net/) antiflood.smx: Anti-Flood by AlliedModders LLC: Protects against chat flooding (1.10.0.6497, http://www.sourcemod.net/) playercommands.smx: Player Commands by AlliedModders LLC: Misc. Player Commands (1.10.0.6497, http://www.sourcemod.net/) get5.smx: Get5 by splewis: (0.7.2-dev, https://github.com/splewis/get5) sounds.smx: Sound Commands by AlliedModders LLC: Sound Commands (1.10.0.6497, http://www.sourcemod.net/) clientprefs.smx: Client Preferences by AlliedModders LLC: Client peferences and settings menu (1.10.0.6497, http://www.sourcemod.net/) basetriggers.smx: Basic Info Triggers by AlliedModders LLC: Adds ff, timeleft, thetime, and others. (1.10.0.6497, http://www.sourcemod.net/) basecommands.smx: Basic Commands by AlliedModders LLC: Basic Admin Commands (1.10.0.6497, http://www.sourcemod.net/) get5.smx: Get5 by splewis: (0.7.2-dev, https://github.com/splewis/get5) adminmenu.smx: Admin Menu by AlliedModders LLC: Administration Menu (1.10.0.6497, http://www.sourcemod.net/) reservedslots.smx: Reserved Slots by AlliedModders LLC: Provides basic reserved slots (1.10.0.6497, http://www.sourcemod.net/) basechat.smx: Basic Chat by AlliedModders LLC: Basic Communication Commands (1.10.0.6497, http://www.sourcemod.net/) funcommands.smx: Fun Commands by AlliedModders LLC: Fun Commands (1.10.0.6497, http://www.sourcemod.net/)