CheatDetection

Reaction score
341
I've made a library which detects the following cheats as soon as their typed.

  • whosyourdaddy
  • iseedeadpeople
  • keysersoze
  • leafittome
  • greedisgood

The only other cheats I see fit to detect are PointBreak (no food limit) and Warpten (fast build time).

The rest are campaign cheats, or stupid ones that play a sound or something.

Does anyone see a way to detect either one of those as soon as the cheat is inputed?

I think constantly ordering a building to train units is overkill so i'm wondering if you guys have alternatives.
 

BlackRose

Forum User
Reaction score
239
Pointbreak, maybe have a computer player train a unit, if the cheat is activated, then the unit can be trained. If the unit is trained then KILL THE CHEATER? Pointbreak does work for all players right?

Warpten, could work same as above, but like. Um. Wait. AGH/

Have a unit be trained every 3 seconds, then cancel it after 2.5, with a train time of 2 seconds. If warpten is activated, then the unit can not get cancelled because it is too fast?

No idea.
 
Reaction score
341
Pointbreak, maybe have a computer player train a unit, if the cheat is activated, then the unit can be trained. If the unit is trained then KILL THE CHEATER? Pointbreak does work for all players right?

Warpten, could work same as above, but like. Um. Wait. AGH/

Have a unit be trained every 3 seconds, then cancel it after 2.5, with a train time of 2 seconds. If warpten is activated, then the unit can not get cancelled because it is too fast?

No idea.

Me said:
I think constantly ordering a building to train units is overkill so i'm wondering if you guys have alternatives.

Is it even possible to force a building to train a unit?
 

BlackRose

Forum User
Reaction score
239
Oops. Anyways, what is wrong with issuing one order which will be held up in queue forever as long as pointbreak is dead?
Trigger:
  • Unit - Order No unit to train/upgrade to a Footman


Instead of training units constantly, UPGRADE RESEARCH :D
 
Reaction score
341
Oops. Anyways, what is wrong with issuing one order which will be held up in queue forever as long as pointbreak is dead?

For warpten it would require constant training/removal of the unit.

EDIT: I think I may have found a way for warpten.

EDIT2: PointBreak detection works.
 

Sevion

The DIY Ninja
Reaction score
413
I wonder, does:

JASS:
hook Cheat(string s) Detect(string s)


work. Or something similar.

I was just wondering because I don't know if the call would be detected outside of triggers.

Anywho, I have some limited amount of experience in hooks.
 
Reaction score
341
I doubt it. I'd be pretty pissed if that does work.

Anyways, the only cheat left for me to detect is warpten then I can release this.
 

Goober4473

TH.net Regular
Reaction score
7
Can't you just have a trigger with an event that the player enters a specific string? If all you want is to do something as soon as they enter the code, wouldn't that be all you need? And if you want something done constantly while the code is entered, just set a boolean when the string is entered.
 

Sevion

The DIY Ninja
Reaction score
413
Can't you just have a trigger with an event that the player enters a specific string? If all you want is to do something as soon as they enter the code, wouldn't that be all you need? And if you want something done constantly while the code is entered, just set a boolean when the string is entered.

Doesn't detect. AFAIK.
 

Renendaru

(Evol)ution is nothing without love.
Reaction score
309
I wonder, does:

JASS:
hook Cheat(string s) Detect(string s)


work. Or something similar.

I was just wondering because I don't know if the call would be detected outside of triggers.

Anywho, I have some limited amount of experience in hooks.

Method does not work, I've tested that thoroughly. Cheat() in triggers will detect, entered chat cheats do not detect.
 

Sevion

The DIY Ninja
Reaction score
413
Damn. I was wondering if it'd detect since it isn't called in a trigger, but rather run internally.
 
Reaction score
341
To confirm, just tested;

JASS:
    function Shit takes string s returns nothing
        call BJDebugMsg("damnnit!")
    endfunction
    
    hook Cheat Shit


Didn't work, as Renendaru said.

So far I have detected:

JASS:
//   KeyserSoze     - Gives you gold
//   LeafitToMe     - Gives you lumber
//   GreedisGood    - Gives you gold and lumber
//   IseeDeadPeople - Remove fog of war
//   WhosYourDaddy  - God mode
//   PointBreak     - No food cap
//   ThereisNoSpoon - Unlimited Mana


Warpten will be the last one, unless someone thinks detecting another cheat would be good.
 

tooltiperror

Super Moderator
Reaction score
231
I wonder, will it stop greedisgood 10000 or whatever, or only Greedisgood? If so, it would be pointless.
 

Azlier

Old World Ghost
Reaction score
461
There's a simple way to stop any greedisgood. Check if a player that should never have gold has some. If he does, greedisgood was used. This, of course, will only work assuming that greedisgood affects all players.
 
Reaction score
341
It works for any greedisgood value.

Greed is good affects all players. My script requires one idle player that is not affected at all throughout the game to be able to detect certain cheats.
 

Light Alkmst

New Member
Reaction score
20
I'm having a little trouble following the thread, but I'm pretty sure I found an action that allowed the default cheat activation.
 

Azlier

Old World Ghost
Reaction score
461
I heard that the disabling action doesn't work at all.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top