IRC logs for #openttd on OFTC at 2026-06-08
            
00:20:34 <talltyler> Thanks for putting this all together, truebrain ❤️
00:21:16 <talltyler> Infrastructure is all a foreign concept to me, but I will have a look at your docs tomorrow, they are always educational 🙂
02:13:33 *** Flygon has joined #openttd
02:51:26 *** WormnestAndroid has quit IRC (Remote host closed the connection)
02:51:28 *** WormnestAndroid has joined #openttd
02:51:39 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
02:51:40 *** WormnestAndroid has joined #openttd
02:51:43 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
02:51:44 *** WormnestAndroid has joined #openttd
03:42:29 *** Phileman has joined #openttd
03:45:59 *** Philemon has quit IRC (Ping timeout: 480 seconds)
05:26:31 *** Izzy has joined #openttd
05:27:02 *** Izzy is now known as Guest10970
05:29:30 *** Izzybee has quit IRC (Ping timeout: 480 seconds)
05:30:59 *** tokai has joined #openttd
05:30:59 *** ChanServ sets mode: +v tokai
05:34:12 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
05:35:05 *** MinchinWeb[m] has joined #openttd
05:38:00 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
06:08:47 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/0eb9a47a962730e3f9bc067a11c113ee774d58e3
06:08:48 <DorpsGek> - Update: Translations from eints (by translators)
06:10:17 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #15687: Codechange: make SigSegState a scoped enum https://github.com/OpenTTD/OpenTTD/pull/15687
06:42:10 <andythenorth> thanks truebrain 🙂
06:51:39 <DorpsGek> [OpenTTD/OpenTTD] Release workflow was not successful https://github.com/OpenTTD/OpenTTD/actions/runs/27120241388
06:56:43 <DorpsGek> [OpenTTD/OpenTTD] Release workflow was not successful https://github.com/OpenTTD/OpenTTD/actions/runs/27120241388
07:01:35 <peter1138> Very gateway timeout.
07:04:11 <peter1138> £100 for a pair of bike tyres? :o
07:15:20 <LordAro> :o
07:17:10 <LordAro> actually, that's about typical
07:17:18 <LordAro> for gp5000s or similar
07:21:54 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
07:29:28 *** tateisukannanirase has joined #openttd
07:29:28 <tateisukannanirase> Good morning, I am interested in configuring the road YAPF to occasionally select the 2nd best path to add some variation to road vehicle routes. (This is mainly for my own interest). I can find the tile/segment cost logic but I am struggling to find in the code where the final route is selected. I would appreciate any help from anyone familiar with the YAPF 🙏 or open to any other
07:29:28 <tateisukannanirase> discussions/solutions about road vehicle pathfinder.
07:30:29 *** SigHunter has joined #openttd
07:35:52 <peter1138> Pathfinders don't build a choice of routes, they can only find the current best route.
07:40:23 <peter1138> Alright, what was the proper way to get ownership of NewGRFs on bananas? :D
07:40:46 <peter1138> I've updated UK Waypoints (which nobody uses) to have bridge height information.
07:41:09 <tateisukannanirase> They compare segments though? In order to ascertain the current best route? Could I intercept the pathfinder at that point to return a different route?
07:43:28 <mmtunligit> Based on my extremely cursory knowledge of the pathfinder code that you shouldn’t trust you’d have to build some sort of cache from the routes it rejects and when it selects the final route have it sometimes pick from that
07:43:49 <mmtunligit> No garuntees that won’t result in list vehicles though
07:43:57 <mmtunligit> *lost
07:44:09 <peter1138> You can provide a weighting to affect the costs, but how will you know where that weighting will need to be?
07:45:05 *** utrain has joined #openttd
07:45:05 <utrain> If I had to dead-reckon, the pathfinder quits as soon as it finds a route. You'd probably want to modify the code so that it can continue searching for other routes instead of stopping at the first.
07:45:22 <mmtunligit> but im not sure it’s even capable of finding multiple routes as is
07:46:12 <peter1138> It's A*, so it can only find the best route, there are no "rejected" routes.
07:47:19 <utrain> Another concern is that the second, third, etc. best routes could easily just be the same as the prior up until the very last turns/forks.
07:47:34 <mmtunligit> peter1138: Yeah I realized that too late
07:47:43 <utrain> Wouldn't be as interesting as you intended...
07:48:27 <utrain> So, you'd probably want to filter based on similarity as well.
07:48:34 <mmtunligit> I did say not to trust me after all :P
07:49:41 <peter1138> Also road vehicles cache their route for a bit to avoid calling the pathfinder too often, as it's expensive. Though you need a road vehicle-heavy game for that to become noticable.
07:50:31 <utrain> realistic enough for them to reuse the same routes lol
07:51:17 <rito12_13> Isn't the case with A* that to get variety you change the weights?
07:51:50 <peter1138> LordAro, GP5000S are £70 each from Sigma :/
07:51:52 <mmtunligit> dartboards and blindfolds methinks
07:52:15 <peter1138> And Tredz. Sigh.
07:54:28 <tateisukannanirase> I have played with penalties by detecting stopped vehicles, but it was waaay too expensive to loop over all the vehicles on each tile. Maybe I need to be a bit more creative in adding weights.
07:54:28 <tateisukannanirase> I've got a couple of saved games that I got from other players that really highlight the simplicity of road yapf, because it has no concept of traffic congestion or waypoints, which rail has and ship/air doesn't need.
07:55:11 <utrain> tateisukannanirase: why couldn't you add the penalties as you're pathfinding?
07:55:24 <utrain> as yapf hits each node/tile, it could check for stopped vehicles then.
07:56:16 <utrain> neverminddd
07:56:40 <utrain> cuz there isn't a way to query for vehicles on tiles probably...
07:56:46 <tateisukannanirase> it works fantastically but it causes a big increase in CPU in cases where you need it most; when there are many RVs on a map.
07:59:18 <tateisukannanirase> I also thought about flagging a tile with a 'blocked' flag and setting it when a vehicle stops (outside of a stop), but it needs to be paired with trackdir and there doesn't seem to be any existing pattern for storing that kind of data against a tile.
07:59:36 <peter1138> I assume you tested with `VehiclesOnTile()`?
08:01:25 <tateisukannanirase> I used `HasVehicleOnTile()` which is a kindof wrapper for that. I tried to limit it to just checking tiles on the first segment but there is no way to get the segment index inside PfCalcCost (as far as I could tell..)
08:07:08 <peter1138> Yeah, on a large map the hash collisions of `VehiclesOnTile()` will mean it has to check the position of vehicles that aren't on that tile.
08:08:21 <peter1138> And the size of it is a trade-off between performance and memory usage.
08:10:00 <peter1138> The hash algorithm is crude^H^H^H^H^H simple as well, so if you have long straight lines you get more collisions.
08:10:42 <LordAro> i've not seen someone do a manual ^H in *ages*
08:11:03 <tateisukannanirase> Long straight lines is what you get in games with lots of RVs because they all follow the same route like [game] lemmings.
08:12:05 <peter1138> The the fact that hash is effectively 2D is a clue to how crude it is :D
08:12:08 <peter1138> -the
08:12:14 <peter1138> Or rather move it.
08:12:17 <peter1138> The fact that the hash...
08:13:49 <reldred> ^W
08:15:45 <peter1138> Some operations that use it do use the 2D-ness of it as a feature though.
08:19:01 <reldred> feature not a fault
08:28:51 <peter1138> Meeting request to review X process.
08:29:26 <peter1138> Well, I know nothing about X process other than I've been requested to a meeting to review it...
08:36:23 <DorpsGek> [OpenTTD/survey-web] survey-summary[bot] pushed 1 commits to main https://github.com/OpenTTD/survey-web/commit/876abe463ad6ad2d09fcf1027138cea53f2b768a
08:36:24 <DorpsGek> - Add: summary for week 23 of 2026 (by OpenTTD Survey)
10:08:58 <andythenorth> Order type to randomly select a ‘via’ waypoint?
10:31:29 <peter1138> https://www.tt-forums.net/viewtopic.php?t=92808
10:32:55 <peter1138> I guess 1 height level might work for bare platforms, bit awkward to place though.
11:02:57 *** WormnestAndroid has quit IRC (Remote host closed the connection)
11:03:18 *** WormnestAndroid has joined #openttd
11:07:16 <peter1138> Hmm.
11:21:41 <andythenorth> Naptime, then lunch?
11:48:33 *** Guest10970 is now known as Izzybee
11:55:08 <_zephyris> Hits the old problem of the forced perspective height illusion
12:33:07 *** Wormnest has joined #openttd
12:52:14 <peter1138> Not even that really, the pillars get draw over the platforms which makes them look like they are on top of the platforms.
13:35:20 <_zephyris> Hmm, true
13:41:27 <DorpsGek> [OpenTTD/team] q1t0 opened issue #702: [id_ID] Translator access request https://github.com/OpenTTD/team/issues/702
14:55:15 <peter1138> Yeah, when the minimum is 2, it's easy enough to place a small station under a bridge.
14:55:47 <peter1138> But because you can't choose to build only bare platforms, a bridge height of 1 is very hard to build under.
14:56:42 <peter1138> Could be a possibility for default stations, but means that order-of-operations becomes import.
15:16:26 <DorpsGek> [OpenTTD/nml] Rito13 opened pull request #433: Add: Missing features to random switch. https://github.com/OpenTTD/nml/pull/433
15:48:17 <talltyler> When you say bare platforms, you mean without the station building? It's easy to avoid that, just build a longer station and don't bridge the center tile 🙂
15:55:56 <peter1138> Yeah but then I have to rebuild the rest of the station to get it how I want it :)
15:56:02 <peter1138> "That's what NewGRF stations are for"
15:58:19 <_zephyris> Need to make OpenGFX2+ station...
16:03:35 *** mates271001 has joined #openttd
16:03:35 <mates271001> https://cdn.discordapp.com/attachments/1008473233844097104/1513574218271555809/1.jpg?ex=6a283956&is=6a26e7d6&hm=48fcaae2912e749916a8d02ec63cb3cb94ad11839fb93a02cbc8d0e2a2b41f0c&
16:03:35 <mates271001> https://cdn.discordapp.com/attachments/1008473233844097104/1513574218615492718/2.jpg?ex=6a283956&is=6a26e7d6&hm=2437c8811db9c2627384de8deb46b0aeeaa03e1fa81b1269b18c0639bc4ce316&
16:03:35 <mates271001> https://cdn.discordapp.com/attachments/1008473233844097104/1513574218997039104/3.jpg?ex=6a283956&is=6a26e7d6&hm=92ecd0327037591881226e96c85c46cc3d6901e5164a2b4dfd44534351ebb27b&
16:03:35 <mates271001> https://cdn.discordapp.com/attachments/1008473233844097104/1513574219324326029/4.jpg?ex=6a283956&is=6a26e7d6&hm=5e6d815a03e586f3e0262213ded42c63d80385a0c110b425cb3db98997a89d2d&
16:03:35 <mates271001> bro
16:11:07 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
16:15:32 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
16:18:07 *** digitalfox has joined #openttd
16:18:07 <digitalfox> _zephyris: please finish 4x first 🙂
16:18:21 <_zephyris> Big job 😉
16:18:58 *** WormnestAndroid has joined #openttd
16:18:59 <digitalfox> True, but what a awesome thing to be alive and see 😝
16:19:12 <digitalfox> Better, play!
16:38:51 *** Flygon has quit IRC (Read error: Connection reset by peer)
16:53:48 <_glx_> oh there's a new Tom Scott video
16:53:54 <LordAro> of course, it's Monday
16:54:09 <LordAro> but yes, this one's *relevant* ;)
16:55:44 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
16:58:19 *** Wormnest has joined #openttd
16:58:34 *** WormnestAndroid has joined #openttd
17:13:46 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #15687: Codechange: make SigSegState a scoped enum https://github.com/OpenTTD/OpenTTD/pull/15687#pullrequestreview-4451776132
17:14:01 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
17:14:40 *** MinchinWeb[m] has joined #openttd
17:15:28 <peter1138> I missed the ice-cream van :(
17:26:56 <_zephyris> I can probably make a NewGRF with one
17:27:18 <_zephyris> So, autotram
17:30:09 <peter1138> Step 1) define the problem
17:31:12 <_zephyris> Hmm
17:31:41 <dwfreed> did you mean "bus" ?
17:31:43 * dwfreed ducks
17:31:59 *** Wolf01 has joined #openttd
17:35:42 *** jfkuayue has joined #openttd
17:35:42 <jfkuayue> Every tourist small town from "last era" in the uk features ice cream vans selling over-sweet and over-colourful sweets
17:36:26 <jfkuayue> Skegness, cleethorpes, matlock
17:42:02 *** gelignite has joined #openttd
17:44:53 *** MinchinWeb[m] has quit IRC (Read error: Connection reset by peer)
17:45:11 *** MinchinWeb[m] has joined #openttd
17:49:44 <LordAro> you are fascinating
17:50:02 <LordAro> saying random shit with such confidence
17:54:48 <jfkuayue> I was replying to peter's ice cream vans
18:04:55 <peter1138> Hmm, I guess the bananas website is struggling again. It was okay this morning.
18:09:11 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #15574: Update: doxygen version to 1.17.0. https://github.com/OpenTTD/OpenTTD/pull/15574#pullrequestreview-4452184871
18:11:08 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #15574: Update: doxygen version to 1.17.0. https://github.com/OpenTTD/OpenTTD/pull/15574#issuecomment-4651986835
18:49:36 <andythenorth> yup bananas login failing again
18:50:08 <andythenorth> _reading_ https://github.com/OpenTTD/infra/blob/main/docs/infrastructure.md
18:52:20 <andythenorth> very helpful
18:52:38 <andythenorth> now also https://github.com/OpenTTD/infra/blob/main/docs/infrastructure-maintenance.md
19:00:11 <belajalilija> LordAro: Yeah it does that
19:00:34 <belajalilija> I don’t even know who it is you’re talking to, i have 2 people blocked in the server and both of them do that lmao
19:00:36 <andythenorth> So anyone with core commit rights might be able to turn services off snd on
19:01:10 <_zephyris> `Be very careful. You have admin access.`
19:01:40 <LordAro> belajalilija: lol
19:03:30 <peter1138> andythenorth, once they know where it is.
19:03:30 <_zephyris> So, I'm on a laptop with a flaky touch screen with occasional phantom clicks... I'm not going to try logging in!
19:05:52 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #15687: Codechange: make SigSegState a scoped enum https://github.com/OpenTTD/OpenTTD/pull/15687
19:06:43 *** Wormnest has quit IRC (Quit: Leaving)
19:07:29 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #15463: Add: Allow precisely erasing rocks in scenario editor https://github.com/OpenTTD/OpenTTD/pull/15463#pullrequestreview-4452611146
19:08:29 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1513620752983789810/image.png?ex=6a2864ad&is=6a27132d&hm=5c44d42c5b05a3ab0743384667665dd4186bbe024cf885060bd1c9b36852e083&
19:08:29 <andythenorth> seems to work as intended
19:08:56 <andythenorth> andythenorth is not suitable for admin
19:09:41 <peter1138> I don't know what an "Evaluation" is, but "bananas-server-prod" had one at 11:49 today.
19:21:34 * andythenorth me google
19:21:44 <andythenorth> hmm not useful results
19:22:17 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
19:24:25 *** MinchinWeb[m] has joined #openttd
19:40:34 *** gelignite has quit IRC ()
19:42:16 <peter1138> Okay, it's coming back.
19:43:56 <andythenorth> works for me
19:49:04 <peter1138> And gone again :/
19:52:58 <rito12_13> belajalilija: Who is the other one?
19:57:38 <belajalilija> rito12_13: Not you
19:58:40 <belajalilija> Teehee
20:08:46 <peter1138> And back again.
20:09:46 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #15688: Codechange: introduce enums for TrainSignalSide and RoadVehicleDrivingSide https://github.com/OpenTTD/OpenTTD/pull/15688
20:12:07 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #15661: Fix traffic side inconsistencies https://github.com/OpenTTD/OpenTTD/pull/15661#pullrequestreview-4452868603
20:12:44 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #15689: Codechange: avoid magic numbers and generic types when drawing autorail https://github.com/OpenTTD/OpenTTD/pull/15689
20:37:02 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #15689: Codechange: avoid magic numbers and generic types when drawing autorail https://github.com/OpenTTD/OpenTTD/pull/15689
20:40:53 <jfkuayue> It is time to divide and rule. Bella ciao, and l'Internationale will finally prevail!
20:42:40 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1513644454010163271/Autoroad3.mp4?ex=6a287abf&is=6a27293f&hm=56a3f6a4aeb687850ae2f317fa53a5c560507c5c0b548c7d52f61129e8e136c5&
20:42:40 <_zephyris> All squished, I think
20:46:15 <emperorjake> It's beautiful
20:46:58 <_zephyris> The code might be less beautiful 😉
20:48:18 <digitalfox> PR it and then let the wizards have a say 🙂
20:48:41 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
20:50:10 <_zephyris> I need to do a simplify spaghetti pass
20:50:11 *** WormnestAndroid has joined #openttd
20:50:25 <_zephyris> Pretty sure I've got some dead code paths!
20:53:29 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:06:30 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #15689: Codechange: avoid magic numbers and generic types when drawing autorail https://github.com/OpenTTD/OpenTTD/pull/15689#pullrequestreview-4453448622
21:22:18 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #15689: Codechange: avoid magic numbers and generic types when drawing autorail https://github.com/OpenTTD/OpenTTD/pull/15689
21:29:14 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #15688: Codechange: introduce enums for TrainSignalSide and RoadVehicleDrivingSide https://github.com/OpenTTD/OpenTTD/pull/15688#pullrequestreview-4453567951
21:33:00 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1513657120375963808/image.png?ex=6a28868b&is=6a27350b&hm=be7320e92657a99c3ea62f288cada0635f3ba9c15d173bc74522174a086897a8&
21:33:00 <_zephyris> Hmm, what should half tile highlights look like?
21:33:26 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1513657232787640411/image.png?ex=6a2886a6&is=6a273526&hm=c77f3f299d5302fc2970572444bac83e714fef4c9e601d27c54fa1432273621b&
21:33:26 <_zephyris> Is this right?
22:05:55 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #15684: Codechange: make Track a scoped enum and TrackBits an EnumBitSet https://github.com/OpenTTD/OpenTTD/pull/15684
22:06:27 <_zephyris> Hmm, and I've broken height tooltips
23:33:26 *** MinchinWeb[m] has quit IRC (Read error: Connection reset by peer)
23:34:53 *** MinchinWeb[m] has joined #openttd