Times are UTC Toggle Colours
00:23:38 *** Soni has quit IRC 00:24:48 *** Sonic has joined #openttd 00:37:27 *** Soni has joined #openttd 00:46:11 *** WormnestAndroid has quit IRC 01:40:44 *** WormnestAndroid has joined #openttd 02:07:37 *** iSoSyS has joined #openttd 02:10:20 *** iSoSyS has quit IRC 02:16:09 *** snail_UES_ has joined #openttd 02:22:00 <DorpsGek> [OpenTTD/OpenTTD] James103 commented on issue #9545: [Bug]: CTD when all cargos are disabled by NewGRF, and cargo payment graph opened https://github.com/OpenTTD/OpenTTD/issues/9545 03:36:27 *** glx has quit IRC 03:43:06 *** supermop_Home has quit IRC 03:54:02 *** Wormnest has quit IRC 03:59:42 *** Flygon has joined #openttd 04:00:42 *** D-HUND has joined #openttd 04:04:05 *** debdog has quit IRC 04:06:37 *** twb has joined #openttd 04:07:42 <twb> OK so I give OpenTTD to prison inmates. They were on 1.6 and now they're getting 1.10. 04:08:47 <twb> Because bananas (content.openttd.org:3980) is blocked, I just downloaded a bunch of extra content in advance, and put that in their OS image. 04:09:06 <twb> And today, I'm updating that to work with 1.10 instead of 1.6. Yay. 04:16:06 <twb> Here's the actual code I'm starting from: https://github.com/cyberitsolutions/bootstrap2020/tree/twb/debian-11-PrisonPC.packages/prisonpc-openttd-extras/debian 04:16:27 <twb> It's pretty much just "wget -i urls" and some tar/chmod/chown 04:19:38 <twb> Oh jeez, looks like http://us.bananas.openttd.org/bananas/basemusic/Doom_I_Soundtrack-1.2.tar.gz has become https://bananas.openttd.org/package/base-music/444f4f4d/2017-08-27T08:37:33+00:00 04:20:35 <twb> So I'll have to either do C-level magic to get the bananas protocol working in a stand-alone downloader, or I'll have to hard-code a hash and a ctime 04:21:31 <twb> There's no "Content-Type: ...; filename=Doom_I_Soundtrack-1.2.tar.gz" header, either, so I'll have to roll that magic as well :-( 04:23:13 <twb> Let me just tcpdump first and see if openttd is still using an ad-hoc protocol instead of standard HTTPS 04:31:55 <twb> Looks like it's moved to :3978 instead of :3980, but yeah it's still using the multiplayer netcode for listing and downloading content 04:39:02 <twb> Hrm, SOME of it is http. curl http://binaries.openttd.org/bananas --request POST --data-binary $'10884238\n' 04:42:07 <twb> Maybe I should just package https://github.com/OpenTTD/bananas-frontend-cli for Debian 04:52:55 <twb> OK, I'm pretty sure I vanished down this rabbit hole last time I looked at this, and ended up throwing it all away and using wget 05:21:12 *** snail_UES_ has quit IRC 05:27:00 <FLHerne> twb: TrueBrain redid all this BaNaNaS stuff fairly recently, but it'll be 5am or so for him just now 05:27:13 <twb> No worries 05:27:31 <twb> I'll be here for a week unless my IPv6 wigs out 05:43:21 <FLHerne> I thought there was some tool that would give the OTTD-calculated md5sum, but if there is I can't remember how 05:44:32 <twb> There's a couple of python libraries but they look pretty annoying for my minimal use case 05:44:49 <twb> Like, I don't really want to set up a VM that is contained enough it can be trusted to run random docker crap 05:45:16 <twb> And e.g. https://github.com/OpenTTD/bananas-frontend-cli/blob/main/requirements.txt has exact requirements instead of ranges 06:02:46 *** OsteHovel has joined #openttd 06:35:33 *** Splat has joined #openttd 06:38:20 *** Splat has quit IRC 06:41:29 *** andythenorth has joined #openttd 06:48:25 <FLHerne> You shouldn't need a docker image, just a virtualenv 06:49:10 *** andythenorth has quit IRC 06:49:42 *** andythenor2022-02-14T11:01:34 <peter1138> No, it's the awful 32bpp extra-zoom baseset. 11:02:59 <LordAro> there have been a couple of 3d OTTD attempts over the years 11:52:22 *** andythenorth has joined #openttd 12:08:02 *** Gustavo6046 has joined #openttd 12:37:02 *** andythenorth has quit IRC 12:39:33 *** andythenorth has joined #openttd 12:40:44 <peter1138> Okay, I was hungry and had salad for lunch already. 12:41:01 <peter1138> But should I finish it off with a bit of cake? 12:46:01 *** andythenorth has quit IRC 13:51:09 <Eddi|zuHause> @LordAro those people should just play transport fever... 13:51:25 <LordAro> hehe 14:07:01 <DorpsGek> [OpenTTD/OpenTTD] nielsmh commented on issue #9545: [Bug]: CTD when all cargos are disabled by NewGRF, and cargo payment graph opened https://github.com/OpenTTD/OpenTTD/issues/9545 14:42:20 *** tokai has joined #openttd 14:42:20 *** ChanServ sets mode: +v tokai 15:18:08 *** andythenorth has joined #openttd 15:51:30 *** Gustavo6046 has quit IRC 16:02:11 *** Gustavo6046 has joined #openttd 16:08:52 *** glx has joined #openttd 16:08:52 *** ChanServ sets mode: +v glx 16:15:14 *** Wormnest has joined #openttd 16:23:04 *** nielsm has joined #openttd 16:43:24 *** gelignite has joined #openttd 16:47:37 *** frosch123 has joined #openttd 17:13:23 *** Flygon has quit IRC 18:38:49 *** andythenorth has quit IRC 18:39:20 *** andythenorth has joined #openttd 18:49:15 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on issue #9545: [Bug]: CTD when all cargos are disabled by NewGRF, and cargo payment graph opened https://github.com/OpenTTD/OpenTTD/issues/9545 18:56:53 <frosch123> it should display a message "you transport everything there is, consider yourself to have won" 19:02:20 *** D-HUND is now known as debdog 19:04:03 *** andythenorth has quit IRC 19:05:31 *** andythenorth has joined #openttd 19:21:23 <nielsm> uh... struct ShipTickPlan : public VehicleTickPlan { /* stuff */ }; and then later static_cast<ShipTickPlan *>(vehtickplanptr) 19:21:39 <nielsm> shouldn't that be fine as an upcast of a pointer type to a base class? 19:21:54 <nielsm> the compiler says they are unrelated 19:22:14 <nielsm> ah, right 19:22:26 <nielsm> the type is only forward declared at that point 19:23:41 <nielsm> yeah, works if I change the order of declarations 19:29:04 <nielsm> well, it compiles and runs now, just ships don't really do anything 19:34:00 <nielsm> pushed to my branch if anyone wants to look 19:46:08 *** supermop_work has joined #openttd 20:00:13 <supermop_work> yo 20:00:49 *** andythenorth has quit IRC 20:01:39 *** andythenorth has joined #openttd 20:39:32 <nielsm> https://media.discordapp.net/attachments/337701432230805505/942882371651403806/openttd_2022-02-14_21-36-32.mp4 20:39:38 <nielsm> it moves... kinda 21:18:06 *** frosch123 has quit IRC 21:31:27 *** _aD has joined #openttd 21:39:45 <LordAro> close enough 22:05:20 *** gelignite has quit IRC 22:06:34 *** gelignite has joined #openttd 22:23:52 *** sla_ro|master has quit IRC 22:26:57 <andythenorth> lol 22:26:59 <andythenorth> data processing 22:27:07 <andythenorth> top down vs bottom up 22:27:48 * andythenorth flashbacks to the only comp sci course I did, taught to civil engineers 22:27:59 <andythenorth> I skipped the lecture on bottom up vs top down 22:28:15 <andythenorth> turned out the lecturer was quite an evangelist for one of them being The Only Way 22:28:19 <andythenorth> can't remember which 22:29:00 <andythenorth> but I have just done one approach to wrangle some spreadsheet data in python, and now I have learnt why I should use the other approach 22:29:21 <andythenorth> but if I had done the other approach, I would just now be learning why I should have used this approach 22:29:38 <andythenorth> because top down vs. bottom it's false way to design anything 22:29:43 * andythenorth back to json and ARR 22:30:00 <andythenorth> vs. bottom up * 22:31:20 <andythenorth> "It is inherent that no coding can begin until a sufficient level of detail has been reached in the design of at least some part of the system" 22:31:29 <andythenorth> how the fuck do you design anything at all without writing code 22:31:31 <andythenorth> so silly 22:34:02 <andythenorth> also bedtime :D 22:34:08 *** andythenorth has quit IRC 22:50:19 <DorpsGek> [OpenTTD/OpenTTD] 55TeMeR55 commented on issue #9742: [Bug]: "Your PC is too slow to keep up with this server" https://github.com/OpenTTD/OpenTTD/issues/9742 22:52:52 <_dp_> andythenorth[m], "Categorically don't be interested in formulation of the problem until obtaining an object module of the program. Remember that programming is an art - so any extra knowledge only restricts your imagination."