Problems with editing a deprotected map

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Roshika
Newcomer
Posts: 7
Joined: February 17th, 2011, 6:21 pm

Problems with editing a deprotected map

Post by Roshika »

I'm searching for a way to restore data saved in .txt and .slk to make it readable in the editor again, i've tried google but it didn't give me any helpfull results.
Last edited by Roshika on February 19th, 2011, 1:29 pm, edited 1 time in total.
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: Restoring unit and ability data from .slk and .txt

Post by GeorgeMots »

Use silk object console. And why would you request twice?
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image
Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this
Roshika
Newcomer
Posts: 7
Joined: February 17th, 2011, 6:21 pm

Re: Restoring unit and ability data from .slk and .txt

Post by Roshika »

Because the "deprotected" file still has .slk files and nothing is displayed in object editor...
GeorgeMots
Crusader
Posts: 4236
Joined: January 27th, 2007, 4:46 pm
Location: Greece, Veria

Re: Restoring unit and ability data from .slk and .txt

Post by GeorgeMots »

I just gave you the answer. Use this tool

http://xgm.ru/forum/showpost.php?p=515625&postcount=36
http://slowbro.org/
`·.,¸,.·*¯`·.,¸,.·*¯[;::;(。◕‿‿­­​­­­­­◕。)
Image
Image
Image
Spoiler:
(03:36:55) xkiska: im too much of a dumbass to understand this
Roshika
Newcomer
Posts: 7
Joined: February 17th, 2011, 6:21 pm

Re: Problems with editing a deprotected map

Post by Roshika »

Thanks for helping me with this problem, but my problems didn't end with this -.-

The jass code allways gives me an error, i got 3 functions that are declared 2 times: InitCustomTeams, main and config
1 time they are allready given in the code of the map and the 2nd time they are written by wc3 based on map settings.

I can delete InitCustomTeams without problems since both functions do exactly the same.

main and config have one time the basic functions written by wc3 and the other time the include about 800 lines of other functions like creating buildings and triggers.

I've deleted the functions for testing reasons but then i got an error saying something about not recognizing "$"
You do not have the required permissions to view the files attached to this post.
owner123
Super Moderator
Posts: 1943
Joined: February 3rd, 2009, 11:28 pm

Re: Problems with editing a deprotected map

Post by owner123 »

The $ error is WE being a retard. $ is perfectly readable by Warcraft III, but world editor thinks it's an error :X.
Use this.
http://forum.wc3edit.net/useful-tools-f ... 17931.html
Roshika
Newcomer
Posts: 7
Joined: February 17th, 2011, 6:21 pm

Re: Problems with editing a deprotected map

Post by Roshika »

The tool only fixes integer but my WE gives me error because of things like "$udg_blabla" so the $ is infront of a variable
Kyoshiro
Forum Staff
Posts: 762
Joined: October 27th, 2009, 12:18 pm
Location: Australia, GMT+8

Re: Problems with editing a deprotected map

Post by Kyoshiro »

From my experience $ should only be used by intergers being converted to hex, try removing all the $'s infront of variables.
If you have any questions drop in by chat sometime, chances are there'll be someone who can help you that's afking there, so the next best thing is to click the link on UndeadxAssassin's Sig and ask your question there.
Roshika
Newcomer
Posts: 7
Joined: February 17th, 2011, 6:21 pm

Re: Problems with editing a deprotected map

Post by Roshika »

Thx, looks like i'm a step closer to the solution, the programm gives me integer numbers when i let i type in a number that has been put into a real field