Recovering Maps Corrupted By Patch

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

User avatar
EliteGamer
Junior Member
Posts: 25
Joined: August 24th, 2008, 1:18 am
Title: EliteGamer

Recovering Maps Corrupted By Patch

Post by EliteGamer »

I was just wondering, I realize that the recent battle .net patch has messed up the scripting for several of the custom maps, but is there anyway to recover them? Many of my favorite maps to host now do not work because of the new patch, and I believe that the map creators have discontinued the series. If we could work on someway to recover these maps it would be wonderful. If you need me to attach a few of the maps in question I can do so.

On a seperate note, I noticed that someone modified JJ's CP to work for 1.24 patch. However, none of the maps I have tried to add cheats to with the new coding work, the same old 'Map Not Found' again....anyone have an idea as to whats the issue there or how to fix it?

Thanks so much in advance for your assistance.
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: Recovering Maps Corrupted By Patch

Post by Ken »

For JJCP, use this: http://forum.wc3edit.net/deprotection-c ... 13526.html

And for fixing script issues, you need to find where the old return bug was used. It looks something like this:

Code: Select all

function s2i takes string s returns integer
return s
return 0
endfunction
And you have to replace that single function with these two functions:

Code: Select all

function s2s takes string s returns string
return s
endfunction
function s2i takes string s returns integer
call s2s(s)
return 0
endfunction
The easiest way to find this is deprotecting the map, then trying to save in WE. This will show where the script errors are, for easy fixing.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
User avatar
EliteGamer
Junior Member
Posts: 25
Joined: August 24th, 2008, 1:18 am
Title: EliteGamer

Re: Recovering Maps Corrupted By Patch

Post by EliteGamer »

What I was talking about was an un-cheated map that recieved the 'Map Not Found' message when I tried to host it on b.net.
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: Recovering Maps Corrupted By Patch

Post by Ken »

Everything after the first line addresses that issue.

Or it may be that the map name is too long, in which case just shorten it.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
User avatar
EliteGamer
Junior Member
Posts: 25
Joined: August 24th, 2008, 1:18 am
Title: EliteGamer

Re: Recovering Maps Corrupted By Patch

Post by EliteGamer »

Those lines were not in the .j opened by jasscraft, I found something similar, but not it. I don't think you understand what I mean, so here is the map, try and hack it and test, because it will not work. Both maps are attatched
You do not have the required permissions to view the files attached to this post.
User avatar
Madara
Forum Fanatic
Posts: 311
Joined: October 26th, 2009, 10:22 pm
Title: mib^

Re: Recovering Maps Corrupted By Patch

Post by Madara »

So firstly if u want to request maps to be cheated make a topic in request section

and if you want the maps to be fixed to work on 1.24+ patches you cant request that on this site seeing not many ppl would do it cause it takes hours to fix it ....
Spoiler:
(06:05:25) UndeadxAssassin: SLANDER
(06:05:32) Bartimaeus: See you later, Undead. I miss talking to you. Message me once in a while, :<
(06:05:37) UndeadxAssassin: /quit Bartimaeus!
(06:05:40) ChatBot: Madara logs into the Chat.
(06:05:49) ChatBot: Madara has been logged out (Kicked).
(06:05:54) Bartimaeus: >>
(06:06:02) Bartimaeus: He doesn't deserve to see my good bye to you, :D
(06:06:23) UndeadxAssassin: I'm still here because I wanna see his response
(06:06:29) UndeadxAssassin: :D
(06:06:31) ChatBot: Madara logs into the Chat.
(06:06:31) Bartimaeus: Oh.
(06:06:35) Bartimaeus: lol
(06:06:43) Madara: So should i say something dramatic
(06:06:48) Madara: or what satisfies u ?
(06:06:48) Bartimaeus: Nope.
(06:06:50) Bartimaeus: Because nobody cares.
(06:06:52) Bartimaeus: :3
(06:06:57) UndeadxAssassin: What a let down
(06:06:58) UndeadxAssassin: I'm leaving.
User avatar
Ken
Spice Pirate
Posts: 862
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: Recovering Maps Corrupted By Patch

