UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

Anti cheat|NO console and no cheats|

broken avatar :(
Created 10 years ago
by InFInIX
0 Members and 1 Guest are viewing this topic.
10,569 views
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 18 October 2013
Last active: 2 weeks ago
Posts
652
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
×
InFInIX's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Oil Rig Beta Access
Oil Rig Beta Access
InFInIX's Contact & Social Links
Hey,
I made a little script to save your map from console cheaters.
you can add your name to enable the cheats ONLY FOR YOU.

ok
step 1:
open YOURMAPNAME.gsc (root/raw/maps) or (root/mods/YOURMOD/maps)

and find
Code Snippet
Plaintext
maps\_zombiemode::main();

under this line add
Code Snippet
Plaintext
thread no_cheat();

now add this script add the bottom and enjoy you hack free map :)
you can activate cheats if you change ITzXxInFInIX with your Ingame name :)(need clantag too)

Code Snippet
Plaintext
no_cheat()
{
flag_wait( "all_players_connected" );
players = GetPlayers();
    players[0] SetClientDvar("sv_cheats",0);

for(i = 0; i < players.size; i++)


if(players[0].playername == "ITzXxInFInIX")//change ITzXxInFInIX to your name
players[0] SetClientDvar("sv_cheats",1);
}

don't forgett to give credits
and keep in mind that this is one of my first own scripts
Last Edit: June 22, 2014, 07:16:36 pm by InFInIX
broken avatar :(
×
broken avatar :(
The Voice in your Eyes
Location: deBavaria
Date Registered: 26 June 2013
Last active: 2 years ago
Posts
830
Respect
Forum Rank
The Decider
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Breton boys do what Breton boys do.
×
Alerion's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
I had seen a similar script before but this one is way better due to the ability to exclude yourself. Now I won't have to remove it if I want to test something.
Nice work!
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 18 October 2013
Last active: 2 weeks ago
Posts
652
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
×
InFInIX's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Oil Rig Beta Access
Oil Rig Beta Access
InFInIX's Contact & Social Links
I had seen a similar script before but this one is way better due to the ability to exclude yourself. Now I won't have to remove it if I want to test something.
Nice work!
that is the same what i thought AND the best is you can leave the start score at 500 points and don't need to change all the time :D
broken avatar :(
×
broken avatar :(
The Voice in your Eyes
Location: deBavaria
Date Registered: 26 June 2013
Last active: 2 years ago
Posts
830
Respect
Forum Rank
The Decider
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Personal Quote
Breton boys do what Breton boys do.
×
Alerion's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
Yeah, I'll just have to remember to set this score back to 500 (maybe 1000 ;)) when I release it.
broken avatar :(
×
broken avatar :(
[UGX] Maintainer (Admin & Programmer)
Location: deFriedrichshafen, Baden-Württemberg, Germany
Date Registered: 29 August 2012
Last active: 13 hours ago
Posts
435
Respect
Forum Rank
Perk Hacker
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Personal Quote
Dolphin!
Signature
changed one line of code, bug is fixed


Coming to work on monday morning.
When a bug mysteriously disappears.


:ugxmods: Developer ;)
×
Delta's Groups
UGX Administrator
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
UGX Chat Moderator Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Delta's Contact & Social Linksthe-deltaugxDeltaItsDeltaigDelta igdeltaigdeltaUGX_DeltaDelta#6147Personal Site
So what exactly does this script do? Because it doesn't work at all..

The for loop doesn't make anything, the index for the player is always 0!
The if sentence doesn't cover all statements.

So currently it gives the host a shitload of points.
( no idea about sv_disableClientConsole but is it really 0 and no 1/true ? )

Also, disabled the console doesn't prevent from cheating and for example would annoy me, because I can't change my fov to 90.

Script is broken, please fix - we don't need more broken scripts which this community already has!
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 18 October 2013
Last active: 2 weeks ago
Posts
652
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
×
InFInIX's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Oil Rig Beta Access
Oil Rig Beta Access
InFInIX's Contact & Social Links
should work now...
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
Signature
Do not take life too seriously. You will never get out of it alive.
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
should work now...
Why go through a loop when you can just check ent id ._.
broken avatar :(
×
broken avatar :(
[UGX] Maintainer (Admin & Programmer)
Location: deFriedrichshafen, Baden-Württemberg, Germany
Date Registered: 29 August 2012
Last active: 13 hours ago
Posts
435
Respect
Forum Rank
Perk Hacker
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Personal Quote
Dolphin!
×
Delta's Groups
UGX Administrator
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
UGX Chat Moderator Has the ability to mute, kick, or ban chat members for being abusive or breaking the rules of the forum.
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
Delta's Contact & Social Linksthe-deltaugxDeltaItsDeltaigDelta igdeltaigdeltaUGX_DeltaDelta#6147Personal Site
yeah, why is there a loop - if this is host only, it'S not neede otherweise the index doesn't change.

As far as I know sv_cheats is always at 0, which means this isn't an anti-cheat. It's actually ( if the name is correct) a  cheat enabler.
Also the console dvar is gone ( no idea if this actually works ) but the title is now wrong.

I'll end my post as the OP

It still doesn't work . . .
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
yeah, why is there a loop - if this is host only, it'S not neede otherweise the index doesn't change.

As far as I know sv_cheats is always at 0, which means this isn't an anti-cheat. It's actually ( if the name is correct) a  cheat enabler.
Also the console dvar is gone ( no idea if this actually works ) but the title is now wrong.

I'll end my post as the OP

It still doesn't work . . .
Because sv_cheats is a global dvar and not a client dvar. In this case since it's global it has to be set as SetDvar which means all players will have access to it no matter what.
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 8 years ago
Posts
2,790
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
Perhaps it would be better if you just make the script for single player only by doing this:

Code Snippet
Plaintext
if(players.size == 1 && players[0].playername == "NAMEHERE")

This should ensure that only the map/mod maker has the ability to use console commands(in SP). Still, unless the map maker includes the script in their FF and not their IWD its VERY easy to disable and get around(like all the other script based anti-cheats I've seen).

and instead of doing:

Code Snippet
Plaintext
flag_wait( "all_players_connected" );

You might just wanna add a wait(). As far as i know "all_players_connected" only effect COOP environment but i might be wrong about that. Still, using a wait to pause code execution for 1-2 seconds is much safer than a flag IMO.
Last Edit: June 23, 2014, 02:23:23 am by daedra descent
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 5 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
Signature

(Click to enter portfolio)
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Perhaps it would be better if you just make the script for single player only by doing this:

Code Snippet
Plaintext
if(players.size == 1 && players[0].playername == "NAMEHERE")

This should ensure that only the map/mod maker has the ability to use console commands(in SP). Still, unless the map maker includes the script in their FF and not their IWD its VERY easy to disable and get around(like all the other script based anti-cheats I've seen).

and instead of doing:

Code Snippet
Plaintext
flag_wait( "all_players_connected" );

You might just wanna add a wait(). As far as i know "all_players_connected" only effect COOP environment but i might be wrong about that. Still, using a wait to pause code execution for 1-2 seconds is much safer than a flag IMO.
The "all_players_connected" flag does work in Solo. I would think it would be much better to use a flag than a wait as the wait will always be a value which won't be specific to the actual time it takes to start the gamestate. If you really have a problem with using flags just remove it and call the script after the gamestate line which will start the script at the beginning of the game.
broken avatar :(
×
broken avatar :(
Location: de
Date Registered: 18 October 2013
Last active: 2 weeks ago
Posts
652
Respect
Forum Rank
Zombie Enslaver
Primary Group
Donator ♥
My Groups
More
×
InFInIX's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Oil Rig Beta Access
Oil Rig Beta Access
InFInIX's Contact & Social Links
I'm currently doing the scrupt new and test it better
DON'T USE THIS SCRIPT NOW
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
I'm currently doing the scrupt new and test it better
DON'T USE THIS SCRIPT NOW

Also just do if( self isHost() ) it should exist in waw.
broken avatar :(
×
broken avatar :(
Location: gbManchester
Date Registered: 15 March 2014
Last active: 4 years ago
Posts
120
Respect
Forum Rank
Pack-a-Puncher
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
ด้้้้้็็็็็้้้้้็็็็็้้้้้้้้็็็็็้้้้้็็็็็้้้้้้
Signature
▒█▀▀▀█ █▀▀ █▀▀ ░▀░ █▀▀ ░▀░ █▀▀█ █░░ ▀▀█▀▀ ▒█▀▀▀█ ▒█▀▀█
▒█░░▒█ █▀▀ █▀▀ ▀█▀ █░░ ▀█▀ █▄▄█ █░░ ░▒█░░ ░▀▀▀▄▄ ▒█░▄▄
▒█▄▄▄█ ▀░░ ▀░░ ▀▀▀ ▀▀▀ ▀▀▀ ▀░░▀ ▀▀▀ ░▒█░░ ▒█▄▄▄█ ▒█▄▄█
×
Official_TSG_'s Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
is it fixed yet?
broken avatar :(
×
broken avatar :(
[UGX] Documentation Writer & Programmer
Location: usLos Angeles, CA
Date Registered: 23 August 2013
Last active: 6 months ago
Posts
1,322
Respect
Forum Rank
Zombie Colossus
Primary Group
UGX Team Member
My Groups
More
My Contact & Social Links
More
Personal Quote
(ง º ω º )ง u wont sum m8y?
×
DidUknowiPwn's Groups
UGX Team Member
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
is it fixed yet?
It'll never work, I mean you can disable console and set sv_cheats to 0; but, the "host" only cheat mode won't work (at least through sv_cheats  ;) )

 
Loading ...