IRC logs for #openttd on OFTC at 2025-06-08
โด go to previous day
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:44:56 *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)
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:43:26 <DorpsGek> - Update: Translations from eints (by translators)
07:31:19 *** gelignite has joined #openttd
07:46:44 *** Flygon has quit IRC (Read error: Connection reset by peer)
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:13:01 *** keoz has quit IRC (Ping timeout: 480 seconds)
09:17:45 <xarick> group + depot iterate is slower than pure vehicle iterate
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]> andythenorth: Yup
10:11:56 <wensimehrp> jfkuayue: Follow the customs
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
11:09:11 <xarick> alright, the depot strategy failed
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:55:03 *** WormnestAndroid has quit IRC (Remote host closed the connection)
11:55:06 *** WormnestAndroid 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: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: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:08:37 *** jfkuayue has joined #openttd
14:08:37 <jfkuayue> ยฃ90 for chocolate gift boxes, biscuits, and breakfast teaโฆ
14:08:53 *** peter1138[d] has joined #openttd
14:10:49 <peter1138[d]> Coffee and timtam
14:11:11 <peter1138[d]> _zephyris: Yes, but nicer.
14:24:05 *** keikoz has quit IRC (Ping timeout: 480 seconds)
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: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_> 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: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:54:34 <xarick> for the free wagons stuff, yeah
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
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:41:47 <peter1138[d]> What was I doing?
15:53:36 *** Wormnest 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:28:09 *** funderscore is now known as f_
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:57:55 <peter1138[d]> You probably put the whole function in a header file.
17:58:08 <xarick> hmm so that's not a good idea
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: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: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:09:18 <peter1138[d]> Glyphs that are missing ๐
19:42:50 <_zephyris> Very informative ๐
19:51:55 <peter1138[d]> Hmm, it's looking for U+200E ๐ฎ
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: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: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: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)
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: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:16:59 <xarick> why does this always trigger 700+ files to rebuild t.t
23:52:19 *** m3henry has quit IRC (Quit: m3henry)
continue to next day โต