IRC logs for #openttd on OFTC at 2024-09-14
            
01:20:54 *** Flygon has quit IRC (Read error: Connection reset by peer)
01:21:04 *** goddess_ishtar has joined #openttd
01:21:04 <goddess_ishtar> peter1138: wait, this channel isn't actually only bridged to IRC?
01:28:42 <_glx_> it is, but other things can bridge to the IRC channel too
01:37:26 <soylent_cow[m]> i have a passenger plane that flies for about 1000 seconds, the very first one, and it won't break even
01:37:38 <soylent_cow[m]> i feel like i am running a socialist airline overhere
02:05:02 *** Tirili has quit IRC (Remote host closed the connection)
02:24:48 *** gnu_jj has joined #openttd
02:28:09 *** gnu_jj_ has quit IRC (Ping timeout: 480 seconds)
02:41:28 *** D-HUND has joined #openttd
02:45:02 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:03:14 *** Ttech has joined #openttd
03:55:36 *** Ttech has quit IRC (Remote host closed the connection)
04:31:39 *** Ttech has joined #openttd
04:45:05 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/59b18560d497112a1669fad31dd801464d5472c3
04:45:06 <DorpsGek> - Update: Translations from eints (by translators)
05:18:35 *** keikoz has joined #openttd
07:09:03 *** keikoz has quit IRC ()
07:17:40 *** Wolf01 has joined #openttd
07:22:08 *** keikoz has joined #openttd
07:23:24 <peter1138> Well
07:28:43 <_pruple> very
07:41:08 <andythenorth> such
07:41:14 <peter1138> Badges?
07:41:25 <andythenorth> maybe
07:49:35 *** nielsm has joined #openttd
08:19:06 *** HerzogDeXtEr has joined #openttd
08:25:25 *** mindlesstux has quit IRC (Quit: The Lounge - https://thelounge.chat)
08:25:49 *** Afdal has joined #openttd
08:26:01 <Afdal> Is there a way to bring back the old autosave interval behavior?
08:26:14 <Afdal> I'd much rather use in-game time then real time for my autosaves
08:26:21 <Afdal> especially on servers >.>
08:26:22 *** mindlesstux has joined #openttd
08:30:34 *** tokai has quit IRC (Ping timeout: 480 seconds)
08:34:09 *** tokai has joined #openttd
08:34:09 *** ChanServ sets mode: +v tokai
09:14:41 <LordAro> i can see it being a bug that autosave happens regardless of whether the game has been paused the whole time
09:16:02 <peter1138> If that was the case, perhaps...
09:16:25 <peter1138> (openttd.cpp:1295-1297)
09:17:16 <peter1138> Well, at least it's mentioned, I assume it works :p
09:21:20 <peter1138> Yeah, IntervalTimer itself takes care of not executing the timer function when PeriodFlags::AUTOSAVE is set.
09:21:24 <_jgr_> It should work fine if you're not using a GS
11:24:02 *** Flygon has joined #openttd
11:24:40 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12908: Fix #12901: Savegame format of company allow lists https://github.com/OpenTTD/OpenTTD/pull/12908#pullrequestreview-2304430449
12:00:45 <aviationgamerx> https://cdn.discordapp.com/attachments/1008473233844097104/1284483979231367230/image.png?ex=66e6cc6d&is=66e57aed&hm=8e75584a14d2dbf595b3c5cd1caf89d0f3f9b974c4b114e3fc398664c97bc681&
12:00:45 <aviationgamerx> do I need to learn git commands and use a git software? or does github's UI cover everything?
12:07:40 <talltyler> You should learn the command line. You cannot do everything on the website, and GitHub for Desktop was missing some key functionality last I tried it.
12:08:07 <talltyler> It’s pretty straightforward for the most common actions (commit, rebase, push/force push)
12:08:28 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12923: Codechange: Use std::variant for string parameters and prevent mixing string/numeric parameters. https://github.com/OpenTTD/OpenTTD/pull/12923#pullrequestreview-2304435418
12:09:02 <peter1138> It seems that you can "get by" with the UIs, but any time you need to do something slightly different you'll get stuck.
12:12:37 <aviationgamerx> alright thanks
12:14:14 <aviationgamerx> but if not in github desktop, where do the commands get written?
12:14:31 <aviationgamerx> windows cmd?
12:20:29 <talltyler> You can install the git command line, that’s what I did
12:20:57 <peter1138> What development environment do you intend to use?
12:20:57 <talltyler> If you install git the commands are also available in PowerShell and regular cmd though
12:21:08 <peter1138> (VS Code works for but other people do differently)
12:21:53 <Rubidium> truebrain: the five dependabot security alerts for OpenTTD are all false positives, right? https://github.com/OpenTTD/OpenTTD/security/dependabot
12:22:57 <truebrain> we only download artifacts we uploaded; so it is not a false positive perse, but it would require one of us trying to misuse it πŸ˜› So yeah πŸ™‚
12:23:56 <truebrain> hmm, on second look .. we use `@4` ... so we automatically upgraded
12:24:04 <truebrain> so not sure why the report stays open
12:24:51 <_glx_> Update are not picked up I think, because dependabot is actually disabled
12:25:01 <truebrain> but it was never an issue to start with
12:25:12 <_glx_> Or maybe it's for another repo
12:25:15 <truebrain> as soon as they released 4.1.7, we upgraded
12:25:43 <andythenorth> I never figured out how to placate dependabot for my repos πŸ˜›
12:25:46 <truebrain> bit odd, that they generated the report to start with
12:25:49 <andythenorth> it's very angry about jquery
12:26:41 <truebrain> https://github.com/OpenTTD/actions/security/dependabot/37
12:26:41 <truebrain> Here at least it noticed that it is fixed .. sort of. It still keeps the alert open
12:26:51 <truebrain> seems GitHub has some work to do in these corner cases πŸ™‚
12:28:00 <andythenorth> what's the expected action for a dependabot alert that is spurious?
12:28:17 <truebrain> it should never have been created
12:28:22 <truebrain> it was never an issue for the way we had it setup
12:28:29 <andythenorth> well it was valid for me, then I upgraded jquery
12:28:32 <andythenorth> but it doesn't self close
12:28:47 <andythenorth> except sometimes it does
12:28:55 <truebrain> good story bro πŸ˜›
12:29:12 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1284491137888813127/image.png?ex=66e6d317&is=66e58197&hm=17afaa52e933df8a1856569db0a49013f94fca10fd8a5366a898b7d9b6e509ee&
12:29:17 <andythenorth> none of these are 'I have fixed it'
12:29:28 <truebrain> you can read, I am so proud! πŸ™‚
12:30:00 <andythenorth> Truebrain 4o is mean
12:30:11 <andythenorth> I think 4o mini might be better tuned thogh
12:30:34 <andythenorth> maybe we should make GPTs of each other
12:30:53 <truebrain> please don't
12:30:54 <Rubidium> thanks for confirming those alerts could indeed be ignored
12:30:59 <truebrain> the world really don't need more of us andythenorth
12:31:13 <truebrain> Rubidium: yeah, tnx for pointing them out. I closed them now.
12:35:33 <andythenorth> pff I have closed my alerts
12:35:54 <andythenorth> I hate this kind of thing, if we *have* do homework, I want 10 out of 10 score, not just cheating
13:02:32 <peter1138> Well.
13:13:24 *** gelignite has joined #openttd
13:29:25 <aviationgamerx> https://cdn.discordapp.com/attachments/1008473233844097104/1284506293335494656/image.png?ex=66e6e135&is=66e58fb5&hm=aafc1f79c0700e75613158f19677fa9ea73b36a376cc3f3380da7e5b44d2a287&
13:29:25 <aviationgamerx> quick question, I know >> and << are used in stream in c++, but seems like it's usage here is different, I see a lot of times it is used in conditions or in areas like here, what am I missing
13:29:56 <audigex> Bitwise shifting
13:30:12 <audigex> https://learn.microsoft.com/en-us/cpp/cpp/left-shift-and-right-shift-operators-input-and-output?view=msvc-170
13:31:53 <audigex> Specifically >> is arithmetic right shift, meaning it maintains signs (positive or negative). >>> is logical right shift which does not
13:33:00 <peter1138> Being used as stream operators is the weird thing.
13:34:05 <aviationgamerx> peter1138: it's literally the first thing of c++ I learned in college lol
13:34:15 <aviationgamerx> audigex: alr thanks
14:09:23 <peter1138> FIRS eh? <https://www.tt-forums.net/viewtopic.php?t=91909>
14:17:05 <andythenorth> fixed in GS
14:17:14 <andythenorth> my GS prevents that problem
14:17:36 <andythenorth> not sure it does actually πŸ˜›
14:29:01 <peter1138> Hmm, maybe I should remove this badge configuration stuff
14:29:17 <peter1138> It's a bit "too many options"
14:31:09 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12923: Codechange: Use std::variant for string parameters and prevent mixing string/numeric parameters. https://github.com/OpenTTD/OpenTTD/pull/12923
14:32:52 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12908: Fix #12901: Savegame format of company allow lists https://github.com/OpenTTD/OpenTTD/pull/12908
14:32:55 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed issue #12901: [Bug]: Savegame storage of CompanyProperties::allow_list results in invalid table format https://github.com/OpenTTD/OpenTTD/issues/12901
14:47:27 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #12894: Change: Sort list of cargoes in industry view and fund industry windows. https://github.com/OpenTTD/OpenTTD/pull/12894
15:26:35 *** Wormnest has joined #openttd
15:29:41 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #12718: Codechange: Replace FILE * with FileHandle class. https://github.com/OpenTTD/OpenTTD/pull/12718
15:31:56 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #12718: Codechange: Replace FILE * with FileHandle class. https://github.com/OpenTTD/OpenTTD/pull/12718#issuecomment-2351033392
15:49:34 *** akimoto has joined #openttd
15:54:51 <peter1138> Ayyy
15:56:06 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #12718: Codechange: Replace FILE * with FileHandle class. https://github.com/OpenTTD/OpenTTD/pull/12718
16:16:52 *** as1 has joined #openttd
16:17:31 *** as1 has quit IRC ()
16:44:50 *** akimoto has quit IRC ()
16:46:54 <peter1138> Builds at least/at last.
16:51:51 <Rubidium> woohoo ;)
17:00:26 <peter1138> No idea what it failed on MSVC on 32 bit originally... maybe some integer promotion treating unsigned int and size_t the same and then use the messing up emplace_back.
17:06:33 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #12718: Codechange: Replace FILE * with FileHandle class. https://github.com/OpenTTD/OpenTTD/pull/12718#pullrequestreview-2304806010
17:12:11 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed pull request #12774: Feature: Alpine tree line in subarctic climate https://github.com/OpenTTD/OpenTTD/pull/12774
17:13:29 <peter1138> Huh, I thought I'd caught all those :S
17:16:22 <andythenorth> my big git repo is getting slow πŸ˜›
17:17:12 <andythenorth> 2.5GB, for the on-disk size reported by the OS, then whatever the history is
17:17:43 <andythenorth> dunno if I should learn about git lfs or something
17:18:37 <andythenorth> I can no longer push to these repo πŸ˜›
17:18:43 <andythenorth> github hangs up
17:19:30 <aviationgamerx> https://cdn.discordapp.com/attachments/1008473233844097104/1284564195370733578/image.png?ex=66e71722&is=66e5c5a2&hm=9bbc3057190488100b3d8a8fa53e104851bbbb5201edf9f65a4c3111e526b52a&
17:19:30 <aviationgamerx> The .ini files, are they used somewhere in the code, or where they get used after here? And is there some guide on what the short variable names refer to?
17:20:05 <andythenorth> `git config --global http.postBuffer 157286400` seems to work
17:20:18 <andythenorth> proof of copy-paste commands from SO with no understanding
17:30:59 <talltyler> aviationgamerx: Yes, the .ini files determine the values of the setting. The actual setting is added in `settings_type.h`, and it's added to the GUI in `settings_gui.cpp`. Here's a PR that adds a setting, showing everything you need to touch.
17:30:59 <talltyler> https://github.com/OpenTTD/OpenTTD/pull/12714/files
17:31:58 <aviationgamerx> talltyler: oh nice thanks a lot
17:33:55 <talltyler> You can learn a lot by finding similar PRs πŸ˜„
17:36:30 <aviationgamerx> talltyler: that is a good idea, I have been almost crossing the jungle trying to find where variables go from start to end and connect the pieces together lol
18:19:35 *** bonehead has quit IRC (Quit: User went offline on Discord a while ago)
19:16:00 *** Tirili has joined #openttd
19:16:00 *** gelignite has quit IRC (Remote host closed the connection)
19:16:33 *** gelignite has joined #openttd
19:19:10 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #12938: Add: Overlay cargo icon in vehicle/depot list when holding shift+ctrl. https://github.com/OpenTTD/OpenTTD/pull/12938
19:47:47 <DorpsGek> [OpenTTD/OpenTTD] github-advanced-security[bot] commented on pull request #12938: Add: Overlay cargo icon in vehicle/depot list when holding shift+ctrl. https://github.com/OpenTTD/OpenTTD/pull/12938#pullrequestreview-2305143401
19:55:21 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12907: Fix: DepotWindow::GetVehicleFromDepotWndPt not refreshing vehicle list https://github.com/OpenTTD/OpenTTD/pull/12907#pullrequestreview-2305156328
20:08:21 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12890: Change: [NewGRF] Place all 8 bits of station tile layout in var 40/41/46/47/49. https://github.com/OpenTTD/OpenTTD/pull/12890#pullrequestreview-2305177953
20:24:47 *** azubieta6082266638 has quit IRC (Ping timeout: 480 seconds)
20:29:29 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #12718: Codechange: Replace FILE * with FileHandle class. https://github.com/OpenTTD/OpenTTD/pull/12718
20:37:44 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12890: Change: [NewGRF] Place all 8 bits of station tile layout in var 40/41/46/47/49. https://github.com/OpenTTD/OpenTTD/pull/12890
20:38:39 <DorpsGek> [OpenTTD/nml] PeterN opened pull request #339: Change: Support for 8 bit station tile types. https://github.com/OpenTTD/nml/pull/339
20:59:32 *** gelignite has quit IRC (Quit: Stay safe!)
21:23:33 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:35:30 <DorpsGek> [OpenTTD/nml] glx22 approved pull request #339: Change: Support for 8 bit station tile types. https://github.com/OpenTTD/nml/pull/339#pullrequestreview-2305204794
21:38:44 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:50:29 <DorpsGek> [OpenTTD/OpenTTD] PikkaBird started discussion #12939: Level crossing extensions in NewGRF https://github.com/OpenTTD/OpenTTD/discussions/12939
21:56:39 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:27:34 <Afdal> Great job on the improvements to ship pathfinding guide :)
22:27:36 <Afdal> guise*
22:27:53 <Afdal> I wonder if ships still stress a server out though?
22:27:58 <Afdal> less or even more than before?
22:28:16 <Afdal> since it's so much smarter...
22:36:38 *** D-HUND is now known as debdog
22:36:54 <_pruple> I don't think so
22:37:05 <_pruple> they work smarter, not harder, or something
22:53:36 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
23:13:53 *** tokai|noir has joined #openttd
23:13:53 *** ChanServ sets mode: +v tokai|noir
23:16:38 *** tokai has quit IRC (Ping timeout: 480 seconds)