Game
Final Orbit 2

6 years ago

Here's my annoying bug-fixing story...


I spent a day isolated trying to get Final Orbit in a playable state for Early Access (since the whole project has been a bit fragmented up until now). Much of that day was spent trying to figure out why logging in wasn't working properly.

Here's the story. I had just restructured the splash screen and menu. It was just a bit of housekeeping, a simple tidy up with consequences. Now, logging in didn't last long. You'd be logged out again straight away.

On the bright side, this bug did help me uncover some related bugs. One that would have caused a minor issue- not being able to log in again if an error caused you to be logged out without restarting the game. The other major bug I uncovered was a big one- the game crashing during while receiving information from the Game Jolt API. I'm glad I got those fixed.

Finally, I realised the problem. When I restructured the game's opening, I duplicated my network handler. Every instruction passed to that handler was being received twice. The second login instruction effectively reset the logged state of the handler. Such a simple thing but I lost my mind over it.

The good news is, it's all fixed and I am so far ahead of schedule I could relax... but instead, I'll use the extra time to add polish and fix more bugs!

Tl;dr: I had a bug, with a simple solution. I fixed it... eventually.



0 comments

Loading...

Next up

Just fixed a major memory leak issue and added a forest to the office building. This game will be... abstract.

"There are trees here... but we're still in the building. I think I recognise these woods..."

#MythGIFMondays

Does the pale man ever blink??

Join us on Discord: https://discord.gg/EBMbmpqjdz

Wishlist on Steam: https://store.steampowered.com/app/2599040/Going_Down/

Despite taking most of the weekend off to spend some time in the blazing weather with the missus, tomorrow's patch is shaping up to be a full on update!

Taking its time, but not forgotten...

The Windows version crashes... play the HTML5 version for now. I've programmed a fix for it, I'll release the patch soon!

I'm now trying to fix the weird floating box... it doesn't appear in the HTML5 version, only the Windows.

Gearing up for early access! Also, sorry the game (and my account) keep vanishing. Allow me to explain...

It's all coming together! I'm ahead of schedule.

The options are functional and, you may have noticed, you are now able to log in using your Game Jolt username and game token.

"All of it... amounts to this..."

We've been quiet but busy. Time for an update!

Final Orbit on the Nokia 3310?