IRC logs for #openttd on OFTC at 2021-12-01
            
00:43:02 *** Wuzzy has quit IRC (Quit: Wuzzy)
02:19:32 *** Kitrana1 has joined #openttd
02:22:05 *** Kitrana has quit IRC (Ping timeout: 480 seconds)
02:24:12 <DorpsGek> [OpenTTD/appstore-data] 2TallTyler opened pull request #9: Add: Announcement for 2021 Steam Award nominations https://git.io/JMaQa
02:28:15 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
02:28:30 *** WormnestAndroid has joined #openttd
02:40:38 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
02:41:06 *** WormnestAndroid has joined #openttd
02:55:17 *** Wormnest has quit IRC (Quit: Leaving)
03:25:35 *** roadt_ has joined #openttd
03:32:18 *** roadt has quit IRC (Ping timeout: 480 seconds)
03:44:49 *** glx has quit IRC ()
03:50:21 *** D-HUND has joined #openttd
03:53:46 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:14:41 *** Flygon has joined #openttd
06:17:06 *** andythenorth has joined #openttd
06:43:20 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
06:44:34 *** WormnestAndroid has joined #openttd
06:52:38 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
06:53:59 *** andythenorth has quit IRC (Quit: andythenorth)
06:54:20 *** WormnestAndroid has joined #openttd
07:30:13 *** Speedy` has quit IRC (Remote host closed the connection)
08:08:41 *** WormnestAndroid has quit IRC (Remote host closed the connection)
08:22:47 *** andythenorth has joined #openttd
10:18:46 <DorpsGek> [OpenTTD/OpenSFX] Wuzzy2 commented on issue #47: Build system issues https://git.io/J1hUz
10:33:03 *** dihedral has quit IRC ()
10:35:59 *** dihedral has joined #openttd
10:48:30 <DorpsGek> [OpenTTD/OpenSFX] matthijskooijman commented on issue #47: Build system issues https://git.io/J1hUz
12:19:03 *** WormnestAndroid has joined #openttd
12:43:01 *** debdog has joined #openttd
12:46:22 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
12:54:16 *** WormnestAndroid has quit IRC (Read error: No route to host)
12:55:12 *** WormnestAndroid has joined #openttd
14:08:52 *** nielsm has joined #openttd
14:22:41 *** tokai|noir has quit IRC (Quit: c('~' )o)
14:43:03 *** Strom has quit IRC ()
14:58:47 *** glx has joined #openttd
14:58:47 *** ChanServ sets mode: +v glx
15:19:46 *** supermop_work has joined #openttd
15:19:49 <supermop_work> hi
15:20:53 <nielsm> lo
15:29:01 <supermop_work> hows it going in here
15:51:53 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
15:55:49 <esselfe> Hi, one of the player that played before I upgrade from 1.11.2 to 12.1 said he cannot connect anymore, and I just saw in the settings "network.server_invite_code" which is assigned a code... does this has to be blank so people can join? I didn't find it in the wiki.
15:56:29 <esselfe> and "network.server_invite_code_secret" also is assigned
15:57:50 <esselfe> and could anyone test joining hobby.esselfe.ca:3979 please. Personally I'm able to join from my laptop to my vps hosting the game
16:00:36 <LordAro> esselfe: networking has changed a lot in 12.x, you may want to have a read of https://www.openttd.org/news/2021/09/26/new-multiplayer-experience
16:00:50 <esselfe> ok
16:03:53 <LordAro> though i'm not sure why you would be able to join and someone else not
16:04:58 <dP> esselfe, did that player update his openttd to 12.1?
16:05:15 <dP> esselfe, invite code is auto-assigned when starting a server, that's normal
16:06:51 <esselfe> Yes he updated to 12.1. I'd want it to be fully public, I have 'network.server_game_type = public', so I can just delete the invite codes?
16:07:25 <dP> you can delete invite code but there is absolutely no point, you'll just get a new one
16:07:31 <esselfe> I see
16:09:05 <nielsm> the invite code is meant to be usable instead of hostname/ip/port
16:09:47 <nielsm> and if you connect to the game via invite code instead of via server address, the new firewall-punching features are enabled
16:09:48 <esselfe> I need more information/details on why he can't connect then
16:10:27 <esselfe> or I could revert to 1.11.2
16:10:40 <nielsm> try sending the invite code to the player that can't connect and have them try to connect via that instead
16:10:45 <LordAro> bit drastic
16:11:04 <esselfe> ok, I can reach him via Discord
16:11:19 <esselfe> I don't share the secret, right?
16:11:38 <TrueBrain> Always use invite codes as much as possible; the game will handle everything else as good as it can :)
16:11:50 <TrueBrain> Not sharing secrets, yes, never share secrets
16:12:05 <TrueBrain> Just as general tip in life btw :D
16:13:06 <TrueBrain> but as example, joining by hostname can fail easily, especially on IPv6, if the other user has poor routing/peering
16:13:21 <TrueBrain> 12.X solves that by taking control of this, and having more methods of connecting client to server
16:14:36 <TrueBrain> so forget about hostnames and IPs; invite-codes are the way to go! \o/
16:15:23 <LordAro> TrueBrain: blog post code benefit from a tl;dr for server admins, i think
16:15:29 <LordAro> s/code/could/
16:15:34 <TrueBrain> go for it :)
16:15:42 <LordAro> knew you'd say that :p
16:16:14 <esselfe> yeah I have both IPv4 and IPv6 on the server
16:16:36 <TrueBrain> LordAro: :D But without kidding, I have very little free time atm, so I won't be doing it :(
16:17:04 <LordAro> shame :p
16:17:08 <LordAro> new job?
16:17:25 <esselfe> Can someone test this please? +afSKaR2
16:17:32 <esselfe> I feel better
16:17:49 <TrueBrain> LordAro: same company, different role, but yeah. Lot of work to move in very little time .. so long days :P
16:18:11 <TrueBrain> should get better soon .. almost done cleaning up most weirdness :D
16:18:48 *** Wormnest has joined #openttd
16:19:09 <TrueBrain> but these increased rules because of Covid are not helping the productivity .... stupid shit
16:19:14 <TrueBrain> why can't people just not be idiots?
16:19:30 <LordAro> :)
16:19:32 *** WormnestAndroid has joined #openttd
16:20:21 <TrueBrain> esselfe: works fine. Now ask the client that couldn't join :P Much more interesting :D
16:20:40 <TrueBrain> owh, lol, your server runs "norev000-uunknown"
16:20:49 <TrueBrain> (the double u is not a typo)
16:20:55 <TrueBrain> no clue what you did to do that, but you might want to try an official release ;)
16:21:29 <esselfe> yeah, I'll ask more questions next time, if he's willing to get into digging a little
16:21:46 <TrueBrain> for sure nobody will be able to join your server based on that revision
16:21:53 <TrueBrain> so you really would have to fix that if you want others to join
16:22:25 <esselfe> He's on Windows, so he'll get version mismatch?
16:22:35 <TrueBrain> EVERYONE will get a version mismatch
16:22:39 <esselfe> It's compiled from source on Linux on my side
16:22:40 <glx> I guess you got source zip from github and not on website
16:22:40 <TrueBrain> like, you are the only one who can join
16:22:53 <TrueBrain> please download our source tarball, not GitHub's :)
16:23:06 <esselfe> ok let me try that :P
16:23:07 <TrueBrain> or clone the repo, also works
16:23:11 <TrueBrain> but GitHub tarballs are the worst
16:23:22 <LordAro> https://github.com/OpenTTD/OpenTTD/blob/master/cmake/scripts/FindVersion.cmake#L99 uuknown :)
16:23:23 <TrueBrain> https://cdn.openttd.org/openttd-releases/12.1/openttd-12.1-source.tar.xz
16:23:32 <LordAro> uunknown, even
16:24:48 <TrueBrain> LordAro: https://github.com/OpenTTD/OpenTTD/blob/master/cmake/scripts/FindVersion.cmake#L84 <- more specifically :)
16:25:13 <LordAro> i figured that would be in sight :p
16:25:21 <LordAro> can't select 2 disconnected lines :p
16:25:41 <TrueBrain> I am disappointed in your abilities :P
16:27:19 <esselfe> well there's a warning: "Unknown Linux distribution 'lunar' from /etc/os-release" , can that break the revision/version?
16:27:32 <TrueBrain> no, just cpack will not work as expected
16:27:43 <TrueBrain> and "make install" might not do what you expect
16:27:52 <LordAro> that just means you can't build an installer (e.g. deb/rpm/etc)
16:28:07 <TrueBrain> we start to guess what FHS your OS uses :P It might be wrong :D
16:28:15 <esselfe> ok
16:28:22 <esselfe> it's building now
16:33:17 <esselfe> ok it's running
16:33:57 <esselfe> ok my laptop can't connect, it's also building, but slower
16:34:26 <esselfe> I guess that's about it :) thanks alot
16:36:32 <esselfe> I install in /usr/local, but concerning FHS and my distro, they're heading for merging /bin to /usr/bin, it's just upstream hardcoded paths that don't stick with it
16:36:46 <esselfe> (it's source-based)
16:37:13 <esselfe> personally I think it's a bad idea
16:51:13 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
17:18:39 *** andythenorth has quit IRC (Quit: andythenorth)
17:52:13 *** frosch123 has joined #openttd
17:57:52 *** HerzogDeXtEr has joined #openttd
17:59:58 *** m1cr0man has quit IRC (Quit: G'luck)
18:03:46 *** m1cr0man has joined #openttd
18:17:34 <TrueBrain> New month again ... to spam or not to spam
18:17:57 <TrueBrain> Seems pyup is not making PRs again
18:17:59 <TrueBrain> Weird bug
18:18:06 <DorpsGek> [OpenTTD/bananas-api] pyup-bot opened pull request #105: Scheduled monthly dependency update for December https://git.io/JMoGB
18:18:18 <frosch123> you jynxed it :p
18:18:29 <DorpsGek> [OpenTTD/bananas-frontend-cli] pyup-bot opened pull request #32: Scheduled monthly dependency update for December https://git.io/JMoG7
18:19:23 <DorpsGek> [OpenTTD/bananas-frontend-web] pyup-bot opened pull request #68: Scheduled monthly dependency update for December https://git.io/JMoZt
18:20:45 <DorpsGek> [OpenTTD/bananas-server] pyup-bot opened pull request #65: Scheduled monthly dependency update for December https://git.io/JMoZ1
18:21:35 <DorpsGek> [OpenTTD/DorpsGek] pyup-bot opened pull request #60: Scheduled monthly dependency update for December https://git.io/JMonU
18:23:53 <frosch123> are there any M1 specify desyncs already?
18:24:10 <frosch123> today I learned that "char" is unsigned on gcc-arm and clang-arm
18:25:16 <DorpsGek> [OpenTTD/eints] pyup-bot opened pull request #63: Scheduled monthly dependency update for December https://git.io/JMonQ
18:26:20 <DorpsGek> [OpenTTD/game-coordinator] pyup-bot opened pull request #80: Scheduled monthly dependency update for December https://git.io/JMocU
18:27:29 <DorpsGek> [OpenTTD/master-server] pyup-bot opened pull request #54: Scheduled monthly dependency update for December https://git.io/JMocE
18:28:26 <DorpsGek> [OpenTTD/master-server-web] pyup-bot opened pull request #41: Scheduled monthly dependency update for December https://git.io/JMocD
18:53:06 <LordAro> frosch123: how fun
18:53:09 <LordAro> no one's reported any
19:00:48 *** jottyfan has joined #openttd
19:03:27 <TrueBrain> @calc 365 + 28
19:03:27 <DorpsGek> TrueBrain: 393
19:03:47 <frosch123> new router?
19:03:56 <TrueBrain> yeah .. stupid DHCP
19:04:11 <TrueBrain> it never gets old, does it? What a weirdo that person was :P
19:06:28 <frosch123> the funny part... i cannot remember the original argument :) i only know the meme now
19:07:01 <TrueBrain> its all that matters ;)
19:11:46 <Rubidium> the original argument was that you should know the number of seconds in a day by heart
19:11:57 *** andythenorth has joined #openttd
19:12:24 <TrueBrain> pretty sure the original argument was him being a dick, but .. who is counting :D
19:15:26 <andythenorth> I am hanging out in the pypy channel watching them get m1 support working
19:15:30 <andythenorth> there are....things
19:15:58 <TrueBrain> just wait till the m2
19:15:58 <TrueBrain> tssk
19:16:03 <TrueBrain> never support the first version
19:16:44 <frosch123> waiting for codespaces2 :p
19:16:52 <andythenorth> seems "sizeof(long long)" is not as expected on m1 in some cases
19:17:08 <andythenorth> adventures in architectures
19:17:50 <supermop_work> i am trying to mint an nft just for fun... and it is not particularly fun
19:17:52 <frosch123> yeah, int types are certainly one of the more terrible part of the C heritage
19:18:13 <frosch123> supermop_work: do we need nft support on bananas?
19:18:34 <supermop_work> nft.grf
19:19:17 <supermop_work> each RV in the grf is an nft
19:43:47 <supermop_work> ugh i think i'm going to give up on this
19:57:05 *** jottyfan has quit IRC (Quit: jottyfan)
20:11:52 *** jottyfan has joined #openttd
20:13:47 <DorpsGek> [OpenTTD/appstore-data] michicc commented on pull request #9: Add: Announcement for 2021 Steam Award nominations https://git.io/JMoKd
20:14:12 *** iSoSyS has joined #openttd
20:17:10 *** iSoSyS has quit IRC ()
20:54:15 <supermop_work> ok well i managed that after much wasted time when i should have been working
21:07:52 *** jottyfan has quit IRC (Quit: jottyfan)
21:10:17 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:14:14 *** jottyfan has joined #openttd
21:44:07 <supermop_work> i wonder how much i should try to sell this thing for
21:53:48 *** jottyfan has quit IRC (Quit: jottyfan)
22:06:42 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
22:09:31 *** andythenorth has quit IRC (Quit: andythenorth)
22:10:52 <michi_cc> Adventures in C++ (and probably compiler farm errors) incoming in 5 seconds :)
22:11:04 <DorpsGek> [OpenTTD/OpenTTD] michicc opened pull request #9725: Template DoCommand and friends https://git.io/JMoxK
22:17:15 <LordAro> oho
22:19:43 <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #9725: Template DoCommand and friends https://git.io/JMoxK
22:21:10 *** sla_ro|master has joined #openttd
22:21:13 <michi_cc> You might also call it 'if constexpr' takes over the world :p
22:26:18 <frosch123> "if constexpr" may be deprecated in favour of "if consteval" :p
22:31:13 <TrueBrain> Haha
22:31:19 <TrueBrain> Big meany
22:32:13 <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #9725: Template DoCommand and friends https://git.io/JMoxK
22:32:24 *** Wormnest has quit IRC (Quit: Leaving)
22:34:46 <michi_cc> Jokes aside, "if consteval" is something quite different to "if constexpr". "if constexpr" is basically just syntactic sugar to replace tons of SFINAE/std::enable_if helper struct specializations.
22:39:38 <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #9725: Template DoCommand and friends https://git.io/JMoxK
22:47:13 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
22:48:02 *** WormnestAndroid has joined #openttd
22:49:44 <frosch123> sometimes refactoring exposes how weird the old code was :p
22:50:14 <frosch123> i just spent 5 minutes looking why it is okay to drop the cmdmsg sometimes, since i did not notice docommand vs docommandp :p
22:50:42 <LordAro> goodness that's a PR and a half
22:51:14 <TrueBrain> You can return tuples in C++? Cool :D
22:51:38 <frosch123> you can even unpack them, though the syntax is super weird as usual :p
22:51:52 <LordAro> you can do auto [foo, bar, baz] = SomeFunction(); as of c++17, iirc
22:52:08 <LordAro> with the usual amount of footgun edgecases
22:52:10 <frosch123> exactly, super weird syntax :)
22:52:49 <frosch123> does gh have a "go to declaration" feature hidden somewhere?
22:53:16 <LordAro> not for C++
22:53:24 <LordAro> i think it can manage it for simple python
22:53:30 <LordAro> or ruby
22:53:52 <frosch123> i would like to skip the "mass change all usages" and get directly to "what's different" :p
22:56:32 <frosch123> never encountered FlaggedCommands before :)
22:56:48 <frosch123> the things you learn before they are deleted :p
23:04:00 <michi_cc> Okay, compilers are stupid in various ways. E.g. for whatever reason MSVC 2017 has no problem with the decltype in "std::array<decltype(&UnpackNetworkCommand<CMD_END, 0>), _callback_tuple_size>", but just dies on almost the same two lines done: "decltype(&SanitizeCmdStrings<CMD_END>) Sanitize;".
23:04:17 <michi_cc> Luckily working around this is easy, but still...
23:05:41 *** sla_ro|master has quit IRC ()
23:06:14 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #9725: Template DoCommand and friends https://git.io/JMKUk
23:08:00 *** frosch123 has quit IRC (Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn)
23:09:53 <LordAro> i like how it compiles nowhere except windows-latest :D
23:11:12 <DorpsGek> [OpenTTD/OpenTTD] michicc commented on pull request #9725: Template DoCommand and friends https://git.io/JMKUD
23:11:50 <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #9725: Template DoCommand and friends https://git.io/JMoxK
23:12:05 <michi_cc> Should compile for windows-2016 now, too, or at least it does on my PC.
23:31:33 <michi_cc> Okay, last try for today.
23:31:45 <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #9725: Template DoCommand and friends https://git.io/JMoxK
23:35:47 <glx> at least msys is consistent with linux
23:40:23 <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #9725: Template DoCommand and friends https://git.io/JMoxK
23:49:56 <DorpsGek> [OpenTTD/OpenTTD] michicc updated pull request #9725: Template DoCommand and friends https://git.io/JMoxK
23:56:10 *** virtualrandomnumber has joined #openttd
23:57:21 *** virtualrandomnumber has quit IRC (Remote host closed the connection)