• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Anti-Cheat

Status
Not open for further replies.
Level 24
Joined
Jan 19, 2008
Messages
2,445
Meh.. I can't find that Conditions - Game Over equal to False thingy.. The map is for my little brother so I just don't want him to cheat so this is why I want to prevent cheats.. and this might be useful for something that I might make in future
 
Level 14
Joined
Nov 4, 2006
Messages
1,241
this chat message thing won't work cause it doesn't detect cheat codes, but you could check if someone playing in single player and defeat him after game has loaded (e.g. check if someones the only player)
  • Events
    • time - time elapsed is 1 sec
  • Conditions
    • number of players is equal to 1
  • Actions
    • defeat player 1....
sth like that

Edit: sry didn't read this thing that its for your brother, then my trigger will not work cause he is always playing alone, but you can use it for a multiplayer map
 
Level 37
Joined
Aug 14, 2006
Messages
7,602
I have in my campaign anti-cheat thing. It currently works with:
- iseedeadpeople
  • Anti Cheat Vision
    • Events
      • Time - Every 6.00 seconds of game time
    • Conditions
      • (Anti_Cheat_Vision is masked to Player 1 (Red)) Equal to False
      • Cinematic Equal to False
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • CHEAT_ON Equal to False
        • Then - Actions
          • For each (Integer A) from 1 to 12, do (Actions)
            • Loop - Actions
              • Game - Display to (All players) the text: |c00FF0303Please do...
              • Wait 0.50 seconds
          • Game - Defeat Player 1 (Red) with the message: |c00FF0303Please do...
        • Else - Actions
          • Trigger - Turn off (This trigger)
- whosyourdaddy
  • Anti Cheat Immortality
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Dying unit) is in (Units of type ANTI-CHEAT TAKER)) Equal to True
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • CHEAT_ON Equal to False
        • Then - Actions
          • For each (Integer A) from 1 to 12, do (Actions)
            • Loop - Actions
              • Game - Display to (All players) the text: |c00FF0303Please do...
              • Wait 0.50 seconds
          • Game - Defeat Player 1 (Red) with the message: |c00FF0303Please do...
        • Else - Actions
          • Trigger - Turn off (This trigger)
- keysersoze
  • Anti Cheat Funds
    • Events
      • Player - Player 2 (Blue)'s Current gold becomes Greater than or equal to 1.00
      • Player - Player 2 (Blue)'s Current lumber becomes Greater than or equal to 1.00
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • CHEAT_ON Equal to False
        • Then - Actions
          • For each (Integer A) from 1 to 12, do (Actions)
            • Loop - Actions
              • Game - Display to (All players) the text: |c00FF0303Please do...
              • Wait 0.50 seconds
          • Game - Defeat Player 1 (Red) with the message: |c00FF0303Please do...
        • Else - Actions
          • Trigger - Turn off (This trigger)
Also I set things up at the beginning of game like this:

  • Anti Cheat Set
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • -------- Place Anti-Cheat Vision --------
      • Unit - Create 1 ANTI-CHEAT SEE for Neutral Passive at (Center of Anti Cheat Vision <gen>) facing Default building facing degrees
      • Set Anti_Cheat_Vision = (Last created unit)
      • -------- Place Anti-Cheat Shooter --------
      • Unit - Create 1 ANTI-CHEAT SHOOTER for Player 1 (Red) at (Center of Anti Cheat Damage <gen>) facing Default building facing degrees
      • Set Anti_Cheat_Damage_Shooter = (Last created unit)
      • -------- Place Anti-Cheat Taker --------
      • Unit - Create 1 ANTI-CHEAT TAKER for Neutral Hostile at (Center of Anti Cheat Damage <gen>) facing Default building facing degrees
      • Set Anti_Cheat_Damage_Taker = (Last created unit)
 
Level 22
Joined
Feb 26, 2008
Messages
892
In my opinion, if someone wants to cheat in single-player, more power to them. I don't really care. Cheats can be fun.
But if you're worried about save/load codes or the like, you have a couple options:

1. Make the code different for a single-player game vs. a multi-player game.
2. Don't let people play in single-player mode.

Also, Cheating Isn't Chatting.
 
Level 6
Joined
Mar 17, 2008
Messages
150
E
Player types whosyourdaddy is an exact match
C
Number of players equal to 1 - You don't need this
A
Defeat Triggering Player with defeat
--------------
Save/Load
E
Elapsed game time is 5.00
C
Number of Players equal to 1
A
Trigger - Turn off Save/Load initialization
Trigger - Turn off GameCache trigger
Trigger turn off all the save/load codes there is.
Trigger Turn on the Save/Load off trigger
-------------
Save/Load off trigger
E
Player type -save as an exact match
C
----
A
Game - Display to triggering player you cannot save due to single player mode.
 
Level 22
Joined
Feb 26, 2008
Messages
892
> E
Player types whosyourdaddy is an exact match
C
Number of players equal to 1 - You don't need this
A
Defeat Triggering Player with defeat



And so I repeat what first I said: Cheating Isn't Chatting

We've already established that.

And the only drawback to stopping save/load in single player is that the person can't save their character in single player. Maybe they want to play it alone? They can't do that now.
But it is the easiest solution.
 
Level 2
Joined
Jan 16, 2007
Messages
9
Just a stupid simple GUI system i made during free time at work:grin::

Can detect using these cheats:
-whosyourdaddy
-thereisnospoon
-iseedeadpeople
 

Attachments

  • (1)AntiCheat.w3x
    10.2 KB · Views: 76
Level 4
Joined
Dec 16, 2007
Messages
134
How do I defeat player if he writes a cheat... for example: iseedeadpeople.
I tried trigger that defeats the player who says it, but doesn't work.

Make an event time elapsed is 1 sec then a condition checking if there is only 1 player equal to true then action disable saving/loading.
 
Status
Not open for further replies.
Top