Raised This Month: $ Target: $400
 0% 

Problems with SM ban system


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
[Arnold]
Senior Member
Join Date: May 2004
Old 07-30-2007 , 09:35   Problems with SM ban system
Reply With Quote #1

Hi,

I came across some problems with the SM ban system.

1.) sm_addban: what admin flag is needed to use this command? Seems it's not "d" for banning while "z" is obviously working.

2.) sm_addban: seems this command needs the steamid in quotation marks:
Quote:
sm_addban 0 steam_0:0:815815
L 07/30/2007 - 15:29:28: [basecommands.smx] "Console<0><Console><Console>" added ban (minutes "0") (id "steam_0") (reason ":")
[SM] Ban has been added.
Can't ban users with ID "steam_0"
Writing cfg/banned_user.cfg.
Quote:
sm_addban 0 "steam_0:0:815815"
L 07/30/2007 - 1530: [basecommands.smx] "Console<0><Console><Console>" added ban (minutes "0") (id "steam_0:0:815815") (reason ":")
[SM] Ban has been added.
Writing cfg/banned_user.cfg.
3.) sm_unban: this command doesn't work right:
Quote:
sm_unban steam_0:0:815815
L 07/30/2007 - 150:42: [basecommands.smx] "Console<0><Console><Console>" removed ban (filter "steam_0:0:815815")
[SM] Removed bans matching filter: steam_0:0:815815
removeid: invalid ban ID "steam_0:0:815815"
Writing cfg/banned_user.cfg.
Quote:
sm_unban "STEAM_0:0:815815"
L 07/30/2007 - 157:55: [basecommands.smx] "Console<0><Console><Console>" removed ban (filter ""STEAM_0:0:815815"")
[SM] Removed bans matching filter: "STEAM_0:0:815815"
Usage: removeid < slot | uniqueid >
Writing cfg/banned_user.cfg.
A listid shows that the steamid is still banned.

Maybe you can help me out.

Best regards

Arnold

Last edited by [Arnold]; 07-30-2007 at 15:09.
[Arnold] is offline
teame06
i have a hat
Join Date: Feb 2005
Location: Hat City
Old 07-30-2007 , 14:47   Re: Problems with SM ban system
Reply With Quote #2

This is just for informational as I told you in irc.

1. Requires the rcon flag to use sm_addban.
2. sm_addban requires quotes around the steamid.
3. Fixed in revision 1221.
__________________
No private support via Instant Message
GunGame:SM Released
teame06 is offline
Send a message via AIM to teame06
[Arnold]
Senior Member
Join Date: May 2004
Old 07-30-2007 , 15:07   Re: Problems with SM ban system
Reply With Quote #3

Much appreciated. Thanks!
[Arnold] 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:20.


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