Show newer

I came up with a subscriber system to keep track of which players require network updates when some entity changes its state. not the best thing in the world but for now it seems to work ok without wasting extra memory.

trying to integrate nanoflann into the game server to manage players visibility through kd trees. if it works one less problem, and a big one.

after 5 months of work my game server emulator finally let me go in-game and see the map and my character. very cool milestone

in-process orchestration is as complex as multi-machine orchestration, but at least you know all 'nodes' are gonna be there.

never start writing code without a plan boys and girls, your future self will appreciate it

Show thread

next step, the Context! (the map instances, the actual gameplay).
before writing a single line of code I use my trusty whiteboard to design a decent architecture to fit every piece.

just tried @godotengine in my @postmarketOS pinephone with a small game I made and it ran perfectly fine.
Just had to specify the phone resolution and maximize it.

But first im gonna rewrite the test bot to do some stress testing of both authentication and queue servers.
I don't think the CCU will be huge, but that isn't the point of this project anyway.

Show thread

managed to finish the lobby today (character creation, deletion, selection). Next step is the actual "game" server that manages maps, npcs, gameplay, etc. Gonna try and do some fancy ECS for it.

aren't values in MariaDB hard typed? why C libmariadb only lets me retrieve data in string format?

my Pinephone Convergence Pack just arrived!
the DHL guy enjoys coming early while i'm still sleeping

Whats this? a DHL notification?
Pinephone is coming \o/

Accustomed to closing the client and servers the hard way during development I totally forgot to handle graceful disconnections and went crazy trying to understand what was going on. And I call myself a network programmer, ha.

the same field using uint64 and uint32 in different places. what a horrifying view.

reached an important milestone tonight in my game server project, time to sleep.

programming sleepy, fighting both the code and my eyes.

Distributed systems and massive orchestration is fun (and frustrating).

Show thread

I just remembered the tool I wrote when I was working at Gameloft to avoid the pain managing AWS when doing stress tests.
A couple of simple C# programs that let me orchestrate hundreds of VMs semiautomatically and see realtime stats of every one of them in a nice GUI on my PC.
Those were fun times. And it was Aperture Science thematic!

I take back what I said, it was just me being dumb not knowing who to interpret the data.

Show thread

I'm trying to profile my allocations in Tracy, but all I get is a noisy list of allocations made by Tracy itself (with a pinch of my own here and there), dammit.

Show older

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.