HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Intercepting Single Player cheats?

02-24-2003, 12:32 PM#1
FyreDaug
It has been tried before, but it hasn't worked. I thought of importing a custom cheats.j file into the map with all the cheats removed. I'm off to school right now, can someone try this and get back to the community? It would make a great single player RPG worthwhile.
02-24-2003, 12:44 PM#2
CrazyGamer
Wouldn't it be easier to just write a trigger that defeats the player if he types any kind of cheat code?
02-24-2003, 03:33 PM#3
Guest
it doesnt work, alot of people tried that:

u cannot check of a cheatmessage was typed, cause wc3 will not even consider a cheat a textmsg...
in my "old" community they couldnt even deactivate them with extern file editing

what i would like to have: the ability to do the following, if a player types a cheat: transform his hero into a sheep.
02-24-2003, 03:50 PM#4
PitzerMike
Take a look at the AI files (human.ai, orc.ai)
the first line in the main function says

set do_debug_cheats = GetAiPlayer() == 1

This could mean that cheats are disabled as soon as there is no computer player.

Try to make use of that