⏴ go to previous day00:57:44 *** tokai has quit IRC (Quit: c('~' )o)01:16:13 <DorpsGek> [OpenTTD/OpenTTD] frosch123 opened pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/1130601:19:47 <peter1139> 217 files :D01:21:35 <frosch123> apparently there are about 1400 files in total01:21:45 <frosch123> so 1/7 affected01:32:04 <frosch123> ah, more stuff in the osx build01:32:16 <frosch123> will fix that tomorrow i guess01:32:20 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened issue #11307: [Bug]: Vehicle count underflow when putting the cart before the horse https://github.com/OpenTTD/OpenTTD/issues/1130702:09:11 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/11306#issuecomment-172236963102:13:24 *** Flygon has joined #openttd02:23:30 <DorpsGek> [OpenTTD/OpenTTD] github-code-scanning[bot] commented on pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/11306#pullrequestreview-163003152102:26:47 *** Wormnest_ has quit IRC (Quit: Leaving)02:44:54 *** D-HUND has joined #openttd02:48:27 *** debdog has quit IRC (Ping timeout: 480 seconds)03:04:00 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/11306#issuecomment-172237736904:55:13 <jfs> TallTylerviaGitHub: What does this look like on the other end of a network game? Same thing? And if then, could it possibly be a way to DoS a multiplayer server?04:56:49 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #11308: Codechange: introduce and use function to raise and dirty a set of widgets when they are lowered https://github.com/OpenTTD/OpenTTD/pull/1130805:06:11 *** keikoz has joined #openttd06:16:39 <andythenorth> so do we have a way to kill the coop pastebin? https://paste.openttdcoop.org/all?/all06:16:52 <andythenorth> don't click if you don't need to, it's got all kinds of crap in it06:18:25 <andythenorth> in fact, link removed, it's not what you want in your browser history06:20:32 <andythenorth> openttdcoop is becoming a liability, unmaintained services on an unmaintained host, still widely linked from a lot of our community06:30:57 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/11306#pullrequestreview-163004534306:48:49 <alfagamma7> I thought opentttdcoop has closed down06:51:54 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #11309: Add: [GitHub] also test if release builds without asserts are warning-free https://github.com/OpenTTD/OpenTTD/pull/1130906:52:02 <truebrain> let's see how that runs ..06:52:26 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #11309: Add: [GitHub] also test if release builds without asserts are warning-free https://github.com/OpenTTD/OpenTTD/pull/1130906:54:52 <andythenorth> woah this still exists? https://tinodidriksen.com/pisg/OFTC/openttd.html06:55:12 <truebrain> that is some stable bot there06:55:28 <truebrain> `Poor andythenorth, nobody likes him/her. He/She was attacked 27 times.`06:55:30 <truebrain> can confirm06:56:14 <andythenorth> `andythenorth spoke a total of 2171206 words!06:56:14 <andythenorth> andythenorth's faithful follower, TrueBrain, didn't speak so much: 1383028 words.`06:56:15 <andythenorth> lol06:56:43 <andythenorth> that's some assumptions there07:03:16 <andythenorth> anyway maybe planetbaker will see this ping07:03:26 *** Wolf01 has joined #openttd07:04:01 <andythenorth> Spike was another coop admin, but I don't know if discord Spike is the same person, likely not?07:10:51 <alfagamma7> I am going to call Andy "the" from now on07:11:22 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/11306#pullrequestreview-163004830907:40:20 <TinoDidriksen> I am not a bot.07:40:40 <_pruple> that's what they all say07:41:11 *** keikoz has quit IRC (Ping timeout: 480 seconds)07:56:32 *** keikoz has joined #openttd08:16:01 *** keikoz has quit IRC (Ping timeout: 480 seconds)08:49:40 <peter1139> > andythenorth wasn't very popular, getting kicked 14 times!08:49:49 <peter1139> Awww08:50:03 <alfagamma7> Mr "the"08:51:07 <peter1139> Clearly I need the bot owner to link me and my numbers...08:52:14 <alfagamma7> Peter on his way to contact diriksen08:54:43 <peter1139> Hmm, apparently I am not cycling with the groups this morning.09:01:40 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #11310: Fix #11230: Widget layout also failed for group-less vehicle list window. https://github.com/OpenTTD/OpenTTD/pull/1131009:02:10 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #11310: Fix #11230: Widget layout also failed for group-less vehicle list window. https://github.com/OpenTTD/OpenTTD/pull/11310#pullrequestreview-163005772109:20:32 *** ahyangyi has quit IRC (Quit: User went offline on Discord a while ago)09:42:47 <peter1139> Uh oh, I changed one thing in a header file... 357 files to compile :D10:03:28 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #11310: Fix #11230: Widget layout also failed for group-less vehicle list window. https://github.com/OpenTTD/OpenTTD/pull/1131010:18:17 *** keikoz has joined #openttd10:50:00 <peter1139> Hmm.11:24:49 <talltyler> jfs: This originally happened in a network game to a player. I was able to reproduce it myself as the host, and again in single player mode.11:37:21 <talltyler> So yes, it can irreversibly ruin companies.11:39:51 <talltyler> The server owner can delete the company though, and new companies start with 0 vehicles as they should11:54:06 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #11308: Codechange: introduce and use function to raise and dirty a set of widgets when they are lowered https://github.com/OpenTTD/OpenTTD/pull/11308#pullrequestreview-163007387512:00:38 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #10861: Codechange: Use correct invalid cargo constants. https://github.com/OpenTTD/OpenTTD/pull/10861#pullrequestreview-163007453712:28:36 <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened pull request #11311: Fix #11307: Incorrect GroupStatistics after selling leading wagon when this results in a countable consist https://github.com/OpenTTD/OpenTTD/pull/1131112:42:03 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler approved pull request #11311: Fix #11307: Incorrect GroupStatistics after selling leading wagon when this results in a countable consist https://github.com/OpenTTD/OpenTTD/pull/11311#pullrequestreview-163007815814:03:05 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #11308: Codechange: introduce and use function to raise and dirty a set of widgets when they are lowered https://github.com/OpenTTD/OpenTTD/pull/1130814:11:15 <_glx_> ok C4127 warning is stupid, it warns for all `Debug(<type>, 0, ...)` because theres a `(level) == 0` in the macro14:11:42 <_glx_> it also warns when bool template args are used14:12:13 <_glx_> and for `sizeof() == sizeof()`14:12:38 <_glx_> when types have the same size14:16:45 <_glx_> C4458 won't help either (we shadow almost every class member in class functions parameters)14:18:06 *** D-HUND is now known as debdog14:21:34 <peter1139> I think we should try to avoid that though, apart from constructor parameters.14:22:36 <_glx_> that's the main reason for mandatory `this->`14:27:39 <_glx_> oh I see why string.cpp triggers C4702 in places supposedly disabled via preprocessor, it's during strgen/settingsgen build as they don't use the same defines14:31:12 <_glx_> many other C4702 in templated math functions, of course some code is unreachable depending on template parameters14:32:38 <_glx_> an unreachable NOT_REACHED() in script object (there are returns or throw in all paths before it)14:35:55 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #11312: Codechange: replace WIDGET_LIST_END with more specific variants https://github.com/OpenTTD/OpenTTD/pull/1131214:41:34 <_glx_> C4706 seems nice but the 7 warnings are for code intentionaly written that way14:46:15 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11311: Fix #11307: Incorrect GroupStatistics after selling leading wagon when this results in a countable consist https://github.com/OpenTTD/OpenTTD/pull/11311#pullrequestreview-163009030414:47:17 <DorpsGek> [OpenTTD/OpenTTD] JGRennison commented on pull request #11311: Fix #11307: Incorrect GroupStatistics after selling leading wagon when this results in a countable consist https://github.com/OpenTTD/OpenTTD/pull/11311#pullrequestreview-163009041714:57:56 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #11312: Codechange: replace WIDGET_LIST_END with more specific variants https://github.com/OpenTTD/OpenTTD/pull/11312#pullrequestreview-163009149315:31:46 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #11312: Codechange: replace WIDGET_LIST_END with more specific variants https://github.com/OpenTTD/OpenTTD/pull/1131215:32:11 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #11312: Codechange: replace WIDGET_LIST_END with more specific variants https://github.com/OpenTTD/OpenTTD/pull/11312#pullrequestreview-163009494715:39:23 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)15:56:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #10861: Codechange: Use correct invalid cargo constants. https://github.com/OpenTTD/OpenTTD/pull/1086116:28:43 *** Wormnest has joined #openttd16:32:19 *** Smedles has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)16:32:36 *** Smedles has joined #openttd16:48:30 *** gelignite has joined #openttd17:09:57 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11312: Codechange: replace WIDGET_LIST_END with more specific variants https://github.com/OpenTTD/OpenTTD/pull/11312#issuecomment-172252167717:27:01 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #11312: Codechange: replace WIDGET_LIST_END with more specific variants https://github.com/OpenTTD/OpenTTD/pull/11312#issuecomment-172252503517:28:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #11312: Codechange: replace WIDGET_LIST_END with more specific variants https://github.com/OpenTTD/OpenTTD/pull/11312#pullrequestreview-163010615617:31:32 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #11313: Codechange: Cargo initialization changes. https://github.com/OpenTTD/OpenTTD/pull/1131317:38:46 <DorpsGek> [OpenTTD/OpenTTD] frosch123 approved pull request #11309: Add: [GitHub] also test if release builds without asserts are warning-free https://github.com/OpenTTD/OpenTTD/pull/11309#pullrequestreview-163010708917:39:48 <truebrain> when I merge that PR, everyone needs to rebase .. so merge now, or rebase, your choice 😄17:39:58 <frosch123> _glx_: https://github.com/OpenTTD/OpenTTD/blob/master/src/music/dmusic.cpp#L565 <- is there a difference between the parameter "buffer" and the global "_buffer"?17:41:21 <truebrain> (mostly looking at Rubidium here 😛 )17:42:41 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #11311: Fix #11307: Incorrect GroupStatistics after selling leading wagon when this results in a countable consist https://github.com/OpenTTD/OpenTTD/pull/1131117:42:44 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed issue #11307: [Bug]: Vehicle count underflow when putting the cart before the horse https://github.com/OpenTTD/OpenTTD/issues/1130717:44:23 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #11312: Codechange: replace WIDGET_LIST_END with more specific variants https://github.com/OpenTTD/OpenTTD/pull/1131217:46:04 <Rubidium> truebrain: you've got my blessing to go ahead :D17:46:18 <truebrain> you don't want to press merge? Hmm, odd17:46:19 <_glx_> frosch123: I'll have to check how the function is called17:47:59 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #11309: Add: [GitHub] also test if release builds without asserts are warning-free https://github.com/OpenTTD/OpenTTD/pull/1130918:04:55 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/1130618:16:38 <DorpsGek> [OpenTTD/team] swxtz opened issue #447: [pt_BR] Translator access request https://github.com/OpenTTD/team/issues/44718:19:48 <DorpsGek> [OpenTTD/team] swxtz opened issue #448: [pt_BR] Translator access request https://github.com/OpenTTD/team/issues/44818:25:42 <andythenorth> frosch123: do you have any openttdcoop ssh any more ?18:25:49 <andythenorth> we ought to kill the paste bin18:25:58 <DorpsGek> [OpenTTD/team] frosch123 commented on issue #448: [pt_BR] Translator access request https://github.com/OpenTTD/team/issues/44818:26:04 <andythenorth> not going to link it, because it's full of definitely no-question illegal stuff18:26:29 <frosch123> andythenorth: no18:26:56 <frosch123> it's possible my public key is still there, but i do not know the server names to loging, since the last server switch 5 (?) years ago18:27:43 <andythenorth> do we know who hosts it? If @planetmaker doesn't turn up, and nobody else can think of a coop contact, I might tell the hosting company what it's being used for and see if they'll pull it18:28:06 <frosch123> it's all planetbaker18:28:14 <truebrain> he was typing this morning, so I guess he did read your message 🙂18:28:27 <andythenorth> ok cool18:30:19 <frosch123> still did not catch all warnings for all platforms 🙂18:30:34 <frosch123> but most warnings are independent of assertions18:46:44 <truebrain> owh, only 53 left18:46:46 <truebrain> that is not bad18:49:36 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/1130618:50:04 <frosch123> _glx_: looks like it's only called with buffer==_buffer, so i switched to using the parameter instead of the global18:50:48 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #11313: Codechange: Cargo initialization changes. https://github.com/OpenTTD/OpenTTD/pull/1131318:56:01 <_glx_> frosch123: yeah most likely missed in <https://github.com/OpenTTD/OpenTTD/commit/255549250f49522331b34ca693fb09c9d1807ac7>18:57:39 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #11313: Codechange: Cargo initialization changes. https://github.com/OpenTTD/OpenTTD/pull/11313#pullrequestreview-163011452118:59:57 <frosch123> the parameter, which has been unused the longest, was used for the setting allowing/disallowing joining rail stations with different x/y rotations 🙂19:01:39 <andythenorth> anyone fancy approving this? I can make a test grf if needed, but eh https://github.com/OpenTTD/OpenTTD/pull/1125319:02:44 <frosch123> aw, missed an sdl1 wanring19:18:28 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/11306#issuecomment-172254667519:18:57 <_glx_> picking only the warnings we want19:20:51 <frosch123> i'll include that in the next push19:21:14 <peter1139> Is there... no cargo type property for aircraft?19:21:49 <frosch123> maybe of the W4 warnings looked like they would result in compilers fighting: some reporting things as "may not be initialised" and others as "assigned value unused"19:22:07 <frosch123> peter1139: correct19:22:13 <frosch123> it's always the first refittable19:23:01 <frosch123> at some point i changed "first" to "first in cargo translation table" instead of "first in global ids"19:23:35 <peter1139> *nod*19:24:19 <peter1139> Houses have 3 ways to set cargo type it seems :D19:24:34 <frosch123> but 2 of them only support 32 cargos, right?19:25:16 <frosch123> (first 32 from ctt)19:26:32 <peter1139> No, first one is by setting goods/candy/food/fizzy acceptance quantity, which automatically sets the cargo type depending on the landscape.19:26:56 <peter1139> Second is the old property that only supported 3 cargo types.19:27:06 <peter1139> 3 cargo slots, sorry.19:27:45 <frosch123> ah yes, the limit was only with the callbacks19:28:00 <peter1139> Third is the same but allows up to 16 slots, but it's variable.19:28:44 <peter1139> In andythenorth-speak, that means Aircraft and Houses are unbalanced, I think.19:34:08 <peter1139> Hmm, now to tidy up this translation.19:35:08 *** gelignite has quit IRC (Quit: Stay safe!)19:35:21 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/1130619:38:11 <andythenorth> what is 'balanced'19:38:28 <peter1139> Not road stops apparently.19:38:48 <andythenorth> we shall see19:39:09 <andythenorth> grf roadstoptypevariants19:46:55 <peter1139> Right, now I need to remember which NewGRFs were those that fiddled with cargo slot order...19:48:21 <frosch123> they what?19:53:20 <peter1139> Urgh, this is annoying, game crashes and does not release/reveal the mouse cursor ... so I can't use a debugger.20:13:06 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/1130620:13:29 <frosch123> let's hope that's the last iteration...20:22:33 <DorpsGek> [OpenTTD/wiki-data] MikZyth opened pull request #28: Updated startup screen. https://github.com/OpenTTD/wiki-data/pull/2820:26:05 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #11313: Codechange: Cargo initialization changes. https://github.com/OpenTTD/OpenTTD/pull/1131320:27:06 <DorpsGek> [OpenTTD/wiki-data] TrueBrain commented on pull request #28: Updated startup screen. https://github.com/OpenTTD/wiki-data/pull/28#issuecomment-172256117520:27:09 <DorpsGek> [OpenTTD/wiki-data] TrueBrain closed pull request #28: Updated startup screen. https://github.com/OpenTTD/wiki-data/pull/2820:27:21 <truebrain> Sigh.20:29:29 <peter1139> So weird.20:40:53 <peter1139> andythenorth, cargo label 'WIND', produced by a Wind Factory that accepts 'PEAS' or 'CRRY'.20:41:04 <andythenorth> lol20:41:08 <andythenorth> did I do that?20:41:21 <andythenorth> BEAN20:41:30 <andythenorth> HNZ_20:53:25 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)20:55:18 *** keikoz has quit IRC (Ping timeout: 480 seconds)20:59:25 <peter1139> lldb) fr 120:59:26 <peter1139> invalid command 'frame 1'.20:59:28 <peter1139> Uh...21:04:55 <andythenorth> naptime?21:08:40 <peter1139> Okay. Working now, but some of the steps that were intermediate last time are now all at once :/21:09:38 <peter1139> Also it's a bit more verbose now -- using a function to 'translate' instead of directly looking into an array.21:10:17 <peter1139> They're still intermediate commits currently but the game crashes :D21:16:16 <DorpsGek> [OpenTTD/OpenTTD] github-code-scanning[bot] commented on pull request #11306: Enable more warnings and fix them https://github.com/OpenTTD/OpenTTD/pull/11306#pullrequestreview-163012769621:42:14 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)22:42:09 <peter1139> Hmm, not sure..continue to next day ⏵