Raised This Month: $99 Target: $400

Webpanel fix for Steam3 format (SourceBans 1.4.11)

Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
SourceMod Plugin Approver
Join Date: Aug 2008
Location: Germany
Old 11-21-2014 , 21:41   Webpanel fix for Steam3 format (SourceBans 1.4.11)
Reply With Quote #1

There was a change in the representation of a steamid first in TF2 and now in the Source SDK 2013.
Steamids are rendered differently by the game. Instead of STEAM_0:X:Y it's now [U:1:Z].

SourceMod 1.6.2 works around this change transparently for plugins by always providing the "old" STEAM_X representation, so there are no changes needed on the plugin side.

The webpanel was parsing the "status" command output to find right player to kick and couldn't handle the new [U:1:Z] format.
The attached .zip includes the necassary changes to support both steamid formats and fixes the kicking of players through the player context menu on the servers page as well as viewing the player's community profile.

Download the attached .zip and extract the contents in your installation of SourceBans 1.4.11. Overwrite all files.

To check the actual modifications, have a look at revisions 163 and 164 in the SVN.
Attached Files
File Type: zip sb_steam3_1.4.11.zip (38.0 KB, 819 views)

Last edited by Peace-Maker; 01-12-2015 at 09:33. Reason: Updated status parsing regex for CS:GO
Peace-Maker is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 00:19.

Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode