IRC logs for #openttd on OFTC at 2023-10-16
            
00:01:37 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
01:26:08 *** Wormnest has quit IRC (Quit: Leaving)
01:34:14 *** D-HUND is now known as debdog
02:12:36 *** D-HUND has joined #openttd
02:15:59 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:41:25 *** NGC3982 has quit IRC (Remote host closed the connection)
02:41:37 *** NGC3982 has joined #openttd
02:52:58 *** NGC3982 has quit IRC (Ping timeout: 480 seconds)
02:58:30 *** keikoz has joined #openttd
03:03:50 *** Smedles has quit IRC (Read error: Connection reset by peer)
03:05:47 *** Smedles has joined #openttd
03:06:07 *** NGC3982 has joined #openttd
03:20:26 *** NGC3982 has quit IRC (Ping timeout: 480 seconds)
05:45:35 *** keikoz has quit IRC (Ping timeout: 480 seconds)
07:36:01 <peter1138> Well... morning eh?
07:37:32 *** johnfranklin has joined #openttd
07:37:32 <johnfranklin> afternoon
07:39:29 <johnfranklin> I found JGR's photo
07:43:00 <pickpacket> peter1138: it does seem like it
07:44:29 <LordAro> has anyone checked to make sure?
07:49:14 <breezebuilder> talltyler: Good to see it's not dead in the water! I'm still working on the raster data importer I mentioned. I've currently got terrain, fields, water, trees, snow, desert and tropics importing from bmp and png, though i'm considering TIFF/GeoTIFF support just for the sake of reducing confusion with the existing heightmap files.
08:10:08 <peter1138> Hmm, should've got myself a longer table for my synthesizers...
08:10:36 <peter1138> Need to figure out how to add shelves :)
08:25:01 <peter1138> And cable-management...
08:34:41 <andythenorth> I'm confused
08:34:49 <andythenorth> but that's not new
08:35:00 <andythenorth> day has a 'y' in it
08:40:43 <peter1138> Urgh, of course, LEAST(0, 5) does the right thing, but LEAST(0, -5) is... well, also doing the right thing, but not the thing I want :)
08:42:44 <andythenorth> is there MOST?
08:42:46 <andythenorth> πŸ˜›
08:42:54 <peter1138> There is GREATEST().
08:43:16 <peter1138> But I need a function that does what I want regardless of sign.
08:43:29 <andythenorth> presumably it has a flag parameter for "all time" or just "this last week"
08:43:48 <peter1138> GOAT()
08:49:54 <LordAro> silly computers, doing what you tell them to rather than what you meant
08:52:54 <andythenorth> GPT though
08:52:56 <peter1138> It's terrible!
08:53:02 <andythenorth> GPT can do both, sometimes at once
08:53:16 <andythenorth> and sometimes, it's even correct!
08:53:17 <andythenorth> mostly not
08:53:28 <peter1138> I ended up with `CASE WHEN x > 0 THEN LEAST(0, x) ELSE GREATEST(0, x) END` which is... verbose.
08:53:40 <andythenorth> so...I have questions
08:53:49 <peter1138> I have answers.
08:53:59 <peter1138> But not to your questions.
08:53:59 <andythenorth> why am I fucking around with turning off base set foundations, when I can just draw extra sprites over them as needed?
08:54:21 <peter1138> I could summarize that is "Why am I fucking around with foundations?"
08:54:21 <andythenorth> turning off foundations isn't really about custom foundation sprites is it πŸ˜›
08:54:41 <andythenorth> it's for custom land slope tile shapes, which I don't need
08:55:07 <andythenorth> anyway, that's half a day of looking through base set sprites that I can now delete πŸ™‚
09:04:38 <pickpacket> Do you guys have jobs or do you spend all day on openttd? Not meant as a snarky question, just curious
09:05:02 <andythenorth> I have a job that requires thinking time / distraction
09:05:36 <andythenorth> my job runs pretty much every waking hour of 7am Monday until 10pm Friday, so I have breaks
09:08:00 *** Flygon has joined #openttd
09:10:18 <peter1138> Is it lunch time?
09:11:31 <andythenorth> no, but it's 11-past-10s-es
09:11:56 <andythenorth> I usually have a orange, but I ate them all
09:12:05 <andythenorth> "I have eaten them all"
09:17:33 <peter1138> That's an idea.
09:51:22 <pickpacket> there's a bowl of candy in the lunch room. And a big basket of fruit. I've had an apple, a clementine, a plum, and a few sweets
10:04:03 <Eddi|zuHause> probably better in that order
10:04:22 <pickpacket> Lunch time!
10:04:41 <Eddi|zuHause> usually a bad idea to go from sweet to sour :p
10:08:23 <peter1138> Which of those are sour for you?
10:09:20 <Eddi|zuHause> apple definitely
10:10:00 <Eddi|zuHause> clementine and plum depends on how ripe they are
10:10:35 <Eddi|zuHause> and even "sour sweets" aren't actually sour
10:18:07 <_pruple> pickpacket: why not both?
10:18:39 <_pruple> my openttd activity tends to increase the more other things I'm actually supposed to be doing. πŸ˜›
10:33:51 *** D-HUND is now known as debdog
10:35:42 <johnfranklin> dinner
10:35:57 <johnfranklin> already had it
10:42:17 <talltyler> peter1138: I’m two hours late, but taking the absolute value of x before comparing it with 0 might help your function πŸ™‚
10:58:43 <talltyler> breezebuilder: That’s great. Do you have your code anywhere? We might plan our efforts to eventually bundle all of this data into one .tar file or something, as an alternate type of scenario file that allows users to choose their own NewGRF loadout (including houses and industries, which cannot be interchanged in existing scenarios).
10:59:44 <talltyler> It’s far from dead, I’ve just been focusing on rewriting time, which is a large project to say the least… πŸ˜„
11:01:31 <alfagamma7> Hmm
11:01:41 <alfagamma7> my phone died today
11:01:49 <alfagamma7> time to buy another one
11:02:00 <alfagamma7> served me nice for four years
11:02:28 <LordAro> i bought a new phone yesterday
11:02:45 <Eddi|zuHause> my phone is like 12 years old, physically falling apart, but still working
11:03:21 <Eddi|zuHause> well, internet doesn't work anymore (probably due to outdated encryption)
11:03:39 <alfagamma7> It actually needs a battery replacement but I am clueless where to buy one
11:03:53 <alfagamma7> also has an outdated OS which is bad
11:04:01 <alfagamma7> back to dumb phone then
11:04:13 *** keikoz has joined #openttd
11:05:02 <alfagamma7> Eddi|zuHause: without a battery replacement?
11:05:05 <alfagamma7> impressive
11:13:05 <andythenorth> how are you allowed to have an old phone?
11:13:13 <andythenorth> oh personal phone, not work
11:16:07 <andythenorth> peter lamb tikka leftovers and rice?
11:34:38 <_pruple> what a coincidence - my name is also peter lamb tikka leftovers and rice.
11:35:21 <andythenorth> your discord nick is just your initials then?
11:35:40 <_pruple> must be
11:44:45 <Eddi|zuHause> alfagamma7: it's from an age where batteries lasted weeks, not <1 day
11:45:04 <Eddi|zuHause> so it reduced from like 2 weeks to 1 week uptime
11:48:13 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #11142: Feature: Setting to automatically restart server based on hours played https://github.com/OpenTTD/OpenTTD/pull/11142#pullrequestreview-1679773123
11:49:58 <andythenorth> external compliance means my phone has to be replaced as soon as the OS no longer gets updates
11:50:04 <andythenorth> even if it entirely functions
11:50:33 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #11142: Feature: Setting to automatically restart server based on hours played https://github.com/OpenTTD/OpenTTD/pull/11142
11:50:35 <Eddi|zuHause> that's not the worst policy to have
11:50:54 <Eddi|zuHause> it would be better to enforce continued updates
11:54:28 <Eddi|zuHause> thoughts on buying a refurbished phone for 100€ instead of a new one?
11:55:00 <Eddi|zuHause> i was thinking of maybe doing that
11:57:55 <peter1138> andythenorth, yes please.
12:00:35 <peter1138> I had ham & tomato sandwich, run out of lettuce...
12:43:45 <LordAro> Eddi|zuHause: probably fine
12:44:26 <Eddi|zuHause> i'm not really in the "phone game" to judge what's good and what's bad.
12:45:34 <peter1138> 15 files changed, 242 insertions(+), 347 deletions(-)
12:45:37 <peter1138> Hmmz
12:45:47 <LordAro> they're all pretty similar
12:48:56 <alfagamma7> Eddi|zuHause: So a Blackberry or something?
12:49:02 <LordAro> :D
14:03:23 *** nielsm has joined #openttd
14:25:48 <Eddi|zuHause> alfagamma7: my current phone? is a nokia
14:26:11 <Eddi|zuHause> don't ask me what numbers, i could never memorize those
14:26:49 <Eddi|zuHause> it has a browser and stuff, but not fully transitioned to smartphone
14:27:44 <Eddi|zuHause> so far, some plastic parts became brittle and fell off
15:19:58 <alfagamma7> Good
15:20:10 <alfagamma7> I like Nokia
15:20:19 <alfagamma7> sad they stopped innovating
15:21:20 <merni> They are innovating quite a lot in the field of mobile phone technology
15:21:23 <merni> 5G and whatnot
15:22:05 <merni> And their new (franchised) smartphones are reasonably ok, I've had two of them and they are reasonably reliable with good battery life
15:23:53 <_glx_> and pure android
15:26:30 <merni> yes
15:27:08 <merni> it is amazing not to have the barrage of default un-deleteable apps and notifications that some vendors have
15:27:27 <merni> almost-pure android does mean a lot of google apps though
15:27:56 <merni> their OS update policies especially for the lower end phones (which is what I have) are pretty poor too compared to samsung
15:28:13 <_glx_> yeah 2 years of updates only
15:28:34 <merni> and when they do come they are very late
15:28:54 <merni> like months after the os update is released by google
15:30:09 <_glx_> I had monthly updates
15:30:16 <merni> Monthly security updates yeah
15:30:22 <merni> but the OS updates are very late
15:30:53 <_glx_> well I don't have updates anymore for 7 plus πŸ™‚
15:45:57 <alfagamma7> I am happy to come back to using a dumb phone really
15:47:28 <alfagamma7> Would miss using mobile payments though
15:48:45 <peter1138> Argh, people assuming that sending email must mean that a copy of the email was saved in some sent-items somewhere.
15:48:55 <peter1138> SMTP isn't like that :D
15:51:06 <_glx_> it's a feature of the client
15:56:16 <peter1138> You know that, I know that, but normal people only see what "gmail" or "outlook" does :-)
16:00:18 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened issue #11374: [Bug]: Cannot expand towns in Scenario Editor when town road construction disallowed https://github.com/OpenTTD/OpenTTD/issues/11374
16:02:20 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #10409: Feature: Import real-world town data via JSON file https://github.com/OpenTTD/OpenTTD/pull/10409
16:04:47 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #10409: Feature: Import real-world town data via JSON file https://github.com/OpenTTD/OpenTTD/pull/10409#pullrequestreview-1680419542
16:05:22 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #10409: Feature: Import real-world town data via JSON file https://github.com/OpenTTD/OpenTTD/pull/10409#pullrequestreview-1680421408
16:06:31 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #10409: Feature: Import real-world town data via JSON file https://github.com/OpenTTD/OpenTTD/pull/10409
16:14:25 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #10287: [Bug]: Useless buttons when founding town in game https://github.com/OpenTTD/OpenTTD/issues/10287
16:17:17 <DorpsGek> [OpenTTD/OpenTTD] PikkaBird opened issue #11375: [Bug]: roadtypes with speed limits show undefined string in scenario editor https://github.com/OpenTTD/OpenTTD/issues/11375
16:44:01 <_glx_> _pruple: I guess it gives you the string "error" message with `-d`
16:54:34 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #11375: [Bug]: roadtypes with speed limits show undefined string in scenario editor https://github.com/OpenTTD/OpenTTD/issues/11375
16:56:02 <Rubidium> that indeed seems to be the cause
16:56:10 *** frosch123 has joined #openttd
16:56:10 <frosch123> truebrain: do we still have stuff at OVH? they want to switch to automatic renewal. do we have to cancel the VPS?
16:56:13 <Rubidium> the fix ought to be simple
16:56:55 <truebrain> frosch123: I think orudge was cancelling them. They can be removed.
17:00:09 *** HerzogDeXtEr has joined #openttd
17:00:11 <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #11376: Fix #11375, 7c37dcb: Use STRING2 when the passed string can have 2 parameters https://github.com/OpenTTD/OpenTTD/pull/11376
17:00:41 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #11376: Fix #11375, 7c37dcb: Use STRING2 when the passed string can have 2 parameters https://github.com/OpenTTD/OpenTTD/pull/11376#pullrequestreview-1680549736
17:00:53 <_glx_> it was partially fixed with 7c37dcb
17:09:44 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #11374: [Bug]: Cannot expand towns in Scenario Editor when town road construction disallowed https://github.com/OpenTTD/OpenTTD/issues/11374
17:11:13 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #11374: [Bug]: Cannot expand towns in Scenario Editor when town road construction disallowed https://github.com/OpenTTD/OpenTTD/issues/11374
17:13:22 *** gelignite has joined #openttd
17:14:12 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #11374: [Bug]: Cannot expand towns in Scenario Editor when town road construction disallowed https://github.com/OpenTTD/OpenTTD/issues/11374
17:16:22 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #11374: [Bug]: Cannot expand towns in Scenario Editor when town road construction disallowed https://github.com/OpenTTD/OpenTTD/issues/11374
17:19:12 <peter1138> Urgh, buggy Doom levels that break when you back-track.
17:20:01 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #11374: [Bug]: Cannot expand towns in Scenario Editor when town road construction disallowed https://github.com/OpenTTD/OpenTTD/issues/11374
17:26:47 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #11374: [Bug]: Cannot expand towns in Scenario Editor when town road construction disallowed https://github.com/OpenTTD/OpenTTD/issues/11374
17:42:29 *** Alkel_U3 has quit IRC (Quit: maintenance)
17:43:19 *** Alkel_U3 has joined #openttd
17:45:16 <talltyler> Building a PR that fixes it πŸ™‚
17:45:33 <talltyler> The code is easy, it's more of a question of "what do we want"
17:49:48 <DorpsGek> [OpenTTD/OpenTTD] glx22 merged pull request #11376: Fix #11375, 7c37dcb: Use STRING2 when the passed string can have 2 parameters https://github.com/OpenTTD/OpenTTD/pull/11376
17:49:51 <DorpsGek> [OpenTTD/OpenTTD] glx22 closed issue #11375: [Bug]: roadtypes with speed limits show undefined string in scenario editor https://github.com/OpenTTD/OpenTTD/issues/11375
17:53:04 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened pull request #11377: Change: Always allow expanding towns in Scenario Editor to build new roads https://github.com/OpenTTD/OpenTTD/pull/11377
18:14:07 *** Wormnest has joined #openttd
18:14:43 <DorpsGek> [OpenTTD/OpenTTD] frosch123 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-1765039727
18:17:07 *** Flygon has quit IRC (Read error: Connection reset by peer)
18:17:22 <frosch123> I think there was also a "place individual houses in SE" patch. Maybe it's part of JGRPP. So maybe scenario creators would use that instead today.
18:19:07 <DorpsGek> [OpenTTD/OpenTTD] frosch123 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-1765045739
18:19:21 *** Flygon has joined #openttd
18:34:56 *** urdh has quit IRC (Quit: Boom!)
18:39:59 *** Wolf01 has joined #openttd
18:42:55 *** urdh has joined #openttd
18:49:35 *** urdh has quit IRC (Quit: Boom!)
18:52:53 *** gelignite has quit IRC (Read error: Connection reset by peer)
18:53:01 *** gelignite has joined #openttd
18:53:37 *** urdh has joined #openttd
18:56:47 *** NGC3982 has joined #openttd
18:58:06 <andythenorth> adding custom foundation sprites to objects: 2 days
18:58:23 <andythenorth> adding them to stations using identical templating / registers: 3 minutes πŸ˜›
19:01:57 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1163552431788003428/image.png?ex=653ffda5&is=652d88a5&hm=fe72b0a958ff7ca34f933cdbe9d9b65099beac61ed67314afcc0ffb1ab68a448&
19:01:57 <andythenorth> I need to figure out which water classes I actually want, and how to OR the bits correctly from multiple tiles
19:02:10 <andythenorth> canal on sea causes incorrect foundations
19:06:13 <andythenorth> maybe I should also check tile height level
19:11:52 <andythenorth> wonder why nml has tile height in units of 8 per height level
19:11:57 <andythenorth> nfo docs say that's a grf v7 thing
19:12:06 <andythenorth> https://newgrf-specs.tt-wiki.net/wiki/VariationalAction2/Industry_Tiles#Land_info_of_nearby_tiles_.2860.29
19:15:02 *** gelignite has quit IRC (Quit: Stay safe!)
19:17:47 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
19:18:48 *** wensimehrp has joined #openttd
19:18:48 <wensimehrp> andythenorth: Is it the same thing as custom foundation stations like in dutch stations and auz stations freight? I assumed they are something like sprite overlay.
19:22:41 <andythenorth> dunn
19:34:30 <_glx_> I think andy doesn't use station foundation mechanism, but he just put them in the spritelayout
19:35:26 <_glx_> ie not using https://newgrf-specs.tt-wiki.net/wiki/Action0/Stations#General_Flags_.2813.29
19:42:33 <andythenorth> yup, I did roadstops last night and found overlays work fine
19:42:49 <andythenorth> I could have saved a day if I'd done roadstops before objects πŸ˜„
19:43:45 <wensimehrp> I asked this question in the general channel... And I want to ask again.
19:43:45 <wensimehrp> If a NewGRF is coded in nfo, could it contain multiple languages?
19:43:45 <wensimehrp> Could I create a language patch for a NewGRF/AI/GS?
19:43:45 <wensimehrp> If I could, could it affect grfs that are coded in nfo?
19:43:45 <wensimehrp> Could there be multiple languages in one patch?
19:43:46 <wensimehrp> If the answer is no, how could openttd contain translations for vehicles from ttd?
19:44:25 <_glx_> translations are in NFO
19:44:46 <_glx_> (newgrf translations)
19:52:50 <peter1138> 1) Yes, NewGRFs can contain multiple languages, 2) NewGRF to patch another NewGRF, not really.
19:53:11 <peter1138> For the base engines, the translations are in the main language files.
19:55:59 <wensimehrp> peter1138: But John Franklin has a NewGRF to patch the JP+ series mu to make them carry mail. Why cannot language files be patched?
19:56:32 <andythenorth> they can, you just have to modify the entire grf
19:56:39 <andythenorth> everything in it
19:56:52 <peter1138> That... doesn't seem right.
19:59:08 <_glx_> a newgrf can redefine a vehicle I think
19:59:27 <peter1138> It can be done, but you need to make sure all the IDs are correct. Any update to the original NewGRF could cause problems. It may be possible to provide only the translations, or you may have to provide the original text as well, not sure.
20:02:02 *** virtualrandomnumber has joined #openttd
20:02:56 *** virtualrandomnumber has quit IRC ()
20:03:06 <peter1138> You need to set a global var, https://newgrf-specs.tt-wiki.net/wiki/Action0/Global_Settings#GRFID_overrides_for_engines_.2811.29 -- number 11.
20:04:10 <peter1138> But AI/GS are totally different.
20:05:39 <_glx_> AI/GS include translations in the archive, and they are compiled at runtime
20:05:56 <_glx_> there's no way to overload them
20:06:01 <wensimehrp> peter1138: I fixed the SC and TC translations of RVG. I could tell from the config menu of RVG that there are some differences, but I couldn't tell what are the differences.
20:07:13 <peter1138> Okay?
20:08:48 <wensimehrp> yeah
20:29:36 *** nielsm has quit IRC (Ping timeout: 480 seconds)
20:32:01 *** NGC3982_ has joined #openttd
20:32:32 *** NGC3982_ has quit IRC ()
21:03:21 <andythenorth> wonder if default road stops can be disabled? Can't see it in the draft docs https://jgrennison.github.io/OpenTTD-patches/newgrf-roadstops.html#roadstop_terrain_type
21:05:38 <_pruple> default stations neither
21:07:16 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:07:30 <LordAro> https://hackerone.com/reports/2199174 this is very funny
21:08:39 <andythenorth> did Bard find a real vuln though by hallucinating?
21:12:10 <LordAro> it did not
21:43:41 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)