Tool MapGuard - Map Protection

Reaction score
341
MapGaurd
v0.A.1

Introduction
Yes, there are many map protector tools out there these days so you may be thinking to yourself why another?
Well, I believe this one implements some new functionality that others do not. MapGaurd lets you lock your map with a password, so if you somehow lose your maps original copy, you can go back and unlock it.

MapGaurd also includes a few script features that implement some safety into your map. Currently only disabling single player exists, though I plan on adding a few more methods such as Jesus4Lyf's C2I protection.

If you want to use this tool you need the following;


Using With Vex's Optimizer
Vex's map optimizer is arguably one of the greatest tools for Warcraft maps, so I decided to make this tool work with it, allowing you to combine the two tools. Simply un-tick the "Remove Editor Only Files" and "Remove as much WE only data as possible" boxes and all should be fine.​

FAQ
  • How does it work?
    • That's for the "hackers" to find out.
  • Can you implement YOUR_SYSTEM_HERE
    • Reply to the thread.
  • Why does my map get bigger?
    • It should only increase your maps size by 1 or 2 kilobytes, which is almost no difference. It's because it's editing some of the internal files changing the size.
  • So this can make my map unhackable?
    • No tool can make your map unhackable, this makes it unopenable in the editor for noobs trying to hack your map. The best way to keep hackers away is to create plenty of roadblocks in the maps script. So combining this tool and vex's map optimizer makes a pretty good team.

Screenshots
screenbw.png
 

Attachments

  • MapLock.zip
    127.1 KB · Views: 330

Azlier

Old World Ghost
Reaction score
461
How exactly did you go about disabling single player?
 

ReVolver

Mega Super Ultra Cool Member
Reaction score
609
Pretty useless unless you add the extra methods. Using Vex will be a better method and it will compress your map.
 

Romek

Super Moderator
Reaction score
963
> (I also think it's called MapLock, lol).
Yes, it is.
Could you change the name of this please?
Two resources with the same name.

> Simply un-tick the "Remove Editor Only Files" and "Remove as much WE only data as possible" boxes and all should be fine.
Those are two essential features of Vexorians Optimizer.

How does "Open your map with a password" work?
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
kai, thx

So this can make my map unhackable?
No tool can make your map unhackable, this makes it unopenable in the editor for noobs trying to hack your map. The best way to keep hackers away is to create plenty of roadblocks in the maps script. So combining this tool and vex's map optimizer makes a pretty good team.

You should make a tool "shit importer" import big quantity of useless files that takes no memory. Would takes days to find the war3map.j :) :)

OH and.
How are called the pannels where can read the text "MapLock Options" and "Map Options"
 
Reaction score
341
Two resources with the same name.

It's graveyarded..

How does "Open your map with a password" work?

I'd rather not say.

EDIT: or did you mean how do you unlock your map? Simply open the w3x file, the tool will detect if it's locked or not.

Those are two essential features of Vexorians Optimizer.

Hardly essential, just reduces map size a little. The script obfuscation is what counts.

You should make a tool "shit importer" import big quantity of useless files that takes no memory. Would takes days to find the war3map.j

How would that work?

How are called the pannels where can read the text "MapLock Options" and "Map Options"

Group box, I think.

Pretty useless unless you add the extra methods. Using Vex will be a better method and it will compress your map.

You can combine them.
 

Romek

Super Moderator
Reaction score
963
> It's graveyarded..
It's still widely used though. In fact, it should probably be moved back to T&R now that a new method of doing the return bug has been discovered. I'll leave that to J4L though, as he'd need to update it.

> I'd rather not say.
Maybe I should rephrase that, because I doubt you wouldn't answer what I meant.
If I 'locked' my map with this with the password "ABC123", then lost the original, how would I get the original map back knowing this password?

> Hardly essential, just reduces map size a little. The script obfuscation is what counts.
Judging by the name of those functions, they help optimize the map quite a lot.
And well.. 'Optimizer' is in the name, right?

> You should make a tool "shit importer" import big quantity of useless files that takes no memory. Would takes days to find the war3map.j
Not really. People would look for the one that's called "war3map.j". :rolleyes:
 
Reaction score
341
Maybe I should rephrase that, because I doubt you wouldn't answer what I meant.
If I 'locked' my map with this with the password "ABC123", then lost the original, how would I get the original map back knowing this password?

Yea, I realized after I re-read it. Check the edit in my previous post.

Judging by the name of those functions, they help optimize the map quite a lot.
And well.. 'Optimizer' is in the name, right?

Deleting those files would save about 100-300kb, depending on how big your map is and how much content is in it.

If you can't spare that space then don't use this tool, the optimizer will still reduce the size a lot with the other options.

It's still widely used though. In fact, it should probably be moved back to T&R now that a new method of doing the return bug has been discovered. I'll leave that to J4L though, as he'd need to update it.

But the name is so.... sexy. I don't really want to change it for a resource that is in the graveyard. I he does decide to fix it, I guess I can try to find an alternative.

Using mpq editor or WinMPQ, importing tons of dummy files, then you uptimize the map and all the files become file06059494.xxx etc(...)

You can't change the war3map.j's filename or else you cannot play the map :nuts:
 

Romek

Super Moderator
Reaction score
963
> Using mpq editor or WinMPQ, importing tons of dummy files, then you uptimize the map and all the files become file06059494.xxx etc(...)
List of files:
Code:
file06059494.xxx
file06059494.xxx
file06259494.xxx
file06459494.xxx
file06556494.xxx
file06859494.xxx
file06959494.xxx
file06259494.xxx
file06359494.xxx
file06159494.xxx
war3map.j
file06019494.xxx
file06029494.xxx
file06039494.xxx
file06049494.xxx
file06069494.xxx
file06079494.xxx
I wonder which one I should open. :rolleyes:

> But the name is so.... sexy. I don't really want to change it for a resource that is in the graveyard. I he does decide to fix it, I guess I can try to find an alternative.
It's 'fixed', he just hasn't updated the first post. It'd save trouble if you renamed this so that we'd be able to approve both systems at one time.
Even a simple change to something such as "MapLocker" would be fine. :p

> EDIT: or did you mean how do you unlock your map? Simply open the w3x file, the tool will detect if it's locked or not.
So does the tool need to be opened whilst the map is being opened?
Then what happens? An "enter password" dialog enters, I presume?
 
Reaction score
341
So does the tool need to be opened whilst the map is being opened?
Then what happens? An "enter password" dialog enters, I presume?

Lock:
1. Open map with my tool.
2. Create password, and hit lock.
3. Try to open in the editor and it will be corrupted.

Unlock
1. Open map with my tool.
2. Type password, hit unlock.
3. Try to open in the editor and it will be not corrupted.
 

Romek

Super Moderator
Reaction score
963
I guess the whole "noobs only" thing remains unchanged. :p
I unprotected a map protected with this in about 3 minutes.

Oh well. It's fortunate that anybody capable of doing that won't have a reason for deprotecting maps.

As you may have gathered, I tested this. It's pretty cool that you can actually use a password to protect the map.
Now, there's a bit of a problem. When I tried unlocking the map with a password, I got an Unhandled Exception.
 
Reaction score
341
When I tried unlocking the map with a password, I got an Unhandled Exception.

Try closing the program, and re-opening it. I've gotten that a few times but I can't locate the problem.

I will keep searching, I also plan on increasing security, still brainstorming.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top