Game
Final Orbit 2

5 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

Happy Spooky Month!

We added a kitty!

Adding much needed menus ahead of early access! Also, Final Orbit 2 now has a home on my official website. Read all about it!

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!

Going Down is now on Steam! If you like what you've seen so far, we'd appreciate a cheeky Wishlist!

https://store.steampowered.com/app/2599040/Going_Down/

Final Orbit on the Nokia 3310?

The story of 'Going Down' is falling into place nicely. The visuals are looking lovely. The atmosphere is spooky with more than a touch of mystery.

I am very happy with progress!

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.

Screenshot Saturday!

Going Down, psychological horror RPG about difficult choices and memories best forgotten on an elevator ride.

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