Using ̶0;DotA̶1; Cheats
You can use cheat codes only during single-player or custom maps in ̶0;DotA.̶1; The multi-player scenarios do not allow you to cheat against other real players. Press the ̶0;Enter̶1; key on your keyboard to open a chat box. Type the cheat code exactly as it is listed, then press the ̶0;Enter̶1; key again to execute the cheat. The game will display the "Cheat Code Enabled" message when you enter a cheat code correctly.
Resource and Building Cheats
In ̶0;DotA̶1; you must gather resources and build new structures to support your troops. Type ̶0;LeafitToMe̶1; followed by a number to receive a certain amount of lumber and ̶0;KeyserSoze̶1; followed by a number to receive gold. If you need both gold and lumber, type ̶0;GreedIsGood̶1; followed by a number. You can also type the ̶0;WarpTen̶1; cheat to speed up the building rate for your structures.
Map Effects Cheats
Other ̶0;DotA̶1; cheats change the way the map displays, including the day and night cycles. Type ̶0;IseeDeadPeople̶1; to remove the fog of war, enabling you to see the entire map, even if you have not explored all areas. The ̶0;RiseAndShine̶1; cheat will change the map time to dawn, while the ̶0;LightsOut̶1; cheat will change the time to dusk. You can freeze the map time by typing the ̶0;DayLightSavings̶1; cheat. If you follow ̶0;DayLightSavings̶1; with a specific time, the game map will change to that time.
Invincibility and Instant Win Cheats
If you want to test features of a map or you̵7;re stuck on a scenario, you can use codes that allow you to become invincible. Use the ̶0;StrengthAndHonor̶1; cheat to become invincible. The ̶0;WhosYourDaddy̶1; cheat enables god mode, which makes you invincible and allows you to defeat opponents in one hit. Type ̶0;AllYourBaseAreBelongToUs̶1; to instantly win the scenario or ̶0;SomebodySetUpUsTheBomb̶1; to instantly lose the scenario and start over.