$12256 / $11500
I am using a Rasperry Pi 3 with Debian 9, and whenever I run a version of the engine above 1.06.05, the glitch described in the title happens - it is not a problem with flare-game, as it happens in Polymorphable, older versions of flare-game, etc... What am I doing wrong?
If you can reproduce it, can you post the contents of ~/.config/flare/flare_log.txt as well as your save file which is located in ~/.local/share/flare/saves/*/*/avatar.txt?
I think I was able to reproduce this on Android. Opening the inventory menu causes a crash, so I'll try to figure out what's happening.
Okay, please try the latest git master (version 1.06.31). It should fix the crash.
Technical explaination: I had refactored MessageEngine::get() to be a single function that take a va_list of arguments. Since "%d" represents an unsigned long for some strings, I made it so that "%d" expected an int64_t to handle those unsigned longs as well as signed ints. The bug occured when passing another argument after a normal signed int on systems where a signed int != 64 bits.
So I simply reverted back to before my refactor where we had multiple get() functions with fixed arguments. It's a little redundant, but much safer to use.
New version works fine, thanks.