1. - Beating Iseedeadpeople cheat
2. - Beating Whosyourdaddy cheat
3. - Beating Greedisgood cheat
If you know any other ways to anti-cheat in single player maps please share them and they will be added.
1. Beating the Iseedeadpeople cheat
This is the simplest one to get beat.
Simply make a trigger in game that has an event, Periodic timer, somewhere less than 2 seconds. The actions you want are in the visibility category, "Visibility - Enabled black mask" and "Visibility - Enable fog of war".
2. Beating Whosyourdaddy
This one will require a few triggers and some unused space on your map. You need to pick a corner of your map that no one will be able to get to and 2 dummy units. The first unit will be, lets say a guard tower, set it's attack to 5 and give it a low cooldown, invulnerability and spell immunity. The second unit will have spell immunity and 100 hp and 100-hp regeneration always. You need to place both units near each other out of reach, the tower will belong to neutral passive and the second unit will belong to neutral hostile. this is where we implement the triggers. first trigger will need to give the tower to a user's slot that isn't being used at the moment. The trigger then will give the tower to the unused user slot. Create a trigger with Specific unit event "Neutral hostile's unit dies" and action "custom script: call EndGame( false )"
This works because units owned by a user player slot are affected by the Whosyourdaddy cheat, once someone enters the cheat their unit will do more damage and the neutral hostile's unit will die.
sample triggers are below.
why give the tower to a unused player slot? so that they dont see it. that will leave them unknowning as to why they lost.
3. - Beating GreedisGood cheat, by AgentPaper
what this does is it checks every second how much a player's gold has increase, if they increase way to fast then it will change their gold back to what it was before. The value of X should be a number that is unattainable in 1 second of game play.
3.1 - Second way to beat Greedisgood
Because greedisgood give gold to all players/computer all you need is a empty player slot that has no chance of ever getting gold. have a trigger event from that player/computer having greater then or equal to X amount of gold and have whatever actions you want.