|
|
#1 |
|
User
Join Date: Jan 2006
Posts: 9
|
NOTE: You have been redirected in order for our attachments to be made available to you. This will only last two minutes; these measures where taken to avoid hotlinking and bandwidth theft. To avoid these restrictions Log in or Register Anti-Cheat tutorial
1. - Beating Iseedeadpeople cheat If you know any other ways to anti-cheat in single player maps please share them and they will be added. 1. Beating the Iseedeadpeople cheat This is the simplest one to get beat. Simply make a trigger in game that has an event, Periodic timer, somewhere less than 2 seconds. The actions you want are in the visibility category, "Visibility - Enabled black mask" and "Visibility - Enable fog of war". Trigger: 2. Beating Whosyourdaddy This one will require a few triggers and some unused space on your map. You need to pick a corner of your map that no one will be able to get to and 2 dummy units. The first unit will be, lets say a guard tower, set it's attack to 5 and give it a low cooldown, invulnerability and spell immunity. The second unit will have spell immunity and 100 hp and 100-hp regeneration always. You need to place both units near each other out of reach, the tower will belong to neutral passive and the second unit will belong to neutral hostile. this is where we implement the triggers. first trigger will need to give the tower to a user's slot that isn't being used at the moment. The trigger then will give the tower to the unused user slot. Create a trigger with Specific unit event "Neutral hostile's unit dies" and action "custom script: call EndGame( false )" Trigger: Trigger: why give the tower to a unused player slot? so that they dont see it. that will leave them unknowning as to why they lost. 3. - Beating GreedisGood cheat, by AgentPaper what this does is it checks every second how much a player's gold has increase, if they increase way to fast then it will change their gold back to what it was before. The value of X should be a number that is unattainable in 1 second of game play. Trigger: AntiGreed1![]() Conditions![]() Actions![]() ![]() Player Group - Pick every player in (All players) and do (Actions)![]() ![]() ![]() Loop - Actions![]() ![]() ![]() ![]() Set Value2[(Player number of (Picked player))] = ((Player((Player number of (Picked player)))) Current gold)![]() ![]() ![]() ![]() If (All Conditions are True) then do (Then Actions) else do (Else Actions)![]() ![]() ![]() ![]() ![]() If - Conditions![]() ![]() ![]() ![]() ![]() ![]() (Value1[(Player number of (Picked player))] - Value2[(Player number of (Picked player))]) Greater than or equal to (5000 + 0)3.1 - Second way to beat Greedisgood Because greedisgood give gold to all players/computer all you need is a empty player slot that has no chance of ever getting gold. have a trigger event from that player/computer having greater then or equal to X amount of gold and have whatever actions you want. Last edited by SomeGuy333 : 06-13-2006 at 03:00 PM. |
|
|
|
| Sponsored Links - Login to hide this ad! |
|
|
|
|
#2 |
|
SPOON!
Respected User
Join Date: Sep 1983
Posts: 4,899
![]() ![]() ![]() ![]()
|
You might want to explain what the cheats do, and why you are revealing the map in your first trigger...
__________________ |
|
|
|
|
|
#3 |
|
User
Join Date: Jan 2006
Posts: 9
|
that was an accidental typo, thanks for pointing it out.
|
|
|
|
|
|
#4 |
|
Baron Grunwald is.
Texturing Moderator
|
Niice... very usefull
__________________ |
|
|
|
|
|
#5 |
|
SPOON!
Respected User
Join Date: Sep 1983
Posts: 4,899
![]() ![]() ![]() ![]()
|
It's lame efficiency.
__________________Why don't you use 'a user types -Iseedeadpeople' as the event? |
|
|
|
|
|
#6 |
|
Free Software Terrorist
Technical Director
|
hmnn whitehorn that's a burn!
__________________you can't detect cheat codes using the chat event |
|
|
|
|
|
#7 |
|
User
Join Date: Jan 2006
Posts: 9
|
i think whitehorn is confused, he is probably thinking this is a tutorial to get ingame single player cheats in multiplayer.
|
|
|
|
|
|
#8 | |
|
SPOON!
Respected User
Join Date: Sep 1983
Posts: 4,899
![]() ![]() ![]() ![]()
|
Quote:
Not at all. But your trigger was pretty lame considering it emulated the cheat rather than countered it :P |
|
|
|
|
|
|
#9 |
|
Banned
|
I thought cheats can be removed by importing empty cheats file or something into map.
|
|
|
|
|
|
#10 |
|
Free Software Terrorist
Technical Director
|
no, It used to work but not anymore.
__________________And I don't understand any of the triggers posted her |
|
|
|
|
|
#11 |
|
User
|
The last one makes some sense, but you can just slightly increase your gold and lumber each time. I don't seem to get the others either.
__________________ |
|
|
|
|
|
#12 | |
|
User
Join Date: Jan 2006
Posts: 9
|
Quote:
Last edited by SomeGuy333 : 03-10-2006 at 10:22 PM. |
|
|
|
|
|
|
#13 |
|
Free Software Terrorist
Technical Director
|
All right I understand the anti Iseedeadpeople now, but would that actually work with maphacks?
__________________I think the best way (less charging) is to add a corrupted model that makes the game crash to an area that is invisible |
|
|
|
|
|
#14 |
|
Banned
Join Date: Jul 2005
Posts: 343
|
It can't respond to a chat event cause a cheat isn't condiered a chat message.
It has to be faster then every 1 second also to work right. Trigger: Add that condition to the first one. Trigger: Anti GoldCheat
![]() Conditions
![]() Actions
![]() ![]() -------- PlayersPlaying is a Variable that keeps track of players currently playing, by adding at start, and removing when they leave. --------
![]() ![]() Player Group - Pick every player in PlayersPlaying and do (Actions)
![]() ![]() ![]() Loop - Actions
![]() ![]() ![]() ![]() Set GoldCurrent[Player Number of (Plicked Player)] = ((Picked player) Current gold)
![]() ![]() ![]() ![]() If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Last edited by MrApples : 03-12-2006 at 12:09 AM. |
|
|
|
|
|
#15 |
|
Alcopops
Tools & Tutorials Moderator
|
This is pretty useful i guess - approved.
__________________Please consider updating your tutorial with MrApple's suggestion. |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|
|
Donate |