• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

How to forbid/block CHEATS!?

Status
Not open for further replies.
Level 6
Joined
Aug 10, 2010
Messages
77
1. Guys how to block Greedisgood or whosyourdaddy in map? :p (singleplayer)
I really have not any idea.

2.Other question in spell :p how to block ability in fight - HEAL
You can heal after you ended battle not in battle.I think it is simple but no idea too :D
 
Level 6
Joined
Aug 10, 2010
Messages
77
1. This metod do not working with cheats!(of course that i tried this i am not a new in triggers)
2.what do you don t understand, I have Hero who is an attack and i need trigger that if hero is in battle he cannot use the ability :).
 
Level 9
Joined
Dec 12, 2007
Messages
489
1.
about that greedisgood cheat, if you know the maximum gold/lumber player can get in single instance, you can use a timer with 0.25 sec interval which saves all players's gold and lumber (for gold example g1). each tick of the timer, you check the difference between g1 and current gold, and if the difference is greater than the maximum threshold for gold gain per tick, that player is using cheat, return their gold value to g1. the downside of this workaround, player can just cheat a low value repetitively to avoid check.

for whosyourdaddy cheat, set up 2 units for each player, 1 with 10 hitpoint with 100 hp regen with no attack, the other one has attack damage of 1 with 0.25 attack cooldown. give the ownership of attack unit to the each player and give the high hp unit to neutrals. order the unit with attack to attack the high hp unit. then run a timer in 0.25 sec interval. each tick of timer, check if the high hp is alive. whosyourdaddy cheat multiply damage dealt by 100, if the player is using whosyourdaddy cheat, that high hp unit will be dead, after that decide what you want to do with it.

2.
about that block ability, you can trigger the ability to check if the caster is in combat before heal take place (probably via boolean and hashtable), if its in combat, don't do the spell effect.
 
Level 5
Joined
Aug 9, 2012
Messages
119
here :

HOW about u create a ttrigger that BUFF your attacked UNIT,
yes attacked unit as ur desire as u mean combat area , combat mode or whatever, im pretty sure that began with taking damage.
then u create a dummy to cast WHATEVER buff to your attacked unit... drunken haze or many more....

then the heal spell...
use channel or else that dont base ON HEALING....

the unit starts the effect of an ability,
condition if the triggeirng unit has specific buff not equal to true
then u set the heal you want....


also u can modify the buff as u wish, the duration and also dont forget to remove the buff after combat, simple as that :D

its jst a suggestion thou
 
Status
Not open for further replies.
Top