Config
Log for #openttd on 6th March 2026:
Times are UTC Toggle Colours
00:52:42  <goddess_ishtar> how does OpenTTD handle different `FFnnnnnn` grf IDs? the NewGRF spec wiki only says the range is reserved for internal use by the game, but which ones are used and what meaning do they have?
00:53:06  <goddess_ishtar> okay some of them are for base graphics
00:55:13  <peter1138> Base graphcs are not NewGRFs.
00:55:38  <peter1138> +i
00:56:51  <goddess_ishtar> peter1138: they're listed under the special GRFID table
00:57:06  <goddess_ishtar> in the FF "OT" range
00:57:42  <peter1138> The only file that is always loaded is openttd.grf, which is FFFFFFFE.
00:59:55  <peter1138> orig_extra.grf is FF "OTT", but that's used only for the original graphics basesets.
01:00:04  <peter1138> The rest is all very out of date information.
01:00:36  <goddess_ishtar> I'm just asking if I can use IDs in the `FF` something range for indicating folders
01:00:55  <peter1138> I would recommend not using GRF IDs for something that isn't a GRF file.
01:02:59  <goddess_ishtar> well, the idea is the same system which would enable the user to create folders would also enable nesting of any given NewGRF files
01:11:04  <goddess_ishtar> the alternate way of doing it would be to add the functionality to some other GRFContainer class which both real GRFs and folders inherit and only the former would get GRFIDs? but we want folders to behave largely like any other grf (being saved into save games and grf presets)
01:11:06  <goddess_ishtar> I'm
01:11:11  <goddess_ishtar> probably going to have to do that
01:11:13  <goddess_ishtar> sigh
01:12:06  <goddess_ishtar> something tiny and technically unrelated but probably necessary for UX would be to filter the unloaded GRFs by tag
01:13:15  <goddess_ishtar> I'll probably do that PR first
01:15:49  <goddess_ishtar> ideally this shit would go straight into the Action14 but I want to use the preexisting BaNaNaS classification info which... complicates things
01:56:44  *** Flygon has quit IRC
02:39:34  *** Wormnest has quit IRC
04:59:17  *** Zathras_11 has joined #openttd
05:01:13  <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/b5489e9b90027fefcfdd7440996a6589fcc810e1
05:01:14  <DorpsGek>   - Update: Translations from eints (by translators)
06:40:25  *** Zathras_4 has joined #openttd
07:36:51  <andythenorth> https://usercontent.irccloud-cdn.com/file/JwRDeJ9F/image.png
07:37:06  <andythenorth> both train 4 and train 5 look good, but not sure I'd keep both
07:38:33  <andythenorth> looking at train 6 with fresh eyes also, it's not my favourite :P
07:42:44  <andythenorth> hmm https://usercontent.irccloud-cdn.com/file/BwcZ3RVp/image.png
07:43:50  <andythenorth> nah
08:15:59  <telumendur> andythenorth: The grey pixels you used on the cab to suggest the upward swoosh work well enough in my eyes. But up to you of course! As long as you're happy with it, we'll be as well 🙂
08:35:00  <andythenorth> the grey doors are realistic IRL, but they're making it gloomy
08:37:16  <andythenorth> probably better overall https://usercontent.irccloud-cdn.com/file/RUYCUBBF/image.png
08:40:32  <andythenorth> quite like this https://usercontent.irccloud-cdn.com/file/hQbhXiSR/image.png
08:41:35  <andythenorth> https://usercontent.irccloud-cdn.com/file/TU8d8mT4/image.png
08:41:48  <andythenorth> ok, probably enough pixels in the channel for now :|
08:44:32  <peter1138> I see only URLs.
08:46:23  <telumendur> Looking great!
08:52:12  *** Tirili has joined #openttd
09:19:09  <andythenorth> peter1138: I have this weird irccloud fake discord thing
09:19:23  <andythenorth> I could post a screenshot, but you'2026-03-06T14:22:31  <xarick> How do I manually get track of a vehicle age?
14:25:57  <xarick> when the calendar time is frozen
14:37:03  <_glx_> age should be frozen in this case
14:38:20  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #15363: Codechange: make NetworkJoinStatus a scoped enum and remove unused value/strings https://github.com/OpenTTD/OpenTTD/pull/15363
14:40:22  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #15367: Codechange: make StationNaming a scoped enum and add some documentation https://github.com/OpenTTD/OpenTTD/pull/15367
14:49:33  <andythenorth> these are about done I think https://usercontent.irccloud-cdn.com/file/0Q0uF8Mw/image.png
14:49:43  <andythenorth> the window band .... I don't like the doors still
14:55:15  <talltyler> Black doors maybe?
14:56:34  <talltyler> These are very nice pixels though 🙂
14:58:22  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #15367: Codechange: make StationNaming a scoped enum and add some documentation https://github.com/OpenTTD/OpenTTD/pull/15367#pullrequestreview-3904204866
15:02:11  <telumendur> talltyler: The finest pixels in Britain!
15:07:54  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1479495747660550226/image.png?ex=69ac3f49&is=69aaedc9&hm=52489c1a1c4794569ac94d25b2c629a837011b91fb5f6525c56f06c645daf2f3&
15:07:54  <xarick> need a mechanism that won't rely on AIVehicle.GetAge
15:09:16  <andythenorth> could darken the actual windows on the cc band livery (train 6) https://usercontent.irccloud-cdn.com/file/aUdRUCuL/image.png
15:09:28  <_glx_> profit check is done via economy age
15:10:48  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #15371: Codechange: make GrfLoadingStage a scoped enum and remove unused GLS_END https://github.com/OpenTTD/OpenTTD/pull/15371
15:13:59  <xarick> ehmm... you guys really need to make an ai to understand the problem
15:14:57  <xarick> sorry, that's mean
15:15:57  <_glx_> calendar age doesn't progress when calendar is frozen
15:17:48  <_glx_> calendar age is increased on new calendar day, econmy age is increased on new economy day
15:18:49  <_glx_> anything related to money is economy
15:20:02  <xarick> how would you rewrite wrightai to work on a frozen calendar
15:20:22  <_glx_> needs API additions first
15:21:09  <_glx_> since API doesn't really support wallclock yet
15:21:25  <_glx_> and frozen is a feature of wallclock
15:22:40  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #15367: Codechange: make StationNaming a scoped enum and add some documentation https://github.com/OpenTTD/OpenTTD/pull/15367
15:24:49  <xarick> gonna try use this <https://docs.openttd.org/ai-api/classAIEventVehicleUnprofitable>
15:25:18  <xarick> not quite the same, but at least it won't explode in complexity
15:28:06  <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #15371: Codechange: make GrfLoadingStage a scoped enum and remove unused GLS_END https://github.com/OpenTTD/OpenTTD/pull/15371#pullrequestreview-3904389405
15:43:54  <xarick> somebody crashed trains on my game
15:44:01  <xarick> inb4 desync?
15:44:35  <xarick> no desync, must be a windows user like me
15:57:41  <_glx_> maybe we could warn about possible issues when using wallclock with older scripts <https://gist.github.com/glx22/f79aeff7f76f00105321769019a4b4b8>
16:00:50  <peter1138> Heh, we tried once and cocked it iup :)
16:00:52  <peter1138> -i
16:04:31  *** gelignite has joined #openttd
16:29:08  *** tokai has joined #openttd
16:29:08  *** ChanServ sets mode: +v tokai
16:31:31  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #15371: Codechange: make GrfLoadingStage a scoped enum and remove unused GLS_END https://github.com/OpenTTD/OpenTTD/pull/15371
16:53:25  <DorpsGek> [OpenTTD/OpenTTD] glx22 updated pull request #13473: Change: [Script] Replace ScriptDate with ScriptEconomyDate and ScriptCalendarDate https://github.com/OpenTTD/OpenTTD/pull/13473
17:03:40  <xarick> holy, you've been busy
17:12:45  <DorpsGek> [OpenTTD/OpenTTD] glx22 updated pull request #13473: Change: [Script] Replace ScriptDate with ScriptEconomyDate and ScriptCalendarDate https://github.com/OpenTTD/OpenTTD/pull/13473
17:17:39  *** toktik has quit IRC
17:20:10  *** toktik has joined #openttd
17:27:21  *** toktik has quit IRC
17:27:38  *** toktik has joined #openttd
17:37:17  <_glx_> hmm doxygen is annoying
17:41:43  *** toktik has quit IRC
17:42:19  <_glx_> for some reasons it doesn't see a `#ifndef DOXYGEN_API`
17:47:30  *** toktik has joined #openttd
17:52:20  <jfkuayue> init(birth)
17:52:20  <jfkuayue> today = getdate()
17:52:20  <jfkuayue> birthday = (month(today), day(today))
17:52:20  <jfkuayue> age = 0
17:52:21  <jfkuayue> while (true):
17:52:22  <jfkuayue> yesterday = today
17:52:22  <jfkuayue> today = getdate()
17:52:24  <jfkuayue> if today != yesterday:
17:52:24  <jfkuayue> if (month(today), day(today)) == birthday:
17:52:26  <jfkuayue> age++
17:52:26  <jfkuayue> elif birthday == (2, 29):
17:52:28  <jfkuayue> if (month(today), day(today)) == (3, 1) && day(yesterday) != 29:
17:52:28  <jfkuayue> age++
17:52:30  <jfkuayue> sleep()
17:52:30  <jfkuayue> ```???
17:52:53  <dwfreed> please consider not pasting large code blocks in discord, because you flood IRC
17:53:05  <jfkuayue> sorry
17:54:25  <jfkuayue> is this "large" though
17:54:42  <dwfreed> IRC etiquette is anything over 3 lines goes in a pastebin
17:55:11  *** dwfreed[d] has joined #openttd
17:55:11  <dwfreed[d]> On mobile, your code block is like half my screen
17:58:45  <LordAro> clearly TB should never have implemented the rate limiter :p
17:59:04  <dwfreed> would need 30 lines to get flooded off
17:59:17  <LordAro> that high?
17:59:18  <LordAro> huh
18:00:51  <jfkuayue> what is a TB?
18:01:13  <dwfreed> True Brain, the guy who wrote the discord bridge
18:03:06  <jfkuayue> Okay, I might know the problem. IRC does not support break of lines?
18:05:16  <peter1138> The problem is you posted 15 lines of ... what?
18:05:48  <jfkuayue> isn't this similar to "lunch?" talk
18:05:50  <peter1138> If there was context and relevance it would be... well.
18:06:29  <peter1138> No it's not.
18:06:50  <peter1138> Not unless andythenorth starts to list all the minor ingredients in his macaroni cheese.
18:07:21  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #15372: Codechange: replace function with constant https://github.com/OpenTTD/OpenTTD/pull/15372
18:07:33  <peter1138> dwfreed[d], ew, dirty.
18:07:37  <andythenorth> social speech is social speech
18:07:51  <andythenorth> it doesn't create a general rule about what's acceptable content
18:08:15  <dwfreed> peter1138: does it have ham in it?
18:08:23  * dwfreed ducks
18:10:26  <peter1138> Quack?
18:11:09  <andythenorth> moof
18:11:36  <andythenorth> moved some more pixles around https://usercontent.irccloud-cdn.com/file/XVBfcIf7/image.png
18:11:39  <andythenorth> such pixles
18:11:52  <dwfreed> peter1138: https://www.youtube.com/watch?v=A-RfHC91Ewc
18:24:24  <_glx_> ok found the issue with doxygen
18:31:58  <DorpsGek> [OpenTTD/OpenTTD] glx22 updated pull request #13473: Change: [Script] Replace ScriptDate with ScriptEconomyDate and ScriptCalendarDate https://github.com/OpenTTD/OpenTTD/pull/13473
18:36:46  <_glx_> now the doxygen fails for the correct reason
18:41:49  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #15373: Codechange: document some network core types/functions https://github.com/OpenTTD/OpenTTD/pull/15373
18:42:39  <andythenorth> added back the simple CC2 livery (train 3) https://usercontent.irccloud-cdn.com/file/3gNGAY33/image.png
18:43:18  <andythenorth> accidentally can be mixed and matched with train 1 livery https://usercontent.irccloud-cdn.com/file/zfr2Z0WF/image.png
18:43:59  <andythenorth> also https://usercontent.irccloud-cdn.com/file/FiXhLBLo/image.png
18:45:11  <andythenorth> or https://usercontent.irccloud-cdn.com/file/xQQ8vuSs/image.png
18:45:58  <andythenorth> this one doesn't mix with anything, and I don't really like it much, but eh :D https://usercontent.irccloud-cdn.com/file/tYBcBFX3/image.png
18:46:02  <andythenorth> probably include it anyway
18:58:15  <xarick> do oil rigs spawn in >= 1960 or > 1960?
19:24:38  <talltyler> I like the LNER window band livery 🙂
19:26:45  <telumendur> talltyler: That are ~~dozens~~ at least two of us, then! Please leave it in, Andy 🥺
19:30:08  <andythenorth> Yeah it’s in
19:37:23  <DorpsGek> [OpenTTD/team] arieroos opened issue #693: [af_ZA] Translator access request https://github.com/OpenTTD/team/issues/693
19:47:18  <peter1138> https://merveilles.town/@neauoire/116183182133812941
20:02:53  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #15374: Codechange: document functions of GrfActionHandler https://github.com/OpenTTD/OpenTTD/pull/15374
20:03:28  <andythenorth> _lost in mac forums_
20:03:45  <andythenorth> technology enthusiasts are weird
20:04:24  <andythenorth> Does everyone here have 48GB or more?
20:04:45  <andythenorth> Apparently that’s essential now or something
20:05:32  <andythenorth> Especially for inportant pro mac hardware worfkflows like reading reddit in opera
20:06:09  <andythenorth> And running you own LLMs, whilst plugging in USB-A devices
20:06:19  <andythenorth> Weird folks, I like trains
20:06:33  <LordAro> just 32G here :(
20:06:49  <LordAro> not getting any more than that any time soon
20:07:22  <andythenorth> Apparently 8GB is unusable and DOA in the new cheap mac thingy “and it’s just a lame phone chip”
20:07:34  <andythenorth> Phone chip is faster than my old i9
20:10:44  *** eed_edward has joined #openttd
20:10:44  <eed_edward> having 48GB would allow You to make 32bit graphics!
20:11:01  <andythenorth> 8GB is about the amount of memory actually used of my 48GB
20:11:23  <andythenorth> Rest is just caching disk files
20:11:42  <andythenorth> Although I only have 1 Chrome tab ooedn
20:11:52  <andythenorth> Open *
20:12:08  <peter1138>                total        used        free      shared  buff/cache   available
20:12:11  <peter1138> Mem:             67G         54G        7.8G        2.8G        8.6G         12G
20:12:14  <peter1138> Hm
20:12:29  <peter1138> Wrong type of G I guess.
20:14:49  <andythenorth> Probably all just chrome eh
20:15:04  <andythenorth> And all your local LLMs obvs
20:15:28  <squirejames> I mean I do have 48gb but, only because my brother upgraded his PC and had some spare DIMMs kicking about. Seemed a shame not to use them
20:15:53  <squirejames> and, much like yourself, I think the only time even half is used is when I make things in AfterFC
20:18:18  <peter1138> I guess you're the sort of person who... closes tabs.
20:23:30  <andythenorth> “Obsesssively”
20:28:06  <DorpsGek> [OpenTTD/team] glx22 commented on issue #693: [af_ZA] Translator access request https://github.com/OpenTTD/team/issues/693
20:28:40  <DorpsGek> [OpenTTD/team] glx22 commented on issue #692: [cs_CZ] Translator access request https://github.com/OpenTTD/team/issues/692
20:43:36  <goddess_ishtar> andythenorth: nobody will ever need more than 640kb of RAM
20:48:21  *** wensimehrp has joined #openttd
20:48:21  <wensimehrp> my app starts and it consumes ~50mb
20:52:37  <andythenorth> “Most modern RAM use is just ad tracking js in Chrome”
20:52:46  <andythenorth> Discuss 😛
20:57:26  <DorpsGek> [OpenTTD/OpenTTD] glx22 updated pull request #13473: Change: [Script] Replace ScriptDate with ScriptEconomyDate and ScriptCalendarDate https://github.com/OpenTTD/OpenTTD/pull/13473
20:57:36  <eed_edward> Remember some thread that blocking all ads on router in company reduced network load by half
20:58:26  <DorpsGek> [OpenTTD/OpenTTD] glx22 updated pull request #13473: Change: [Script] Replace ScriptDate with ScriptEconomyDate and ScriptCalendarDate https://github.com/OpenTTD/OpenTTD/pull/13473
21:11:56  <wensimehrp> total        used        free      shared  buff/cache   available
21:11:56  <wensimehrp> Mem:            62Gi        12Gi        32Gi       1.1Gi        18Gi        49Gi
21:11:56  <wensimehrp> Swap:           31Gi        86Mi        31Gi
21:14:43  <andythenorth> “Mostly Chrome”
21:15:33  <peter1138> 32GB swap lolz
21:16:22  *** Flygon has joined #openttd
21:19:39  <dwfreed> yeah, that's way too much swap
21:31:13  <peter1138> Do I still have this source code stuff...
21:36:19  <andythenorth> OpenTTD source?
21:36:30  <andythenorth> Probably in svn…
23:43:33  *** gelignite has quit IRC

Powered by YARRSTE version: svn-trunk