IRC logs for #openttd on OFTC at 2019-01-02
            
00:16:53 <planetmaker> hm... how annoying... the full screen functionality of OpenTTD doesn't play well (anymore). It messes with my 2-screen-setup
00:29:58 <Xaroth> awwww
00:30:06 <Xaroth> first world problems :P
00:32:10 <planetmaker> it's annoying when OpenTTD changes it to 'mirrored'
00:32:20 <planetmaker> :P
00:32:43 <planetmaker> and there seems to be no custom screen size anymore. But now there's many more screen sizes to choose from
00:32:52 <planetmaker> so ... something driver-side likely changed :)
00:33:05 <planetmaker> definitely not 1st-world-problem ;)
00:56:02 <Samu> 3582
00:59:59 <planetmaker> hm?
01:00:22 <Eddi|zuHause> yeah, they're surely going to complain about multi-screen-setup not working in the 3rd world
01:01:58 <planetmaker> definitely :P
01:26:24 *** Arveen has quit IRC
01:28:51 *** Arveen has joined #openttd
01:32:49 *** Mahjong has quit IRC
01:34:07 *** wodencafe has quit IRC
01:34:07 *** Arveen2 has joined #openttd
01:36:33 *** Mahjong has joined #openttd
01:36:40 *** wodencafe has joined #openttd
01:38:54 *** Arveen has quit IRC
01:39:31 <Samu> @calc 154 * 25
01:39:31 <DorpsGek> Samu: 3850
02:01:34 <Samu> https://imgur.com/h3E0Gu4 it's impossible to work with autorenew
02:04:31 <Samu> when I think i have everything under control, stupid errors popup out of nowhere
02:10:24 <Samu> it's amazing what autorenew can screw
02:11:48 <Samu> this updateEngine loop is one of the fastest loops I have atm, and for each route it creates a list of vehicles that are checked against 3 groups
02:12:53 <Samu> and still the vehicle poofed in the middle of a for cycle
02:14:00 <Samu> looping the entire 150 routes takes about 30-50 ticks
02:15:00 <Samu> @calc 50/150
02:15:00 <DorpsGek> Samu: 0.333333333333
02:15:20 <Samu> 1 tick is all it takes
02:15:28 <Samu> to get screwed by autorenew
02:17:39 *** Thedarkb1-T60 has joined #openttd
02:20:59 <Samu> I don't know what to do anymore
02:22:38 <Samu> shared orders, vehicle groups, tried and tried, but nothing works with autorenew turned on
02:45:22 *** Progman has quit IRC
03:02:38 <Samu> just to make sure, i'm disabling autorenew, to see if it happens again
03:05:59 <Samu> also disabled autoreplace in the code as well
03:06:17 *** Thedarkb1-T60 has quit IRC
03:16:31 <Samu> Zuu, are you around?
03:16:37 <Samu> what to do!
04:35:33 *** glx has quit IRC
04:44:22 *** Samu has quit IRC
04:48:43 *** Flygon has joined #openttd
04:50:41 *** raphikov has joined #openttd
04:51:32 *** raphikov has quit IRC
04:52:18 *** raphikov has joined #openttd
05:04:23 *** raphikov has joined #openttd
05:07:26 <DorpsGek_II> [OpenTTD/OpenTTD] gregcarlin updated pull request #7003: Feature #6918: Add option to adjust font size separately from GUI size. https://git.io/fhLFX
05:08:09 <DorpsGek_II> [OpenTTD/OpenTTD] gregcarlin commented on pull request #7003: Feature #6918: Add option to adjust font size separately from GUI size. https://git.io/fhqTM
05:57:49 *** raphikov has joined #openttd
06:06:53 *** Mahjong1 has joined #openttd
06:09:19 *** Mahjong has quit IRC
06:26:26 *** nielsm has joined #openttd
06:43:56 *** HerzogDeXtEr has joined #openttd
06:58:51 *** APTX has quit IRC
07:02:30 <DorpsGek_II> [OpenTTD/OpenTTD] Hezkore opened issue #7006: Hardware mouse cursor https://git.io/fhqLt
07:46:34 *** nielsm has quit IRC
08:01:36 *** sla_ro|master has joined #openttd
08:48:58 *** Wacko1976 has joined #openttd
09:22:39 *** Wacko1976 has quit IRC
09:36:55 *** Mahjong has joined #openttd
09:41:09 *** Mahjong1 has quit IRC
10:16:55 *** lugo has joined #openttd
10:53:11 *** andythenorth has joined #openttd
11:07:58 <andythenorth> yo
11:11:12 <LordAro> didn't someone do some work regarding splitting cursor rendering out from the main loop? (re #7006)
11:11:43 <LordAro> i don't think i'm making that up, but i can't find anything...
11:11:43 *** Progman has joined #openttd
11:15:21 <planetmaker> not sure... I wonder how feasible that is... we want after all our own cursor sprites which are position dependent. But maybe that can be handled driver-side
11:15:45 <andythenorth> we're not the only game with laggy custom cursor btw, at least on mac os
11:15:49 <planetmaker> I recall times back then [TM] where I had two cursors on my mac. And I desperately tried to fix that
11:16:07 <andythenorth> I usually have both the openttd cursor and os cursor showing
11:18:23 *** Thedarkb1-T60 has joined #openttd
11:22:00 * LordAro randomly finds http://www.maizure.org/projects/decoded-openttd/index.html
11:22:55 <Eddi|zuHause> LordAro: i think that was peter1138
11:24:11 <andythenorth> LordAro: interesting article :)
11:24:39 <LordAro> it's actually really well written
11:24:50 <andythenorth> yup
11:24:57 <andythenorth> be a good primer for the project
11:25:03 <LordAro> wonder why they're not a contributor...
11:25:08 <LordAro> they know more than most about the source code
11:25:40 <andythenorth> "I ignore opportunistic messages including: monetization tips, startup ideas, job offers, consulting gigs, volunteer work, community participation, mentorship requests, interviews, speaking engagements, conference appearances, and permission to use/cite my work -- just take it"
11:25:49 <andythenorth> "I'm deliberately difficult to contact."
11:27:06 <andythenorth> repo is here https://github.com/MaiZure/OpenTTD-1.8
11:27:32 <LordAro> pretty sure it's the old git mirror
11:27:47 <andythenorth> wondering about contacting them via a PR :P
11:27:53 <LordAro> haha
11:27:56 <andythenorth> just to say 'nice project'
11:30:41 <andythenorth> hmm
11:30:56 <andythenorth> "Mail Car", "Express Car", "Parcels Car", or "Baggage Car"?
11:31:04 <andythenorth> refits food, goods, diamonds etc
11:31:31 <andythenorth> Road Hog equivalent is "Courier Truck" but eh :P
11:32:10 <andythenorth> "Package Car"?
11:33:10 <Eddi|zuHause> LordAro: might want to post that link to https://www.tt-forums.net/viewtopic.php?f=33&t=84154
11:33:22 <Eddi|zuHause> i think it fits very well there
11:33:26 <andythenorth> +1
11:33:51 <LordAro> you want me to actually *use* the forums?
11:34:23 <Eddi|zuHause> sometimes it's good to push people out of their comfort zone :p
11:36:07 * andythenorth sticks with "Mail Car" then
11:42:03 <andythenorth> hmm
11:42:11 <andythenorth> maybe I should an en-gb translation
11:46:44 * andythenorth wonders how NML picks default lang
11:47:19 <andythenorth> I want the default to be en-us
11:47:50 <Eddi|zuHause> maybe it's a command line option?
11:48:15 <andythenorth> eints would need to know too
11:48:22 <andythenorth> probably TMWFTLB
11:49:04 <Eddi|zuHause> eints might be the better place, have nml always process complete .lng files and have eints output duplicate lines
11:50:27 *** Thedarkb1-T60 has quit IRC
11:56:25 <andythenorth> oof
11:56:31 <andythenorth> I should translate strings per roster :P
11:56:45 <andythenorth> a caboose is still a caboose in en-gb
11:56:53 <andythenorth> if the train is american
11:57:15 <Eddi|zuHause> eints certainly won't know about that
11:57:22 <LordAro> Eddi|zuHause: ah, looks like i was thinking of #6780
11:57:32 <andythenorth> it's just multiple strings
11:57:45 <andythenorth> again, probly TMWFTLB
12:00:56 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on issue #7006: Hardware mouse cursor https://git.io/fhqWd
12:09:26 *** Arveen2 has quit IRC
12:28:21 <Eddi|zuHause> "OverflowSafeInt - Over-engineered black magic" <-- haha :p
12:29:35 * andythenorth should read more of that
12:32:13 <peter1138> Hi
12:46:09 <planetmaker> andythenorth, en_GB *is* the default. For US there is en_US in OpenTTD and NewGRFs
12:46:26 <andythenorth> yes
12:46:28 <Eddi|zuHause> planetmaker: he wants to reverse that
12:46:33 <andythenorth> the problem is that en-us should be default
12:46:36 <andythenorth> but nvm
12:46:41 <planetmaker> the actual default for a *particular person* is given by the settings of your OS / user.
12:46:48 <andythenorth> not in eints
12:46:57 <planetmaker> eh, sure?
12:47:00 <planetmaker> it should be
12:47:03 <andythenorth> TL;DR I want to be able to control the US translation
12:47:15 <planetmaker> become a translator
12:47:20 <andythenorth> currently that isn't achievable without manually checking and reverting eints
12:47:26 <Eddi|zuHause> planetmaker: it's about programming. en-us should be the full translation, and en-gb only the lines that need to be different, drawing the rest from en-us
12:47:46 <andythenorth> I can't find any eints docs that tell how to switch the lang, but I didn't look very far
12:47:53 <andythenorth> I'm not sure it's a 'real' problem
12:48:00 <planetmaker> you cannot change the base lang
12:48:04 <planetmaker> iirc
12:48:38 <Eddi|zuHause> but it wouldn't be a "can't be done" problem, but a "nobody needed that yet" problem
12:48:41 <planetmaker> at least not for a single project in eints as we run it
12:49:01 <andythenorth> imho, it's not a legitimate problem
13:04:19 *** Thedarkb1-T60 has joined #openttd
13:04:22 <andythenorth> hmm
13:04:25 <andythenorth> town cargos :P
13:04:28 <andythenorth> need a purpose>?
13:05:29 <Eddi|zuHause> depends...
13:05:52 *** sla_ro|master2 has joined #openttd
13:06:20 <Eddi|zuHause> if you're writing an industry newgrf, setting a TownEffect should be the limit of your scope
13:06:36 <Eddi|zuHause> if you're writing a game script, you can assign meaning to the TownEffect
13:06:47 <Eddi|zuHause> if you're updating cargodist... well i don't think you are
13:06:51 <andythenorth> I'm not
13:07:04 <Eddi|zuHause> in all other cases, it's a don't-care
13:07:07 <andythenorth> maybe I should write a GS :P
13:08:02 <andythenorth> so town cargos should just grow city? o_O
13:08:08 <andythenorth> problem is, the city grows
13:08:17 <andythenorth> which takes up room I want for freight trains :P
13:09:44 *** sla_ro|master has quit IRC
13:13:40 <planetmaker> interesting URL find @ LordAro
13:19:03 *** gelignite has joined #openttd
13:25:54 *** sla_ro|master has joined #openttd
13:41:03 <andythenorth> hmm, Horse supplies trains are a monoculture :P
13:41:06 <andythenorth> all Mail Vans
13:41:14 <andythenorth> bit boring
13:44:20 <planetmaker> What about a radically different concept (but then your set's description might need rework - or not):
13:44:41 <planetmaker> simply have the train look *whatever* (random or user choice). Nearly independent of cargo :P
13:44:58 <planetmaker> Just make the default cargos as like now
13:46:40 <andythenorth> o_O
13:46:50 <andythenorth> so random sprites?
13:47:52 <Eddi|zuHause> <andythenorth> hmm, Horse supplies trains are a monoculture :P <-- what happened to flatcars with tractors/machine parts?
13:48:34 <andythenorth> they're slower
13:48:42 <andythenorth> so they don't get used for supplies
13:48:59 <andythenorth> the mail cars refit to mail, some town cargos, and supplies
13:49:10 <andythenorth> the town cargos have a few other 'express' wagons
13:49:14 <andythenorth> so there's variety
13:49:54 *** Thedarkb1-T60 has quit IRC
13:50:16 *** Thedarkb1-T60 has joined #openttd
13:50:55 <andythenorth> I did add some alternative 'Express Cars'
13:51:12 <andythenorth> but one form of logic says they're just spamming the buy menu
13:53:14 *** gelignite has quit IRC
13:53:20 <Eddi|zuHause> container cars?
13:53:31 <Eddi|zuHause> with randomized colours?
13:53:51 <andythenorth> plausibly yes
13:54:02 <andythenorth> even back to 1920 or so
13:54:03 <Eddi|zuHause> but you have to rely on the fact that some people will be roleplay-y enough to use the slower cars
13:54:17 <andythenorth> I don't mind about other people :)
13:54:23 <andythenorth> it's just bugging me in my current game
13:54:27 <Eddi|zuHause> and the other people won't mind the monoculture
13:55:11 <Eddi|zuHause> i would be more interested in all cargo trains having the same speed, than using the fastest wagon for a specific cargo
13:55:25 <andythenorth> generally yes
13:55:41 <andythenorth> the rationale for the town cargos is that I run them into pax stations
13:55:52 <andythenorth> so they're not reducing line speed
13:56:09 <Eddi|zuHause> i haven't played with gung ho firs, but in my last ancient firs game i just slapped a single supplies car on the regular freight train
13:56:19 <andythenorth> that can work
13:56:35 <andythenorth> but the chances of getting a source of supplies where you want to drop the freight....
13:56:38 <andythenorth> are not high
13:57:00 <Eddi|zuHause> depends on distribution network setup
13:57:18 <Eddi|zuHause> (using cargodist)
13:57:31 <Eddi|zuHause> (which may have its own problems)
13:58:08 <andythenorth> supplies remain troubling :P
13:58:14 <andythenorth> something about them is....wrong
13:58:18 <andythenorth> but not wrong enough to delete
13:58:42 <Eddi|zuHause> i think they're exactly the interesting kind of "wrong"
13:59:37 <andythenorth> probably
14:03:08 <andythenorth> mail vans and express cars http://bundles.openttdcoop.org/iron-horse/push/LATEST/docs/html/trains.html#mail_car_pony_gen_5A
14:03:16 <andythenorth> I think the express car needs to lose the windows
14:03:56 <andythenorth> supposed to be approximately this https://paulbartlett.zenfolio.com/img/s/v-3/p704890948-3.jpg
14:06:28 <Eddi|zuHause> i don't see the problem
14:08:32 <andythenorth> that's useful
14:08:57 <andythenorth> maybe I finish them and include
14:59:02 *** Samu has joined #openttd
15:05:49 *** Thedarkb1-T60 has quit IRC
15:06:25 <andythenorth> planetmaker: grass heli-stations too :)
15:06:27 <andythenorth> good release
15:09:10 <planetmaker> thanks. And thank you for reminding me... after obviously kamnet failed to grab my attention and motivation before
15:09:37 *** Flygon has quit IRC
15:13:33 <Eddi|zuHause> oh, snow
15:22:25 *** chomwitt has joined #openttd
15:29:54 *** Thedarkb1-T60 has joined #openttd
15:30:09 *** Borg has joined #openttd
15:30:14 <Borg> toskete!!!! ;)
15:30:27 <Borg> Action0,0A property 0A dont want to work
15:34:46 <Borg> OpenTTD always complains it read past the sprite...
15:35:53 <Samu> hi
15:37:20 <Borg> oh never mind :D it woked
15:48:02 <Samu> Zuu, how do I summon you?
15:49:31 <Samu> @seen Zuu
15:49:31 <DorpsGek> Samu: Zuu was last seen in #openttd 6 days, 13 hours, 38 minutes, and 47 seconds ago: <Zuu> So any data that is slow to determine for saving has to be pre-cached already before Save() is called. Load is easier, just save the data to this._save and handle it in Start() and you are good.
15:49:38 <Samu> t.t
15:54:58 *** andythenorth is now known as Guest1580
15:54:58 *** andythenorth has joined #openttd
15:55:40 <Samu> i cannot build openttd on msvc 2017 again
15:55:58 <Samu> seems that everytime you update something, i have to update platform thing
15:56:37 <Samu> 6>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.Cpp.WindowsSDK.targets(46,5): error MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK version in the project property pages or by right-clicking the solution and selecting "Retarget solution".
15:56:37 <Samu> 6>Done building project "openttd_vs141.vcxproj" -- FAILED.
15:57:28 *** Thedarkb1-T60 has quit IRC
15:58:09 *** Guest1580 has quit IRC
15:58:19 <Samu> Retarget solution solves, but... temporarily, until the next upstream update
15:58:46 <Samu> who's the visual studio expert?
15:58:50 <Samu> glx?
16:03:43 <Samu> https://imgur.com/7jmeCVm
16:06:22 <planetmaker> samu: the "vs141" seems to indicate it's rather another version? But I don't own any windows
16:08:33 <Samu> when i retarget solution, the vcxproj files get this added:
16:08:36 <Samu> <WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
16:09:03 <Samu> next upstream update from openttd forces me to revert these changes
16:09:13 <Samu> before updating
16:09:20 <Samu> then i have to re-do
16:09:59 *** sla_ro|master has quit IRC
16:10:17 <Samu> here: https://imgur.com/dpuxBGH
16:12:52 *** nielsm has joined #openttd
16:20:23 *** andythenorth has quit IRC
16:21:40 *** andythenorth has joined #openttd
16:37:45 <DorpsGek_II> [OpenTTD/OpenTTD] Hezkore commented on issue #7006: Hardware mouse cursor https://git.io/fhqi0
16:47:47 *** Gja has joined #openttd
16:57:55 <DorpsGek_II> [OpenTTD/OpenTTD] telk5093 updated pull request #6983: Feature: Town name filtering https://git.io/fpzKD
16:58:55 <DorpsGek_II> [OpenTTD/OpenTTD] telk5093 commented on pull request #6983: Feature: Town name filtering https://git.io/fhqPb
17:13:31 *** Gabda has joined #openttd
17:33:12 *** Gabda has quit IRC
17:35:21 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #6983: Feature: Town name filtering https://git.io/fhqDs
17:35:45 *** sla_ro|master has joined #openttd
17:37:39 <DorpsGek_II> [OpenTTD/OpenTTD] telk5093 updated pull request #6983: Feature: Town name filtering https://git.io/fpzKD
17:43:24 <andythenorth> hmm
17:43:34 <andythenorth> some of FIRS is quite flawed
17:44:46 <Samu> are pools complicated?
17:45:30 <Samu> was wondering if i could do something about keeping the vehicle id after autorenew/autoreplace
17:45:58 <Samu> but it gets into memory territory, i dunno how to handle that
17:47:21 *** Wormnest has joined #openttd
17:48:06 <Samu> hi wormnest, i created a library of some sorts
17:48:17 <Samu> are you interested?
17:48:53 *** Oroburos has joined #openttd
17:50:27 <Wormnest> Samu: Then you sould add it to bananas and post about it in the forums
17:50:34 <Samu> it's posted
17:51:27 <Samu> i just don't know how to explain to set it up
17:51:47 <Samu> you import it to your ai and also need to import some other library
17:51:59 <Samu> scplib or whatever
17:52:39 *** erratic has quit IRC
17:53:17 <Samu> then use the api methods, functions public ones to interact with it?! yeah, something like this
17:54:11 <Samu> thought it would be ideal for nonocab
17:55:02 <Wormnest> I currently don´t have time for it sorry
17:55:34 <Samu> https://www.tt-forums.net/viewtopic.php?f=65&t=84586
17:55:37 <Samu> oh t.t
17:56:45 <Samu> i wanted to post my ai which supports it in version 8, but i'm having lots of trouble with autorenew atm
17:57:56 <Samu> can't update to v8 yet:(
17:59:43 *** erratic has joined #openttd
18:04:31 <DorpsGek_II> [OpenTTD/OpenTTD] telk5093 closed pull request #6983: Feature: Town name filtering https://git.io/fpzKD
18:05:53 <DorpsGek_II> [OpenTTD/OpenTTD] telk5093 reopened pull request #6983: Feature: Town name filtering https://git.io/fpzKD
18:07:49 *** synchris has joined #openttd
18:16:34 <Samu> just noticed aystar is terrible for finding a path of roads on diagonals
18:17:16 <Samu> or im gonna have to increase turn costs considerably
18:20:15 <Samu> nop, turn cost didn't solve it :(
18:26:54 *** sla_ro|master has quit IRC
18:28:07 *** sla_ro|master has joined #openttd
18:31:13 <planetmaker> iirc it should be somewhat optimal
18:31:36 <Samu> it was cost of no road
18:31:50 <Samu> if i change it to 0, it suddenly becomes smart
18:36:27 *** frosch123 has joined #openttd
18:36:37 <Samu> but dirty, doesn't reuse existing roads :(
18:37:46 <planetmaker> hmpf... is github now rate-limiting me because I accidentially pulled all OpentTD pull requests?
18:38:00 <planetmaker> and thus denies me page loads? :|
18:38:16 <LordAro> i think it's having issues
18:38:41 <Eddi|zuHause> i'm sure it just has a personal grudge against you
18:38:50 <planetmaker> :D
18:42:24 <frosch123> planetmaker: TrueBrain: https://devs.openttd.org/~frosch/release.sh <- if it is of any use. that script has been used (with minor adaptions) since 0.7?
18:42:36 <frosch123> originaly written by rb
18:42:48 <andythenorth> hey it's frosch123 :)
18:43:16 <frosch123> the ice shell on the pond is gone :p
18:43:50 <DorpsGek_II> [OpenTTD/OpenTTD] planetmaker commented on pull request #6983: Feature: Town name filtering https://git.io/fhq9p
18:44:39 <planetmaker> happy new quak :)
18:46:23 <frosch123> moo :)
18:49:25 *** erratic has quit IRC
18:56:02 <Borg> okey.. fuck it :D add opcodes to my grfix.rb :)
18:56:13 <Borg> it should make whole NFO much more readable
18:57:08 <planetmaker> why.... nfo? :P
18:59:12 <Borg> dunno.. NML looked hard
19:02:15 <TrueBrain> owh, no, the boss is back; HIDE!
19:02:49 <Borg> planetmaker: NFO is not bad.. but if you make break from it... its hard to comeback..
19:06:11 <planetmaker> well, I tried both for years. It only was fun, when I forgot NFO :)
19:06:45 <planetmaker> so that I could focus on what to do. And not on what to write in which order
19:07:10 *** Oroburos has quit IRC
19:08:20 *** Wolf01 has joined #openttd
19:10:55 <Wolf01> o/
19:11:07 <planetmaker> woooo-ooo :)
19:11:27 <TrueBrain> are you trying to make the noise of a wolf, or what was that?
19:11:36 <planetmaker> got me :)
19:11:41 *** Progman has quit IRC
19:11:55 <andythenorth> oh it's TrueBrain :)
19:12:32 *** Progman has joined #openttd
19:13:39 <Wolf01> So, I might want to spend 155€ of lego again...
19:13:48 <TrueBrain> what is holding you back?
19:13:54 <Wolf01> Need motors for the arm
19:14:09 <Wolf01> <TrueBrain> what is holding you back? <- lack of space
19:14:20 <TrueBrain> 1st world problem, I guess
19:14:36 <planetmaker> I decided the other day, that I'll borrow my SaturnV to the local observatory for this year ;)
19:15:50 <Wolf01> Money aren't really a problem, I have plenty of them (lego is my only serious addiction), so I only spend on fuel to go to work
19:16:18 <planetmaker> hm, I don't get why the search of the townname list flickers but others don't...
19:16:59 <Wolf01> But space... we need to invent one more dimension or a way to compress stuff to molecular level
19:19:51 <TrueBrain> Wolf01: I do hope you spend it on food too
19:19:55 <TrueBrain> sounds terrible otherwise :D
19:20:08 <Wolf01> If we used the entire planet instead of just some parts of the surface, there would be enough space for... a lot. It's like on factorio, at start the distance between the coal patch and the water seem huge, 30 minutes after you'll run out of space and need to rebuild the entire factory because you can't let that new belt pass in the middle
19:20:27 <Wolf01> Yes, but only when I'll go out to eat
19:22:20 <frosch123> planetmaker: observatory or planetarium? are there any visitors at an observatory?
19:22:40 <TrueBrain> we often have an open house on the observatory :)
19:22:49 <TrueBrain> which is pretty cool .. as it is a shit-old telescope :D
19:23:38 <andythenorth> so what's left to do?
19:23:41 <andythenorth> for binaries and crap
19:23:56 <TrueBrain> cookies!
19:24:03 <frosch123> all eaten
19:24:15 <Wolf01> I want cookies too :(
19:26:22 *** wodencafe has quit IRC
19:27:21 <TrueBrain> hmmmmm .. aiohttp is trying an ipv6 connection .. while I dont have an IPv6 stack configured on this machine
19:30:04 *** wodencafe has joined #openttd
19:30:05 <planetmaker> frosch123, observatory. And yes, we have a monthly public evening
19:30:16 <planetmaker> https://hans-zimmermann-sternwarte.de/
19:30:55 <planetmaker> in Wolfsburg there's also a planetarium with which we cooperate...but meh. just planetarium :)
19:31:59 <TrueBrain> so boring :P
19:32:07 <frosch123> do you submit PRs to them?
19:32:51 <planetmaker> who?
19:33:09 <frosch123> telling the planetarium about new stars to update their stuff
19:33:24 <planetmaker> haha :)
19:33:37 *** Gja has quit IRC
19:35:21 <planetmaker> actually with the data for stellar positions which currently become available... they might want to update :P
19:36:33 <planetmaker> Last year data for... like 1 billion stars have been updates released
19:38:40 <frosch123> 1e9 or 1e12?
19:41:27 <andythenorth> FIRS is weird
19:41:30 * andythenorth concludes
19:41:33 <TrueBrain> YOU ARE WEIRD
19:41:41 <andythenorth> NO YOU
19:41:46 <TrueBrain> yes :D Thank you :)
19:43:00 *** Gja has joined #openttd
19:43:28 <planetmaker> 1e9
19:43:51 <planetmaker> there's "only" 1e11 approx. in the whole milkyway
19:44:29 <frosch123> ok, so they do not need new hdd
19:45:18 <planetmaker> well... depends on what data they want :D
19:45:47 <planetmaker> The catalogue is... so big it's not available for download, but only for query
19:45:50 <TrueBrain> hmmm ... andythenorth, I found a minor issue .. I estimate I need ~100k HTTP calls to build the downloads collection :D
19:46:56 <planetmaker> hm, actually it is. And smaller than I thought. 600G
19:48:37 <frosch123> that will take a while for wolf to download
19:48:51 <TrueBrain> @calc 600 * 1024 * 10 / 3600
19:48:51 <DorpsGek> TrueBrain: 1706.66666667
19:48:55 *** gelignite has joined #openttd
19:49:01 <TrueBrain> @calc 600 * 1024 / 10 / 3600
19:49:01 <DorpsGek> TrueBrain: 17.0666666667
19:49:07 <TrueBrain> @calc 600 * 1024 / 50 / 3600
19:49:07 <DorpsGek> TrueBrain: 3.41333333333
19:49:13 <TrueBrain> take me just 4 hours :P
19:49:19 <TrueBrain> (math is hard, as it turns out)
19:49:57 <frosch123> 400 mbit connection?
19:50:06 <TrueBrain> 500, hence the 50
19:50:30 <TrueBrain> (10 bits internet traffic gives you rougly 1 byte of data)
19:50:41 <TrueBrain> (assuming Jumbo-frames are not supported :P)
19:51:22 <TrueBrain> `xml="$xml<member><name>$i</name><value><struct><member><name>date</name><value><string>$date</string></value></member><member><name>size</name><value><int>0</int></value></member><member><name>type</name><value><string>directory</string></value></member></struct></value></member>"`
19:51:25 <TrueBrain> what were we smoking ...
19:52:08 <planetmaker> I suggest you have a look into your old cabinet you hide in your basement nowadays :P
19:52:19 * andythenorth has lost the plot
19:52:22 <planetmaker> I'm sure it was good stuff :P
19:52:37 <TrueBrain> how am I going to make this downloads collection ...
19:52:39 <planetmaker> for it were jolly good times ;)
19:53:03 <andythenorth> what's wrong with 100k HTTP calls?
19:53:11 <TrueBrain> every docker build?
19:53:15 <TrueBrain> do I really have to explain this?
19:53:23 <andythenorth> @calc 0.5 * 100000
19:53:23 <DorpsGek> andythenorth: 50000
19:53:38 <andythenorth> that's less than 1000 minutes
19:53:56 <TrueBrain> my latency is a bit better :P
19:54:04 <andythenorth> I took an average from 2012
19:54:08 <TrueBrain> @calc 100 * 1000 * 0.02 / 3600
19:54:08 <DorpsGek> TrueBrain: 0.555555555556
19:54:13 <TrueBrain> still takes 30 minutes :P
19:54:13 <andythenorth> but still, you can probably get it done under 16 hours
19:54:17 <andythenorth> oh ok
19:54:18 <andythenorth> 30 mins
19:54:20 <TrueBrain> every docker build
19:54:21 <TrueBrain> every
19:54:22 <TrueBrain> docker
19:54:23 <TrueBrain> build
19:54:25 <TrueBrain> so no :P
19:54:25 <andythenorth> 'probably fine'
19:54:29 <TrueBrain> I need a better plan :D
19:54:37 <andythenorth> step 1: stop doing the stupid way?
19:54:45 <andythenorth> why is it done this way?
19:54:51 <andythenorth> assume I know nothing :P
19:54:53 <andythenorth> safe assumption
19:55:08 <planetmaker> andy-the-duck :)
19:55:15 <TrueBrain> yeah ... bit the issue is, that for every download entry
19:55:23 <TrueBrain> we need to fetch 3 checksum files per released binary
19:55:39 <TrueBrain> as those checksums are on the download page :D
19:55:57 <andythenorth> and we're rebuilding this from sources every time, no ability to cache anything?
19:56:08 <andythenorth> no intermediate service that can just hold some json or something?
19:56:15 <TrueBrain> not currently
19:56:27 <andythenorth> ideally let's do it in a way that let's people MITM the checksums
19:56:33 <TrueBrain> I wonder if we can generate a json file in each folder to have this information available
19:56:33 <andythenorth> for more fun
19:56:50 <andythenorth> manifest?
19:56:59 <TrueBrain> sort-of manifest, but yes
19:57:02 <TrueBrain> possibly YAML is easier
19:57:05 <TrueBrain> as I can bash that
19:57:21 <andythenorth> btw, jekyll can ingest json directly somehow
19:57:26 <andythenorth> if it's in the _data dir
19:57:32 * andythenorth didn't try it
19:58:01 <TrueBrain> yeah, but from _data it cannot generate a file, I noticed
19:58:05 <TrueBrain> so it needs to be in a collection
19:58:11 <TrueBrain> so something needs to process it I guess
19:58:13 <andythenorth> makes sense
19:58:19 <TrueBrain> it is a bit annoying
19:58:22 <TrueBrain> but .. not the worst
19:58:25 <andythenorth> not the worst
19:58:45 <TrueBrain> I am only terrified of changing anything in the current binaries folder
19:58:47 <andythenorth> the worst is clearly this FIRS game I'm playing
19:58:57 <andythenorth> why do I do the things I do? :|
20:00:19 <andythenorth> there is 'no point' delivering any cargos to town, because they can be delivered elsewhere to make supplies
20:00:25 <andythenorth> but I already have more supplies than I need
20:00:38 <andythenorth> and the supplies just create more cargos for which there is no point
20:00:41 <andythenorth> except to make supplies
20:00:45 <andythenorth> lolz
20:03:25 <frosch123> sounds like YETI
20:05:06 <andythenorth> it probably just needs a good GS with it :P
20:05:08 <andythenorth> but eh
20:05:52 <Wolf01> Sounds like dinner
20:14:28 <andythenorth> supplies are the pinnacle cargo in too much of FIRS
20:14:32 <andythenorth> it's a fail :|
20:17:07 <nielsm> it's like a cookie clicker
20:17:09 <nielsm> supplies clicker
20:23:08 <andythenorth> FIRS Must Be Fixed :P
20:24:59 <Samu> damn trash msvc 2017 hangs
20:25:01 <Samu> :(
20:25:07 <Samu> i should have stayed with 2015
20:29:44 <TrueBrain> okay ... it seems I can safely generate a manifest file next to the existing stuff .. that looks promising
20:29:53 <TrueBrain> meaning it is only 4k HTTP requests :P
20:29:57 <TrueBrain> but I can cut that down to like 100
20:41:45 <TrueBrain> incredible how you learn to hack your way with bash over the years :P
20:42:04 <Samu> d:\agent\_work\3\s\src\vctools\crt\vcstartup\src\gs\amd64\amdsecgs.asm
20:42:11 <Samu> what is this? says it can't find
20:42:44 <Samu> i dont have an agent folder on my D
20:44:13 <nielsm> location of the code on the machine used to build the program/library containing the crashing code
20:44:16 <nielsm> (presumably crashing)
20:44:59 *** ToffeeYogurtPots has joined #openttd
20:45:59 *** lugo has quit IRC
20:49:32 <andythenorth> 100 is probably fine?
20:49:33 <Samu> it wasn't a crash, it was while debugging
20:49:40 *** Oroburos has joined #openttd
20:49:42 <andythenorth> I have web pages that make 100 http requests :P
20:49:57 <TrueBrain> 100 is fine
20:50:03 <Samu> i was clicking 'Step Into' and 'Next Statement'
20:50:06 <Samu> following the code
20:50:10 <TrueBrain> it just takes a long time to generate these files, as it needs to open 100k files :D
20:50:24 <TrueBrain> `openttd-0.4.5-1.pkg.tar.gz`
20:50:30 <TrueBrain> for what system is this ... lol
20:52:23 <frosch123> morphos?
20:52:33 <TrueBrain> unspecified :D
20:52:52 *** Thedarkb1-T60 has joined #openttd
20:53:20 <TrueBrain> we mis checksums of 2 0.2.1 binaries :D
20:53:39 <frosch123> utf16?
20:53:53 <TrueBrain> sorry?
20:53:59 <TrueBrain> (feels like a random remark :P)
20:54:10 <frosch123> you spelled 2021 so weird
20:54:16 <TrueBrain> 2 0.2.1
20:54:21 <TrueBrain> lol
20:54:28 <TrueBrain> okay, that took me a bit too long :P
20:55:05 <frosch123> ah, two 0.2.1
20:55:44 <frosch123> whenever something is weird, i suspect a software bug
20:56:43 <frosch123> ah, .pkg is arch linux
20:56:53 <frosch123> never encountered that
20:56:57 <TrueBrain> lol
20:57:02 <TrueBrain> well, I am not going to name that file if you dont mind :D
20:57:05 <TrueBrain> it is too weird :P
20:57:22 <TrueBrain> (we have this file that describes all extensions: http://ftp.snt.utwente.nl/pub/games/openttd/binaries/filetype_description.txt)
20:57:32 <frosch123> i downloaded it
20:57:44 <frosch123> the current website already says unknown file
20:57:51 <TrueBrain> yeah
20:57:57 <TrueBrain> but I am extending that list as we speak
20:58:01 <TrueBrain> too many entries missing, which annoys me :D
20:58:23 <frosch123> it has bundled scenarios
20:59:08 <TrueBrain> turns out that all ubuntu entries are wrong; funny
21:00:29 <andythenorth> hmm
21:00:38 <andythenorth> how do I newgrf towns?
21:00:48 <TrueBrain> 1) implement it
21:00:50 <andythenorth> maybe I can't
21:00:51 <TrueBrain> 2) use it
21:00:53 <TrueBrain> 3) ???
21:00:54 <TrueBrain> 4) profit
21:01:19 <andythenorth> thanks
21:01:29 <TrueBrain> you are welcome sir!
21:01:33 <andythenorth> I want to nerf towns with FIRS
21:01:43 <andythenorth> someone will know how :P
21:03:01 <andythenorth> seems newgrf can't
21:03:32 <andythenorth> can I bundle a GS in the tar with FIRS? o_O
21:03:57 <frosch123> no, but you can add a dependency
21:04:13 <andythenorth> I want to modify town growth cargos
21:04:19 <frosch123> people still need to figure out how to activate it though :p
21:04:22 <andythenorth> oof
21:05:34 <frosch123> since when does town growth matter for firs?
21:05:52 <andythenorth> well exactly
21:05:55 <andythenorth> that is a problem :P
21:06:15 <andythenorth> above a certain size, I want to towns to require building materials etc
21:06:17 <andythenorth> for growth
21:06:47 <frosch123> i am sure one of to 30 city gs will do that
21:06:51 <frosch123> *the
21:07:10 <andythenorth> yes but then I have to merge it with Busy Bee :D
21:07:16 <andythenorth> first world problems
21:07:40 <frosch123> make a gs patch pack
21:07:47 <andythenorth> seriously considering it
21:07:58 <andythenorth> UltimateGS
21:08:00 <frosch123> combine all into one, add a setting to enable/disable the parts
21:08:12 <andythenorth> BB, SV, NCG, City Builder
21:08:18 <andythenorth> just enable all at once
21:08:30 <frosch123> defintely enable all 30 citiy builders at once
21:08:39 <andythenorth> winningest
21:08:57 <frosch123> how was the "i" delayed so much?
21:10:27 <andythenorth> unknown
21:20:25 <TrueBrain> okay, I have to run a script now, and I am terrified of doing that :D
21:20:30 <TrueBrain> that script hasnt been run in months
21:20:40 <TrueBrain> it should "work" :P
21:23:22 *** Thedarkb1-T60 has quit IRC
21:33:56 <Borg> HOOOOI.. any NFO guruz around?
21:34:14 <Borg> why I could do this when accessing industry related data:
21:34:15 *** glx has joined #openttd
21:34:15 *** ChanServ sets mode: +v glx
21:34:17 *** Gja has quit IRC
21:34:29 <Borg> ! *02 0A 13 rd ab1 20 FF FF FF FF 0E 1A 20 00 01 00 00 0F
21:34:47 <Borg> why im writing 0xFFFFFFFF to temperary variable 0x100
21:35:11 <Borg> I only found need such write for Industry variable 0x67 and 0x68 to select GRFid
21:35:12 <frosch123> you should at least use escape sequences
21:35:21 <frosch123> that adds at least some content
21:35:29 <Borg> frosch123: yeah. Im fixing my GRF now.. using opcodes
21:35:38 <Borg> thats how that lines looks like after fix:
21:35:58 <Borg> ! *02 0A 13 rd ab1 avs FF FF FF FF stt ab1 avs 00 01 00 00 clr
21:36:19 <Borg> but.. still.. question apply.. maybe its artifact from old stuff I was doing.. and forgot to remove it..
21:36:43 <frosch123> did you invent your own syntax?
21:36:49 <Borg> yep :D
21:37:25 <Borg> I remember I had some trouble reading some vars.. and that weird grfid select was needed.. but here.. I dont access anything.. why it is here... hmm
21:37:43 <frosch123> anyway, register 0x100 is callback specific
21:37:49 <frosch123> it has no general meaning
21:37:56 <Borg> yep.. and I dont do callback here too.
21:38:03 <Borg> okey, I will remove it.. and see if something explode
21:39:00 <TrueBrain> okay .. script is validating all nightlies .... we have many :D
21:39:10 <TrueBrain> 4000 :D
21:39:11 <TrueBrain> lol
21:39:21 <frosch123> most are only source bundle?
21:39:26 <TrueBrain> yup
21:40:07 <TrueBrain> this script makes sure that after a file was changed in the folder, the folder gets the release-data again
21:40:13 <TrueBrain> otherwise things start to show folders out-of-order
21:40:17 <TrueBrain> which is hella-annoying
21:40:31 <TrueBrain> but to do that correctly .. it has to touch EVERY FOLDER :P
21:40:32 <TrueBrain> (and file)
21:43:13 <Borg> wait!! it might not be artifact..
21:43:17 <Borg> I start to get flashbacks
21:43:34 <Borg> arent access to Persistent Storage if Industry.. isnt guarded by GRFid?
21:43:43 <Borg> s/if/of/
21:44:06 *** Oroburos has quit IRC
21:44:10 <Eddi|zuHause> can you please speak in whole sentences?
21:44:12 <frosch123> no for industry storage, yes for town storage
21:44:41 <Borg> right!!!
21:44:54 <Borg> shit I knew it was for something importand :D
21:45:00 <frosch123> do you use town storage?
21:45:04 <frosch123> i think you are the first one
21:45:05 <Borg> yes
21:45:18 <Borg> my power stations use it..
21:46:34 *** wodencafe has quit IRC
21:47:00 *** wodencafe has joined #openttd
21:47:08 <TrueBrain> OpenTTD 0.1.1 was just 200 KiB :D
21:50:08 <glx> source only ?
21:50:41 *** sla_ro|master has quit IRC
21:51:24 <TrueBrain> no, the windows binary
21:51:34 <TrueBrain> okay .. manifest.yaml are being created .. this will take a while :D
21:51:54 <glx> windows and 200 KiB only ?
21:52:13 <glx> even a simple hello world is bigger now
21:52:28 <TrueBrain> "improvements" :D
21:52:33 <glx> (a GUI one, not a console one)
21:53:41 <andythenorth> for those who missed it... http://www.maizure.org/projects/decoded-openttd/index.html
21:53:50 <andythenorth> LordAro found it this morning
21:54:38 <TrueBrain> so decoding an open source game? :D
21:55:56 <TrueBrain> `No cutting-edge C++ features (C++11 and later). Feels like a C codebase with extras`
21:55:57 <TrueBrain> LOL :D
21:56:47 <Borg> glx: bullshit!!!!
21:56:53 <Borg> watch this and cry:
21:57:04 <Borg> 14848 Feb 4 2016 quickrun.exe*
21:57:10 <Borg> its win32 GUI app.. Win32 API only
21:57:35 <Borg> ;D
21:57:57 <TrueBrain> andythenorth: nice, tnx
21:58:03 <TrueBrain> someone had a nice xmas clearly :P
21:58:23 <andythenorth> it's a really good primer for contributors imo
21:58:45 <andythenorth> the dude is non-contactable, but is happy for stuff to be reused
21:59:24 <TrueBrain> how do you know if you cant contact him? :P
21:59:32 <TrueBrain> that sentence is a contradiction :P
22:00:24 <andythenorth> because ;) http://www.maizure.org/projects/faq.html
22:00:33 <andythenorth> "permission to use/cite my work -- just take it"
22:01:26 <TrueBrain> lolz
22:01:41 *** cboyd_ has joined #openttd
22:01:43 *** wodencafe has quit IRC
22:01:44 <glx> "Some concurrency: Understand mutex locks and critical sections" <-- we are very basic in this area :)
22:02:32 <frosch123> "generic programming heavy" -- someone looked at yapf?
22:02:59 <glx> maybe the factories too
22:04:54 <nielsm> he talks about a lot of the foundational stuff nobody touches much
22:05:08 <nielsm> but not about the things that really matter to average constributors
22:05:13 <nielsm> like the command structure
22:06:21 <nielsm> I tried placing some pixels: https://0x0.st/sRqy.png
22:07:01 <nielsm> and I think I made it half scale because brainfart :P
22:07:01 <TrueBrain> you missed one
22:07:02 <TrueBrain> :P
22:07:26 <nielsm> so rather, missed 75% of them :D
22:08:02 *** lugo has joined #openttd
22:08:21 <TrueBrain> so we have nightly release r20906
22:08:23 <TrueBrain> it is empty
22:08:24 <TrueBrain> :D
22:08:27 <TrueBrain> that is not a release!
22:09:04 <Xaroth> maybe it's hiding?
22:09:18 <TrueBrain> go back playing Rimworld
22:09:34 <Xaroth> Nah, different game time
22:10:05 <TrueBrain> guess I can remove that release from the record ...
22:13:23 *** cboyd_ has quit IRC
22:14:04 <TrueBrain> andythenorth: something for you: https://www.youtube.com/watch?v=phsLfS3VaRg
22:14:39 <planetmaker> https://www.tt-forums.net/viewtopic.php?f=33&t=84594
22:14:51 <andythenorth> vg TrueBrain
22:16:07 <TrueBrain> planetmaker: another one for your list (next to Steam, Epic, ..)
22:16:07 *** wodencafe has joined #openttd
22:16:11 <andythenorth> isn't that what happened to node or something ^
22:16:12 <TrueBrain> flatpack is also one :P
22:16:22 <andythenorth> 'he emailed me asking to take over the package'
22:16:33 <andythenorth> and now you lose all your bitcoin
22:17:08 <TrueBrain> yup :P
22:18:05 <TrueBrain> I always like when people call me paranoid about stuff like: not publishing "official" windows binaries some random person on the internet build on the frontpage etc :P
22:18:16 <TrueBrain> as that NEVER goes wrong :D
22:18:19 <andythenorth> never
22:21:40 <TrueBrain> ugh, generating these files is SO SLOW
22:26:02 *** Tirili has joined #openttd
22:27:58 <TrueBrain> right, generation done .. now fixing timestamps .......
22:29:02 <glx> "Why are two separate structs defined for related map data?" <-- hehe nice question, his guess is quite correct
22:29:17 <TrueBrain> in many things he is pretty spot-on :D
22:29:40 <glx> yeah looks like an experimented dev
22:29:44 <nielsm> so, publish snaps of openttd? https://en.wikipedia.org/wiki/Snaps
22:29:45 <nielsm> :)
22:30:16 <TrueBrain> dont tempt me :D
22:30:24 <TrueBrain> for the next dev-meeting? :P
22:30:57 <glx> but IIRC the main reason for the added struct is the savegames
22:31:24 <glx> beside optimisations
22:31:40 <glx> and memory alignment
22:32:34 <TrueBrain> oops, I think I just made the balancer panic :D
22:32:41 <TrueBrain> all mirrors went into 'issue' state :D
22:33:03 <glx> oh no you broke it ;)
22:33:12 <TrueBrain> it should self-recover :)
22:36:19 <TrueBrain> Mirrors online: 7
22:36:19 <TrueBrain> Rsync capable mirrors: 7
22:36:19 <TrueBrain> Next rsync in: 123 second(s)
22:40:23 <TrueBrain> okay, it really crashed :D Too many new files :D
22:40:59 <TrueBrain> Online since: 2017-02-16 21:21:54
22:40:59 <TrueBrain> Current time: 2019-01-02 21:38:48
22:41:05 <TrueBrain> there goes the uptime .. so close to 2 years :(
22:42:28 <TrueBrain> okay, mirrors are rebuilding :) Lalalalaaa, nothing happened :D
22:49:08 *** gelignite has quit IRC
22:49:11 <nielsm> hall of mirrors
22:55:47 <frosch123> haha, he mentions entry points for win, unix and osx, but then accidentially copied the prototype for os2 :p
22:56:06 <TrueBrain> andythenorth: all downloads look good. The only thing I need to fix is that it builds in a Dockerfile (easy), and add OS detection (is now done server-side)
22:56:16 <andythenorth> \o/
22:56:22 <andythenorth> then we win?
22:56:45 <TrueBrain> it takes 8 seconds to generate the pages now in Jekyll :D
22:57:11 <andythenorth> bit slow
22:57:16 <TrueBrain> only ~400 downloadpages :P
22:57:16 <andythenorth> can we afford it?
22:57:21 <TrueBrain> it is a one-time fee
22:57:27 <TrueBrain> we can afford ANY value tbfh :P
22:57:45 <andythenorth> so glad we used Jekyll
22:57:46 <TrueBrain> just for developing it might be better to empty _downloads :D
22:57:52 <andythenorth> instead of my static site generator :P
22:57:55 <TrueBrain> so far I am very happy with it :)
22:58:31 <TrueBrain> owh, and I need to add nginx redirect rules
22:58:38 <TrueBrain> so old URLs are pointing to the right places still :D
22:59:07 <TrueBrain> 2 MiB of downloads collection :D
23:00:34 <Borg> n00000w.. this shit is readable:
23:00:45 <Borg> ! *02 0A 28 gw 40 avs FF FF udiv aim \w250 add aim \w1 ucmp
23:00:45 <Borg> ldp 00 vs FF 00 02
23:00:46 <Borg> :D
23:01:14 <Samu> unitnumber
23:01:37 <Borg> okey.. enough for today.. 31% of file converted
23:01:43 <Borg> but it will be worth...
23:03:29 <Samu> https://github.com/OpenTTD/OpenTTD/blob/master/src/vehicle_base.h#L716
23:03:32 <Samu> question
23:03:49 <Samu> can i trust unitnumber?
23:04:10 <Samu> UnitID unitnumber; ///< unit number, for display purposes only
23:04:18 <Samu> not very reassuring :(
23:05:03 <Samu> when a vehicle is autorenewed/autoreplaced, this is one of the properties that is copied over from the old to the new
23:05:41 <Samu> if my list consist of vehicle unit numbers, would that mean autorenew would not screw me over?
23:07:09 <Samu> wondering if the API has access to this unitnumber
23:07:46 <andythenorth> oof
23:07:59 * andythenorth acts as though compile times don't even matter :(
23:08:02 <Samu> static int32
23:08:02 <Samu> GetUnitNumber (VehicleID vehicle_id)
23:08:02 <Samu> Get the unitnumber of a vehicle.
23:08:06 <andythenorth> and adds EVEN MORE switches
23:08:09 *** sla_ro|master has joined #openttd
23:08:11 <TrueBrain> lol
23:08:23 <TrueBrain> okay, Docker builds and runs as expected
23:08:30 <TrueBrain> the image is a bit bigger now :D
23:08:31 <TrueBrain> lol
23:08:41 <TrueBrain> but I still really like this solution
23:08:49 <TrueBrain> a pre-compiled cache :D
23:08:50 *** Borg has quit IRC
23:09:22 <andythenorth> winner winner
23:09:25 <andythenorth> chicken dinner
23:09:25 <andythenorth> etc
23:10:09 <Samu> create a list of unit numbers hmm
23:10:13 <Samu> must try
23:10:22 <Samu> oh gosh, my code is a mess already
23:11:23 *** nielsm has quit IRC
23:11:48 <DorpsGek_II> [OpenTTD/website] TrueBrain opened pull request #7: Add: downloads pages, and links from header/index to them https://git.io/fhmIo
23:11:51 <TrueBrain> andythenorth: there we go :D
23:12:10 <andythenorth> hooray
23:12:12 <TrueBrain> owh, I do have to fix some meta files, I see
23:12:23 <DorpsGek_II> [OpenTTD/website] TrueBrain commented on pull request #7: Add: downloads pages, and links from header/index to them https://git.io/fhmIM
23:12:52 <TrueBrain> LordAro: if you have some spare time, I can use a review on https://github.com/OpenTTD/website/pull/7/files#diff-165a0f84a542416461eb83cdbcfc60d2 (single file)
23:13:27 <TrueBrain> andythenorth: if you have some time, I can use a review on the rest :D
23:13:31 <TrueBrain> but no rush
23:13:40 <TrueBrain> off to bed now anyway; just happy I managed to make the PR today :D
23:13:43 <TrueBrain> night!
23:13:44 <andythenorth> same :)
23:13:46 <andythenorth> bye
23:13:46 *** andythenorth has left #openttd
23:24:21 <Samu> https://paste.openttdcoop.org/palq5u0uf I have a bad feeling about this
23:27:33 <Samu> in the end, i still need to access the vehicle id
23:27:41 <Samu> don't think this would help
23:27:51 <Samu> feels the same as with groups
23:29:51 <Samu> vehicle_id's should have been unit_number from the beginning
23:30:07 <Samu> not the other way around, hmm i don't think this would help
23:30:19 <Samu> API needs a rework?
23:36:12 <Samu> can't think properly, help!
23:38:39 <Samu> the API needs a GetVehicleID function
23:43:41 <Samu> maybe a IsValidUnitNumber too
23:44:58 <Samu> I feel alone on this
23:54:23 *** synchris has quit IRC
23:55:24 *** Wolf01 has quit IRC
23:59:33 *** Tirili has quit IRC