Greetings.
I would like to report the following game:
Contract (CONTRACT_15630_01.zip)
It appears that the program is truncated at line 9030 (which itself is corrupted), bringing up a syntax error.
Here is the offending line:
9030 S=INT(RND(1)*10)+FODIM4
0
Thanks.
Welcome to the Gamebase 64 forums. An attempt to document ALL Commodore 64 gameware before it's too late!
Bug report
Moderator: Jimbo
- J2003C
- GB64 Team
- Location: Just South of Hell
Post
Thanks. Our "original" is corrupted too. If line 9030 could be truncated to
s=int(rnd(1)*10)+fo
and line 9040 added as
9040 return
Then the game would function just fine, but would still be missing some random elements, depending how many lines were lost.
s=int(rnd(1)*10)+fo
and line 9040 added as
9040 return
Then the game would function just fine, but would still be missing some random elements, depending how many lines were lost.
-J2010C-
- Michael Plate
- GB64 Team
- Location: Stockholm
Post
Have you patched it or was it mandatory to add a few more BASIC lines/commands?
If you think the fixed version behaves like the original game you can send it to our help email address.
/Michael
If you think the fixed version behaves like the original game you can send it to our help email address.
/Michael
- farang
- New Member
- Location: Sweden
Post
I have not re-crunched the fixed version because I think it's better to leave it as it is so I can be 100% sure that it's not get currupted again. And also so people who wants to learn something are able to check the code.
EDIT: The fix have now been mailed to you...
No I have not patched the game or added anything. All the code was there from the begining, but the game was cruched/Packed and the decruncher was bugged so it didn't restore the basic pointers correctly.Have you patched it or was it mandatory to add a few more BASIC lines/commands?
I have not re-crunched the fixed version because I think it's better to leave it as it is so I can be 100% sure that it's not get currupted again. And also so people who wants to learn something are able to check the code.
EDIT: The fix have now been mailed to you...
- BoozySmurf
- New Member
- Contact:
- Location: Brisbane, AU
Post
Fix for 'Contract'
Just out of curiosity, farang, how did you fix it?farang wrote:I took a look at this game and have now managed to fix the problem Just tell me if you want me to send the file to you...
- farang
- New Member
- Location: Sweden
Post
I patched the decruncher so it didn't run the game and then did I check the code if it was intact. Since I could see that the all the code was there, did I think that the decruncher might something to do with it. The program got truncated because the basic pointers (Memsiz $37-$38, Highest address used by basic) wasn't changed after the decrunching so the basic memory area was still limited to the length of the crunched program and not to the actual length... To avoid to cause same or other bugs did I not crunch the fixed version. (Since all crunchers not are suitable for basic code)
I have sent the fixed version to Mike so he will probably add it to the GBC when he got time...
Re: Fix for 'Contract'
With CCS64 and it's machine code monitor...BoozySmurf wrote: Just out of curiosity, farang, how did you fix it?
I patched the decruncher so it didn't run the game and then did I check the code if it was intact. Since I could see that the all the code was there, did I think that the decruncher might something to do with it. The program got truncated because the basic pointers (Memsiz $37-$38, Highest address used by basic) wasn't changed after the decrunching so the basic memory area was still limited to the length of the crunched program and not to the actual length... To avoid to cause same or other bugs did I not crunch the fixed version. (Since all crunchers not are suitable for basic code)
I have sent the fixed version to Mike so he will probably add it to the GBC when he got time...
Who is online
Users browsing this forum: No registered users and 76 guests