• 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 Maphack System

Status
Not open for further replies.
Level 1
Joined
Apr 10, 2008
Messages
3
I was wondering if anybody had an efficient anti-maphack which could be used in a map with full visibility. Thanks.
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
ROFL
You want to detect people that can see all the map in a game that all the people can see the whole map ...
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
ROFL
You want to detect people that can see all the map in a game that all the people can see the whole map ...

Map hack sees invisible units


Well you can do something like that yourself easly I guess
It wont detect the person who uses maphack but it will kick him from game

Every second
pick every unit on map
if picked unit visible to a player
create a corrupted model for that player attached on picked unit and destroy it

since its not visible to that player game wont display it and wc3 wont crash
but if its not visible and he uses map hack wc3 will display it and it will crash

I think this could work with a %60 chance
 
Level 15
Joined
Sep 3, 2006
Messages
1,738
I don't see how you can detect a unit seeing an invisible unit if map hack doesn't detect "invisible units".
If that doesn't make sense, you guys are detecting if a hero can see a unit. Map hack doesn't work like that. It doesn't tell WC3 that that player can see the unit. That's why it's a hack >>
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
You have no idea how 100% full proof anti map hacks work :D
O2, that is kinda bad :D
I suggest creating a unit for neutral hostile, making it invisible some way, then adding the attachment(effect).
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Current map hack "detecting" systems create a corrupted effect and lightning at a location that is not visible for any player. If someone uses map hack, he will see it and wc3 will try to display it for him, resulting in immediate fatal error(game crash).
 
Level 19
Joined
Aug 24, 2007
Messages
2,888
There is a IsUnitVisibleToPlayer to player function
and it should be false when asking for if an invisible unit is visible to an enemy player
blablabla story of the year
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
Well, still, creating 1 unit and adding a special effect is way better that picking all units in the map every second.
 
Level 1
Joined
Apr 10, 2008
Messages
3
Actually, the anti maphack also needs to do the following:

Prevent players from seeing invisible units.
Prevent players from seeing enemy and ally skills.
Prevent players from seein enemy resources.
Does not neccessarily need to prevent players from removing fog of war.
 
Level 12
Joined
Apr 27, 2008
Messages
1,228
If your map has full visibility, then, there is no fog of war.

About invisible units - that is what Need_O2 and I have done.

About other stuff, I believe it hard to do.
 
Status
Not open for further replies.
Top