AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [Dark Messiah] How to block cvars? (https://forums.alliedmods.net/showthread.php?t=135356)

MightyMalcolm 08-15-2010 09:20

[Dark Messiah] How to block cvars?
 
Hey guys,

since the game my server is running (Dark Messiah) has a quasi-built-in speedhack, i desperately need 2 things:

1st: I need a plugin forcing players who join my servers to adapt certain client-site commands* which I specified (for example cl_drawhud, etc.).

2nd: Since the "speedhack" I mentioned above does not have the cheat-flag, it can be used by everyone at anytime (rly annoying). So I'd also require a simple command blocker. All i found so far was this Command Blocker by pRED*, but it's not working for me AT ALL. When typing in "sm_help", the cmd "sm_blockcommand" shows up, but actually using it makes the console say "unkown command".

I'd be thankful for any help =)

_____________________________________________ __________________
*) I don't know if this is the exact term, but I'm sure you know what I mean ;)

MightyMalcolm 08-17-2010 15:07

Re: [Dark Messiah] How to block cvars?
 
*push*

camon ppl, please!

lizzard8 09-19-2010 18:05

Re: [Dark Messiah] How to block cvars?
 
I successfully blocked the kill command on my crusade server today. I just put sm_blockcommand kill in my startup .cfg file.

I did notice that the console didnt recognice the command. but i guess it works in the server console.

id allso like to get rid of the speedhackers.. but i was not aware that this cheat was something anyone could do without any third party software.

pRED* 09-19-2010 21:00

Re: [Dark Messiah] How to block cvars?
 
Client side commands can't be blocked.

MightyMalcolm 09-20-2010 10:12

Re: [Dark Messiah] How to block cvars?
 
but isn't kill a client side command, too? i mean if i use "rcon kill" nothing happens. and by adding the cheat flag to it you succeeded in blocking it O.o

psychonic 09-20-2010 10:22

Re: [Dark Messiah] How to block cvars?
 
Quote:

Originally Posted by MightyMalcolm (Post 1304160)
but isn't kill a client side command, too? i mean if i use "rcon kill" nothing happens. and by adding the cheat flag to it you succeeded in blocking it O.o

It gets sent from the client to the server to be handled on the server, versus some cvars/commands that exist solely on the client and are handled there.

MightyMalcolm 09-20-2010 11:01

Re: [Dark Messiah] How to block cvars?
 
damn >.<
but there MUST be way to get rid of this problem, doesn't it? is it possible to force a player to adapt a value given by sourcemod? i mean there are plugins doing the funniest things to clients, like changing their names, assigning special gravity to them, etc. (i know gravity is a server side command, but anyway :<)

alright, let's say i wanted all of the players on the server to have net_graph 3. but there are some resistant bastards that use a bind and keep changing it. so couldn't i use some sort of "tick" or sth like that which sets the net_graph to 3 every second? or would that slow down the server epicly?

i know it's quite a silly idea but i'm trying to grasp every straw i can get my hands on :<

lizzard8 09-20-2010 12:54

Re: [Dark Messiah] How to block cvars?
 
Does anyone know how to find out if a command get hanled by the server at all?

MightyMalcolm 09-22-2010 17:27

Re: [Dark Messiah] How to block cvars?
 
sry for off-topic, but: why did he get banned for that post? was it just SO wrong? O.o

Rawh 09-22-2010 17:30

Re: [Dark Messiah] How to block cvars?
 
Noes! A signature ban :grrr:


All times are GMT -4. The time now is 12:40.

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