map protection/deprotection

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

caleman
Junior Member
Posts: 30
Joined: April 22nd, 2009, 3:13 am

map protection/deprotection

Post by caleman »

i want to protect my map as good as possible, what i should?

another thing, i would like to master map deprotection/protection or atleast learn more, what should i do?

thanks
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: map protection/deprotection

Post by Apple »

I believe you're talking about protecting, and removing/nullifying the protection.

It all depends on what you're protecting.
1. World Editor protection, protection for Mapmakers' rights (restricts users to edit their map on World Editor.)
Map authors usually uses Vexorian's/Wc3 Map Optimizer and Widgetizer.
Hence, we say deprotection in terms of making the maps available to be edited on World Editor.
2. MPQ Header Corruption
Any edit over the triggers would make the map unplayable.
3. JASS Protection
A protection within the triggers of the Warcraft III map.
It can be the hardest way to protect a map's trigger.

One can't master protection just from some tutorials.
To start with,
Use Vexorian's/Wc3 Map Optimizer, tick compress names.
It makes the function names of the trigger script unreadable and also disrupt syntax check in jasscraft.
Tick Editor Only files and remove as much as WE data would do the (1.) protection.
Next, google about MPQ header corruption and learn about (2.)

You can tell us what you want to protect so we could guide you further.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
caleman
Junior Member
Posts: 30
Joined: April 22nd, 2009, 3:13 am

Re: map protection/deprotection

Post by caleman »

thx
is there a way to recover the triggers in gui?
can you write an easy to understand guide on how to use spazzler? (the one made by the author is bad i think i fail here "4) Type "spazzler.protect(inmap,outmap)""

http://forum.wc3edit.net/useful-tools-f ... 16060.html

also sometimes when opening maps you cant see the units in the editor (it appears as if no one has been edited) is there a way to undo this and make them show?
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: map protection/deprotection

Post by Apple »

Spazzler uses MPQ header Corruption.
Let's say the map I want to cheat is abc.w3x, I want to spazzler it and the new name will be 123.w3x
To use it,
1. Download Python 2.6 and install( just google)
2. Put the spazzler.pyc in your Python26 folder
3. run python.exe
4. type import spazzler then followed by spazzler.protect("abc","123")
take note of highlighted texts, especially the quotation mark, comma and brackets.

Restoring GUI triggers works only 1% with a tool in deprotection guide. When it works, it works pretty much perfectly.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
caleman
Junior Member
Posts: 30
Joined: April 22nd, 2009, 3:13 am

Re: map protection/deprotection

Post by caleman »

i was able to solutionate the unit problem with a tool from this website but the problem im having now is translating the jass code

JassCraft shows the $ error

http://forum.wc3edit.net/deprotection-c ... 23796.html
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: map protection/deprotection

Post by Apple »

To fix the hex error, use whitegun's hex fixer or fukki's.
you can easily find them in the Useful tools section.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
caleman
Junior Member
Posts: 30
Joined: April 22nd, 2009, 3:13 am

Re: map protection/deprotection

Post by caleman »

i tried many things but still cant get the unprotected map to work (re save it and play it)

after you got the "decoded" j file what are we supposed to do exactly?
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: map protection/deprotection

Post by Apple »

What did YOU exactly wanted to do in the first place?
You said there's hex error, which led me to offer a solution, hex fixer.
State clearly your topic and main idea.
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.
caleman
Junior Member
Posts: 30
Joined: April 22nd, 2009, 3:13 am

Re: map protection/deprotection

Post by caleman »

you are unprotecting a map, you got to the point where you try to edit something and save it, but then a bunch of errors pop up because the jass code is modified by a map protector, the software your posted is supposed to fix said jass code right? the thing is that when i import the new j file it doesnt work, when i open the map the triggers are still modified by the $ * symbols or some error will pop up

what am i doing wrong
Apple
Forum Staff
Posts: 1470
Joined: November 3rd, 2010, 10:48 am
Title: Best Player
Location: Singapore

Re: map protection/deprotection

Post by Apple »

In other words you edited the map and expect the map to be functioning.
1. Post the original map here, test it make sure it is playable.
2. After you hex fix, run a syntax check see what error it shows.
3. Tell me besides hex fixing what are all others have you edited
Request a map? Follow the rulesHERE
Request templateHERE
Please, do not PM me.
On the side note, I'm still playing vampirism speed on malaysia room, occasionally in Garena. Bcuz too lazy to find out where else I can play them.