Warcraft III resources & community, 2003–2006 · archived

Anti-Cheat Trigger

29 posts
#1

Anti-Cheat Trigger

How can I make a map so that it bans the person if he is playing one player? I only need the actions please. Thanks in advance.
#2

Re: Anti-Cheat Trigger

orcfan32How can I make a map so that it bans the person if he is playing one player? I only need the actions please. Thanks in advance.


what exactly do you mean by "if he is playing one player"?! and by "banning", what do you expect to happen? getting banned from bnet? from your map? I don't need to mention that these actions are impossible to do..

however, the only thing you can do against found cheaters is to "defeat" that players in the map which equals kicking him. ( game triggers > defeat player)

klovadis
#3
By banning i think he referes , that the person will be kicked- he will be disconnected from that game like in x hero siege.
By "if he is playing one player"? i dont understand to
#4
He's referring to the trigger that makes it so you cant play solo, such as in the Final Fanstasy open rpg.

I say screw that. Every map should have single player support.
-VGsatomi
#5
Now i understand , if u try to play alone this map u will be automaticly kicked.
#6
no, not automatically kicked, but if you enter cheats. as referring to the title of the forum... playing alone is not cheating, other wise their would be no campaigns.
#7
You CANNOT anti-cheat.

Cheats are submitted into the game so fast that they don't even count as text typed by the player. So there.

Unless you want to make a trigger that searches for rapid increase in gold/money, a unit that cannot be hurt, increased build speed, and whatever, you cannot anti-cheat.
#8
There is one way that you could stop them using some cheats.

For example:-

Use a substring so that if they do use the increase gold/lumber cheats you can easily remove this.

just use something like this:-

Event- player 1 types a chat message containing keysersoze as a substring

Conditions - none

Action - set triggering players current gold to gold of triggering player - substring Entered Chat String 12, (length of entered chat string - 12)

You could do the same for the lumber cheat.

You could stop the visibility one by using a visibility modifier.

But as for the others i am not sure...

//////////////////////////////////////////////////

This is the trigger to kick them from the game if you want it.

Events:- Time elapsed equal to 0 seconds

Conditions- none

Actions:-

If/Then/Else

If

And all conditions are true

player 1 slot status is equal to playing equal to true
Player 1 controler is equal to user

Then

Set (use an integer variable) equal to (same variable) +1

/////////// Do that for every Player ///////////

If then else

if

(same integer) equal to 1

then

defeat player 1 with message Defeat!
defeat player 2 with message Defeat!
defeat player 3 with message Defeat!
defeat player 4 with message Defeat!
defeat player 5 with message Defeat!
defeat player 6 with message Defeat!
defeat player 7 with message Defeat!
defeat player 8 with message Defeat!
defeat player 9 with message Defeat!
defeat player 10 with message Defeat!
defeat player 11 with message Defeat!
defeat player 12 with message Defeat!

Else

Do nothing


Hope it helps
#9
[quote]Cheats are submitted into the game so fast that they don't even count as text typed by the player. So there.[quote]

This would mean that my first idea would not work... so that method would not work.
#10
Godly-Forces
Cheats are submitted into the game so fast that they don't even count as text typed by the player. So there.


This would mean that my first idea would not work... so that method would not work.


Yup. I'm glad you noticed. I wanted to scold you for suggesting that idea. :P

Someone on TWC told me that. ^_^
#11
YOU PEOPLE ARE STUPID!!!!!
no matter wat you type, it gets intered as a cheat. have you ever played teenage mutant ninja turtles, that guy put the trigger on, and it worked. maybe if you were a decent triggerer, youd understand. yes, you can do it. find the map at maps.worldofwar.net if you dont beleive me.
#12
These should be done like this:
When a person types one of the cheats ( -greedisgood , whosyourdaddy , warpten) he will be kicked!!
What is so hard?
#13
excite, the thing they said above is warcraft game system iliminates the cheat codes before they even reach the triggers. Even setting it to player types cheat enabled! will not work. and titan, shut up. you haven't even been around for that long, and telefragged explained that it wont work before you, and all you do is call other people stupid. And stop screaming that it can be done. do YOU know how to do it? obviously not from what you wrote, you just know its possible. so shut up. There is another way to do it, such as if the gold increases too quickly overtime, like over 500 just at once, but for RPG's not so practical. I think there is another way to iliminate the cheats, but i personall don't know.
#14
Well there is a way to remove cheats from the game its a bit complexe though (if you dont know jass dont bother with this, as it is more complacated then jass)

you have to extract the Cheats.MPQ from the map.mpq and change it so the codes have a blank code or a diffrent code for there effect, but if you dont know how to extract mpq, then dont even try you'll screw your map if you mess ONE thing up