IRC logs for #openttd on OFTC at 2024-03-09
            
00:00:22 *** Leopold has quit IRC (Remote host closed the connection)
00:01:48 *** Leopold_ has joined #openttd
00:05:44 *** andythenorth[m] has quit IRC (Quit: Client limit exceeded: 20000)
00:19:51 *** Leopold_ has quit IRC ()
00:48:34 *** Leopold_ has joined #openttd
01:20:08 <xertov> https://cdn.discordapp.com/attachments/1008473233844097104/1215831455444500581/image.png?ex=65fe2e48&is=65ebb948&hm=ba66f1ad937b7f25671ca666dcd5dbedbce7883e7fbfdbfa185d8952a2e12f55&
01:20:14 <xertov> ????????????
01:20:21 <xertov> shouldnt it be 12 months
01:20:59 <xertov> STR_NEWS_EXCLUSIVE_RIGHTS_DESCRIPTION_MINUTES is the name of the string but i ve never heard it being for 12 minutes it sounds wrong
01:27:51 <Eddi|zuHause> we now have a setting to decouple the calendar progress from the economy grogress
01:27:55 <Eddi|zuHause> *progress
01:28:53 <Eddi|zuHause> and roughly 1 original month = 1 real time minute
01:30:19 <xertov> i see
01:30:31 <xertov> thank u
01:55:32 <wensimehrp> Could someone please tell me what is transfer credits?
01:57:15 <Eddi|zuHause> when you use transfer orders, or enable cargo distribution, money only arrives on your bank account at the final destination. but for accounting purposes, transfer credits are added to vehicles making partial trips
01:57:42 <Eddi|zuHause> it's not real money, just there so intermediate vehicles don
01:57:49 <Eddi|zuHause> 't run at a loss
02:00:47 <_glx_> final leg can make a huge loss if previous transfer were too high
02:02:20 *** gelignite has quit IRC (Quit: Stay safe!)
02:14:22 <wensimehrp> Ah so they are fake numbers that only shows on vechicle stats.
02:14:22 <wensimehrp> I'll change the translation then, the current translation is wrong.
02:14:22 <wensimehrp> Also, what does "leg" mean?
02:14:35 <wensimehrp> (might be stupid to ask)
02:30:50 <emperorjake> Each time a cargo transfers to a different vehicle can be referred to as a new "leg" of a journey
02:36:08 <wensimehrp> Thanks
02:40:29 *** Wormnest has quit IRC (Quit: Leaving)
03:39:29 *** D-HUND has joined #openttd
03:43:14 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:45:01 *** gnu_jj_ has joined #openttd
03:48:12 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
04:41:26 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/ce3d0097f648d23d5628c74d05b6f9abafbd33bc
04:41:27 <DorpsGek> - Update: Translations from eints (by translators)
05:08:35 *** keikoz has joined #openttd
07:07:39 <andythenorth> can we just connect eints to GPT?
07:07:55 <andythenorth> or do we like the community-building aspect of eints? 😛
07:08:40 *** kamnet has joined #openttd
07:08:40 <kamnet> https://cdn.discordapp.com/attachments/1008473233844097104/1215919159955820544/image.png?ex=65fe7ff6&is=65ec0af6&hm=a7489350a8ce05b7376c2766f8490a88031f17ee318f8c39f18e55ba174342d4&
07:08:40 <kamnet> I've never noticed this until just now. The name of my oldest NewGRF is mangled in Bananas because the length limit. Very frustrating. 😦
07:26:48 <peter1138> andythenorth: I like the "built by an actual human" aspect of eints.
07:30:16 *** keikoz has quit IRC ()
07:32:53 <andythenorth> if I could get grfs from GPT
07:33:02 <andythenorth> that might be better for everyone
07:33:29 <andythenorth> by "GPT" I mean "generally magical", not specifically GPT
07:37:48 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #12240: Codefix: Fully initialise `MidiFile::DataBlock` to avoid gcc warning. https://github.com/OpenTTD/OpenTTD/pull/12240
07:41:20 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12240: Codefix: Fully initialise `MidiFile::DataBlock` to avoid gcc warning. https://github.com/OpenTTD/OpenTTD/pull/12240#pullrequestreview-1926138662
07:42:55 *** keikoz has joined #openttd
07:46:05 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1215928581419700234/image.png?ex=65fe88bc&is=65ec13bc&hm=9825d7ded0db1ab7330b779cbc6ffe7088f503816bbceab07fa1358e37220a5a&
07:46:05 <peter1138> Huh
07:47:26 <peter1138> Well, time to go.
07:48:21 *** HerzogDeXtEr has joined #openttd
07:48:55 <andythenorth> I might go out
07:48:57 <andythenorth> not yet though 😛
07:49:07 <reldred> it's far too hot here to leave the house
07:56:05 *** gelignite has joined #openttd
07:58:15 <kamnet> reldred: Is it bake an egg on the tarmac hot?
07:58:36 <kamnet> dashboard cookie baking hot?
08:03:02 *** Extrems has quit IRC (Quit: ZNC 1.7.5 - https://znc.in)
08:03:16 <reldred> eh, was only around 40°C
08:04:11 *** Extrems has joined #openttd
08:10:11 <kamnet> So not even halfway to hell. Not horrible. 🙂
08:10:52 <reldred> Oh it certainly isn't pleasant. If the UK saw these temperatures people would be dying on the sidewalk.
08:11:16 <reldred> This summer so-far has been relatively tame, though March always brings out a few last minute surprises.
08:38:18 <andythenorth> Did peter1138 go out? 😛
08:38:36 <andythenorth> I need 3cc for London tube trains 😛
08:39:07 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1215941931230826627/image0.jpg?ex=65fe952b&is=65ec202b&hm=7d12da4125d7485994e3de766ae35f874f1724b8f0651715932b88773d326da4&
08:46:00 <truebrain> peter1138: Huh? Indeed .. compiler bug?
08:48:12 <DorpsGek> [OpenTTD/website] michicc updated pull request #305: Add: Blog post about sausage making https://github.com/OpenTTD/website/pull/305
08:48:15 <DorpsGek> [OpenTTD/OpenTTD] 0marduk commented on discussion #12230: What exactly is "dirty" in the engine? https://github.com/OpenTTD/OpenTTD/discussions/12230
08:49:36 <DorpsGek> [OpenTTD/website] TrueBrain approved pull request #305: Add: Blog post about sausage making https://github.com/OpenTTD/website/pull/305#pullrequestreview-1926163516
08:49:39 <DorpsGek> [OpenTTD/OpenTTD] michicc commented on discussion #12230: What exactly is "dirty" in the engine? https://github.com/OpenTTD/OpenTTD/discussions/12230
08:51:31 <DorpsGek> [OpenTTD/OpenTTD] 0marduk commented on discussion #12230: What exactly is "dirty" in the engine? https://github.com/OpenTTD/OpenTTD/discussions/12230
08:52:26 <DorpsGek> [OpenTTD/website] michicc merged pull request #305: Add: Blog post about sausage making https://github.com/OpenTTD/website/pull/305
08:59:25 <truebrain> Steam done
08:59:34 <andythenorth> 🙂
08:59:40 *** Ox7C5 has joined #openttd
09:19:43 <jfs> And now after reading that sausage making post again, one remaining common question strikes me: "why can't you just add X feature from jgrpp?"
09:20:12 <jfs> But that would likely also have extended the post much further to try to answer that
09:27:10 <reldred> I think it would be good to see a explanation of exactly why a particular feature may be cash money in JGRPP but not really 'suitable' for OpenTTD. It's something that I've kinda grown to accept more as years go on and kinda implicitly understand why these days, but I think it's a subject some folks would like to see expanded upon.
09:29:08 <michi_cc> jfs: Well, the practical answer is already given: "It is not included yet because nobody volunteered their time for it."
09:29:49 <michi_cc> IMHO there are a lot of features from JGRPP that I'd like very much conceptually, but need work to make them more accessible and discoverable.
09:30:16 <andythenorth> I have 2 observations 😛
09:30:17 *** bendn has joined #openttd
09:30:17 <bendn> truebrain: i think compiler bug should be the last response, not the first 😅
09:30:33 <andythenorth> one theme is that JGRPP often says "this is not suitable for vanilla"
09:30:34 <andythenorth> 😛
09:30:50 <michi_cc> reldred: Unless you've made a PR that was rejected, there is no JGRPP feature that is not suitable.
09:31:42 <michi_cc> Not every feature might be suitable straight up, but that comes back again to the time thingy.
09:32:16 <reldred> michi_cc: Hmm, perhaps I didn't word it correctly, probably that some of the features *as they're currently implemented* aren't suitable. The acceptable level of complexity is higher in JGRPP and that shows in how some features are implemented.
09:32:29 <reldred> OpenTTD proper needs to be a lot more polished, and approachable.
09:32:38 <truebrain> bendn: We have sufficient of experience and different compilers we work with that it won't be the first , let alone the last, compiler bug we find (and report and get fixed) .. and given the information, it is not as wild of a guess as you might think
09:33:39 <reldred> And no, I've buried the hatchet. I know I threw a lot of shade about PR's not being reviewed in a timely fashion but that's long since been resolved, but yes again comes back to the time thing
09:35:39 <andythenorth> my JGRPP experience is pretty limited, but I would guess it would be easy for people to make pet pony lists of JGRPP features
09:35:55 <andythenorth> would they cohere though? 😛
09:45:17 <Rubidium> truebrain: I think bendn is technically correct; the error message seems to be coming from cppcheck, not the actual compiler. I would consider the default member initializer being missed a bug in cppcheck though
09:47:14 <_zephyris> andythenorth: A git discussion with separate sections people can up/down vote on would be great. Like 2TT's default settings one.
10:04:30 <_jgr_> _zephyris: People will vote yes for headline features even if they wouldn't fit or aren't actually implementable
10:05:47 <_jgr_> Stunning like that could lead to problems with managing expectations
10:07:36 <truebrain> Rubidium: Splitting hairs now? 😄
10:09:16 <_zephyris> _jgr_: Depends how you ask the question - but expectation management in the description would be key
10:15:31 <michi_cc> Hmm, I think we need to re-word our project goals <https://github.com/OpenTTD/OpenTTD/blob/master/CONTRIBUTING.md#project-goals>. According to that, half of OTTD 14 is in fact "not encouraged" 🙂
10:17:33 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #12237: Change: [CI] switch MacOS to the macos-14 runner and use arm64 for CI https://github.com/OpenTTD/OpenTTD/pull/12237#issuecomment-1986816707
10:18:32 <truebrain> michi_cc: although I fully understand those goals, personally I never felt that attached to it. Sounds like very dull to me, with little possibility for more innovation. And yeah, looking at 14.0, it seems more developers think like that 😛
10:24:30 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #12241: Codechange: [CI] manually install vcpkg for all targets https://github.com/OpenTTD/OpenTTD/pull/12241
10:26:56 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #12242: Codechange: [CI] switch to arm64 for MacOS builds https://github.com/OpenTTD/OpenTTD/pull/12242
10:28:29 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #12241: Codechange: [CI] manually install vcpkg for all targets https://github.com/OpenTTD/OpenTTD/pull/12241
10:29:08 <truebrain> owh, lol, yes, 12242 is only possible after upgrading to macos-14 😄 I forgot 😛
10:31:25 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain dismissed a review for pull request #12237: Change: [CI] switch MacOS to the macos-14 runner https://github.com/OpenTTD/OpenTTD/pull/12237#pullrequestreview-1925930504
10:31:28 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #12237: Change: [CI] switch MacOS to the macos-14 runner https://github.com/OpenTTD/OpenTTD/pull/12237
10:34:09 <truebrain> and ofc something totally unrelated to what I am doing broke 😛
10:34:32 <Rubidium> I would've just made one PR with three commits and not squashed it upon merging
10:34:49 <truebrain> I like big numbers
10:37:31 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1215971723569008661/image.png?ex=65feb0ea&is=65ec3bea&hm=0959c050e255370aed03791f95feec3d7bde06f621568c3a043e478baa1bd811&
10:37:31 <xarick> Maximum number of non-sticky windows, isn't disabled supposed to be unlimited?
10:37:58 <Rubidium> truebrain: can I recommend https://www.amazon.com/2018%E5%B9%B4%E6%9C%80%E5%A4%A7%E3%81%AE%E7%B4%A0%E6%95%B0/dp/4909045198 to you? :D
10:38:04 <andythenorth> Goals were goals, they could change
10:38:19 <andythenorth> They were mostly from frosch iirc
10:41:51 <truebrain> Rubidium: ghehehe 😄
10:44:31 <truebrain> okay .. so `dump_syms` fails to compile when installing via `cargo install`, but works fine if I do a git clone and build it
10:44:32 <truebrain> how?!
10:45:58 *** SigHunter has quit IRC ()
10:47:40 <truebrain> ah, finally
10:50:47 *** SigHunter has joined #openttd
10:55:19 <frosch123> all the news posts gave fresh content for AI generated spam mails
10:55:28 <frosch123> do we have a "Holger" on the team?
10:58:02 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #12243: Codechange: [CI] use "cargo install --locked" to use pinned dependency versions https://github.com/OpenTTD/OpenTTD/pull/12243
10:59:53 <truebrain> Rubidium: anyway, reason I make separate PRs out of it, as I need to make a release on my own fork for them, to see if it works. Doing everything at once means I might be looking at equal amount of bugs 😛 This just makes it easier to see which commit works, and which doesn't
11:00:03 <truebrain> tldr: maintaining this shit is a nightmare 😛
11:00:13 <truebrain> and a lot of waiting ... 😄
11:03:37 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12213: Codechange: Where the ship comes from is already known https://github.com/OpenTTD/OpenTTD/pull/12213
11:04:29 <truebrain> frosch123: what I found more amuzing, is that mister o got added to the Teams channel in Microsoft for the signing stuff 🙂
11:04:45 <truebrain> they are actually using their own product internally .. I wouldn't have guessed that, given the state of the product 😛
11:07:03 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #12243: Codechange: [CI] use "cargo install --locked" to use pinned dependency versions https://github.com/OpenTTD/OpenTTD/pull/12243#issuecomment-1986826811
11:08:12 *** SigHunter_ has joined #openttd
11:10:16 *** nielsm has joined #openttd
11:12:49 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
11:13:23 <frosch123> what can i say, i am working for a corporation who does not use teams, because it considers it a competitor
11:14:02 *** gelignite has quit IRC (Quit: Stay safe!)
11:14:12 <frosch123> and every developer thinks... what? since when do we compete with that
11:15:07 <DorpsGek> [OpenTTD/OpenTTD] glx22 merged pull request #12205: Change: [Script] Match FormatString behaviour more closely https://github.com/OpenTTD/OpenTTD/pull/12205
11:18:31 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12206: Fix #12193: Don't use the entire docking area when computing closest station tile https://github.com/OpenTTD/OpenTTD/pull/12206
11:23:26 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12194: Fix: Changing NPF max search nodes while in-game had no effect https://github.com/OpenTTD/OpenTTD/pull/12194
11:25:09 <truebrain> Lolz
11:26:06 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12156: Fix #11862: Ships leaving docks could be momentarily lost https://github.com/OpenTTD/OpenTTD/pull/12156
11:29:46 <frosch123> i guess it started with the feature that users could comment on the work/stuff created by other users of the product. then someone patched on the inverse: something forum-like where you could attach the work/stuff to. then someone patched on something instant-messaging like. and then someone patched on voice calls.
11:30:05 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12097: Change: [Script] Improve some ScriptAirport return values for AT_OILRIG airport type https://github.com/OpenTTD/OpenTTD/pull/12097
11:30:24 <frosch123> i guess every step makes sonse on their own. but the patch-on-patch-on-patch only makes sense in context of the original product, and not as a product on its own
11:33:33 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12096: Add: [Script] ScriptAirportTypeList https://github.com/OpenTTD/OpenTTD/pull/12096
11:37:07 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12093: Add: [Script] GetTileOfAirport https://github.com/OpenTTD/OpenTTD/pull/12093
11:40:07 <truebrain> Hmm .. GitHub announcements not working? Owh well, could use a quick review of https://github.com/OpenTTD/OpenTTD/pull/12243 plz
11:40:39 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12088: Add: [Script] GetAirportPlaneCompatibility https://github.com/OpenTTD/OpenTTD/pull/12088
11:41:09 <truebrain> Owh, is working on IRC .. so Discord is being silly 🙂
11:41:37 <truebrain> frosch123: Sounds like all software that exists 😛 OpenTTD is also patch on patch on patch 😄
11:42:03 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #12243: Codechange: [CI] use "cargo install --locked" to use pinned dependency versions https://github.com/OpenTTD/OpenTTD/pull/12243#issuecomment-1986833575
11:42:11 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #12243: Codechange: [CI] use "cargo install --locked" to use pinned dependency versions https://github.com/OpenTTD/OpenTTD/pull/12243#pullrequestreview-1926183847
11:42:14 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #12243: Codechange: [CI] use "cargo install --locked" to use pinned dependency versions https://github.com/OpenTTD/OpenTTD/pull/12243
11:42:56 <truebrain> Owh, all Discord webhooks are not working .. lol
11:43:43 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12087: Add: [Script] GetAirportNumTerminals https://github.com/OpenTTD/OpenTTD/pull/12087
11:44:36 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #12241: Codechange: [CI] manually install vcpkg for all targets https://github.com/OpenTTD/OpenTTD/pull/12241
11:47:14 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12084: Add: [Script] GetAirportNumHangars, simplify GetNumHangars https://github.com/OpenTTD/OpenTTD/pull/12084
11:47:59 <kuhnovic> https://cdn.discordapp.com/attachments/1008473233844097104/1215989460643217498/image.png?ex=65fec16f&is=65ec4c6f&hm=54f54c228432c8b750d55aff0bef06e97876b05552ab203aabd880158dd977ba&
11:47:59 <kuhnovic> How do we feel about introducing the ability for ships to turn around whenever they want (with the right penalty to discourage this as much as possible)? The reason I'm asking is that ships in long canals have no way to turn around at the moment. This means they have to sometimes take massive detours to turn around, where "doing an Ever Given" by ramming it into the riverbank would allow the ship
11:47:59 <kuhnovic> to reverse. For example, and I know this is exagerrated, this ship has to go all the way to the end of the yellow line to turn around if it had to:
11:50:28 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #12083: Add: [Script] Hangar index parameter to ScriptAirport::GetHangarOfAirport https://github.com/OpenTTD/OpenTTD/pull/12083
11:50:30 <truebrain> if it is just to avoid ships making huge detours, to me that sounds more like a player-issue than something the game should allow
11:50:39 <truebrain> you could argue the same why trains can't just reverse
11:50:47 <truebrain> (with an identical setup 😄 )
11:51:22 <kuhnovic> I had the same thought, and the same can be said for road vehicles. But then again, ships are not bound to any roads / rail...
11:51:51 <truebrain> they kinda are if you make layouts like yours 🙂
11:52:13 <truebrain> there needs to be some game in this game 😄 Can't make it stupidly simple for everyone 😛 😄
11:52:14 <kuhnovic> Hehe in a way yes
11:52:35 <kuhnovic> It's not that, it's more about fixing a pathfinder edge case that bugs me 😛
11:52:47 <truebrain> guess you asked the wrong question 😛
11:54:21 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #12241: Codechange: [CI] manually install vcpkg for all targets https://github.com/OpenTTD/OpenTTD/pull/12241#issuecomment-1986835786
11:54:21 <kuhnovic> Well I do want to stay true to the original gameplay somewhat, I don't want to change everything just for the sake of fixing a bug. Just testing the waters here (pun intended)
11:55:33 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #10411: Expose more functions to game scripts https://github.com/OpenTTD/OpenTTD/pull/10411
11:59:05 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick updated pull request #8492: Fix: Don't allow towns to terraform certain floodable tiles https://github.com/OpenTTD/OpenTTD/pull/8492
11:59:12 <truebrain> sometimes you find these rare gems on the Internet. On https://www.mediawiki.org/wiki/Alternative_parsers, it notes: `many alternative parsers exist, almost no unofficial parser powers any wiki site, except for wikitextparser which powers the OpenTTD wiki through TrueWiki. `
11:59:34 <truebrain> in other words: nobody is crazy enough to build their own wiki server which supports mediawiki .. owh wait, there is one
12:07:55 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1215994477555224676/image.png?ex=65fec61b&is=65ec511b&hm=d644c7d49d577d35f873b6fecf8f055b507019eaddb1683ba1271c0a86d9a9a5&
12:07:55 <xarick> floods still exist
12:16:44 <frosch123> lol, you should print that and put it on the wall of your bathroom
12:17:43 <truebrain> so I can shit on it? Or what is the link with the bathroom?
12:18:16 <frosch123> oh, just noticed... they deny the existence of gollum
12:18:37 <xarick> lol https://www.youtube.com/watch?v=r2npdV6tX1g
12:18:49 <truebrain> gollum doesn't do mediawiki pages, does it?
12:19:02 <frosch123> i don't know... things you are proud of, you put over your bed. things which are funny, you put next to the toilet
12:19:14 <truebrain> Germans are weird
12:19:31 <truebrain> ah, Gollum supports mediawiki via wikicloth
12:19:36 <truebrain> so yeah, they deny that existance 😛
12:19:45 <frosch123> truebrain: it does, that's what we started with, and then you decided its easier to write your own
12:19:53 <truebrain> and it was 😛
12:20:37 <truebrain> meh; I wish it was easier to filter the pull request list
12:20:46 <truebrain> so many PRs I don't care about, but I can't filter them out 😦
12:26:21 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #12136: Fix #12118: When adding an unbunching order, properly check for unsafe conditions https://github.com/OpenTTD/OpenTTD/pull/12136#pullrequestreview-1926188513
12:28:06 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #12142: Fix #12010: Use economy timer for vehicle stats minimum age, not calendar https://github.com/OpenTTD/OpenTTD/pull/12142#issuecomment-1986843918
12:35:44 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #12239: Fix #10370: increase maximum user-set engine name length to 256 https://github.com/OpenTTD/OpenTTD/pull/12239#issuecomment-1986845470
12:41:37 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #12142: Fix #12010: Use economy timer for vehicle stats minimum age, not calendar https://github.com/OpenTTD/OpenTTD/pull/12142#pullrequestreview-1926190221
12:46:04 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12241: Codechange: [CI] manually install vcpkg for all targets https://github.com/OpenTTD/OpenTTD/pull/12241#pullrequestreview-1926190678
12:47:41 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain dismissed a review for pull request #12241: Codechange: [CI] manually install vcpkg for all targets https://github.com/OpenTTD/OpenTTD/pull/12241#pullrequestreview-1926190678
12:47:44 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #12241: Codechange: [CI] manually install vcpkg for all targets https://github.com/OpenTTD/OpenTTD/pull/12241
12:47:48 <truebrain> Sorry Rubidium; but just now that the CI actually started to do my PR, I noticed a mistake 🙂
12:47:55 <truebrain> the CI queue is huge, sadly .. so this will take a while
12:49:51 <truebrain> hmm .. Discord webhook is giving a 403 .. that is not good
12:57:46 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #12244: Revert #11606: Don't auto-build past tunnelbridge ends https://github.com/OpenTTD/OpenTTD/pull/12244
13:03:42 <DorpsGek> [OpenTTD/DorpsGek] TrueBrain opened pull request #207: Fix: send a valid user-agent when making Discord webhook calls https://github.com/OpenTTD/DorpsGek/pull/207
13:03:50 <truebrain> seems to be Cloudflare that no longer likes us 😄
13:04:52 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #12244: Revert #11606: Don't auto-build past tunnelbridge ends https://github.com/OpenTTD/OpenTTD/pull/12244#pullrequestreview-1926192537
13:05:12 <truebrain> ugh, this huge CI queue is annoying as fuck
13:05:51 <truebrain> happens when someone decide to update 15 PRs, all at once .. useful, etc
13:06:24 <Rubidium> ... especially when they do not have a conflict :(
13:06:48 <truebrain> or have any feedback, comments, reason-to-update
13:06:54 <truebrain> owh well ... guess we will sit on our ass instead 🙂
13:08:49 <truebrain> what I always forget, that the limit is per organisation
13:08:58 <truebrain> so my attempt to fix DorpsGek is also queued 😄
13:09:03 <truebrain> I understand why GitHub did that 🙂
13:09:39 <michi_cc> You mean we should hit cancel on all those PR actions? 😛
13:09:45 <truebrain> I did consider it
13:09:55 <truebrain> but that would make me the "bad guy" once again
13:10:00 <truebrain> so feel free 😉
13:10:37 <truebrain> GitHub does have the right attitude towards first-time contributors, where CI is not automatically started for them
13:10:41 <truebrain> sadly, that only works once 😛
13:20:50 <truebrain> I wonder if I can build the arm64 docker images for most of our software on the macos-14 .. as that is native arm64 .. might be a lot quicker than the qemu builds we currently do
13:24:03 <peter1138> Hi
13:24:30 <truebrain> how many km? 😛
13:28:09 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #12136: Fix #12118: When adding an unbunching order, properly check for unsafe conditions https://github.com/OpenTTD/OpenTTD/pull/12136
13:28:12 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed issue #12118: [Bug]: Most "unbunching" compatibility checks are done only on GUI side https://github.com/OpenTTD/OpenTTD/issues/12118
13:34:00 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #12244: Revert #11606: Don't auto-build past tunnelbridge ends https://github.com/OpenTTD/OpenTTD/pull/12244#issuecomment-1986858664
13:38:39 <michi_cc> Well, I guess you need to exercise the CI even more. Apparently black said no to DorpsGek.
13:38:51 <truebrain> first waiting for my preview to be
13:38:55 <truebrain> don't want to be back in the queue AGAIN
13:38:56 <truebrain> 😛
13:39:08 <truebrain> CI is almost caught up, so there is that
13:39:23 <peter1138> 114 km.
13:39:36 <truebrain> that is a lot (to me)
13:39:42 <peter1138> That is a lot to me.
13:40:10 <truebrain> doing 5km is already like "PFFFFFF, that is far"
13:41:01 <truebrain> hmm .. okay, that does not fix DorpsGek
13:44:22 <truebrain> I guess the issue might be that I am forwarding it via a Cloudflare Worker ... but stupid Discord still doesn't support IPv6 😦
13:45:52 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #8907: Several character overlaps in music box https://github.com/OpenTTD/OpenTTD/issues/8907
13:46:04 <peter1138> Oof legs are tingling
13:46:26 <peter1138> Also I need to lose weight, I get dropped going up hills 😦
13:55:11 <truebrain> okay, the error we get back is `"{\"message\": \"internal network error\", \"code\": 40333}"`
13:55:15 <truebrain> lovely 😄
13:55:28 <truebrain> but it basically means we are blocked for one reason or another
13:56:02 <truebrain> if I would guess, it is because the Cloudflare Worker IP is blocked (it is a single IP for all workers, if I understand it correctly)
13:58:07 <DorpsGek> [OpenTTD/DorpsGek] TrueBrain updated pull request #207: Fix: send a valid user-agent when making Discord webhook calls https://github.com/OpenTTD/DorpsGek/pull/207
13:58:24 <truebrain> Rubidium: if you can be so kind to re-approve https://github.com/OpenTTD/OpenTTD/pull/12241, would be much appreciated 🙂
13:59:09 <DorpsGek> [OpenTTD/OpenTTD] michicc approved pull request #12241: Codechange: [CI] manually install vcpkg for all targets https://github.com/OpenTTD/OpenTTD/pull/12241#pullrequestreview-1926198212
13:59:12 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12241: Codechange: [CI] manually install vcpkg for all targets https://github.com/OpenTTD/OpenTTD/pull/12241#pullrequestreview-1926198219
13:59:13 <michi_cc> Not Rb, but still 🙂
13:59:21 <truebrain> also appreciated 🙂
13:59:48 <truebrain> right; I have to go for the rest of the day. I doubt the GitHub messages on Discord will recover on their own. I have some ideas how to fix it, but that will be tomorrow 🙂
13:59:50 <peter1139> Well, back to IRC then right?
14:01:22 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #12241: Codechange: [CI] manually install vcpkg for all targets https://github.com/OpenTTD/OpenTTD/pull/12241
14:01:35 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #8907: Several character overlaps in music box https://github.com/OpenTTD/OpenTTD/issues/8907
14:02:52 <Rubidium> truebrain: could some magic be done for #12244 to circumvent the commit message checker upon a squash?
14:03:01 <DorpsGek> [OpenTTD/DorpsGek] TrueBrain merged pull request #207: Fix: send a valid user-agent when making Discord webhook calls https://github.com/OpenTTD/DorpsGek/pull/207
14:03:29 <truebrain> why? Isn't it easier to just type `git commit --amend` and fix it?
14:04:03 <truebrain> Sadly, we can't hook into GitHub at the moment of merging, to validate if the commit message is valid; that would be ideal 😄
14:04:23 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #12237: Codechange: [CI] switch MacOS to the macos-14 runner https://github.com/OpenTTD/OpenTTD/pull/12237
14:05:56 *** DorpsGek has joined #openttd
14:05:56 *** ChanServ sets mode: +o DorpsGek
14:05:59 <truebrain> so fix it in the upstream branch? 😄
14:06:01 <truebrain> I can fix it 🙂
14:06:33 <truebrain> there you go
14:06:35 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #12244: Revert #11606: Don't auto-build past tunnelbridge ends https://github.com/OpenTTD/OpenTTD/pull/12244
14:07:04 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #12237: Codechange: [CI] switch MacOS to the macos-14 runner https://github.com/OpenTTD/OpenTTD/pull/12237#issuecomment-1986866908
14:07:14 <Rubidium> thanks!
14:07:35 <peter1139> So `-Weffc++` seems to want explicit constructor member initialisation, even for things like std::string members.
14:08:06 <peter1139> It barfs on fmt/format.h so I can't even check the rest of our code :D
14:08:22 <truebrain> it is not a bad thing, to be explicit about these things; but given our code base ... good luck! 😛
14:13:13 <peter1139> Yeah, I would totally do it on our code, but things in 3rdparty is a bit different.
14:13:31 <truebrain> with CMake you can have different rules for different folders
14:13:32 <truebrain> that might help
14:13:51 <_glx_> he it would be the perfect moment if we had to move some issues to discussions 😉
14:14:20 <truebrain> not for IRC people 🙂
14:14:28 <peter1139> Maybe but it's included everywhere, so I'm not sure.
14:14:36 <truebrain> but even without the spam on Discord / IRC, it also spams people via email. Still not nice.
14:15:10 <_glx_> ah yeah the emails github still can't send to me
14:15:45 <peter1139> Is that something I've turned off... :D
14:16:11 <_glx_> if you used your openttd.org email it's 'automatic'
14:16:28 <truebrain> I deduce some sarcasm 😛
14:17:16 <truebrain> but that is annoying; I only registered my email address, and use another to receive GitHub notifications .. but .. it is not ideal, that GitHub can't mail to OpenTTD.org mails
14:17:26 <truebrain> wth?
14:17:51 <truebrain> I hope that didn't ping anyone 😛
14:18:57 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12237: Codechange: [CI] switch MacOS to the macos-14 runner https://github.com/OpenTTD/OpenTTD/pull/12237#pullrequestreview-1926200430
14:21:35 <FLHerne> I still don't see the point of discussions over issues
14:21:41 <FLHerne> it's the same, except less visible
14:28:01 <_jgr_> Less visible is to some extent a feature, not a bug
14:28:46 <_jgr_> Bug reports are generally higher priority than feature ideas
14:31:52 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1216030704471769098/image.png?ex=65fee7d8&is=65ec72d8&hm=9d6ef2a4b1cc98e1b4cbdca4a99361952220d2ed6784204d5c95f1d06d4c12e3&
14:31:52 <xarick> hmm... there's still some missing conditions... I'm a bad reviewer confirmed
14:35:49 <_glx_> but you should look at this before it's merged, not after 🙂
14:36:35 <xarick> sorry
14:38:19 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #12142: Fix #12010: Use economy timer for vehicle stats minimum age, not calendar https://github.com/OpenTTD/OpenTTD/pull/12142#issuecomment-1986873645
14:38:56 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #12142: Fix #12010: Use economy timer for vehicle stats minimum age, not calendar https://github.com/OpenTTD/OpenTTD/pull/12142
14:38:59 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed issue #12010: [Bug]: Vehicle profit/loss indicators use calendar age of vehicle, and may have eternal youth https://github.com/OpenTTD/OpenTTD/issues/12010
14:41:38 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #12237: Codechange: [CI] switch MacOS to the macos-14 runner https://github.com/OpenTTD/OpenTTD/pull/12237
14:48:47 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1216034957932101764/image.png?ex=65feebce&is=65ec76ce&hm=b731496961d11f4e7ff155402ab59ebc955da636401047d34febcd0bd82fee40&
14:48:47 <xarick> this would fix it, should I PR? or ... what do I do now?
14:51:39 <talltyler> Posting a screenshot of code certainly doesn’t fix it, especially since you haven’t explained what is broken
14:52:20 <talltyler> So yes, open an issue if you have a problem but no fix, or a PR if you have both a problem and a fix
14:53:47 *** gelignite has joined #openttd
14:53:59 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #12163: Add: Basic autocompletion on tab for console commands https://github.com/OpenTTD/OpenTTD/pull/12163#pullrequestreview-1926204519
14:54:09 <xarick> I'm double checking
14:54:45 <_glx_> the more important point is details 🙂
14:54:54 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #12244: Revert #11606: Don't auto-build past tunnelbridge ends https://github.com/OpenTTD/OpenTTD/pull/12244
14:54:57 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 closed issue #12102: [Bug]: No longer possible to add tram to road bridges/tunnels or vice versa since #11606 https://github.com/OpenTTD/OpenTTD/issues/12102
14:55:33 <xarick> checking with script_order what they are allowed to pass to CmdInsertOrder
14:57:00 <_glx_> script_order has some kind of validation too, CmdInsertOrder is just doing a final failsafe test
14:57:30 <_glx_> but CmdInsertOrder of course needs to be correct
14:58:19 <klote> Hi does any one know if its possible to edit landscape type from temperate to artic off a exist scenario?
14:58:27 <_glx_> no
14:58:32 <klote> :/
14:58:53 <_glx_> climate must be decided as first step
14:58:57 <klote> i have a scenario but opengfx landscape doesnt work on it.
14:59:12 <klote> and all other snow grfs neither
14:59:54 <peter1138> Save as heightmap, and recreate it.
15:00:12 <klote> yeh did that that works but then map is ugly
15:00:22 <klote> and missing all cities
15:00:28 <_glx_> map should be exactly the same
15:00:39 <_glx_> but blank
15:00:42 <klote> it isnt...
15:00:53 <klote> rivers are not the same neither are the montains
15:04:06 <xarick> that return CommandCost is somewhat resolved as ERR_UNKNOWN 😦
15:04:25 <_glx_> default error
15:04:25 <xarick> return_cmd_error would work, hmm what can I do here?
15:05:34 <_glx_> I think in this case it would be better to just open an issue with the list of allowed combinations that should not be allowed
15:06:24 <xarick> `return CommandCost(STR_ERROR_CAN_T_ADD_ORDER, STR_ERROR_UNBUNCHING_ONLY_ONE_ALLOWED);`
15:06:24 <xarick> vs
15:06:24 <xarick> `return_cmd_error(STR_ERROR_UNBUNCHING_ONLY_ONE_ALLOWED);`
15:06:43 <xarick> how can it return 2 error strings
15:06:52 <xarick> new feature?
15:07:02 <_glx_> it's not 2, it error title and details
15:09:22 <_glx_> and I think using `return_cmd_error` looks wrong in this function
15:10:54 <xarick> StringID 4138 is the error string that's being passed to scripts, let's see what this is
15:13:55 <xarick> static const StringID STR_ERROR_CAN_T_ADD_ORDER = 0x102A;
15:14:08 <xarick> the wrong one :=)
15:14:26 <peter1138> Well it's correct.
15:16:41 <xarick> that one is a bit pointless to know, scripts need the reason why mostly
15:17:37 <xarick> how do I solve?
15:19:18 <peter1138> Probably by leaving it as it is, but then allowing scripts to also have access to the additional error text.
15:25:51 <xarick> seems the GUI part is already handling this...
15:26:11 <xarick> doesn't even reach CmdInsertOrder when ctrl clicking on depot
15:30:37 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1216045486977454172/image.png?ex=65fef59d&is=65ec809d&hm=6625f0390f4dc153b2ac59f7906d9ee6b447eb4d92cfa5fcf1bbd0fca3c1b2a0&
15:30:37 <xarick> is this supposed to happen?
15:30:49 <xarick> message is printed to console at the same time?
15:31:03 <xarick> is it because im running a debug build
15:31:16 <peter1138> I've never seen that before.
15:31:49 <xarick> let me try a release
15:34:47 <_glx_> I don't remember seing errors in the console
15:35:06 <xarick> happens in release too
15:43:06 <_glx_> oh ShowErrorMessage prints everything above WL_INFO in the console
15:44:32 <_glx_> seems someone used the wrong level 🙂
15:49:07 <xarick> xarick: I confirm line 828 is required, scripts can send unbunch and halt flags
15:49:39 <xarick> until I actually add the unbunch to scripts, they can do it
15:51:24 <xarick> line 827 I was trying to be pedantic, not sure if it's required
15:52:18 <xarick> unbunch order that is not part of the orders, hmm is this even possible,
15:55:58 <peter1138> More coffee?
15:56:33 <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #12245: Fix ab315d0: Don't show "insert order" errors in the console https://github.com/OpenTTD/OpenTTD/pull/12245
15:56:37 <truebrain> okay, on staging DorpsGek is fixed
15:56:41 <truebrain> ah .. also for production 😄
15:56:41 <truebrain> nice
15:56:48 <_glx_> ah yes it works
15:57:08 <truebrain> what is lost, is lost btw
15:57:48 <_glx_> probably better
15:57:55 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #12242: Codechange: [CI] switch to arm64 for MacOS builds https://github.com/OpenTTD/OpenTTD/pull/12242
15:57:58 <_glx_> else it would be quite spammy
15:59:10 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #12245: Fix ab315d0: Don't show "insert order" errors in the console https://github.com/OpenTTD/OpenTTD/pull/12245#pullrequestreview-1926238930
15:59:33 <michi_cc> One could always read <https://weblogs.openttd.org/openttd/2024/03/09.html> instead 🙂
16:00:01 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #12224: Codechange: Replace type-punning with `std::bit_cast` in squirrel. https://github.com/OpenTTD/OpenTTD/pull/12224#issuecomment-1986897348
16:00:19 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11818: Codechange: use std::source_location over __FILE__/__LINE__ all over the code https://github.com/OpenTTD/OpenTTD/pull/11818#issuecomment-1986897428
16:00:42 <_glx_> I can imagine the "please rebase" without even checking 🙂
16:01:12 <Rubidium> I'm already working on the rebase, but it has some annoying conflicts
16:01:20 <truebrain> booooooo
16:01:24 <truebrain> conflicts BAD
16:01:27 <truebrain> working code GOOD
16:02:12 <DorpsGek> [OpenTTD/OpenTTD] merni-ns commented on pull request #12239: Fix #10370: increase maximum user-set engine name length to 256 https://github.com/OpenTTD/OpenTTD/pull/12239#issuecomment-1986897844
16:02:23 <_glx_> I remember all the conflicts during miniin "rebase"
16:02:44 <_glx_> it was often easier to do it in small steps
16:05:01 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #12239: Fix #10370: increase maximum user-set engine name length to 256 https://github.com/OpenTTD/OpenTTD/pull/12239#issuecomment-1986898555
16:05:22 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #12239: Fix #10370: increase maximum user-set engine name length to 256 https://github.com/OpenTTD/OpenTTD/pull/12239#issuecomment-1986898644
16:05:35 <merni> It needed to be said twice!
16:05:48 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #11818: Codechange: use std::source_location over __FILE__/__LINE__ all over the code https://github.com/OpenTTD/OpenTTD/pull/11818
16:05:58 <truebrain> merni: Lies! There is no second! 😛
16:07:20 <merni> Well, in that case changing the extra-text window to also show the vehicle name is probably not very difficult at all
16:07:44 <merni> "window" I mean section or whatever
16:08:12 <peter1138> truebrain: What was lost?
16:08:28 <peter1138> Message backlog?
16:10:11 <DorpsGek> [OpenTTD/OpenTTD] glx22 reopened issue #11528: [Bug]: When building a path through an existing one, the path is also laid under bridges https://github.com/OpenTTD/OpenTTD/issues/11528
16:10:22 <_glx_> the fix was reverted 😉
16:10:57 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #12224: Codechange: Replace type-punning with `std::bit_cast` in squirrel. https://github.com/OpenTTD/OpenTTD/pull/12224
16:12:16 <xarick> is it safe to say unbunch won't be in scripts for the time 14 releases?
16:12:21 <_glx_> I like the "reopen" emote
16:12:22 <xarick> feature locked?
16:13:35 <_glx_> it should be possible to add stuff for 14 API
16:13:56 <_glx_> but not after the final release
16:14:43 <xarick> oh, so I need to hurry up
16:16:23 <Rubidium> s/release/release candidate/
16:20:48 <LordAro> nothing stopping additions
16:20:52 <LordAro> but certainly no changes
16:20:58 <LordAro> /removals
16:22:09 <xarick> API scripts has been already bumped to 15 though
16:22:18 <_glx_> not an issue
16:22:41 <peter1138> `CI / Mac OS (x64) (pull_request) Successful in 4m`
16:22:45 <peter1138> 4m... what is this wizardry...
16:22:51 <_glx_> M1
16:24:44 <LordAro> :o
16:28:45 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #12242: Codechange: [CI] switch to arm64 for MacOS builds https://github.com/OpenTTD/OpenTTD/pull/12242#issuecomment-1986905599
16:33:48 <DorpsGek> [OpenTTD/OpenTTD] glx22 merged pull request #12245: Fix ab315d0: Don't show "insert order" errors in the console https://github.com/OpenTTD/OpenTTD/pull/12245
16:36:58 *** SigHunter_ has quit IRC ()
16:40:52 *** SigHunter has joined #openttd
16:48:32 <peter1138> LordAro, finally fitted tubeless to front. Got puncture on first ride :S
17:01:43 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12240: Codefix: Fully initialise `MidiFile::DataBlock` to avoid gcc warning. https://github.com/OpenTTD/OpenTTD/pull/12240
17:02:31 <xarick> I'm missing a regression test yet
17:03:05 <xarick> and then a PR + commit description, that's gonna take hours
17:03:58 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12224: Codechange: Replace type-punning with `std::bit_cast` in squirrel. https://github.com/OpenTTD/OpenTTD/pull/12224#pullrequestreview-1926265161
17:05:00 <peter1138> So did we decide to use specific runner version instead of waiting for an update?
17:11:12 <_glx_> waiting would have been required some changes anyway
17:13:08 <peter1138> *nod*
17:13:21 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12224: Codechange: Replace type-punning with `std::bit_cast` in squirrel. https://github.com/OpenTTD/OpenTTD/pull/12224
17:18:20 <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #12242: Codechange: [CI] switch to arm64 for MacOS builds https://github.com/OpenTTD/OpenTTD/pull/12242#pullrequestreview-1926267278
17:18:52 <_glx_> (auto merge on a CI change can't work, it requires super powers)
17:23:08 <Rubidium> just use those super powers to change the required checks and auto merge should do its thing. Just consider merging approved PRs before so those don't need to be rebased and reapproved
17:24:52 <xarick> hmm, are there Error messages regression tests?
17:24:56 <xarick> these would be useful
17:26:43 <xarick> "someone" should add more of these tests
17:26:48 <xarick> 🙂
17:31:36 <xarick> ppl keep changing commands and any difference in the error returned can be doomsday for an AI
18:12:56 <LordAro> peter1138: not worth it
18:15:46 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
18:20:42 <DorpsGek> [OpenTTD/OpenTTD] TheMowgliMan closed pull request #12239: Fix #10370: increase maximum user-set engine name length to 256 https://github.com/OpenTTD/OpenTTD/pull/12239
18:20:45 <DorpsGek> [OpenTTD/OpenTTD] TheMowgliMan commented on pull request #12239: Fix #10370: increase maximum user-set engine name length to 256 https://github.com/OpenTTD/OpenTTD/pull/12239#issuecomment-1986940216
18:24:15 <kuhnovic> Before I do something stupid: this deserves the backport label right? https://github.com/OpenTTD/OpenTTD/pull/12238
18:32:22 <_glx_> I think so
18:34:51 <xarick> ^_^
18:35:06 <xarick> kuhnovic is now handling merges? interesting
18:35:47 <kuhnovic> They made me a developer 🙂
18:37:04 <xarick> oh... big changes incoming
18:37:05 <xarick> i see
18:40:59 <kuhnovic> Well I wasn't planning on anything crazy. Just doing what I'm already doing, but with a new title 🙂
18:43:59 <peter1138> PRs prevent all that 😄
18:44:11 <peter1138> Not like "the good old days" of direct svn access.
18:45:02 <kuhnovic> I'm there's still people that will hold me accountable 😛
18:46:26 <_glx_> Yeah you can't approve your own PR
18:47:12 <michi_cc> People with merge access aren't that special anyway, or didn't you read todays blog post 😛
18:48:02 <_glx_> During SVN time it was often me committing "Fix: missing vcproj update" 🙂
18:48:03 <peter1138> It's pretty special.
18:49:20 <_glx_> It's so much better now
18:49:47 <peter1138> Don't go around making people "official devs" and then say it's not special 🙂
18:54:53 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1216096892832845985/image.png?ex=65ff257d&is=65ecb07d&hm=fe9122b2c37937c383f1ec82a9e02da2ffb4054f319de9d4a5c8d1f26aa23e73&
18:54:53 <xarick> mucho regression!
18:55:28 <DorpsGek> [OpenTTD/OpenTTD] merni-ns commented on issue #12121: [Bug]: Related to quick creation of go to orders https://github.com/OpenTTD/OpenTTD/issues/12121
18:55:31 <xarick> dinner time now though
18:57:38 <merni> Hm, 11470 is still outstanding
19:04:55 <kuhnovic> https://cdn.discordapp.com/attachments/1008473233844097104/1216099415891116173/image.png?ex=65ff27d6&is=65ecb2d6&hm=9a586f6c8a135d3f5dadf4720b612de27bf484bebc2c156fbb4f64fa353fd896&
19:04:55 <kuhnovic> I'm trying to use the backporting script now. I ran into a few conflicts which I've fixed. After that it seems to merge one commit and then fail. I wonder what I'm doing wrong.
19:16:09 <michi_cc> Looks like they all fail to cleanly apply. Did we change some fundamental thing somewhere? 🤔
19:16:46 <peter1138> Usually.
19:17:14 <_jgr_> You don't need to change anything fundamental or even major at all to get merge conflicts
19:17:48 <kuhnovic> I don't see any comflicts popping up after the first two
19:32:25 <kuhnovic> I started from scratch, this time it seems to go better. But some of the conflicts are nasty
19:33:42 <michi_cc> kuhnovic: You should have just one single conflict, I just ran it.
19:33:54 <michi_cc> And it failed before because #12136 wasn't tagged proberly.
19:34:07 <kuhnovic> https://cdn.discordapp.com/attachments/1008473233844097104/1216106766245429278/image.png?ex=65ff2eaf&is=65ecb9af&hm=0d45e94c85971f7e4c8d7a36075b2c856595287e5a6cf31bd65b2cf1ad287986&
19:34:07 <kuhnovic> I got this one, among others
19:34:15 <michi_cc> Did you set the correct release branch on backports.py?
19:34:37 <kuhnovic> If you say that you only have one conflict then probably not 😛
19:35:37 <michi_cc> To be sure, just do a git --reset hard to master first and remove any other untracked files.
19:36:05 <kuhnovic> I started with a clean master checkout like the script says... but should it be release then?
19:36:06 <peter1138> Hmm, shame std::initializer_list doesn't have an indexer operator 😦
19:36:24 <michi_cc> Oh, and side note to everybody not listening: If you *squash* a PR with backport requested, also place the tag `backport squash`.
19:37:16 <michi_cc> kuhnovic: No, the script does the branch handling by itself as long as you have `RELEASE = "14"` in it.
19:37:51 <peter1138> Never heard of that tag.
19:38:18 <michi_cc> Well, do more backport PRs, then you'll know it 😛
19:38:37 <LordAro> i feel like the script should be able to tell
19:38:49 <michi_cc> It's some quick in the GitHub API that there's apparently no way to query rebase/squash for a PR.
19:38:52 <kuhnovic> I'm using windows btw, I don't know if that matters
19:39:00 <peter1138> It has been way more common recently to use squash.
19:39:13 <peter1138> To get that elusive PR number in.
19:39:17 <michi_cc> More exactly: If the PR has more than one commit.
19:40:45 <michi_cc> It doesn't matter for single commit PRs. It's only relevant if the amount of commits in the PR doesn't match the amount of commits that it resulted in in master.
19:40:58 <kuhnovic> https://cdn.discordapp.com/attachments/1008473233844097104/1216108491920375918/image.png?ex=65ff304a&is=65ecbb4a&hm=14d3f31bddb09c100842b7ca6ef81ba7f7bfabcf0f062cfd6c006cb5603fda8c&
19:40:58 <kuhnovic> As usual: reading is hard
19:42:53 <peter1138> I would say that yes, there have been major changes since 13 🙂
19:45:16 <kuhnovic> A thing or two yes
19:48:54 <merni> Hm, how do you trigger a "Game save failed" error
19:49:23 <merni> I guess "Game load failed" is easier maybe?
19:50:17 <Rubidium> just change some bits/bytes near the end of a valid savegame file I'd guess
19:50:19 <kuhnovic> https://cdn.discordapp.com/attachments/1008473233844097104/1216110841229869076/image.png?ex=65ff327a&is=65ecbd7a&hm=57d97f4836f7cc6787aa2ac260a79080418fd93118b03c434c0f965b1413f0f2&
19:50:19 <kuhnovic> Got a lot further this time. Fixed the merge confict in saveload.h, but now I'm getting this again. Did you see this too michi_cc ?
19:51:00 <merni> Rubidium: Hm perhaps
19:51:18 <_jgr_> merni: Insert a deliberate mistake into the saveload code somewhere and recompile
19:51:43 <_jgr_> That sort of thing is generally the easiest way to test these sorts of error handling
19:52:16 <michi_cc> kuhnovic: No, it just worked after that commit. I guess nobody uses that with plain Windows (no WSL, cygwin, msys or whatever).
19:52:54 <LordAro> shouldn't matter...
19:53:12 <LordAro> unless git line endings isn't set up correctly
19:53:15 <michi_cc> But as long as it is still doing something, it's only two more PRs. So maybe you can just re-run a few times.
19:53:22 <Rubidium> might it be something weird like your master not being up-to-date or so?
19:53:23 <LordAro> or the file is wrong
19:53:47 <kuhnovic> I re-ran it a handful more times and now it's done. I'm just wondering if it skipped over anything?
19:53:49 <michi_cc> LordAro: I was more thinking that some conflict files aren't properly cleaned up.
19:54:08 <michi_cc> Merging #12237: Codechange: [CI] switch MacOS to the macos-14 runner
19:54:08 <michi_cc> Commit #0: ebd258b404e96da17efb64370bd1e23b987a81ea ...
19:54:08 <michi_cc> Merging #12244: Revert #11606: Don't auto-build past tunnelbridge ends
19:54:08 <michi_cc> Commit #0: e0e0d5f8fb7e92e5a3dfc766c3aab14a293a74b6 ...
19:54:08 <michi_cc> Merging #12245: Fix ab315d0: Don't show "insert order" errors in the console
19:54:10 <michi_cc> Commit #0: 82430a1086b92341ec914f3bd6a260ab74c8b3c4 ...
19:54:18 <michi_cc> That should be the ones after the conflict.
19:55:08 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic opened pull request #12246: Backport master into release/14 https://github.com/OpenTTD/OpenTTD/pull/12246
19:55:46 <kuhnovic> https://cdn.discordapp.com/attachments/1008473233844097104/1216112212825870356/image.png?ex=65ff33c1&is=65ecbec1&hm=201b165e3a38da7fec4a520b1efa1ee6f0aaa0078254136cb77a85e525f38a19&
19:55:46 <kuhnovic> Those are indeed the ones I got
19:56:06 <michi_cc> kuhnovic: You're supposed to copy the part after "Your commit message" to the PR.
19:56:30 <michi_cc> That is used for the backport.py --mark-done command.
19:57:06 <kuhnovic> Done
19:57:44 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #12246: Backport master into release/14 https://github.com/OpenTTD/OpenTTD/pull/12246#issuecomment-1986962333
19:57:45 <michi_cc> And sorry, but the script really did seem to break.
19:58:03 <michi_cc> You've got some missing stuff.
19:58:21 <kuhnovic> Ugh 😦
19:58:48 <michi_cc> I'll force-push over if that is okay
19:59:00 <kuhnovic> Of course, thanks
20:00:20 <michi_cc> Oh, did you actually commit after the cherry-pick failure?
20:00:48 <michi_cc> You have to do the commit yourself with a cherry-pick in contrast to a rebase.
20:02:03 <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #12246: Backport master into release/14 https://github.com/OpenTTD/OpenTTD/pull/12246
20:02:04 <LordAro> also make a PR improving the documentation of said script when you get to the end of it :)
20:02:50 <DorpsGek> [OpenTTD/OpenTTD] michicc commented on pull request #12246: Backport master into release/14 https://github.com/OpenTTD/OpenTTD/pull/12246#issuecomment-1986963322
20:03:19 <kuhnovic> michi_cc: I just ran the script again, it seemed to do all the work for me?
20:03:40 <michi_cc> No, that's unfortunately not how git cherry-pick works.
20:04:39 <michi_cc> So either make a manual commit or fix the conflict and then call `git cherry-pick --continue`
20:05:23 <kuhnovic> But I don't have any local changes other than the two backport scripts?
20:06:24 <michi_cc> After the saveload conflict, you had uncommited changes.
20:06:25 <kuhnovic> I'm still a bit of a git-noob, I've mostly worked with mercurial in the past. Just want that to be clear 😛
20:06:50 <michi_cc> And unless you actively do something with them, that commit will not be done.
20:07:54 <kuhnovic> Oh those had to be added as a separate commit? Right, I didn't do that. I thought fixing them and marking them as resolved / getting them stages was enough.
20:08:02 <michi_cc> I'm usually lazy for that part as I use Git Extension, which will suggest an action.
20:08:18 <michi_cc> Nope, either commit or cherry-pick --continue is needed.
20:08:32 <LordAro> git status will usually tell you what ... state the git repo is in
20:08:56 <LordAro> i.e. if there's an ongoing operation (like rebase, revert, cherry-pick, etc)
20:09:20 <kuhnovic> I use SourceTree, but it didn't suggest anything like that
20:10:36 *** marchnex has joined #openttd
20:10:38 <peter1138> Chucked in at the deep end.
20:10:45 <michi_cc> Never used that. Git Extentions will show a hint bar if you're in an active cherry-pick or rebase.
20:11:14 <kuhnovic> But is everything fixed now with your force push?
20:11:36 <michi_cc> Yes, it should be 🙂 Unless I messed up, too 🙂
20:12:09 <michi_cc> Someone should actually try to run the resulting binary though 🙂
20:12:14 <LordAro> presumably the description was correct regardless?
20:12:30 <michi_cc> Well, no, but I fixed that, too.
20:16:59 <_glx_> at least it's usable on windows now, last year it was not possible 🙂
20:18:04 <_glx_> and no label should be needed for squashed PR
20:19:58 <peter1138> michi_cc: Novel.
20:21:10 <michi_cc> _glx_: Ah, yes, I apparently forgot that was fixed 🙂
20:21:16 <DorpsGek> [OpenTTD/OpenTTD] merni-ns opened pull request #12247: Fix #11055: Make saveload failure error messages consistent with others https://github.com/OpenTTD/OpenTTD/pull/12247
20:21:23 <peter1138> Forums are funny. "I want to remove transmitters" "You can with cheats/sandbox mode" "But I want to remove transmitters without it being calling cheating!"
20:22:16 <_glx_> yeah usually when something depends on a most likely forgotten label being applied, someone manages to do things so the label is not needed 🙂
20:23:10 <Eddi|zuHause> isn't that the exact reason why it's now called "sandbox" instead of "cheat"?
20:23:58 <_glx_> but it still affects highscore IIRC
20:24:26 <merni> and the use of them is tracked unlike other settings
20:25:10 <kuhnovic> Do we have any documentation on what we keep or throw away in our changelogs?
20:25:13 <merni> MacOS is so fast 😮
20:26:02 <_glx_> mostly stuff visible to users (hence the recent Codefix and friends additions)
20:27:00 <_glx_> there should be a script for the changelog (in the same repo as backport)
20:41:37 <kuhnovic> Do I create the changelog PR in the release-backport branch?
20:49:50 <xarick> Should I create HasUnbunchingOrder, HasConditionalOrder, HasFullLoadOrder for scripts?
20:50:38 <xarick> at the time I don't think it's necessary
20:50:51 <_glx_> scripts don't need this kind of functions
20:51:10 <xarick> alright
20:51:35 <xarick> I have the branch ready, except for the description
20:53:52 <andythenorth> merni: used to be so slow 😛
20:56:49 <michi_cc> kuhnovic: I think we usually do a separate PR (which always means a separate branch).
20:57:10 <kuhnovic> Yeah that's what I figured by looking at RC1. I'm making it as we speak
20:57:12 <michi_cc> Base on release/14 though (and not on master).
20:57:28 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic opened pull request #12248: Changelog update for 14-RC2 release https://github.com/OpenTTD/OpenTTD/pull/12248
20:57:56 <kuhnovic> Wait hold on
20:58:00 <kuhnovic> SOmething is going wrong here
20:58:06 <michi_cc> Wrong branch (and you seem to have picked up some other commit) 🙂
20:58:29 <michi_cc> You made the branch from master I guess.
20:59:49 <kuhnovic> I thought I didn't, but yeah I messed something up. Just a moment
21:00:19 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #12249: Add: [Script] Unbunch order flag https://github.com/OpenTTD/OpenTTD/pull/12249
21:03:43 <Rubidium> I set the branch to merge to to 14 and that "extra" commit is now gone
21:06:10 <kuhnovic> So did I create it based on master?
21:06:51 <Rubidium> nah, you created it (locally) based on 14, but in github you didn't change the merge target from master to 14
21:07:36 <kuhnovic> Ah right, I didn't pay attention to that indeed. Live and learn!
21:14:34 <_glx_> you used the changelog script or did it by hand ?
21:15:52 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #12248: Changelog update for 14-RC2 release https://github.com/OpenTTD/OpenTTD/pull/12248#pullrequestreview-1926318078
21:17:00 <kuhnovic> Did it by hand
21:17:23 <_glx_> oh of course commit checker failed because wrong target
21:24:26 <DorpsGek> [OpenTTD/OpenTTD] michicc commented on pull request #12248: Changelog update for 14-RC2 release https://github.com/OpenTTD/OpenTTD/pull/12248#pullrequestreview-1926318808
21:25:08 <peter1138> Hmm, I guess `list.begin()[index]` would work.
21:25:19 <michi_cc> Oh, and maybe the changelog date is ambitious 🙂
21:30:12 <kuhnovic> michi_cc: I know 😛 I will change it when I address the review feedback
21:30:52 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #12248: Changelog update for 14-RC2 release https://github.com/OpenTTD/OpenTTD/pull/12248#pullrequestreview-1926319227
21:36:32 <DorpsGek> [OpenTTD/website] Kuhnovic opened pull request #311: Add: 14.0-RC2 announcement https://github.com/OpenTTD/website/pull/311
21:37:51 <kuhnovic> Alright, enough release stuff for now. Time for a whisky and then bedtime!
21:38:59 <kuhnovic> Thanks for the help, and putting up with me messing around. I'll get there eventually 😉
21:39:33 <Eddi|zuHause> who organizes the birthday party, btw? :p
21:44:10 <xarick> unbunch missed the train
21:53:24 *** marchnex has quit IRC (Quit: marchnex)
21:56:29 <peter1138> Oh right, someone did another blog post.
21:56:54 <LordAro> Eddi|zuHause: well volunteered
22:00:45 <peter1138> Hmm, branches, commits, and PRs, or... sleep.
22:05:46 <xarothbrook> sleep sounds good
22:15:31 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:15:47 *** nielsm has quit IRC (Ping timeout: 480 seconds)
22:24:38 <LordAro> sleep is for the weak
22:24:47 <LordAro> or week
22:36:09 *** Ox7C5 has quit IRC ()
22:38:51 <xarick> I'm thinking of ways to make this fail... <https://github.com/OpenTTD/OpenTTD/pull/12093/files#diff-aca53ffd4360a32f23bb83a75a76a4109f49212e1b54465fa5ab140d1c427615>
22:39:08 <xarick> airports with a hole, like the opengfx intercontinental
22:40:32 <xarick> at 180 degrees rotated, the top tile is now not even part of the airport
22:42:09 <xarick> how to solve... the whole point of this function was to facilitate adding orders to the airport
22:42:59 <andythenorth> peter1138: pixels
22:43:29 <xarick> if rotated airports once become a feature for AIs, they could place by top corner tile, but adding order with this tile will fail 😦
22:45:51 <xarick> Game Scripts can access human companies that may have this rotated airport
22:53:43 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1216156998031245382/Minnley_Market_Transport_0h_3m.png?ex=65ff5d77&is=65ece877&hm=a7767bc5b21f1b34921152719429acb5dd06ba995a912f49440c3ab0ee59d913&
22:53:43 <xarick> so this is possible... lol
22:56:59 <_glx_> seems most ScriptAirport functions use tile as parameter
22:57:21 <_glx_> so it's a problem in many cases
22:57:29 <_glx_> not only orders
22:59:49 <_glx_> I guess they should have precondition enforcing like ScriptAirport::RemoveAirport
23:00:38 <_glx_> but your ScriptAirport::GetTileOfAirport should probably use a stationID and not a tile as parameter
23:01:02 <xarick> the tile area seems to include holes
23:01:22 <xarick> I need to test by stationID too
23:02:06 <_glx_> yes area always include holes, it's just a (tile, width, height)
23:05:23 <_glx_> I understand why many functions work with tiles, but sometimes it seems to not be the best choice
23:06:10 <andythenorth> there's a lot of looking things up in GS
23:06:24 <andythenorth> can cache lookups, but it grows RAM quite fast
23:06:35 <andythenorth> and goes out of date WRT map 😛
23:06:39 <_glx_> for road/rail it makes sense to use tiles as they are fully modular
23:06:51 <_glx_> but airports are full blocks
23:07:11 <xarick> if (IsAirportTile(t) && !IsHangarTile(t) && ::Station::GetByTile(t)->index == st->index) return t;
23:08:21 <_glx_> for easier readability you could put each test on separate line
23:09:01 <_glx_> if (!IsAirportTile(t)) continue;
23:09:01 <_glx_> if (IsHangarTile(t)) continue;
23:09:01 <_glx_> ...
23:09:14 <xarick> ah I see
23:22:06 <truebrain> _glx_: my only worry about enabling both x64 and arm64 is that we hog up the runners even more. Those 4m could have been spend on other things too 😛
23:22:41 <truebrain> Not an issue for a single push, but if like today someone pushes 15+ PR updates at once, it matters
23:22:42 <_glx_> macos release should be a lot faster to build now
23:22:58 <truebrain> They are equally fast as before, the numbers told me
23:23:26 <truebrain> But even if they weren't, still 4m that can be spend on something else 😄
23:23:51 <truebrain> Dunno .. I see the pros and cons, still find it tricky to pick either side 😄
23:24:11 <_glx_> wondering if we should drop mingw
23:24:40 <truebrain> I have been asking that for how many years now? 😛
23:25:46 <michi_cc> Maybe at least one of the two mingws?
23:25:56 <truebrain> I was kinda hoping it would fail on C++20, but it didn't 😛
23:26:38 <_glx_> having both is like x86 and x64 with MSVC, they don't complain on the same thing
23:27:03 <truebrain> But when is the last time the MingW builds gave us any extra information?
23:27:22 <truebrain> Similar with win2019 btw .. we should honestly just stop running that 🙂
23:27:32 <_glx_> they are quite silent since I fixed the last warnings
23:27:57 <truebrain> Maybe, as compromise, we can push all these to a nightly or weekly job
23:28:06 <truebrain> Just so we know they still run
23:28:15 <_glx_> yeah should be enough
23:28:17 <truebrain> But remove them from CI
23:28:31 <truebrain> Their added value is so low .... so so low 😛
23:28:57 <truebrain> Is MSVC2019 actually still useful btw?
23:33:09 <truebrain> MinGW and MSVC2019 are good for a wopping 70m CI time, damn
23:35:56 <xarick> GSTileList_StationType this actually works correctly!
23:36:03 <xarick> I'm surprised
23:37:38 <_glx_> this list just use the full station rect
23:37:47 <_glx_> and filtering
23:40:00 *** gelignite has quit IRC (Quit: Stay safe!)
23:41:16 <truebrain> Hmm .. would we be able to run CodeQL on the macos runners? Would that be faster? 😄