| 01-22-2004, 01:14 PM | #1 |
How do you prevent players from cheating when they play your game offline? |
| 01-22-2004, 03:50 PM | #2 |
Trigger: Event- player ? (who the person is) types a chat message containing- <nameacheat> (for example:) whosyourdaddy Condition- NONE Action - Game - give message: you lousy cheater player - remove player ? (who the person is) from game don't know a easyer way this fast. Mozared |
| 01-22-2004, 03:52 PM | #3 |
WARNING: If you are doing a COT/Legacies of the Serpant ETC. type map, have 2 SEPERATE save and load systems, or no offline. Why? Hackers. Hackers on B.net get banned. Hackers offline do not. |
| 01-22-2004, 06:13 PM | #4 |
I guess this bejavu will only take 1 or 2 days, use the trigger action set map flag like this Game - Set map flag - Set Use cheats off |
| 01-22-2004, 06:32 PM | #5 |
Mozared, that won't work. Cheat codes aren't chat strings; they don't get "spoken" for another trigger to "see" them. Disallowing cheat codes is the only way to do it. |
| 01-22-2004, 07:10 PM | #6 |
Sure about that? i remember the spider queen 1 (could be another campaign) had this kind of triggers, cause when i cheated i did got a game - message... Mozared P.S. no map - flag - turn use cheats off option. can't choose use cheats off in there (well maybe with umswe i think). |
| 01-22-2004, 07:14 PM | #7 |
hmm... i this Mozared may be right, but i'll check when i get home, i'm at school right now ... :) |
| 01-22-2004, 09:16 PM | #8 |
Actually, Mozared's idea WON'T work, Biflspud IS right, and the way most games prevent cheats is the work around method. Like: To prevent the cheat that allows you to see the whole map, make an area that is blocked so there is NO way for players to ever see it (boundery/pathing blockers, you must prevent flying units from reaching it too), make a group of invincible units for each player, give them a long attack range, and put a unit with MASSIVE hp on a cliff above them. Then make a trigger: Code:
Event Unit is attacked Condition Attacked unit is "Your Cliff unit here" Attacking unit is "Your invisible invincble player owned unit here" Actions Send message to player (triggering player) "Cheats are not allowed" Defeat triggering player You can do something similar for the "Invincibility" cheat. With a little work you could make a way to stop any cheats. |
| 01-22-2004, 09:30 PM | #9 |
Stopping cheats offline is pointless. They're not spoiling the game for anyone else. |
| 01-23-2004, 01:12 PM | #10 |
I want to prevent cheats because cheats make a game too easy. |
| 01-23-2004, 02:34 PM | #11 |
All fine, but i'm sure i saw what i said above (that when you typed a cheat it defeats you) in a campaign. any explanation for this? B.T.W, i tested what i said above and to clear it all up: it DIDN'T work. i tryed "Cheat enabled!" as a string and "whosyourdaddy", though both had NO effect. Mozared |
| 01-23-2004, 02:53 PM | #12 |
have this line in your map initialization trigger: Custom Script: call SetMapFlag(MAP_CHEATS,false) |
| 01-23-2004, 03:55 PM | #13 |
use SEARCH function i think fyredaug posted it long time ago.. there is a file you just need to import in your map... I do N O T remember what file it was... something like cheats.j and if u import an empty file, no cheats work. |
| 01-23-2004, 04:22 PM | #14 |
your 100% right, i just readed the post, some dude in here linked to it:-p Mozared |
| 01-24-2004, 04:49 AM | #15 | |
Quote:
Hey, why didn't I think of that?! |
