Hacker News new | ask | show | jobs
by kragniz 2274 days ago
In case anyone's thinking of running some multiplayer games in the coming weeks and wants some more advanced economy metrics, I recently started writing a set of patches to add a prometheus /metrics endpoint to the OpenTTD server to use with a grafana dashboard:

https://github.com/grand-central-garbage/openttd-prometheus (warning: grim c++ code)

5 comments

In a similar vein, I played a factorio game with https://github.com/afex/graftorio - It was useful, but also un-useful as I ended up spending more time making pretty graphs than they could possibly have saved me in noticing resource bottlenecks.
Argh. Just what I don't need. _More_ things to make me want to play Factorio. The factory must grow....
I think it's more interesting on an openttd server, because you're competing against other players, so the graphs inform you about their actions and how well you're keeping up with their economy.
AFAIK many OpenTTD online games are cooperative with many players building a very complex transport networks, usually with some objective. Like all with steam locomotives, bus network with transshipping, etc.
Could that be classed as cheating or is this info already in the game?

Note: Not passing judgement if it is, just curious.

It's added as part of the dedicated server, and available for all players on the server. This kind of data is also available in game, but not as detailed.
I wanted to be productive this weekend. Shit
I think you have won TTD :)
hold on. you need to feed these metrics into a slack bot that tells you how much you suck in order to win
Your also need slash commands that deploy trains
wait. now feed that to a neural network. that way you can win without any effort.
That sounds pretty fun. I suggest you add some screenshots of what a dashboard might look like. (If I missed them, I'm sorry for the noise)
Grafana is a general-purpose realtime stats dashboard and you construct your graphs with it yourself—so for the examples you mostly can just see Grafana's site or search for images.
OpenTTD economy is not advanced enough to warrant such metrics :p

And while it had been done before for citybuilder, hardcore players that can really appreciate it are no longer playing the game :( http://dpointer.org/data/ttd/stats30/

What are those hardcore players playing now instead then?
No idea rly. I know that some played starcraft before openttd xD And now most seem to be too busy with real life...
Factorio or Satisfactory possibly?
This is fantastic. Now I need this for Rimworld...