β΄ go to previous day00:31:01 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13073: Add: NewGRF Badges feature https://github.com/OpenTTD/OpenTTD/pull/1307302:48:08 *** Wormnest has quit IRC (Quit: Leaving)03:06:01 *** debdog has joined #openttd03:09:35 *** D-HUND has quit IRC (Ping timeout: 480 seconds)03:22:57 *** gnu_jj has joined #openttd03:26:36 *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)04:03:40 *** D-HUND has joined #openttd04:07:05 *** debdog has quit IRC (Ping timeout: 480 seconds)04:42:01 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/ebc57634e43abda8bb2fc7ae18cef4b7dfead84d04:42:02 <DorpsGek> - Update: Translations from eints (by translators)05:10:49 *** keikoz has joined #openttd05:22:40 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #10835: Codechange: Use std::vector for GRFConfig lists. https://github.com/OpenTTD/OpenTTD/pull/10835#pullrequestreview-258568784106:01:35 *** Flygon has quit IRC (Read error: Connection reset by peer)06:12:53 *** keikoz has quit IRC (Ping timeout: 480 seconds)07:28:00 *** SigHunter has quit IRC ()07:30:54 *** SigHunter has joined #openttd08:16:35 <andythenorth> michi_cc: "asset" π08:16:41 <andythenorth> thanks though π08:27:27 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #10835: Codechange: Use std::vector for GRFConfig lists. https://github.com/OpenTTD/OpenTTD/pull/1083508:29:29 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #10835: Codechange: Use std::vector for GRFConfig lists. https://github.com/OpenTTD/OpenTTD/pull/10835#pullrequestreview-258596776408:49:12 *** kuka_lie has joined #openttd09:12:33 *** kuka_lie has quit IRC (Quit: leaving)09:13:10 *** kuka_lie has joined #openttd09:50:38 <xarick> hi09:51:26 *** mindlesstux has quit IRC (Quit: The Lounge - https://thelounge.chat)09:52:22 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334823582534074449/image.png?ex=679deed5&is=679c9d55&hm=d8aab57db9eb4c54d6c2339ef12407f6a3887ebeee111ad04f1f408a1918d70a&09:52:22 <xarick> am I misunderstanding something, or shouldn't the bus head to depot by now?09:52:30 *** mindlesstux has joined #openttd09:53:20 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334823824449081405/image.png?ex=679def0f&is=679c9d8f&hm=89aec98fd44d09888dbfea424e3690c1de16b1fbac266550cb0c5b867e3fcac9&09:53:20 <xarick> he's not going...09:54:02 <xarick> let me check breakdowns setting...09:54:24 <peter1138> Do AIs treat cargo classes as a mask or individual values?09:54:50 <xarick> oh crap, that was it, breakdowns set to none π09:54:55 <xarick> he's in the depot now09:55:10 <xarick> they treat as individual values11:02:52 <xarick> I'm having a hard time with order flags again11:08:12 <xarick> stuff I have already fixed and still not merged..11:12:02 <xarick> print(" AreOrderFlagsValid(): " + AIOrder.AreOrderFlagsValid(33662, AIOrder.OF_NON_STOP_DESTINATION));11:12:02 <xarick> this returns true on a waypoint11:13:36 <peter1138> It's a valid destination, yes.11:14:48 <xarick> Do not stop at the destination station. Only for trains and road vehicles. */11:15:16 <xarick> i mean... it has no effect11:15:26 <peter1138> That is not what Non-Stop means.11:16:09 <peter1138> Or is it.11:16:18 <peter1138> Okay, AI has OF_NON_STOP_INTERMEDIATE as well.11:17:42 <xarick> let me try this on an InsertOrder11:18:52 <peter1138> Anyway, it should be fine, it's the just default behaviour for waypoints anyway.11:19:29 <peter1138> There's been confusion in the past from non-native English speakers as to what "non-stop" means.11:20:36 <xarick> there's been disagreements between AreOrderFlagsValid vs the Command that checks the flags outside of script11:21:43 <xarick> InsertOrder(): true11:21:53 <xarick> so, no disagreement this time11:36:33 <xarick> very interesting find... AI can set these flags, they are saved in the order, they're not fact checked in OpenTTD's side11:36:50 <xarick> human players can't set some of these11:41:07 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334850948895473685/Captura_de_ecra_2025-01-31_114025.png?ex=679e0852&is=679cb6d2&hm=a2d7d0aa3a652632ac1b65a9a09f55c32c492b9419ceb0a1404ba1e08cf9ab24&11:41:07 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334850949314777159/Captura_de_ecra_2025-01-31_114048.png?ex=679e0852&is=679cb6d2&hm=8f1e29ae62ee653225ce89cf5370bdd75fb972030860069ae6e5d4a109ba703d&11:41:07 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334850949692526592/Captura_de_ecra_2025-01-31_114044.png?ex=679e0852&is=679cb6d2&hm=7e16400beaf537425ae7f9ea0bcdb0c2bd41b72511f137d3d40ef064d60e6d2a&11:41:59 <xarick> need to check 011:42:52 <DorpsGek> [OpenTTD/OpenTTD] telk5093 commented on pull request #13395: Fix #13392: Signs of removed stations are no longer visible. https://github.com/OpenTTD/OpenTTD/pull/13395#issuecomment-262700849811:47:43 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334852612914413589/image.png?ex=679e09df&is=679cb85f&hm=8be3dc8cd9269eb979e686405f79fd3821d5dab37521c319a86da6333ce9c591&11:47:43 <xarick> so, it's also valid11:50:20 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334853269943746633/image.png?ex=679e0a7b&is=679cb8fb&hm=fc4dc4a21a3fbb6b952e26d8e9fd4e64c8525d6169baa480bcf4fe6aa7af3144&11:50:20 <xarick> We, humans, only have 2 options, AIs get 4.11:51:20 <xarick> I understand the dilema11:52:07 <peter1138> IMHO, if the command allows it but the UI does not then there's a problem there, regardless of AI involvement.11:54:02 <xarick> it's about accessibility11:54:38 <xarick> but on the OpenTTD's side there should be a corrective measure11:56:01 <peter1138> The command could reject values that the GUI doesn't allow, or convert them to suitable equivalent values.11:56:27 <peter1138> (The problem with the latter is if there aren't any.)12:10:18 <xarick> maybe it shouldn't initialize as 0 ?<https://github.com/OpenTTD/OpenTTD/blob/master/src/order_cmd.cpp#L107>12:10:32 <xarick> just thinking12:18:28 <xarick> need to test ships12:19:38 <xarick> found a very interesting line, where I suspect ships will pass on the script side but fail on openttd side13:39:49 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #13379: Codechange: Remove unnecessary return type from AllocHeightMap https://github.com/OpenTTD/OpenTTD/pull/13379#pullrequestreview-258678848013:43:57 *** D-HUND is now known as debdog13:44:23 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13409: Change: [Script] GetStationID can no longer return the StationID of waypoints https://github.com/OpenTTD/OpenTTD/pull/13409#issuecomment-262738946313:54:08 <xarick> TallTylerviaGitHub: I looked at a few AIs that use ships and buoys, but it's difficult to discern they're affected. GetStationID is that kind of function that is used massively...13:54:36 <xarick> I don't feel like investigating the code one by one π¦13:54:58 <xarick> maybe I should?14:02:08 <andythenorth> was it lunch?14:02:09 <andythenorth> I am hungry14:03:09 <xarick> there's at least 13 AIs14:03:16 <xarick> that could be affected14:07:12 <andythenorth> definitely hungry14:09:00 <andythenorth> the food is downstairs though14:32:59 <DorpsGek> [OpenTTD/nml] glx22 opened pull request #362: Fix: 'pip install nml' fails to build from source https://github.com/OpenTTD/nml/pull/36214:40:44 *** toktik has quit IRC (Quit: Ping timeout (120 seconds))14:40:58 *** toktik has joined #openttd15:02:58 <xarick> noob question, can a road and rail waypoint be part of the same station?15:03:30 <_glx_> you can try15:04:24 <xarick> apparently they can't15:04:48 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334902208696815749/image.png?ex=679e380f&is=679ce68f&hm=bda0fb1038495636e7e3d14de62f60a71bf31e3d8c5d99cc30b9b4c9a740d972&15:05:12 <xarick> that solves a headache15:07:30 <xarick> TileBelongsToRoadStation does not exist, I am disappointed π15:09:35 <xarick> there's missing stuff in waypoint_base.h15:18:59 <andythenorth> oh15:19:04 <andythenorth> maybe I need a ConsistFactory15:19:06 <andythenorth> lol15:19:09 <andythenorth> Patterns15:28:38 <kuka_lie> was the newgrf loading thing down few days ago or was the issue in my pc?15:29:57 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13413: Codechange: Use EnumBitSet for callback masks. https://github.com/OpenTTD/OpenTTD/pull/13413#pullrequestreview-258708889815:35:24 <andythenorth> oof, now just going to do a massive refactor of Iron Horse, in the middle of doing badges15:35:34 <andythenorth> 'side quest accepted?'15:43:01 <peter1138> I think I should fix up the user's badge configuration to be nicer.15:43:41 <peter1138> And then it could be ready in a minimalist form. No need to have default badges, nor all the features, at once.15:47:03 <andythenorth> I wondered about doing variants as badges π15:47:16 <andythenorth> variant/group_name/[recursive]15:47:27 <andythenorth> "terrible"15:53:33 *** nielsm has joined #openttd16:12:17 *** keikoz has joined #openttd16:22:14 <andythenorth> side quests go in branches?16:22:20 <andythenorth> or unnamed stashes?16:22:57 *** HerzogDeXtEr has joined #openttd16:25:42 *** Wormnest has joined #openttd16:32:48 *** Flygon has joined #openttd16:37:03 <talltyler> Harder to misplace branches π16:38:49 <andythenorth> yeah16:38:53 <andythenorth> git branch consistfactoryyolo16:48:51 <peter1138> talltyler, no comment.16:55:38 <ahyangyi> Why, if the alternative is unnamed stashes?16:57:10 <talltyler> Not all of us have your skill at managing stashes π16:59:59 <ahyangyi> I can only remember my stashes for about 7 minutes17:00:19 <ahyangyi> in which I might do some commit/merge/rebase actions then stash pop17:00:32 <ahyangyi> longer than that and I forget my stashes π’17:04:50 <michi_cc> talltyler: You sure? π€£ newmap, newmap_pre-rt, old, pre-cmake, roadstop_old, temp_2, wip, ....17:05:51 <peter1138> You can name stashes, but there's no much point. And the syntax is fiddlier than just creating a branch.17:06:31 <peter1138> $ git branch | wc -l17:06:33 <peter1138> 55017:06:35 <peter1138> Eh17:08:29 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13413: Codechange: Use EnumBitSet for callback masks. https://github.com/OpenTTD/OpenTTD/pull/1341317:09:13 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #10835: Codechange: Use std::vector for GRFConfig lists. https://github.com/OpenTTD/OpenTTD/pull/1083517:11:33 <peter1138> Although I just deleted 5 branches for various versions of that last PR.17:11:45 *** gelignite has joined #openttd17:20:33 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13418: Codechange: Use EnumBitSet for engine-related enums. https://github.com/OpenTTD/OpenTTD/pull/1341817:21:14 <andythenorth> NewMap?17:21:17 <andythenorth> NewLandscape?17:21:36 <xarick> There are two TileBelongsToRailStation17:22:03 <xarick> station_base.h:56117:22:31 <xarick> waypoint_base.h:3917:23:12 <xarick> base_station_bast.h:10517:23:15 <xarick> 317:24:13 <peter1138> That's how virtual functions work, yes.17:25:06 <xarick> but it's a waypoint17:25:48 <peter1138> Waypoints are stations.17:25:54 <xarick> kinda surprised it picks the right one17:26:09 <peter1138> It picks the right one because that's how virtual functions work.17:28:40 *** Wolf01 has joined #openttd17:28:54 <ahyangyi> subtype polymorphism.17:29:17 <xarick> very misleading name but it works so... fine17:36:05 <xarick> > Fix: [Script] ScriptOrders functions unaware of road waypoints17:36:05 <xarick> English good?17:36:14 <andythenorth> hmm Horse ConsistFactory conversion underway17:36:20 <andythenorth> await more news π17:38:54 *** urdh has quit IRC (Ping timeout: 480 seconds)17:50:06 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #13419: Fix: [Script] Make ScriptOrder functions aware of road waypoints https://github.com/OpenTTD/OpenTTD/pull/1341918:04:50 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13418: Codechange: Use EnumBitSet for engine-related enums. https://github.com/OpenTTD/OpenTTD/pull/13418#pullrequestreview-258747504118:31:28 <xarick> how do I reset hard again? i forgot18:31:49 <xarick> i wanna reset to what's in the internet18:32:06 <xarick> cancel my recent changes18:35:01 <andythenorth> git reset --hard?18:35:09 <andythenorth> or git checkout [paths]18:35:12 <andythenorth> ?18:39:40 <xarick> git reset --hard origin/add-IsRoadWaypointTile ?18:40:22 <andythenorth> ask GPT π18:40:25 <andythenorth> it's good at git18:40:40 <xarick> it did what i want18:42:13 <truebrain> I was thinking: let's see if I can find one or two easy bugs to fix. But .. all open bugs require more than "just fixing", from what I can tell π18:42:20 <truebrain> You guys did a too good of a job to fix the easy fixes π18:42:50 <_glx_> hehe easy fix are done almost instantly18:44:06 *** Patricia has joined #openttd18:44:31 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on issue #13375: [Crash]: Scenario Editor Does not work and it crashes the game. https://github.com/OpenTTD/OpenTTD/issues/1337518:46:28 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #13369: Codechange: use -fno-strict-enums instead of -fno-tree-vrp https://github.com/OpenTTD/OpenTTD/pull/1336918:46:43 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #13369: Codechange: use -fno-strict-enums instead of -fno-tree-vrp https://github.com/OpenTTD/OpenTTD/pull/13369#issuecomment-262806831618:48:25 *** tokai|noir has joined #openttd18:48:25 *** ChanServ sets mode: +v tokai|noir18:48:45 <peter1138> I guess I should split up the thingumyjig PR.18:48:59 <truebrain> the thingywhat? π18:49:01 <peter1138> (Which was always my intention, just didn't get around to it.)18:49:07 <peter1138> Eh... the big one.18:49:10 <peter1138> You know.18:49:11 <peter1138> That one.18:49:19 <truebrain> Ah, yes, ofc!18:49:21 <truebrain> (has no clue π )18:49:34 <peter1138> Removing global string parameters :-)18:49:40 <peter1138> Part of it was stuck somewhere though.18:49:53 *** Patricia has quit IRC (Quit: Page closed)18:50:06 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #13305: Fix #13304: Add documentation about fonts and correct error message https://github.com/OpenTTD/OpenTTD/pull/13305#issuecomment-262807360318:50:30 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13190: Codechange 4f9c10d: Water tile type reduced to 2 bits in the map array https://github.com/OpenTTD/OpenTTD/pull/1319018:50:33 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13190: Codechange 4f9c10d: Water tile type reduced to 2 bits in the map array https://github.com/OpenTTD/OpenTTD/pull/13190#issuecomment-262807427618:53:22 <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #13411: Codechange: replace MAX_UVALUE with std::numeric_limits::max https://github.com/OpenTTD/OpenTTD/pull/13411#pullrequestreview-258755546318:54:56 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #8492: Fix: Don't allow towns to terraform certain floodable tiles https://github.com/OpenTTD/OpenTTD/pull/849218:54:59 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #8492: Fix: Don't allow towns to terraform certain floodable tiles https://github.com/OpenTTD/OpenTTD/pull/8492#issuecomment-262808429318:55:21 *** tokai has quit IRC (Ping timeout: 480 seconds)18:55:35 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13418: Codechange: Use EnumBitSet for engine-related enums. https://github.com/OpenTTD/OpenTTD/pull/1341818:55:48 *** michi_cc_ has quit IRC ()18:56:17 <peter1138> Oh no18:56:35 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain dismissed a review for pull request #12877: Add: Ukrainian Hryvnia currency https://github.com/OpenTTD/OpenTTD/pull/12877#pullrequestreview-219154544518:56:38 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #12877: Add: Ukrainian Hryvnia currency https://github.com/OpenTTD/OpenTTD/pull/1287718:56:43 <peter1138> Kylie Minoque came up on my playlist.18:56:56 <xarick> my stuff is moving at last18:56:58 <peter1138> Minogue even.18:57:30 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #12877: Add: Ukrainian Hryvnia currency https://github.com/OpenTTD/OpenTTD/pull/12877#pullrequestreview-258756517418:59:26 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13420: Enum bitset houses https://github.com/OpenTTD/OpenTTD/pull/1342018:59:35 <truebrain> nice branch-name π18:59:54 <peter1138> Oh fudge19:00:04 <_glx_> someone clicked a button too quickly19:00:35 <peter1138> Nah, just didn't notice it this time.19:00:37 <xarick> #13190 was misunderstood π¦19:00:59 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #13263: Change: When player joins network company, use its name instead of number in chat https://github.com/OpenTTD/OpenTTD/pull/13263#pullrequestreview-258757105319:01:37 <truebrain> I see talltyler just added 15.0 tag to all his own PRs π19:01:43 <truebrain> I see what you did there! π19:02:00 <talltyler> I invited the rest of you to tag your own, but nobody did π19:02:01 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #13420: Codechange: Use EnumBitSet for house-related enums. https://github.com/OpenTTD/OpenTTD/pull/13420#pullrequestreview-258757270919:02:09 <truebrain> ghehe π19:02:20 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #13263: Change: When player joins network company, use its name instead of number in chat https://github.com/OpenTTD/OpenTTD/pull/1326319:02:30 <talltyler> (I did test, yeah)19:04:20 *** michi_cc_ has joined #openttd19:04:48 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13420: Codechange: Use EnumBitSet for house-related enums. https://github.com/OpenTTD/OpenTTD/pull/13420#pullrequestreview-258757718419:05:41 <truebrain> funny, `ShutdownGame()` calls `ResetNewGRFData()` calls `SetupEngines()`19:05:57 <truebrain> when closing down the game19:06:19 <peter1138> Yeah, some things have got out of control.19:06:45 <truebrain> (I noticed as ASAN triggered on shutting down, on the fact the Engine Pool is not free'd)19:07:11 <peter1138> There's so much going on :(19:07:38 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #12269: Add: [Script] GetExtraLastError and GetExtraLastErrorString https://github.com/OpenTTD/OpenTTD/pull/1226919:07:41 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #12269: Add: [Script] GetExtraLastError and GetExtraLastErrorString https://github.com/OpenTTD/OpenTTD/pull/12269#issuecomment-262810421519:08:40 <LordAro> just call exit()19:09:35 <truebrain> but shutdowns have to be clean!! π19:10:18 <peter1138> Well at least the NewGRF debug stuff is deleted now :)19:10:20 <truebrain> anyway, we call `PoolBase::Clean(PT_ALL)`, followed by `ResetNewGRFData`, which initializes the engine-pool, which makes ASAN complain there is a direct leak of memory. I can live with that.19:11:03 <peter1138> Or we could make it behave properly.19:11:21 <peter1138> I once did some diagnosis on the window initialisation path.19:11:36 <peter1138> It is scary how many things get initialised and then reinitialised... several times.19:11:57 <truebrain> ghehe; I am not all that surprised, I have to admit π19:12:16 <peter1138> Too many interdependencies.19:12:54 <peter1138> I wonder if that was branch or a stash...19:14:48 <LordAro> peter1138: how do you analyse that sort of thing, ooi?19:14:58 <LordAro> presumably cleverer than a load of print statements19:15:14 <peter1138> Actually, not much more, to be honest.19:15:44 <peter1138> RAII was involved.19:16:04 <LordAro> i see19:17:02 <peter1138> Well, can't find it.19:18:38 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 dismissed a review for pull request #13411: Codechange: replace MAX_UVALUE with std::numeric_limits::max https://github.com/OpenTTD/OpenTTD/pull/13411#pullrequestreview-258755546319:18:41 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #13411: Codechange: replace MAX_UVALUE with std::numeric_limits::max https://github.com/OpenTTD/OpenTTD/pull/1341119:19:10 <Rubidium> I should've enabled automerge on that one, there I wouldn't have had to solve the conflicts ;(19:23:19 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13261: Codechange: Optimize MakeLake https://github.com/OpenTTD/OpenTTD/pull/1326119:23:22 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13261: Codechange: Optimize MakeLake https://github.com/OpenTTD/OpenTTD/pull/13261#issuecomment-262812828519:26:05 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13275: Codechange: Optimize CreateRivers https://github.com/OpenTTD/OpenTTD/pull/1327519:26:08 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13275: Codechange: Optimize CreateRivers https://github.com/OpenTTD/OpenTTD/pull/13275#issuecomment-262813239519:28:35 *** merni has quit IRC (Ping timeout: 480 seconds)19:28:38 *** gwyd4016 has quit IRC (Ping timeout: 480 seconds)19:28:38 *** wensimehrp has quit IRC (Ping timeout: 480 seconds)19:28:39 *** xarothbrook has quit IRC (Ping timeout: 480 seconds)19:28:40 *** talltyler has quit IRC (Ping timeout: 480 seconds)19:28:41 *** bigyihsuan has quit IRC (Read error: Connection reset by peer)19:28:41 *** brickblock19280 has quit IRC (Read error: Connection reset by peer)19:28:41 *** belajalilija has quit IRC (Write error: connection closed)19:28:41 *** olionkey has quit IRC (Write error: connection closed)19:28:41 *** aquila3129 has quit IRC (Write error: connection closed)19:28:41 *** emperorjake has quit IRC (Write error: connection closed)19:28:41 *** ian01223 has quit IRC (Write error: connection closed)19:28:41 *** florafex has quit IRC (Write error: connection closed)19:28:41 *** kuhnovic has quit IRC (Write error: connection closed)19:28:41 *** goddess_ishtar has quit IRC (Read error: Connection reset by peer)19:28:41 *** peefox has quit IRC (Read error: Connection reset by peer)19:28:41 *** maxtaktik has quit IRC (Read error: Connection reset by peer)19:28:41 *** johnfranklin has quit IRC (Read error: Connection reset by peer)19:28:41 *** xarick has quit IRC (Read error: Connection reset by peer)19:28:41 *** _zephyris has quit IRC (Read error: Connection reset by peer)19:28:41 *** asasnat has quit IRC (Write error: connection closed)19:28:41 *** cloudysdev has quit IRC (Write error: connection closed)19:28:41 *** bohaska has quit IRC (Write error: connection closed)19:28:41 *** _jgr_ has quit IRC (Write error: connection closed)19:28:41 *** michi_cc has quit IRC (Write error: connection closed)19:28:41 *** andythenorth has quit IRC (Write error: connection closed)19:28:41 *** frosch123 has quit IRC (Write error: connection closed)19:28:41 *** truebrain has quit IRC (Write error: connection closed)19:28:41 *** DorpsGek_vi has quit IRC (Write error: connection closed)19:28:41 *** goingsolo has quit IRC (Read error: Connection reset by peer)19:28:41 *** ladylex has quit IRC (Write error: connection closed)19:28:41 *** ahyangyi has quit IRC (Write error: connection closed)19:28:41 *** _glx_ has quit IRC (Write error: connection closed)19:28:41 *** budgetmich has quit IRC (Write error: connection closed)19:29:02 *** DorpsGek_vi has joined #openttd19:29:09 <peter1138> RIP.19:29:48 <debdog> some bridge died?19:30:02 <debdog> hmm, or a server19:32:20 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13258: Codechange: Optimize FindSpring https://github.com/OpenTTD/OpenTTD/pull/1325819:32:23 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13258: Codechange: Optimize FindSpring https://github.com/OpenTTD/OpenTTD/pull/13258#issuecomment-262817321519:33:54 *** truebrain has joined #openttd19:33:54 <truebrain> poor server19:34:57 <truebrain> `Exit Code: 137, Exit Message: "OOM Killed"`19:35:01 <truebrain> even worse!19:36:37 <debdog> OOM == out of memory?19:36:52 <truebrain> So a Discord gateway went AWOL on us, which caused the bridge to go: wasn't there suppose to be a gateway here? Let me try again .. no, I can't find it. Wait. Really? Let me check again. And it turns out, the Python library we use for Discord, has a memory leak in that routine π19:37:06 <truebrain> so after 10 minutes of doing that, it got killed, a new instance pop'd up, and that was like: LOOK! GATEWAY!19:37:10 <truebrain> and the world was happy again π19:37:18 <truebrain> always fun to read back those chain of events π19:38:01 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #12877: Add: Ukrainian Hryvnia currency https://github.com/OpenTTD/OpenTTD/pull/1287719:39:27 <LordAro> truebrain: yay!19:39:52 <LordAro> you should fix the leak19:40:02 <truebrain> I should test-drive my reimplementation in Go19:40:12 <truebrain> but I haven't had the time to write the required Docker + deployment scripts for it π19:40:36 <LordAro> alas19:40:49 <truebrain> I suspect, it will be a lot more stable π19:41:35 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13365: Codefix c05ffb2: Scale river generation max_search_nodes https://github.com/OpenTTD/OpenTTD/pull/1336519:41:38 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13365: Codefix c05ffb2: Scale river generation max_search_nodes https://github.com/OpenTTD/OpenTTD/pull/13365#issuecomment-262823603719:44:34 *** xarick has joined #openttd19:44:34 <xarick> π19:45:18 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #13369: Codechange: use -fno-strict-enums instead of -fno-tree-vrp https://github.com/OpenTTD/OpenTTD/pull/1336919:46:08 <xarick> basically breadth first search finds end target, then aystar runs out of nodes19:46:16 <xarick> river is now broken19:46:55 <LordAro> "now"19:47:23 <LordAro> as per usual, you need to start by raising issues that clearly and reproducibly demonstrate a problem19:47:47 <LordAro> then one of us can determine whether it's an actual issue, and then whether it's worth fixing19:48:01 <LordAro> at that point you can start work on a solution19:48:37 <LordAro> sometimes deep understanding of the code is required to reliably demonstrate a problem, but it shouls not be used in describing the issue itself19:49:04 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13163: Change: Optimize tree placement at same height https://github.com/OpenTTD/OpenTTD/pull/1316319:49:07 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13163: Change: Optimize tree placement at same height https://github.com/OpenTTD/OpenTTD/pull/13163#issuecomment-262825027319:50:49 <LordAro> rivers are not perfect, but they're not "perfect" in real life either :)19:52:34 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #13330: Change: Make Action 2 set-ids unique per feature. https://github.com/OpenTTD/OpenTTD/pull/1333019:52:37 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13330: Change: Make Action 2 set-ids unique per feature. https://github.com/OpenTTD/OpenTTD/pull/13330#issuecomment-262826043619:52:57 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13144: Codechange: Algorithmic generation of desert and rainforest https://github.com/OpenTTD/OpenTTD/pull/1314419:53:00 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13144: Codechange: Algorithmic generation of desert and rainforest https://github.com/OpenTTD/OpenTTD/pull/13144#issuecomment-262826193819:53:39 <xarick> π¦19:53:51 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic commented on pull request #13049: Codefix 30fe0015: Preserve sea water class when building locks on shores https://github.com/OpenTTD/OpenTTD/pull/13049#issuecomment-262826481719:54:11 <xarick> that one wasn't AI written19:56:14 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #13144: Codechange: Algorithmic generation of desert and rainforest https://github.com/OpenTTD/OpenTTD/pull/13144#issuecomment-262827280319:57:36 *** keikoz has quit IRC ()19:57:47 <xarick> okay, it was AI written at the comments only19:57:56 <xarick> but the code, that wasn't AI19:59:38 <peter1138> Hmm, I wonder what happened to that PR. Must've missed a bit :S19:59:43 *** keikoz has joined #openttd20:02:33 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13420: Codechange: Use EnumBitSet for house-related enums. https://github.com/OpenTTD/OpenTTD/pull/1342020:02:36 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13193: Fix 07fba75: Immediately convert terraformed ground tiles into water tiles during river generation https://github.com/OpenTTD/OpenTTD/pull/1319320:02:39 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13193: Fix 07fba75: Immediately convert terraformed ground tiles into water tiles during river generation https://github.com/OpenTTD/OpenTTD/pull/13193#issuecomment-262829500920:04:12 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on pull request #13049: Codefix 30fe0015: Preserve sea water class when building locks on shores https://github.com/OpenTTD/OpenTTD/pull/13049#issuecomment-262830099620:04:15 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13284: Codechange: Speed up ground density transition during river generation https://github.com/OpenTTD/OpenTTD/pull/13284#issuecomment-262830099920:07:39 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13284: Codechange: Speed up ground density transition during river generation https://github.com/OpenTTD/OpenTTD/pull/1328420:08:10 <xarick> sad20:08:33 *** keikoz has quit IRC ()20:08:46 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13366: Fix #10452: Support partially built rivers https://github.com/OpenTTD/OpenTTD/pull/13366#pullrequestreview-258779243920:10:13 *** keikoz has joined #openttd20:11:27 <xarick> > If a river can't be built fully-connected, it should fail, not build part of a river.20:11:27 <xarick> That would require ... pretty much, a big rewrite of how rivers are done20:13:07 <xarick> FlowRiver is complex20:13:35 *** talltyler has joined #openttd20:13:35 <talltyler> I have never seen a disconnected river while playing OpenTTD π20:13:55 <talltyler> (And I play with alpinist terrain and many rivers)20:14:26 <xarick> it builds the river piece by piece (segment by segment)20:14:40 <talltyler> Nor have I seen an artifact, as in 1337420:14:47 <xarick> it starts the search from the top of a hill, but then it begins building from the sea up20:15:25 <talltyler> I am aware of how rivers work, Iβm just saying that I wouldnβt fix this bug in this way β not that Iβve ever seen this bug20:15:38 <xarick> when a disconnection happens, it means one of the build ups has failed aystar20:17:37 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic closed issue #11862: [Bug]: High level pathfinder passing patches with no water as the origin. https://github.com/OpenTTD/OpenTTD/issues/1186220:17:40 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic commented on issue #11862: [Bug]: High level pathfinder passing patches with no water as the origin. https://github.com/OpenTTD/OpenTTD/issues/1186220:18:24 <xarick> the recursive nature of FlowRiver gives little room for improvements without doing major changes20:23:54 <xarick> the only way to undo a partial river would require implementing a catalog of tiles that were build20:23:54 <talltyler> Okay xarick, thereβs some movement on your PRs. Sorry it wasnβt in the direction you wanted. π20:24:35 <LordAro> more to the point, sorry it didn't happen a lot sooner20:24:41 <talltyler> Someday Iβll keep working on tidying up old abandoned PRs (from other contributors, not Xarick π ), there are some stale ones that havenβt been touched in yearsβ¦20:24:56 <xarick> detect a failure, and then go back to the built tiles and remove them20:25:00 <LordAro> it's not really fair to you to leave them in limbo for long20:25:49 <xarick> I still had some river fixes coming up, but they were heavily dependant on merges20:25:59 <xarick> and they're not happening20:26:00 <talltyler> Agreed. Itβs just so easy to see a big PR and go βhmm, I will look at that laterβ¦β π20:27:21 *** xarothbrook has joined #openttd20:27:21 <xarothbrook> Can I report 2TT for spamming with all the PR updates? it's weird to see so much... work... being done π20:27:35 <xarick> undone20:27:50 <LordAro> xarick: from what you've said, it suggests that more significant rewrites are required to properly fix the issues you're seeing. which may well be too much work for too little benefit20:29:38 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic closed pull request #12156: Fix #11862: Ships leaving docks could be momentarily lost https://github.com/OpenTTD/OpenTTD/pull/1215620:29:41 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic commented on pull request #12156: Fix #11862: Ships leaving docks could be momentarily lost https://github.com/OpenTTD/OpenTTD/pull/12156#issuecomment-262834744720:29:51 <peter1138> `error: no matching constructor for initialization of 'SettingVariant' (aka 'variant<IntSettingDesc, BoolSettingDesc, OneOfManySettingDesc, ManyOfManySettingDesc, StringSettingDesc, ListSettingDesc, NullSettingDesc>')`20:29:55 <peter1138> Aww.20:35:37 <xarick> gonna check 1186220:36:21 <xarick> wanna see what happens now20:36:41 *** kuhnovic has joined #openttd20:36:41 <kuhnovic> Still a bit funny behavior, but the ship is definitely not lost20:38:42 <xarick> 37260 is the slope20:39:31 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic closed pull request #12303: Fix #12301: Update ship current order destination tile when relocating buoys https://github.com/OpenTTD/OpenTTD/pull/1230320:39:34 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic commented on pull request #12303: Fix #12301: Update ship current order destination tile when relocating buoys https://github.com/OpenTTD/OpenTTD/pull/12303#issuecomment-262836121920:41:34 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic commented on pull request #13049: Codefix 30fe0015: Preserve sea water class when building locks on shores https://github.com/OpenTTD/OpenTTD/pull/13049#issuecomment-262836398420:42:20 <xarick> oh, 11862 no longer seems valid indeed20:42:23 <xarick> π¦20:42:41 <kuhnovic> I actually like issues that fix themselves π20:43:13 <xarick> "something" happened, but I suspect some passengers actually went into the ship before it could trigger the problem20:44:23 <kuhnovic> Change the order to be "go to 1 if less than < 100"20:44:46 <xarick> good idea20:44:56 <kuhnovic> You'll see the ship bounce around a bit, which is definitely a bit silly. But it is not getting lost at any point.20:45:52 <kuhnovic> The ship moves a single pixel and then discovers it's already at it's destination. I suppose there's something in the order handling code that makes it do that, but that stuff is complicated.20:46:01 <peter1138> Hmm, does `friend struct x;` work...20:46:42 <peter1138> Nope.20:48:16 <peter1138> Oh, well that's irrelevant as it's not the struct accessing it anyway.20:48:30 <xarick> I concede, it's fixed, ship can reverse20:49:11 <xarick> reverses at the dock, then reverses pointing away from the dock, back into the dock20:49:39 <xarick> so, OT_LEAVING isn't catch anymore by the pf20:56:08 <kuhnovic> Indeed21:00:26 <xarick> forgot how flood behaviour works exactly π¦ need to refresh my memory21:00:54 <kuhnovic> Keep in mind you also need to refresh the memory of the ones reading your PR π21:01:12 <xarick> can't remember if it was my version of flood behaviour or peter's version21:01:17 <xarick> that caught it21:03:42 <xarick> it all boils down to the neighouring 8 tiles around it being cached or not21:07:30 <peter1138> It's not a cache.21:09:32 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334993997432754176/image.png?ex=679e8d8b&is=679d3c0b&hm=25b7881f94409f1a3a9839d424f8eb0f0672b2fee1a87953a907faf0ad4def36&21:10:14 <xarick> this is the opntitle savegame, which has locks with sea waterclass in the middle21:10:38 <xarick> then i build a lock below it, which is a lock that defines canal waterclass in the middle21:10:45 <xarick> the caching is different21:11:27 <xarick> seems more efficient with sea water class21:12:43 <talltyler> That title save is ancient, who knows whatβs happening in it21:13:02 <peter1138> Again, it's not a cache.21:13:04 <talltyler> The middle tile of a lock should be canal, right?21:13:22 <xarick> it's whatever21:14:05 <xarick> it can be river if it's placed on river21:15:54 <xarick> oh snap, I'm looking at my version of flooding behaviour21:16:12 <xarick> need to look at current's master, brb21:18:39 *** andythenorth has joined #openttd21:18:39 <andythenorth> was it badges?21:18:42 <peter1138> The water class of a lock is canal, unless it's placed on a tile that was previously river.21:18:44 <andythenorth> no it was ConsistFactory21:19:22 <peter1138> There is no need to preserve the water class of sea because that's the default state for a flooded tile.21:21:30 <peter1138> :badger:21:23:27 <peter1138> I think I've sorted it.21:23:50 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13420: Codechange: Use EnumBitSet for house-related enums. https://github.com/OpenTTD/OpenTTD/pull/13420#pullrequestreview-258790266421:25:48 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334998090029072474/image.png?ex=679e915b&is=679d3fdb&hm=444a7abf0d2eb78eddc5579afe9513deb3fc36028565f2d9e866cf598c00f483&21:25:48 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1334998090477731880/image.png?ex=679e915b&is=679d3fdb&hm=5a21d8ab4659437b3decc31eb82302ce7bdbd34a01215eaffbdc6ca9139d2b33&21:26:10 <peter1138> Hmm, I did a bad :/21:26:52 <andythenorth> me too!21:33:14 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13421: Fix 5664b1e2f6: Missing sprite detection used the wrong filename. https://github.com/OpenTTD/OpenTTD/pull/1342121:36:17 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #13421: Fix 5664b1e2f6: Missing sprite detection used the wrong filename. https://github.com/OpenTTD/OpenTTD/pull/13421#pullrequestreview-258792070821:48:38 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13421: Fix 5664b1e2f6: Missing sprite detection used the wrong filename. https://github.com/OpenTTD/OpenTTD/pull/1342121:49:50 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #13421: Fix 5664b1e2f6: Missing sprite detection used the wrong filename. https://github.com/OpenTTD/OpenTTD/pull/13421#pullrequestreview-258793901321:52:34 <peter1138> Thanks.22:08:41 *** Wormnest has quit IRC (Ping timeout: 480 seconds)22:09:34 <xarick> I think I can see the possibility of a flooding spreading from a sea water class middle lock22:10:21 <xarick> where it would not occur if it's canal or river22:10:27 <xarick> might be wrong, let me check22:11:06 <andythenorth> hmm 159 wagon modules to refactor22:11:07 <andythenorth> oof22:11:11 <andythenorth> maybe GPT can do it22:13:52 *** _zephyris has joined #openttd22:13:52 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1335010185344974970/image.png?ex=679e9c9f&is=679d4b1f&hm=22434e96755bb624e939782d04fd420bdd33604ce264200cb3000f899f21d5fb&22:13:56 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #13049: Codefix 30fe0015: Preserve sea water class when building locks on shores https://github.com/OpenTTD/OpenTTD/pull/1304922:13:59 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13049: Codefix 30fe0015: Preserve sea water class when building locks on shores https://github.com/OpenTTD/OpenTTD/pull/13049#issuecomment-262848856422:17:02 <xarick> π22:18:04 <xarick> just tested, no flooding occurs from dryup22:19:29 <xarick> it was restoring the original behaviour22:20:14 <xarick> which I broke in 30fe0015 and which I was restoring now with 1304922:21:12 <peter1138> Urgh.22:21:49 <peter1138> Make it an enum clas β crap, it's used as array indexes and for-loops...22:22:41 <xarick> yay, my number of PR's now fit on a single page22:24:01 *** nielsm has quit IRC (Ping timeout: 480 seconds)22:28:41 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13421: Fix 5664b1e2f6: Missing sprite detection used the wrong filename. https://github.com/OpenTTD/OpenTTD/pull/1342122:38:23 *** gelignite has quit IRC (Quit: Stay safe!)22:40:36 <peter1138> Phew, fixed before the next 'nightly'.22:42:15 *** keikoz has quit IRC (Ping timeout: 480 seconds)22:44:06 <truebrain> π₯³22:54:00 <xarick> hmm...22:56:14 <xarick> 13370 relied on 1319322:57:13 <xarick> without 13193 it was extremelly difficult to debug rivers22:57:58 <xarick> was always triggering false positives22:58:34 <xarick> not sure how reliable 13370 is without 1319323:01:33 <xarick> there were situations where it was trying to find a path from sea to sea23:02:13 <xarick> because of terraform23:02:25 <xarick> leaving a dirty tile at sea level23:02:53 <xarick> occasionally a spring would start there23:03:13 <xarick> at the not yet watered dirty tile at sea level23:03:31 <xarick> meh, it's over23:03:35 <xarick> move on23:08:52 *** kuka_lie has quit IRC (Remote host closed the connection)23:14:04 *** jinks has quit IRC (Quit: ZNC - http://znc.in)23:14:24 *** jinks has joined #openttd23:24:55 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)23:47:25 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13422: Codefix: access pool via PoolItem, not the pool itself https://github.com/OpenTTD/OpenTTD/pull/1342223:57:19 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13423: Codechange: [Script] replace some enums with constexpr values https://github.com/OpenTTD/OpenTTD/pull/1342323:57:40 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #13402: Codechange: make pool item indices strongly typed https://github.com/OpenTTD/OpenTTD/pull/13402continue to next day β΅