Reply to Not the end of the game
If you don't have an account, just leave the password field blank.
Edit: nevermind, see Tyrsis's post.
To players: see below debug text on how to fix this (and Hance: you'll have to create a patch for this, of course )
As to what I've found, there's a problem with the script camp-hout.c. To Hance, you can only freeze sprites that already exist, so you can't do this:
freeze(&phil);
int &phil = create_sprite(187, 323, 16, 371, 1);
//you should first create the sprite, then freeze it
Anyway, here's the debug output of the last seconds of the game ( // lines are my comments) :
Dink:Killed script ch2-gold. (num 17)
Dink:Killed script ch2-gold. (num 18)
Dink:Killed script ch2-gold. (num 19)
//above is end of s5C-treas.c, now warps to screen 274
Dink:LOADING camp-hout
Dink:Temp thingie is C
Dink:Script camp-hout is entered at offset 18.
Dink:Couldn't freeze sprite 3 in script 10, it doesn't exist.
Dink:LOADING camp-hout
Dink:Temp thingie is C
Dink:ERROR: Procedure void current_sprite( void ); not found in script 209,. (word 2 was camp-hout)
//... - see below on how to fix this
Dink:Killed script camp-hout. (num 12)
Dink:Couldn't freeze sprite 0 in script 10, it doesn't exist.
Dink:Couldn't freeze sprite 0 in script 10, it doesn't exist.
Dink:Callback added to 1.
Dink:giving script the boot
Dink:LOADING fire
Dink:Temp thingie is C
Dink:LOADING fire
Dink:Temp thingie is C
Dink:LOADING fire
Dink:Temp thingie is C
Dink:LOADING fire
Dink:Temp thingie is C
Dink:Screendraw: running main of script fire..
Dink:Script fire is entered at offset 17.
Dink:Making looping with buffer 3..
Dink:Screendraw: running main of script fire..
Dink:Script fire is entered at offset 17.
Dink:Making looping with buffer 4..
Dink:Screendraw: running main of script fire..
Dink:Script fire is entered at offset 17.
Dink:Making looping with buffer 5..
Dink:Screendraw: running main of script fire..
Dink:Script fire is entered at offset 17.
Dink:Making looping with buffer 6..
//game ends
Edit: no need to do the following, it works like it should.
Just open that scriptfile (camp-hout.c) and change this line:
VOID MAIN(VOID)
//two spaces left of it
to this one (remove the two spaces):
VOID MAIN(VOID)
//no two spaces left of it
Edit: no need to check it, it works, see Tyrsis's post
And for the guys modifying the Dink engine.. perhaps a thing to look into: the engine doesn't recognize procedures if there are spaces
To players: see below debug text on how to fix this (and Hance: you'll have to create a patch for this, of course )
As to what I've found, there's a problem with the script camp-hout.c. To Hance, you can only freeze sprites that already exist, so you can't do this:
freeze(&phil);
int &phil = create_sprite(187, 323, 16, 371, 1);
//you should first create the sprite, then freeze it
Anyway, here's the debug output of the last seconds of the game ( // lines are my comments) :
Dink:Killed script ch2-gold. (num 17)
Dink:Killed script ch2-gold. (num 18)
Dink:Killed script ch2-gold. (num 19)
//above is end of s5C-treas.c, now warps to screen 274
Dink:LOADING camp-hout
Dink:Temp thingie is C
Dink:Script camp-hout is entered at offset 18.
Dink:Couldn't freeze sprite 3 in script 10, it doesn't exist.
Dink:LOADING camp-hout
Dink:Temp thingie is C
Dink:ERROR: Procedure void current_sprite( void ); not found in script 209,. (word 2 was camp-hout)
//... - see below on how to fix this
Dink:Killed script camp-hout. (num 12)
Dink:Couldn't freeze sprite 0 in script 10, it doesn't exist.
Dink:Couldn't freeze sprite 0 in script 10, it doesn't exist.
Dink:Callback added to 1.
Dink:giving script the boot
Dink:LOADING fire
Dink:Temp thingie is C
Dink:LOADING fire
Dink:Temp thingie is C
Dink:LOADING fire
Dink:Temp thingie is C
Dink:LOADING fire
Dink:Temp thingie is C
Dink:Screendraw: running main of script fire..
Dink:Script fire is entered at offset 17.
Dink:Making looping with buffer 3..
Dink:Screendraw: running main of script fire..
Dink:Script fire is entered at offset 17.
Dink:Making looping with buffer 4..
Dink:Screendraw: running main of script fire..
Dink:Script fire is entered at offset 17.
Dink:Making looping with buffer 5..
Dink:Screendraw: running main of script fire..
Dink:Script fire is entered at offset 17.
Dink:Making looping with buffer 6..
//game ends
Edit: no need to do the following, it works like it should.
Just open that scriptfile (camp-hout.c) and change this line:
VOID MAIN(VOID)
//two spaces left of it
to this one (remove the two spaces):
VOID MAIN(VOID)
//no two spaces left of it
Edit: no need to check it, it works, see Tyrsis's post
And for the guys modifying the Dink engine.. perhaps a thing to look into: the engine doesn't recognize procedures if there are spaces