does anybody know how to get rid of the cheats that blizzard put in(ex: greedisgood, whosyourdaddy, etc.)?
i tried two things, importin a blank document with path at scripts\cheats.j(or sumthing like that), didnt work , and tried to add a defeat trigger if they type the cheat in, didnt work
THose cheats are built into the game its self, not a map option. So sorry, there is no way to disable them directly. You can, however, make periodic events that make the main character vulnerable (to counter the "whosyourdaddy" cheat or cap resources to a certain point to counter money cheats, ect. -VGsatomi
No, the cheats are programmed into the game. They cannot be detected with triggers and thus they cannot be stopped. Meaning, even if I typed whosyourdaddy, I wouldn't be defeated by that trigger.
Just don't understand the reason for disabling the cheats. It's single-player, right? It's up to the player if he wants to cheat and kill his own fun or not, isn't it?
There is actually to force a player to type a cheat again, it's Jass but it's simple.
Example:
call Cheat("Whosyourdaddy")
(use in a custom script action)
Does the same as when the player types it, so if he enabled the cheat this will turn it off, however if he didn't, it'll turn it on. Bad thing is that you can't really know when it's turned on or off, without making some test, like trying to damage a unit.
You can change the whosyourdaddy to any cheat you like, "greedisgood 5000" would do the same thing as if the player typed it.
Blade.dk2There is actually to force a player to type a cheat again, it's Jass but it's simple.
Example:
call Cheat("Whosyourdaddy")
(use in a custom script action)
Does the same as when the player types it, so if he enabled the cheat this will turn it off, however if he didn't, it'll turn it on. Bad thing is that you can't really know when it's turned on or off, without making some test, like trying to damage a unit.
You can change the whosyourdaddy to any cheat you like, "greedisgood 5000" would do the same thing as if the player typed it.
Great idea... I know how to combat the last part though. You could just add a - to in front of the integer. ^_^
Blade.dk2There is actually to force a player to type a cheat again, it's Jass but it's simple.
Example:
call Cheat("Whosyourdaddy")
(use in a custom script action)
Does the same as when the player types it, so if he enabled the cheat this will turn it off, however if he didn't, it'll turn it on. Bad thing is that you can't really know when it's turned on or off, without making some test, like trying to damage a unit.
You can change the whosyourdaddy to any cheat you like, "greedisgood 5000" would do the same thing as if the player typed it.
Great idea... I know how to combat the last part though. You could just add a - to in front of the integer. ^_^
But, what about stuff like, say, thedudeabides?
It would do nothing, and a valid cheat like "iseedeadpeople" would do nothing in multiplayer. And btw, the cheats don't have to be case sensitive so "WhOSYoURdAdDY" will work (even though it would make you appear as a complete idiot).