For direct access use https://forums.oldunreal.com
It's been quite a while since oldunreal had an overhaul, but we are moving to another server which require some updates and changes. The biggest change is the migration of our old reliable YaBB forum to phpBB. This system expects you to login with your username and old password known from YaBB.
If you experience any problems there is also the usual "password forgotten" function. Don't forget to clear your browser cache!
If you have any further concerns feel free to contact me: Smirftsch@oldunreal.com

Disabling Client-Side Commands

Unreal Unreal and more Unreal
Post Reply
User avatar
HeadShot
OldUnreal Member
Posts: 228
Joined: Wed Nov 21, 2007 4:30 pm

Disabling Client-Side Commands

Post by HeadShot »

I need something to disable commands done client-side, if anyone has a pre-made mod or something. It'd be great if it was one where I could choose the commands to disable btw. Thanks.
Image
Image
User avatar
Smirftsch
Administrator
Posts: 9001
Joined: Wed Apr 29, 1998 10:00 pm
Location: NaPali
Contact:

Re: Disabling Client-Side Commands

Post by Smirftsch »

227 disables already some of the potential harmful commands. I don't think you will find a mod which is able to select the commands you want to disallow, some of the commands can't be simply disabled at all like this (well, in theory it MAY be possible, but this would require very heavy changes and hacks).
Which commands do you want to disable?
Sometimes you have to lose a fight to win the war.
User avatar
HeadShot
OldUnreal Member
Posts: 228
Joined: Wed Nov 21, 2007 4:30 pm

Re: Disabling Client-Side Commands

Post by HeadShot »

227 disables already some of the potential harmful commands. I don't think you will find a mod which is able to select the commands you want to disallow, some of the commands can't be simply disabled at all like this (well, in theory it MAY be possible, but this would require very heavy changes and hacks).
Which commands do you want to disable?
Completely forgot about my post here.

I wanted to get rid of the texture btranslucent true, the playerpawn lightbrightness/radius/type and etc. These can be used to have a unfair advantage in INF SO
Image
Image
Jâçkrâßßit

Re: Disabling Client-Side Commands

Post by Jâçkrâßßit »

A client should be able to pick what music they want to play online regardless. I know this has no relevance to the above post, but as part of this topic, this is the right place to put this message
User avatar
Smartball
Global Moderator
Posts: 241
Joined: Fri Mar 22, 2002 4:01 am

Re: Disabling Client-Side Commands

Post by Smartball »

227 disables already some of the potential harmful commands. I don't think you will find a mod which is able to select the commands you want to disallow, some of the commands can't be simply disabled at all like this (well, in theory it MAY be possible, but this would require very heavy changes and hacks).
Which commands do you want to disable?
Completely forgot about my post here.

I wanted to get rid of the texture btranslucent true, the playerpawn lightbrightness/radius/type and etc. These can be used to have a unfair advantage in INF SO
I believe this sort of stuff has been dealt with in 227. There is no mod that can do it effectively pre-227 due to the use of .txt files, and AFAIK the only mod that even makes an attempt to stop it is my own EDM. I don't think you're going to find anything that can do this as an add-on to pre-227 SO unless someone wrote a very hackish mod that repeatedly checked with timers, which still IMO is not sufficient.
Of all the things I've lost, I miss my mind the most.
User avatar
[]KAOS[]Casey
OldUnreal Member
Posts: 4497
Joined: Sun Aug 07, 2011 4:22 am
Location: over there

Re: Disabling Client-Side Commands

Post by []KAOS[]Casey »

Set-anything commands don't work unless the next word is "input" online in 227


there is a workaround for this, but if you have a console-check or anticheat for bad consoles, then it should be damn-near impossible
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: Disabling Client-Side Commands

Post by Chaos13 »

Set Texture bTranslucent True will not work even if client will succeed doing it: cause of replication and bsp cutting. Last time i checked (7m ago) it looked like shit.

By the way iirc EDM does not stop Set commands completely due to a bug i found, but i am not telling here :P
Last edited by Chaos13 on Mon Sep 01, 2008 10:21 am, edited 1 time in total.
Skydev = Chaos13 = Dimension4
User avatar
GreatEmerald
OldUnreal Member
Posts: 5347
Joined: Mon May 21, 2007 2:30 pm

Re: Disabling Client-Side Commands

Post by GreatEmerald »

