IRC logs for #openttd on OFTC at 2025-09-24
            
00:43:39 *** lobster has quit IRC (Ping timeout: 480 seconds)
00:49:33 *** lobster has joined #openttd
01:00:26 <_jgr_> On the Hungarian FIRS bug, it looks to me like the issue was in the choice list handling in TranslateTTDPatchCodes
01:03:23 <_jgr_> It appears to be another 'helpful implicit conversion leads to dangling reference' type problem
01:04:23 <_jgr_> In any case it's already been tidied up
01:34:03 *** firepup has quit IRC (Quit: Going down with the ship)
02:06:12 *** Wormnest has quit IRC (Quit: Leaving)
02:54:51 *** Flygon has joined #openttd
03:00:06 *** herms has quit IRC (Quit: bye)
03:04:02 *** herms has joined #openttd
03:18:37 *** felix has quit IRC ()
03:22:26 *** felix has joined #openttd
04:04:28 *** keikoz has joined #openttd
04:31:33 *** Extrems` has joined #openttd
04:32:16 *** Extrems has quit IRC (Ping timeout: 480 seconds)
04:32:16 *** Extrems` is now known as Extrems
04:38:00 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/bec4e71d53fe6bd638aeecfd97f0732dc6287270
04:38:01 <DorpsGek> - Update: Translations from eints (by translators)
05:33:47 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
05:33:48 *** WormnestAndroid has joined #openttd
05:33:53 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
05:33:54 *** WormnestAndroid has joined #openttd
05:33:57 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
05:33:58 *** WormnestAndroid has joined #openttd
06:32:55 *** wallabra has quit IRC ()
06:37:45 *** wallabra has joined #openttd
08:20:15 *** dh1 has joined #openttd
08:38:39 *** Smedles has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
08:39:56 *** Smedles has joined #openttd
09:20:39 *** Flygon has quit IRC (Remote host closed the connection)
09:20:44 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
09:32:56 *** dh1 has joined #openttd
10:07:49 *** toktik is now known as Guest27235
10:07:56 *** toktik has joined #openttd
10:11:32 *** Guest27235 has quit IRC (Remote host closed the connection)
10:54:26 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
11:34:01 <peter1138> https://sfba.social/@drahardja/115256685383699813
11:51:41 <DorpsGek> [OpenTTD/nml] Rito13 updated pull request #387: Feature: operations on arrays https://github.com/OpenTTD/nml/pull/387
12:01:17 <kuhnovic> peter1138: Drop it like it's hot!
12:17:52 <peter1138> I wish there was a better way to have containers of variable-but-common types than std::unique_ptr.
12:18:18 <LordAro> memset
12:18:44 <peter1138> std::variant, almost, but you'd need visit each type instead of using virtual methods of the common base type.
12:19:00 <peter1138> Yeah, switching to C would allow all sorts of things.
12:24:36 <peter1138> Or assembly.
12:27:36 <peter1138> Hmm, how do you de-authorise player from joining a company?
12:31:07 <peter1138> +a
12:41:23 <talltyler> New disaster that takes out nearby vehicles? 😄
12:49:55 <peter1138> "Unidentified Flying Battery"
13:06:55 <peter1138> How do you make a button look pressed when it disappears immediately... :o
13:11:45 <peter1138> This is commonly handled by having buttons respond to buttons being released instead of being lowered.
13:28:29 <peter1138> Hmm, maybe I could just have one class but with a variant inside it.
13:45:19 <peter1138> Code is slightly more complex though.
13:50:03 <xarick> I can't build openttd with clang again 🙁
13:50:44 <xarick> the manifest file
13:51:59 <_glx_> tried clean and rebuild ?
13:52:36 <_glx_> maybe also clear cmake cache
14:04:13 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1420410499962507345/image.png?ex=68d54bdd&is=68d3fa5d&hm=bdb390481fe756e40cbbbce14d676f1854f94098918a745797f481b9290a96e3&
14:04:13 <xarick> just did
14:04:29 <xarick> where is the manifest file,
14:05:34 <xarick> tells me to use sxstrace.exe
14:05:37 <DorpsGek> [OpenTTD/nml] Rito13 updated pull request #389: Codefix: Fix typos and grammar errors https://github.com/OpenTTD/nml/pull/389
14:06:56 <_glx_> manifest should be inside the exe
14:09:33 <_glx_> and in openttd repo it's in `os\windows`
14:17:41 <_glx_> also it works for me
14:18:24 <xarick> requestedExecutionLevel
14:20:12 *** rightnut_ has joined #openttd
14:20:13 <_glx_> last change to manifest was 2 years ago
14:20:50 <xarick> Falha ao gerar o contexto de ativação para "E:\OpenTTD Visual Studio\SamuXarick\OpenTTD\out\install\x64-Clang-Release\openttd.exe". Erro no ficheiro de manifesto ou de política E:\OpenTTD Visual Studio\SamuXarick\OpenTTD\out\install\x64-Clang-Release\openttd.exe na linha 6. Falta o atributo level necessário no elemento requestedExecutionLevel.
14:21:51 <xarick> line 6 -> <requestedExecutionLevel level="asInvoker" uiAccess="false" />
14:24:27 *** felix_ has joined #openttd
14:24:37 *** dwfreed_ has joined #openttd
14:25:59 *** izhirahider_ has joined #openttd
14:26:04 *** felix has quit IRC (resistance.oftc.net larich.oftc.net)
14:26:04 *** izhirahider has quit IRC (resistance.oftc.net larich.oftc.net)
14:26:04 *** dwfreed has quit IRC (resistance.oftc.net larich.oftc.net)
14:26:04 *** rightnut has quit IRC (resistance.oftc.net larich.oftc.net)
14:26:04 *** greeter has quit IRC (resistance.oftc.net larich.oftc.net)
14:26:04 *** izhirahider_ is now known as izhirahider
14:26:04 *** rightnut_ is now known as rightnut
14:27:37 *** greeter has joined #openttd
14:30:50 <_glx_> looks like <https://github.com/llvm/llvm-project/issues/120394>, but it seems to not affect me
14:33:07 *** rightnut_ has joined #openttd
14:33:21 *** rightnut has quit IRC (Read error: Connection reset by peer)
14:33:21 *** rightnut_ is now known as rightnut
14:34:05 *** Smedles_ has joined #openttd
14:35:00 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1420418246175096922/message.txt?ex=68d55313&is=68d40193&hm=8f55ab82d162b8cda147706df688b73d306b9d49307217a921aadf48940395f1&
14:37:17 *** Smedles has quit IRC (Ping timeout: 480 seconds)
14:37:58 *** dwfreed has joined #openttd
14:39:23 *** izhirahider has quit IRC (resistance.oftc.net reflection.oftc.net)
14:39:23 *** dwfreed_ has quit IRC (resistance.oftc.net reflection.oftc.net)
14:39:24 *** felix_ has quit IRC (resistance.oftc.net reflection.oftc.net)
14:40:08 *** izhirahider has joined #openttd
14:40:27 *** felix_ has joined #openttd
14:40:37 *** felix has joined #openttd
14:44:51 *** felix_ has quit IRC (Ping timeout: 482 seconds)
14:52:42 *** izhirahider has quit IRC (Read error: Connection reset by peer)
14:52:52 *** izhirahider has joined #openttd
14:59:39 <xarick> gonna try delete vcpkg
15:00:08 <_glx_> it's not related to vcpkg, it's an issue with clang itself
15:02:20 <xarick> not the first time deleting it and downloading it again has solved me some issues
15:03:35 *** dwfreed_ has joined #openttd
15:05:10 *** dwfreed has quit IRC (Quit: ZNC - http://znc.in)
15:05:17 *** gelignite has joined #openttd
15:07:03 <xarick> it seems to do everything fine... https://gist.github.com/SamuXarick/c6a96c738621fe056c8e880ece6d067a
15:07:06 *** dwfreed_ is now known as dwfreed
15:07:08 <xarick> but can't launch
15:23:21 <_glx_> anyway `clang-cl` is not the default compiler, so switch back to `cl` until the compiler is fixed
15:37:05 <_glx_> oh what's your build type ?
15:43:15 *** Smedles has joined #openttd
15:43:27 *** Smedles_ has quit IRC (Ping timeout: 480 seconds)
15:43:50 <_glx_> if I understand <https://gitlab.kitware.com/cmake/cmake/-/issues/27064> it's related to `/INCREMENTAL` and this flag is disabled for `Release` and `MinSizeRel`
15:44:17 <_glx_> `Debug` and `RelWithDebInfo` are not affected
15:44:45 <_glx_> and I just tested clang in `Release` and I get the error you have
15:47:02 <_glx_> so don't use `clang-cl` compiler or don't use `Release` or `MinSizeRel` build type
16:01:52 <DorpsGek> [OpenTTD/OpenTTD] Rito13 opened issue #14654: [Bug]: NewGRF evaluation order depends on type of error it will throw. (nml#380) https://github.com/OpenTTD/OpenTTD/issues/14654
16:21:43 <xarick> build type is RelWithDebInfo
16:29:38 <_glx_> RelWithDebInfo is not affected by the issue in my tests, only Release
16:36:08 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #14654: [Bug]: NewGRF evaluation order depends on type of error it will throw. (nml#380) https://github.com/OpenTTD/OpenTTD/issues/14654
16:36:51 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #14654: [Bug]: NewGRF evaluation order depends on type of error it will throw. (nml#380) https://github.com/OpenTTD/OpenTTD/issues/14654
16:38:35 <peter1138> Silly enter key.
16:42:21 *** Flygon has joined #openttd
16:42:49 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #14654: [Bug]: NewGRF evaluation order depends on type of error it will throw. (nml#380) https://github.com/OpenTTD/OpenTTD/issues/14654
16:46:00 <DorpsGek> [OpenTTD/OpenTTD] Rito13 commented on issue #14654: [Bug]: NewGRF evaluation order depends on type of error it will throw. (nml#380) https://github.com/OpenTTD/OpenTTD/issues/14654
16:47:34 *** gelignite is now known as Guest27545
16:47:34 *** Guest27545 has quit IRC (Read error: Connection reset by peer)
16:47:37 *** gelignite has joined #openttd
16:48:12 <peter1138> Hmm.
16:49:35 <peter1138> Oh, it's not doing it twice, it's only hitting the fatal error in GLS_ACTIVATION.
16:50:13 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #14654: [Bug]: NewGRF evaluation order depends on type of error it will throw. (nml#380) https://github.com/OpenTTD/OpenTTD/issues/14654
16:59:30 <_glx_> it's so painful to read NFO coming from NML
17:02:47 <peter1138> For ERROR.grf, line 42 is reached which produces the error. The text is the same so it's hard to tell.
17:03:26 <peter1138> For FATAL.grf, line 42 is reached during reservation, and line 37 is hit during activation.
17:03:29 <peter1138> Hmm
17:04:24 <peter1138> Was there something in the spec about skipping fatal errors...
17:04:40 <_glx_> anyway I can see a check for PASS being defined, and increase a counter if it's the case, then later the grf seem to define PASS
17:05:09 <_glx_> so depending on stage counter will show different result
17:07:38 <_glx_> and the same with LEU_
17:07:47 <peter1138> I see.
17:08:20 <peter1138> Line 37 is only hit in Activation.
17:08:25 <peter1138> Line 42 is hit in Reservation.
17:08:34 <DorpsGek> [OpenTTD/OpenTTD] Rito13 commented on issue #14654: [Bug]: NewGRF evaluation order depends on type of error it will throw. (nml#380) https://github.com/OpenTTD/OpenTTD/issues/14654
17:08:39 <peter1138> So line 42 sets the error, as its the first error encountered.
17:08:46 <_glx_> so with fatal it stops, but with error it continues, adds the cargos and trigger warning in later stage
17:09:08 <peter1138> Then in activation, line 37 gets an error, which for ERROR.grf is ignored because an error is already set.
17:09:33 <peter1138> For FATAL.grf, the fatal error supercedes the non-fatal error, so you see the replaced error from line 37 instead.
17:09:58 <peter1138> Perhaps showing multiple errors would make it clearer.
17:10:31 <peter1138> I had a patch for that once but it was in the C-days and it was considered unnecessary as it needed manual arrays or linked-lists...
17:10:59 <_glx_> yup full nml source helps, and confirm my understanding of the nfo 🙂
17:13:25 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #14654: [Bug]: NewGRF evaluation order depends on type of error it will throw. (nml#380) https://github.com/OpenTTD/OpenTTD/issues/14654
17:15:37 <peter1138> What a time.
17:15:48 <_glx_> anyway the nml seems to do nasty things 🙂
17:16:11 <peter1138> Probably, it's NML which people start treating as a programming language.
17:16:51 <_glx_> define a cargo then immediately disable it
17:22:15 <andythenorth[d]> NML may have overstepped the line in a few places 🙂
17:22:19 <andythenorth[d]> with dubious magic
17:23:54 <_glx_> I'm not talking about nmlc output here 😉
17:24:48 <jessicathegunlady> ~~gamescript nml support when~~
17:26:59 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
17:27:18 *** WormnestAndroid has joined #openttd
17:28:18 *** rito12_51026 has joined #openttd
17:28:18 <rito12_51026> _glx_: If I put cargo in an if bolck then custom icon does not work, e.g. it is replaced with the default goods icon.
17:33:52 <andythenorth[d]> Do I want to ask what the expected outcome is?
17:39:16 <rito12_51026> The expected outcome is to turn off the grf before it breaks ones loaded before it.
17:43:08 <andythenorth[d]> by detecting content in prior grfs?
17:47:10 <rito12_51026> Yep, I have a list of 227 cargo labels used in all grfs available on BaNaNaS
17:52:00 *** lobstaroooo has joined #openttd
17:54:17 <andythenorth[d]> and you want to disable the whole grf, not the content?
17:54:41 <andythenorth[d]> I'm assuming you found this already https://newgrf-specs.tt-wiki.net/wiki/GrfLoadingStages
17:55:20 *** Flygon has quit IRC (Remote host closed the connection)
17:58:22 <rito12_51026> andythenorth[d]: No, I have not
18:03:28 <rito12_51026> What would be the output of action7 for testing if the
18:03:28 <rito12_51026> current(the one calling the action7) grf is loaded?
18:28:15 *** lobstaroooo has quit IRC (Remote host closed the connection)
18:58:50 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #14640: Codechange: Simplified structure of yapf_ship_regions https://github.com/OpenTTD/OpenTTD/pull/14640#pullrequestreview-3264270683
19:10:13 <andythenorth[d]> with FIRS I just maintain a list of grfs to disable against
19:10:25 <andythenorth[d]> https://github.com/andythenorth/firs/blob/main/src/incompatible_grfs.py
19:11:02 <andythenorth[d]> it might be possible to do reliably with action 9....but it's possibly quite faceted
19:11:24 <andythenorth[d]> detecting content in a grf, then disabling a grf....is more complex
19:14:59 *** dh1 has joined #openttd
19:20:32 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #14655: Fix #14549: changing interface scale could underflow map zoom https://github.com/OpenTTD/OpenTTD/pull/14655
19:34:04 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic merged pull request #14640: Codechange: Simplified structure of yapf_ship_regions https://github.com/OpenTTD/OpenTTD/pull/14640
19:58:16 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
20:04:22 *** WormnestAndroid has joined #openttd
20:05:06 <andythenorth[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1420501317628985415/image.png?ex=68d5a071&is=68d44ef1&hm=08927a58e1d6bb7193dc4d1a995fb2fe727acb3326d8499eff9d0f266e78b2dd&
20:05:06 <andythenorth[d]> what can I name the large logo livery?
20:05:30 <andythenorth[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1420501419756359680/image.png?ex=68d5a08a&is=68d44f0a&hm=a711318c4901bcfeefb50151ebd24f440e3cbcdf67b9cb21175aef38fd533788&
20:05:30 <andythenorth[d]> I need to name the BR large logo livery
20:05:48 <andythenorth[d]> I wanted to call it "Age of the Train", but unfortunate Jimmy Saville connection
20:06:48 <andythenorth[d]> Supergraphic
20:31:20 <andythenorth[d]> wrong channel andythenorth[d] 😛
20:36:25 <jessicathegunlady> Nah, we're developing a mechanic where you literally just play as BR, and there's a random disaster where you get privatised.
20:38:24 *** gelignite has quit IRC ()
20:57:32 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
20:58:47 *** WormnestAndroid has joined #openttd
21:06:02 *** tokai|noir has joined #openttd
21:06:02 *** ChanServ sets mode: +v tokai|noir
21:13:05 *** tokai has quit IRC (Ping timeout: 480 seconds)
21:22:25 <peter1138> 18:39 < rito12_51026> The expected outcome is to turn off the grf before it breaks ones loaded before it.
21:22:40 <peter1138> How does it break things that are already loaded?
21:23:32 <peter1138> Hmm, oh of course, I'm too use to dealing with railtypes and roadtypes recently :)
21:35:31 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:38:55 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #14654: [Bug]: NewGRF evaluation order depends on type of error it will throw. (nml#380) https://github.com/OpenTTD/OpenTTD/issues/14654
21:44:45 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14628: Fix 3ac1a2f1e4: Game crash due to invalid vehicle type information. https://github.com/OpenTTD/OpenTTD/pull/14628
21:45:21 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14608: Fix #14607: Bridge-over-station discrepancy depending on build order. https://github.com/OpenTTD/OpenTTD/pull/14608
21:45:24 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed issue #14607: [Bug]: Can't rebuild NewGRF station under a bridge https://github.com/OpenTTD/OpenTTD/issues/14607
22:01:11 *** Wormnest has joined #openttd
22:03:38 <truebrain> Hmm, do we want to make a money grab? We got asked if we are willing to sell openttd.org by some kind of broker 😛
22:04:09 <jessicathegunlady> Oh hell yeah, I love money.
22:04:44 <jessicathegunlady> ~~divide the cash up per-commit by the devs, I'm sure nothing will go wrong~~
22:04:56 <truebrain> Why divide? 😛
22:05:14 <jessicathegunlady> Pffff-
22:05:29 <jessicathegunlady> ~~what, multiply the cash per-dev?~~
22:12:46 *** zanooda2000 has quit IRC (Quit: User went offline on Discord a while ago)
22:17:30 <dh1> openttdcoin
22:18:00 <dh1> instead of solving complex algorithm you have to deliver goods to prudinhattan
22:19:46 <jessicathegunlady> lmao
22:48:33 *** Artea has joined #openttd
23:47:45 *** Smedles_ has joined #openttd
23:55:07 *** Smedles has quit IRC (Ping timeout: 480 seconds)