Only Buildings Missing after Deprotection

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Vodka
Newcomer
Posts: 11
Joined: February 15th, 2008, 8:30 pm

Only Buildings Missing after Deprotection

Post by Vodka »

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?
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: Only Buildings Missing after Deprotection

Post by haxorico »

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 :D

but. i do have some knoledge :D

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 :D
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
Vodka
Newcomer
Posts: 11
Joined: February 15th, 2008, 8:30 pm

Re: Only Buildings Missing after Deprotection

Post by Vodka »

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..
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: Only Buildings Missing after Deprotection

Post by GeorgeMots »

Only way to bring the back is follow this guide.
map-deprotection-cheating-f3/map-restoration-done-t1606.html?hilit=map%20restoration

Otherwise if you want to move a building around you have to edit the script.
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image

Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: Only Buildings Missing after Deprotection

Post by haxorico »

GeorgeMots wrote:Only way to bring the back is follow this guide.
map-deprotection-cheating-f3/map-restoration-done-t1606.html?hilit=map%20restoration

Otherwise if you want to move a building around you have to edit the script.

im trying to do what says in there but i get some problems :<

1) how do i place the unit prcisly where its supposed to be?
2)i have the command in jass
set u=CreateUnit(p,'h000',-5184.,5888.,270.)

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)
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
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
Vodka
Newcomer
Posts: 11
Joined: February 15th, 2008, 8:30 pm

Re: Only Buildings Missing after Deprotection

Post by Vodka »

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.
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: Only Buildings Missing after Deprotection

Post by haxorico »

Vodka 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.


yeah i got that part myself :D thanks.
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 =\
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: Only Buildings Missing after Deprotection

Post by haxorico »

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?
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: Only Buildings Missing after Deprotection

Post by GeorgeMots »

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?


Dont bump a topic if it hasnt been five days since last post. Use the edit button.
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image

Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this