• 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.

Anti cheating system

Status
Not open for further replies.
Level 9
Joined
Oct 24, 2007
Messages
421
Anti cheating system - Solved

I'm looking for a way to disable cheating in single player. Mainly just whosyourdaddy, thereisnospoon and iseedeadpeople. I want my map to be able to be saved and loaded in single player as well as multi.

Some might say oh use the trigger I've attatched, but it doesn't work.

The entered chat string has to have no in game effect to be recognised.
I've seen this done before but don't know how, any help appreciated.

Oh and if possible I'm after the trigger that disconnects the player who cheated from the game too, if not a trigger than some custom code for me to copy and paste would be great (I can't jass for nuts)
 

Attachments

  • trigger.JPG
    trigger.JPG
    43.9 KB · Views: 344
Last edited:
your problem is your putting all those events into one trigger, you need to split them up.. that trigger will only activate if all of those players type it at the same time..

Also you set your variable after you used it..


  • Events
  • Player 1 red types a chat message containing whosyourdaddy as an exact match
  • Conditions
  • Actions
    • Defeat (triggering player) with the message CHEATER!
 
Level 9
Joined
Oct 24, 2007
Messages
421
Actually I know that's wrong. But thanks for trying and responding fast :)

The editor allows multiple events but can treat a single one as a way to activate the trigger... so that isn't the problem

If you don't believe me try it out...

oh and the variable was set after as originally i would take the player back to the game if they turned off the cheat, and the cheat boolean would check if the cheat is on.

Just to show what wont work i attatched the 'assumed to be correct' method. It doesn't work, and that is why I am confused and need help

EDIT

I found a way to kick players for using whos your daddy!!! But now I need to think of a way to tell if a player has used the cheat 'thereisnospoon'. Any ideas? (this cheat gives you no mana cost on abilities)

EDIT2

I have also solved this one. The last one now

How to make an anti cheat system for the cheat iseedeadpeople (reveals entire map)
 

Attachments

  • cheater.w3m
    15.7 KB · Views: 149
Last edited:
Level 9
Joined
Oct 24, 2007
Messages
421
It wasn't how to punish players I was trying to solve, just how to tell they are cheating, and kick them once this is detected.

Thereisnospoon and whosyourdaddy have been solved, both in mildly complex manners for any player in the game in single player, just iseedeadpeople now, and I have no idea how I could solve that.

I decided not to be nice and let them turn it off in the end, and just to kick them just in case loopholes could be found which allowed the cheats to remain.
 
Status
Not open for further replies.
Top