IRC logs for #openttd on OFTC at 2025-06-08
            
01:29:24 *** Tirili has quit IRC (Ping timeout: 480 seconds)
01:39:30 *** WormnestAndroid has quit IRC (Remote host closed the connection)
01:39:35 *** WormnestAndroid has joined #openttd
02:41:36 *** gnu_jj has joined #openttd
02:44:56 *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)
03:13:17 *** D-HUND has joined #openttd
03:16:39 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:34:25 <pickpacket> andythenorth: yes it was
03:34:54 <pickpacket> xarick: are you working on an AI?
04:16:16 *** WormnestAndroid has quit IRC (Remote host closed the connection)
04:16:21 *** WormnestAndroid has joined #openttd
04:16:36 *** keikoz has joined #openttd
04:43:25 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/4b18622c4e6c9b8d62b0878beeb9262bccbfbce8
04:43:26 <DorpsGek> - Update: Translations from eints (by translators)
05:38:42 <DorpsGek> [OpenTTD/OpenTTD] Release workflow was not successful https://github.com/OpenTTD/OpenTTD/actions/runs/15515125110
07:06:48 <andythenorth> coffee?
07:09:31 <_zephyris> Certainly
07:12:41 <LordAro> could do
07:30:26 *** Wolf01 has joined #openttd
07:31:19 *** gelignite has joined #openttd
07:46:44 *** Flygon has quit IRC (Read error: Connection reset by peer)
07:47:57 *** keoz has joined #openttd
07:49:41 *** keikoz has quit IRC (Ping timeout: 480 seconds)
08:08:18 <jfkuayue> What snacks (candies, biscuits etc) do the British here recommend to bring back to China as gifts? TimTam?
08:10:21 <xarick> hi
08:13:01 *** keoz has quit IRC (Ping timeout: 480 seconds)
08:23:46 <DorpsGek> [OpenTTD/OpenTTD] RiedleroD commented on issue #14342: [Bug]: German industry names should be [industry] [town name] https://github.com/OpenTTD/OpenTTD/issues/14342
08:43:53 *** keikoz has joined #openttd
09:16:46 <xarick> bad news
09:17:45 <xarick> group + depot iterate is slower than pure vehicle iterate
09:18:23 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1381200677740744775/image.png?ex=6846a6df&is=6845555f&hm=b7f6928fabde8a15f23cddd7263e3c14bd517b420bcf6e36c5d66105f9474704&
09:22:59 <xarick> gonna give it a few more years
09:26:56 <xarick> either that, or my template implementation overhead is too noticeable
09:41:05 <xarick> the new tictoc doesn't work?
09:43:59 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1381207121802166364/PXL_20250608_094318496.jpg?ex=6846acdf&is=68455b5f&hm=f6b61434e3ee88fe65e2da777bdae8f860d5aea82d3e795f831cf7438eb7257d&
09:43:59 <peter1138[d]> andythenorth: Yup
09:44:05 <xarick> ah, it works
10:11:56 <wensimehrp> jfkuayue: Follow the customs
10:12:02 <wensimehrp> ๐Ÿ›ƒ
10:14:00 *** keikoz has quit IRC (Ping timeout: 480 seconds)
10:33:27 <_zephyris> As a brit... What are TimTams?
10:33:49 <_zephyris> Oh, looks like Australian penguins
10:43:06 *** Tirili has joined #openttd
10:44:13 *** Tirili has quit IRC ()
11:00:59 <DorpsGek> [OpenTTD/team] glx22 commented on issue #640: [el_GR] Translator access request https://github.com/OpenTTD/team/issues/640
11:09:11 <xarick> alright, the depot strategy failed
11:34:01 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1381234810080464926/image.png?ex=6846c6a8&is=68457528&hm=6798894c54bcb8463e668db18e93cfdaa5bc51954f9248d7c9e7a922a137c062&
11:34:01 <xarick> assuming my freewagon tracking is correct, keeping a list of freewagons per company was the fastest method
11:34:25 <xarick> iterating depots turned out a flop
11:35:01 *** keikoz has joined #openttd
11:55:03 *** WormnestAndroid has quit IRC (Remote host closed the connection)
11:55:06 *** WormnestAndroid has joined #openttd
12:04:33 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #14344: Change: Consistent toolbar sizes with dedicated NWidgetParts. https://github.com/OpenTTD/OpenTTD/pull/14344#pullrequestreview-2908425593
12:16:46 *** Tirili has joined #openttd
12:30:58 <andythenorth> How do wagons become free? ๐Ÿ˜ณ
12:35:36 <peter1138[d]> By not being attached to an engine.
12:36:19 <reldred> giving up attachments to become free? sounds like some hippy crap.
13:20:45 *** debdog has joined #openttd
13:24:58 <andythenorth> does the AI collaborate with human players?
13:25:08 <andythenorth> I'm curious why xarick doesn't just fix the problem at source
13:25:11 <andythenorth> by deleting wagons
13:25:15 <andythenorth> in the AI
13:31:23 <xarick> commands-out.log is 2 GB
13:31:52 <xarick> what word should I look for if there's a cache desync?
13:39:14 <_glx_> you won't see it in the log
14:05:42 *** goddess_ishtar has quit IRC (Read error: Connection reset by peer)
14:05:42 *** emperorjake has quit IRC (Read error: Connection reset by peer)
14:05:42 *** squirejames has quit IRC (Read error: Connection reset by peer)
14:05:42 *** reldred has quit IRC (Read error: Connection reset by peer)
14:05:42 *** scrubbles3587 has quit IRC (Write error: connection closed)
14:05:42 *** talltyler has quit IRC (Read error: Connection reset by peer)
14:05:42 *** mnhebi has quit IRC (Read error: Connection reset by peer)
14:05:42 *** alpapilus has quit IRC (Write error: connection closed)
14:05:42 *** foodliker has quit IRC (Write error: connection closed)
14:05:42 *** michi_cc has quit IRC (Write error: connection closed)
14:05:42 *** tabytac has quit IRC (Write error: connection closed)
14:05:42 *** jfkuayue has quit IRC (Write error: connection closed)
14:05:42 *** _jgr_ has quit IRC (Write error: connection closed)
14:05:42 *** yiffgirl has quit IRC (Write error: connection closed)
14:05:42 *** kuhnovic has quit IRC (Write error: connection closed)
14:05:42 *** jfs has quit IRC (Write error: connection closed)
14:05:42 *** locosage has quit IRC (Write error: connection closed)
14:05:42 *** xarick has quit IRC (Write error: connection closed)
14:05:42 *** truebrain has quit IRC (Write error: connection closed)
14:05:42 *** andythenorth has quit IRC (Write error: connection closed)
14:05:42 *** peter1138[d] has quit IRC (Write error: connection closed)
14:05:42 *** _glx_ has quit IRC (Write error: connection closed)
14:05:42 *** DorpsGek_vi has quit IRC (Write error: connection closed)
14:05:42 *** riuzaki56 has quit IRC (Read error: Connection reset by peer)
14:05:42 *** brickblock19280 has quit IRC (Read error: Connection reset by peer)
14:05:42 *** belajalilija has quit IRC (Write error: connection closed)
14:05:42 *** wensimehrp has quit IRC (Write error: connection closed)
14:05:42 *** _zephyris has quit IRC (Write error: connection closed)
14:06:02 *** DorpsGek_vi has joined #openttd
14:07:40 *** twpol has quit IRC (Read error: Connection reset by peer)
14:07:53 *** twpol has joined #openttd
14:08:37 *** jfkuayue has joined #openttd
14:08:37 <jfkuayue> ยฃ90 for chocolate gift boxes, biscuits, and breakfast teaโ€ฆ
14:08:52 <jfkuayue> And timtam
14:08:53 *** peter1138[d] has joined #openttd
14:08:53 <peter1138[d]> More coffee?
14:10:49 <peter1138[d]> Coffee and timtam
14:11:11 <peter1138[d]> _zephyris: Yes, but nicer.
14:19:46 <peter1138[d]> Legs, eh?
14:24:05 *** keikoz has quit IRC (Ping timeout: 480 seconds)
14:26:26 *** xarick has joined #openttd
14:26:26 <xarick> seems I don't know how to check caches
14:30:18 <xarick> 10.4 GB log file, ๐Ÿ˜ฆ
14:36:03 <xarick> where is stuff logged at?
14:37:20 <xarick> `Debug(desync, 0, "free wagons list mismatch, vehicle_id {} missing in free_wagons of company {}", v->index, c->index);`
14:37:33 <xarick> is it in the console?
14:42:24 <xarick> <https://github.com/OpenTTD/OpenTTD/blob/master/docs/desync.md#21-cache-debugging>
14:42:33 <xarick> well... file was 10 GB of commands
14:43:11 <xarick> isn't there any keyword like "desync" or "cache" or so i could use to search there?
14:43:20 *** _glx_ has joined #openttd
14:43:20 <_glx_> commands log is to replay network game to try to reproduce desync
14:50:18 <xarick> I'm going with the old fashioned assert
14:50:36 <xarick> temporarily
14:51:33 <_glx_> anyway only scripts are using your caches, and scripts runs only on server, so you'll never trigger a desync
14:52:18 <_glx_> you're just wasting clients RAM
14:52:41 <xarick> oh ๐Ÿ˜ฎ
14:54:34 <xarick> for the free wagons stuff, yeah
14:54:55 <xarick> for the group, unsure
14:56:45 <xarick> you're just giving me some ideas
14:57:36 <xarick> i could move this stuff away from Company * onto the AI Storage
14:57:57 <_glx_> oh indeed vehiclelist.cpp is not script_vehiclelist.cpp
14:58:19 <xarick> I could undo that
15:09:17 <xarick> let's see if I know how to use ScriptStorage
15:11:50 <xarick> oh but game scripts get in the way ๐Ÿ˜ฆ
15:14:33 <xarick> can I access the Storage of another script?
15:17:17 <_glx_> no
15:41:47 <peter1138[d]> What was I doing?
15:53:36 *** Wormnest has joined #openttd
15:58:35 <xarick> food
16:05:49 *** keikoz has joined #openttd
16:36:23 *** andythenorth has joined #openttd
16:36:23 <andythenorth> badgers probablye
16:36:35 <andythenorth> or finishing unfinished Horse sprites
17:03:53 <peter1138[d]> Hmm, apparently not.
17:04:04 <peter1138[d]> I napped instead, until leg cramp.
17:05:13 *** Flygon has joined #openttd
17:28:09 *** funderscore is now known as f_
17:35:17 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #14344: Change: Consistent toolbar sizes with dedicated NWidgetParts. https://github.com/OpenTTD/OpenTTD/pull/14344
17:35:35 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14344: Change: Consistent toolbar sizes with dedicated NWidgetParts. https://github.com/OpenTTD/OpenTTD/pull/14344#pullrequestreview-2908588113
17:38:04 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #14344: Change: Consistent toolbar sizes with dedicated NWidgetParts. https://github.com/OpenTTD/OpenTTD/pull/14344#pullrequestreview-2908588931
17:40:00 <peter1138[d]> I was experimenting for consistency, because all the other toolbars have a separator before the bomb button
17:42:22 <peter1138[d]> Damn it, not the fish & chips craving again ๐Ÿ˜ฎ
17:50:16 *** goddess_ishtar has joined #openttd
17:50:16 <goddess_ishtar> defaults for settings are in the ini files in `src/table/settings`, right?
17:56:04 <xarick> why I'm getting LNK errors
17:56:04 <xarick> <https://gist.github.com/SamuXarick/82665d6c6170d1c2f0897fb94b890924>
17:57:55 <peter1138[d]> You probably put the whole function in a header file.
17:58:01 <xarick> yes, i did
17:58:08 <xarick> hmm so that's not a good idea
18:00:14 <xarick> that's the function, I placed it in vehiclelist_func.h <https://gist.github.com/SamuXarick/82665d6c6170d1c2f0897fb94b890924#file-vehiclelist_func-h>
18:01:00 <xarick> where would I put it at then?
18:04:29 <peter1138[d]> There's a `vehiclelist.cpp`
18:05:13 <peter1138[d]> Judging by what that function does, calling it `CountFreeWagon` is a bad idea too.
18:06:21 <peter1138[d]> Using an unsorted vector is probably not a good choice either.
18:06:44 <peter1138[d]> Although I suppose it's not too bad if there are not that many free wagons.
18:07:48 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14343: Codechange: Use vehicle tile hash to search for free wagons. https://github.com/OpenTTD/OpenTTD/pull/14343
18:13:50 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14344: Change: Consistent toolbar sizes with dedicated NWidgetParts. https://github.com/OpenTTD/OpenTTD/pull/14344
18:20:01 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #14269: Codechange: Iterate with VehiclesOnTile when connecting free wagon chains https://github.com/OpenTTD/OpenTTD/pull/14269
18:20:06 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #14282: Codechange: Iterate with VehiclesOnTile when moving rail vehicle in a depot https://github.com/OpenTTD/OpenTTD/pull/14282
18:20:16 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #14283: Codechange: Iterate with VehiclesOnTile when moving free wagons to the new vehicle https://github.com/OpenTTD/OpenTTD/pull/14283
18:24:01 <xarick> ๐Ÿ™‚
18:30:14 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #14284: Codechange: Iterate with VehiclesOnTile when attaching a just bought wagon to a locomotive https://github.com/OpenTTD/OpenTTD/pull/14284#pullrequestreview-2908601801
18:36:25 <xarick> nice, vehiclelist.cpp/h worked
18:37:58 <peter1138[d]> /me ponders missing glyphs a bit more.
18:50:05 *** Wolf01 is now known as Guest17794
18:50:06 *** Wolf01 has joined #openttd
18:53:37 * andythenorth me paints trains
18:55:41 *** Guest17794 has quit IRC (Ping timeout: 480 seconds)
19:02:07 <xarick> includes are difficult to understand
19:05:33 *** _zephyris has joined #openttd
19:05:33 <_zephyris> Missing glyphs?
19:09:18 <peter1138[d]> Glyphs that are missing ๐Ÿ™‚
19:42:50 <_zephyris> Very informative ๐Ÿ˜›
19:46:30 <peter1138[d]> Huh.
19:46:32 <peter1138[d]> It works.
19:51:55 <peter1138[d]> Hmm, it's looking for U+200E ๐Ÿ˜ฎ
19:57:56 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1381361627135479839/Screencast_from_2025-06-08_20-57-12.webm?ex=68473cc4&is=6845eb44&hm=c509e0ac9bc589beae35df11707bd865fc6d28239acfce186bcd38a967f1309c&
19:58:31 <peter1138[d]> (Long delay, just to show that something changes...)
20:02:15 <peter1138[d]> ((Yeah, the detected font is bad, but that's a given))
20:02:58 <_zephyris> Cool
20:04:17 <peter1138[d]> Hmm, I wonder if icu has a way to categorise glyphs by language.
20:04:35 <peter1138[d]> Currently I just collect all missing glyphs, and then try to find a font with them all.
20:05:07 <peter1138[d]> What it needs is to font multiple fonts to match different ranges if needed.
20:05:15 <peter1138[d]> ๐Ÿ˜ฎ
20:07:51 *** WormnestAndroid has quit IRC (Remote host closed the connection)
20:07:52 *** WormnestAndroid has joined #openttd
20:08:07 <peter1138[d]> One potential issue is that we don't really know which language it is.
20:09:10 <peter1138[d]> And CJK stuff tends to have different fonts depending on the language, as they have different designs for the same glyphs.
20:10:03 <peter1138[d]> (e.g. Noto Sans has HK, JP, KR, SC and TC variants.)
20:10:48 *** m3henry has joined #openttd
20:11:26 <peter1138[d]> ChillRoundF is probably the nicest CJK font. It matches OpenTTD Sans in height ๐Ÿ™‚
20:31:30 <peter1138[d]> Hmm.
20:31:56 <peter1138[d]> Anyway, POC seems to work, needs refinement, but then the rest of the system is all a bit wonky anyway ๐Ÿ˜ฎ
20:32:34 <peter1138[d]> Like the Windows API to test which glyphs exist in a font doesn't support surrogate pairs.
20:34:29 *** keikoz has quit IRC (Ping timeout: 480 seconds)
20:39:33 <peter1138[d]> Something like this list might be a way of splitting/grouping, but it's quite a list... <https://www.unicodepedia.com/groups/>
20:39:51 <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened pull request #14345: Replace ReferenceThroughBaseContainer with a type which only permits the correct index type https://github.com/OpenTTD/OpenTTD/pull/14345
20:41:49 *** keikoz has joined #openttd
20:42:55 *** keikoz has quit IRC ()
20:46:03 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #14284: Codechange: Iterate with VehiclesOnTile when attaching a just bought wagon to a locomotive https://github.com/OpenTTD/OpenTTD/pull/14284
20:48:40 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #13665: Codechange: Code style changes to AI/GS GUI files https://github.com/OpenTTD/OpenTTD/pull/13665
20:49:41 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #13419: Fix: [Script] Make ScriptOrder functions aware of road waypoints https://github.com/OpenTTD/OpenTTD/pull/13419
21:24:44 <xarick> meanwhile I found a bug in my ScriptVehicleList_Depot stuff, ez to fix
21:24:48 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:27:09 <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #14346: Codechange: Improve the exporting of API constructors https://github.com/OpenTTD/OpenTTD/pull/14346
21:41:58 *** keikoz has joined #openttd
21:52:01 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:01:18 *** tokai|noir has joined #openttd
22:01:18 *** ChanServ sets mode: +v tokai|noir
22:08:05 *** tokai has quit IRC (Ping timeout: 480 seconds)
22:15:36 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #14267: Add: [Script] Default button in query string to reset an integer setting https://github.com/OpenTTD/OpenTTD/pull/14267
22:16:59 <xarick> why does this always trigger 700+ files to rebuild t.t
22:21:23 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #13565: Add #13519, e4c511d: [Script] Saveload and config file support for handpicked configs https://github.com/OpenTTD/OpenTTD/pull/13565
23:18:04 *** gelignite has quit IRC ()
23:52:19 *** m3henry has quit IRC (Quit: m3henry)