#3 FC6 - problem with read saved game

closed
nobody
None
5
2006-11-13
2006-10-31
Madisa
No

Hello!
I have newest "Fish Fillets" on Fedora Core 6
(installed from rpm).
The problem is on every level (at least at 3 first
levels, i didn't check next): I'm saving the game, then
read saved game and suddenly it's closing itself and
leaving console text:

main.cpp:117: ERROR script failure;
error='/usr/share/games/fillets-ng/script/share/Pickle.lua:81:
attempt to call a table value
stack traceback:

/usr/share/games/fillets-ng/script/share/Pickle.lua:81:
in function `unpickle_table'

...sr/share/games/fillets-ng/script/share/prog_save.lua:29:
in function `script_loadState'
[string "script_loadState()"]:1: in main chunk'

I don't know what to do. I love this game, but I'm so
frustrated when I must do the level over and over again
because I can't save it :(((

Madisa

Discussion

  • Ivo Danihelka
    Ivo Danihelka
    2006-10-31

    Fixes table iterations

     
    Attachments
  • Ivo Danihelka
    Ivo Danihelka
    2006-10-31

    Logged In: YES
    user_id=861119

    Hi,
    thank you for such important bug report.

    What version of lua are you using (lua -version)?
    I guess it is 5.1.
    Use the attached patch to fix this reported problem:
    $ cd $fillets_data/script
    $ patch -p0 <pairs.patch

    I would be glad if you keep reporting problems. I haven't
    tested lua 5.1 yet.
    Thanks.

     
  • Madisa
    Madisa
    2006-11-01

    Logged In: YES
    user_id=1634311

    My lua version is 5.1.1

    Your patch solved the problem, thanks :)))

    If I notice some other problems I'll report.

     
  • Ivo Danihelka
    Ivo Danihelka
    2006-11-13

    • status: open --> closed