Only Buildings Missing after Deprotection
Moderator: Cheaters
-
- Newcomer
- Posts: 11
- Joined: February 15th, 2008, 8:30 pm
Only Buildings Missing after Deprotection
Hello, I am trying to deprotect a map for a good update.
I have ran xDep and unProtect on the map, which restores all units but buildings.
Before those 2 the war3mapunits.doo is missing.
I know the buildings are preplaced.
And the triggers are obfusucated, could this be the problem?
I just don't see a reasoning behind only ground units showing up, and buildings missing.
Any suggestions?
I have ran xDep and unProtect on the map, which restores all units but buildings.
Before those 2 the war3mapunits.doo is missing.
I know the buildings are preplaced.
And the triggers are obfusucated, could this be the problem?
I just don't see a reasoning behind only ground units showing up, and buildings missing.
Any suggestions?
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Only Buildings Missing after Deprotection
im kinda like u.. tried alot of times to get the extra stuff back.
it is possible. no idea how. but i know it is. coz shamano did it for vamp fire. but he is a god in hacking
but. i do have some knoledge
when u opend the map (protected map) did u see anyfile with no name? (fileX00001).
u got to make sure ur using a comlpete listfile to fully deprotect a map. allthough we need a pros advice here
it is possible. no idea how. but i know it is. coz shamano did it for vamp fire. but he is a god in hacking

but. i do have some knoledge

when u opend the map (protected map) did u see anyfile with no name? (fileX00001).
u got to make sure ur using a comlpete listfile to fully deprotect a map. allthough we need a pros advice here

-
- Newcomer
- Posts: 11
- Joined: February 15th, 2008, 8:30 pm
Re: Only Buildings Missing after Deprotection
Ok, after looking into the jass file I found that unprotect when changing the triggers for creating units and buildings deleted the createbuildings one and create units, but recreated the createunitsforplayer() lower down. strange...
I tried combining the two but unprotect won't create the correct war3mapunits.doo or will crash when trying to fix the map.
So... now I'm going to try and make it work through renaming the obfusucated triggers myself, and maybe unprotect wont delete both of them... and I'm going to try a bunch of other stuff too haha..
I tried combining the two but unprotect won't create the correct war3mapunits.doo or will crash when trying to fix the map.
So... now I'm going to try and make it work through renaming the obfusucated triggers myself, and maybe unprotect wont delete both of them... and I'm going to try a bunch of other stuff too haha..
-
- Crusader
- Posts: 4236
- Joined: January 27th, 2007, 4:46 pm
- Location: Greece, Veria
Re: Only Buildings Missing after Deprotection
Only way to bring the back is follow this guide.
http://forum.wc3edit.net/map-deprotecti ... estoration
Otherwise if you want to move a building around you have to edit the script.
http://forum.wc3edit.net/map-deprotecti ... estoration
Otherwise if you want to move a building around you have to edit the script.
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Only Buildings Missing after Deprotection
im trying to do what says in there but i get some problems :<GeorgeMots wrote:Only way to bring the back is follow this guide.
http://forum.wc3edit.net/map-deprotecti ... estoration
Otherwise if you want to move a building around you have to edit the script.
1) how do i place the unit prcisly where its supposed to be?
2)i have the command in jass
now. i only dont understand whats the "set u" coz it creates a unit. to P (player 0 i checkd, but wth is player 0)set u=CreateUnit(p,'h000',-5184.,5888.,270.)
the unit is H000 (i found it ok) place it in x,y and whats that 3rd thingy? the 270? and how do i place my unit in htere :<
edot: is it ok to just make an action inthe triggers saying "create X Units in point x , y facing z" and if yes. how do i make the veriable after this
-
- Newcomer
- Posts: 11
- Joined: February 15th, 2008, 8:30 pm
Re: Only Buildings Missing after Deprotection
Ok haxorico
u is just the local unit that is being used in that function.
it should say local unit u near the top of the function.
well if your trying to restore the war3mapunits.doo file my guess is that unless your doing this by hand, that unprotect or w.e program needs the "set u", because thats how it is if you were to just create a map yourself. but i'm not sure because i didn't program it.. just a guess lol
I would just leave the "set u=", it doesn't change anything except set that local to a newly created unit, which could later be used to change a state of the unit using the local.
.............
Anyways I already followed that guide and the buildings are still missing.
I'm thinking it is because of the obfusucation of the triggers, but i have no clue at this point.
If anyone would like to look at the map for me, give me a pm.
It looks pretty simple, just trigger obfusucation and missing war3mapunits.doo file. I've just never done unit restoration before.
u is just the local unit that is being used in that function.
it should say local unit u near the top of the function.
well if your trying to restore the war3mapunits.doo file my guess is that unless your doing this by hand, that unprotect or w.e program needs the "set u", because thats how it is if you were to just create a map yourself. but i'm not sure because i didn't program it.. just a guess lol
I would just leave the "set u=", it doesn't change anything except set that local to a newly created unit, which could later be used to change a state of the unit using the local.
.............
Anyways I already followed that guide and the buildings are still missing.
I'm thinking it is because of the obfusucation of the triggers, but i have no clue at this point.
If anyone would like to look at the map for me, give me a pm.
It looks pretty simple, just trigger obfusucation and missing war3mapunits.doo file. I've just never done unit restoration before.
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Only Buildings Missing after Deprotection
yeah i got that part myselfVodka wrote:Ok haxorico
u is just the local unit that is being used in that function.
it should say local unit u near the top of the function.
well if your trying to restore the war3mapunits.doo file my guess is that unless your doing this by hand, that unprotect or w.e program needs the "set u", because thats how it is if you were to just create a map yourself. but i'm not sure because i didn't program it.. just a guess lol
I would just leave the "set u=", it doesn't change anything except set that local to a newly created unit, which could later be used to change a state of the unit using the local.
.............
Anyways I already followed that guide and the buildings are still missing.
I'm thinking it is because of the obfusucation of the triggers, but i have no clue at this point.
If anyone would like to look at the map for me, give me a pm.
It looks pretty simple, just trigger obfusucation and missing war3mapunits.doo file. I've just never done unit restoration before.

but i dunno how to make the trigger he said in GUI. is it the "ser veriable" action? and if so. i just have a list of veriables. i cant choose those units myself =\
-
- Super Moderator
- Posts: 3197
- Joined: February 24th, 2009, 1:31 pm
- Location: JEW LAND
- Been thanked: 1 time
Re: Only Buildings Missing after Deprotection
BUMP. not solved yet :<
after placing all the units for player 0 (red)
when i was placing units for red. i had 9 units, with the veriables of unit01 / unit02 / unit03 / unit04 etc.. till unit09.
now i want to place the player 1 (blue) units on the map. should i use the veriables again from unit01 or continue at unit10?
after placing all the units for player 0 (red)
when i was placing units for red. i had 9 units, with the veriables of unit01 / unit02 / unit03 / unit04 etc.. till unit09.
now i want to place the player 1 (blue) units on the map. should i use the veriables again from unit01 or continue at unit10?
-
- Crusader
- Posts: 4236
- Joined: January 27th, 2007, 4:46 pm
- Location: Greece, Veria
Re: Only Buildings Missing after Deprotection
Dont bump a topic if it hasnt been five days since last post. Use the edit button.haxorico wrote:BUMP. not solved yet :<
after placing all the units for player 0 (red)
when i was placing units for red. i had 9 units, with the veriables of unit01 / unit02 / unit03 / unit04 etc.. till unit09.
now i want to place the player 1 (blue) units on the map. should i use the veriables again from unit01 or continue at unit10?