Raised This Month: $51 Target: $400
 12% 

All Admin functions ceased working after today's update (8-21)


Post New Thread Reply   
 
Thread Tools Display Modes
fiala06
AlliedModders Donor
Join Date: Mar 2009
Location: Eugene, OR
Old 08-21-2014 , 19:38   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #61

Damn, crappy day at work and come home to this.. Awesome!
fiala06 is offline
WebNoob
Senior Member
Join Date: Jul 2008
Old 08-21-2014 , 19:42   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #62

Quote:
Originally Posted by AwesomeX View Post
Jesus, everything is broken...

I hope I don't have to port over my thousands of admin ID's..
Unless I'm mistaken (at least in the case of getting Sourcebans to work again) all that needs to be done at the moment is for the admin-flatfile.smx plugin (which, I believe is what reads the admins.cfg file) to be augmented so that it can interpret both the old and the new Steam ID format (?)

Of course, that's a short-term solution, but at least it would get admin/donator functions working again.
WebNoob is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 08-21-2014 , 19:46   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #63

Quote:
Originally Posted by WebNoob View Post
Unless I'm mistaken (at least in the case of getting Sourcebans to work again) all that needs to be done at the moment is for the admin-flatfile.smx plugin (which, I believe is what reads the admins.cfg file) to be augmented so that it can interpret both the old and the new Steam ID format (?)

Of course, that's a short-term solution, but at least it would get admin/donator functions working again.
Or a patch to sourcemod's core to allow for conversion so no plugin edits will be needed.

But on a side note, Valve meant to give a heads up for the steamid change
__________________

Last edited by WildCard65; 08-21-2014 at 19:46.
WildCard65 is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 08-21-2014 , 19:46   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #64

Quote:
We apologize for the lack of warning regarding the SteamID format change in today's update. It was our intent to give the community a heads-up before the change was released, but it was missed.

The change was made to update TF2 to use the current SteamID format, which most other games on Steam and Steam itself uses. You will find that you can now use SteamIDs rendered by these other locations in your interactions with the engine. The engine will still recognize the old format, though, so your current server ban lists should still be valid.

The conversion equation has already been posted by a community member, but here it is again:

Old: STEAM_0:A:B
New: [U:1:B*2+A]
Example: STEAM_0:1:1234 ---> [U:1:2469]

We're sorry for the problems this may cause while you update your scripts to use the new format. It was not our intent to disrupt your servers.

-Eric
__________________
Fearts is offline
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Old 08-21-2014 , 19:46   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #65

Quote:
Originally Posted by Geit View Post
I wrote this quickly for people who need the old style Steam IDs for their plugins until they get a chance to properly patch it.
Thank you so much! Was about to do this myself, until I realized that only the method for converting old format -> new format has discussed so far, and that I can't math.
__________________
Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
MasterOfTheXP is offline
flocke0
Junior Member
Join Date: Apr 2013
Location: Germany
Old 08-21-2014 , 19:46   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #66

While being unable to fix this i derped around with gimp. this is what i came up with:
__________________

Last edited by flocke0; 08-21-2014 at 19:47.
flocke0 is offline
Malachi
Senior Member
Join Date: Jun 2010
Location: USA
Old 08-21-2014 , 19:48   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #67

Quote:
Date: Thu, 21 Aug 2014 23:41:49 +0000
From: Eric Smith <[email protected]>
To: Half-Life dedicated Win32 server mailing list <[email protected]>, "'[email protected]'" <[email protected]>, "'[email protected]'" <[email protected]> Subject: [hlds_linux] New SteamID format for TF2 Message-ID: <3246A6BE4318E84FA462854C906FB68930625699@exc hange10.valvesoftware.com>
Content-Type: text/plain; charset="us-ascii"

We apologize for the lack of warning regarding the SteamID format change in today's update.

It was our intent to give the community a heads-up before the change was released, but it was missed. The change was made to update TF2 to use the current SteamID format, which most other games on Steam and Steam itself uses. You will find that you can now use SteamIDs rendered by these other locations in your interactions with the engine. The engine will still recognize the old format, though, so your current server ban lists should still be valid.

The conversion equation has already been posted by a community member, but here it is again:

Old: STEAM_0:A:B
New: [U:1:B*2+A]
Example: STEAM_0:1:1234 ---> [U:1:2469]

We're sorry for the problems this may cause while you update your scripts to use the new format. It was not our intent to disrupt your servers.

-Eric

Last edited by Malachi; 08-21-2014 at 19:50. Reason: stupid format fail
Malachi is offline
Horsedick
AlliedModders Donor
Join Date: Sep 2011
Old 08-21-2014 , 19:49   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #68

Quote:
Originally Posted by flocke0 View Post
While being unable to fix this i derped around with gimp. this is what i came up with:

lolz
Horsedick is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 08-21-2014 , 19:51   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #69

Quote:
Originally Posted by nineteeneleven View Post
PHP function to convert STEAM_X:X:XXXXXXX to new ids.

PHP Code:
function steam3($steam2) {
        
$id explode(':'$steam2);
        
$id3 = ($id[2] * 2) + $id[1];
        return 
'[U:1:' $id3 ']';
    } 
input: STEAM_0:1:41644167
output: [U:83288335]

When my actual steam id is

[U:1:83288335]

Shouldn't that be something like...

PHP Code:
return '[U:1:' $id3 ']'
Or will it not always be U:1
__________________

Last edited by Chdata; 08-21-2014 at 19:52.
Chdata is offline
Weasel
AlliedModders Donor
Join Date: Apr 2004
Location: Undisclosed / Secure
Old 08-21-2014 , 19:51   Re: All Admin functions ceased working after today's update (8-21)
Reply With Quote #70

Anybody got a web-site up yet to convert ID's? hopefully in batch (paste a bunch into a text box, hit submit and get the new ones)?
__________________
Pwease pardon by bad Engrish.
Steam Profile, Steam Group, Stats, Twitter
Weasel is offline
Reply



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 17:18.


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