IRC logs for #openttd on OFTC at 2026-07-22
            
00:27:18 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
00:27:19 *** WormnestAndroid has joined #openttd
00:28:31 *** WormnestAndroid has quit IRC (Remote host closed the connection)
00:28:39 *** WormnestAndroid has joined #openttd
01:43:27 *** MinchinWeb[m] has quit IRC (Ping timeout: 480 seconds)
01:43:59 *** MinchinWeb[m] has joined #openttd
01:50:22 *** Wormnest has quit IRC (Quit: Leaving)
01:55:07 *** MinchinWeb[m] has quit IRC (Read error: Connection reset by peer)
01:55:24 *** MinchinWeb[m] has joined #openttd
02:19:15 *** milek7 has quit IRC (Ping timeout: 480 seconds)
02:56:12 *** milek7 has joined #openttd
03:00:07 *** herms22 has quit IRC (Quit: bye)
03:04:31 *** herms22 has joined #openttd
03:36:10 *** Phileman has joined #openttd
03:39:30 *** Philemon has quit IRC (Ping timeout: 480 seconds)
04:28:14 *** _cyclops_ has quit IRC (Ping timeout: 480 seconds)
04:28:20 *** orudge has quit IRC (Ping timeout: 480 seconds)
04:31:25 *** orudge has joined #openttd
04:45:50 *** felix has quit IRC (Quit: No Ping reply in 180 seconds.)
04:49:37 *** felix has joined #openttd
04:56:47 *** _cyclops_ has joined #openttd
05:02:21 *** tokai has joined #openttd
05:02:21 *** ChanServ sets mode: +v tokai
05:09:04 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
05:27:05 <DorpsGek> [OpenTTD/OpenTTD] yangfl opened issue #15893: [Bug]: AI: Function::acall() does not work on some functions https://github.com/OpenTTD/OpenTTD/issues/15893
05:51:44 <DorpsGek> [OpenTTD/OpenTTD] James103 commented on issue #15893: [Bug]: AI: Function::acall() does not work on some functions https://github.com/OpenTTD/OpenTTD/issues/15893
05:53:18 <LordAro> those functions are intentionally unsupported iirc?
06:18:52 *** cu-kai has quit IRC (Quit: Leaving for a bit.)
06:19:04 *** cu-kai has joined #openttd
07:07:46 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/0500bfdece509d651b1c7c94d5d026616bf9059b
07:07:47 <DorpsGek> - Update: Translations from eints (by translators)
07:21:57 <DorpsGek> [OpenTTD/OpenTTD] metablaster started discussion #15894: Town authority vs town influence over a tile https://github.com/OpenTTD/OpenTTD/discussions/15894
07:33:15 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #15892: Codechange: make StringID a strong type https://github.com/OpenTTD/OpenTTD/pull/15892#issuecomment-5043135766
07:39:22 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #15895: Codechange: Replace "special string ID" ranges in favour of regular type-specific handling https://github.com/OpenTTD/OpenTTD/pull/15895
07:40:25 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #15892: Codechange: make StringID a strong type https://github.com/OpenTTD/OpenTTD/pull/15892#issuecomment-5043197458
07:41:32 <peter1138> Huh, forgot I already commented :D
07:45:40 <peter1138> LordAro, yeah, issuing a command requires suspending the script, and I suppose it can't be suspended from there.
07:49:16 *** Flygon has joined #openttd
07:50:12 <andythenorth> naptime?
07:51:14 <peter1138> _glx_ is our "make it suspendable" expert, I'm not sure if this can be.
08:40:44 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #15893: [Bug]: AI: Function::acall() does not work on some functions https://github.com/OpenTTD/OpenTTD/issues/15893
08:44:42 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on issue #15893: [Bug]: AI: Function::acall() does not work on some functions https://github.com/OpenTTD/OpenTTD/issues/15893
09:54:00 <peter1138> Yeah, find the message then improve it then ;-)
09:56:43 <peter1138> Someone in my group took a segment from me, but Strava still lists me as KOM :o
10:08:47 <LordAro> :o
10:08:51 <LordAro> just equalled it?
11:00:38 <peter1138> Nope, 8 seconds (it's a 10+ minute segment)
11:00:55 <LordAro> strava can be slow to update with somethings
11:51:52 <_glx_> Hmm yeah, it's not possible to suspend inside a native function, and `acall` and friends are very low level native functions (that's what is used to run suspendable `valuate`)
13:02:34 *** Wormnest has joined #openttd
13:03:12 <peter1138> https://codeberg.org/Codeberg/org/pulls/1253#issuecomment-19820434
13:11:18 <LordAro> *peter happy noises*
13:28:20 <peter1138> I mean.
13:28:37 <peter1138> I don't use them so doesn't affect me.
13:35:22 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #15892: Codechange: make StringID a strong type https://github.com/OpenTTD/OpenTTD/pull/15892#issuecomment-5046533535
13:43:03 *** Flygon has quit IRC (Read error: Connection reset by peer)
14:29:54 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #15892: Codechange: make StringID a strong type https://github.com/OpenTTD/OpenTTD/pull/15892#issuecomment-5047448534
14:32:22 <_glx_> hmm actually async and estimate_only commands don't suspend, so in theory we can allow them
14:42:21 <DorpsGek> [OpenTTD/OpenTTD] FranticFairy started discussion #15896: [Concept] Cargo "Subtypes" https://github.com/OpenTTD/OpenTTD/discussions/15896
14:50:50 <peter1138> Heh
14:53:16 *** fairyflossy has joined #openttd
14:53:16 <fairyflossy> I don't believe my ideas are particularly realistic, but rather to share than forget about it, on the off chance that someone can work with it
15:34:45 <andythenorth> is it not just cargos? 🙂
15:54:52 <fairyflossy> Variants but Cargo
15:55:15 <fairyflossy> Cargo with Badges
16:02:02 <dollarcoinguy> fairyflossy: Can't wait to add 3 different categories of valuables only one of which is deliverable
16:02:28 <dollarcoinguy> fairyflossy: jk, super excited for new feature
16:03:01 <fairyflossy> dollarcoinguy: Don't get too excited. It's just a concept/idea, and I'm not familiar enough with the OpenTTD codebase to make an attempt at it
16:03:19 <dollarcoinguy> fairyflossy: the village will pick apart your code and help make it work
16:03:28 <dollarcoinguy> or let the branch wilt
16:03:55 <dollarcoinguy> if i knew what i was doing i would rebase that bridge patch on latest trunk so we could finally get it merged
16:06:16 <fairyflossy> what bridge patch?
16:06:30 <fairyflossy> that AI-made one that got showed recently that wouldn't get accepted?
16:06:49 <dollarcoinguy> no it was some other one that's been being worked on for years, but i can't find it for some reason
16:07:03 <dollarcoinguy> also why am I just discovering this now???
16:07:04 <dollarcoinguy> https://github.com/TrueGRF/TrueGRF
16:07:51 <dollarcoinguy> I must've had my head buried in the sand for the past 5 years
16:22:04 <andythenorth> fairyflossy: also you can just create town industries to accept town cargos
16:32:11 <fairyflossy> andythenorth: Do those affect town growth? Leaving aside the issue of being unable to guarantee generation
16:33:43 <andythenorth> depends how much GS you write 😐
16:34:09 <andythenorth> no you can't guarantee placement in each town, and they consume the overall industry count (fixed per map size)
16:34:43 <andythenorth> maybe cargo grfs should be able to remap house acceptance using predicates
16:34:58 <andythenorth> e.g. 'accepts goods' -> 'accepts shoes, furniture, cheese'
16:36:25 <dollarcoinguy> How does NAIS implement its town growth effects?
16:36:52 <dollarcoinguy> those are vanilla, no?
16:37:09 <dollarcoinguy> https://cdn.discordapp.com/attachments/1008473233844097104/1529527733087113427/Screenshot_2026-07-22_at_9.37.02_AM.png?ex=6a624334&is=6a60f1b4&hm=18b2a5b5a26a7e466a7ed625eea6f8a7bf9dd5e1f50f09bebb5a0198b5ae10fb&
16:37:38 <dollarcoinguy> They map fuel to goods to grow towns
16:38:45 <dollarcoinguy> Or are they bound with lots of GS
16:40:25 <dollarcoinguy> Oh, you are saying the root town acceptance should be able to be changed
16:45:47 <andythenorth> can't remember if there was a PR or discussion about it
16:46:08 <andythenorth> but it's a bit weird, with hindsight, that houses have to know about the cargo (industry) sets
17:21:11 <talltyler> You can add a house to the industry set, with maximum spawn probability and a limit of 1 per town. This is how I do it in Improved Town Industries.
17:28:01 * peter1138 mutters about town production effect properties.
17:36:11 <andythenorth> there was a spec once for town control in grf 😛
17:36:20 <andythenorth> got deleted
17:36:34 <andythenorth> hmm, I should make lunch
18:39:31 <dollarcoinguy> peter1138: https://github.com/OpenTTD/OpenTTD/blob/0500bfdece509d651b1c7c94d5d026616bf9059b/src/cargotype.h#L22
18:40:30 <dollarcoinguy> andythenorth: https://github.com/OpenTTD/OpenTTD/blob/0500bfdece509d651b1c7c94d5d026616bf9059b/src/town_cmd.cpp#L2027
18:42:00 <rito12_13> Maybe it could be all cargos instead of first?
18:42:54 <rito12_13> or maybe better not
18:42:57 <dollarcoinguy> It's not choosing the first, it's just making sure that there is an appropriate cargo serving that town growth category
18:53:11 <andythenorth> I disavow the town growth effect cargo flags
19:05:03 <andythenorth> OMG vertical main menu 😮 https://youtu.be/wtP36HfldDw?si=XGCgQLKK8nnIO6Nx&t=15
19:05:14 <andythenorth> wonder what their steam forums made of that
19:05:55 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1529565171159138365/image.png?ex=6a626612&is=6a611492&hm=40712cce75f7cf4252abff60f6e704f2acd0202ba89a25eab8cd2289e78c3e5f&
19:06:06 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1529565219037380658/image.png?ex=6a62661e&is=6a61149e&hm=a003088d9df6dc4a6d334d2baa9ff7a76fb88806b2c827532cfb021c5745cf09&
19:18:06 <dollarcoinguy> hahaha
21:10:28 *** Smedles has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
21:10:51 *** Smedles has joined #openttd
21:37:20 *** Flygon has joined #openttd
22:01:52 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #15897: Codechange: reduce SaveLoad macros, improve type safety https://github.com/OpenTTD/OpenTTD/pull/15897
22:31:36 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #15897: Codechange: reduce SaveLoad macros, improve type safety https://github.com/OpenTTD/OpenTTD/pull/15897
22:32:25 <peter1138> Hmm, is the version of OpenGFX 2 that is downloaded through Steam the current version?
22:33:41 <peter1138> (Or does it download an older version if you pick an older version of OpenTTD... hmm.)
22:47:21 <peter1138> Answer: it is not, and it does not. (Kinda, it removes OpenGFX2 and switches to OpenGFX1 when going before 15.0)
23:17:33 <_glx_> steam uses version uploaded to steam
23:20:55 <_glx_> and steam has some kind of package dependencies
23:23:10 <will_marshall_> Depots, baby
23:23:28 <will_marshall_> Supremely confusing system but very powerful.