Jackrabbit is being ignored :D But actually, I really think that the UT2004 music system is the best way of doing that - don't upload music from server as not everyone likes it, and it's additional large download that is useless anyway. And then also there's the Music Player inside that you can use to play music from other OGGs easily. Anything like that can be done here?
User avatar
Smartball
Global Moderator
Posts: 241
Joined: Fri Mar 22, 2002 4:01 am

Re: Disabling Client-Side Commands

Post by Smartball »

By the way iirc EDM does not stop Set commands completely due to a bug i found, but i am not telling here :P
There is no mod that can do it effectively pre-227.
AFAIK the only mod that even makes an attempt to stop it is my own EDM.
And just for the record, I was referencing the idea of putting commands in .txt files - not necessarily using the console set command. I'm aware of other mods that attempt to make the set command 'friendly' but I'm not aware of any mods that attempt to check for changed properties through the use of .txt files other than EDM. Even at that (as I stated) it is not done to my own satisfaction because it cannot be done sufficiently pre-227.
Of all the things I've lost, I miss my mind the most.
User avatar
Bane
OldUnreal Member
Posts: 493
Joined: Sun Mar 03, 2002 6:32 pm

Re: Disabling Client-Side Commands

Post by Bane »

How about in a subclass of playerpawn,

Code: Select all

exec function set(string s);
I put that in Hide and Seek and IIRC it blocked regular typing, execs, and commands typed in the console
Author of Hide and Seek mod, and the NALIBALL mod

Hide and Seek can be downloaded from:
http://HideNSeek.5u.com
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: Disabling Client-Side Commands

Post by Chaos13 »

How about
Level.ConsoleCommand("Set shit")? xD
or simple nametable shift
Last edited by Chaos13 on Tue Sep 02, 2008 10:08 am, edited 1 time in total.
Skydev = Chaos13 = Dimension4
User avatar
Smartball
Global Moderator
Posts: 241
Joined: Fri Mar 22, 2002 4:01 am

Re: Disabling Client-Side Commands

Post by Smartball »

How about in a subclass of playerpawn,

Code: Select all

exec function set(string s);
I put that in Hide and Seek and IIRC it blocked regular typing, execs, and commands typed in the console
I think you're missing the point. I can also re-declare the "exec" console command to stop people from using .txt files, but that doesn't solve the problem. Set shouldn't be disabled, and neither should exec. But at the same time, so-called 'malicious' commands that can be executed with set and exec should be blocked, and therein lies the problem that exceeds UScript's capabilities. Leaving the commands in and checking stuff on the client is useless since that can be bypassed, which leaves it up to the server to perform the checks. And the server can't check effectively through UScript unless it's frequently requesting the values of whatever properties on the client are deemed "malicious," but this is not a foolproof system by any means either.

Basically the argument that I'm making is that these checks cannot be performed "sufficiently" pre-227, with my definition of "sufficient" being without additional lag, without any loss of non-malicious functionality, and with it being nearly impossible for someone to side-step the checks.
Last edited by Smartball on Tue Sep 02, 2008 1:56 pm, edited 1 time in total.
Of all the things I've lost, I miss my mind the most.
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: Disabling Client-Side Commands

Post by Chaos13 »

You can always sidestep any non-native checks with useful ucc command. Moreover it is possible to successfully sidestep NATIVE (!!!) checks by compiling own dll (UTDC anyone?)

Thats simply in theory, i have not tried yet cause i have more important tasks in my TODO list.
Last edited by Chaos13 on Tue Sep 02, 2008 2:28 pm, edited 1 time in total.
Skydev = Chaos13 = Dimension4
User avatar
.:..:
OldUnreal Member
Posts: 1637
Joined: Tue Aug 16, 2005 4:35 am

Re: Disabling Client-Side Commands

Post by .:..: »

Set-anything commands don't work unless the next word is "input" online in 227
Set-anything only works with config variables on 227 online games and not only input variables.
1823223D2A33224B0 wrote:...and now im stuck trying to fix everything you broke for the next 227 release xD :P
(ಠ_ಠ)
User avatar
Chaos13
OldUnreal Member
Posts: 951
Joined: Sat Feb 16, 2008 10:24 am

Re: Disabling Client-Side Commands

Post by Chaos13 »

with AllObjects + DynamicLoadObject + SetPropertyStr you can do miracles ;)
Skydev = Chaos13 = Dimension4
Post Reply

Return to “Unreal General Forum”