IRC logs for #openttd on OFTC at 2024-07-21
⏴ go to previous day
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)
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:59:30 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:04:07 *** D-HUND is now known as debdog
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
06:57:18 <pickpacket> If I clear a GSStoryPageElementList, does that mean the elements disappear from the storypage?
08:04:05 <pickpacket> I'm assuming it doesn't
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: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: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.
09:06:24 <andythenorth> Is it still a heatwave?
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: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: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
12:06:12 <pickpacket> andythenorth: except I want to skip the first element 🙂
12:11:58 <johnfranklin> Multi-language BaNaNaS when?
12:16:10 <peter1139> (I mean, a pull request to implement that would be a start... :))
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: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: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:43:33 *** reldred has quit IRC (Quit: User went offline on Discord a while ago)
15:50:54 *** ChanServ sets mode: +v tokai
17:27:16 *** gelignite has joined #openttd
17:39:27 *** D-HUND has quit IRC (Remote host closed the connection)
18:10:03 *** gelignite has quit IRC (Read error: Connection reset by peer)
18:12:47 *** gelignite has joined #openttd
19:03:18 *** debdog has quit IRC (Remote host closed the connection)
20:19:40 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:05:37 <LordAro> didn't we decide we weren't going to add any more currencies?
21:08:21 <LordAro> (based on merged MRs)
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: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: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!)
continue to next day ⏵