Protection Request

General discussion of Warcraft 3. Threads may may be posted here if they don't fit into the other sections.

Moderator: Cheaters

Dark_Shadow32
Member
Posts: 57
Joined: February 11th, 2007, 8:31 am
Location: Germany

Protection Request

Post by Dark_Shadow32 »

How can I Protect a Map, that you can't use xdep to deprotect it?

greets Dark_Shadow32
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

Del the .wtg, add a whole lot of blank files that arent currently used, like camera objects (.wtc) etc, add not working functions in the map editor in the .j but fine (with syntax error's) in the .j, uhhh, theres a few more ways than this, but thats two ways.
Dark_Shadow32
Member
Posts: 57
Joined: February 11th, 2007, 8:31 am
Location: Germany

Post by Dark_Shadow32 »

thanks,

but did you mean that I have to add syntax error's in thw wc3map.j?
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

Dark_Shadow32 wrote:thanks,

but did you mean that I have to add syntax error's in thw wc3map.j?
Yes, something like this:

Code: Select all

call SetWidgetLife(Mv,(GetUnitStateSwap(UNIT_STATE_LIFE,Mv)+'d'+('d'*NH)))
that is of course if you wish to choose that way...
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1759
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 45 times
Been thanked: 8 times

Post by Vegas »

normally when i have syntax errors in my map, it crashes when trying to play it. then how does this work?
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

Vegas wrote:normally when i have syntax errors in my map, it crashes when trying to play it. then how does this work?
just put this syntax error somewhere where it wont be used, its just a minor error that causes maps to fail to save I believe.
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1759
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 45 times
Been thanked: 8 times

Post by Vegas »

hmmm. ok. I will have to give it a try sometime. Then I assume to deprotect it again, you would have to extract the jass, then do a syntax check, and delete the garbage, then add it to the map and voila???
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

Vegas wrote:hmmm. ok. I will have to give it a try sometime. Then I assume to deprotect it again, you would have to extract the jass, then do a syntax check, and delete the garbage, then add it to the map and voila???
yes, or just keep a unprotected copy of your map, and another for play, the for play one of course would be the one protected with blank camera and or other files as well as syntax errors etc.
User avatar
Vegas
Shopping Maul USA Creator
Posts: 1759
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada
Has thanked: 45 times
Been thanked: 8 times

Post by Vegas »

Xantan wrote: yes, or just keep a unprotected copy of your map, and.


I was talking about someone elses map :twisted:
User avatar
Xantan
Honorary wc3edit.net Traitor
Posts: 2507
Joined: February 1st, 2007, 4:11 pm
Location: NEVADA

Post by Xantan »

Vegas wrote:
Xantan wrote: yes, or just keep a unprotected copy of your map, and.


I was talking about someone elses map :twisted:
ohhh, well sure, delete all the syntax errors and blank files, then run xdep on it, should be ok, but, if theres item tables (ie a rpg) xdep malfunctions like crazy =/