β΄ go to previous day
01:38:59  *** Wormnest has quit IRC (Quit: Leaving)
02:43:41  *** gnu_jj_ has joined #openttd
02:46:30  *** geizeskrank has quit IRC (Ping timeout: 480 seconds)
02:47:01  *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
02:50:04  *** geizeskrank has joined #openttd
03:27:03  *** WormnestAndroid has quit IRC (Remote host closed the connection)
03:27:04  *** WormnestAndroid has joined #openttd
03:28:36  *** WormnestAndroid has quit IRC (Remote host closed the connection)
03:28:37  *** WormnestAndroid has joined #openttd
03:29:50  *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
03:29:51  *** WormnestAndroid has joined #openttd
03:50:13  *** debdog has joined #openttd
03:53:36  *** D-HUND has quit IRC (Ping timeout: 480 seconds)
03:57:30  *** WormnestAndroid has quit IRC (Remote host closed the connection)
03:57:42  *** WormnestAndroid has joined #openttd
04:06:13  *** keikoz has joined #openttd
05:12:17  *** keikoz has quit IRC (Ping timeout: 480 seconds)
05:46:45  <andythenorth> well
05:49:54  <andythenorth> side quest time?
06:05:11  <peter1138> Meh.
06:05:34  <peter1138> Was filter badge by dropdown selection a thing?
06:12:36  <andythenorth> we can't have 0-length vehicles for good reasons...?
06:15:16  *** debdog has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
06:17:17  <andythenorth> I am changing the random livery implementation to read the badges on the vehicle
06:17:19  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1358687062949236867/image.png?ex=67f4bf6e&is=67f36dee&hm=5a6efd1e43dad8fbb6f159a810b49d60facb7e31f1cbe93b29e6a7df28f6da34&
06:17:37  <andythenorth> but then....why not read the badges on another vehicle? π
06:21:46  <andythenorth> ...special livery vehicle thing, 1/8 long....attach to the end of the train
06:24:02  *** debdog has joined #openttd
06:27:44  <andythenorth> hmm crafting, you say? π
06:31:58  <peter1138> Punch a forest.
06:32:12  <peter1138> Why did I rebase my dockable windows system?
06:32:50  <peter1138> Well, never mind.
06:36:57  <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13974: Codechange: Use EnumBitSet for StringValidationSettings. https://github.com/OpenTTD/OpenTTD/pull/13974
06:37:04  <andythenorth> 'badge vehicles' for colour palette (one colour per vehicle)
06:37:21  <andythenorth> 'badge vehicles' for the rules on how to mix (high variety, low variety)
06:37:25  <peter1138> I recommend no.
06:37:44  <andythenorth> you think it might be complicated to explain to the player? π
06:37:47  <andythenorth> and unwieldy?
06:39:17  <peter1138> You might as well use cargo subtype refitting.
06:41:14  <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #13974: Codechange: Use EnumBitSet for StringValidationSettings. https://github.com/OpenTTD/OpenTTD/pull/13974#pullrequestreview-2745663448
06:43:45  <andythenorth> well that would be less neat π
06:44:13  <andythenorth> (as an implementation, the UI is crap either way)
06:46:07  <peter1138> So enums like HighLightStyle are a bit of a pain to deal with.
06:46:29  <peter1138> Both bitset and bitstuffed in the same field.
06:46:38  <peter1138> s/field/type.
06:48:27  <andythenorth> does that draw tile borders or something?
06:51:32  *** SigHunter has quit IRC (Remote host closed the connection)
06:52:34  *** SigHunter has joined #openttd
07:06:42  <DorpsGek> [OpenTTD/OpenGFX2] zephyris commented on issue #167: Translations (eints integration) https://github.com/OpenTTD/OpenGFX2/issues/167
07:09:13  *** SigHunter has quit IRC (Remote host closed the connection)
07:10:14  *** SigHunter has joined #openttd
07:18:07  <DorpsGek> [OpenTTD/survey-web] survey-summary[bot] pushed 1 commits to main https://github.com/OpenTTD/survey-web/commit/4dbebb44d1aac8c47b2af3c5e3dc84e4a87bd248
07:18:08  <DorpsGek>   - Add: summary for week 14 of 2025 (by OpenTTD Survey)
08:16:06  <DorpsGek> [OpenTTD/OpenGFX2] zephyris opened pull request #168: Fix: Incorrect image for 4x zoom 8bpp sprite for spr1545 https://github.com/OpenTTD/OpenGFX2/pull/168
08:20:40  <andythenorth> oh can't nest a variant group to first item of parent π
08:20:43  <andythenorth> oopsie
08:27:21  <andythenorth> don't some people make fancy group hierarchies?
08:27:25  <andythenorth> (I never tried)
08:39:28  *** zanooda2000 has joined #openttd
08:39:28  <zanooda2000> andythenorth: check xussr, especially TE10 group
08:39:28  <zanooda2000> however, this is very⦠peculiar usage, probably won't suit you
08:45:11  <xarick> hi
08:45:30  <xarick> windows really wants to restart to start updates
08:48:43  <LordAro> you should let it
08:51:13  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1358725792737263707/screenshot83.png?ex=67f4e380&is=67f39200&hm=fe6cedb782240cd1da174752e80f9785d6db65d3d8024536f205df3bd6077009&
08:51:13  <xarick> time to say goodbye to this test
08:58:10  <peter1138> "Nothing of value was lost"
09:10:53  *** exceptik has joined #openttd
09:10:53  <exceptik> no bridges were harmed
09:23:56  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1358734029297553428/image.png?ex=67f4eb2c&is=67f399ac&hm=4958b4ca2d4e80dd583fcafdf55363d568fdee1e8d15dd9f539cf5e03b348aaf&
09:23:56  <xarick> consistency problem: one is "Disabled" the other is "disabled"
09:51:35  <_zephyris> https://github.com/OpenTTD/OpenTTD/blob/981b2a94dbd3150fdc68950290ea66b334a69285/src/lang/english.txt#L2023
10:12:58  <andythenorth> hmm should I change wagon livery if vehicle is flipped?
10:14:03  <andythenorth> "NO"
10:31:46  <peter1138> Only if it's ctrl-alt-double-clicked.
10:36:01  <andythenorth> alt-f4?
10:36:08  <andythenorth> cmd-q
10:36:54  <peter1138> Middle mouse button.
10:37:09  <peter1138> > Yes, I've wondered why right-clicking does nothing. I didn't realize until recently that this game predates both additional mouse buttons.
10:37:13  <peter1138> Indeed.
10:37:23  <peter1138> There were only single-button mice in 1995.
10:39:24  <andythenorth> mine was
10:39:26  <andythenorth> wait
10:39:29  <andythenorth> I didn't have one
10:59:49  *** WormnestAndroid has quit IRC (Remote host closed the connection)
10:59:59  *** WormnestAndroid has joined #openttd
11:04:20  <xarick> please merge 13968
11:20:13  <pickpacket> xarick: link? Not that I can review or merge, but I'm curious
11:20:39  <DorpsGek> [OpenTTD/workflows] frosch123 opened pull request #66: Add: Enable eints for OpenGFX2 https://github.com/OpenTTD/workflows/pull/66
11:20:52  <pickpacket> Ty
11:23:34  <pickpacket> xarick: cool that you found that
11:23:38  <pickpacket> Well done
11:24:07  <frosch123> Hmm, github secrets are readonly, right?
11:24:07  <frosch123> I can't view them even as admin?
11:32:06  <DorpsGek> [OpenTTD/OpenTTD] zephyris opened pull request #13975: Fix: Capitalise "Disabled" for setting-zero-is-special https://github.com/OpenTTD/OpenTTD/pull/13975
11:39:14  <DorpsGek> [OpenTTD/workflows] frosch123 opened pull request #67: Add: Workflow for adding new projects to eints https://github.com/OpenTTD/workflows/pull/67
11:39:50  <DorpsGek> [OpenTTD/workflows] frosch123 updated pull request #67: Add: Workflow for adding new projects to eints https://github.com/OpenTTD/workflows/pull/67
11:40:16  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13975: Fix: Capitalise "Disabled" for setting-zero-is-special https://github.com/OpenTTD/OpenTTD/pull/13975#issuecomment-2783032889
11:40:35  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13971: Codechange: Simplify logic for determining road tile colour in 'Routes' mode of small map. https://github.com/OpenTTD/OpenTTD/pull/13971
11:40:38  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13971: Codechange: Simplify logic for determining road tile colour in 'Routes' mode of small map. https://github.com/OpenTTD/OpenTTD/pull/13971#issuecomment-2783033680
11:41:20  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13366: Fix #10452: Support partially built rivers https://github.com/OpenTTD/OpenTTD/pull/13366
11:41:23  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13366: Fix #10452: Support partially built rivers https://github.com/OpenTTD/OpenTTD/pull/13366#issuecomment-2783035559
11:46:34  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #13370: Fix: Don't block nearby river slope connection with terraform https://github.com/OpenTTD/OpenTTD/pull/13370
11:46:37  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #13370: Fix: Don't block nearby river slope connection with terraform https://github.com/OpenTTD/OpenTTD/pull/13370#issuecomment-2783048592
11:52:23  <exceptik> C-c-combo π₯² lovin it
12:15:22  <kuhnovic> xarick: Let's get it reviewed first shall we π
12:25:40  <DorpsGek> [OpenTTD/OpenTTD] frosch123 opened pull request #13976: Fix: Validate raw strings from game-scripts, and strip invalid and control characters. https://github.com/OpenTTD/OpenTTD/pull/13976
12:43:30  <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13962: Codechange: Add a std::string overload for StrMakeValidInPlace() and a moving std::string&& overload for StrMakeValid(). https://github.com/OpenTTD/OpenTTD/pull/13962#pullrequestreview-2746686405
12:52:23  <andythenorth> hmm I could do a thing
12:52:36  <andythenorth> user configurable random Horse liveries, with params
12:52:37  <andythenorth> "oof"
12:52:44  <andythenorth> skins anyone? π
13:07:29  *** Flygon has quit IRC (Read error: Connection reset by peer)
13:13:51  <xarick> oh no, my rivers!
13:21:42  <xarick> a ternary is hard to read
13:21:44  <xarick> okay
13:22:43  *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
13:22:43  *** WormnestAndroid has joined #openttd
14:19:17  *** nielsm has joined #openttd
14:39:06  <DorpsGek> [OpenTTD/workflows] zephyris approved pull request #66: Add: Enable eints for OpenGFX2 https://github.com/OpenTTD/workflows/pull/66#pullrequestreview-2746670902
14:47:58  <DorpsGek> [OpenTTD/workflows] glx22 commented on pull request #67: Add: Action for adding new projects to eints https://github.com/OpenTTD/workflows/pull/67#issuecomment-2783604427
14:50:43  <DorpsGek> [OpenTTD/workflows] frosch123 commented on pull request #67: Add: Action for adding new projects to eints https://github.com/OpenTTD/workflows/pull/67#issuecomment-2783613330
15:12:34  <DorpsGek> [OpenTTD/OpenTTD] zephyris commented on pull request #13975: Fix: Capitalise "Disabled" for setting-zero-is-special https://github.com/OpenTTD/OpenTTD/pull/13975#issuecomment-2783683550
15:36:37  *** kuka_lie has joined #openttd
15:49:35  *** Wormnest has joined #openttd
16:14:07  <xarick> dang it, the script version of GetTileX/Y requires valid tiles
16:14:28  <xarick> erm... valid coordinates
16:15:09  <andythenorth> hmm could ctrl-windowshade on a window apply windowshade to all windows on the screen?
16:15:13  <andythenorth> like classic MacOS
16:22:01  *** Speedy` has quit IRC (Read error: Connection reset by peer)
16:22:51  <DorpsGek> [OpenTTD/OpenTTD] frosch123 merged pull request #13962: Codechange: Add a std::string overload for StrMakeValidInPlace() and a moving std::string&& overload for StrMakeValid(). https://github.com/OpenTTD/OpenTTD/pull/13962
16:23:38  <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #13976: Fix: Validate raw strings from game-scripts, and strip invalid and control characters. https://github.com/OpenTTD/OpenTTD/pull/13976
16:30:06  <DorpsGek> [OpenTTD/workflows] frosch123 updated pull request #67: Add: Action for adding new projects to eints https://github.com/OpenTTD/workflows/pull/67
16:31:29  <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13976: Fix: Validate raw strings from game-scripts, and strip invalid and control characters. https://github.com/OpenTTD/OpenTTD/pull/13976#pullrequestreview-2747439509
16:34:00  *** Speedy` has joined #openttd
16:49:53  <DorpsGek> [OpenTTD/OpenTTD] frosch123 approved pull request #13975: Fix: Capitalise "Disabled" for setting-zero-is-special https://github.com/OpenTTD/OpenTTD/pull/13975#pullrequestreview-2747484016
16:52:26  <xarick> strings are hard!
16:53:35  <andythenorth> ctrl-click to re-randomise vehicle bits in depot? π
16:53:45  <andythenorth> combos
16:59:58  <frosch123> Ctrl+LMB+MMB+RMB to enter seed manually
17:00:27  <frosch123> Or maybe wheel-up and wheel-down at the same time
17:03:37  <LordAro> up up down down left right left right b a start
17:04:14  <andythenorth> hmm I could multiply the current random bits by flip state
17:04:27  <andythenorth> I have a consist that reads the engine bits for wagon randomisation
17:04:49  <andythenorth> is there some 'shift 8 with rotate'? operator?
17:07:54  <andythenorth> probably a bad idea
17:07:57  <andythenorth> most are
17:15:28  <xarick> imagine an airport sized 4x3, and imagine a station spread of 12. how to create a rectangle of tiles covering this radius so that any tile in the rectangle can join the airport?
17:16:52  <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1358853045315698984/image.png?ex=67f55a04&is=67f40884&hm=5a2b85110f89dc776d6435eefe386d70d2d8ed478376d8b28149f1658b716ac7&
17:16:52  <andythenorth> guess which of these trains have the same random bits? π
17:18:13  <xarick> or in other words... why do I need to do this to find a station to adjoin the airport
17:18:33  <xarick> I have reinvented too many wheel
17:30:41  <DorpsGek> [OpenTTD/OpenTTD] frosch123 merged pull request #13976: Fix: Validate raw strings from game-scripts, and strip invalid and control characters. https://github.com/OpenTTD/OpenTTD/pull/13976
17:33:13  <DorpsGek> [OpenTTD/OpenTTD] frosch123 merged pull request #13975: Fix: Capitalise "Disabled" for the "maximum non-sticky open windows" setting. https://github.com/OpenTTD/OpenTTD/pull/13975
17:50:34  *** akimoto has joined #openttd
18:01:10  *** akimoto has quit IRC (Remote host closed the connection)
18:24:31  <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13655: Add: Include some default badges. https://github.com/OpenTTD/OpenTTD/pull/13655
18:25:11  * peter1138 shrugs.
18:28:39  <peter1138> Hmm
18:28:58  <peter1138> Well this one is a bit crackly.
18:32:29  *** Wolf01 has joined #openttd
18:38:04  <talltyler> I am in favor of #13655, I just don't have anything to add since I don't really do NewGRFs anymore (and none that would use the default badges) π
18:38:29  <talltyler> I shall express my support on the PR where it belongs with a vague thumbs-up π
18:39:41  <_zephyris> Politics aside, just needs a smooth overlay for the 4x zoom sprites IMO
18:39:53  <peter1138> Comments like "these don't serve any purpose" or "what about such-and-such a use case" etc...
18:40:15  <DorpsGek> [OpenTTD/OpenTTD] DrewJenn opened pull request #13977: Update timetable_cmd.cpp https://github.com/OpenTTD/OpenTTD/pull/13977
18:40:59  <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #13977: Update timetable_cmd.cpp https://github.com/OpenTTD/OpenTTD/pull/13977
18:41:30  *** keikoz has joined #openttd
18:42:42  *** tokai has joined #openttd
18:42:42  *** ChanServ sets mode: +v tokai
18:45:35  <xarick> "good first issue"- eh nope
18:49:35  *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
18:51:23  <xarick> could we have a logarithmic toggle for graphs?
18:51:44  <xarick> some companies profit too much
18:51:56  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1358876969407742296/image.png?ex=67f5704c&is=67f41ecc&hm=eec4caecbe8dfd70f3234746c644a1833bb0c916ddba7736d85bc0e6c9532880&
18:53:35  <_zephyris> Can't have log scales where negative numbers are valid.
18:54:18  <_zephyris> Well, can't while guaranteeing all data points/series are shown
18:54:28  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13977: Update timetable_cmd.cpp https://github.com/OpenTTD/OpenTTD/pull/13977#issuecomment-2784269060
18:55:16  <peter1138> There's probably a better link but hey.
18:58:40  <peter1138> https://blog.gitbutler.com/20-years-of-git/
19:11:54  <peter1138> Bah, too crackly.
19:18:15  <DorpsGek> [OpenTTD/OpenTTD] DrewJenn opened pull request #13978: Fix #12980: [Timetable] Ctrl+Clear Time does not reset timetable state https://github.com/OpenTTD/OpenTTD/pull/13978
19:35:26  <xarick> git gud
19:38:08  <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #13965: Replace Utf8Encode and other C-style string construction with bounds checking StringBuilder class https://github.com/OpenTTD/OpenTTD/pull/13965
19:49:46  <DorpsGek> [OpenTTD/OpenTTD] DrewJenn updated pull request #13978: Fix #12980: [Timetable] Ctrl+Clear Time does not reset timetable state https://github.com/OpenTTD/OpenTTD/pull/13978
20:02:20  *** WormnestAndroid has quit IRC (Remote host closed the connection)
20:02:22  *** WormnestAndroid has joined #openttd
20:18:29  <xarick> `tileList2.RemoveRectangle(tile, AIMap.GetTileIndex(AIMap.GetTileX(tile + airport_x - 1), AIMap.GetTileY(tile + airport_y - 1)));`
20:18:29  <xarick> this is wrong, isn't it?
20:20:48  <xarick> dang, it's been wrong since forever!
20:56:52  *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:05:00  <xarick> must decomplex: <https://github.com/SamuXarick/LuDiAI-AfterFix/blob/master/WrightAI.nut#L208-L278>
21:05:57  <xarick> basically, I am looking for an adjacent station to adjoin
21:06:32  <xarick> but translating that into code
21:06:57  <xarick> any examples in openttd own code?
21:07:25  <xarick> so that I would not reinvent the wheel again
21:12:48  <andythenorth> xarick: I only skimmed it, but it looks like vanilla AI/GS
21:13:04  <andythenorth> doing things with the map involves....a lot of LOC
21:24:31  *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:32:13  <xarick> how to calculate the minimum distance manhattan to a rectangle of tiles
21:32:47  *** kuka_lie has quit IRC (Quit: Lost terminal)
21:33:59  <andythenorth> ask GPT
21:34:08  <andythenorth> it's ingested a lot of textbooks
21:49:30  *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:08:06  *** Flygon has joined #openttd
22:13:25  <xarick> okay gonna ask it
22:30:01  <xarick> can I clone classes?
22:36:22  <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1358933450601533490/image.png?ex=67f5a4e6&is=67f45366&hm=d454a9c317c0e6e934cc8ea0c681492c2422c62e25ebb2f005c953af344dc7db&
22:36:22  <xarick> was trying to avoid doing a duplicate of Orthogonals
23:33:16  <_glx_> there's http://squirrel-lang.org/doc/squirrel2.html#d0e1264, but it only works for squirrel objects
continue to next day β΅