wc3edit.net
https://forum.wc3edit.net/

Return Bug Finder
http://forum.wc3edit.net/useful-tools-f69/return-bug-finder-t20911-20.html
Page 3 of 5

Author:  owner123 [ June 9th, 2012, 4:07 am ]
Post subject:  Re: Return Bug Finder

I get "Error opening archive" when opening with MPQmaster.

Author:  Bartimaeus [ June 9th, 2012, 4:16 am ]
Post subject:  Re: Return Bug Finder

Spoiler:
Image


Opened fine for me. o.o

Author:  owner123 [ June 9th, 2012, 4:19 am ]
Post subject:  Re: Return Bug Finder

Yup. Looks like my mpq tools decided to stop working. They do that like.. every month or so, then after a few days start working again.

Sorry, my mistake!

I had a backslash where I should have had a forward slash.
Anyways, I will update the OP, but on the chance that it doesn't work for you again, here are the results for the map you posted.

-_-.. That was so fail on my part...
Attachment:
untitled.jpeg

Author:  Bartimaeus [ June 9th, 2012, 4:21 am ]
Post subject:  Re: Return Bug Finder

Hurray! I'm not crazy, :o Thanks, Owner.

Author:  owner123 [ June 9th, 2012, 4:26 am ]
Post subject:  Re: Return Bug Finder

Should be fixed now.

What happened was.. There are 2 output folders for applications. One is created when you press Build and one is created when you press Debug.

I had built an old version, and forgotten to build the new version, but was using the Debug option in VB... So, it was working for me because I had the Debug version, and you guys had the Build version.
=.=

Author:  undeadstorms [ June 9th, 2012, 8:04 pm ]
Post subject:  Re: Return Bug Finder

owner123 wrote:
Yup. Looks like my mpq tools decided to stop working. They do that like.. every month or so, then after a few days start working again.

Sorry, my mistake!

I had a backslash where I should have had a forward slash.
Anyways, I will update the OP, but on the chance that it doesn't work for you again, here are the results for the map you posted.

-_-.. That was so fail on my part...
Attachment:
untitled.jpeg


Awesome owner thanks for the help! Now I am just in the process of finding someone who knows a 'workaround' (as Bart put it) for these particular return bugs, so I can play this map once again. Thanks again owner :)!

Author:  haxorico [ June 9th, 2012, 8:42 pm ]
Post subject:  Re: Return Bug Finder

Why not use storm.dll to extract the files? As there is no need to re-import the files back in, storm.dll is better imo...

Author:  owner123 [ June 9th, 2012, 9:27 pm ]
Post subject:  Re: Return Bug Finder

This is the workaround by haxorico for playing un-playable maps

deprotection-cheating-f64/how-can-you-play-maps-that-don-t-work-in-patch-1-24-t20416.html#p142909

Just follow that general format. I've fixed maps that way, it definitely works.

Author:  undeadstorms [ June 9th, 2012, 9:49 pm ]
Post subject:  Re: Return Bug Finder

owner123 wrote:
This is the workaround by haxorico for playing un-playable maps

deprotection-cheating-f64/how-can-you-play-maps-that-don-t-work-in-patch-1-24-t20416.html#p142909

Just follow that general format. I've fixed maps that way, it definitely works.


I have no idea how to follow that, if you want to give it a whirl the bugs are here...
http://www.thehelper.net/threads/return-bug-fix.155781/

Just pm me with the fixes if you're up for fixing them :)!

If not thanks for all the help thus far!
storms

Author:  owner123 [ June 9th, 2012, 10:06 pm ]
Post subject:  Re: Return Bug Finder

Here's a sample of how to do it.

I'll take your first bug:

Code:
function s2i takes string s2s returns integer
return s2s
return 0
endfunction

So, you need to separate this into 2 functions.

So, in haxorico's example, you create a "fix" function, and an "origional" function. The original calls the fix, the fix contains one of the returns of the original

For yours, it would be:

Code:
function fix1 takes string s2s returns integer
return s2s
end function

Code:
function originalFunction takes string s2s returns integer
call fix1(s2s)
return s2s
end function


I think that should work! It'd be nice if one of the people who are good at JASS tells me if this is right though.

Page 3 of 5 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/