Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE

Flare crashes when Inventory is opened (when certain items are in it) and "Trading" causes it to crash as well - Raspberry pi 3

TakeAShower
Thursday, August 2, 2018 - 02:30

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?

  • Log in or register to post comments
dorkster
joined 10 years 1 month ago
Thursday, August 2, 2018 - 19:01
dorkster's picture

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?

  • Log in or register to post comments
dorkster
joined 10 years 1 month ago
Friday, August 3, 2018 - 08:41
dorkster's picture

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.

  • Log in or register to post comments
dorkster
joined 10 years 1 month ago
Friday, August 3, 2018 - 10:47
dorkster's picture

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.

  • Log in or register to post comments
TakeAShower
joined 4 years 1 week ago
Sunday, August 12, 2018 - 06:02

New version works fine, thanks.

  • Log in or register to post comments