IRC logs for #openttd on OFTC at 2023-05-31
            
00:08:24 <DorpsGek> [OpenTTD/OpenTTD] ldpl commented on pull request #10541: Feature: Industry production graph https://github.com/OpenTTD/OpenTTD/pull/10541#issuecomment-1569305072
00:18:57 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #10893: Codechange: replace C-style idioms with C++-style for OS specific file calls https://github.com/OpenTTD/OpenTTD/pull/10893#pullrequestreview-1452024088
02:38:52 *** D-HUND has joined #openttd
02:42:12 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:24:18 *** D-HUND is now known as debdog
03:33:34 *** keikoz has joined #openttd
03:53:32 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 dismissed a review for pull request #10893: Codechange: replace C-style idioms with C++-style for OS specific file calls https://github.com/OpenTTD/OpenTTD/pull/10893#pullrequestreview-1451854037
03:53:35 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #10893: Codechange: replace C-style idioms with C++-style for OS specific file calls https://github.com/OpenTTD/OpenTTD/pull/10893
05:39:19 *** Flygon has joined #openttd
05:40:12 *** keikoz has quit IRC (Ping timeout: 480 seconds)
07:37:49 *** _aD has joined #openttd
08:08:35 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #10894: Fix: Land info window maximum width was not scaled. https://github.com/OpenTTD/OpenTTD/pull/10894
08:13:33 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #10894: Fix: Land info window maximum width was not scaled. https://github.com/OpenTTD/OpenTTD/pull/10894#pullrequestreview-1452475220
08:20:50 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10541: Feature: Industry production graph https://github.com/OpenTTD/OpenTTD/pull/10541#issuecomment-1569719989
08:44:46 *** _aD has quit IRC (Quit: leaving)
08:50:07 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #10893: Codechange: replace C-style idioms with C++-style for OS specific file calls https://github.com/OpenTTD/OpenTTD/pull/10893#pullrequestreview-1452547248
08:54:43 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #10894: Fix: Land info window maximum width was not scaled. https://github.com/OpenTTD/OpenTTD/pull/10894
08:56:38 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #10893: Codechange: replace C-style idioms with C++-style for OS specific file calls https://github.com/OpenTTD/OpenTTD/pull/10893
09:25:01 <DorpsGek> [OpenTTD/OpenTTD] ldpl commented on pull request #10541: Feature: Industry production graph https://github.com/OpenTTD/OpenTTD/pull/10541#issuecomment-1569825038
12:12:47 *** keikoz has joined #openttd
12:55:40 <petern> Hmm, is it ever likely that objects will support cargo variations (a la stations)?
13:01:40 <TrueBrain> lol .. I was all happy that most of the infra is now IPv6-only, as that saves a bit of money .. but .. I forgot we query servers for the master-server, so we need IPv4 connectivity .. hmm .. can I do that in a clever way ... I think I can. Can I? Possibly ...
13:02:07 <petern> Oh dear
13:03:30 <LordAro> sounds fun
13:04:26 <petern> Create a bot net of IPv6/IPv4 connected servers to query IPv4-only servers...
13:04:36 <TrueBrain> haha
13:05:13 <TrueBrain> I was thinking a bit cheaper .. just run a single instance with pproxy, so I can use SOCKS to use that proxy .. that is kinda already running in the current infra. I just have to be smart where to host that. I think.
13:06:06 <LordAro> just run it on your desktop
13:08:36 <TrueBrain> also a bit sad, it seems I cannot route non-HTTP via Cloudflare Access .. meaning I need to use a public IP address on AWS anyway to route our non-HTTP via
13:08:42 <TrueBrain> more infra .. I hate more infra 😦
13:10:27 <TrueBrain> wish we could modify old clients .. would make things easier 🙂
13:13:37 <Rubidium_> are you saying the server list requests should be done via HTTP calls in the future?
13:14:01 <TrueBrain> if we could modify old clients, that would be worth the effort, yes
13:14:05 <TrueBrain> but given we can't, it doesn't matter
13:14:09 <TrueBrain> as we need to support the old way anyway 🙂
13:14:45 <TrueBrain> in this day and age, it is far easier to scale HTTP traffic than any other traffic, basically. So if we could do it again, things like content-service and server-listing would be fully HTTP-based, if it was up to me, yes 🙂
13:16:32 <TrueBrain> but now, I have to launch a 15 dollar per month service just for the non-HTTP traffic .. and that service isn't even the biggest problem, the bandwidth price they charge kinda is 😛
13:20:16 <LordAro> does it need to be AWS? couldn't just find a cheap VPS somewhere?
13:20:30 <LordAro> must be able to do better than $15/month...
13:21:13 <TrueBrain> you can do everything on cheap VPSes, sure, but then we are back to the maintenance nightmare we came from 🙂
13:21:25 <TrueBrain> phrased differently: when is the last time you updated the current 2 VPSes we have? 🙂
13:21:42 <LordAro> we installed unattended-upgrades, didn't we? :p
13:21:45 <LordAro> but fair point
13:22:30 <LordAro> (i might have done it more regularly if I knew it was something I was expected to do :p )
13:22:54 <TrueBrain> haha, that is one way to word it 😛
13:23:10 <TrueBrain> anyway, let's hope Cloudflare wants to sponsor us; that might give some possibilities 🙂
13:23:28 <TrueBrain> I did send the request, just didn't get anything back yet
13:25:10 *** h24816 has joined #openttd
13:25:17 <petern> They'll sponsor you if you have a DDoS botnet behind the scenes as that drives their sales...
13:26:26 <h24816> anybody know if the number of newgrf's active in a save affects performance? ie CPU/RAM usage
13:27:37 <LordAro> not so much the number of newgrfs as what they're doing
13:27:59 <h24816> object and building sets mostly
13:28:45 <h24816> my thinking was that the increased number of different sprites available could possibly reduce performance
13:31:26 <TrueBrain> there really isn't a simple answer; it really depends on the NewGRF.
13:32:23 <LordAro> in very simple terms, the answer is "yes"
13:32:31 <LordAro> but you may not actually notice any difference in real terms
13:32:58 <petern> Or you will if the NewGRF uses tile animations
13:33:07 <TrueBrain> or 32bpp
13:33:45 <TrueBrain> "it depends" 😄
13:34:55 <TrueBrain> so does the number of NewGRFs matter? Doubtful. Does the type of NewGRF matter? For sure!
13:35:05 <TrueBrain> we can create a game with 100+ NewGRFs that runs quicker than one with a single NewGRF 🙂
13:35:16 <TrueBrain> so I disagreee with you LordAro 🙂
13:35:45 <LordAro> but do you disagreeee?
13:35:55 <TrueBrain> even disagreeeeeeeeee
13:35:59 <LordAro> :o
13:36:04 <TrueBrain> too bad you are not joining the 10th
13:36:13 <TrueBrain> 😛
13:36:14 <LordAro> ikr
13:36:25 <LordAro> too expensive at too short notice, alas
13:36:49 <LordAro> especially as i'm travelling the week after, and the week after that
13:36:49 <TrueBrain> pff, short notice ..... how much more notice do you need!
13:36:55 <h24816> i see. thanks guys. yeah i should've clarified, i'm mostly referring to non-animated object sets, like fridaemon's and garryg's for example. i actually limit sprite resolution to 8bpp so i assume 32bpp doesn't make much of a difference. but good to know adding a few static object sets won't impact performance significantly.
13:37:21 <petern> 8bpp / 32bpp isn't sprite resolution.
13:37:54 <h24816> whoops, palette
13:38:33 <TrueBrain> LordAro: can I at least take a picture of you with me and put it on a chair next to us?
13:39:05 <Rubidium_> at which station shall we then pick him up? :D
13:41:05 <LordAro> :D
13:43:11 *** h24816 has quit IRC (Quit: Page closed)
13:56:50 *** HerzogDeXtEr has joined #openttd
14:04:58 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #10895: Codechange: replace seprintf with fmt::format/std::to_string https://github.com/OpenTTD/OpenTTD/pull/10895
14:05:46 <FLHerne> petern: how would objects know which cargo was relevant?
14:06:05 <FLHerne> query cargo of a neighbouring station tile?
14:11:45 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #10895: Codechange: replace seprintf with fmt::format/std::to_string https://github.com/OpenTTD/OpenTTD/pull/10895#pullrequestreview-1453333253
14:21:08 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #10895: Codechange: replace seprintf with fmt::format/std::to_string https://github.com/OpenTTD/OpenTTD/pull/10895#pullrequestreview-1453358398
14:33:16 *** nielsm has joined #openttd
14:33:29 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #10895: Codechange: replace seprintf with fmt::format/std::to_string https://github.com/OpenTTD/OpenTTD/pull/10895#pullrequestreview-1453386180
14:37:58 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #10895: Codechange: replace seprintf with fmt::format/std::to_string https://github.com/OpenTTD/OpenTTD/pull/10895#pullrequestreview-1453406235
15:18:45 *** gelignite has joined #openttd
15:24:36 <petern> Quite
16:27:16 *** Wolf01 has joined #openttd
16:40:35 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #10896: Codechange: replace some C-style GetStrings with C++-style GetStrings https://github.com/OpenTTD/OpenTTD/pull/10896
16:42:36 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #10896: Codechange: replace some C-style GetStrings with C++-style GetStrings https://github.com/OpenTTD/OpenTTD/pull/10896#pullrequestreview-1453704311
17:31:13 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #10896: Codechange: replace some C-style GetStrings with C++-style GetStrings https://github.com/OpenTTD/OpenTTD/pull/10896
17:46:54 <DorpsGek> [OpenTTD/OpenTTD] npabisz commented on issue #10887: [Bug]: Multiplayer server listing missing servers https://github.com/OpenTTD/OpenTTD/issues/10887
17:48:16 <TrueBrain> if I would be to guess, that was a cache-hit on the website, making it look like that .. mostly as the information comes from the same source 😄
17:48:58 *** Ahyangyi has quit IRC (Quit: User went offline on Discord a while ago)
17:52:41 <DorpsGek> [OpenTTD/OpenTTD] npabisz opened issue #10897: [Bug]: Placing factories by Game Script https://github.com/OpenTTD/OpenTTD/issues/10897
17:53:11 <petern> Urgh
17:54:01 <TrueBrain> close-as-not-a-bug? 😄
17:56:31 <DorpsGek> [OpenTTD/OpenTTD] Eddi-z commented on issue #10897: [Bug]: Placing factories by Game Script https://github.com/OpenTTD/OpenTTD/issues/10897
18:01:42 <Eddi|zuHause> was that diplomatic enough?
18:13:26 <frosch> what percentage of users know that the "one industry per type per town" thingie is a setting? and that gs can change settings
18:25:09 <Eddi|zuHause> my standard answer for settings is: 1% :)
18:27:04 <TrueBrain> frosch: "soon" we can answer how many change it 😛
18:27:11 <TrueBrain> users, not GS 😛
18:29:07 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #10898: Codechange: use C++ idioms for the clipboard handling https://github.com/OpenTTD/OpenTTD/pull/10898
18:35:05 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #10898: Codechange: use C++ idioms for the clipboard handling https://github.com/OpenTTD/OpenTTD/pull/10898
18:36:08 <frosch> ah, a scheme->wasm compiler. scheme may just be the on the right wtf level for people who learned newgrf before 🙂
18:38:19 <TrueBrain> so for you, you mean? 🙂
18:38:44 *** gnu_jj has joined #openttd
18:41:07 <frosch> i never used lisp or haskell languages. i do not even remember into which category scheme belongs 🙂
18:41:36 <frosch> i purely went by: what would be the most unreeadable when generated with jinja templates
18:42:30 <TrueBrain> ha 😄
18:42:33 <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/b5b004e5188590d415ace4b4ea1e36139ed231a4
18:42:34 <DorpsGek> - Update: Translations from eints (by translators)
18:43:13 <frosch> lol, how about vb6...
18:43:44 <frosch> i am trying to find a list of available languages for wasm, but i only find the most stupid ones
18:44:49 <Eddi|zuHause> i think those are a vast majority :p
18:45:50 <jfs-> time to roll a new one? domain specific for OTTD
18:46:04 <jfs-> like QuakeC for is domain specific for quake 1
18:48:22 <TrueBrain> frosch: anything that has a clang-frontend, rust and typescript, basically
18:48:36 <TrueBrain> jfs-: already done years ago, called "nail" (with extension .bolt)
18:48:40 <TrueBrain> guess what nail stands for 🙂
18:49:43 <frosch> must be years ago, today you would use .true
18:49:57 <frosch> .bolt sounds like a truelight thing
18:50:27 <TrueBrain> well, NAIL was created shortly after starting NoAI, as we weren't sure Squirrel was really a good fit
18:50:38 <TrueBrain> it was functional, fully stack-based, could do all the basics
18:51:03 <TrueBrain> but to fit the theme, it was Not Another Interpreter Language; bolt came after
18:51:54 <frosch> well, i guessed the N and L correctly, but i asumed AI was just AI 🙂
18:53:21 <jfs-> Not An Intermediate Language
19:02:06 <TrueBrain> Please don't redefine the definition 😛
19:02:08 <TrueBrain> 😄 😄
19:26:17 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #10898: Codechange: use C++ idioms for the clipboard handling https://github.com/OpenTTD/OpenTTD/pull/10898#issuecomment-1570815319
19:34:12 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
19:44:24 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #10899: Codechange: replace strecpy with fmt::format or string concatenation https://github.com/OpenTTD/OpenTTD/pull/10899
19:49:32 <Eddi|zuHause> Noob And Imbecile Language :p
19:50:41 <DorpsGek> [OpenTTD/OpenTTD] npabisz commented on issue #10897: [Bug]: Placing factories by Game Script https://github.com/OpenTTD/OpenTTD/issues/10897
19:52:20 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #10898: Codechange: use C++ idioms for the clipboard handling https://github.com/OpenTTD/OpenTTD/pull/10898#issuecomment-1570849656
19:56:07 <DorpsGek> [OpenTTD/OpenTTD] npabisz started discussion #10900: [Bug]: Placing factories by Game Script https://github.com/OpenTTD/OpenTTD/discussions/10900
19:56:10 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain closed issue #10897: [Bug]: Placing factories by Game Script https://github.com/OpenTTD/OpenTTD/issues/10897
19:56:13 <DorpsGek> [OpenTTD/OpenTTD] Eddi-z commented on discussion #10900: [Bug]: Placing factories by Game Script https://github.com/OpenTTD/OpenTTD/discussions/10900
19:56:16 <DorpsGek> [OpenTTD/OpenTTD] npabisz commented on discussion #10900: [Bug]: Placing factories by Game Script https://github.com/OpenTTD/OpenTTD/discussions/10900
19:56:16 <TrueBrain> lol, that is .. noisy 😛
19:57:05 <TrueBrain> awh, even I can't make a comment anymore .. lol .. silly
19:59:10 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on discussion #10900: Allow placing factories by Game Script freely https://github.com/OpenTTD/OpenTTD/discussions/10900
19:59:36 <TrueBrain> that really did not work as I would have expected; last time I use that button 🙂 Owh well
20:00:37 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on discussion #10900: Allow placing factories by Game Script freely https://github.com/OpenTTD/OpenTTD/discussions/10900
20:02:13 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on issue #10887: [Bug]: Multiplayer server listing missing servers https://github.com/OpenTTD/OpenTTD/issues/10887
20:02:16 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain closed issue #10887: [Bug]: Multiplayer server listing missing servers https://github.com/OpenTTD/OpenTTD/issues/10887
20:03:12 <TrueBrain> I once worked for a school, being sysop; there was always this one teacher that called me with: "THE COMPUTER SHOWED AN ERROR!" - "What error?" - "I don't know, I clicked it away!". That always goes through my head when having bugs that are no longer visible; very difficult to figure out what happened 🙂
20:06:40 *** gelignite has quit IRC (Quit: Stay safe!)
20:07:04 <glx[d]> "it doesn't work"
20:08:16 <TrueBrain> hmm .. 10870 (cargodist crash) is bit weird
20:08:29 <TrueBrain> guess `runtime` is zero .. but why?
20:09:01 <TrueBrain> especially as the code is crafted to avoid that (in a somewhat silly way)
20:09:39 <TrueBrain> and I don't understand enough of this 😛 But maybe a `std::min` should be used, over a `+ 1 to avoid 0`
20:10:54 <TrueBrain> owh, we changed `recalc_time` ofc .. so I guess .. that could be the issue here? 😄
20:13:36 <TrueBrain> ah, I think TallTyler forgot a line when doing that change ..
20:15:40 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on issue #10870: [Crash]: Game crashed with cargodist in flowstat https://github.com/OpenTTD/OpenTTD/issues/10870
20:16:18 <TrueBrain> 90% sure I am right; if someone can confirm, I can fix it 😛
20:17:32 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on issue #10832: Licensing issue - GPL violation by chinese https://github.com/OpenTTD/OpenTTD/issues/10832
20:18:42 <TrueBrain> petern: https://github.com/OpenTTD/OpenTTD/issues/10824 was that anyway related to the scroll changes? Or just something completely unrelated?
20:19:06 <glx[d]> might be already fixed
20:19:22 <glx[d]> but not properly linked in the PR
20:20:30 <petern> Probably fixed yes, I think there was a different bug that was linked.
20:22:14 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on issue #10704: [Bug]: Server does not apply the changes of openttd.cfg. https://github.com/OpenTTD/OpenTTD/issues/10704
20:24:03 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on issue #10681: [Crash]: Segmentation fault https://github.com/OpenTTD/OpenTTD/issues/10681
20:24:14 <TrueBrain> silly dropbox links that expired 😛
20:26:53 <TrueBrain> cool, GitHub added an `Activity` link, which shows how things ended up in the master. That is nice 🙂
20:27:12 <TrueBrain> https://cdn.discordapp.com/attachments/1008473233844097104/1113564357444513885/image.png
20:27:12 <TrueBrain> Finally that is clearly visible 😛
20:27:14 <TrueBrain> (hihihihih, sorry :D)
20:29:01 <glx[d]> I'd say duplicate of https://github.com/OpenTTD/OpenTTD/issues/10819
20:29:30 <TrueBrain> I would say, if you have some time, confirm it, and if it is actually fixed, close it up 🙂
20:29:41 <glx[d]> not the same "function" but the same cause
20:35:56 <glx[d]> testing before and after #10820
20:43:19 <DorpsGek> [OpenTTD/OpenTTD] anatolyeltsov updated pull request #10541: Feature: Industry production graph https://github.com/OpenTTD/OpenTTD/pull/10541
20:53:22 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #10824: [Bug]: Cannot click on vehicles in depot window https://github.com/OpenTTD/OpenTTD/issues/10824
20:53:25 <DorpsGek> [OpenTTD/OpenTTD] glx22 closed issue #10824: [Bug]: Cannot click on vehicles in depot window https://github.com/OpenTTD/OpenTTD/issues/10824
20:56:41 <TrueBrain> Awesome, tnx for checking 🙂
20:56:54 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:00:08 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #10889: Backport master into release/13 https://github.com/OpenTTD/OpenTTD/pull/10889#issuecomment-1570947439
21:17:45 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:33:14 <glx[d]> pff stupid conflicts
21:44:53 <glx[d]> hmm I have some doubts about changes in #10766
21:51:45 <DorpsGek> [OpenTTD/OpenTTD] glx22 updated pull request #10889: Backport master into release/13 https://github.com/OpenTTD/OpenTTD/pull/10889
21:55:47 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #10889: Backport master into release/13 https://github.com/OpenTTD/OpenTTD/pull/10889#issuecomment-1571015425
21:56:54 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:57:33 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #10870: [Crash]: Game crashed with cargodist in flowstat https://github.com/OpenTTD/OpenTTD/issues/10870
21:58:59 <TrueBrain> Lol, we don't do trial and error are we? 😄
21:59:33 <TrueBrain> "That fixes this bug" - looks behind, sees a storm of open bugs hiding in plain sight :p
22:00:25 <TrueBrain> Anyway, tnx, will make a fix tomorrow!
22:10:26 <TallTyler> Not trial and error, suspicion and confirmation?
22:11:07 <TrueBrain> Tomato tomato :p
22:29:33 <TallTyler> Must be nice to be better than that 😛
23:24:35 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)