Train Counter
Moderator: OpenTTD Developers
Train Counter
I'd like to have a train counter system in a actual patch (better in trunk )
old version (post 3)
http://www.tt-forums.net/viewtopic.php?p=426224#p426224
would be nice to see for load balancing issues
old version (post 3)
http://www.tt-forums.net/viewtopic.php?p=426224#p426224
would be nice to see for load balancing issues
Humour is the last hope for the hopeless
One Hopeless Man
One Hopeless Man
Re: Train Counter
I thought some time about what you mean by this, because following your link, i found an actual patch.FunMaker wrote:I'd like to have a train counter system in a actual patch (better in trunk )
[...]
What you mean is an "up-to-date patch", that's a possible translation of the german "aktuell". (aktuell != actual <- that's a false friend)
Back to the topic, that's a very old patch, one would have to rewrite big parts of it for current trunk. Maybe I'll have a look at it though..
edit: meanwhile, here's something else to play with:
This is a patch originally by Rubidium, that I changed a little to display the colors in a nicer way (imo).
It displays the busyness of railway tracks in the smallmap "Routes" mode: yellow (unused) to dark red (heavily used).
It's not really what you asked for, but maybe you can use it anyway.
- Attachments
-
- busyness_r15396.diff
- (1.82 KiB) Downloaded 73 times
Re: Train Counter
Just for the sake of it: Germans think they speak better English than they do
-
- Tycoon
- Posts: 5948
- Joined: 27 Apr 2005 07:09
- Contact:
Re: Train Counter
Yeah. But read also http://www.iaas.uni-bremen.de/sprachblo ... ing-manie/ , i.e. not everything to be found at your link is really true.Eddi wrote:Just for the sake of it: Germans think they speak better English than they do
And, BTW: "shrimps" == "Granat".
regards
Michael
Re: Train Counter
Well, I rewrote the patch for current trunk. See here: http://bugs.openttd.org/task/2620
Since the waypoints now have their own window in trunk, I extended that window and put the stats below the viewport.
Here's a screenshot:
Since the waypoints now have their own window in trunk, I extended that window and put the stats below the viewport.
Here's a screenshot:
- CommanderZ
- Tycoon
- Posts: 1872
- Joined: 07 Apr 2008 18:29
- Location: Czech Republic
- Contact:
Re: Train Counter
I guess saving longer-term data to generate some nice graphs would be too memory-heavy?
Re: Train Counter
i don't think memory is really a problem, when you don't have 100.000 waypoints and the data is not stored in the map (i hope that it does not)
PS: no, of course, in a satirical text, not "everything" is "true".
PS: no, of course, in a satirical text, not "everything" is "true".
Re: Train Counter
no, the values are not stored in the map array
and no, it wouldn't be too memory-heavy...
just how to display them? If you write more than three lines like it does now, it gets crowded.
Feel free to extend this patch with a nice graph drawing function if you want
and no, it wouldn't be too memory-heavy...
just how to display them? If you write more than three lines like it does now, it gets crowded.
Feel free to extend this patch with a nice graph drawing function if you want
Re: Train Counter
well except the fact that i mixed actual with up-to-date - imho my english is understandable and that's the only thing i want it to - besides there are many false-friends from german->english
oh and thanks for an UP-TO-DATE patch
oh and thanks for an UP-TO-DATE patch
Humour is the last hope for the hopeless
One Hopeless Man
One Hopeless Man
Who is online
Users browsing this forum: Google [Bot] and 20 guests