Config
Log for #openttd on 29th November 2024:
Times are UTC Toggle Colours
00:07:36  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #13132: [Bug]: openSFX no railroad building sounds https://github.com/OpenTTD/OpenTTD/issues/13132
00:12:30  *** Wolf01 has quit IRC
00:38:35  <DorpsGek> [OpenTTD/OpenTTD] Flipbard commented on issue #13132: [Bug]: openSFX no railroad building sounds https://github.com/OpenTTD/OpenTTD/issues/13132
03:13:50  *** gnu_jj has joined #openttd
03:17:09  *** gnu_jj_ has quit IRC
04:00:13  *** D-HUND has joined #openttd
04:03:34  *** debdog has quit IRC
05:07:20  *** keikoz has joined #openttd
05:34:55  <DorpsGek> [OpenTTD/OpenTTD] Release workflow was not successful https://github.com/OpenTTD/OpenTTD/actions/runs/12079355297
06:15:23  *** keikoz has quit IRC
07:39:20  <DorpsGek> [OpenTTD/OpenSFX] Flipbard opened issue #56: [Bug]: openSFX very quiet sound of railway construction https://github.com/OpenTTD/OpenSFX/issues/56
07:45:26  <peter1138> Hmm
07:46:11  <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13131: Fix 51bd344f10: Incorrect translation table used for older NewGRFs. https://github.com/OpenTTD/OpenTTD/pull/13131
08:01:44  <truebrain> You should have done that BEFORE the nightly! 😛 😛
08:26:37  <DorpsGek> [OpenTTD/OpenTTD] PeterN requested changes for pull request #13130: Fix #9056: [interface] missing scrollbar on infrastructure window. https://github.com/OpenTTD/OpenTTD/pull/13130#pullrequestreview-2469308038
08:27:08  <peter1138> truebrain: Do a new one!
08:29:38  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13130: Fix #9056: [interface] missing scrollbar on infrastructure window. https://github.com/OpenTTD/OpenTTD/pull/13130#pullrequestreview-2469349355
08:45:38  <peter1138> Maybe I should do a patch pack.
09:05:51  *** Flygon has quit IRC
09:27:46  *** reldred has joined #openttd
09:27:46  <reldred> peterpp
09:27:50  <reldred> sounds rude
09:31:06  <wensimehrp> p78 pp
09:33:28  <xarick> hi
09:42:57  <truebrain> peter1138: Call it "vanilla" please
09:43:41  <peter1138> I mean, Vanilla Patch Pack was part of the joke. But I got sidetracked.
09:43:50  <peter1138> (This is also part of the joke)
09:44:09  <truebrain> missed opportunity 😛
09:46:04  <peter1138> Hmm, is there a stable download URL to download the nightly Linux Generic Binaries?
09:46:29  <truebrain> no
09:46:32  <truebrain> no direct URL
09:46:39  <truebrain> might be nice to add 🙂
09:50:18  *** XYZ has quit IRC
09:50:31  *** XYZ has joined #openttd
09:52:58  <peter1138> Hmm, I'd quite like to OpenGL blitting again.
09:53:32  <peter1138> Whoever it was who was working on the DirectX blitter went silent 😦
09:53:54  <peter1138> Quite like to TRY...
09:54:43  <reldred> badges
09:55:14  <reldred> rgb/cmyk/hsl cc
09:55:47  <reldred> that said opengl blitter could be fun
09:58:36  *** XYZ has quit IRC
09:59:51  *** XYZ has joined #openttd
10:03:42  <DorpsGek> [OpenTTD/OpenTTD] WenSimEHRP commented on issue #13064: [Bug]: Traditional Chinese language does not display characters correctly in the stable version https://github.com/OpenTTD/OpenTTD/issues/13064
10:19:41  *** XYZ has quit IRC
10:25:51  *** SigHunter has quit IRC
10:25:54  *** SigHunter has joined #openttd
10:37:00  <peter1138> reldred: badges is probably most likely to go ahead, I guess.
10:37:11  <peter1138> There's even a PR... wait there was a PR for colours too.
10:41:59  <peter1138> VS Code is autocompleting things, but completely incorrectly 😦
10:53:55  <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1312008636188463154/Screencast_from_2024-11-29_10-52-51.webm?ex=674aeec2&is=67499d42&hm=6b0482f1daa8cafbd7a24f140f01f61972f9b7648cde77be310d184c6226b13c&
10:53:55  <peter1138> Help
10:54:31  <peter1138> (I am only typing here, not pressing any control sequences...)
10:58:23  <truebrain> so what is your delivery date? 😄
10:58:32  <truebrain> haha, that is hilarious 😄
10:59:13  <LordAro> lol
11:02:18  <peter1138> It's actually winding me up no end and I'm about to lose my mind.
11:02:52  <LordAro> some LSP gone haywire?
11:03:19  <xarick> ^_ ^
11:23:13  <DorpsGek> [OpenTTD/OpenTTD] WilloIzCitron opened pull request #13133: Change: Currency: Increase IDR -> GBP Conversion Rate https://github.com/OpenTTD/OpenTTD/pull/13133
11:35:05  <DorpsGek> [OpenTTD/OpenTTD] telk5093 commented on pull request #13133: Change: Currency: Increase IDR <- GBP Conversion Rate https://github.com/OpenTTD/OpenTTD/pull/13133#issuecomment-2507633973
11:39:46  *** debdog has joined #openttd
11:40:20  <DorpsGek> [OpenTTD/OpenTTD] WilloIzCitron closed pull request #13133: Change: Currency: Increase IDR <- GBP Conversion Rate https://github.com/OpenTTD/OpenTTD/pull/13133
11:40:23  <DorpsGek> [OpenTTD/OpenTTD] WilloIzCitron commented on pull request #13133: Change: Currency: Increase IDR <- GBP Conversion Rate https://github.com/OpenTTD/OpenTTD/pull/13133#issuecomment-2507641572
11:41:27  <peter1138> Huge tables of historical exchange rates am I rite?
11:48:14  <DorpsGek> [OpenTTD/OpenTTD] WilloIzCitron commented on pull request #13133: Change: Currency: Increase IDR <- GBP Conversion Rate https://github.com/OpenTTD/OpenTTD/pull/13133#issuecomment-2507653408
12:01:22  <LordAro> what have i got to do with it?
12:01:50  <LordAro> generally i'd say they should be fixed
12:02:05  <LordAro> not lime we're updating the Ruble every other day...
12:02:08  <LordAro> like*
12:24:14  <truebrain> the only "fix" is to create this list every night and auot-update it 😛
12:24:37  <truebrain> but before you know it, people want it to be realistic for the era they play in 😛
12:28:14  <peter1138> Remove all currency.
12:38:26  <LordAro> i'd be happy to fix it at a certain date
12:38:30  <LordAro> 1995 or 2004 or whatever
12:38:41  <LordAro> probably 1995 because Euro etc
12:41:02  <peter1138> I've just realised.
12:41:17  <peter1138> Did you mean "fixed" as in never changed, or "fixed" as in corrected?
12:41:31  <LordAro> ha
12:41:35  <LordAro> the former
12:42:36  <peter1138> Phew 🙂
12:42:41  <peter1138> GSCurrencies?
12:54:09  <peter1138> Isn't there a NewGRF currency feature...
12:54:40  <truebrain> Owh, I also read it: he wants to constantly fix the value
12:54:42  <peter1138> Yup. It is very half-baked.
12:55:18  <peter1138> And probably doesn't work as a static NewGRF.
12:55:25  <truebrain> Silly LordAro, being ambigious in wording 😛
12:55:41  <peter1138> I wonder if TrueGRF supports making simple currency NewGRFs...
12:55:51  <truebrain> TrueGRF is most popular for townnames
12:55:58  <truebrain> so I can imagine it would work for currencies too 😛
13:11:30  <LordAro> hmm, GH UI has changed a bit
13:14:39  <truebrain> how dare they!
13:47:02  <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1312052203254714378/image.png?ex=674b1756&is=6749c5d6&hm=5bf20bebac4e1823e76150a348ef6317958f6a9cac3b27ff8b9fd4a4b904391e&
13:47:02  <peter1138> Any guesses as to what this is?
13:50:58  *** asasnat has joined #openttd
13:50:58  <asasnat> idk but the straight orthogonal lines remind me of coal mine subsidence patterns
13:54:33  <truebrain> a broken QR code!
14:56:06  <xarick> what to do when desired_slope is neither inclined nor flat? assert?
14:59:24  <xarick> if it is not in either state, then the terraform has already screwed up something
15:15:09  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1312074381400346695/image.png?ex=674b2bfd&is=6749da7d&hm=3ddab8a0ab1bb72c0350e701bdb59ab226e6ea7a0b0989682ae4efe840667224&
15:15:09  <xarick> 😦
16:05:49  *** tokai has joined #openttd
16:05:49  *** ChanServ sets mode: +v tokai
16:09:08  *** keikoz has joined #openttd
16:09:24  <peter1138> 10th July 3741 vs 26th July 3741. Well that's a difference.
16:34:13  *** Flygon has joined #openttd
16:44:04  <peter1138> vanilla nmlc
16:56:14  <xarick> using AyStarNode = CYapfNodeKeyTrackDir; I'd like to use ExitDir 🙂
16:57:17  <xarick> probably gonna be a bad idea
17:34:21  <mnhebi> andythenorth: nmlctoon :p
17:36:28  <LordAro> https://github.com/coveooss/json-schema-for-humans/pull/281#issuecomment-2508158117 lol
17:37:00  *** Wolf01 has joined #openttd
17:41:29  *** XYZ has joined #openttd
17:42:33  *** XYZ_ has joined #openttd
17:42:34  *** XYZ has quit IRC
17:44:39  *** XYZ has joined #openttd
17:44:39  *** XYZ_ has quit IRC
17:51:16  *** XYZ has quit IRC
17:51:25  *** XYZ has joined #openttd
18:10:20  <DorpsGek> [OpenTTD/nml] glx22 updated pull request #309: Change: Use extended Action1s https://github.com/OpenTTD/nml/pull/309
18:11:51  <DorpsGek> [OpenTTD/nml] glx22 commented on pull request #309: Change: Use extended Action1s https://github.com/OpenTTD/nml/pull/309#issuecomment-2508230965
18:16:54  <peter1138> mnhebi: nmltycoon
18:18:43  <mnhebi> peter1138: nmlmogul
18:31:14  *** XYZ has quit IRC
18:37:13  *** XYZ has joined #openttd
18:41:36  *** XYZ has quit IRC
18:41:40  *** XYZ_ has joined #openttd
19:09:11  *** XYZ_ has quit IRC
19:11:42  *** XYZ has joined #openttd
19:37:08  <xarick> I waste 1 entire day trying to do one simple thing and I fail miserably
19:38:00  <xarick> I still don't get pathfinders
19:38:43  <xarick> I try to get the neighbours and the stupid thing is going back and forth with the same neighbours
19:38:52  <xarick> like ping pong
20:16:16  <kuhnovic> That means they are not added to the closed list
20:17:58  <kuhnovic> Or they are added to the closed list but with different keys. That way the pathfinder can't detect that a node has already been processed, so it will happily add the same nodes over and over again.
20:33:01  <xarick> just figured it out
20:33:56  <xarick> decided to copy paste FollowTrack from the deceased NPF
20:34:12  <xarick> adapted it a bit for the river case
20:34:50  <kuhnovic> FollowTrack is also used by YAPF btw
20:35:38  <kuhnovic> I've also used it for the water region initialization. That way you "play by the same rules" as the ship pathfinder does. I do wonder how that works for your river case though.
20:36:38  <xarick> the river slope has no track, had to do this:
20:36:38  <xarick> ```            if (trackdirbits == TRACKDIR_BIT_NONE && IsTileType(dst_tile, MP_WATER) && IsRiver(dst_tile)) {
20:36:38  <xarick> trackdirbits = TrackBitsToTrackdirBits(AxisToTrackBits(DiagDirToAxis(GetInclinedSlopeDirection(GetTileSlope(dst_tile)))));
20:36:39  <xarick> }```
20:37:24  <_glx_> all PF work in the same way, you add node to the open list, they are processed, removed and added to closed list
20:39:43  <kuhnovic> True, but there are different way to implement the open and closed lists. We use maps with keys to identify nodes, there are other ways too.
20:40:52  <xarick> looks like I did it
20:41:05  <xarick> no more false assert on TestRiverConnection
20:41:53  <xarick> dealing with coast tiles made me do this
20:49:16  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1312158464058982410/image.png?ex=674b7a4c&is=674a28cc&hm=dfb2dc0f8899a4626c3517c17ffceae551dcdd9af456f3b04b274fd28715b592&
20:49:16  <xarick> it was saying there was no connection on this
20:49:38  <xarick> because coasts were not considered
20:50:42  <xarick> but to consider coasts, I wasted the entire day, but finally managed to do it
20:50:55  <xarick> I had to use trackdirs
20:51:44  <xarick> I had to ensure where it comes from and where it goes to has the correct trackdir
20:52:48  <xarick> it exploded in complexity only due to coasts :8
20:55:24  <xarick> got an assert somewhere else, finally
20:56:55  <xarick> this time an assert telling me the desired_slope for a river tile is neither inclined nor flat
21:05:35  <xarick> `if (cur_slope == desired_slope) MakeRiverAndModifyDesertZoneAround(tile);`
21:05:35  <xarick> this is dangerous
21:06:12  <xarick> needs extra checks
21:08:44  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1312163361013633114/image.png?ex=674b7edc&is=674a2d5c&hm=5d18df34357c0cec6bf8a7faa070f77358e72e1ad432271774a91ebb75017d52&
21:08:44  <xarick> uh oh... it can actually happen
21:11:21  <mnhebi> shouldn't you just ignore desired slope if it matches cur slope?
21:12:42  <xarick> no, it is widening, so it wants to make a river there
21:14:07  <xarick> this case actually self-corrected desired_slope to SLOPE_FLAT then terraformed cur_slope to flat
21:14:17  <xarick> and placed river
21:16:16  <xarick> I think I'm moving the assert to somewhere else
21:16:49  <xarick> to places where it's about to place river tiles
21:29:32  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1312168596524371978/image.png?ex=674b83bc&is=674a323c&hm=23baa67991ba511a326a22411c7287292e21ecdea2717afa9d6856556512c431&
21:29:32  <xarick> still fine, it raised the W corner on the left tile to flatten it and add a river
21:30:12  <xarick> oh, actually...
21:30:47  <xarick> i actually don't know what happened first, this circular tile search is difficult to follow
21:33:15  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1312169533024370759/image.png?ex=674b849b&is=674a331b&hm=266e8664493a3f4150e77482ba789e6a12199e81bb32ab9830b69211e5a17171&
21:33:16  <xarick> peter1138: is this your doing?
21:58:34  <peter1138> Nope, I'm not attempting to read a string parameter as integer.
22:04:24  <mnhebi> who wouldn't want to read a string as a integer.
22:04:44  <mnhebi> its the reverse that is not funny
22:06:11  <DorpsGek> [OpenTTD/nml] PeterN commented on pull request #309: Change: Use extended Action1s https://github.com/OpenTTD/nml/pull/309#issuecomment-2508697481
22:07:36  <xarick> it only happens in relwithdebinfo
22:07:43  <xarick> doesn't happen in debug
22:12:02  <_glx_> put a breakpoint on this debug message
22:21:51  <DorpsGek> [OpenTTD/nml] glx22 commented on pull request #309: Change: Use extended Action1s https://github.com/OpenTTD/nml/pull/309#issuecomment-2508705268
22:23:55  *** Wolf01 is now known as Guest1575
22:23:57  *** Wolf01 has joined #openttd
22:30:01  *** Guest1575 has quit IRC
22:34:03  *** peter1139 has quit IRC
22:37:21  *** peter1139 has joined #openttd
22:46:53  <xarick> i'm unsure how to reproduce 😮
22:46:59  <xarick> seems to be on a timer
22:48:43  <_glx_> it's a GetString, or a DrawString
23:01:09  *** keikoz has quit IRC

Powered by YARRSTE version: svn-trunk