IRC logs for #openttd on OFTC at 2024-07-21
            
00:00:54 <yiffgirl> i don't know about you, but in my games not all the rail is covered by trains 100% of the time
00:23:41 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
00:37:29 *** debdog has quit IRC (Remote host closed the connection)
00:38:30 *** debdog has joined #openttd
01:00:32 *** Wormnest has joined #openttd
01:47:37 *** Tirili has quit IRC (Quit: Leaving)
02:21:43 *** Wormnest has quit IRC (Ping timeout: 480 seconds)
02:45:03 *** Wormnest has joined #openttd
02:51:02 *** Wormnest has quit IRC (Quit: Leaving)
02:56:10 *** D-HUND has joined #openttd
02:59:30 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:04:07 *** D-HUND is now known as debdog
04:03:27 <DorpsGek> [OpenTTD/OpenTTD] EmperorJake commented on pull request #11377: Change: Always allow expanding towns in Scenario Editor to build new roads https://github.com/OpenTTD/OpenTTD/pull/11377#issuecomment-2241452164
04:10:35 *** keikoz has joined #openttd
04:42:23 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/31e2f5a8a071a26ea4f512e2202ddc53162e2b04
04:42:24 <DorpsGek> - Update: Translations from eints (by translators)
05:01:36 <andythenorth> pickpacket: Whatever I did (or imagined doing) just used a built in squirrel sort, or maybe a valuated GSList sort
05:02:06 <andythenorth> You probably just need a GSList 😛
05:10:48 <pickpacket> andythenorth: I ended up just using a table and sorting it into a list of key/value tuples based on value when needed. The ordo is 1+2+3+...+n, however you express that 🙂
05:11:29 <pickpacket> And good morning, brw
05:11:35 <pickpacket> *btw
06:30:11 *** nielsm has joined #openttd
06:57:18 <pickpacket> If I clear a GSStoryPageElementList, does that mean the elements disappear from the storypage?
07:18:13 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12872: Cleanup: Remove write-only flag_offset member from server list. https://github.com/OpenTTD/OpenTTD/pull/12872
08:04:05 <pickpacket> I'm assuming it doesn't
08:17:27 <DorpsGek> [OpenTTD/team] Br0l15 opened issue #574: [lt_LT] Translator access request https://github.com/OpenTTD/team/issues/574
08:29:06 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #12874: Change: [UI] Network server list icon sizing and text positioning https://github.com/OpenTTD/OpenTTD/pull/12874
08:32:41 *** gwyd4016 has joined #openttd
08:32:41 <gwyd4016> yiffgirl: Multi year global war event with scorched earth doctorine; random bridges start blowing up and boats sinking
08:35:39 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #12874: Change: [UI] Network server list icon sizing and text positioning https://github.com/OpenTTD/OpenTTD/pull/12874#pullrequestreview-2190274836
08:39:48 *** D-HUND has joined #openttd
08:47:08 <pickpacket> gwyd4016: planes are shot down and stations blow up
08:47:24 <pickpacket> Are storypage function async?
08:47:37 <pickpacket> I'm getting some weird results when writing to one
08:47:50 <peter1139> Only when you enable async mode first.
08:47:54 <pickpacket> threaded?
08:48:11 <pickpacket> is async disabled by default?
08:48:45 <peter1139> Commands are synchronous by default so that you can act based on the return of the command.
08:50:10 <andythenorth> Also storypages don’t update trivially
08:50:47 <andythenorth> So if you already have one to update, you may need a tree of all its widgets, then remove them, readd them
08:52:38 <peter1139> Hmm, maybe I should've done a bike ride today.
08:53:51 <peter1139> Stuck in code eh?
09:06:24 <andythenorth> Is it still a heatwave?
09:06:31 <andythenorth> Or back to mud?
09:07:03 <peter1139> Both.
09:07:53 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12874: Change: [UI] Network server list icon sizing and text positioning https://github.com/OpenTTD/OpenTTD/pull/12874
09:10:56 <peter1139> I guess wasn't the best scale to show the issue, it's only 1 pixel out there...
10:05:43 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
10:25:55 <pickpacket> andythenorth: in this case it only has one page with a handful of text elements. But I do need to remove all the elements and I'm somehow struggling with that
10:34:39 <pickpacket> For some reason this goes as many iterations as there are elements, but it can only remove the first element: https://lounge.warmedal.se/uploads/19f61b9f0c0c35be/image.png
10:35:53 <DorpsGek> [OpenTTD/OpenTTD] LordActive commented on pull request #11377: Change: Always allow expanding towns in Scenario Editor to build new roads https://github.com/OpenTTD/OpenTTD/pull/11377#issuecomment-2241560808
10:53:50 <_glx_> pickpacket: The id for remove is I not val
10:55:38 *** merni has quit IRC (Quit: User went offline on Discord a while ago)
10:59:52 <pickpacket> _glx_: Oh! Thanks!
11:01:51 <pickpacket> but how come? It's a list of element IDs. Shouldn't it be the element ID rather than its place in the list that matters?
11:04:41 <pickpacket> Huh. There's no event for when a company changes name
11:05:55 <pickpacket> I'm gonna add that. Later.
11:09:16 <andythenorth> It’s probably derived from GSList
11:09:29 <andythenorth> So val is nothing until valuated
11:10:08 <pickpacket> There's no event for when a company is removed either. Is it the bankrupt event that fires then?
11:10:47 <andythenorth> GSList is a bizarre thing 🙂
11:11:24 <pickpacket> Yeah, I just made an ordinary list where I save the element IDs. Much easier to deal with.
11:12:40 <pickpacket> https://lounge.warmedal.se/uploads/8c63185527d25305/image.png
11:13:11 <andythenorth> You can probably foreach there
11:39:52 <peter1139> Okay, I did a ride.
11:40:02 <peter1139> Super long distance ;p
11:40:14 <truebrain> 1km?
11:57:08 <peter1139> Almost.
12:05:10 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #12875: Change: [UI] Use scaled sprite sizes and correct matrix padding for content list. https://github.com/OpenTTD/OpenTTD/pull/12875
12:06:12 <pickpacket> andythenorth: except I want to skip the first element 🙂
12:11:58 <johnfranklin> Multi-language BaNaNaS when?
12:12:47 <peter1139> https://github.com/OpenTTD/bananas-frontend-web/pulls
12:15:19 <DorpsGek> [OpenTTD/team] glx22 commented on issue #574: [lt_LT] Translator access request https://github.com/OpenTTD/team/issues/574
12:16:10 <peter1139> (I mean, a pull request to implement that would be a start... :))
12:17:15 <johnfranklin> HTML?
12:17:55 <johnfranklin> I have little html knowledge base, and don't know how multi-language-website works.
12:19:59 <johnfranklin> Just a reminder, many players without decent English skills struggle to find NewGRFs, especially after the removal of custom-tags other than regions.
12:22:02 <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #12871: Codechange: Use GetVisibleRangeIterators to draw script settings. https://github.com/OpenTTD/OpenTTD/pull/12871#pullrequestreview-2190316604
12:22:03 <peter1139> Okay, if you're talking about in-game, then there's not much scope for multi-language support given the content is put there by players.
12:22:30 <johnfranklin> If we developed China Set: Trains two years ago... we were able to tag "和谐", "复兴", "跨越", "国铁包" etc, for example
12:24:30 <johnfranklin> Why are custom tags removed after the introduction of regions?
12:27:50 <_glx_> because it was a mess
12:29:41 <_glx_> but maybe searching inside description field and not only in grf name could help
12:30:43 <johnfranklin> This is a good idea.
12:32:14 <johnfranklin> The dibridge cat for Peter is always wearing a scarf. I guess the appearance of the cat is determined by some seed generated by the IRC nickname
12:32:17 <_glx_> also classification needs to be added to openttd side (similar to website)
12:39:23 <pickpacket> humdidum. Compiling. With some luck I'll send a PR later today adding a ET_COMPANY_RENAMED event to the GS api
12:40:57 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12871: Codechange: Use GetVisibleRangeIterators to draw script settings. https://github.com/OpenTTD/OpenTTD/pull/12871
12:43:33 *** reldred has quit IRC (Quit: User went offline on Discord a while ago)
12:44:54 <DorpsGek> [OpenTTD/OpenTTD] glx22 approved pull request #12875: Change: [UI] Use scaled sprite sizes and correct matrix padding for content list. https://github.com/OpenTTD/OpenTTD/pull/12875#pullrequestreview-2190322079
13:01:33 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12875: Change: [UI] Use scaled sprite sizes and correct matrix padding for content list. https://github.com/OpenTTD/OpenTTD/pull/12875
13:02:34 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #12873: Fix 12860, 2bada59: Timetable does not show vehicles as early https://github.com/OpenTTD/OpenTTD/pull/12873#pullrequestreview-2190325736
15:50:53 *** tokai has joined #openttd
15:50:54 *** ChanServ sets mode: +v tokai
15:52:18 <DorpsGek> [OpenTTD/OpenTTD] SoapGentoo opened pull request #12876: Codechange: fix for GCC 15 two-phase lookup https://github.com/OpenTTD/OpenTTD/pull/12876
16:05:25 <DorpsGek> [OpenTTD/OpenTTD] ivpravdin commented on pull request #12873: Fix 12860, 2bada59: Timetable does not show vehicles as early https://github.com/OpenTTD/OpenTTD/pull/12873#pullrequestreview-2190362983
16:14:52 <DorpsGek> [OpenTTD/OpenTTD] ivpravdin updated pull request #12858: Fix #12856, e17c82e: Updating network settings does not invalidate data https://github.com/OpenTTD/OpenTTD/pull/12858
16:16:40 *** Ox7C5 has joined #openttd
17:27:16 *** gelignite has joined #openttd
17:33:31 <peter1139> Well.
17:39:27 *** D-HUND has quit IRC (Remote host closed the connection)
17:40:27 *** D-HUND has joined #openttd
17:47:02 *** Ox7C5 has quit IRC ()
18:10:03 *** gelignite has quit IRC (Read error: Connection reset by peer)
18:12:47 *** gelignite has joined #openttd
18:15:20 <LordAro> peter1139: ikr
18:21:15 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12858: Fix #12856, e17c82e: Updating network settings does not invalidate data https://github.com/OpenTTD/OpenTTD/pull/12858#pullrequestreview-2190379801
19:03:18 *** debdog has quit IRC (Remote host closed the connection)
19:04:19 *** debdog has joined #openttd
19:54:23 <DorpsGek> [OpenTTD/OpenTTD] binraptor opened pull request #12877: Feat: add Ukrainian Hryvnia currency https://github.com/OpenTTD/OpenTTD/pull/12877
20:07:37 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #12646: Change: Use default NewGRF cargo translation table. https://github.com/OpenTTD/OpenTTD/pull/12646#issuecomment-2241759851
20:19:40 *** nielsm has quit IRC (Ping timeout: 480 seconds)
20:56:20 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #12877: Feature: add Ukrainian Hryvnia currency https://github.com/OpenTTD/OpenTTD/pull/12877#pullrequestreview-2190396976
20:59:52 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #12858: Fix #12856, e17c82e: Updating network settings does not invalidate data https://github.com/OpenTTD/OpenTTD/pull/12858
20:59:55 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed issue #12856: [Bug]: New Company button missing while server is full and Max Companies setting changes https://github.com/OpenTTD/OpenTTD/issues/12856
20:59:58 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed issue #12856: [Bug]: New Company button missing while server is full and Max Companies setting changes https://github.com/OpenTTD/OpenTTD/issues/12856
21:02:41 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #12873: Fix 12860, 2bada59: Timetable does not show vehicles as early https://github.com/OpenTTD/OpenTTD/pull/12873#pullrequestreview-2190398412
21:05:37 <LordAro> didn't we decide we weren't going to add any more currencies?
21:06:24 <LordAro> hmm, apparently not
21:08:21 <LordAro> (based on merged MRs)
21:08:35 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #12868: Codechange: Simplify IsCompanyBuildableVehicleType. https://github.com/OpenTTD/OpenTTD/pull/12868#issuecomment-2241774793
21:44:19 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:44:26 *** tokai|noir has joined #openttd
21:44:27 *** ChanServ sets mode: +v tokai|noir
21:45:26 <peter1139> We did, years ago, but someone forget that :)
21:51:13 *** tokai has quit IRC (Ping timeout: 480 seconds)
22:00:57 <truebrain> Thrice
22:09:27 <talltyler> Was it written down anywhere? (Besides IRC)
22:10:33 <talltyler> Personally, my feeling is that if there’s a full translation then a currency is acceptable, as a thank-you to translators 🙂
22:10:50 <peter1139> https://github.com/OpenTTD/OpenTTD/pull/8795
22:13:40 <peter1139> Of course, not concrete, and other currency PRs were handled around the same time.
22:27:00 <audigex> “But I think our quota for 1.11 has long been reached” doesn’t exactly scream “that’s it, we’re not adding any more” though
22:27:16 <audigex> Especially when we’re on 14.1 or something now
22:56:18 *** gelignite has quit IRC (Quit: Stay safe!)