Times are UTC Toggle Colours
00:00:24 <SimYouLater> I'm not sure how to use "-I." 00:01:25 <SimYouLater> bash: -I.: command not found 00:01:41 <LordAro> edit the make.bat script 00:02:02 <LordAro> it's a flag for gcc so it knows where to look for files 00:02:20 <SimYouLater> I did. I tried removing the "src/" and it gave me https://paste.openttdcoop.org/p8eyuxrss 00:02:35 <SimYouLater> I changed it back. What do you need me to do? 00:04:59 <SimYouLater> Oh. I see. Misread that. 00:05:28 <SimYouLater> It worked. Now I just need to figure out why nmlc isn't being found? 00:06:05 <SimYouLater> https://paste.openttdcoop.org/p5g9lvyre 00:06:24 <LordAro> right, this needs your PATH variable amending 00:06:32 <LordAro> possibly 00:07:00 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 opened issue #7434: Assertion failure "Expression: cannot seek value-initialized vector iterator" https://git.io/fjTo7 00:07:01 <LordAro> alternatively, for a short term hack, is the nmlc executable nearby? 00:07:42 <glx> just another vector issue ;) 00:07:48 <SimYouLater> Let's do it the long way. 00:08:35 <peter1138> I mean, there's no such error for me, but... 00:08:53 <glx> I'm using debug build 00:08:55 <SimYouLater> I can't seem to find nmlc in spite of being able to compile my Iron Horse addon. 00:09:04 <peter1138> Me too, but not an MSVC debug build. 00:09:14 <LordAro> right, purely for checking that it works at all, we can run: "export PATH=/c/path/where/my/nmlc/is/installed:$PATH" 00:09:18 <LordAro> then rerun 00:09:20 <glx> it's an MSVC assert 00:09:28 <glx> in <vector> 00:09:39 <peter1138> Yup. 00:10:09 <SimYouLater> bash: xport: command not found 00:10:41 <LordAro> SimYouLater: accuracy and precision is an important part of programming and development 00:10:50 <LordAro> computers are not good at guessing what you want 00:11:04 <SimYouLater> I know, I'm just not a very good programmer. 00:11:22 <LordAro> so look at what i told you to run, and then look at the error message 00:12:08 <SimYouLater> 'export' is not recognized as an internal or external command, operable program or batch file. 00:12:17 <SimYouLater> I do not know what MSVC is 00:12:34 <LordAro> SimYouLater: also, learning when to google 00:12:42 <LordAro> but export being missing is.. unexpected 00:12:55 <LordAro> oh... you put that in the batch file, didn't you? 00:13:04 <SimYouLater> Why do I need Visual C?! 00:13:05 <LordAro> run this in the msys terminal, not in the file 00:13:16 <LordAro> SimYouLater: you don't, there are 2 separate conversations happening here 00:13:25 <SimYouLater> Oh. 00:13:46 <glx> sometimes there are more than 2 conversations ;) 00:13:56 <SimYouLater> Fair enough. 00:14:44 <glx> and often a monologue ;) 00:14:53 * LordAro sleeptime 00:15:50 <Eddi|zuHause> do we want to make a picture-for-picture interpretation of https://www.youtube.com/embed/NeQM1c-XCDc ? 00:16:27 <glx> ok I need to switch to a pre vector branch to download some newgrfs 00:16:43 <SimYouLater> LordAro: So, if export is missing, what now? 00:16:53 <Eddi|zuHause> glx: you mean like 1.9.0? 00:16:58 <glx> yes 00:17:47 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on issue #7434: Assertion failure "Expression: cannot seek value-initialized vector iterator" https://git.io/fjTob 00:17:53 <LordAro> SimYouLater: i already told you, read again 00:18:56 <SimYouLater> I am blind for some reason. Please tell me again. God, I HATE IRC. 00:19:53 <glx> you are not doing it in mingw window 00:20:53 <Eddi|zuHause> SimYouLater: in a cmd window, type "bash" 00:21:13 <LordAro> SimYouLater: nah, i'm asleep now 00:21:17 <glx> don't drag him to WSL 00:21:28 <SimYouLater> 'bash' is not recognized as an internal or external command, operable program or batch file. 00:21:38 <glx> LordAro: I'll try your solution 00:21:58 <Eddi|zuHause> SimYouLater: well, then you must start a mingw window, not a cmd window 00:22:06 <LordAro> i like how you managed to use "mingw", a word i've not used at all so far 00:22:13 <LordAro> and also try to use WSL 00:22:15 <LordAro> in 2 lines 00:22:18 <LordAro> gj. 00:22:26 * LordAro really actually sleep now 00:22:46 <Eddi|zuHause> well... mingw, msys, these words are interchangable for me 00:22:53 <SimYouLater> For **** sake, I tried it in cmd and mingw! 00:23:00 <SimYouLater> *msys 00:23:17 <glx> export definitely should work in msys window 00:24:32 <SimYouLater> Export literally diid nothing visible in msys 00:24:48 <SimYouLater> Even though I changed the directory with cd 00:25:08 <Eddi|zuHause> but it didn't complain... 00:25:13 <Eddi|zuHause> that means it "works" 00:25:35 *** Supercheese has quit IRC 00:25:37 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7434: Assertion failure "Expression: cannot seek value-initialized vector iterator" https://git.io/fjTop 00:26:50 <SimYouLater> Alright, it looks like I accidentally found RANDOM_LC_YEAR 00:26:52 <SimYouLater> RANDOM_INTRODUCTION_YEAR(switchname, param_modern_lc_year, old_group, modern_group) 00:27:01 <SimYouLater> What do I do with the above? 00:27:10 <SimYouLater> Because I am done with MSYS2 00:28:06 <Eddi|zuHause> i don't think you can be helped at this point 00:28:42 <Eddi|zuHause> because there's gonna be 20 other things where that came from 00:29:16 *** tokai|noir has joined #openttd 00:29:16 *** ChanServ sets mode: +v tokai|noir 00:30:43 <SimYouLater> Then stop acting like it's ****ing easy to read thin text on a white background when I'm used to using Discord, which is so much easier to read. 00:31:12 <glx> discord uses IRC internally ;) 00:31:26 <Eddi|zuHause> any sane IRC client will allow you to change font size and colour scheme 00:31:29 <SimYouLater> Then why can't this IRC be a discord channel? 00:31:50 <SimYouLater> I don't have an IRC client. 00:32:01 <SimYouLater> I'm using the website. 00:32:27 <Eddi|zuHause> you're in luck, there's like 2 dozen IRC clients 00:33:02 *** SimYouLater has quit IRC 00:34:10 <Samu> finished! 00:34:24 <Samu> all airport types on all tiles test passed! 00:36:11 *** tokai has quit IRC 00:38:26 <Samu> it only took me... 8 hours 10 minutes 00:40:58 <Samu> now i wanna test that cargo production thing 00:41:04 <Samu> around 00:43:00 <Samu> oh it's already mixed in master 00:43:02 <Samu> cool 00:46:05 <Samu> glx, git pr-clean 7429 00:46:06 <Samu> ? 00:46:11 <Samu> to remove it? 00:46:23 <Samu> where do I have to be? inside it or in master? 00:46:26 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on issue #7433: AI Airports: the "out of range" indexes are marked as available, and can even be built. https://git.io/fjTKJ 00:46:42 <glx> pr-clean without any arg 00:46:59 <glx> and from outside any pr branch 00:47:57 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick commented on issue #7433: AI Airports: the "out of range" indexes are marked as available, and can even be built. https://git.io/fjTKU 00:50:11 <Samu> it deleted pr/3 too, I dunno where that one came from 00:50:37 <glx> a PR on your fork 00:51:27 <Samu> my fork? 00:51:37 <Samu> I don't PR there 00:52:06 <glx> https://github.com/SamuXarick/OpenTTD/pull/3 00:52:09 <glx> this one 00:52:41 <Samu> oh, interesting that was peter1138's fault then 00:53:08 <Samu> it was rejected by truebrain 00:53:18 <Samu> so.. uhm what to do? 00:53:42 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on issue #7433: AI Airports: the "out of range" indexes are marked as available, and can even be built. https://git.io/fjTKL 00:55:36 <Samu> what the heck gitgub-desktop-petern 00:56:02 <Samu> i have no idea somebody making a PR on my repository would create all this stuff here 00:57:17 <glx> you may have click on the "open this file in githhub desktop" button 00:58:42 <Samu> how do i make it go away? :( 00:59:02 *** Wormnest has joined #openttd 01:00:29 <Samu> github-desktop-petern is under remote 01:00:32 <Samu> remotes 01:00:38 <Samu> how do I delete it? 01:00:57 <glx> the PR won't disappear, it's on github 01:01:39 <glx> if you want to remove the remote you need to do it from CLI I think 01:01:41 *** Wormnest has quit IRC 01:02:57 <Samu> nevermind, this may actually be useful 01:03:13 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on issue #7434: Assertion failure "Expression: cannot seek value-initialized vector iterator" https://git.io/fjTKs 01:07:28 *** Flygon has joined #openttd 01:10:48 *** Flygon_ has joined #openttd 01:17:36 *** Flygon has quit IRC 01:28:14 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick commented on pull request #7424: Add: Kdtree for AirportGetNearestTown https://git.io/fjTK0 01:48:03 <Samu> with cargo production around patch(already in master) + 24, it went from 800 ms to 60 ms avg. AI is looking for a location to place an airport 01:48:14 <Samu> great gains 01:48:26 <Samu> will 7424 ever be merged? 02:01:12 *** Supercheese has joined #openttd 02:04:39 *** buttercup has left #openttd 02:05:47 *** Thedarkb-X40 has quit IRC 02:28:46 <Samu> ScriptTile::GetCargoProduction (8,40%) 02:29:07 <Samu> ScriptTile::GetCargoAcceptance (7,04%) 02:29:56 <Samu> ScriptAirport::GetNoiseLevelIncrease (9,92%) 02:30:33 <Samu> ScriptAirport::GetNearestTown(9,48%) 02:31:57 <Samu> ScriptList::RemoveItem (5,05%) 02:32:20 <Samu> ScriptList::AddItem (5,61%) 02:33:31 <Samu> @calc 8.4 + 7.04 + 9.92 + 9.48 + 5.05 + 5.61 02:33:32 <DorpsGek> Samu: 45.5 02:35:58 <Samu> GetNoiseLevelIncrease and GetNearestTown both call AirportGetNearestTown 02:37:29 <Samu> local noise = AIAirport.GetNoiseLevelIncrease(tile, a); 02:37:29 <Samu> local allowed_noise = AITown.GetAllowedNoise(AIAirport.GetNearestTown(tile, a)); 02:37:29 <Samu> if (noise > allowed_noise) continue; 02:49:18 <Samu> how about, instead of Get the noise that will be added to the nearest town if an airport was built at this tile, it was a bool that returns true or false 02:49:46 <Samu> english* 02:50:50 <Samu> maybe "IsNoiseLevelAllowed(tile, airport_type)" 02:51:23 <Samu> goal is to avoid repeating AirportGetNearestTown 02:59:15 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick commented on pull request #7427: Codechange: Use already-known distance between town and airport instead of recalculating it. https://git.io/fjT6z 02:59:29 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 opened pull request #7435: Fix #7433: don't use AirportSpec substitute if it's not set https://git.io/fjT6g 03:57:56 *** D-HUND has joined #openttd 04:01:17 *** debdog has quit IRC 04:01:21 *** glx has quit IRC 04:21:58 <Samu> I wish dark blue on the minimap was not invisible 04:22:16 <Samu> can't tell apart from water 04:39:17 <Samu> static const uint8 PC_WATER = 0xCA; ///< Dark blue palette colour for water. 04:39:35 <Samu> how to make water even darker? 04:39:47 <Samu> 0xCA is not dark enough 04:43:47 <Samu> https://newgrf-specs.tt-wiki.net/wiki/PalettesAndCoordinates#Palettes 04:43:49 <Samu> cool 04:43:57 <Samu> gonna try 0xC6 04:46:20 <Samu> great! 04:46:46 <Samu> perhaps a bit too dark now 04:47:10 <Samu> https://imgur.com/VCMpldW 04:49:48 *** Supercheese has quit IRC 04:50:10 *** Supercheese has joined #openttd 05:00:40 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick opened pull request #7436: Change: Dark Blue company and water were indistinguishable in small map. Make water darker. https://git.io/fjTiR 05:01:24 <Samu> probably a meh PR 05:01:29 <Samu> ok im off to bed, cyas 05:01:40 *** Samu has quit IRC 05:36:10 *** erratic has joined #openttd 06:47:44 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN opened pull request #7437: Fix #7434: Incorrect use of vector iterator. https://git.io/fjTP4 07:04:19 *** tycoondemon has joined #openttd 07:12:06 *** andythenorth has joined #openttd 07:12:28 <peter1138> Yes 07:19:28 <andythenorth> darker blue? 07:21:03 <peter1138> https://www.youtube.com/watch?v=0fC1qSxpmKo 07:28:41 <andythenorth> that too 08:00:12 *** Supercheese has quit IRC 08:14:19 *** gnu_jj_ has quit IRC 08:15:26 *** gnu_jj has joined #openttd 08:28:43 *** andythenorth has quit IRC 09:11:06 *** andythenorth has joined #openttd 09:19:51 <peter1138> wb 09:23:17 <andythenorth> did I leave? 09:23:23 <andythenorth> oh yes, life admin 09:28:08 <andythenorth> what cargo does an Engine Plant produce? 09:59:12 *** andythenorth has quit IRC 10:08:12 *** Samu has joined #openttd 10:08:28 <Samu> hi 10:08:49 *** Samu has quit IRC 10:09:40 <peter1138> Hmm. 10:11:33 *** Samu has joined #openttd 10:23:42 <DorpsGek_II> [OpenTTD/OpenTTD] eekee opened issue #7438: Music sets (including DOS music) broken after trying other music sets https://git.io/fjTMu 10:25:54 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7438: Music sets (including DOS music) broken after trying other music sets https://git.io/fjTMw 10:32:55 *** andythenorth has joined #openttd 10:33:13 <peter1138> wb 10:34:30 <Samu> hi 10:34:36 <Samu> it was a DNS error 10:35:03 *** Corns_ has joined #openttd 10:35:13 <Corns_> hello 10:35:37 <planetmaker> moin 10:35:52 <Corns_> q about the localisation strings: do English_AU.txt and English_US.txt fallback to using strings from English.txt? 10:36:26 <planetmaker> Corns_, yes. Every language falls back to english.txt 10:36:53 <planetmaker> however, despite that, it is very much recommended to fill-in every string, even when it is exactly identical 10:37:00 <Corns_> ah sweet, thank you :) i suspected but wasn't sure if it was intended. less work for me :) 10:37:00 <Corns_> oh 10:37:04 <Corns_> okay that's okay too 10:37:13 <planetmaker> just hit "copy" and commit. Done 10:37:31 <planetmaker> because it leaves an ugly "this translation is incomplete", if not filled-in :) 10:37:49 <Corns_> that's true, thanks :) 10:37:56 <planetmaker> and it also makes sure that the strings are actually reviewed to fit the translation 10:38:09 <planetmaker> in the English cases wrt spelling 10:38:13 <planetmaker> and some wording 10:38:24 <Corns_> oh yeah, with things like colour vs color 10:38:30 <planetmaker> ^^ 10:38:58 <planetmaker> and things like ... tram vs. trolley bus (?) 10:39:36 <Corns_> HAHAHAH idk, it's trams in australia 10:39:41 <Corns_> but yeah i get your point 10:39:50 <planetmaker> dunno, I'm not English speaker of any variety :P 10:39:56 <Corns_> wait really? 10:40:12 <planetmaker> really. 10:40:25 <Corns_> omg 10:40:31 <Corns_> i can't tell from across the screen :p 10:40:55 <planetmaker> that's the beauty of IRC. And... doesn't exactly matter :) 10:41:03 <Corns_> hahaha true 10:41:34 <planetmaker> (and if I were... I'd speak NZ English :P) 10:42:25 <planetmaker> I were || so short of emigrating there :) 10:55:55 *** Gustavo6046 has quit IRC 10:56:33 *** Gustavo6046 has joined #openttd 11:02:25 <planetmaker> please vote for a titlegame. There's not yet many votes and it's a tight race between savegames 11:02:44 <Samu> i vote 5 11:03:00 <planetmaker> or more titlegames, if you like. One or more 11:03:29 <Samu> where is the topic, i'll look at it 11:03:54 <planetmaker> https://devs.openttd.org/~planetmaker/titlegame/round1/ 11:06:09 <Samu> oh, i can has multiple choices 11:06:17 <planetmaker> yes 11:12:44 <Samu> hmm there is no topic in the forum about it? or I can't find it 11:12:56 <planetmaker> there is. I just posted 11:13:01 <planetmaker> therein 11:13:26 <planetmaker> so should be in the "new posts" section 11:13:32 <Samu> oh, there is TrueBrain's, but with a title like that, hard to notice 11:13:32 <planetmaker> https://www.tt-forums.net/viewtopic.php?f=29&t=84827 11:13:50 <planetmaker> it's not TBs... kamnet started it as I asked him 11:15:32 <Samu> well i voted 11:15:43 <Samu> first time I voted for such thing 11:15:47 <planetmaker> :) 11:15:49 *** Corns_ has quit IRC 11:17:01 <Samu> So 24. Mär 20:26:36 CET 2019, weird language? 11:17:51 <planetmaker> Eddi|zuHause, andythenorth TrueBrain orudge blathijs also still need to vote :P https://devs.openttd.org/~planetmaker/titlegame/round1/ 11:18:07 <planetmaker> well, such happens when you don't switch locale to English in commands 11:19:12 <Samu> eh, devs are allowed to vote? :( 11:19:34 <Samu> there are more devs than ppl voting these days, I suppose 11:19:40 <Samu> i dunno 11:22:25 <peter1138> planetmaker, yes we are. We didn't make the title games, so why not? 11:24:29 <planetmaker> indeed... why wouldn't we vote? It's not that I favour our votes... it's just a list of votes where each bears identical weight 11:24:37 <peter1138> er.. 11:24:45 <peter1138> Yeah that was meant to be directed to Samu! 11:24:52 <planetmaker> no worries 11:24:56 <planetmaker> I know 11:25:42 <planetmaker> also frosch and Alberth still need to vote... but I cannot highlight them currently. Will any? I'll be offline tonight 11:25:47 <planetmaker> *anyone 11:27:11 <planetmaker> Samu, and by all means: feel free to motivate whoever you think should vote, too! 11:27:26 <planetmaker> it's not like I can do really more than ask people the way I did 11:28:55 <Samu> st2! 11:29:08 <Samu> ST2, tell ppl to vote for title game 11:29:16 <Samu> in your servers stuff 11:32:53 <Samu> what would u say to a News Feed? 11:33:17 <Samu> in openttd itself 11:33:25 <Samu> to advertise this kind of stuff 11:34:55 <planetmaker> https://www.openttd.org/ <-- you mean like the top most posting there? 11:35:36 <Samu> oh, or that, have that "post" also posted in-game 11:36:03 <peter1138> Speaking of news, how's it going with Steam? 11:36:04 <planetmaker> he. interesting idea. Like... factorio 11:36:12 <planetmaker> not going currently ... 11:36:15 <peter1138> :( 11:36:19 <planetmaker> yeah :( 11:36:35 <planetmaker> I'm pondering whether to simply privately register it... I guess I shall do that 11:36:35 <peter1138> In-game updater? 11:36:41 <peter1138> Or that. 11:38:35 <peter1138> Heh, got a video on in the background, 59 ways of cooking eggs. 11:38:49 <peter1138> First method: Raw. In glass. As an "egg-shot" 11:39:02 <peter1138> Second method... same, but with Tabasco. 11:39:02 <planetmaker> hm 11:39:08 <planetmaker> he :P 11:39:13 <planetmaker> Maggi-ei 11:39:39 <planetmaker> simply boiled. with a bit of ... hm...maggi? 11:39:40 <peter1138> Third method: Same as second but with liquor 11:40:49 <planetmaker> hm... ingame news feed? 11:41:11 <planetmaker> special one-time content served to clients from our content server to be displayed upon start-up 11:41:13 <peter1138> In-game or in-title screen? 11:41:24 <planetmaker> title screen or before title screen. I guess 11:41:42 <peter1138> On the title screen. 11:42:00 <peter1138> Add a ticker underneath the menu window. 11:42:07 <peter1138> json? 11:42:11 <planetmaker> could probably be text-only. ^^ like that or so. Maybe 11:42:12 <peter1138> URLs? 11:42:19 <planetmaker> would be good. We support URLs 11:42:22 <peter1138> Text with links. 11:42:26 <peter1138> No images, obvs 11:43:01 <planetmaker> we'd need to store something like a unique-ID of the content and only display it once. Or it'd be annoying, I think 11:43:07 <planetmaker> and it'd need an expiry date 11:43:27 <peter1138> Hmm? 11:43:34 <Samu> "Recent News: blabla " just below Exit button in main menu, I would say" 11:43:42 <peter1138> I don't think so, just make sure there's no many items on the news feed. 11:44:10 <peter1138> It'd be annoying if it was an institial window. 11:44:10 <planetmaker> Hm. So like always display that? 11:44:34 <peter1138> Yeah. Also, it should be threaded so the menu appears before it bothers doing any news feed fetch 11:44:36 <planetmaker> I meant like an annoucement "vote for titlegame" would not make sense beyond Monday 11:44:48 <Samu> or maybe below window title, above New Game 11:45:08 <planetmaker> but that could be done server-side, I guess 11:45:37 <planetmaker> below the existing title window or at its bottom would probably easiest to add. And least annoying to read 11:46:02 <peter1138> planetmaker, yes, we just remove it from the news feed. 11:46:15 <peter1138> News feed server-side would require extra stuff. 11:46:16 <peter1138> OR 11:46:24 <peter1138> have an expiry date in the feed so openttd can filter it. 11:46:32 <peter1138> If you do that, then the news feed can be static. 11:46:43 <peter1138> Which I think would please TB. 11:46:43 <planetmaker> the latter is what I thought-of initially 11:46:59 <planetmaker> theheh 11:47:05 <peter1138> yes, below main window, either just below, or near bottom. 11:49:37 <peter1138> I wonder what how much info the news feed needs 11:49:47 <peter1138> Could be just a title, expiry date, and a URL. 11:50:17 <peter1138> Although, expiry date would mean we need to get the current real date in openttd. Dunno if we have that anywhere. 12:13:50 <andythenorth> 'Vehicle Engines'? 12:13:55 <andythenorth> 'Vehicle Windows'? 12:13:56 * andythenorth wodners 12:13:59 <andythenorth> or wonders 12:19:27 <andythenorth> 16 cargos unpicks some prior assumptions :P 12:22:07 <peter1138> Hmm, nearly lunch time. 12:25:15 <DorpsGek_II> [OpenTTD/OpenTTD] eekee commented on issue #7347: Save overwrite confirmation doesn't respond to enter key https://git.io/fjTST 12:26:02 <andythenorth> peter1138: glad you said that 12:26:04 <andythenorth> I was about to ask 12:26:15 <DorpsGek_II> [OpenTTD/OpenTTD] James103 commented on pull request #7436: Change: Dark Blue company and water were indistinguishable in small map. Make water darker. https://git.io/fjTSL 12:28:43 <DorpsGek_II> [OpenTTD/OpenTTD] andythenorth commented on pull request #7436: Change: Dark Blue company and water were indistinguishable in small map. Make water darker. https://git.io/fjTSm 12:52:21 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on issue #7347: Save overwrite confirmation doesn't respond to enter key https://git.io/fjTSw 13:03:02 <Samu> James103, no comprendo 13:04:26 <Samu> how do I know if openttd is running in 32bpp? 13:06:49 <Samu> holy crap, ship movement in abase is terribad when doing 90 turns 13:07:08 <peter1138> The whole thing is bad. 13:09:08 <peter1138> Samu, unless you try really hard, OpenTTD is always in 32bpp these days. 13:11:10 <peter1138> If you have newgrf developer tools on, you can press ^B to enable bounding boxes. The aBase ships are nowhere near their bounding boxes. 13:13:47 <Samu> i don't know what James103 meant with those RGB values 13:14:17 <Samu> i zoomed 800% a screenshot, and I see no difference between dark blue and water 13:14:28 <Samu> is it my eyes? 13:14:39 <peter1138> Samu, he just posts random unnecessary stuff to the issues sometimes. 13:16:03 <Samu> if (t == MP_WATER) return MKCOLOUR_XXXX(PC_WATER); 13:16:31 <Samu> #define MKCOLOUR_XXXX(x) (MKCOLOUR(0x01010101) * (uint)(x)) 13:16:55 <Samu> static const uint8 PC_WATER = 0xCA; ///< Dark blue palette colour for water. 13:17:07 <Samu> who's a color math expert ? :p 13:19:05 <Samu> MKCOLOUR_XXXX(_legend_land_owners[_company_to_list_pos[o]].colour); 13:19:25 <Samu> so uhm... 13:19:28 <Samu> right 13:19:30 <Samu> no idea 13:20:10 <Samu> I'm assuming _legend_land_owners[_company_to_list_pos[o]].colour == PC_WATER 13:20:14 <Samu> if it's dark blue 13:24:32 <Samu> https://imgur.com/a/PVKPyfS 13:24:36 <Samu> [0] is Water 13:24:43 <Samu> [4] is Dark Blue company 13:24:50 <Samu> colour is 202 on both :( 13:24:57 <Samu> it's not my eyes 13:29:25 <Samu> about newgrf industries, uhm... I need newgrfs 13:31:10 <Samu> not sure how I'm testing that 13:31:33 <Samu> FIRS? 13:31:44 <Samu> do u know of industries that use dark blue? 13:34:38 <Samu> uh oh... cannot seek value-initialized vector iterator 13:34:50 <Samu> i was going to download FIRS :( 13:53:14 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #7347: Save overwrite confirmation doesn't respond to enter key https://git.io/fjTHf 14:00:28 <peter1138> Yeah I fixed that one. 14:00:33 <peter1138> Oh it's not merged yet. 14:02:20 <andythenorth> Samu: FIRS is not all newgrfs 14:02:21 <andythenorth> but http://bundles.openttdcoop.org/firs/releases/3.0.12/docs/html/code_reference.html#industries 14:03:58 <peter1138> Map colours listed, nice. 14:06:07 <andythenorth> we try :P 14:06:45 <andythenorth> also all the data is there in python, so eh, why not :P 14:08:36 *** supermop_work has joined #openttd 14:17:52 *** supermop_work_ has joined #openttd 14:20:06 *** supermop_work__ has joined #openttd 14:21:35 <Samu> @calc 0xca 14:21:35 <DorpsGek> Samu: 202 14:21:38 <Samu> @calc 0xc9 14:21:38 <DorpsGek> Samu: 201 14:23:19 <Eddi|zuHause> the blue thing always annoyed me. as i always play as dark blue 14:23:41 <Eddi|zuHause> not that i have much need to use the company view, but... 14:24:31 <andythenorth> the minimap has some usability issues :P 14:24:41 *** supermop_work has quit IRC 14:25:11 *** supermop_work has joined #openttd 14:26:03 *** supermop_work___ has joined #openttd 14:26:57 *** supermop_work_ has quit IRC 14:29:36 <Eddi|zuHause> andythenorth: your industries don't have any dark blue? 14:30:14 <andythenorth> seems not 14:30:41 *** supermop_work__ has quit IRC 14:33:12 *** supermop_work has quit IRC 14:36:22 *** Wormnest has joined #openttd 14:36:30 *** supermop_work has joined #openttd 14:40:50 *** supermop_work_ has joined #openttd 14:42:33 <Samu> _colour_gradient[0][5] = 202 14:42:41 <Samu> jackpot 14:43:06 <Samu> PC_WATER = 202 14:43:17 *** supermop_work___ has quit IRC 14:43:26 <Samu> _colour_gradient[PC_DARK_BLUE][5] = 202 14:43:58 <peter1138> So, er, what's the issue? Didn't you already fix it? 14:44:09 <Samu> just wondering what's better 14:44:21 <Samu> darker company colours or darker water 14:44:27 <Samu> darker or brighter 14:45:23 <peter1138> Don't think it matters, that it was not the same colour helped. 14:46:59 <Samu> btw it's not PC_DARK_BLUE 14:47:02 <Samu> it's 14:47:04 <Samu> COLOUR_DARK_BLUE 14:47:35 <Samu> _colour_gradient[COLOUR_DARK_BLUE][5] = 202 14:48:38 *** supermop_work has quit IRC 14:51:38 *** Jyggalag has quit IRC 14:54:02 *** erratic has quit IRC 14:56:54 <Samu> perhaps _colour_gradient[c->colour][4] 14:56:59 <Samu> isn't a bad idea 14:57:12 <Samu> and leave water the same 14:59:45 <Samu> [4] matches the intensity of window title background company colour 15:03:18 *** supermop_work has joined #openttd 15:05:12 *** supermop_work__ has joined #openttd 15:05:24 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick commented on pull request #7436: Change: Dark Blue company and water were indistinguishable in small map. Make water darker. https://git.io/fjTQd 15:08:22 <DorpsGek_II> [OpenTTD/OpenTTD] planetmaker commented on pull request #7436: Change: Dark Blue company and water were indistinguishable in small map. Make water darker. https://git.io/fjTQx 15:08:57 <planetmaker> Samu, I totally believe that the different blue is distinguishable 15:09:15 <Samu> that screenshot is with patch applied :) 15:09:47 <peter1138> Samu, always good to provide a before screenshot too :-) 15:10:02 <planetmaker> meh... ^^ or at least a description of what a screenshot shows 15:10:05 <planetmaker> how can I know? 15:10:07 <peter1138> Yeah. 15:10:12 <Samu> i see :8 15:10:38 <peter1138> Sometimes a couple of pictures explains a thousand words. 15:10:43 <peter1138> Like with #7426. 15:10:51 *** supermop_work_ has quit IRC 15:12:19 *** nielsm has joined #openttd 15:12:21 *** supermop_work has quit IRC 15:12:35 <Samu> uploaded 15:12:42 *** supermop_work has joined #openttd 15:13:12 <peter1138> Well damn, I can't make out company blue and water! :p 15:13:16 <peter1138> (I knew that anyway) 15:13:27 <peter1138> Actually I can't see shit now, got the sun in my eyes :( 15:13:44 *** Flygon_ has quit IRC 15:14:11 <andythenorth> there are specific kinds of inability to distinguish some blues and greens 15:15:28 <andythenorth> can't find the link for it 15:18:00 <supermop_work> https://en.wikipedia.org/wiki/Blue%E2%80%93green_distinction_in_language 15:18:01 <Samu> added another screenshot 15:18:08 <Samu> for the alternative 15:19:31 *** supermop_work__ has quit IRC 15:20:09 *** Sheogorath has joined #openttd 15:20:24 <andythenorth> supermop_work: bonus points for adding philosophy to Friday 15:20:53 <supermop_work> grue is a pretty interesting concept 15:21:00 <DorpsGek_II> [OpenTTD/OpenTTD] planetmaker approved pull request #7437: Fix #7434: Incorrect use of vector iterator. https://git.io/fjT7Z 15:21:30 *** HerzogDeXtEr has joined #openttd 15:21:43 <planetmaker> I don't think we want to change company colours 15:22:27 <planetmaker> well, maybe on the legend, yes... or we could change water colour in the legend 15:22:34 <planetmaker> which would be nicer for NewGRF authors 15:25:06 *** supermop_work_ has joined #openttd 15:25:55 <andythenorth> make it less 15:26:03 <andythenorth> purple! 15:26:17 <planetmaker> green. Algae-muddled 15:27:50 <DorpsGek_II> [OpenTTD/OpenTTD] planetmaker approved pull request #7427: Codechange: Use already-known distance between town and airport instead of recalculating it. https://git.io/fjT7i 15:30:15 *** supermop_work__ has joined #openttd 15:32:19 <andythenorth> RGB!! 15:32:36 *** supermop_work has quit IRC 15:36:03 <peter1138> The RGB UI is a bit mad now :/ 15:36:13 <peter1138> It went from ugly to overcooked. 15:36:29 <planetmaker> which... rgb? 15:36:48 <peter1138> My RGB company-colours patch. 15:36:52 <planetmaker> ah 15:37:22 <peter1138> I switch from 4 ugly RGB+C sliders to a hue/saturation/lightness slider, with visuals 15:37:41 <peter1138> It's an improvement, but doesn't really fit in to TTD-style. 15:37:52 *** supermop_work_ has quit IRC 15:37:53 <peter1138> And also I still haven't added to the SSE blitters... 15:38:52 <planetmaker> hm :) 15:39:50 *** supermop_work has joined #openttd 15:40:31 <peter1138> They didn't exist when I originally wrote it :) 15:41:57 *** Sheogorath has quit IRC 15:43:41 *** supermop_work__ has quit IRC 15:43:46 <TrueBrain> planetmaker: I will vote on all of them, okay? :D 15:46:36 *** Hobbyboy has quit IRC 15:47:11 *** Hobbyboy has joined #openttd 15:47:51 <andythenorth> what should an Engine Plant produce? 15:48:38 <nielsm> engine pollen 15:48:41 <Samu> noise 15:49:11 *** supermop_work_ has joined #openttd 15:50:27 *** supermop_work__ has joined #openttd 15:50:48 <SpComb> engine units to ship to the electric engine assembly plant 15:51:24 <SpComb> because electric engines are fundamentally just further processed versions of combustion engines 15:51:30 <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain closed pull request #7084: Change: AI/GS Config GUI overhaul https://git.io/fh2dV 15:51:31 <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #7084: Change: AI/GS Config GUI overhaul https://git.io/fjT5Z 15:51:34 <andythenorth> powertrain :P 15:52:33 <TrueBrain> peter1138: what are the odds backporting https://github.com/OpenTTD/OpenTTD/pull/7412 so close before release will bite us in the butt? Smart thing to do, or can we better leave it for 1.9.1? 15:53:17 <nielsm> I think it's safe 15:54:16 <nielsm> it's effectively only a display value 15:54:48 *** supermop_work___ has joined #openttd 15:54:53 <nielsm> well I suppose some newgrf industries could actually rely on the value in the logic 15:55:04 <nielsm> but that would be bad form 15:55:13 *** supermop_work has quit IRC 15:55:37 <TrueBrain> https://github.com/OpenTTD/OpenTTD/pull/6926 <- so .. do we want this? or don't we? The code for sure needs to be written better, as this is not readable .. but before I comment on that, more interested if we want this at all :D 15:56:14 *** supermop_work has joined #openttd 15:57:10 *** Sheogorath has joined #openttd 15:57:32 <TrueBrain> tnx nielsm, I will backport it this weekend :) 15:58:11 <TrueBrain> I wish I could add a "request vote" to a PR :) 15:58:16 *** supermop_work_ has quit IRC 15:58:32 *** supermop_work__ has quit IRC 15:59:30 <peter1138> TrueBrain, it kinda goes away with my multi-tile-docks / newgrf dock plans. 15:59:37 *** supermop_work_ has joined #openttd 15:59:41 <peter1138> 6926 that is. 16:01:09 <TrueBrain> do we dare to say it is better to prefer that over this PR? 16:01:14 <TrueBrain> code-quality-wise this PR is a big no-no 16:01:28 <TrueBrain> so either I ask for that to be fixed up, or we deprecated it in favor of your work? 16:01:32 <TrueBrain> (dare to make that guess :D) 16:02:48 <andythenorth> maybe Engine Plant makes Engines 16:02:53 *** supermop_work___ has quit IRC 16:03:11 *** Sheogorath has quit IRC 16:04:18 *** supermop_work has quit IRC 16:05:36 *** supermop_work has joined #openttd 16:05:45 <nielsm> I can reveal that building a dock in dos ttd with third tile half-raised or a buoy is not allowed either 16:06:01 <nielsm> (and aqueducts/canals/rivers did not exist in the original game) 16:06:54 <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain requested changes for pull request #6926: Change: Allow dock to be constructed in more locations https://git.io/fjT5X 16:06:58 <TrueBrain> I think it is the wrong solution for the wrong problem 16:07:08 <TrueBrain> sounds to me that it is about: can a ship enter the third tile from here 16:09:36 <andythenorth> I was pretty -1 to that 16:09:46 <andythenorth> I don't like these boil-the-ocean solutions 16:09:55 <andythenorth> but I don't want to hurt feelings 16:10:26 <peter1138> TrueBrain, http://fuzzle.org/~petern/ottd/docks15.png < I gotta fix that lock-tile though :p 16:10:26 <TrueBrain> I think if the solution is what I describe, it is a fine addition. Given my assumption is right that that is the intended behaviour :) 16:11:30 <peter1138> http://fuzzle.org/~petern/ottd/docks12.png < but this would be possible 16:11:39 <peter1138> http://fuzzle.org/~petern/ottd/docks13.png < and of course this 16:11:42 <nielsm> peter1138: I think it'd be better that docks explicitly specify allowed docking tiles 16:12:13 *** supermop_work_ has quit IRC 16:12:14 <peter1138> nielsm, they will but default docks are awkward. 16:12:16 <TrueBrain> so many draft PRs :P 16:15:55 *** Progman has joined #openttd 16:16:33 <andythenorth> stalebot 16:16:48 <TrueBrain> yup 16:16:50 <peter1138> I need these things to remind myself I did them, sometimes :p 16:17:04 <andythenorth> special stalebot rule for people we like? 16:17:14 <peter1138> My docks PR became more complex, it was nearly ready, now less so :p 16:17:23 <TrueBrain> I marked NRT as pinned 16:17:24 <andythenorth> I liked it 16:17:40 <peter1138> NRT is getting some loving tonight. 16:17:55 <peter1138> Scenario editor has some issues :p 16:18:21 <nielsm> https://github.com/OpenTTD/OpenTTD/pull/7353 <- is there actually any interest in this as a feature? 16:19:00 <peter1138> Sure 16:19:29 <peter1138> But you already mentioned things in the description that need to be done, so I kinda assumed you'd be doing them? :p 16:19:35 <TrueBrain> that is an awesome addition in my book nielsm 16:20:57 <Eddi|zuHause> <andythenorth> there are specific kinds of inability to distinguish some blues and greens <-- but that's why we have false-colour modes? 16:26:07 <Eddi|zuHause> nielsm: what goes into the usage rating? time spent waiting for full load? time spent travelling at not-full-speed? time spent travelling not-fully-loaded? 16:28:00 *** supermop_work_ has joined #openttd 16:28:18 *** Sheogorath has joined #openttd 16:28:52 <nielsm> Eddi|zuHause: potential capacity = distance traveled * capacity during travel + <percentage of max speed> * capacity * time spent waiting for turn to load 16:29:17 <nielsm> Eddi|zuHause: actual usage = distance delivered (manhattan) * cargo units delivered 16:30:46 <Eddi|zuHause> i'm not sure i quite follow 16:32:21 *** Sheogorath has quit IRC 16:35:08 *** supermop_work has quit IRC 16:35:25 <nielsm> https://0x0.st/zPi_.png 16:40:19 <nielsm> vehicle speed only matters for the "time spent idle" calculation, which currently only activates when the vehicle is waiting for full load without getting any cargo 16:40:36 *** supermop_work has joined #openttd 16:41:00 <nielsm> actually probably also time spent waiting for timetable departure 16:41:09 *** sla_ro|master has joined #openttd 16:41:47 <Samu> I thought 6926 was so simple :( 16:42:42 <Samu> gonna try a different way 16:42:49 * nielsm boots up the linux laptop 16:44:02 <Eddi|zuHause> so it'll penalize long load times, and long detours, but not waiting at red signals or general slowness? 16:44:31 <nielsm> not as it currently is no 16:44:49 <nielsm> but I want to include signal waiting times too 16:45:16 <Eddi|zuHause> signal waiting times would be included if you calulated time at not-max-speed 16:45:56 <peter1138> That assumes your trains can run at max-speed otherwise, no? 16:46:39 <planetmaker> also consider that tracks are potentially speed-limited by tracks and curvature 16:46:50 <planetmaker> (and signals ofc) 16:47:28 *** supermop_work_ has quit IRC 16:49:51 <Eddi|zuHause> maybe for bottleneck diagnosis you also want to view the individual factors reducing the efficiency 16:50:30 <Eddi|zuHause> like, sort the vehicle list for vehicles spending excessive time at loading 16:53:28 <_dp_> hm, apparently this is still a thing... https://github.com/OpenTTD/OpenTTD/issues/4804 16:53:36 <_dp_> should I comment there or open a new one? 16:53:50 <_dp_> afaict it wasn't rly fixed in r23031 16:55:16 <peter1138> Open a new one and reference the old. 16:55:22 <peter1138> Maybe? 16:57:07 <DorpsGek_II> [OpenTTD/OpenTTD] ldpl opened issue #7439: Server reports CRR_AUTOCLEAN instead of CRR_MANUAL to admin port https://git.io/fjTdK 16:58:49 *** supermop_work_ has joined #openttd 17:00:12 *** Sheogorath has joined #openttd 17:03:41 *** Sheogorath has quit IRC 17:06:11 *** supermop_work has quit IRC 17:06:57 <_dp_> can think of several bad ways to fix it and not a single good one 17:08:28 <_dp_> hmm, moving reason to p1 would be ok I guess 17:10:07 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick dismissed a review for pull request #6926: Change: Allow dock to be constructed in more locations https://git.io/fhQvL 17:10:08 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #6926: Change: Allow dock to be constructed in more locations https://git.io/fhnCx 17:10:28 <_dp_> that whole CMD_CLIENT_ID thing looks kinda questionable tho 17:12:22 <_dp_> why is there only a special validation for client id out of all things? 17:12:37 <_dp_> also != 0 isn't quite a proper validation either 17:16:41 *** SimYouLater has joined #openttd 17:17:30 <SimYouLater> Is anyone going to bite my head off if I try to explain track scales for a second time? A least this time I'm in a better frame of mind than I was in 2017. 17:19:06 *** Alberth has joined #openttd 17:19:06 *** ChanServ sets mode: +o Alberth 17:19:12 <Alberth> o/ 17:20:48 <Samu> oops 17:21:02 <Samu> i thought I had saved the file, apparently not 17:22:01 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #6926: Change: Allow dock to be constructed in more locations https://git.io/fhnCx 17:23:55 <Samu> so ships can't dock from mid-way into a bridge 17:24:05 <Samu> it would be funny if it could 17:24:30 <Samu> must be under the bridge 17:27:45 <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain requested changes for pull request #6926: Change: Allow dock to be constructed in more locations https://git.io/fjTFZ 17:32:21 *** Sheogorath has joined #openttd 17:32:44 *** supermop_work__ has joined #openttd 17:34:25 <SimYouLater> I'll repeat... Is anyone going to bite my head off if I try to explain track scales for a second time? A least this time I'm in a better frame of mind than I was in 2017. 17:34:34 <SimYouLater> https://www.tt-forums.net/viewtopic.php?f=26&t=77015 17:35:13 <Samu> what's wrong with the PR :( I simplified it 17:35:29 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7365: Fix: Fluidsynth should not try to lock sample data in memory https://git.io/fjTFl 17:35:47 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh updated pull request #7365: Fix: Fluidsynth should not try to lock sample data in memory https://git.io/fhhNw 17:36:15 <Samu> there was two ways to check for those tiles, but you were complaining about if/elses, so now I went the alternative way 17:36:37 <Samu> end result is still the same 17:37:27 <TrueBrain> Samu: I am not talking about the content; check your patch itself. Look at it. You forgot things. Other things are obviously incorrect 17:37:34 <TrueBrain> so I haven't even looked at what it does 17:37:43 <TrueBrain> pay more attention to your PRs 17:37:48 <TrueBrain> it is not just: write something and what-ever 17:39:34 <Samu> do you want me to fixup? 17:39:48 *** supermop_work_ has quit IRC 17:39:49 <TrueBrain> I want you to write more decent PRs 17:39:50 <Samu> rebase, then fixup the last commit 17:40:07 <TrueBrain> stop wasting our time with half-baked solutions and PR quality 17:40:13 <TrueBrain> I want you to learn from the things we are teaching you 17:40:21 <TrueBrain> we keep saying the same things over and over 17:40:26 <TrueBrain> learn from them; that is what I want from you 17:40:52 *** Sheogorath has quit IRC 17:41:11 *** supermop_work has joined #openttd 17:41:34 <SimYouLater> I asked a question. If you're not going to answer it, then tell me. 17:41:42 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick commented on pull request #6926: Change: Allow dock to be constructed in more locations https://git.io/fjTFE 17:42:06 *** glx has joined #openttd 17:42:06 *** ChanServ sets mode: +v glx 17:42:35 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN closed issue #7434: Assertion failure "Expression: cannot seek value-initialized vector iterator" https://git.io/fjTo7 17:42:36 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7437: Fix #7434: Incorrect use of vector iterator. https://git.io/fjTP4 17:43:09 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7427: Codechange: Use already-known distance between town and airport instead of recalculating it. https://git.io/fjTeL 17:44:18 <peter1138> #7429? #7431? :) 17:45:13 <TrueBrain> peter1138: "This may vary airport rotation" missed a word there? 17:45:38 <peter1138> Ooh, conflicts anyway :D 17:45:59 <SimYouLater> Please? I just want to know that I'm not incorrect to assume there are three standards for railtype widths and that a guide might be useful, because last time I tried to catalogue them, someone told me I was dense and should shut up. 17:46:09 <peter1138> TrueBrain, no, just badly worded. 17:46:12 <TrueBrain> meh; wish I could say something useful about those patches peter1138 :D No clue :) 17:46:51 *** supermop_work__ has quit IRC 17:46:57 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh updated pull request #7365: Fix: Fluidsynth should not try to lock sample data in memory https://git.io/fhhNw 17:47:04 <peter1138> SimYouLater, please be patient, people have other things to do as well. 17:47:10 <SimYouLater> np, sorry. 17:47:14 <andythenorth> SimYouLater: that is such a double negative 17:47:27 <SimYouLater> ? 17:47:39 <glx> when working on #7435 I noticed some issues with airport action 0 17:47:40 <peter1138> And... railtype widths? That sounds like a design decision. So not anything us developers really get involved with. 17:47:43 <SimYouLater> Oh, "not incorrect". 17:47:45 <andythenorth> you want somebody to tell you that nobody is telling you? 17:47:52 <andythenorth> not really how it works :P 17:47:58 <glx> https://github.com/OpenTTD/OpenTTD/blob/b6e3e30d86e66e84d52e94a9f91b9952ae699ab5/src/newgrf.cpp#L3821 the comment says industries 17:48:09 <SimYouLater> It is a design decision. It's not a standard you're required to follow, just an observation. 17:48:16 <peter1138> glx, :) 17:48:22 <glx> and more importantly https://github.com/OpenTTD/OpenTTD/blob/b6e3e30d86e66e84d52e94a9f91b9952ae699ab5/src/newgrf.cpp#L3829 17:48:30 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] closed pull request #7200: Change: Allow locks under bridges https://git.io/fhHiB 17:48:30 <SimYouLater> But last time, Leanden got angry at me. 17:48:36 <glx> prop 09 is not handled later 17:48:56 <SimYouLater> I don't want to even try unless I'm sure I don't sound like an idiot. 17:49:13 *** supermop_work has quit IRC 17:49:16 <glx> even the spec says "you first need to define it by setting property 8 or 9 for it." but doesn't tell any detail about prop 09 17:50:52 <nielsm> SimYouLater: IMO nobody should be calling anyone "idiot" or similar for trying to ask questions 17:51:08 <psilynt_> SimYouLater I'd say if you have to ask before doing it, you already shouldn't do it 17:51:33 <psilynt_> More of a personality thing than anything else 17:51:42 <peter1138> SimYouLater, also remember tt-forums isn't exactly OUR thing. obviously we post there, but we don't police it. 17:52:50 <SimYouLater> The only reason I'm asking is so that people don't try to bite my head off. Technically, I'm allowed to post it, but people got really ****y last time and a moderator had to tell them to be constructive. 17:52:53 <Samu> "by checking if a ship can enter the third tile from the direction the dock is in" - it doesn't need to do this. Docks have no foundations, just asking if there are water tracks in the 3rd tile is going to give the same results as it is described 17:53:29 <SimYouLater> Whatever, I'll post it and be clear what I'm trying to do this time. 17:53:33 *** SimYouLater has quit IRC 17:53:42 <psilynt_> SimYouLater, If you're that worried about what people think, then don't do it. I'm sure someone out there will eventually write a 16-page post about how they extracted a tapeworm through their nose and made their buggers into minecarts and people will be way more annoyed. 17:54:54 <psilynt_> Sort of depends on how much that tapeworm looked like a train. 17:54:54 <peter1138> SimYouLater: stop being so sensitive :p 17:54:58 <Samu> you can't build a dock if the rail is on the other side, on the water 17:55:04 <Samu> no foundations 17:55:13 <Samu> so the check it's doing now is sufficient 17:55:53 <Samu> I tested this on those other closed PR's 17:56:05 <Samu> if it worked there, there would be no reason not to work here too 17:56:20 <TrueBrain> in the huge risk of repeating myself (wait, I am repeating myself): 1) write these things in the PR. 2) I am not talking about the content of the patch. I am talking about the patch itself. It needs more attention. 17:57:09 <nielsm> as long as there is a chance peter1138's docking tiles patch (perhaps even newdocks) are going in, I think adding new special cases to dock placements is a pointless endavour since it's going to be obsoleted anyway and replaced with a better/more generic approach 17:57:37 <TrueBrain> nielsm: did you check the latest version? It removes special cases even ;) 17:57:52 <andythenorth> just ship docks 17:57:53 <andythenorth> and NRT 17:57:54 <TrueBrain> I am still +/- 0 btw :) 17:58:03 <andythenorth> is it home time? 17:58:12 <TrueBrain> I am just annoyed the quality of the PR is once again the debate ;) 17:58:14 <TrueBrain> andythenorth: it is 17:58:22 <nielsm> I'm worn out from looking at water patches 17:58:25 <andythenorth> I should go home soon then 17:58:35 <TrueBrain> nielsm: I fully understand :) 17:58:37 * andythenorth wonders about a dice roll 17:58:41 <peter1138> I should go... oh, I did. 17:58:41 <andythenorth> 'this patch was unlucky' 17:58:47 <TrueBrain> andythenorth: lol :) 17:58:58 <TrueBrain> peter1138: home office? :P 17:59:01 <peter1138> So should I eat this Cadbury's Creme^W Oreo Egg? 17:59:15 <peter1138> Nah, I rode home between 17:05 and 17:35 :D 17:59:22 <TrueBrain> I was so happy this week that in the UK the weather was as good as over here :) 17:59:30 <peter1138> Also, should I get fat this weekend? 17:59:36 <andythenorth> TrueBrain: where did you go this time? 17:59:49 <TrueBrain> sadly, I mostly go to the same place .. 17:59:55 <andythenorth> Leeds? 17:59:57 <TrueBrain> not in 2 months; then I am visiting a new place! 17:59:59 <TrueBrain> yeah 18:00:12 <TrueBrain> happens with corp offices around the world, I guess :P 18:00:17 <andythenorth> where next? 18:00:27 <TrueBrain> some shitty city I never heard of 18:00:40 <andythenorth> nice name 18:00:46 <andythenorth> I'll look it up 18:00:59 <TrueBrain> Milton something? 18:01:02 <TrueBrain> like I know these things 18:01:05 <TrueBrain> I always just end up there 18:01:06 *** rocky11384497 has quit IRC 18:01:14 *** supermop_work has joined #openttd 18:01:28 <peter1138> Milton Keynes? 18:01:29 *** rocky11384497 has joined #openttd 18:01:33 <TrueBrain> sounds about right 18:01:37 <peter1138> Okay 18:01:47 <peter1138> Let me know when, that's 30 minutes away from me. 18:01:59 <andythenorth> much roundabouts 18:02:00 *** m3henry has joined #openttd 18:02:01 <TrueBrain> somewhere early May 18:02:06 *** Wolf01 has joined #openttd 18:02:08 <andythenorth> shame it's not Swindon :P 18:02:09 <m3henry> o/ 18:02:13 <Wolf01> o/ 18:02:24 <TrueBrain> its funny; 30 minutes over here is like every place in the country you would want to visit :P 18:02:54 <supermop_work> here 30 minutes gets me back into manhattan from brooklyn 18:02:56 <TrueBrain> no offices near Swindon, sorry andythenorth :) 18:02:57 <supermop_work> on a good day 18:03:17 * andythenorth isn't in Swindon :P 18:03:24 <andythenorth> it would just be amusing 18:03:28 <TrueBrain> :P 18:03:55 <peter1138> Hmm, about 1h30-2h by bike, depending 18:04:11 <andythenorth> shall I buy this train? I don't usually like this sort of train, but something about it appeals https://www.ebay.co.uk/itm/BACHMANN-OO-GAUGE-31-997-LMS-10001-BR-GREEN-EGGSHELL-BLUE-WAISTBAND/223464736576?hash=item3407894740:g:ZZIAAOSwijdcnfgj&frcectupt=true 18:04:12 <TrueBrain> I keep asking if I can visit our offices in places like the US or Australia 18:04:15 <TrueBrain> they keep refusing :( 18:04:25 <andythenorth> you can visit my office in Australia :P 18:04:37 <TrueBrain> only if you pay the trip :P 18:04:38 <Samu> https://imgur.com/jHVvFru 18:04:44 <Samu> it works 18:05:14 <nielsm> it's not whether it's works 18:05:22 <nielsm> it's whether the code quality is good 18:05:23 *** supermop_work_ has joined #openttd 18:05:29 <nielsm> code quality is more than "does it work" 18:05:34 <nielsm> it's about maintainability 18:06:03 <TrueBrain> and not so much about the lines of actual code .. but all the non-code involved too 18:06:18 <TrueBrain> andythenorth: btw, I think I know a nice clean way to fix doc stuff 18:06:35 <TrueBrain> just have to check if something already exists, or that I requires writing something very simplictic 18:06:38 <TrueBrain> simplistic? 18:06:41 <TrueBrain> weird word 18:07:28 <peter1138> glx, hmm, is an airport without any layouts ever valid? 18:07:39 <andythenorth> TrueBrain: winner :) 18:07:50 <andythenorth> I am about to cycle home, you can make a pastebin of your plan while I cycle :) 18:08:12 <glx> peter1138: where ? 18:08:14 *** Sheogorath has joined #openttd 18:08:19 *** andythenorth has quit IRC 18:08:20 <Samu> multi-tile docks? 18:08:43 <Samu> but that's not a thing yet :( 18:09:02 <Samu> I'm not supposed to check for the tiles on the sides 18:09:06 <peter1138> glx, in #7429 i have a check for table >= num_table. I'm wondering if it should just be an assert, cos it should already be checked. But... 18:09:09 <TrueBrain> I have seen how people have to cycle in the UK ... I cannot imagine anyone survives the experience .. 18:09:52 *** supermop_work__ has joined #openttd 18:10:21 <Eddi|zuHause> one would wonder how people in the UK ever survive anything... 18:10:34 <peter1138> I have a few close-passes this afternoon. 18:10:38 <peter1138> Maybe I should review the video. 18:10:38 <TrueBrain> because you don't do anything because votes keep failing? :D 18:11:01 *** supermop_work has quit IRC 18:11:13 <Samu> is it the comment? 18:11:24 <peter1138> Hmm, where's my microSD adapter :s 18:12:03 <Samu> i'm gonna change the comment in the code, just in case it's that 18:13:28 *** supermop_work_ has quit IRC 18:14:54 <glx> it seems original layout table is duplicated in prop 08, so looks like an airport always have a layout 18:16:14 <Eddi|zuHause> <SimYouLater> Is anyone going to bite my head off if I try to explain track scales <-- i would rather not discuss scales. too many subjective opinions waiting to happen, no objective outcome expected. 18:16:36 <TrueBrain> to scale or not to scale, that is the question! 18:17:06 *** Sheogorath has quit IRC 18:17:25 *** supermop_work has joined #openttd 18:17:41 *** Sheogorath has joined #openttd 18:19:53 *** Supercheese has joined #openttd 18:21:15 <TrueBrain> that moment speed is shown to you in KB/s ... :( DOWNLOAD FASTER FFS 18:21:26 <Samu> /* Checks whether the third tile, the location where ships dock, has water tracks. */ 18:21:26 <Samu> if (GetTileShipTrackStatus(tile_cur) == TRACK_BIT_NONE) return_cmd_error(STR_ERROR_SITE_UNSUITABLE); 18:21:33 <Eddi|zuHause> uh, i spent like 10 years with that 18:21:47 <Samu> do I ommit the 4 cases ? 18:22:06 <Samu> in the comment 18:22:35 <TrueBrain> finally, up to 20 MB/s ... can go .. quicker ... 18:22:55 <Samu> I hate comments 18:23:44 <Samu> /* Ensure the location where ships dock has water tracks. */ 18:23:56 *** supermop_work__ has quit IRC 18:24:08 <peter1138> Oh... found it. 18:24:14 <peter1138> Right in front of me :/ 18:24:21 <TrueBrain> *Facepalm* :P 18:24:23 *** supermop_work_ has joined #openttd 18:24:24 <TrueBrain> it is weekend peter1138 :) 18:24:45 <peter1138> Well it was behind my keyboard, and I didn't expect to be there, but still. 18:24:50 <peter1138> My desk is messy :( 18:25:11 <TrueBrain> and I am hungry, but I shouldnt eat, as I am going to sport in a bit .. 18:26:12 <peter1138> And... I don't think the camera was on :p 18:26:19 <Eddi|zuHause> can't possibly be as messy as mine 18:26:28 <peter1138> In fact, nothing recorded for a week. wtf. 18:28:31 <TrueBrain> fail :D 18:28:51 <TrueBrain> camera out of fuel? :P 18:28:56 *** supermop_work has quit IRC 18:29:52 <Samu> ok, i made a rebase 18:29:58 <Samu> reword, fixup, fixup 18:29:59 *** Sheogorath has quit IRC 18:30:22 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #6926: Change: Allow dock to be constructed in more locations https://git.io/fhnCx 18:30:23 *** m3henry has quit IRC 18:30:42 *** supermop_work has joined #openttd 18:30:52 <Samu> removed the link to the forum 18:32:06 <Samu> I thought I had it removed previously 18:32:10 <Samu> :( 18:32:20 <Samu> now I understand why u so mad at me 18:32:53 <TrueBrain> not mad; disappointed :P 18:35:06 <Samu> that was a patch from 6 months ago :| 18:36:15 <Samu> 7424 conflicts? there was no conflits an hour ago :( 18:36:19 <Samu> t.t 18:36:32 *** supermop_work_ has quit IRC 18:38:08 *** andythenorth has joined #openttd 18:39:00 <Alberth> o/ 18:39:29 <andythenorth> yo 18:40:01 *** supermop_work_ has joined #openttd 18:40:34 <andythenorth> so TrueBrain...? 18:40:35 <andythenorth> :) 18:44:23 <TrueBrain> I don't work for you! :P 18:45:10 <peter1138> Hi? 18:45:33 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN updated pull request #7429: Codechange: Check airport layout would fit within map before iterating tiles. https://git.io/fjTtQ 18:45:36 *** supermop_work has quit IRC 18:45:58 <peter1138> Now with less conflicts, and that dodgy wording has been amended. 18:52:21 <andythenorth> TrueBrain 18:52:33 <andythenorth> do I have to dig up logs of you asking me to do stuff? :P 18:52:36 <andythenorth> oof 18:52:50 <TrueBrain> yes; please waste your time on that :D 18:52:51 <TrueBrain> <3 18:53:31 <Wolf01> :D 18:53:36 *** Sheogorath has joined #openttd 18:54:46 *** supermop_work has joined #openttd 18:55:50 <andythenorth> ouch burnt 18:56:35 <TrueBrain> andythenorth: I will write it out a bit more tomorrow, but very simplistic, I was thinking: 18:56:47 <TrueBrain> a place where you can sftp a tarball with docs and a file with meta data 18:56:59 <TrueBrain> contains at least: name and a category (stable, master, ..) 18:57:22 <TrueBrain> that place contains a small script, picks it up, puts it on the CDN, creates index files, lists everything needed, and keep retention based on category 18:57:33 <TrueBrain> and this is reachable by <name>.docs.openttd.org or something 18:57:39 <andythenorth> we can give it a cool name 18:57:47 <andythenorth> ArtefactsAren'tArtefacts 18:57:49 <andythenorth> or something 18:57:58 <TrueBrain> solves many usecases, like NoAI docs, but possibly it can also work for non-docs, like OpenTTD releases 18:58:14 <TrueBrain> as from what I remember, we just want a place that holds files for X time for us 18:58:20 <TrueBrain> and that needs to be indexed 18:58:22 <andythenorth> basically, coop bundles, but updated 18:58:28 <TrueBrain> coop bundles++ 18:58:44 <TrueBrain> if we do OpenTTD releases too, we need to be able to style index.htmls that do the listing 18:58:53 <TrueBrain> so we can put https://www.openttd.org/downloads/openttd-releases/testing.html on it 18:58:55 <andythenorth> \o/ 18:59:02 <andythenorth> much win 18:59:03 <TrueBrain> means we no longer have to rebuild the website every new release 18:59:10 <Alberth> in true 80s style with scrolling text 18:59:15 <TrueBrain> mostly I wonder if something like that doesn't already exists 18:59:26 <TrueBrain> as it is just an artifact store .. just with some special rules 18:59:34 <TrueBrain> but if not, it is really trivial to make 18:59:37 <andythenorth> weirdly, it's probably too simple to be a product 18:59:45 <TrueBrain> good thing is, you upload to an sftp .. we control that with private/public key or something 18:59:51 <TrueBrain> which uploads to CDN 18:59:57 <TrueBrain> means you don't have to care how that last part is done 19:00:08 <TrueBrain> anyway, off to do some sports 19:00:08 *** supermop_work_ has quit IRC 19:00:11 <andythenorth> ok cool :) 19:00:13 <andythenorth> thx 19:00:13 <TrueBrain> tomorrow we should check if this works for your requirements :) 19:00:29 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN approved pull request #7436: Change: Dark Blue company and water were indistinguishable in small map. Make water darker. https://git.io/fjTbc 19:00:37 *** gelignite has joined #openttd 19:00:46 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7436: Change: Dark Blue company and water were indistinguishable in small map. Make water darker. https://git.io/fjTiR 19:00:53 <peter1138> Reckless. 19:01:04 <TrueBrain> I feel a revert coming up :P 19:01:08 <peter1138> ;-( 19:01:10 <TrueBrain> owh, yeah, I have to run :P 19:01:22 <peter1138> dbg: [grf] NewGRF 'ECS. Agricultural vector 1.2 (12 Jan 2012) R685' provides incorrect information 19:01:26 <peter1138> oooo 19:01:43 <peter1138> Where was I? 19:02:11 <andythenorth> you were going to do NRT in SE 19:02:14 <andythenorth> then merge it all 19:02:30 <andythenorth> then docks 19:02:37 <andythenorth> then vehicle variants 19:02:41 <andythenorth> then we're fixing industry closure 19:02:45 <andythenorth> then we have a break 19:02:56 <andythenorth> feet up 19:02:57 <andythenorth> cup of tea 19:04:08 <peter1138> Ok. 19:04:34 * peter1138 pointlessly rebases nrt again. 19:05:29 <andythenorth> after we've had a break we can decide what to rek next 19:05:32 <andythenorth> nml2 19:05:37 <andythenorth> station cargo display 19:05:40 <andythenorth> pipemania 19:05:41 <Wolf01> Trees? 19:05:48 <andythenorth> trees 19:07:14 <Wolf01> I already see the stable release message: "you'll find NRT on tomorrow's nightly" 19:07:40 <DorpsGek_II> [OpenTTD/OpenTTD] SamuXarick updated pull request #7424: Add: Kdtree for AirportGetNearestTown https://git.io/fjU1d 19:09:57 *** supermop_work_ has joined #openttd 19:10:20 <peter1138> :p 19:11:00 <peter1138> Hmm, unavailable railtypes are hashed out 19:13:55 <peter1138> So I'll make roadtypes consistent. 19:16:03 <andythenorth> hmm Unsinkable Sam 19:16:07 <andythenorth> anyone tried it? 19:17:11 *** supermop_work__ has joined #openttd 19:17:14 <peter1138> What is it? 19:17:43 *** supermop_work has quit IRC 19:19:24 *** supermop_work has joined #openttd 19:21:54 <andythenorth> boats that don't suck 19:22:07 <andythenorth> http://bundles.openttdcoop.org/unsinkable-sam/push/LATEST/docs/html/ships.html 19:22:24 <andythenorth> there's an Alpha on Bananaramas 19:23:00 *** Sheogorath has quit IRC 19:23:00 *** Supercheese has quit IRC 19:23:14 *** supermop_work___ has joined #openttd 19:23:19 <Samu> https://github.com/OpenTTD/OpenTTD/pull/7427 it's not expensively calculated again :( 19:23:58 *** supermop_work_ has quit IRC 19:24:03 <peter1138> Relatively. 19:24:06 <Samu> you said that yesterday 19:24:30 <peter1138> Even so, what's the problem? 19:24:36 <Samu> it's how my AI uses it that is repeated 19:24:48 <Samu> and still is 19:24:53 <Samu> with that fix in 19:24:58 *** supermop_work_ has joined #openttd 19:25:03 <peter1138> Yes, but I'm not addressing your comment in a PR that's about something else. 19:25:13 <Samu> oh ;/ 19:25:19 <peter1138> You need to report it separately as an issue. 19:25:33 <peter1138> What you are talking about needs an API change, which was clearly OUT OF SCOPE of that PR. 19:26:11 <Samu> but it's so related 19:26:12 <peter1138> Testing 100+ tiles for distance wasn't that expensive, but it was needless. 19:26:13 <Samu> ok, then 19:26:35 <peter1138> It's not related, the PR was clearly defined. 19:26:48 *** supermop_work__ has quit IRC 19:27:12 <Samu> gonna try create that function 19:27:29 <peter1138> It's an API call, yes. 19:28:07 <peter1138> You'll need to start using AI compat 1.10 though :p 19:28:21 <peter1138> Hmm, maybe not. 19:29:19 <peter1138> Samu, can't you just try building the airport? 19:29:26 *** supermop_work has quit IRC 19:29:28 <peter1138> That'll let you know if the town will allow it or not. 19:29:47 <Samu> yes, but only if I have the money 19:30:04 <peter1138> If you don't have the money, why does it matter? 19:30:11 <Samu> planning mode stuff 19:30:25 <Samu> my AI doesn't really plan in such manner though 19:30:29 <peter1138> Besides, you can do a query instead of actually build. 19:31:16 *** supermop_work___ has quit IRC 19:31:49 <peter1138> Samu, maybe add a new function "GetNoiseLevelIncreaseForTown()" 19:32:06 <peter1138> Then you can call AIAiport.GetNearestTown() once, and pass that in. 19:34:41 <andythenorth> so what should the theme of FIRS Steeltown be? 19:35:02 <peter1138> Hmm, maybe not. 19:35:06 <peter1138> andythenorth, steel? 19:35:15 <andythenorth> probs 19:35:36 <peter1138> Hmm, which road types should be available in the scenario editor. 19:35:45 <andythenorth> ROAD 19:35:58 <Samu> non tram 19:35:58 <peter1138> :S 19:36:00 <supermop_work_> dirt 19:36:20 <peter1138> Does date matter? I think so. 19:36:29 <supermop_work_> sure 19:36:35 <peter1138> And should TRAM be available at all? 19:36:40 <peter1138> I'm thinking no. 19:36:45 <supermop_work_> any road that a town can build, SE can build 19:37:05 <peter1138> Ah, good point, I have the town build flag :-) 19:37:08 <supermop_work_> publically owned tramways? 19:37:30 <peter1138> Which is interestingly already set for some newgrfs, as if that was going to be something. 19:37:37 <supermop_work_> i set it in mine 19:37:41 <Wolf01> <Samu> non tram <- why not? 19:37:53 <andythenorth> where is Eddi|zuHause when I need him to point out my errors? :( 19:38:01 <peter1138> supermop_work_, when though? I only added the town-build flag a couple of months ago. 19:38:17 <Eddi|zuHause> i'd suggest making a setting: "allow player-built infrastructure in scenario editor" that includes trams, rails, ... 19:38:18 <Samu> town's can't build trams 19:38:26 <Wolf01> So? 19:38:29 <Eddi|zuHause> like, neutral airports! 19:38:33 <Samu> owner deity neither 19:38:39 <Samu> the GS dude 19:38:56 <supermop_work_> peter1138: i recall someone putting something like that in back in the last round of nrt activity 1-2 years ago 19:39:01 <Eddi|zuHause> i'm pretty sure we discussed a "town build flag" for years 19:39:09 <supermop_work_> Eddi|zuHause: yes 19:39:26 <peter1138> supermop_work_, yeah, that concerns me because there is nothing in the NRT code about town/road availability. 19:39:38 <peter1138> It makes me think the NRT that was given to me is out of date 19:39:46 <peter1138> OR it was unimplemented. 19:39:56 <peter1138> But I dunno where documentation would be. 19:39:57 <Eddi|zuHause> peter1138: just because it's not implemented doesn't mean it's not in the specs :p 19:40:04 <peter1138> There are no specs. 19:40:06 <andythenorth> Wolf01 might remember 19:40:08 <Eddi|zuHause> maybe someone DID have a vision for once :p 19:40:23 <andythenorth> the spec is https://wiki.openttd.org/Frosch/NotRoadTypes 19:40:30 <supermop_work_> peter1138: in this channel most likely, and yes Wolf01 was doing most of the work 19:40:56 <supermop_work_> idk if it was even implemented or just discussed 19:41:12 <peter1138> There's nothing in the code. 19:41:38 *** supermop_work has joined #openttd 19:43:58 <Eddi|zuHause> https://www.tt-forums.net/viewtopic.php?f=32&t=48500&p=878524 <- 2010 19:44:21 <andythenorth> Wolf01 pushed some extra branches to my old fork https://github.com/andythenorth/NotRoadTypes/branches 19:44:33 <andythenorth> afaik, they weren't production ready, so they weren't in the big PR 19:44:38 <peter1138> now you tell me 19:45:13 *** frosch123 has joined #openttd 19:45:59 *** Sheogorath has joined #openttd 19:46:12 <andythenorth> they were considered scope creep at the time 19:46:35 <peter1138> I had to implement something for towns, there was far too many TODOs 19:47:06 <peter1138> Jesus christ, all these merges :/ 19:47:12 <Wolf01> :P 19:47:32 <Samu> GetNoiseLevelIncreaseForTown(what goes here?) ? 19:48:02 *** supermop_work__ has joined #openttd 19:48:53 <Samu> isn't a bool saying yes or no a better approach? 19:48:58 *** supermop_work_ has quit IRC 19:49:36 *** Sheogorath has quit IRC 19:50:10 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7365: Fix: Fluidsynth should not try to lock sample data in memory https://git.io/fjTNT 19:51:26 <peter1138> Anyone for #7431? :p 19:55:47 *** supermop_work has quit IRC 19:57:13 <andythenorth> I can't review it :P 19:58:22 <andythenorth> https://github.com/OpenTTD/OpenTTD/pull/7431 19:58:22 *** supermop_work_ has joined #openttd 20:02:09 <peter1138> So 20:04:48 *** supermop_work__ has quit IRC 20:07:51 <Samu> i need 7429 merged for peace of mind :) 20:08:11 <Samu> dinner, afk 20:11:40 <andythenorth> that pan http://www.railpictures.net/photo/692375/ 20:11:58 <peter1138> Yeah, awaiting review. I updated it. 20:12:17 <peter1138> Hmm, why is the catenary so high? 20:13:24 <andythenorth> dunno, it's a mine railway 20:17:22 *** Sheogorath has joined #openttd 20:19:03 <Eddi|zuHause> hm... i'm not making progress with rebase... i need better automated bisection 20:21:12 <andythenorth> ouch 20:21:36 *** supermop_work has joined #openttd 20:23:03 <andythenorth> ouch 20:23:15 <andythenorth> if I remove an existing cargo from FIRS, will people whine? 20:27:32 *** supermop_work__ has joined #openttd 20:28:37 *** Sheogorath has quit IRC 20:29:07 *** supermop_work_ has quit IRC 20:29:27 *** supermop_work_ has joined #openttd 20:34:10 *** supermop_work___ has joined #openttd 20:34:17 *** supermop_work has quit IRC 20:35:43 <psilynt_> It would be nice if someone would make a realistic grain elevator. 20:35:50 <andythenorth> ? 20:36:04 *** supermop_work____ has joined #openttd 20:36:15 <psilynt_> Sorry, looking at the pictures of the train next to the (coal?) pile 20:36:33 *** supermop_work__ has quit IRC 20:36:59 <Eddi|zuHause> ISR has nothing for you? 20:37:09 <psilynt_> I dunno. Lemme look. 20:37:47 <psilynt_> OMG yes. It has normal looking elevators. 20:41:28 *** supermop_work_ has quit IRC 20:42:36 <psilynt_> The concrete one looks good. It's missing the huge pile of unsold and rotting soybean though. 20:43:18 *** supermop_work___ has quit IRC 20:46:17 <Eddi|zuHause> just relabel it, nobody will notice 20:47:26 <andythenorth> hmm 20:48:55 *** Alberth has left #openttd 20:53:03 *** Wormnest has quit IRC 20:54:32 <peter1138> Mmm, ruby chocolate 20:54:56 <peter1138> And somehow I'm only at 2000 carolies after dinner, cake and chocolate 20:55:16 <Eddi|zuHause> how could you survive on that?!? 20:56:04 *** supermop_work_ has joined #openttd 20:56:24 <peter1138> Err, what, the recommended daily amount? 20:56:29 <peter1138> Or just dinner, cake & chocolate? 21:00:15 *** supermop_work__ has joined #openttd 21:01:48 <andythenorth> Gu 21:02:01 *** supermop_work___ has joined #openttd 21:02:07 *** supermop_work____ has quit IRC 21:02:08 <TrueBrain> pfft, sport make me sleepy 21:02:10 <peter1138> Nah, I had Gu the other night. 21:02:20 <peter1138> That's about 5 million carolies per pot. 21:02:47 <nielsm> no proper meal for me today, don't feel like it... just some crispbread with cheese (aged havarti) 21:03:01 <Eddi|zuHause> yes, i meant the "recommended daily amount" 21:03:02 <peter1138> I had risotto with chicken and butternut squash. 21:03:25 <peter1138> Ah, well, I sit at a desk all day... 21:03:44 <Eddi|zuHause> brain activity eats plenty of corollas 21:03:50 <peter1138> (And had about 90 minutes of cycling today, but that's not much) 21:04:56 *** supermop_work has joined #openttd 21:06:33 <Eddi|zuHause> what were those numbers, a human body at rest uses 200W, and at heavy workout 300W? 21:07:33 *** supermop_work_ has quit IRC 21:07:39 <peter1138> Fitbit says my cycling today is about 1100 carolies but I don't believe that. 21:08:41 <peter1138> (Cos I maintain weight when eating less than that) 21:09:16 *** supermop_work__ has quit IRC 21:10:05 <Eddi|zuHause> hm, something isn't right there, 200W would mean 4000 calories per day 21:10:06 *** supermop_work___ has quit IRC 21:10:29 <Eddi|zuHause> so, more like 100W 21:11:24 *** supermop_work_ has joined #openttd 21:16:41 *** supermop_work has quit IRC 21:17:35 <andythenorth> hmm carolies 21:17:38 *** supermop_work__ has joined #openttd 21:17:39 <andythenorth> so tasty 21:18:23 <andythenorth> oh a PR :P https://github.com/andythenorth/OpenTTD/pull/1 21:20:17 <TrueBrain> MERGE MERGE MERGE MERGE 21:20:18 <TrueBrain> or something 21:20:53 <nielsm> https://www.youtube.com/watch?v=ByZNjtmS9gY that feeling when watching famous youtubers play and be bad at it :( 21:21:57 <peter1138> Don't merge. 21:22:03 <peter1138> Cos I've rebased :p 21:22:57 <andythenorth> I didn't merge 21:23:15 <peter1138> Can merge once this is done. 21:23:25 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN updated pull request #6811: Feature: Add NotRoadTypes (NRT) https://git.io/vhlfg 21:23:25 <peter1138> If it allows it :p 21:23:28 *** supermop_work_ has quit IRC 21:23:31 *** supermop_work_ has joined #openttd 21:23:36 <andythenorth> hmm 21:23:40 <Eddi|zuHause> can i go a step backwards in a bisect, if i've accidentally said the wrong bad/good? 21:23:41 <peter1138> Nope, that messes up the PR :p 21:23:58 <andythenorth> shall I start a YT channel of me playing OpenTTD? :P 21:24:08 <peter1138> Go for it. 21:24:13 <Eddi|zuHause> if you want to earn big youtube money? 21:24:17 <andythenorth> maybe I could join Yogscast 21:24:24 <andythenorth> they're just next door 21:25:42 <frosch123> as long as you do not start a yt channel playing tanks :) 21:26:41 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN updated pull request #6811: Feature: Add NotRoadTypes (NRT) https://git.io/vhlfg 21:27:37 *** Gustavo6046 has quit IRC 21:28:26 <andythenorth> so what should vehicle factory accept? :P 21:28:31 * andythenorth having brain ache about it 21:28:43 <peter1138> vehicle parts 21:29:53 <andythenorth> and vehicle bodies 21:29:54 <nielsm> motors, plate metal, something more 21:29:55 <andythenorth> and tyres 21:29:57 <frosch123> plastic, batteries, electronics, tires 21:29:58 *** supermop_work__ has quit IRC 21:30:03 <andythenorth> electric cars 21:31:36 *** supermop_work_ has quit IRC 21:32:26 *** Sheogorath has joined #openttd 21:39:40 <Samu> I found an inconsistency 21:39:45 <peter1138> Uh oh 21:40:10 <Samu> _settings_game.economy.station_noise_level 21:40:48 <Samu> if it's off, it checks closest town via ClosestTownFromTile 21:41:19 <Samu> if it's on, it checks clostest town via AirportGetNearestTown 21:41:33 <Samu> this is when building airport 21:42:21 <nielsm> is that for choosing which town to associate the station with for station sign and ratings purposes? 21:42:23 <nielsm> you mean? 21:42:38 <Samu> airport noise 21:42:45 <nielsm> (i.e. for the case where you aren't joining to an already existing station) 21:42:52 <nielsm> if that setting is off there is no airport noise 21:43:06 <peter1138> There's no airport noise but it still calculates it. 21:43:12 <Samu> CmdBuildAirport, station_cmd.cpp 21:43:16 <peter1138> But apparently it's inconsistent. 21:43:52 *** Sheogorath has quit IRC 21:45:13 <Samu> maybe it's fine.. must investigate better 21:45:56 <andythenorth> what's steel used for? 21:47:45 <nielsm> cutlery! 21:47:53 <Samu> I need to mimic the behaviour that is used by CmdBuildAirport for the script function I am trying to create 21:48:26 <peter1138> Ah, trains carrying cutlery :-) 21:49:09 <andythenorth> master cutler 21:49:15 <Samu> uhm, nop, it's inconsistent 21:49:18 <Samu> ScriptAirport::GetNearestTown 21:49:27 <Samu> always calls AirportGetNearestTown 21:49:41 <nielsm> 12/8 length flatcars with huge sporks 21:49:53 <andythenorth> hmm 21:50:07 <frosch123> itn't there a huge demand for train cars? 21:50:20 <nielsm> and rails 21:50:23 <andythenorth> also a constant problem in FIRS is that tertiary cargos just don't quite work 21:50:25 <nielsm> yeah that might make sense :P 21:51:01 <andythenorth> what are the problems with tertiary cargos...? 21:51:11 <andythenorth> cdist can't distribute them very well 21:51:28 <nielsm> make the company HQ accept steel rails, concrete (and/or wooden) sleepers, and railroad car parts 21:51:33 <andythenorth> FIRS has to provide industries to accept them in town, but many towns will lack the industry 21:51:52 <andythenorth> tertiary cargos seem kind of pointless, they have no town effect 21:52:06 <andythenorth> maybe we can fix this! 21:53:18 <nielsm> if town buildings had another field for building class it might be possible to have cargos define that they would usually be accepted by certain building classes 21:53:47 <peter1138> http://fuzzle.org/~petern/ottd/rgbcc1.png < that ui :/ 21:53:48 <nielsm> so town sets could define supermarkets, hardware stores, furniture stores, ets 21:54:13 <andythenorth> peter1138: thing of beauty 21:54:25 <nielsm> you seem to be scheming something lol 21:54:25 <andythenorth> nielsm: it's an idea 21:54:43 <peter1138> andythenorth, it's a lot easier to pick colour with that hue bar. 21:54:52 <andythenorth> what if newgrf could control town growth? 21:55:02 <peter1138> Er... 21:55:08 <peter1138> They can? 21:55:19 <nielsm> not really no 21:55:27 <andythenorth> I thought that was removed? 21:55:29 <nielsm> a cargo can define how it affects town growth 21:55:37 <nielsm> I'm pretty sure that's the only thing 21:55:42 <peter1138> Pretty sure TaI affects town growth. 21:56:08 *** gelignite has quit IRC 21:56:38 <nielsm> when are we getting vector station sign facility icons? 21:57:25 <andythenorth> can't see an VA2 for cargo delivered to towns https://newgrf-specs.tt-wiki.net/wiki/VariationalAction2/Towns 21:57:47 <andythenorth> https://wiki.openttd.org/Frosch/Town_Control 21:58:34 <_dp_> andythenorth, god no, it's probably the reason gs is not entirely useless 21:58:41 <nielsm> imo something like town growth should be controlled by GS, with newgrf at most providing hints the GS can access 21:58:48 <_dp_> andythenorth, controlling towns is pretty much the only thing it can do :p 21:59:13 <andythenorth> meh 21:59:18 <andythenorth> I have nothing 21:59:23 <andythenorth> I don't use GS for that 21:59:30 <andythenorth> GS is for goals 21:59:37 <andythenorth> not behaviour 21:59:37 <_dp_> andythenorth, and everything else it can't. coz newgrfs %) 21:59:55 <andythenorth> I should try to write a GS 21:59:59 <nielsm> a goal with no reward is pointless 22:00:00 <andythenorth> I pretty much failed last time though 22:00:13 <nielsm> the reward for a goal should be possible to be like "town grows faster" 22:00:27 <andythenorth> does a goal need a reward? 22:00:29 <_dp_> andythenorth, grfs are for sprites! not behaviour :p 22:00:42 <andythenorth> yeah right 22:00:45 <andythenorth> I forgot 22:00:54 <andythenorth> quick, delete all the industry newgrf spec 22:01:26 <andythenorth> I just can't make sense of 'to fix FIRS, I must now write a GS' 22:01:32 <andythenorth> how can I even force people to use it? 22:01:47 <andythenorth> can it be enforced as a dependency? 22:02:22 <nielsm> thematically, a GS should be able to implement a wide variety of goal-based scenarios where the story of the scenario progresses based on player actions, and the world changes/progresses to match the story 22:02:36 <andythenorth> kinda 22:02:46 <andythenorth> it can do that already 22:02:51 <andythenorth> just nobody wants to write those GS 22:03:18 <nielsm> how should an industry control for GS look? 22:03:23 <andythenorth> it shouldn't 22:03:25 *** rocky11384497 has quit IRC 22:03:32 <andythenorth> it's not the domain of GS 22:03:39 <nielsm> a GS that e.g. needs a way to have an industry change production level (or not change production level) 22:03:48 *** rocky11384497 has joined #openttd 22:04:04 <andythenorth> monkey patch the monthly and random prod. cb 22:04:18 <nielsm> "the improved living standards in barfingville leads to the coal mine prospering" 22:05:20 <andythenorth> I might just do that in newgrf 22:05:33 <andythenorth> I think that with 256 registers, I can now do it 22:06:38 <andythenorth> depends what I can measure in the town 22:07:05 *** Sheogorath has joined #openttd 22:07:29 <andythenorth> I am not -1 to GS, I use it in every game 22:07:52 <nielsm> well, can you measure that the player has successfully built a train station and four bus stops and is now transporting 300 passengers a month? 22:07:53 <nielsm> :) 22:08:04 <andythenorth> I can measure population 22:08:07 <andythenorth> over several months 22:08:28 <andythenorth> and I won't have to piss around with saveload code in GS 22:08:38 <Eddi|zuHause> industry can query the related town with PARENT? 22:08:43 <andythenorth> yes 22:08:45 <andythenorth> afaict 22:08:53 <andythenorth> 256 registers is quite a lot 22:09:50 <andythenorth> if the 80+ vars aren't lies, I can track pax and mail etc http://marcin.ttdpatch.net/sv1codec/TTD-locations.html#_TownArray 22:10:17 *** Sheogorath has quit IRC 22:10:33 <Eddi|zuHause> yeah, those exist, i've just seen that code 22:10:34 *** rocky11384497 has quit IRC 22:11:18 *** rocky11384497 has joined #openttd 22:11:18 <andythenorth> hmm this is a long way from 'uses for steel cargo' :) 22:12:28 <Eddi|zuHause> andythenorth: maybe that part could use a 40+ var for "fraction of GS goal achieved" or something like that 22:12:46 <peter1138> vector station sign facility? eh? 22:12:54 <peter1138> Oh you want a custom TTF? 22:13:32 <nielsm> peter1138 something like that yes 22:13:52 <nielsm> should totally add a way to put truetype outlines in GRF files tho 22:13:54 <peter1138> I'm not sure we have the ability to use a different font depending on glyph. 22:14:38 <andythenorth> svg? :P 22:14:56 <andythenorth> Eddi|zuHause: that's an interesting idea :) 22:15:03 <andythenorth> there was town permanent storage proposed 22:15:06 <nielsm> svg is a pretty bad idea 22:15:47 <Eddi|zuHause> ttf has probably a bit more data than svg? 22:15:51 <frosch123> juanjo had a svg patch 22:15:52 <andythenorth> the current fashion in web design is to declare font glyphs bad and svg good 22:16:04 <andythenorth> that rotates every few years, because fashion 22:16:21 <Eddi|zuHause> andythenorth: i don't think we move at that level :p 22:16:32 <andythenorth> well no 22:16:38 <Samu> testing this: https://paste.openttdcoop.org/pyujgn54c 22:16:40 <andythenorth> hmm 22:16:51 <DorpsGek_II> [OpenTTD/OpenTTD] buttercup5 opened issue #7440: Crash when trying to delete town in scenario editor https://git.io/fjTxv 22:16:51 *** Sheogorath has joined #openttd 22:16:55 <Samu> first half in openttd code 22:16:58 <andythenorth> it's really fun doing the primary -> secondary parts of an industry chain 22:17:09 <Samu> second half via an AI 22:19:10 <andythenorth> oof sleep 22:19:11 *** andythenorth has quit IRC 22:19:15 <Samu> perhaps i should apply my 7424 to speed up 22:19:21 <Eddi|zuHause> he falls asleep fast? 22:19:45 <Eddi|zuHause> whenever i say "i should sleep", it's a guarantee that i'm still here in 4 hours 22:19:52 *** rocky11384497 has quit IRC 22:20:55 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #7440: Crash when trying to delete town in scenario editor https://git.io/fjTxI 22:22:08 *** rocky11384497 has joined #openttd 22:23:41 *** sla_ro|master has quit IRC 22:23:44 <nielsm> gn 22:25:57 <psilynt_> Dumb newb question - is there a way to lower the amount of money received for everything by a set percentage? 22:27:00 <_dp_> psilynt_, no, but you can increase prices with basecost newgrf 22:29:43 <Samu> so it begins... https://imgur.com/JSjYMQR 22:31:18 *** rocky11384497 has quit IRC 22:31:41 *** rocky11384497 has joined #openttd 22:31:46 *** nielsm has quit IRC 22:32:28 <Samu> ops wrong starting year, restarted in 2003 22:34:28 <peter1138> What's this, your new low-CPU API call? 22:34:57 <Samu> just asserting 22:35:00 <Samu> tests 22:39:02 <Samu> considering initially I was getting about 2700 ms avg 22:39:10 <Samu> much has improved already 22:39:20 <Samu> from a few days ago 22:41:27 *** Sheogorath has quit IRC 22:41:33 <peter1138> Heh 22:42:18 <Samu> for all industries + valuators + for all towns 22:46:18 <peter1138> 7429/7431? 22:48:33 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on issue #5730: Autoreplace - remove wagon is global not local https://git.io/fjTxz 22:48:34 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on issue #6562: Stations: extended byte for NewStation ID https://git.io/fjTxg 22:48:36 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on issue #7041: Cargo flow legend not fully redrawn when station sign is moved https://git.io/fjTx2 22:54:00 <Samu> linknodes? 22:54:01 <Samu> no 22:54:07 <Samu> 7424 and 7429 22:54:34 <Samu> + the one that's already in master + the other from yesterday 22:54:37 *** erratic has joined #openttd 22:55:18 <peter1138> I don't think anything in master needs to be reviewed and merged :p 22:56:13 <Samu> started iterating metropolitan 22:56:27 *** supermop_Home_ has joined #openttd 22:56:35 <supermop_Home_> yo 22:57:06 <Samu> number 3 22:58:02 <Samu> linkgraph is cargodist related? 22:58:08 <Samu> i don't use that one 22:58:09 *** SimYouLater has joined #openttd 22:59:46 <SimYouLater> Hi. Can long-timers please look at https://www.tt-forums.net/viewtopic.php?f=26&t=85036 and tell me whether or not I'm describing something real, or if it's useful? 23:00:29 <SimYouLater> Last time I tried to post this, Leanden got angry at me for wasting people's time. 23:02:47 <peter1138> Yeah, no, people draw whatever scale they want. 23:03:20 <peter1138> Hmm 23:03:34 <peter1138> I guess if you want to document what people have already drawn, then that's great. 23:03:47 *** Sheogorath has joined #openttd 23:03:54 *** Progman has quit IRC 23:05:37 <SimYouLater> peter1138: "This is a guide, not a rulebook. You can do whatever you want when making railtypes! However... There are three trends that can be considered "scales" in the same way model trains have scales. This guide shows what these scales are and what other NewGRFs use them, so that you can try to match your graphics to the graphics of other NewGRFs." 23:05:48 <peter1138> Fine :p 23:06:16 <SimYouLater> I never said there were rules. I said there were trends. Trends that could be useful to follow if you've never made a tracktype before. 23:06:21 <peter1138> Okay. 23:06:37 <peter1138> So you post a piece of information. What's the problem? 23:06:41 <Samu> ehm, i'm not much into trains 23:06:48 <Samu> or graphics, even 23:06:51 <SimYouLater> "Could" be useful. Are they? 23:07:08 <Samu> just sticky it! 23:07:18 <SimYouLater> Because I've been told by someone angrily that it's not useful. 23:08:23 <peter1138> Diddums? 23:08:39 <SimYouLater> Leanden. About two years ago. 23:09:19 <peter1138> Yeah, you know, nobody really cares? You don't need to seek validation all the time. We just get on with stuff. 23:09:52 <SimYouLater> Alright, fair enough. I just wondered why someone did care in a way that was horribly negative. 23:10:20 <peter1138> Ignore negative people 23:10:30 <peter1138> And don't hold grudges. 23:11:29 <SimYouLater> Alright. Thank you. 23:11:32 *** SimYouLater has quit IRC 23:11:36 <peter1138> Bah, HasBit() doesn't work with enum class :/ 23:14:47 *** Sheogorath has quit IRC 23:15:55 *** frosch123 has quit IRC 23:28:01 <Samu> I have a weird question 23:28:18 <Samu> why is assert() without a space between assert and () 23:31:55 <peter1138> Why would it have a space? 23:32:00 <peter1138> It's not a keyword. 23:34:51 *** Sheogorath has joined #openttd 23:35:11 <Samu> or why it isn't Assert() 23:35:17 <Samu> or ASSERT() 23:35:40 <Samu> it's not a keyword 23:35:44 <Samu> googles keyword 23:39:32 <Samu> can GS change game settings ? 23:39:39 <Samu> while running in a game 23:39:44 <Samu> it would be interesting 23:40:12 <Samu> regression can't test this 23:40:44 <Samu> station_noise_level on and off in the same game 23:41:18 *** Sheogorath has quit IRC 23:46:43 <Eddi|zuHause> oha, i found a commit in trunk that was cherry-picked from YACD :p 23:47:32 <Eddi|zuHause> and i still can't check if it actually compiles 23:47:40 <peter1138> Actually cherry-picked? 23:47:57 <Eddi|zuHause> well, slightly modified 23:49:07 <Eddi|zuHause> and i'm still in commits from 2011 23:49:36 <Eddi|zuHause> i don't think this is the fastest approach to rebasing :p 23:57:18 <Samu> test successful!, this was with station_noise_level off