Re: Webpanel fix for Steam3 format (SourceBans 1.4.11)
Should CSGO servers use this update?
|
Re: Webpanel fix for Steam3 format (SourceBans 1.4.11)
Quote:
But you could, so you don't have to do it later, in case it changes. |
Re: Webpanel fix for Steam3 format (SourceBans 1.4.11)
Running into the "Can't kick <name>. Player not on the server anymore!" error with the updated files (and old files), anyone find a viable fix to this? I have searched and nothing works.
Thanks. [csgo] |
Re: Webpanel fix for Steam3 format (SourceBans 1.4.11)
This "fix" ruined CSGO panel settings. It doesn't work anymore. So if you run TF2, use 1.4.11, if CSGO, use 1.4.10.
|
Re: Webpanel fix for Steam3 format (SourceBans 1.4.11)
1.4.11 regex to fix "player is not on the server anymore" errors ( https://code.google.com/p/sourcebans...e/detail?r=158 ) seems to have broken CS:GO status parsing.
CSGO status reply is # userid name uniqueid connected ping loss state rate adr, and userid seems to be 2-part, not sure why. I assumed second part is the needed one, maybe both would work. ex: # 3942 1 "playername" STEAM_1:0:1234567 08:43 62 0 active 80000 127.1.2.3:27005 For TF2, reply is userid name uniqueid connected ping loss state adr ex: # 35 "player name" [U:1:1234567] 00:37 20 0 active 127.2.3.4:27005 I haven't tested following on SB, but with php regex matching it does work for both cases: # .* +([0-9]+) +"(.+)" +(STEAM_[0-9]:[0-9]:[0-9]+|\[U:[0-9]:[0-9]+\]) +([0-9:]+) +([0-9]+) +([0-9]+) +([a-zA-Z]+).* +([0-9.:]+) |
Re: Webpanel fix for Steam3 format (SourceBans 1.4.11)
Quote:
|
Re: Webpanel fix for Steam3 format (SourceBans 1.4.11)
Quote:
|
Re: Webpanel fix for Steam3 format (SourceBans 1.4.11)
Quote:
@Peace-Maker: Fix this! |
Re: Webpanel fix for Steam3 format (SourceBans 1.4.11)
Quote:
I'll update the package in the first post to include that change. |
Re: Webpanel fix for Steam3 format (SourceBans 1.4.11)
There is more than just missing space. In CS:GO there is 'rate' column before player's ip address, which is absent in TF2. That probably changed in some update and went unnoticed.
With .* right after ([a-zA-Z]+) regex will leave it be and capture ip address correctly. |
All times are GMT -4. The time now is 20:14. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.