Raised This Month: $ Target: $400
 0% 

[L4D2] Certain Admin Commands been abuse by public


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ketchup
Junior Member
Join Date: Aug 2010
Old 08-18-2010 , 05:43   [L4D2] Certain Admin Commands been abuse by public
Reply With Quote #1

Why is it that non-admin players(public) are able to use sm_say in my server? They are abusing it to scold vulgarities. The chat appear as ALL ADMIN: xxxxxxx.(It makes the admin looks bad) And those non-admin players(public) are also able to use !pause to pause my game. Is there anyway to prevent non-admin players from accessing sm commands if they are not an admin in the server? Is there a way to check who's using sm_say or sm_chat?

I need help please. Thanks
Ketchup is offline
atom0s
Senior Member
Join Date: Jul 2009
Old 08-18-2010 , 07:25   Re: [L4D2] Certain Admin Commands been abuse by public
Reply With Quote #2

You can turn logging on to view who is using commands.

To enable SourceMods logging:
- Open the folder, on your server, 'addons/sourcemod/cfg/core.cfg'
- Ensure the "Logging" setting is turned on.

You may want to alter LogMode to map for testing purposes while trying to find out the cause of any issues. If your server is crashing, you can run the risk of not getting a daily log to properly and fully dump. (Be sure to change this back once things are cleared up as a per-map logging can consume space fast.)

To enable Srcds logging, which is required to be on for SourceMod to do logging:
- Open the folder, on your server, 'cfg' in the root directory of the servers mod folder.
- Open server.cfg and add, or alter the following:

log on
sv_logbans 1
sv_logecho 1
sv_logfile 1
sv_log_onefile 0
sv_logsdir logs

You can adjust those values as you see fit.

Once you have these on, restart your server and you should see a lot of new output from the server, if logging was off before. When users use commands, it should now show up in the server such as:

L 08/18/2010 - 06:24:24: [basechat.smx] Console<0><Console><Console> triggered sm_say (text hi)

Edit:

Oops almost forgot, also to try and remove the !pause issue, add this to your server.cfg as well:
sv_pausable 0
atom0s is offline
Ketchup
Junior Member
Join Date: Aug 2010
Old 08-18-2010 , 07:55   Re: [L4D2] Certain Admin Commands been abuse by public
Reply With Quote #3

So there's no way to limit ONLY ADMINS are able to access sm_commands in my server?

Last edited by Ketchup; 08-18-2010 at 08:05.
Ketchup is offline
atom0s
Senior Member
Join Date: Jul 2009
Old 08-18-2010 , 08:37   Re: [L4D2] Certain Admin Commands been abuse by public
Reply With Quote #4

Quote:
Originally Posted by Ketchup View Post
So there's no way to limit ONLY ADMINS are able to access sm_commands in my server?
If a user is not marked as admin, they should have no access to admin commands then. (Except to talk directly to an admin and very basic commands that give them absolutely no control.)

If you have users that are accessing various commands that they shouldn't be, it sounds like your server could have been exploited/attacked.

Can you post your server information?

Paste the results of the following commands here:
sm version
meta version
sm plugins list
meta list

There could be a conflict with your servers setup as well, such as you giving everyone a specific flag that gives them access to commands. Or a plugin you are running could also be causing issues.
atom0s is offline
Ketchup
Junior Member
Join Date: Aug 2010
Old 08-18-2010 , 10:32   Re: [L4D2] Certain Admin Commands been abuse by public
Reply With Quote #5

Quote:
Originally Posted by atom0s View Post
If a user is not marked as admin, they should have no access to admin commands then. (Except to talk directly to an admin and very basic commands that give them absolutely no control.)
Previously only sm_chat, sm_say, !pause command has been exploit by non-admin players. (Is this the basic command public can access?)

I'm hosting a listen server btw...
sm version: 1.4.0-hg3111 (windows)
meta version: mmsource-1.9.0-hg730 (windows)
sm plugins list: (Default plugins not listed)
[L4D2] Melee-In-The-Safe-Room
advertisements
l4dready
srsmod
l4d2unscrambler
meta list: (Sorry, but i'm not sure what is this?)

Thank you for your patience in guiding. ^^

Edit: I just got a friend who has no admin access to try this.
He type @lol in the chat.
The chat box shows (ALL) ADMIN: lol
I check my console it shows: [basechat.smx] "Console<0><Console><Console>" triggered sm_say (text lol)
So basically i have no idea who types it even though i check the console.

Last edited by Ketchup; 08-18-2010 at 10:45.
Ketchup is offline
Ketchup
Junior Member
Join Date: Aug 2010
Old 08-19-2010 , 23:20   Re: [L4D2] Certain Admin Commands been abuse by public
Reply With Quote #6

Anyone know how to fix my problem?

Public(non-admin) uses sm_say in my server and it appear as (ALL) ADMIN: Testing123

I try to use sm_say at sm server it appear as (TO ADMINS) MyName: Testing123

Why my server never show the name?
Ketchup is offline
santaclaus
Senior Member
Join Date: Dec 2008
Old 08-20-2010 , 03:46   Re: [L4D2] Certain Admin Commands been abuse by public
Reply With Quote #7

Strange issue.

----------------

/cfg/sourcemod.cfg
Quote:
// Specifies how admin activity should be relayed to users. Add up the values
// below to get the functionality you want.
// 1: Show admin activity to non-admins anonymously.
// 2: If 1 is specified, admin names will be shown.
// 4: Show admin activity to admins anonymously.
// 8: If 4 is specified, admin names will be shown.
// 16: Always show admin names to root users.
// --
// Default: 13 (1+4+
sm_show_activity 13
__________________

santaclaus is offline
dirka_dirka
Veteran Member
Join Date: Nov 2009
Old 08-20-2010 , 10:02   Re: [L4D2] Certain Admin Commands been abuse by public
Reply With Quote #8

that only shows activity - it wont prevent anyone from doing stuff

meta list is just that.. same thing as sm plugins list

how are you defining yourself as admin?
dirka_dirka is offline
GanjaStar
Senior Member
Join Date: Jun 2009
Old 08-20-2010 , 10:11   Re: [L4D2] Certain Admin Commands been abuse by public
Reply With Quote #9

"STEAM_1:1:1234566" "99:z"

add that to your admins_simple.ini

replace the numbers with your steam id.
GanjaStar is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 08-20-2010 , 11:57   Re: [L4D2] Certain Admin Commands been abuse by public
Reply With Quote #10

Quote:
Originally Posted by Ketchup View Post
...

Edit: I just got a friend who has no admin access to try this.
He type @lol in the chat.
The chat box shows (ALL) ADMIN: lol
I check my console it shows: [basechat.smx] "Console<0><Console><Console>" triggered sm_say (text lol)
So basically i have no idea who types it even though i check the console.
Puplic player can chat to all admins and other puplic players can't see.
in ...cfg/sourcemod/sourcemod.cfg
Code:
// Specifies whether or not non-admins can send messages to admins using
// say_team @<message>. Valid values are 0 (Disabled) or 1 (Enabled)
// --
// Requires: basechat.smx
// Default: 1
sm_chat_mode 1
__________________
Do not Private Message @me
Bacardi 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 03:51.


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