Bug#596876: freedink: game locks when buying item with full inventory
Bas Wijnen
wijnen at debian.org
Thu Sep 16 09:20:25 UTC 2010
reassign 596876 freedink-data
tags 596876 +patch
thanks
Op 14-09-10 21:22, Sylvain Beucler schreef:
>> when you buy something (a bow) the game will lock if
>> your inventory is still full. I will complain that the inventory is
That was of course a type, I'm not complaining, but "It" (the game) is. ;-)
>> full, and then do nothing at all anymore. No response to moving, not
>> even to esc or enter. The only way out I had was to kill the game
>> through the terminal on ctrl-alt-f1.
>
> Good catch!
>
> Can you attached a gzip'd savegame so I can easily reproduce (and fix)
> the problem?
I can. The attached save is near the bow store: go three screens west to
enter it, then select "buy" (never mind that you don't have money, that
check is later in the code). Everything freezes.
I also looked at the code and found the problem. It was in -data, so I
reassigned the bug (I had expected them to be in the same source
package). I attached a patch which is code copied from another store.
However, it doesn't seem to work properly (but I doubt that anyone will
notice): even though I say unfreeze (1), the shopkeeper keeps frozen
until something new happens to him. The player is unfrozen, and that's
the important part, because it makes the game continue.
Thanks,
Bas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: save5.dat.gz
Type: application/x-gzip
Size: 2505 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20100916/62e0c4c9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: unfreeze.patch
Type: text/x-patch
Size: 271 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20100916/62e0c4c9/attachment-0001.bin>
-------------- 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/20100916/62e0c4c9/attachment.pgp>
More information about the Pkg-games-devel
mailing list