Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds
Watch MODSonair

Members Online

»
0 Active | 7 Guests
Online:

LATEST FORUM THREADS

»
[Release]SP East Prussian ...
CoD2 Map + Mod Releases
Node is floating???
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 Scripting
Scripting and coding with Call of Duty 2.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: Execing a command on a client (automatically)
csocsi96
General Member
Since: Aug 9, 2010
Posts: 70
Last: Apr 21, 2013
[view latest posts]
Level 3
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Tuesday, Dec. 27, 2011 07:11 am
Hello,

My server nowadays has a lot of cheaters, and I want to do something with it.

So, I want to add a new system into the custom mod.
If someone writes a command in the console, and exec it on himself, the server must watch these commands, and it's values, and if some value is invalid, the server must make it's value to valid.

I mean: if some cheater writes to the console
/wallhack 1

The server MUST write it back to 0 (/wallhack 0)
I know how does xWarlordx's codehook work. (I don't want to disable the console)

It has commands in the console like: /nameesp,wallhack,chams,aimbot,tbot,burst,autobash,norecoil,aimfov,aimspeed etc...

And I want an another thing (If possible)
The server scans the client's hard drive after cheats. Like for CHMS.exe, wallhack.exe, aimbot.dll etc... and if the server finds something, It immediately BANS the client.

Thanks


edited on Dec. 27, 2011 07:13 am by csocsi96

PS.: I tried it with the PB's forbidden command list, but didn't work.
Share |
serthy
General Member
Since: Sep 8, 2010
Posts: 480
Last: Apr 15, 2013
[view latest posts]
Level 5
Im a fan of MODSonair
Category: CoD2 Scripting
Posted: Tuesday, Dec. 27, 2011 07:50 am
xDD

btw: good that you know how a multihack works.......
Share |
Dobriy
General Member
Since: Mar 31, 2011
Posts: 96
Last: May 23, 2012
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Tuesday, Dec. 27, 2011 11:41 am
Use http://game-violations.ggl.com It will partially secure you from cheaters also it is possible to use a script at which player made certain quantity head shot without death will be banned

I am not assured but it can be possible to equate these commands to any variable and they won't operate, it is used in protection against downloading of scripts for example

In Callback_PlayerConnect()
Code:
self setClientCvar("wallhack", "^1stop");
Share |
IzNoGoD
General Member
Since: Nov 29, 2008
Posts: 694
Last: Nov 10, 2012
[view latest posts]
Level 6
Category: CoD2 Scripting
Posted: Tuesday, Dec. 27, 2011 01:03 pm
The protection against downloading scripts by making the download command into a var can be easily bypassed.

Do not rely on it for the sake of your mod!
Share |
Dobriy
General Member
Since: Mar 31, 2011
Posts: 96
Last: May 23, 2012
[view latest posts]
Level 3
Category: CoD2 Scripting
Posted: Wednesday, Dec. 28, 2011 08:45 am
IzNoGoD writes...
Quote:
The protection against downloading scripts by making the download command into a var can be easily bypassed.

Do not rely on it for the sake of your mod!


I known about it D I dont use this protection
Share |
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 Scripting

Latest Syndicated News

»
Codutility is for sale!
Seems like a plan to save Codutility ..Quote:Well guys I heard what you said...
Codutility is for sale!
Well as modding dies, so does the sites that support it.. Its a sad sad day,...
Codutility is for sale!
Quote:Codutility is for sale! Yes, you read well. Codutility ( sites/do...
Why console gaming is dying
Quote:Consider this: Dedicated gaming sales — including living-room consoles...
Devs: Games are being dumb...
Click 'read more' to view the contents of this post.

Partners & Friends

»