Bug#596876: freedink: game locks when buying item with full inventory

Bas Wijnen wijnen at debian.org
Sun Sep 19 19:23:45 UTC 2010


Op 19-09-10 21:07, Sylvain Beucler schreef:
> Thanks for the patch.
> 
> I fix upstream using the same code as just below (not enough gold):
>   unfreeze(1);
>   unfreeze(&current_sprite);

Yes, I realized later that "1" is probably the player, and
"&current_sprite" is the shopkeeper.  This line is missing in other
shops as well, by the way. :-)

> Your code should work, but refers to the 'mainloop' label which isn't
> declared in that script :)

I know.  I copied it from another script (I think in the duck village
weapon's store), where it also isn't defined.  I assumed it was some
game-specific way of exiting the script. :-)

> Btw, if the player is frozen, you may quit it using Alt+Q.

Ah, thanks.

> (the game may still be frozen if the DinkC script is caught in an
> eternal loop, alas the interpreter is not quite easy to fix)

I can imagine.  By the way, I couldn't see the source of the map.  Is it
available, or is the binary format also the source?  In that case, is
there an editor? :-)

If not, I think it's worth a bug report.

Thanks,
Bas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20100919/561ca45c/attachment.pgp>


More information about the Pkg-games-devel mailing list