IRC logs for #openttd on OFTC at 2025-06-13
            
01:05:35 *** Flygon has joined #openttd
01:14:55 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
01:14:57 *** WormnestAndroid has joined #openttd
01:14:59 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
01:15:15 *** WormnestAndroid has joined #openttd
01:49:42 *** Wormnest has joined #openttd
02:09:18 *** Wormnest has quit IRC (Quit: Leaving)
02:36:04 *** gnu_jj_ has joined #openttd
02:39:41 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
03:08:04 *** D-HUND has joined #openttd
03:11:24 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:30:41 *** WormnestAndroid has quit IRC (Remote host closed the connection)
03:30:46 *** WormnestAndroid has joined #openttd
04:08:54 *** keikoz has joined #openttd
04:42:27 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/a1786fa1f44cb23b72a75fc6a31a983cfe57253c
04:42:28 <DorpsGek> - Update: Translations from eints (by translators)
06:16:16 <_zephyris> peter1138[d]: Yeah... I'm tempted to 'flatten' the OGFX2 ones, and add a shadow, I think it'd work better overall. But for original graphics meh, like you say, too 3D
06:54:30 <peter1138[d]> Remember they have text drawn over it the station view
07:03:41 <peter1138[d]> (And that used to be the only place they were used)
07:21:25 <peter1138[d]> _glx_: That's what I would have thought, but in master it doesn't get killed.
07:42:22 *** gelignite has joined #openttd
07:48:00 *** D-HUND is now known as debdog
08:35:40 <DorpsGek> [OpenTTD/team] mortiy opened issue #644: [uk_UA] Translator access request https://github.com/OpenTTD/team/issues/644
08:40:38 <_zephyris> peter1138[d]: Yeah, but white text... Just an idea for now anyway
08:40:45 <_zephyris> More useful is getting CI working
08:56:01 <peter1138[d]> Also we have the bit that creates an outline.
08:56:10 <peter1138[d]> Outline will include your baked in shadow.
08:58:13 <peter1138[d]> Hmm, I think ITI manages to reuse cargo icons from different climates 🙂
08:59:00 <peter1138[d]> As does IOTC, with some dupes.
08:59:43 <peter1138[d]> And PIRS.
09:01:51 <peter1138[d]> NewCargoes has a mix of new and original, but that set doesn't work anyway.
09:03:12 <peter1138[d]> Hmm, I wonder.
09:03:55 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1383008975548579881/image.png?ex=684d3afa&is=684be97a&hm=1cfebe226ad782f07a66bca686dd58c7ef9a87c22457dd072ecc611c48287041&
09:03:55 <peter1138[d]> That Limestone 😮
09:05:34 <peter1138[d]> (Also Tourists is too tall)
09:13:34 *** notluke2578 has joined #openttd
09:13:34 <notluke2578> Nah
09:13:40 <notluke2578> Tourists are generally tall irl
09:18:43 <xarick> https://www.youtube.com/watch?v=N4JVT3eVBP8 this video is for me :)=
09:31:50 <peter1138[d]> No one has reverted the wiki yet 😉
09:38:22 *** gelignite has quit IRC ()
09:46:28 *** twpol has quit IRC (resistance.oftc.net synthon.oftc.net)
09:46:28 *** greeter has quit IRC (resistance.oftc.net synthon.oftc.net)
09:46:28 *** felix has quit IRC (resistance.oftc.net synthon.oftc.net)
09:48:14 *** twpol has joined #openttd
09:48:14 *** greeter has joined #openttd
09:48:14 *** felix has joined #openttd
09:55:56 <peter1138[d]> Is there a Standardised Cargotype Scheme?
10:12:44 <peter1138[d]> So the U+200C characters I removed from Lithuanian got added back.
10:13:01 *** ialokin has joined #openttd
10:14:54 <_glx_> peter1138[d]: In master each Valuate is allowed 1M ops, in my branch it uses the remaining ops so first run might be very short but next one will get around max_ops from setting
10:16:26 <peter1138[d]> Yeah, so I suppose the problem is it still can't suspend in the middle of the valuator.
10:25:54 <_glx_> Yup, the Valuator call itself can be suspended, but if a Valuator call happens in another Valuator call that will fail
10:26:57 <_glx_> Most likely because of the "infinite" loop detection
10:27:56 <_glx_> Hmm but infinite loop in Valuator should be less problematic if suspendable
10:29:20 <_glx_> Maybe I can remove the check
10:34:41 *** ialokin has quit IRC (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in)
10:43:39 <DorpsGek> [OpenTTD/OpenTTD-TTF] PeterN opened issue #16: Spacing of "į‌" (U+012F) character is too narrow https://github.com/OpenTTD/OpenTTD-TTF/issues/16
10:43:46 *** ialokin has joined #openttd
10:52:43 <DorpsGek> [OpenTTD/OpenTTD] cmcaine opened issue #14356: [Bug]: AuzSecurityWaypoints don't animate in 15.0 but do in openttd 14.1 https://github.com/OpenTTD/OpenTTD/issues/14356
11:08:47 <andythenorth> peter1138[d]: Yes
11:09:03 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris opened pull request #17: Fix: Lowercase i ogonek right bearing was zero https://github.com/OpenTTD/OpenTTD-TTF/pull/17
11:11:00 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris updated pull request #17: Fix: Lowercase i ogonek right bearing was zero https://github.com/OpenTTD/OpenTTD-TTF/pull/17
11:12:09 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1383041248847204352/image.png?ex=684d5909&is=684c0789&hm=fcd3aefaff385254cdeaa47dfec5446b22f3f83080b447b231e89499717f1192&
11:12:09 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1383041249086406666/image.png?ex=684d5909&is=684c0789&hm=c29b2e01cd2208101b2b1d6c107f625e8adc1cef3c16e1243169134c725fb7bb&
11:12:24 <peter1138[d]> That description for Setting Type is... very long.
11:13:03 <peter1138[d]> "fixed" 😄
11:33:44 <peter1138[d]> Pretty sure it can be shorter than that, but... translations, eh?
11:35:26 *** gelignite has joined #openttd
11:54:55 *** WormnestAndroid has quit IRC (Remote host closed the connection)
11:55:08 *** WormnestAndroid has joined #openttd
12:22:07 <_zephyris> I guess hard to spot the context to know it needs to be short from the string name
12:22:49 <_zephyris> (not having checked what the string name is)
12:42:58 <peter1138[d]> Oof, a website with a password reset field that tells you if the email is not known... naughty.
12:55:05 *** reldred has quit IRC (Quit: User went offline on Discord a while ago)
13:29:35 <cmcaine> https://cdn.discordapp.com/attachments/1008473233844097104/1383075833442467930/cursor-and-tooltip-mockup-2.png?ex=684d793e&is=684c27be&hm=fccdcb60fe8a4481f56960a77b21b4c904645dd44eb7a5afde62de6b8781d14e&
13:29:35 <cmcaine> Did another mockup for the hotkey highlighting thing
14:05:30 <peter1138[d]> Please don't use threads here.
14:05:48 <peter1138[d]> Discord is way to ephemeral, unsearchable, and not everyone is using it.
14:06:14 <peter1138[d]> Github would be a better place to do things.
14:06:35 <cmcaine> I think it looks okay now. Possible extras:
14:06:35 <cmcaine> - Include the hotkeys in the tooltip, maybe specifying whether they are global or not so that people can learn the colour association
14:06:35 <cmcaine> - maybe show global hotkeys that don't currently have a button visible (could possibly be used instead of using colour to highlight the global hotkeys)
14:06:35 <cmcaine> - where a single button has multiple actions associated with it (e.g. polyline has CTRL-A and CTRL-SHIFT-A), maybe show them both somehow?
14:06:35 <cmcaine> I think the default set of hotkeys is pretty bad, so I've been mocking this up with my own config. I think it would be good to offer a "classic" and "modern" set of hotkeys.
14:06:37 <cmcaine> Also, I've spent long enough thinking about hotkeys now that I've changed a bunch of mine and memorised them, so my energy for implementing this is waning 😅
14:09:17 <cmcaine> I'm posting to share this idea for quick feedback and motivation.
14:09:17 <cmcaine> If I actually write a patch then I'll put the mockups and stuff on github in the PR.
14:10:35 <cmcaine> peter1138[d]: Was it Blabla car? I think they do this.
14:14:53 <talltyler> I assume you've read the previous attempt at hotkeys? I don't recall what killed the project, maybe kuhnovic remembers. 🙂
14:14:53 <talltyler> Another approach you might consider, which I think would resolve the "players don't know hotkeys" and maybe scratch your itch of changing hotkey settings, is to instead create a hotkey configuration window. That one gets requested somewhat frequently.
14:15:08 <talltyler> https://github.com/OpenTTD/OpenTTD/pull/9732
14:15:16 <peter1138[d]> They probably also spent enough time on it to just memorise it all 😉
14:16:13 <peter1138[d]> Does Uniscribe in Wine work the same as on Windows... I'd hope so, but you never know...
14:18:21 <kuhnovic> talltyler: I closed that PR myself, I got stuck and gave up on it
14:18:58 <kuhnovic> That doesn't mean it's impossible, I just didn't feel like working on it any longer 🙂
14:19:41 *** Flygon has quit IRC (Read error: Connection reset by peer)
14:20:40 <talltyler> Right, I just forget what you discovered was harder than it appeared. 🙂
14:27:53 <peter1138[d]> Might be easier with the new string parameter system.
14:30:26 <kuhnovic> IIRC the main difficulty was trying to figure out which hotkey belonged to which button. I tried to automatically resolve it and it just didn't work. I probably just went down the wrong rabbit hole.
14:31:27 *** gelignite has quit IRC ()
14:51:26 <peter1138[d]> Oof.
14:52:57 <peter1138[d]> So something in our layouter prefers splitting between digits and letters instead of at a ideographic colon or a ZWSP.
14:56:25 <peter1138[d]> (Or even a space, actually.)
15:00:12 *** Wormnest has joined #openttd
15:16:14 <peter1138[d]> Text file is `MD5 Sum码:1234567890THISISTHEAGEOFTHETRAINTHISISTHEAGEOFTHETRAINTHISISTHEA`
15:16:30 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1383102741332623463/image.png?ex=684d924e&is=684c40ce&hm=976c046ee7c011fd1faf487fa20ad261ce350c826ce6ca1aae788fbb08f2fe51&
15:16:30 <peter1138[d]> Wrapped is:
15:16:45 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1383102803655790653/image.png?ex=684d925d&is=684c40dd&hm=498b2c17f26c7e858e10d403bfa4c44de80965efeded62dbbe5650815b04f042&
15:16:45 <peter1138[d]> Because:
15:17:19 <peter1138[d]> The numbers are in a separate run to the letters, so the line break is at the pointer where the run changes.
15:18:17 <_glx_> oh I see the issue with AAAHog, it's actually bad luck (and the way I detect infinite loops), it got suspended while valuating the first item of the list
15:32:27 <michi_cc> peter1138[d]: The usual run algorithm prefers runs as long as possible I think, and numbers are mostly script-agnostic, so will be collapsed into the CJK run.
15:34:28 <peter1138[d]> Right, basically there's nothing to say we want a new run now at specific points.
15:35:12 <michi_cc> A zero-width non-joiner after the : might do something, but this is just a wild guess.
15:35:28 <michi_cc> Or maybe \u2029
15:39:58 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1383108646048628937/image.png?ex=684d97ce&is=684c464e&hm=f5ef7935405d91fc8d37339224e0e171d6014ce6c8f89abc17dd44f48f2f2e91&
15:39:58 <peter1138[d]> Funnily enough...
15:39:59 <peter1138[d]> No 😉
15:46:20 <DorpsGek> [OpenTTD/OpenTTD] staxhinho commented on pull request #14018: Feature: Add setting to disable vehicle intro date randomisation https://github.com/OpenTTD/OpenTTD/pull/14018#issuecomment-2970797472
15:54:54 <peter1138[d]> Game gotta be entirely deterministic...
16:17:13 <cmcaine> talltyler: Making a hotkey config window seems like a lot more work 🙂
16:17:13 <cmcaine> Yes, I found that PR before I started with any mockups or looking at the code.
16:26:47 *** Wolf01 has joined #openttd
16:37:32 <peter1138[d]> https://cdn.discordapp.com/attachments/1008473233844097104/1383123131643990056/image.png?ex=684da54b&is=684c53cb&hm=fda393aeeb39afe58bc26b66f5bd255f876b323d95dd5dba6ccb7945db88df85&
16:37:32 <peter1138[d]> Same thing but on "Windows"... a.k.a Wine.
16:38:41 <peter1138[d]> So ZWSP does actually seem do the correct thing with (this) uniscribe, despite what was mentioned in #11766
18:39:09 *** youngking236048 has joined #openttd
18:39:09 <youngking236048> https://media.discordapp.net/attachments/1294380382661116045/1383139564872536215/1.jpg?ex=684db499&is=684c6319&hm=c9512dce38995da054f9aac251e5a2462270671c18288e3703aa40787c60e0da&=&format=webp&width=648&height=864
18:39:09 <youngking236048> https://media.discordapp.net/attachments/1294380382661116045/1383139565123928217/2.jpg?ex=684db499&is=684c6319&hm=2bb8eaaaf4fb7ac50cf69065fbcf5ab8c39cd5065c7098188e1969bea0936586&=&format=webp&width=648&height=864
18:39:09 <youngking236048> https://media.discordapp.net/attachments/1294380382661116045/1383139565367332944/3.jpg?ex=684db499&is=684c6319&hm=054e6be679b17d5d074f0a958227214727f71af855426478f03409fe51f35bf5&=&format=webp
18:39:09 <youngking236048> https://media.discordapp.net/attachments/1294380382661116045/1383139565677576313/4.jpg?ex=684db499&is=684c6319&hm=c04a0403445224967de48ad67cb1885891ca830b386fdc625f19f0eb69908455&=&format=webp&width=648&height=864
18:41:04 <debdog> haha
18:42:16 <debdog> and people think I am a troll mentioning xlibre
19:38:09 <_glx_> <https://github.com/OpenTTD/OpenTTD/compare/master...glx22:OpenTTD:suspendable> now AAAHog is happy
19:50:52 <peter1138[d]> debdog: Who what?
19:55:01 <andythenorth> naptime?
20:12:56 <dwfreed> peter1138[d]: he's just mad he got quieted in #debian for being offtopic
20:15:13 <debdog> peter1138[d]: uhm, that was meant for another channel
20:15:36 <debdog> dwfreed: haha, good catch. except I am not mad
20:16:28 <wensimehrp> https://cdn.discordapp.com/attachments/1008473233844097104/1383178229107654696/250px-Chicago_typeface_spec.png?ex=684dd89c&is=684c871c&hm=6ed59bbccc2187c732ad30439a3fdaeef5a7396262e60466d8778fa058cd94bd&
20:16:28 <wensimehrp> hmm
20:16:29 <debdog> dwfreed: just wanted to see who are the fascists in #debian
20:16:39 <dwfreed> debdog: it's offtopic here too, drop it
20:17:08 <debdog> right, as I have said, this was accidently
20:17:29 <debdog> also, drop waht? dwfreed
20:17:35 <dwfreed> then why are you continuing it? shut up, or I apply the network banhammer
20:17:43 <debdog> uhm
20:17:46 <debdog> what?
20:17:54 <debdog> I just saiod, it was an accident
20:18:01 <dwfreed> THEN SHUT UP
20:18:05 <dwfreed> last warning
20:18:07 <debdog> about what?
20:18:15 <LordAro> so edgy
20:18:19 *** debdog has quit IRC (autokilled: This host violated network policy. Mail support@oftc.net if you think this is in error. (2025-06-13 20:18:19))
20:18:22 <dwfreed> bye
20:19:00 <LordAro> i love when someone unknowingly argues with an admin
20:19:05 <dwfreed> :D
20:20:00 <_glx_> never a good idea to not listen to ircops
20:20:56 <peter1138[d]> Ok
20:27:08 <andythenorth> weird interlude 🙂
20:29:55 *** debdog has joined #openttd
20:30:44 <dwfreed> debdog: disconnect now, or I ban you permanently for ban evasion; only warning, don't reply, don't argue; /quit, or get banned
20:32:55 <debdog> dwfreed: what have I done wrong?
20:32:57 *** debdog has quit IRC (autokilled: This host violated network policy. Mail support@oftc.net if you think this is in error. (2025-06-13 20:32:57))
20:33:14 <dwfreed> seriously
21:02:07 <peter1138[d]> Just use some random unicode characters if you want a ban....
21:02:44 <andythenorth> 2/3
21:07:21 <dwfreed> peter1138[d]: :D
21:29:06 <DorpsGek> [OpenTTD/OpenTTD] michicc opened pull request #14357: Draft feature: Support for multi-railtype rail vehicles https://github.com/OpenTTD/OpenTTD/pull/14357
21:29:58 <DorpsGek> [OpenTTD/OpenTTD] michicc commented on pull request #14357: Draft feature: Support for multi-railtype rail vehicles https://github.com/OpenTTD/OpenTTD/pull/14357#issuecomment-2971725139
21:30:56 <michi_cc> andythenorth: ⏫ Something for you maybe 🙂
21:33:08 *** debdog has joined #openttd
21:35:27 <andythenorth> oo
21:36:10 *** debdog has quit IRC (autokilled: This host violated network policy. Mail support@oftc.net if you think this is in error. (2025-06-13 21:36:10))
21:38:37 <andythenorth> michi_cc: I can't test tonight, but that might solve a lot of the compatibility angst in the grf dev channel 😄
21:40:46 <michi_cc> Yes, that is the reason for this. Needing a million (potentially hidden) railtypes to make something like a 4-system electrification locomotive is just stupid. Some mixed types do make sense to build, but most do not.
21:45:16 <andythenorth> ++
21:55:23 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:01:30 *** tokai has joined #openttd
22:01:30 *** ChanServ sets mode: +v tokai
22:07:24 <talltyler> It’s good to see some out-of-the-box thinking on this 🙂
22:08:24 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
22:09:31 <michi_cc> I don't consider it that much out-of-the-box, more like something NewGRF authors should have been feature requesting since 10 years ago.
22:09:59 <andythenorth> that nml fallback feature obscured the spec too much for them to understand it
22:10:06 <andythenorth> 'unfortunate' 🙂
22:10:09 <andythenorth> best of intentions
22:10:15 <michi_cc> And speaking of features, the multi-hold ship thingy would be something nice to steal from JGRpp 🙂
22:10:19 <andythenorth> wouldn't it
22:15:56 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:18:59 <peter1138[d]> If it's done in a way that allows the same for all transport types, sure.
22:37:08 <michi_cc> Road and rail have some kind of multi-cargo transport way already (articulation and extra wagons), and aircraft have a little bit of multi-cargo support.
22:37:45 <michi_cc> I haven't looked at the actual JGRpp implementation though. I like the idea, but no idea if the code is sound or not.
22:42:14 *** WormnestAndroid has quit IRC (Remote host closed the connection)
22:42:15 *** WormnestAndroid has joined #openttd
22:48:36 <DorpsGek> [OpenTTD/OpenTTD] cmcaine opened pull request #14358: Codechange: use default OnHotkey handler for focusing editboxes https://github.com/OpenTTD/OpenTTD/pull/14358
23:03:53 <_glx_> michi_cc: didn't check, but I think it's some kind of articulated
23:09:11 <_jgr_> Yes, I'm using callback 16, it didn't seem worth inventing something radically different
23:10:26 <_jgr_> <https://jgrennison.github.io/OpenTTD-patches/newgrf-additions.html#callbacks_ships>, for what it's worth
23:10:30 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14359: Fix #14356, ff7eb996e6: Incorrect sprite group chosen for stations and road stops. https://github.com/OpenTTD/OpenTTD/pull/14359
23:12:19 <peter1138[d]> michi_cc: Yes, but it causes other effects.
23:14:10 <peter1138[d]> A multi-cargo road vehicle can't use non-drive-through bays, for instance.
23:21:27 *** reldred has joined #openttd
23:21:27 <reldred> I honestly forget non drive through stops even exist
23:21:46 <reldred> Been that long since I’ve used them in anger
23:39:38 <michi_cc> peter1138[d]: Well, maybe `Vehicle::cargo_type` (and related vars) need to become a vector and be filled by either a static prop or a new callback.
23:40:32 <michi_cc> Or alternative articulated parts get a hidden flag that completely removes them from any drawing or movement related calculations.
23:43:41 <DorpsGek> [OpenTTD/OpenTTD] cmcaine commented on pull request #14358: Codechange: use default OnHotkey handler for focusing editboxes https://github.com/OpenTTD/OpenTTD/pull/14358#issuecomment-2971973834
23:52:00 <peter1138[d]> I don't know really, other than being locked into doing things a certain due to a 20 year old spec...
23:56:01 <cmcaine> I wanna draw some text on the screen. What functions should I be looking for?
23:56:01 <cmcaine> Bonus points for:
23:56:01 <cmcaine> - easy way to outline the characters
23:56:01 <cmcaine> - easy way to change the colour of the text
23:57:31 <peter1138[d]> DrawString would be a place to start.
23:57:37 <peter1138[d]> Outline, nope.
23:57:45 <peter1138[d]> Shadow, yup.
23:58:03 <peter1138[d]> Colour, mostly, there's a few text colours available.
23:58:25 <peter1138[d]> Size, there is only the normal medium font and the small font.