AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   steam ID version (https://forums.alliedmods.net/showthread.php?t=306591)

Old and Slow 04-06-2018 10:57

steam ID version
 
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)

Fyren 04-06-2018 17:08

Re: steam ID version
 
"[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.

Old and Slow 04-06-2018 19:08

Re: steam ID version
 
Quote:

Originally Posted by Fyren (Post 2586446)
"[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 :x (colon x) just doesn't look right-

Fyren 04-06-2018 20:04

Re: steam ID version
 
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".

Old and Slow 04-06-2018 22:00

Re: steam ID version
 
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.

Fyren 04-07-2018 05:08

Re: steam ID version
 
That's from your client's console, not the server.

Old and Slow 04-07-2018 10:04

Re: steam ID version
 
Quote:

Originally Posted by Fyren (Post 2586520)
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.

Old and Slow 04-08-2018 12:28

Re: steam ID version
 
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.

DarkDeviL 04-08-2018 12:54

Re: steam ID version
 
Quote:

Originally Posted by Old and Slow (Post 2586730)
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 (Post 2586730)

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.


All times are GMT -4. The time now is 23:05.

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