Map restore!

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

Moderator: Cheaters

Post Reply
User avatar
mokarecman
Old Wrinkly Member
Posts: 284
Joined: August 7th, 2008, 7:58 pm
Title: Unstoppable
Location: Amsterdam Yab Yum sex club

Map restore!

Post by mokarecman »

As the tittle says, is there anyone here that is able to restore a old map from 2009 to be able to run on the latest wc3 patch ?
Image
JustANewbie
Forum Spammer
Posts: 510
Joined: August 18th, 2012, 2:32 am

Re: Map restore!

Post by JustANewbie »

It's impossible except reorganize the whole map script manually, due to the fixed return bug in version 1.24, which will eventually take a lot of time.
User avatar
mokarecman
Old Wrinkly Member
Posts: 284
Joined: August 7th, 2008, 7:58 pm
Title: Unstoppable
Location: Amsterdam Yab Yum sex club

Re: Map restore!

Post by mokarecman »

Damn, tnx anyway.
Image
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Contact:

Re: Map restore!

Post by haxorico »

Not true. I managed to fix several maps. I cant promise a 100% restore. But it is do-able and not that hard to be honest.
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
Vegas
Shopping Maul USA Creator
Posts: 1729
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada

Re: Map restore!

Post by Vegas »

Are you going to make a tutorial for the rest of us? :D
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Contact:

Re: Map restore!

Post by haxorico »

Vegas wrote:Are you going to make a tutorial for the rest of us? :D

No. As I said before. It is possible, but you will NOT maintain 100% of the map data. Also the ways I know are not 100% guaranteed to fix all the problems.
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
Vegas
Shopping Maul USA Creator
Posts: 1729
Joined: January 18th, 2007, 11:07 am
Title: No Comment
Location: Calgary Canada

Re: Map restore!

Post by Vegas »

Ok, but any info will help others at least try to restore a map.
JustANewbie
Forum Spammer
Posts: 510
Joined: August 18th, 2012, 2:32 am

Re: Map restore!

Post by JustANewbie »

haxorico wrote:Not true. I managed to fix several maps. I cant promise a 100% restore. But it is do-able and not that hard to be honest.

That means you still have to do it manually, which is actually quite hard for me, since i just learned to edit warcraft III map when version 1.24, so i actually don't really understand what is return bug. Perhaps you could explain more to me :)
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Contact:

Re: Map restore!

Post by haxorico »

JustANewbie wrote:
haxorico wrote:Not true. I managed to fix several maps. I cant promise a 100% restore. But it is do-able and not that hard to be honest.

That means you still have to do it manually, which is actually quite hard for me, since i just learned to edit warcraft III map when version 1.24, so i actually don't really understand what is return bug. Perhaps you could explain more to me :)

Code: Select all

function thisIsABug takes handle h returns integer
return h
return 0
endfunction

This is the return bug. From what I gather, this double return function was served as a way to convert data types. In this example, it will convert a handle to an integer.
On the new version, JASS decided that a function can only return one value, instead of two (or how many there were) so this function would NOT work.
The way to get around it, is to manually convert the datatype yourself. For the example above.

Code: Select all

function thisIsABug takes handle h returns integer
return GetHandleId(h)
endfunction

GetHandleId converts the handle given to an integer value of sorts... Same way the function I2S convertes Integer to String. R2I is Real to integer, etc...
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?
Post Reply