IRC logs for #openttd on OFTC at 2024-03-07
            
00:04:15 *** Eddi|zuHause has quit IRC (Remote host closed the connection)
00:04:27 *** Eddi|zuHause has joined #openttd
02:20:52 *** Wormnest has quit IRC (Quit: Leaving)
03:42:10 *** D-HUND has joined #openttd
03:45:31 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:47:09 *** gnu_jj_ has joined #openttd
03:50:32 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
04:27:13 *** Leopold_ has quit IRC ()
04:27:33 *** Leopold_ has joined #openttd
04:40:57 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/8fb26612c0dadfa28fd8ee33cb2ec3d34ffa5d0a
04:40:58 <DorpsGek> - Update: Translations from eints (by translators)
05:10:56 *** keikoz has joined #openttd
06:15:01 *** keikoz has quit IRC (Ping timeout: 480 seconds)
07:13:53 *** SigHunter_ has quit IRC ()
07:16:34 *** SigHunter has joined #openttd
07:20:30 <kuhnovic> xarick: why do the paths need to be identical?
07:21:46 *** pickpacket has quit IRC (Ping timeout: 480 seconds)
07:46:32 <peter1138> Hi
08:06:40 *** juzza1 has joined #openttd
08:07:54 *** juzza1 has quit IRC ()
08:09:18 *** juzza1 has joined #openttd
08:11:44 <andythenorth> too early for lunch
08:11:49 <andythenorth> still haven't had my cornflakes
08:12:30 <juzza1> do the openttdcoop devzone repos still exist somewhere? if yes, can i get read access for a sec?
08:47:51 <LordAro> most were migrated to https://github.com/openttdcoop
08:48:20 <LordAro> well, some
08:59:26 <_zephyris> OpenGFX Mars 😦
09:04:26 <peter1138> Oh, I just noticed my Opus version of OpenSFX is smaller than sample.cat 😄
09:05:05 <peter1138> Make sense, even 8 bit 11025 Hz sound is quite large.
09:08:43 <juzza1> LordAro: I'd be migrating the various finnish sets to github too, just haven't been active for a while (I'm one of the main devs in all of them). bundles.openttdcoop.org is still up, but I need the full repos with commit histories. I probably have the most recent ones locally, but eh
09:20:11 <peter1138> Nice, open and save a wave file in audacity and it changes the data.
09:20:45 <peter1138> Well, admittedly for .wav that is import/export, so it's not meant to be the same file.
09:35:38 <LordAro> juzza1: the data is all still *somewhere*, it's just a matter of contacting the guy that can access it
09:35:56 <LordAro> planetmaker might be the one you want
09:49:40 <juzza1> LordAro: thanks
10:05:01 <xarick> kuhnovic: It's to prevent the ship going back and forth when doing automated service. The cost needs to match in all 3 functions for that.
11:05:21 *** keikoz has joined #openttd
11:27:30 <peter1138> Heh, converted the Windows sample.cat to opus as well. Although it's smaller, the decoded audio is fixed at 16 bit 48 kHz, so it's much larger in memory 😄
13:42:50 <Eddi|zuHause> that's how bloat works
13:48:57 *** pickpacket has joined #openttd
13:50:11 <peter1138> load average: 92.33, 33.79, 12.52
13:50:12 <peter1138> Hmm 😒
13:51:35 <LordAro> you've got 96 cores, right?
13:53:15 <peter1138> Sadly not.
14:01:47 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1215298354972590101/image.png?ex=65fc3dca&is=65e9c8ca&hm=890e849d1d805326d26b85088f3cb54011b2823266aaf45abc2a425b496ee861&
14:02:36 <xarick> 0 is allowed 😐
14:04:08 <Eddi|zuHause> "i got 99 cores, and..." :p
14:06:06 <peter1138> I wish I knew what was 'wrong' with vehicle running sounds. I've been told they sound wrong, and are not the same as with TTDPatch. But comparing with TTDPatch is kinda impossible at this point.
14:06:28 <andythenorth> do they sound ok?
14:08:51 *** nielsm has joined #openttd
14:09:33 <peter1138> Hmm, actually I've found something that does affect it massively.
14:15:54 <peter1138> And also explains why I don't hear a problem.
14:26:06 <peter1138> Hmm, and on macOS we don't even set it.
14:28:53 <peter1138> I assume Scuddles is on Windows.
14:30:29 <LordAro> "massively"
14:31:47 <peter1138> Yes.
14:37:46 <truebrain> he didn't plug in his headset
14:44:46 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1215309171369443328/mrwo1043.png?ex=65fc47dd&is=65e9d2dd&hm=35efca708b21c23539a23648079ffe48ffb5407af36d4646579e3c0346e84d8a&
14:44:46 <andythenorth> hmm, should I implement reversing articulated consists in grf? 😛
14:45:05 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1215309253376745532/image.png?ex=65fc47f1&is=65e9d2f1&hm=b463f9b38aeb5a79f3ba507313f5f8face2c03001716234ea01f202622435dcd&
14:56:29 *** merni has joined #openttd
14:56:29 <merni> Yes
14:56:34 <merni> It would be cool
15:28:40 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
15:37:36 <peter1138> Hmm, now the mixer channel limit is a problem 😒
15:40:48 <peter1138> Although I guess it was anyway.
16:23:13 <xarick> https://github.com/OpenTTD/OpenTTD/pull/10623 is this happening at all? it's approved
16:31:46 <LordAro> "not before 14"
16:31:56 <LordAro> it's one of the reasons the survey got added
16:36:08 *** Wormnest has joined #openttd
16:53:54 <xarick> oh, I see
16:56:51 <xarick> I'm going to assume yapf.maximum_go_to_depot_penalty will never be 0
16:57:04 <xarick> the future one
16:58:21 <Eddi|zuHause> not seeing why that should be forbidden
17:00:13 <xarick> it was used for automated service
17:06:34 <Eddi|zuHause> yes.
17:06:47 <Eddi|zuHause> but why would setting the distance to 0 break anything?
17:22:44 <peter1138> If it's 0 then it will never find a depot, but other than that, nothing is actually broken.
17:41:14 <peter1138> Hmm, is there a "time at start of tick"...
17:44:50 <talltyler> What time system? Tick counter is absolute
17:45:00 <talltyler> If that helps
17:53:44 <peter1138> Real time.
18:07:29 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1215360186672484412/image.png?ex=65fc7760&is=65ea0260&hm=5d8e5a7e72b4c0b11f4a9a5c3b3d9d5235231641fae9b86b13cae2f819be0ed7&
18:07:29 <xarick> help! what am I doing wrong?
18:07:46 <xarick> I wanna use DetectDestination function as callback
18:07:49 <xarick> i fail
18:12:41 <Rubidium> if you need a cast for a callback, then the function's signature is not the right one and any forceful casting you do will eventually cause issues. Just look at the signatures and see that they are different
18:15:47 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1215362274601078886/image.png?ex=65fc7952&is=65ea0452&hm=605f4bc050643f20e0031404129d4318f43553c8d1aab068b0ea020c2d91c966&
18:19:22 <Rubidium> yeah, and `DetectDestination` is essentially `std::function<bool(<the class DetectDestination is in>*,const TileIndex)`... you they differ
18:20:01 <Rubidium> either make DetectDestination static, if possible, or use a lambda
18:25:14 <xarick> I had a lambda but code was repeating
18:39:28 <xarick> aha, I did it! yay
18:41:03 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1215368633539104849/image.png?ex=65fc7f3e&is=65ea0a3e&hm=922be356fc62005b8e2b9e7a88945c03e99ff1246b70e19760b932bba4cbe973&
18:41:03 <xarick> it's mucho smart now
18:42:40 <xarick> could it be smarter still?
18:43:44 <xarick> the order maybe should be switched with &Yapf()
18:43:52 <xarick> not sure
18:50:52 <xarick> there's a mix of code styles
18:50:58 <xarick> not sure what style to adhere to
18:52:03 <xarick> <https://github.com/OpenTTD/OpenTTD/blob/master/src/pathfinder/yapf/yapf_ship.cpp#L37-L43>
19:08:31 <andythenorth> hmm
19:08:32 <andythenorth> is cat?
19:08:34 <andythenorth> or lunch?
19:08:39 <andythenorth> etc?
19:13:56 <peter1138> More mixer channels, or change how mixing works?
19:15:40 <andythenorth> nothing without wine first TBH
19:15:54 <andythenorth> quadrophonic sound for trains?
19:16:03 <andythenorth> does it doppler, or just stereo pan?
19:16:11 <peter1138> I did implement ambisonics once.
19:27:21 *** Leopold_ has quit IRC (Remote host closed the connection)
19:31:15 *** Leopold_ has joined #openttd
19:41:29 <andythenorth> I have implemented chicken and vegetables
19:45:49 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1215384934991134762/image.png?ex=65fc8e6d&is=65ea196d&hm=aaf3d7756893292e64e0be9ef7487fbf30f96ff54d15e5691223d2228b07a447&
19:45:49 <andythenorth> 1003 upvotes eh 🙂
19:45:56 *** esselfe has joined #openttd
19:47:02 *** habicuela has joined #openttd
19:47:02 <habicuela> 20 years is crazy
19:52:45 <peter1138> Doom though?
19:53:48 <habicuela> i mean, i'm 17, this was out 3 years before me yk
19:54:40 <habicuela> but yeaj 1993 is even crazier
20:12:45 *** Wolf01 has joined #openttd
20:23:28 <xarick> `return FindDepotData(Depot::GetByTile(v->tile)->xy, 0);`
20:23:28 <xarick> keks
20:24:33 <xarick> 0 is wrong if it's in the other tile, but wtv...
20:24:54 <xarick> not important enough
20:51:05 <DorpsGek> [OpenTTD/team] eriksorngard opened issue #527: [nb_NO] Translator access request https://github.com/OpenTTD/team/issues/527
20:56:01 <peter1138> Yay, wheel rebuilt with new nipples
21:13:47 *** salut3585 has joined #openttd
21:13:47 <salut3585> is it possible to add a new icon in OpenTTD for a new button in the menu? also a new icon for mouse when selecting some area. I have done some changes but I used already exists the icons
21:24:52 <salut3585> https://cdn.discordapp.com/attachments/1008473233844097104/1215409859626016798/image.png?ex=65fca5a3&is=65ea30a3&hm=00ea6105de1f2ce17a51412390e7ec06b19f1017356fd5650f65044ea89b9fa6&
21:31:08 <habicuela> salut3585: go to Discord channel #openttd-help , there you'll find more info than here
21:32:32 <locosage> salut3585: you should probably start with the problem you're trying to solve
21:32:38 <talltyler> No, this is the right place to discuss new buttons
21:32:50 <locosage> are you doing PR for openttd, your own patched version or something else?
21:32:50 <talltyler> What do you want it to do?
21:33:23 <salut3585> Yes I will open PR when I finish my changes
21:34:35 <salut3585> I almost did what I want a nd then you can decide do you want it approve or not.
21:35:39 <locosage> iirc for PR new icons need to be added to orig_extra.grf
21:35:49 <talltyler> To see how to add a sprite, check out https://github.com/openttd/openttd/pull/10034
21:36:12 <talltyler> We went a different way than that PR (a hotkey rather than a new button) but it was complete and worked properly. 🙂
21:38:03 <salut3585> Thank you
21:38:17 <belajalilija> talltyler: Does it work in multiplayer?
21:38:48 <belajalilija> Can i distribute trains across a multiplayer network and spam the horn so no matter where someone looks they can hear it?
21:41:11 <michi_cc> locosage: Nope, orig_extra is for the original baseset only. openttd.grf is what is loaded for everything (and which basesets can override as needed).
21:45:13 <locosage> yeah, I forgot there are two of them
21:45:23 <talltyler> belajalilija: No, its local and only plays sound for a train that the camera is following
21:46:23 <belajalilija> Darn
21:46:44 <belajalilija> Will have to file a bug report then
21:55:51 *** gelignite has joined #openttd
22:05:26 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:07:10 *** gelignite has quit IRC (Quit: Stay safe!)
22:17:56 *** igor[m] has quit IRC ()
22:20:01 *** nielsm has quit IRC (Ping timeout: 480 seconds)
22:30:38 <peter1138> truebrain: does the survey data include driver parameters or did we hide that?
22:31:03 <peter1138> Looking for sound_driver hz=, samples= or bufsize=.
22:31:09 <truebrain> Currently they are visible
22:32:07 <truebrain> Something you could lookup yourself ofc, but https://survey.openttd.org/summaries/2024/wk09/14.0-RC1#game.settings.musicdriver for example 🙂
22:32:43 <truebrain> But only when done via settings, most likely
22:33:41 <peter1138> Right. I am not THAT lazy, but I was looking at `info.configuration.sound_driver` which comes first, so I didn't realise there are two sections for it.
22:33:57 <peter1138> And `-p 36:0` is me of course ;D
22:34:19 <truebrain> So now I have to remove it as it traced back to an individual 😛
22:34:26 <peter1138> Haha
22:34:41 <truebrain> I really do not know what happens with CLI parameters btw
22:34:43 <peter1138> You'd think it would only be a tiny proportion.
22:34:53 <peter1138> No, and I don't really care about CLI parameters either tbh.
22:35:02 *** HerzogDeXtEr has joined #openttd
22:35:05 <truebrain> Good 🙂
22:35:12 <peter1138> I don't think many Steam players will be setting them that way.
22:35:53 <truebrain> Sadly, many games suggest to use cmdline for these things, so it wouldn't be unexpected if they did
22:39:47 <truebrain> I really want a better visualisation for the survey, this just annoys me 😛
22:41:50 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #12227: Change: Use same audio buffer size and config parameter for all sound drivers. https://github.com/OpenTTD/OpenTTD/pull/12227
22:42:18 <klote> Hi i need some help getting the OpenTTDiscord bot to work
22:43:00 <klote> whenever i start the bot i get the error
22:43:02 <klote> https://cdn.discordapp.com/attachments/1008473233844097104/1215429533637812225/image.png?ex=65fcb7f6&is=65ea42f6&hm=8e897f2718e57236e7f81f3094b502e50483e0dd3b2781fec4cdb325ba75fe52&
22:43:56 <klote> connection with discord is ok bot gives error message that it cant connect to the server
22:44:01 <klote> dont really know where to look
22:44:47 <truebrain> Sounds like a question to ask the author of said bot
22:45:41 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #12227: Change: Use same audio buffer size and config parameter for all sound drivers. https://github.com/OpenTTD/OpenTTD/pull/12227#pullrequestreview-1923714413
22:52:10 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #12227: Change: Use same audio buffer size and config parameter for all sound drivers. https://github.com/OpenTTD/OpenTTD/pull/12227#issuecomment-1984711843
22:53:20 <peter1138> tr;lr running sounds are broken when the buffer size is large.
22:53:41 <truebrain> I believe you 🙂
22:54:51 <peter1138> Aw crap, I accidentally stripped some logs.
22:56:39 <klote> T-T i dont think hes still active
22:58:12 <peter1138> <https://github.com/shoter/OpenttdDiscord> This one seems more active, no idea if it's any good though. dotnet instead of node though.
22:59:37 <tony_pixel> https://cdn.discordapp.com/attachments/1008473233844097104/1215433704420286494/image.png?ex=65fcbbd8&is=65ea46d8&hm=c482b4d94eed2f7a1f7025ec08f512939925a985c8be9cf6194f383b08704dc0&
22:59:37 <tony_pixel> peter1138: We can ask tho
23:00:40 <peter1138> I have no desire to.
23:00:51 <truebrain> Ask the author of something if it is any good? I can predict that answer 😛
23:00:59 <peter1138> "Hi, is your software that I don't intend to use any good?" 😄
23:02:24 <xarick> Need to open an issue I reported a week ago, before it gets lost
23:03:00 <talltyler> If you didn’t open an issue, it didn’t really get reported 😉
23:04:22 <tony_pixel> truebrain: to be fair I'm ready to say "Don't use it, it's shit" for something of mine
23:07:27 <truebrain> Yeah, but you are a bit weird 😛
23:07:30 <truebrain> 😄
23:09:05 <tony_pixel> And so is my surrounding
23:12:20 <klote> peter1138: let me check if i can use that
23:12:37 <klote> atleast it was updated 3 months ago
23:20:03 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12227: Change: Use same audio buffer size and config parameter for all sound drivers. https://github.com/OpenTTD/OpenTTD/pull/12227
23:32:27 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened issue #12228: [Bug]: Issues with CheckShipReverse https://github.com/OpenTTD/OpenTTD/issues/12228
23:33:35 <xarick> I have a fix, but Kuhnovic also told me is working on it, so maybe I should wait
23:34:50 <klote> xarick: fix for?
23:35:09 <xarick> to CheckShipReverse
23:35:22 <klote> oh nvm lol
23:36:59 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)