Ouguiya
New Member
- Reaction score
- 11
Hello everyone!
The thread I am opening today requires that I write in some detail what this is about and how to achieve it.
As you probably all know, and all of you who have made maps which had some downloads probably have also painfully felt, maps are being hacked on a grand scale nowadays. The goal of the hackers mostly isn't stealing the map, but introducing cheats, which really ruins the good name of a map when unknowing players get blasted by cheats.
Besides being frustrated and protecting one's map, it's not really easy to do much about it, since the map script can be edited even with protection.
Most people don't know enough about JASS to introduce cheats, but some do, and these people found it worthwhile to make tutorials and "copy-paste-ready" JASS code for noobie-cheaters to directly import.
With this thread, I want to start something which will at least hinder their work. (And yes, to all the fine critics out there, I know, there is no perfect guarantee of stopping them. Yes, I know, a pro will have no problems at all with this, but the goal, like with map protection, is to stop noobs from doing it, since pros hopefully have better things to do with their skills.)
The important idea came from (thanks man!) Windexisback. I will quote what he said in the thread about map protection here:
This, in my opinion, is a wonderful idea.
To his first suggestion: The script which can detect how many functions there are, and perform an action if it detects a change sounds really cool. However, I really wouldn't know how to do it. If anyone has any ideas or maybe even the script itself would do all of us a great favor by explaining how to do it here.
The second suggestion is also good: Monitoring all the important things and ringing the alarm bell when something is wrong would also be great.
The problem with this is the amount of things to be monitored. I hope here, to get a comment from any of you who have any idea how to do it.
I searched around the net a bit and found multiple tutorials how to deprotect maps, and they include pre-made cheats for all of this:
"-cheats on" Turns cheats on
-additem Adds random item
-mp x Sets your mana points to x
-hp x Sets your health points to x
-gold x Sets your gold to x
-lumber x Sets your lumber to x
-lvl x Sets your lvl to x
-xp x Sets your xp to x
-str x Sets your strenght to x
-agi x Sets your agility to x
-int x Sets your intelligence to x
-ms x Sets your movementspeed to x
-kill Kills the target unit
-invul Makes you invulnerable
-vul Makes you vunerable
-nocd Turns no cooldown on
-cdon Turns cooldown on
-mana Infinte mana
-nomana Turns infite mana off
So it's really difficult to monitor ALL of this, but like I said, if anyone has an idea...
Third, the idea with the strings of course is cool, although, like Windexisback said, it's quite easy for a would-be cheater to eliminate this, by renaming his functions, but it is a nice addition nontheless.
With this, I hope that some of you have an idea on to how to at least make it a pain for anyone who cheats. Hopefully, this will be sufficient to make these people think: "Yeah, I really have better things to do."
Thanks in advance, as always:
Yours,
Ouguiya
The thread I am opening today requires that I write in some detail what this is about and how to achieve it.
As you probably all know, and all of you who have made maps which had some downloads probably have also painfully felt, maps are being hacked on a grand scale nowadays. The goal of the hackers mostly isn't stealing the map, but introducing cheats, which really ruins the good name of a map when unknowing players get blasted by cheats.
Besides being frustrated and protecting one's map, it's not really easy to do much about it, since the map script can be edited even with protection.
Most people don't know enough about JASS to introduce cheats, but some do, and these people found it worthwhile to make tutorials and "copy-paste-ready" JASS code for noobie-cheaters to directly import.
With this thread, I want to start something which will at least hinder their work. (And yes, to all the fine critics out there, I know, there is no perfect guarantee of stopping them. Yes, I know, a pro will have no problems at all with this, but the goal, like with map protection, is to stop noobs from doing it, since pros hopefully have better things to do with their skills.)
The important idea came from (thanks man!) Windexisback. I will quote what he said in the thread about map protection here:
there are multiple ways.
I don't know the exact name (or method) but there are scripts which detect the number of functions, and if it's higher than a set amount (aka: someone added more) it stops the game, or something akin to that. Someone needs to clarify this one.
Name functions weirdly, and use equations in place of set numbers. 5 = 2+2(2-1)-1 = 5 *hopefully* This method shouldn't be used in functions which are used often.
Monitoring variables such as hero level, kills to death ratio, average damage, resources, health, ect. A weird number either means one kick ass player, or one shitty ass one. Once again, fragment (and try to mislead) what the functions do. The messier you make them, the better.
The weakest anti-cheat method I can think of is simply detecting common cheat strings from your hacked map. Once again, fragmentation and misleading will make it a pain in the ass for the deprotector.
It's very hard to stop the map from opening, but you can make it a pain to do anything on it.
This, in my opinion, is a wonderful idea.
To his first suggestion: The script which can detect how many functions there are, and perform an action if it detects a change sounds really cool. However, I really wouldn't know how to do it. If anyone has any ideas or maybe even the script itself would do all of us a great favor by explaining how to do it here.
The second suggestion is also good: Monitoring all the important things and ringing the alarm bell when something is wrong would also be great.
The problem with this is the amount of things to be monitored. I hope here, to get a comment from any of you who have any idea how to do it.
I searched around the net a bit and found multiple tutorials how to deprotect maps, and they include pre-made cheats for all of this:
"-cheats on" Turns cheats on
-additem Adds random item
-mp x Sets your mana points to x
-hp x Sets your health points to x
-gold x Sets your gold to x
-lumber x Sets your lumber to x
-lvl x Sets your lvl to x
-xp x Sets your xp to x
-str x Sets your strenght to x
-agi x Sets your agility to x
-int x Sets your intelligence to x
-ms x Sets your movementspeed to x
-kill Kills the target unit
-invul Makes you invulnerable
-vul Makes you vunerable
-nocd Turns no cooldown on
-cdon Turns cooldown on
-mana Infinte mana
-nomana Turns infite mana off
So it's really difficult to monitor ALL of this, but like I said, if anyone has an idea...
Third, the idea with the strings of course is cool, although, like Windexisback said, it's quite easy for a would-be cheater to eliminate this, by renaming his functions, but it is a nice addition nontheless.
With this, I hope that some of you have an idea on to how to at least make it a pain for anyone who cheats. Hopefully, this will be sufficient to make these people think: "Yeah, I really have better things to do."
Thanks in advance, as always:
Yours,
Ouguiya