Post by Ken »

mib, he's not asking us to fix it for him, he's asking how to fix it.

Elite, the code I showed you isn't exact (map will have different names/types), but it's the same for whatever typecasting the map had done using the old return bug (the first code) and the second code is a way to replace that function (which causes the map not to be found) with a function that still works with the latest patch.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
User avatar
EliteGamer
Junior Member
Posts: 25
Joined: August 24th, 2008, 1:18 am
Title: EliteGamer

Re: Recovering Maps Corrupted By Patch

Post by EliteGamer »

Thanks for clearing that up, i'll try it out as soon as I can. Does this mean that the fix for the returnbug is not exact either and that I would have to figure out how to modifiy the fix to replace the returnbug?

Also, i'm wondering if there's any reason why an un-cheated map (so far as I can tell) would come up with the 'Map Not Found' message after I tried to cheat it with the new JJ's for the 1.24 patch? It is not the title being too long. I've run into that before but in that case it just doesnt show up on the maps file.
Manstie
Newcomer
Posts: 9
Joined: December 6th, 2009, 5:35 am

Re: Recovering Maps Corrupted By Patch

Post by Manstie »

EliteGamer wrote:I was just wondering, I realize that the recent battle .net patch has messed up the scripting for several of the custom maps, but is there anyway to recover them? Many of my favorite maps to host now do not work because of the new patch, and I believe that the map creators have discontinued the series. If we could work on someway to recover these maps it would be wonderful. If you need me to attach a few of the maps in question I can do so.

On a seperate note, I noticed that someone modified JJ's CP to work for 1.24 patch. However, none of the maps I have tried to add cheats to with the new coding work, the same old 'Map Not Found' again....anyone have an idea as to whats the issue there or how to fix it?

Thanks so much in advance for your assistance.
Well, if it isn't your map, then you should let the makers fix that problem.
User avatar
Kryptonyte
Forum Staff
Posts: 1400
Joined: March 17th, 2008, 12:07 am

Re: Recovering Maps Corrupted By Patch

Post by Kryptonyte »

EliteGamer wrote:Also, i'm wondering if there's any reason why an un-cheated map (so far as I can tell) would come up with the 'Map Not Found' message after I tried to cheat it with the new JJ's for the 1.24 patch?
1. You shouldn't have bothered saying "uncheated" if you were going to say you cheated it, you contradicted yourself.

2. You know some maps have protection in the .j file, right? They might require that you remove the protection.

3. If #2 doesn't work, as in you can't find any protection, try looking for values used in the CP and see if the map has them.
If there are duplicates, it would cause that problem. You can also check for problems with the .j file in JASSCraft by pressing F9.

Edit:
As said by Matchai
Matchai wrote: (21:23:55) matchai: done wrong
(21:23:57) matchai: attributes
(21:24:05) matchai: map/cheatpack version
(21:24:19) matchai: 3rd part not under locals
(21:24:22) matchai: anti-cheats
(21:25:07) matchai: syntax fuckup
Image
Made by the late ILikeHacking

My quote from SKillER
Spoiler:
Chat wrote:(19:12:41) SKillER: newfags cant triforce
(19:20:30) SKillER: ▲
▲ ▲
(19:20:35) SKillER: aww
(19:20:37) FatherSpace: FAIL
(19:20:43) Kryptonyte: Wow stop failing.
(19:20:47) SKillER: ▲
▲ ▲
(19:21:41) Kryptonyte: .

. ▲
▲ ▲
(19:22:20) Kryptonyte: I guess you were right, newfags can't triforce.
(19:22:29) SKillER: . . ▲
▲ ▲
(19:23:04) SKillER: OMFG
(19:23:06) SKillER: ... THIS CHAT
(19:23:06) SKillER: !
(19:23:36) SKillER: ▲
▲ ▲
(19:23:46) SKillER: ▲
.▲ ▲
Apparently, SKillER is a newfag.