IRC logs for #openttd on OFTC at 2023-09-28
            
00:13:14 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
01:57:06 *** Smedles has quit IRC (Quit: No Ping reply in 180 seconds.)
01:58:18 *** Smedles has joined #openttd
02:32:37 *** D-HUND has joined #openttd
02:36:12 *** debdog has quit IRC (Ping timeout: 480 seconds)
06:06:56 *** merni has quit IRC (Quit: User went offline on Discord a while ago)
06:17:14 <andythenorth> ach I broke Horse https://www.tt-forums.net/viewtopic.php?p=1264898#p1264898
06:17:18 <andythenorth> how do I fix this?
06:18:18 <andythenorth> is better to fix it in grf or bananas?
06:26:09 <_pruple> didn't you already change the minimum version on banananana?
06:27:21 <_pruple> if people are going to go out of their way to download incompatible grfs for their outdated game version... ๐Ÿคท
06:47:58 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1156844734367666196/image.png?ex=6516731d&is=6515219d&hm=097bc2359544c8a63a1ee3c9b1707ce58d095c80e5348a06bf8f821eb4f73002&
06:48:02 <andythenorth> "I did not"
06:48:29 <peter1138> Do we not have a simple version check property in Action 8?
06:48:34 <peter1138> Hmm, no.
06:49:16 <peter1138> Oh, andythenorth... oops :)
06:49:19 <andythenorth> there's something
06:49:27 <andythenorth> the thing is that I haven't done it ๐Ÿ˜›
06:50:03 <andythenorth> I should just default all my grfs to "latest" OpenTTD
06:53:15 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1156846064649895957/image.png?ex=6516745a&is=651522da&hm=f85f975552e365a0533e4d874492baf72a97317b80a0bfaf0246c713d2c8584f&
06:53:15 <andythenorth> broke bananas
06:53:30 <andythenorth> no internet before having coffee?
06:53:34 <andythenorth> new rule
06:54:16 <andythenorth> ok done it
06:54:18 <andythenorth> thanks
06:55:22 <peter1138> Backend: "Let's output the error in JSON so the frontend can format it nicely for display". Frontend: "lol"
06:55:47 <andythenorth> if only someone would do bananas html + css
06:56:30 <andythenorth> can we take work sabbaticals and do OpenTTD for 2 months?
06:56:33 <peter1138> Coffee #2.
06:56:38 <peter1138> I wish.
06:56:49 <andythenorth> I actually like my job too much
06:56:57 <andythenorth> weird eh
06:56:59 <peter1138> Although I'd probably take breaks and end up getting more work done...
06:57:12 <andythenorth> I'd end up going a bit mad
06:57:19 <andythenorth> then I'd fall out with someone and rage quit for a month
06:59:28 <peter1138> Heh
07:00:30 *** HerzogDeXtEr has joined #openttd
07:04:38 <peter1138> Last night was a slog... I had no energy :/
07:05:49 <_pruple> andythenorth: who would do such a thing
07:07:37 <andythenorth> nobody I can recall
07:16:32 <peter1138> I don't remember, I don't recall.
07:16:45 <peter1138> I've got not memory, of anything... anything at all.
07:35:00 *** ufo-piloot has quit IRC (Ping timeout: 480 seconds)
07:46:19 <kamnet> andythenorth: Glue? ๐Ÿ™‚
07:55:41 <ahyangyi> welding?
08:26:44 <kamnet> 3-part epoxy?
08:40:11 <peter1138> Urgh, my charts mess up with the browser is resized.
08:53:29 <peter1138> Phew, solved it with a few unrelated width: 100%; max-width: 100%;...
09:42:50 <andythenorth> did anyone unify my spritesets yet? ๐Ÿ˜›
09:42:54 <andythenorth> surprisingly, no
10:24:51 <peter1138> Did anyone format my charts yet?
10:42:35 <andythenorth> it wasn't me
10:46:04 <peter1138> Instead I have a mug of tea.
11:37:16 *** Flygon has joined #openttd
11:54:30 <alfagamma7> What tea?
12:18:14 *** ufo-piloot has joined #openttd
13:09:10 <peter1138> > I'm English, as a drink "tea" always means "a tea bag of normal unspecified black tea"
13:39:33 <andythenorth> if it was Earl Grey, that would be mentioned
13:39:56 <peter1138> Usually as "Tea, Early Grey, Hot"
13:40:18 <andythenorth> Reserve not met
13:42:30 <talltyler> I lived in the American South for four years, where โ€œteaโ€ meant sugar water and you had to say โ€œhot teaโ€ to mean regular tea ๐Ÿ˜ฆ
13:43:00 <peter1138> Commisserations.
13:43:10 <talltyler> I still get made fun of when I say โ€œhot teaโ€ and people go โ€œโ€ฆas opposed toโ€ฆ?โ€ If only they knew. ๐Ÿ˜ฌ
13:46:10 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #10700: Codechange: Split dates and timers into Economy and Calendar time https://github.com/OpenTTD/OpenTTD/pull/10700
13:49:11 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #10700: Codechange: Split dates and timers into Economy and Calendar time https://github.com/OpenTTD/OpenTTD/pull/10700
13:52:31 <talltyler> Real-Time Mode rebased, now itโ€™s testing time after breakfast to find all the bugs Iโ€™ve created ๐Ÿ˜›
13:57:31 <andythenorth> ๐Ÿ™‚
13:57:59 <peter1138> There is where andy tries to develop some hack to defeat daylength...
13:58:07 <peter1138> (In NewGRF / GS)
13:59:50 <andythenorth> then substitute my own version
14:00:05 <andythenorth> GS has a daylength feature...
14:02:48 <andythenorth> did we test inflation with daylength yet? ๐Ÿ˜›
14:03:21 <peter1138> It can be any worse ;D
14:03:34 <peter1138> If it's economy period, then it'll just seem high for the date, I suppose.
14:03:55 <peter1138> And if it's calendar period, then it'll just seem to take ages to get higher. Seems like a win, tbh :)
14:04:27 <andythenorth> Maybe it will be Simply Incompatible
14:04:41 <andythenorth> and we could have a community vote about which feature is more important
14:04:44 <peter1138> Are our companies corporations? Because in the real world what seems to happen is inflation goes up, the corporations make even more money, and its the punters that get screwed.
14:05:06 <andythenorth> I have an alternative data point for my small corporation ๐Ÿ˜
14:15:19 <talltyler> Inflation is calendar period, so weโ€™ll probably see a renaissance of people trying to use it and complaining when Horse disables itself ๐Ÿ˜›
14:16:40 <talltyler> I still need to fix #11270 but I think the proper fix is to create a DateDiff type and apply it across the codebase, which sounds like a lot of workโ€ฆ
14:21:40 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11338: GUI Setting to control whether main toolbar dropdown menus close instantly or not https://github.com/OpenTTD/OpenTTD/pull/11338#issuecomment-1739342074
14:22:00 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #10938: Feature: Option to disable activate-on-release behaviour of toolbar dropdown buttons. https://github.com/OpenTTD/OpenTTD/pull/10938#issuecomment-1739343041
14:22:48 <peter1138> Is that the leap-year one? I think just adding extra days to vehicle age like it used to is fine.
14:23:39 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11337: Change: Store station blocked/wires/pylons flags in map. https://github.com/OpenTTD/OpenTTD/pull/11337#issuecomment-1739348013
14:25:37 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11337: Change: Store station blocked/wires/pylons flags in map. https://github.com/OpenTTD/OpenTTD/pull/11337#issuecomment-1739354222
14:26:02 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11303: Add: Dedicated server heightmap support https://github.com/OpenTTD/OpenTTD/pull/11303#issuecomment-1739355561
14:26:46 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #11304: Codechange: Use member initalisers https://github.com/OpenTTD/OpenTTD/pull/11304#issuecomment-1739357734
14:27:12 <peter1138> Heh, didn't even notice that.
14:28:16 <talltyler> Yes, I hope it doesnโ€™t conflict, but extended depots is a huge PR so you never know what it touches ๐Ÿคท
14:28:38 <talltyler> (Unless you look, of course, which I havenโ€™t done ๐Ÿ˜› )
14:30:50 <peter1138> Without performance tests, #11337 is kinda stuck anyway. I'm not sure how to measure it, because on any large savegame where it might make a difference, the vehicle tick controllers take up way more time.
14:32:50 *** D-HUND is now known as debdog
14:42:24 <talltyler> Is it just touched by drawing code? Would a huge map with lots of stations but no vehicles be measurable?
15:10:41 <_jgr_> IsStationTileBlocked is indirectly reachable from the pathfinder, train movement, etc
15:10:53 <_jgr_> That's probably the most fruitful angle to look at for performance measurements
15:13:00 <_jgr_> I'd expect that most of the saving would be in avoiding the cache misses in looking up/loading the station spec, so running through valgrind/callgrind with cache simulation turned on ought to show some difference before and after the change
15:16:48 <peter1138> Yes, pathfinding was my first instinct. Rendering not so much because processing the rest of the rendering far outweighs this lookup.
15:18:01 <peter1138> Probably the code that checks for wires and pylons should be combined so that only one lookup is performed.
15:26:13 <DorpsGek> [OpenTTD/OpenTTD] J0anJosep commented on pull request #11337: Change: Store station blocked/wires/pylons flags in map. https://github.com/OpenTTD/OpenTTD/pull/11337#issuecomment-1739529276
15:59:35 <peter1138> I give up.
16:02:05 <alfagamma7> Oof
16:13:44 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #10700: Codechange: Split dates and timers into Economy and Calendar time https://github.com/OpenTTD/OpenTTD/pull/10700
16:14:27 <talltyler> Such rebase
16:29:38 <peter1138> Universal law of Minecraftโ€”when you join, it will be the start of night time...
16:38:21 <_glx_> the register handling in spritelayout parsing is kinda fire and forget, it won't be easy to make it able to reuse registers for identical values
16:40:49 <talltyler> Ugh, #10700 isn't loading company financial data from previous years... probably missing some saveload stuff to convert it to economy time ๐Ÿคฆ
16:47:01 <andythenorth> _glx_: no choice then, 65k registers are needed? ๐Ÿ˜›
16:48:26 <_glx_> my advanced example using 40 spritelayouts uses 135 registers for 4 different values
16:48:37 <andythenorth> hashtable ๐Ÿ˜›
16:49:21 <DorpsGek> [OpenTTD/OpenTTD] mdias commented on pull request #10938: Feature: Option to disable activate-on-release behaviour of toolbar dropdown buttons. https://github.com/OpenTTD/OpenTTD/pull/10938#issuecomment-1739685432
16:49:52 <_glx_> <https://gist.github.com/glx22/19446d63c287f050719c54cb099c4f8f>
16:50:29 <andythenorth> they're almost like constants eh
16:50:34 <_glx_> yup
16:52:30 <_glx_> it's fine for usual spritelayouts (they don't share registers), but with station they are all merged, so the total is big
17:19:13 *** Wormnest has joined #openttd
17:27:00 * andythenorth naming issues
17:27:14 <andythenorth> in my compile I need to distinguish base set and grf sprites
17:27:23 <andythenorth> are base set sprites realsprites?
17:27:45 *** nielsm has joined #openttd
17:31:12 <_pruple> yes?
17:31:40 <_pruple> but so are grf sprites or something
17:32:03 <_pruple> base set sprites are... "basesprites"?
17:33:25 <brickblock19280> aren't they realsprites in the baseset?
17:33:42 <andythenorth> dunno
17:33:48 <andythenorth> just need a name in python to make them obvious ๐Ÿ˜›
17:33:51 <andythenorth> grfsprites
17:34:03 <andythenorth> chipssprites
17:34:04 <andythenorth> dunno
17:34:18 <_pruple> sprotes
17:34:47 <brickblock19280> ownsprites?
17:37:44 <andythenorth> sprotes ๐Ÿ˜›
17:37:49 <andythenorth> spr1tes
17:40:52 <talltyler> Oof, timetables are totally fucked in Real-Time Mode. Rebase gone wrong, probably, since I had them working in April...
17:41:06 <talltyler> A project for later ๐Ÿ™ƒ
17:49:58 *** gelignite has joined #openttd
18:02:24 *** astro-ray[m] has joined #openttd
18:03:35 *** astro-ray[m] has left #openttd
18:21:36 *** Wolf01 has joined #openttd
18:46:36 *** gelignite has quit IRC (Remote host closed the connection)
18:48:03 *** gelignite has joined #openttd
18:55:43 <peter1138> NCSA Mosaic is 30 years old...
18:56:14 <peter1138> Or would be if it was still alive.
18:58:21 <ahyangyi> andythenorth: ASprite. BSprite
19:06:45 <andythenorth> err thanks
19:33:40 *** gelignite has quit IRC (Quit: Stay safe!)
19:35:04 <andythenorth> _glx_: single spriteset for ground tiles, with prepare_layout for indexes https://github.com/andythenorth/chips/commit/47e0cb6250308dcb82b411abc38e99e2b55c4de9
19:35:13 <andythenorth> diff is unpretty ๐Ÿ™‚
19:35:41 <andythenorth> I'll do a single spriteset for the station sprites next
19:44:02 <DorpsGek> [OpenTTD/OpenTTD] DonaldDuck313 opened issue #11340: [Bug]: Train waits for free path when it doesn't have to https://github.com/OpenTTD/OpenTTD/issues/11340
19:50:26 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #11340: [Bug]: Train waits for free path when it doesn't have to https://github.com/OpenTTD/OpenTTD/issues/11340
19:51:10 <DorpsGek> [OpenTTD/OpenTTD] DonaldDuck313 commented on issue #11340: [Bug]: Train waits for free path when it doesn't have to https://github.com/OpenTTD/OpenTTD/issues/11340
19:55:15 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #11340: [Bug]: Train waits for free path when it doesn't have to https://github.com/OpenTTD/OpenTTD/issues/11340
20:02:39 <_glx_> andythenorth: there are many ways to work around the limitation, so as long as it works for you ๐Ÿ™‚
20:10:33 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
20:11:09 <peter1138> Hmm, I wonder.
20:15:22 <peter1138> Right, that actually didn't assert, which surprised me :D
20:47:26 *** nielsm has quit IRC (Ping timeout: 480 seconds)
20:50:19 <andythenorth> yeah but I don't want to go to bed yet
21:06:06 <peter1138> Hmm, should IsValidCargoID actually check for valid cargo...?
21:06:54 <peter1138> It can quite easily, but the only time the current simple check is insufficient is if NewGRFs have been changed.
21:07:41 <andythenorth> who would change newgrfs?
21:07:45 <andythenorth> or even the cargos in FIRS ๐Ÿ˜›
21:08:24 <peter1138> :D
21:36:26 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
22:04:22 <peter1138> I found an old todo.txt.
22:04:38 <peter1138> "New sprite resolver" "Custom bridge heads" "New stations" "New bridges"
22:04:40 <peter1138> Oh dear.
22:18:15 <peter1138> Oh nice, an old i386 build of OpenTTD r3234M works :D
22:20:33 <peter1138> Still has the original new game window from TTD.
22:20:38 *** tokai|noir has joined #openttd
22:20:38 *** ChanServ sets mode: +v tokai|noir
22:21:09 <peter1138> Server list doesn't work!
22:27:00 *** tokai has quit IRC (Ping timeout: 480 seconds)
22:39:40 <truebrain> Wtf?! Unacceptable!
22:39:41 <andythenorth> I wrote a sprite resolver just now ๐Ÿ˜›
22:39:45 <andythenorth> tick that off
22:39:51 <andythenorth> and I made "new stations"
22:40:00 <andythenorth> mine are in python
22:40:47 <andythenorth> oof sleep must
22:40:51 <andythenorth> lame
22:44:25 <_pruple> v