• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Cheats

Status
Not open for further replies.

Pie.matthew

P

Pie.matthew

I am making a Singe player game, and is there any way to stop people from typing in cheats???
 
You can reverse some with triggers. (Like resource cheats) Others I would just suggest a penalty.
 
I have tried that whenever a player types in a cheat, you lose, but It didnt work. Is any1 able to tell me working code for it???
 
  • AntiCheat
    • Events
      • Player - Player 1 (Red) types a chat message containing -greedisgood as A substring
      • Player - Player 2 (Blue) types a chat message containing -greedisgood as A substring
      • Player - Player 3 (Teal) types a chat message containing -greedisgood as A substring
      • Player - Player 4 (Purple) types a chat message containing -greedisgood as A substring
      • Player - Player 5 (Yellow) types a chat message containing -greedisgood as A substring
      • Player - Player 6 (Orange) types a chat message containing -greedisgood as A substring
      • Player - Player 7 (Green) types a chat message containing -greedisgood as A substring
      • Player - Player 8 (Pink) types a chat message containing -greedisgood as A substring
    • Conditions
    • Actions
      • Game - Defeat (Triggering player) with the message: No Cheating Ass Hat
 
  • AntiCheat
    • Events
      • Player - Player 1 (Red) types a chat message containing -greedisgood as A substring
      • Player - Player 2 (Blue) types a chat message containing -greedisgood as A substring
      • Player - Player 3 (Teal) types a chat message containing -greedisgood as A substring
      • Player - Player 4 (Purple) types a chat message containing -greedisgood as A substring
      • Player - Player 5 (Yellow) types a chat message containing -greedisgood as A substring
      • Player - Player 6 (Orange) types a chat message containing -greedisgood as A substring
      • Player - Player 7 (Green) types a chat message containing -greedisgood as A substring
      • Player - Player 8 (Pink) types a chat message containing -greedisgood as A substring
    • Conditions
    • Actions
      • Game - Defeat (Triggering player) with the message: No Cheating Ass Hat

uh, typing in a cheat in single player does not require a -, and you cant detect when some one is typing in a cheat. BUT heres an idea. Make the cheats have no purpose. such as, when you get a LOT of money fast, then make the "computers" undefeatable, like, make them invunerable, or when they have the power of "whosyourdaddy" then make all the units invunerable by checking if a player is killing units in one hit. etc. etc.
 
Status
Not open for further replies.
Back
Top