IRC logs for #openttd on OFTC at 2023-09-28
โด go to previous day
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: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: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:48:29 <peter1138> Do we not have a simple version check property in Action 8?
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:30 <andythenorth> no internet before having coffee?
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:49 <andythenorth> I actually like my job too much
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
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? ๐
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:46:04 <peter1138> Instead I have a mug of 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: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:10 <talltyler> I still get made fun of when I say โhot teaโ and people go โโฆas opposed toโฆ?โ If only they knew. ๐ฌ
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:59 <peter1138> There is where andy tries to develop some hack to defeat daylength...
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: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: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.
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:50:29 <andythenorth> they're almost like constants eh
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:14 <andythenorth> in my compile I need to distinguish base set and grf sprites
17:27:23 <andythenorth> are base set sprites realsprites?
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:48 <andythenorth> just need a name in python to make them obvious ๐
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: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:33:40 *** gelignite has quit IRC (Quit: Stay safe!)
19:35:13 <andythenorth> diff is unpretty ๐
19:35:41 <andythenorth> I'll do a single spriteset for the station sprites next
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: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: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: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:51 <andythenorth> and I made "new stations"
22:40:00 <andythenorth> mine are in python
continue to next day โต