IRC logs for #openttd on OFTC at 2024-12-10
β΄ go to previous day
00:06:30 <truebrain> That gist has some nice passive aggressive information π
00:11:19 <LordAro> i notice it was not used
01:08:36 *** dihedral has joined #openttd
02:06:12 *** Wormnest_ has quit IRC (Quit: Leaving)
03:27:38 *** gnu_jj_ has joined #openttd
03:30:46 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
03:43:27 <peter1138> Urgh, tired but can't sleep
03:44:14 <mnhebi> Code some Rust, it'll help you sleep.
03:44:27 <mnhebi> In fact, why not start converting OTTD to Rust, guaranteed sleep every night
03:46:36 <peter1138> Tired, not suicidal.
03:51:21 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:52:54 *** D-HUND is now known as debdog
04:45:51 <DorpsGek> - Update: Translations from eints (by translators)
05:59:01 *** ChanServ sets mode: +v tokai
06:02:49 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
06:13:26 *** keikoz has quit IRC (Ping timeout: 480 seconds)
06:30:10 <peter1138> Hmm, I wonder if/how cargo type GRM should be fixed.
06:31:11 <peter1138> The spec knows about two ranges, one for cargo slot and one for cargo bit.
06:31:25 <peter1138> The spec also says the ranges as 00..1F and 20..3F
06:31:46 <peter1138> So when I bumped NUM_CARGO from 32 to 64, years ago, I never noticed that.
06:31:58 <peter1138> Technically broken ever since.
06:32:27 <peter1138> However, cargo bit is basically unused.
06:33:22 <peter1138> I would not be surprised if no set is actually using GRM for cargo types anyway.
06:46:03 <peter1138> Looking at our implementation I don't see how it was meant to be used even with 32 cargo types.
06:48:22 <peter1138> Oh, parameters... weird.
06:49:28 <peter1138> And of course it's totally collaborative, so depends on all NewGRFs using it to work.
06:49:41 <peter1138> Should we just not bother...
06:54:30 <andythenorth> Have you sworn off sleep completely? π―
06:54:44 <andythenorth> (Reading your timestamps)
06:55:59 <andythenorth> Delete GRM, bonfires are good, we need the warmth π
07:08:00 <andythenorth> my grfs used to have CI/CD with coop jenkins and bundles servers
07:08:25 <andythenorth> I did test CI with Azure builds for a bit, but Azure UI is weird
07:08:52 <andythenorth> if I want CI back (but not CD), is GHA the current preferred method (repos are on GH)?
07:09:40 <andythenorth> I'm not sure it will work as I often push commits that depend on nml PRs
07:11:11 <peter1138> You wouldn't need to run it on every commit, just PRs and merges to main.
07:11:53 <peter1138> Well, assuming PRs are your standard workflow which is probably not the case for single person development.
07:11:59 <peter1138> I'm weird like that though.
07:12:34 *** SigHunter has joined #openttd
07:17:34 <peter1138> Cool, it still works.
07:24:22 <peter1138> I need to do something better than this.
07:24:37 <peter1138> A button with the label "B" is not very good π
07:25:50 <peter1138> I also haven't fitted that in anywhere else where badges are shown.
07:27:53 <peter1138> The traditionalist configuration.
07:32:11 <andythenorth> I could run CI on main branch and specific configured branches only
07:32:30 <andythenorth> then I could be more disciplined about not committing to main when unreleased nmlc is involved (which is always :P)
07:32:34 *** SigHunter has joined #openttd
07:33:06 <andythenorth> or I could have my CI build nmlc also
07:33:30 <andythenorth> I remember in 2008, I was just drawing dump trucks π
07:33:45 <andythenorth> I should draw pixels swamps and alligators
07:58:32 <wensimehrp> peter1138: How can I make the flags show
07:59:05 <wensimehrp> I built the grf and put it in ~/.local/share/newgrf
09:15:49 <peter1138> There's a demo grf that adds the badges to the default trains.
09:19:08 *** mindlesstux has joined #openttd
09:19:50 <andythenorth> going to sell my intel MBP
09:19:56 <andythenorth> will our infra be ok?
09:21:54 <peter1138> By default the badges grf only adds badges, and they're not assigned to anything.
09:25:13 *** mindlesstux has joined #openttd
09:27:27 <andythenorth> can we have DLC badge sets?
09:27:34 <andythenorth> like svg icon sets
09:33:03 <andythenorth> ah, authed link only, for obvs reasons π
09:33:44 <andythenorth> `jquery (npm) < 1.12.2
09:33:44 <andythenorth> Affected versions of jquery interpret text/javascript responses from cross-origin ajax requests, and automatically execute the contents in jQuery.globalEval, even when the ajax request doesn't contain the dataType option.`
09:34:15 *** SigHunter has joined #openttd
09:37:10 <andythenorth> it does mean users can own themselves though, via client side JS
09:50:09 <pickpacket> is someone still working on increasing the number of possible players in multiplayer?
09:50:35 <pickpacket> I really need to get back to that killcount gamescript I'm working on. Haven't touched it in months
10:55:02 <xarick> i think on windows it's 64
11:00:21 <xarick> I am static consting the 16
11:00:27 <xarick> wondering if that 13 could be a 16
11:04:03 <xarick> meh... let it be different
11:17:22 <xarick> copilot likes the word refactor
11:17:39 <xarick> i don't know if it knows what it means
11:17:47 <xarick> maybe it's me who doesn't know
11:37:03 <pickpacket> LordAro: well, there was an individual who worked on it during the Summer. I was curious about whether that work was progressing or abandoned
13:05:26 *** Born_Acorn has joined #openttd
13:26:30 <peter1138> pickpacket: They realised it was much more of a task, then moved on to something else and got stalled.
13:26:56 <pickpacket> peter1138: π makes sense
13:29:16 *** nielsm has quit IRC (Ping timeout: 480 seconds)
14:35:16 <xarick> error C3861: 'return_cmd_error': identifier not found
14:40:51 <LordAro> peter1138: how dare you
14:47:34 *** Born_Acorn has quit IRC (Ping timeout: 480 seconds)
14:47:51 *** Born_Acorn has joined #openttd
15:03:44 *** kuka_lie has joined #openttd
15:10:00 <xarick> ugly commit message! copilot help me
15:15:38 <xarick> okay, he summarized it
15:16:30 <xarick> talltyler 2TallTyler closed this last week
15:16:37 <xarick> more like.... underseeded
15:39:23 <xarick> should I record the worst case scenario?
15:55:53 <kuhnovic> No, record a typical scenario
15:58:08 <xarick> a typical scenario, nobody uses trees
16:01:23 <kuhnovic> "uses trees"... they are just there
16:02:21 <talltyler> I always have trees in my game π
16:04:38 <xarick> let me consult the survey
16:06:47 <xarick> it's a "leave at default" survey
16:07:15 *** Born_Acorn has quit IRC (Remote host closed the connection)
16:29:06 <kuhnovic> I always have trees, I didn't even know there was a setting to turn them off. Is there such a thing?
16:29:45 <xarick> 1 result is too bad, it makes the others pointless
16:31:03 <xarick> it's sub-arctic 255 none very rough 100% 1%
16:31:25 <_glx_> ha the settings almost unusable anyway
16:32:04 <_glx_> IIRC it's hard to place industries too
16:34:15 <xarick> only non custom examples
16:35:09 <xarick> ftg stands for faster tree generation, the branch name
16:35:51 <xarick> first 100 is using only the first "if" method, with diminishing returns after 100
16:36:09 <xarick> second is using the second "else" method
17:03:12 *** tokai has quit IRC (Quit: c('~' )o)
17:23:26 <Rubidium> what's on your mind?
17:25:46 <LordAro> did you run some 3rdparty toml?
17:47:30 *** gelignite has joined #openttd
17:54:40 <johnfranklin> I should talk more about lunch
18:09:58 <wensimehrp> johnfranklin: figgy puddng
19:29:01 *** virtualrandomnumber has joined #openttd
19:29:19 *** virtualrandomnumber has quit IRC ()
19:38:37 <kuhnovic> I realize more and more that the ship PF needs some additional love π
19:39:08 <kuhnovic> And I need to try not to wreck it in the process, which is all to easy to do
20:01:06 * andythenorth looking for some kind of TOML validator / input sanitiser
20:01:13 <andythenorth> reading diffs is dull
20:03:36 <squirejames> andythenorth: time is an illusion, lunchtime doubly so
20:12:02 <andythenorth> I think ideally Github would have an Action to validate translation PRs before I look at them
20:12:09 <andythenorth> - only contains a .toml file
20:12:14 <andythenorth> - the .toml file is valid
20:12:26 <andythenorth> - the values of the .toml nodes are valid per the schema
20:12:36 <andythenorth> I have no idea how to do this π
20:15:29 <peter1138> wensimehrp: I just remembered I need to commit some changes to the badges repository because it uses the wrong action 0 properties.
20:19:12 <andythenorth> really ideally, grf translations would be handled separately to the grf, but eh π
20:19:16 <andythenorth> that might be too hard
20:35:25 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
20:56:30 <andythenorth> GPT claims to have written me a GHA validator
20:56:46 <andythenorth> the problem with that is...it's a coin flip as to crap or not
21:01:19 <peter1138> Untrusted 3rdparty code.
21:01:51 <andythenorth> Stack Overflow, but automated at scale
21:02:02 <andythenorth> 'paste shell commands here'
21:02:08 <andythenorth> 'if it doesn't run, use sudo'
21:11:46 *** kuka_lie has quit IRC (Quit: leaving)
22:23:51 <peter1138> Can we 'translate' that to say legacy instead of advanced? :p
22:32:03 <talltyler> Sure, Iβll approve
22:38:43 <belajalilija> peter1138: please do
22:39:25 <belajalilija> that being said, they didnt even know how they got the old signals
22:40:41 <belajalilija> maybe legacy signals should be behind a setting
22:40:41 <belajalilija> maybe they should be disabled by default
22:40:41 <belajalilija> surely anyone who is advanced will know to look in settings and not mind having to go into settings to click on something only once
22:40:41 <belajalilija> surely that will work out fine and everyone will be happy
22:40:45 <peter1138> Randomly clicking. I don't like that button.
22:40:56 <peter1138> It was not originally there but I think someone complained...
22:41:18 <belajalilija> nah, surely any rational person wouldnt have complained, im sure of it
22:41:30 <andythenorth> not sure 'legacy' reduces pitchforks π
22:41:38 <andythenorth> I proposed 'special situations' π
22:42:03 <andythenorth> they're not obsolete, for building logic systems
22:42:10 <andythenorth> just call them 'boolean signals'
22:42:16 <andythenorth> most people will run away
22:42:38 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:43:02 <peter1138> Calling them advanced suggests they are better.
22:43:18 <belajalilija> andythenorth: they will be if they bring signal programing into main :coolgay:
22:43:18 <belajalilija> i know you guys wont and i get that it doesnt fit with your view of the game
22:43:50 <belajalilija> would just be funny to make them be actually obsolete
22:43:58 <andythenorth> I remember that some block signal users were against programmable signals
22:44:07 <andythenorth> I think block signals are a meta game
22:46:46 <belajalilija> all jokes aside though
22:46:57 <belajalilija> i think it is best to put them behind a setting
22:47:28 <_jgr_> They already are behind a setting
22:47:34 <belajalilija> an actual setting tho
22:48:26 <belajalilija> looking at the screenshots channel, help channel, normal channels, etc, i see far more people using pre signals unknowingly and to their own detriment rather than using them for logic
22:48:56 <_jgr_> Yes, because that's what the tutorial videos use
22:49:34 <andythenorth> there's a whole inertia of things pushing people to fancy block signals
22:49:42 <andythenorth> legacy coop stuff
22:50:00 <peter1138> belajalilija: It is an actual setting, and then it was added as the toggle because someone found it too hard to find.
22:50:37 <andythenorth> ^ mostly block signals
22:50:55 <belajalilija> the confusion of that individual was probably less than the collective confusion of everyone else
22:51:08 <belajalilija> people have been saying for years about updating the wiki
22:51:30 <peter1138> That bug is technically "resolved" since...
22:52:32 <belajalilija> peter1138: shocking
22:53:24 <andythenorth> somehow we've managed to educate the robot
22:53:47 <belajalilija> what software is good for screenrecording?
22:54:14 <andythenorth> quicktime on the mac
22:54:20 <andythenorth> doesn't help? π
22:55:05 <peter1138> Oops, this code compiled and I think it shouldn't :S
22:55:14 <andythenorth> was it 3rd party?
22:55:32 <belajalilija> im very tempted to make a vanilla tutorial to cover some basics
22:55:43 <peter1138> Huh, turns out that I can search references for operator[] and... it does.
22:56:53 <andythenorth> also peter1138 should sleep
22:57:00 <belajalilija> i'd do stuff on the wiki but idk how that all works as its through github
22:57:33 <belajalilija> but given the amount of time i spend ||shouting at people|| helping people in the help channel it might be worth it to make videos
23:00:09 <andythenorth> it's a wiki, you login and edit π
23:01:17 <belajalilija> i downloaded obs
23:01:21 <belajalilija> because loom costs money
23:02:54 <belajalilija> part of me would appreciate a level of recognition because i feel that i (try to) help people often in the help channel
23:02:54 <belajalilija> but then the onus would be on me to be nice to people and i simply cant bring myself to do that
23:04:06 <belajalilija> its the same reason ive never submitted a serious application to be mod or whatever on the discord, that and i'd just ban people for my own amusement
23:04:35 <peter1138> If you're thinking of making screen recordings for tutorials, don't forget to use OpenGFX 2 as well.
23:05:15 <peter1138> The non-high res version is, yes.
23:05:21 <belajalilija> that's all i want
23:05:45 <peter1138> zBase: Ugly, don't do it. OpenGFX 1, good fall back. TTD, awkward because copyrights.
23:06:01 <belajalilija> yeah i dont touch a/zBase
23:06:35 <belajalilija> i typically played with ttdlx graphics until recently
23:06:51 <belajalilija> but i got into decorating stuff more and moved to gridless opengfx
23:10:16 <talltyler> OpenGFX2 supports gridless, using the base set parameters in the Options menu. I like my grid lines but I use these parameters to use arctic foundations in all climates.
23:19:31 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:38:57 <peter1138> Apparently it was important enough to backport.
23:50:09 <belajalilija> why isnt it recording my whole screen?
23:50:36 <belajalilija> is there something else im missing?
23:58:13 <belajalilija> think ive figured it out
23:58:22 *** gelignite has quit IRC (Quit: Stay safe!)
23:58:40 <peter1138> Set the scene up π
continue to next day β΅