IRC logs for #openttd on OFTC at 2025-09-05
⏴ go to previous day
01:24:40 *** m3henry has quit IRC (Quit: m3henry)
01:57:09 *** Wormnest has quit IRC (Quit: Leaving)
03:06:28 *** Zathras has joined #openttd
03:09:50 *** Zathras_11 has quit IRC (Ping timeout: 480 seconds)
04:39:12 <DorpsGek> - Update: Translations from eints (by translators)
07:57:40 <peter1138> Hmm, I probably should have done that only in my fork. Oh well.
08:02:28 <LordAro> feels mildly premature tbh
08:02:48 *** reldred has joined #openttd
08:15:37 <peter1138> Linux is happy, might as well merge?
08:17:36 <peter1138> Well, seems to be some valid issues anyway.
08:26:33 <peter1138> Those two should not be allowed anyway :o
09:05:47 *** locosage has joined #openttd
09:05:47 <locosage> aren't they essentially the same?
09:06:12 <locosage> code is a bit bloated in the second one but it still does the same operations afaict
09:31:56 <LordAro> essentially the same isn't what i'm asking :p
10:04:05 *** Zathras has quit IRC (Quit: Initiating getting-the-hell-out-of-here maneuver!)
10:12:57 <peter1138> It produces the same code with Clang.
10:27:55 *** lobster has quit IRC (Read error: Connection reset by peer)
12:23:43 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzz…)
13:11:47 *** Flygon has quit IRC (Read error: Connection reset by peer)
13:51:24 *** toktik has quit IRC (Remote host closed the connection)
14:00:59 <peter1138> Ah the old "but we talked about this in Teams" -> "why isn't it fixed yet" timeline.
14:11:31 <_glx_> no reported in the right place, not fixed
15:28:33 <peter1138> LordAro, a few pints tonight should set me up for tomorrows long ride, yeah?
15:34:23 * LordAro is getting on a train instead of having a few pints
15:37:21 *** toktik has quit IRC (Remote host closed the connection)
15:38:47 *** Wormnest has joined #openttd
16:49:17 *** emperorjake has joined #openttd
16:49:17 <emperorjake> I swear I used to be able to clone partly-cleaned-up crashed trains, has something changed?
16:55:19 <emperorjake> Nvm, I might be misremembering
17:45:23 <talltyler> Crashed before cleanup can be cloned
18:44:14 <LordAro> i think that's a duplicate of a very old issue
18:44:55 <rito12_51026> Sorry, I couldn't find one
18:51:38 <_jgr_> Trains not crashing with other parts of themselves is as per the original game
18:52:13 <_jgr_> In practice typical old-style layouts would be complete death traps if trains could crash with themselves
18:59:06 <talltyler> Yeah, that’s not a bug. The pathfinder doesn’t let the train do silly things but if you manage to make it do silly things, it doesn’t crash, because that’s original behavior.
19:59:59 <kuhnovic> I tried to look at issue 9817, but my god that YAPF and PBS reservation stuff is complicated...
20:02:17 <kuhnovic> "How hard can it be"
20:02:49 <peter1138> I just assumed the problem is that we ask the pathfinder for a path, but it follows the reserved path first, or something like that.
20:06:48 <kuhnovic> That is indeed the issue. And the reservation is not set up to temporarily extract / shelve / restore a reservation.
20:14:04 <peter1138> Yes, memory is cheap, it should be relatively painless to either ignore the path, or make a backup of it and erase/restore it.
20:15:14 <peter1138> Probably better to backup/restore to give the pathfinder a clean slate, and avoid more special-casing in it.
20:16:17 <peter1138> (Might only need to handle junction tiles, so even less.)
20:18:05 <kuhnovic> I hacked something together where the existing reservation is always cleared prior to searching for a depot. That does lead to the desired behavior. But that's not really backing up / restoring, that's the difficult part.
20:18:35 <peter1138> Following an existing reservation shouldn't be hard.
20:18:39 <peter1138> There's no choices to make.
20:21:18 <kuhnovic> True, but there's quite some special casing to deal with stations, bridges and to avoid loops. I don't really see how loops could arise but that code is probably there for a reason.
20:35:38 <peter1138> Pretend you're a train, follow it the only way possible and record/clear as you go.
20:36:22 <peter1138> Or make a copy of the map to work on ;)
20:37:50 <kuhnovic> I'll go for the last one, memory is cheap right 😉
21:05:17 *** ChanServ sets mode: +v tokai
21:10:16 <_glx_> most likely it's only a track segment between train and next signal
21:12:11 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
21:34:20 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:40:23 *** Flygon has quit IRC (Remote host closed the connection)
21:45:33 *** lobster has joined #openttd
22:00:51 *** toktik has quit IRC (Remote host closed the connection)
22:24:25 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:37:20 *** Wormnest has quit IRC (Quit: Leaving)
continue to next day ⏵