Page 3 of 5
Re: Return Bug Finder
Posted: June 9th, 2012, 4:07 am
by owner123
I get "Error opening archive" when opening with MPQmaster.
Re: Return Bug Finder
Posted: June 9th, 2012, 4:16 am
by Bartimaeus
Re: Return Bug Finder
Posted: June 9th, 2012, 4:19 am
by owner123
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...
untitled.jpeg
Re: Return Bug Finder
Posted: June 9th, 2012, 4:21 am
by Bartimaeus
Hurray! I'm not crazy,
Thanks, Owner.
Re: Return Bug Finder
Posted: June 9th, 2012, 4:26 am
by owner123
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.
=.=
Re: Return Bug Finder
Posted: June 9th, 2012, 8:04 pm
by undeadstorms
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...
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
!
Re: Return Bug Finder
Posted: June 9th, 2012, 8:42 pm
by haxorico
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...
Re: Return Bug Finder
Posted: June 9th, 2012, 9:27 pm
by owner123
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#p142909Just follow that general format. I've fixed maps that way, it definitely works.
Re: Return Bug Finder
Posted: June 9th, 2012, 9:49 pm
by undeadstorms
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
Re: Return Bug Finder
Posted: June 9th, 2012, 10:06 pm
by owner123
Here's a sample of how to do it.
I'll take your first bug:
Code: Select all
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: Select all
function fix1 takes string s2s returns integer
return s2s
end function
Code: Select all
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.