BacioiuC / Mutant_Gangland

Mutant Gangland is a fast-paced turn based strategy game with little focus on micro-management, for Windows, Linux, Mac and Android.
19 stars 5 forks source link

Game crashes constantly with floating point exception #4

Closed faho closed 10 years ago

faho commented 10 years ago

With the git build, almost everything I do (clicking the "buy" button, loading some maps, pressing an arrow key, clicking the mouse button at the wrong time) crashes the game with a floating point exception.

Loading the "river" map is probably the most reliable way to reproduce.

This is with lua 5.2 and moai 1.5 on archlinux.

BacioiuC commented 10 years ago

No other errors are printed in the terminal/cmd? Can you check to see if the print function is uncommented in main.lua?

BacioiuC commented 10 years ago

I think I Know what the problem is. You might be using the assets from the actual game as of last update on Itch.io (Alpha 1 update 6), and a few things have changed since them (new healthbars, new animations, early support for commanders, etc). Pretty sure the game crashes when it tries to load a image (or more) it cannot find.

Thinking of a way to solve this. Current version of MGL is not ready for another alpha release so I can't upload a new version on itch. One thing I might do is upload the missing assets there in a separate .zip.

BacioiuC commented 10 years ago

Uploaded a zip with my contents of the media folder. That should fix this issue. Let me know if it works, and if you don't have the game, don't worry. Buzz me on twitter and I'll send you a key ;)

faho commented 10 years ago

Uploaded a zip with my contents of the media folder.

Yes, that seems to have fixed it. Thanks! For anyone else reading this: The zip needs to be extracted to $GAMEDIR/Game/media.

if you don't have the game, don't worry. Buzz me on twitter and I'll send you a key ;)

Nah, I threw 4€ your way yesterday. Thanks for the offer, though.