HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Disabling certain cheats?

01-19-2003, 11:06 PM#1
Guest
I was wondering if there's a way to disable single player cheats such as 'iseedeadpeople' and such. I'd rather not have players be able to do this in my new RPG.

I tried intercepting the cheat with an event:
Player - player1 [Red] types a chat message containing 'iseedeadpeople' as an exact match

but it never intercepts the cheat message.

Do I need to edit the mpq files? If so, what file(s) do I need to edit?

Appreciate any help you can give me....
01-19-2003, 11:20 PM#2
DoctorDoom
Just make it so that if someone types in a cheat use the event response chat message and then make the game do something to trigering player. Like kill all units and end in defeat. They will only cheat once.
01-19-2003, 11:32 PM#3
Guest
Ya, but the triggers never fire if a player enters a cheat.

At least I haven't been able to get em to work.

It seems like cheats bypass the 'event-player enters chat message'
01-19-2003, 11:38 PM#4
AlexBS
yes it does work. but the cheat is ACTIVATED reight before you intercept it. it tkaes 0 time to activate cheat
01-19-2003, 11:51 PM#5
Guest
Look, I've tried this trigger:

Event-
Player - player1 [Red] types a chat message containing 'iseedeadpeople' as an exact match
Condition-
Action-
Game - Display to [All Players] for 30 seconds the text: iseedeadpeople cheat entered


When I run this, and enter iseedeadpeople, the trigger never fires, and I don't see the text message. But the cheat works, and the whole map is shown.

For some reason, cheats aren't intercepted by trigger events.

Can I disable em by editing mpq files?
01-19-2003, 11:53 PM#6
FyreDaug
Its in Scripts\Cheats.j


so basically no, it probabaly CAN be done, but I doubt it.
01-20-2003, 12:05 AM#7
Guest
Thx, FyreDaug

What's the .j suffix stand for?

Man, I thought someone did disable the cheat codes in an RPG, but I know the mpq files were major league edited. I forget what one it was tho... lol.

Ugh, whotta pain some things are in the WC3 world.
01-20-2003, 01:45 AM#8
Dinadan87
To prevent them from using iseedeadpeople... have one corner of the map with a player owned ranged unit in a hole in the ground, and an enemy unit on top of the hole. Normally, the player cannot see the enemy above the hole so his unit won't attack it. But if he enters iseedeadpeople, he will then be able to see the unit up there, his unit will attack it, and you'll have a trigger detecting when that unit is attacked, and it'll boot the player out of the game. Of course you'd have to come up with other methods to prevent other cheats.
01-20-2003, 01:49 AM#9
Nogumari
I wonder if every 1 second enable fog of war would work...? Doubt it, but maybye.
01-20-2003, 02:33 AM#10
ph33rb0
It displays the text Cheat Enabled! or something similar when the player types it in so... why not if playing one enters the chat string Cheat Enabled! then do the defeat action.
01-20-2003, 03:46 AM#11
dataangel
You know cheats don't work in multiplayer anyway right? There's really nothing you can do to stop people from cheating in singleplayer -- deal with it. If they want to spoil the game for themselves let 'em.
01-20-2003, 04:01 AM#12
knightking
You can always do it the way people did in sc.
01-20-2003, 04:42 AM#13
Phil_123
Quote:
Originally posted by Dazed+Konfuzed
What's the .j suffix stand for?
The .j means that the file is a JASS file, it is the file's extension
e.g.
1. you have a plain text file called "i am a text file", so the filename of it would be:
i am a text file.txt

2. you made a program and you named the program "hax0r", so the filename of it would be:
hax0r.exe

if you don't see the .txt or .exe stuff in Windows, you SHOULD make windows display it cos some @$$es can make a harmful file look like a text file by making the extension .txt.exe...

in a folder window, press View in the menu bar -> folder options
in the folder options dialog, select the View tab.
there should be a lot of options for you to mess with in the dialog now. find and uncheck the "hide file extensions of known filetypes" box
01-20-2003, 05:10 AM#14
Guest
Yeah... The ranged unit thing is what I (Meaning my friend Sytadel did, and I ripped him off) did in SC.

I haven't paid attention, does whosyourdaddy work like power overwhelming in that the computers do no damage? If so, the tirgger in sc was to have some continuely spawning unit, and a unit that can kill that continually spawning one instantly. If so many units are in the area, then the player looses. Obviously, when power overwheling activates, the units can't be killed.

Of course, this hinges on how whosyourdaddy works...

Uh, as for greedisgood I can't see a way of stopping that... unless you guys figure out a way of doing it with the chat commands or something.
01-20-2003, 05:40 AM#15
knightking
greedisgood is impossible to stop sc style, due to how any amount can be entered. even if whosyourdaddy doesn't turn off the comp's damage like it did in sc, there are still many way to check for it, including just having a building that does 1 dmg attacking a building with 50k+ hp. without whosyourdaddy, it would take months to kill. With it, only a minute or so.