IRC logs for #openttd on OFTC at 2024-12-12
            
00:05:36 <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #13166: Codechange: Return pair from instead of optional out parameter. https://github.com/OpenTTD/OpenTTD/pull/13166#pullrequestreview-2497281610
00:56:59 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #12986: [Bug]: Setting house property 16 to > 0 prevents callback 1B from running at the start of the game. https://github.com/OpenTTD/OpenTTD/issues/12986
01:44:48 *** greeter has quit IRC (Remote host closed the connection)
01:51:01 *** greeter has joined #openttd
02:35:23 *** Wormnest has quit IRC (Quit: Leaving)
03:00:05 *** herms has quit IRC (Quit: bye)
03:03:14 *** herms has joined #openttd
03:25:00 *** gnu_jj_ has joined #openttd
03:28:34 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
03:45:40 *** D-HUND has joined #openttd
03:49:01 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:49:22 *** keikoz has joined #openttd
05:24:01 *** debdog has joined #openttd
06:11:37 *** Flygon has joined #openttd
06:20:26 *** keikoz has quit IRC (Ping timeout: 480 seconds)
06:53:00 *** nielsm has joined #openttd
07:13:04 *** nielsm has quit IRC (Ping timeout: 480 seconds)
08:08:47 *** kuka_lie has joined #openttd
08:13:26 <andythenorth> is cat?
08:47:16 *** SigHunter has quit IRC ()
08:49:51 *** SigHunter has joined #openttd
08:57:34 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13166: Codechange: Return pair from instead of optional out parameter. https://github.com/OpenTTD/OpenTTD/pull/13166
09:15:12 <peter1138> Alright
09:17:20 <andythenorth> I merged some FIRS PRs
09:24:35 <LordAro> :o
09:25:40 <peter1138> Hmm, I wonder if I could/should move user badge-display configuration to settings.
09:27:36 <DorpsGek> [OpenTTD/OpenTTD] v1993 opened issue #13167: [Bug]: Scrolling map with scrollwheel/touchpad does not work https://github.com/OpenTTD/OpenTTD/issues/13167
09:34:34 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #13167: [Bug]: Scrolling map with scrollwheel/touchpad does not work https://github.com/OpenTTD/OpenTTD/issues/13167
09:49:31 *** blathijs has quit IRC (Ping timeout: 480 seconds)
10:18:36 <xarick> hi
12:20:18 *** kuka_lie has quit IRC (Ping timeout: 480 seconds)
12:33:33 *** kuka_lie has joined #openttd
12:59:03 <johnfranklin> andythenorth: Thank you very much!
13:00:42 <andythenorth> I don't know if I'm going to write Github Actions to validate these or not
13:01:07 <andythenorth> can't really keep accepting translation PRs without some automated QA
13:01:38 <johnfranklin> Oh, but why other languages are closed…
13:01:46 <andythenorth> outdated file format
13:11:18 <peter1138> Ini files eh
13:14:32 <andythenorth> xml?
13:15:22 <_glx_> andythenorth: I think the easiest action you can do is just to run Makefile, if file is properly formatted it should be fine
13:15:37 <andythenorth> yup, otherwise the build just fails
13:15:54 <andythenorth> I could add more asserts in the compile for recurring issues
13:17:16 <andythenorth> I guess if there were some translators who wanted to help...I'd be more likely to do it
13:17:33 <andythenorth> grf translation is a bit of a `$someone` thing right not
14:07:44 <DorpsGek> [OpenTTD/appstore-data] orudge commented on pull request #12: Feature: Add support for generating Windows Store listing data. https://github.com/OpenTTD/appstore-data/pull/12#pullrequestreview-2499747677
14:10:49 <DorpsGek> [OpenTTD/appstore-data] orudge commented on pull request #12: Feature: Add support for generating Windows Store listing data. https://github.com/OpenTTD/appstore-data/pull/12#pullrequestreview-2499758062
14:11:25 <DorpsGek> [OpenTTD/appstore-data] orudge commented on pull request #12: Feature: Add support for generating Windows Store listing data. https://github.com/OpenTTD/appstore-data/pull/12#pullrequestreview-2499760136
14:15:58 <DorpsGek> [OpenTTD/appstore-data] orudge commented on pull request #12: Feature: Add support for generating Windows Store listing data. https://github.com/OpenTTD/appstore-data/pull/12#pullrequestreview-2499783173
14:17:00 <DorpsGek> [OpenTTD/appstore-data] orudge updated pull request #12: Feature: Add support for generating Windows Store listing data. https://github.com/OpenTTD/appstore-data/pull/12
14:51:32 <soylent_cow[m]> I have a general question about city/town growth. How come some towns keep on growing into hundreds of thousands, and others stop at like 15000, even though things are being transported, and there seems to be enough space to expand?
15:00:01 <DorpsGek> [OpenTTD/appstore-data] TrueBrain commented on pull request #12: Feature: Add support for generating Windows Store listing data. https://github.com/OpenTTD/appstore-data/pull/12#pullrequestreview-2499925695
15:00:53 <DorpsGek> [OpenTTD/appstore-data] TrueBrain commented on pull request #12: Feature: Add support for generating Windows Store listing data. https://github.com/OpenTTD/appstore-data/pull/12#pullrequestreview-2499928282
15:02:02 <DorpsGek> [OpenTTD/appstore-data] TrueBrain commented on pull request #12: Feature: Add support for generating Windows Store listing data. https://github.com/OpenTTD/appstore-data/pull/12#pullrequestreview-2499931669
15:06:58 <truebrain> okay, it took longer than I want to admit before I realised why I didn't like that TODO 😛 My brain was faster than my thoughts, or something? 😛
15:11:54 <DorpsGek> [OpenTTD/appstore-data] TrueBrain commented on pull request #12: Feature: Add support for generating Windows Store listing data. https://github.com/OpenTTD/appstore-data/pull/12#pullrequestreview-2499958823
15:12:01 <truebrain> sorry orudge; I haven't actually checked the csv file before 😛
15:18:24 *** nielsm has joined #openttd
15:28:26 *** nielsm has quit IRC (Ping timeout: 480 seconds)
15:33:05 *** blathijs has joined #openttd
15:33:05 *** ChanServ sets mode: +o blathijs
16:07:06 *** keikoz has joined #openttd
16:26:02 <xarick> got a crash just standing in the main menu
16:26:05 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1316803274241867816/image.png?ex=675c601d&is=675b0e9d&hm=bec2819284bfd7e1ea282ef95d4447be879883679d901496a975277999b95aac&
16:26:45 <xarick> not a master build, but... probably would occur there as welll
16:49:46 <peter1138> Oh, because CargoArray is naughty
16:50:08 <andythenorth> is it not on Santa's list?
16:50:47 <peter1138> Change `CargoArray capacities; ///< Current added capacities per cargo ID in the consist.` to `CargoArray capacities{}; ///< Current added capacities per cargo ID in the consist.`
16:50:52 <peter1138> In refresh.h
17:11:01 <LordAro> always a good day when I am reminded of https://xkcd.com/722/
17:17:28 <johnfranklin> I cannot understand the core of xkcd 722
17:23:55 <Rubidium> johnfranklin: maybe explainxkcd 722 helps?
17:40:08 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13168: Fix 56510b5d7b: CargoArray does need to be initialised... https://github.com/OpenTTD/OpenTTD/pull/13168
17:41:09 *** Wolf01 has joined #openttd
17:42:54 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13168: Fix 56510b5d7b: CargoArray does need to be initialised... https://github.com/OpenTTD/OpenTTD/pull/13168#pullrequestreview-2500378518
17:48:20 <talltyler> LordAro: My Discord and GitHub bios are just that raw link lol
17:49:14 <LordAro> :D
18:04:59 *** nielsm has joined #openttd
18:14:55 *** gelignite has joined #openttd
18:18:45 *** gelignite has quit IRC ()
18:24:13 <johnfranklin> My favorite is sudo make me a sandwich
18:29:54 <wensimehrp> Target a not found
19:20:41 *** gelignite has joined #openttd
19:33:59 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13168: Fix 56510b5d7b: CargoArray does need to be initialised... https://github.com/OpenTTD/OpenTTD/pull/13168
20:08:57 *** Wormnest has joined #openttd
20:26:03 *** gelignite has quit IRC (Quit: Stay safe!)
20:50:58 <peter1138> `assert(v->cargo_cap >= v->cargo.RemainingCount());`
20:51:02 <peter1138> Well, I've broken something 😄
20:55:47 <andythenorth> GG
21:18:17 *** michi_cc has joined #openttd
21:18:17 <michi_cc> peter1138: That might not be new at all, I've seen that assert in the past on one of my long-running test savegames already. I've always just assumed I'd managed to break that specific save though 🤷
21:18:50 <peter1138> No, this is a super experimental patching.
21:19:13 <michi_cc> Okay, then there's a different way to get that assert, too 🙂
21:27:57 <andythenorth> wensimehrp: still want FIRS title translatable?
21:32:01 <wensimehrp> Yeah
21:33:16 <peter1138> Alright, it's because the refit masks were all broken.
21:45:19 <andythenorth> wensimehrp: https://github.com/andythenorth/firs/commit/3c4dcf28f83f0b4f6962e4ee7ed8ee7ed076eb17
21:45:54 <andythenorth> ach FIRS portugese translation is full of broken strings
21:46:04 <andythenorth> PR merging regret
21:47:29 <peter1138> Ok, how do I remove GS from a game again?
21:47:36 <andythenorth> from a running game?
21:47:39 <andythenorth> just crash the GS
21:48:07 <peter1138> I want to catch an exception, except GS uses exceptions for normal operation. (Bad GS)
21:48:14 <peter1138> (Bad Squirrel)
21:49:08 <andythenorth> squirrel is lolz
21:49:33 <peter1138> By "catch" I mean trap in a debugger 🙂
21:50:07 <andythenorth> ach I so hate yak-shaving translations
21:50:21 <andythenorth> remember when we had a web based translator? 😛
21:50:24 <_jgr_> There's no reasonable way to do it in vanilla, your best bet is to just remove the corresponding GS from your openttd dir
21:50:32 <andythenorth> it was unmaintained, and unwise, but eh
21:51:50 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1316885252010016798/image.png?ex=675cac76&is=675b5af6&hm=fe138498702b159266eb5d1c4a40f053be52671b9fe2a5f749d6b1184de92d45&
21:51:50 <andythenorth> this is dull 😛
21:52:02 <andythenorth> maybe I write some diff script that just automates this
21:52:12 <andythenorth> maybe GPT will do it 😛
21:53:09 *** kuka_lie has quit IRC (Quit: leaving)
21:53:15 <_jgr_> Round-tripping through the scenario editor might work for getting rid of a GS, thinking about it
21:53:47 <_jgr_> andythenorth: Having a script for reformatting, reordering, removing dead strings, etc does make life a lot easier once you've got it working
21:54:03 <andythenorth> I have one that can remove, but I have to manually feed it
21:54:18 *** tokai has joined #openttd
21:54:18 *** ChanServ sets mode: +v tokai
21:54:26 <andythenorth> it's probably only 6 lines of python to compare all the strings against english.toml
21:56:16 <andythenorth> anyway, I'm not adding any more translations until someone helps 😛
21:56:27 <andythenorth> I'll merge wensimehrp's final change, then that's it
21:57:14 <andythenorth> wensimehrp: pull simplified_chinese.toml
21:57:23 <andythenorth> I've just cleaned up dead strings
21:57:32 <wensimehrp> Oof I'm not at home yet
21:58:06 <_jgr_> andythenorth: Have you checked whether this compound string for the GRF name works as expected?
21:58:55 <_jgr_> The spec and the OpenTTD code does not suggest that trying to do text stack operations here is going to work
22:00:26 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1316887414957936680/image.png?ex=675cae7a&is=675b5cfa&hm=96741c0a9c14ceead5a647d6070278531c88742a9df5242adb5572ee5e843dff&
22:00:26 <andythenorth> hmm maybe it was cached
22:00:30 <andythenorth> assuming that's the string
22:01:11 <andythenorth> I wasn't sure action 14 would support this, but it appeared to work
22:02:36 <andythenorth> ah `make install` would have been better than `make`
22:02:50 <peter1138> Alright, let's see how slow this is...
22:05:01 <_jgr_> Hmm, seems my python is not new enough to have tomllib
22:05:16 <_glx_> _jgr_: in this case nml parses and use the formatted string directly
22:05:26 <peter1138> No different.
22:05:29 <andythenorth> it's in standard from py 3.11
22:05:33 <andythenorth> onwards
22:05:43 <peter1138> Hmm, if anything it's actually a little faster which is unexpected.
22:06:16 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1316888880917647472/image.png?ex=675cafd7&is=675b5e57&hm=1fbd573fbbc0b99506f667baf8ab8f44694a5aed8ba2ca7531ec30b467cb67d6&
22:06:16 <andythenorth> yes still works 🙂
22:07:09 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1316889107292622929/image.png?ex=675cb00d&is=675b5e8d&hm=52d85eb76e3841ca2bc13372027de163e3246ec65209bacc72b53ae7875ac952&
22:07:09 <peter1138> Uhhh
22:08:50 <peter1138> Alright, anyone have a busy FIRS 5 game?
22:09:41 <peter1138> Ah ha, found it.
22:10:12 <peter1138> Not faster, just a bug that slowly makes the game faster 😄
22:18:19 <_jgr_> What part of the code are you looking at for this?
22:25:20 <peter1138> Well, myMy messed up cargo refit masks
22:25:22 <peter1138> Er
22:25:52 <peter1138> Well, my messed up cargo refit masks and a bad test made auto-refit think it failed, instead of not actually trying to refit. When auto-refit fails it just stops the vehicle.
22:26:00 <peter1138> Super mega performance gains...
22:26:11 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:26:27 <peter1138> With that fixed, the performance is... basically not much different.
22:26:58 <peter1138> andythenorth: do you have a testing game of FIRS 5 or anything? Or do we leave that sort of thing to players?
22:52:52 *** Flygon has quit IRC (Read error: Connection reset by peer)
22:55:56 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:02:25 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
23:06:25 <squirejames> Ooh you could call it FIRS-T
23:16:28 *** nielsm has quit IRC (Ping timeout: 480 seconds)
23:35:26 <peter1138> Hmm, how do you print out the contents of a script list?
23:56:23 <peter1138> Oh no, not AI PRs <https://github.com/nl-saw/openttd-ai-swarm/pull/11/commits/be0a1bacbde6c7682f25b3baf7fedf7454028277>