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

steam ID version


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 04-06-2018 , 10:57   steam ID version
Reply With Quote #1

There are some sections of sourcemod that still require the old steamID (STEAM_) rather than the new steamID3 ([ULxxxxx]) - sm_addban and the admin.cfg, for example. Is there any plan to upgrade sourcemod to use the newer steamID3 so that a conversion is not required?

Thanks.
.......CG (O&S)
__________________
.......Chuck |TxA| Old and Slow [AARP]
Old and Slow is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 04-06-2018 , 17:08   Re: steam ID version
Reply With Quote #2

"[ULxxxxx]" isn't the form of a valid SteamID3 and SM has allowed taking Steam3 in sm_addban and in admins.cfg since 1.7 in October 2014.
Fyren is offline
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 04-06-2018 , 19:08   Re: steam ID version
Reply With Quote #3

Quote:
Originally Posted by Fyren View Post
"[ULxxxxx]" isn't the form of a valid SteamID3 and SM has allowed taking Steam3 in sm_addban and in admins.cfg since 1.7 in October 2014.
sorry, typo, "[U:N:NNNN]"

When I try addban, I get the message "must start with STEAM_"

I will try it again, but it not working is why I asked...


-edit because (colon x) just doesn't look right-
__________________
.......Chuck |TxA| Old and Slow [AARP]

Last edited by Old and Slow; 04-06-2018 at 19:10.
Old and Slow is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 04-06-2018 , 20:04   Re: steam ID version
Reply With Quote #4

From the server console, what's the output of "sm version" and "sm plugin info x" on basebans? You can get the plugin's number off "sm plugin list".
Fyren is offline
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 04-06-2018 , 22:00   Re: steam ID version
Reply With Quote #5

sm_version: SourceMod 1.8.0.6040, by AlliedModders LLC

sm plugins list
"Player Commands" (1.8.0.6040) by AlliedModders LLC
"Client Preferences" (1.8.0.6040) by AlliedModders LLC
"Anti-Flood" (1.8.0.6040) by AlliedModders LLC
"Weapon Restrict Special" (4.0.0) by Dr!fter+O&S
"Increase Nade Damage" (1.0.3) by AUSTINBOTS! - SavSin
"Basic Commands" (1.8.0.6040) by AlliedModders LLC
"Basic Votes" (1.8.0.6040) by AlliedModders LLC
To see more, type "sm plugins 11"
"Fun Commands" (1.8.0.6040) by AlliedModders LLC
"Sound Commands" (1.8.0.6040) by AlliedModders LLC
"Basic Comm Control" (1.8.0.6040) by AlliedModders LLC

sm plugins 11
"Nextmap" (1.8.0.6040) by AlliedModders LLC
"Admin Menu" (1.8.0.6040) by AlliedModders LLC
"Map Configs" (1.2) by Liam
"Admin Help" (1.8.0.6040) by AlliedModders LLC
"Spray Tracer" (5.8a) by Nican132, CptMoore, Lebson506th
"Admin File Reader" (1.8.0.6040) by AlliedModders LLC
"Basic Chat" (1.8.0.6040) by AlliedModders LLC
"Basic Info Triggers" (1.8.0.6040) by AlliedModders LLC
"Fun Votes" (1.8.0.6040) by AlliedModders LLC
"Reserved Slots" (1.8.0.6040) by AlliedModders LLC
"Quake Sounds v3" (3.4.3) by Spartan_C001
To see more, type "sm plugins 22"

sm plugins 22
"Basic Ban Commands" (1.8.0.6040) by AlliedModders LLC

I have the same problem with the admins_simple.cfg file - I haven't got it to work with stamID3.

Thanks for the help.
__________________
.......Chuck |TxA| Old and Slow [AARP]
Old and Slow is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 04-07-2018 , 05:08   Re: steam ID version
Reply With Quote #6

That's from your client's console, not the server.
Fyren is offline
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 04-07-2018 , 10:04   Re: steam ID version
Reply With Quote #7

Quote:
Originally Posted by Fyren View Post
That's from your client's console, not the server.
Yes, while connected to the server. I can't get that information from the client alone.

Those are the versions of the plugins. I installed sourcemod 1.8 build 6040 a couple of months ago.
__________________
.......Chuck |TxA| Old and Slow [AARP]
Old and Slow is offline
Old and Slow
Senior Member
Join Date: May 2005
Location: Arlington, Texas
Old 04-08-2018 , 12:28   Re: steam ID version
Reply With Quote #8

OK, I went back and tried the sm_addban command again using the steamID3 [U:] and it did work. The problem is that the "Admin commands (sourcemod)" page does not show the correct format for "sm_addban" - the minutes parameter is not shown like it is in "sm"ban" 2 lines below. It looks like the minutes parameter is required or else you will get the "STEAM_" required error message.

sm_addban 0 [U:1:9999999] works
sm_addban 0 [U:1:9999999] "reason for ban" works

sm_addban [U:1:9999999] does not work

commands page: https://wiki.alliedmods.net/Admin_commands_(sourcemod)

So, any input on using the steamID3 with admins_simple.cfg?
I guess that I need to try that again.
__________________
.......Chuck |TxA| Old and Slow [AARP]

Last edited by Old and Slow; 04-08-2018 at 12:30.
Old and Slow is offline
DarkDeviL
SourceMod Moderator
Join Date: Apr 2012
Old 04-08-2018 , 12:54   Re: steam ID version
Reply With Quote #9

Quote:
Originally Posted by Old and Slow View Post
sm_addban 0 [U:1:9999999] works
sm_addban 0 [U:1:9999999] "reason for ban" works

sm_addban [U:1:9999999] does not work
Because time is not an optional parameter, either set it in the amount of minutes or 0 for permanent.

Quote:
Originally Posted by Old and Slow View Post
Looking at the code repository for basebans, e.g. this link showing the code in March 2008, it appears that the time was also mandatory then.

Looking as sm_banip also have been "time ip reason" forever, while also being documented correctly, I would say it is safe to assume that it has been a mistake made while documenting it on the Wiki.
__________________
Mostly known as "DarkDeviL".

Dropbox FastDL: Public folder will no longer work after March 15, 2017!
For more info, see the [SRCDS Thread], or the [HLDS Thread].
DarkDeviL 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:04.


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