Times are UTC Toggle Colours
00:01:20 * Artea invites niel and peter to his OTTD server :P 00:02:02 <nielsm> if it wasn't for demoparty I'd be in bed now 00:02:57 <Artea> awww 00:03:25 <Artea> me too 00:03:35 <Artea> after 3h of updates 00:03:44 <Artea> finally I'm playing MU Online 00:14:59 <peter1138> Hmm, 1.37 deg C and 8.06 deg C. 00:15:05 <peter1138> Well, that doesn't seem right :S 00:30:08 *** chomwitt has quit IRC 00:31:42 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7516: Memory measurement and limits for Squirrel https://git.io/fjOQG 00:43:47 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7516: Memory measurement and limits for Squirrel https://git.io/fjOQW 00:52:28 *** Wormnest has quit IRC 00:55:27 <nielsm> phew, over for tonight 00:55:28 <nielsm> now bed 01:00:31 *** Progman has quit IRC 01:03:31 *** nielsm has quit IRC 01:05:21 *** pnda has quit IRC 01:09:00 *** Supercheese has quit IRC 01:09:21 *** Supercheese has joined #openttd 01:23:56 *** HerzogDeXtEr has quit IRC 01:25:11 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7516: Memory measurement and limits for Squirrel https://git.io/fjOQS 01:42:36 *** beno__ has joined #openttd 01:44:08 *** Flygon has joined #openttd 01:47:25 *** beno__ has quit IRC 01:48:23 *** Thedarkb1-X40 has quit IRC 02:59:43 *** Samu has quit IRC 04:05:51 *** glx has quit IRC 04:32:00 *** tycoondemon has quit IRC 05:39:14 *** Supercheese has quit IRC 05:39:35 *** Supercheese has joined #openttd 05:59:57 *** APTX has quit IRC 06:05:40 *** APTX has joined #openttd 06:06:22 *** Progman has joined #openttd 06:08:39 *** tycoondemon has joined #openttd 06:15:20 *** tycoondemon has quit IRC 06:17:18 *** APTX_ has joined #openttd 06:23:42 *** APTX has quit IRC 06:27:42 *** tycoondemon has joined #openttd 06:55:22 *** nielsm has joined #openttd 07:09:59 *** andythenorth has joined #openttd 07:11:37 <andythenorth> moin 07:13:51 <peter1138> hi 07:15:03 <andythenorth> enough sleep? 07:15:22 <peter1138> Hmmmm 07:24:15 *** sla_ro|master has joined #openttd 07:24:29 <andythenorth> hmm 07:24:52 <andythenorth> why is 'motor vehicle' definitely not on rails? according to wikipedia https://en.wikipedia.org/wiki/Motor_vehicle 07:30:17 <peter1138> Heh 07:30:31 <peter1138> Stop worrying about that (non-)split :p 07:31:32 <andythenorth> just naming stuff 07:31:43 <andythenorth> TrackTypeMixinTram is obvious 07:32:02 <andythenorth> TrackTypeMixinTruckBusCoach might fail if I do a tractor 07:32:07 <andythenorth> kittens will die 07:32:28 <andythenorth> TrackTypeMixinCake and TrackTypeMixinJFDI are also pretty obvious 07:33:21 <andythenorth> anyway, long names, easy to replace later with find-replace 07:33:34 <peter1138> Yes indeed. 07:33:41 <peter1138> SLV_ ;-) 07:34:37 <andythenorth> rude 07:36:13 <andythenorth> TrackTypeMixinRUDE 07:36:18 <andythenorth> endless game 07:39:06 *** Supercheese has quit IRC 07:55:26 <nielsm> andythenorth: I think it's a legal distinction to isolate what a driver's license allows you to operate, and which vehicles are allowed on which types of roads 07:55:50 <andythenorth> TrackTypeMixinRoadTaxed 07:56:03 <andythenorth> TrackTypeMixinDrivingLicenseNeeded 07:56:46 * andythenorth back to deleting old code 07:56:49 <nielsm> heh well in DK only trains pulling passengers must have VAT paid of the rolling stock, trains moving goods do not need to have VAT paid 07:56:57 <nielsm> so there is something there as well :P 07:57:01 <andythenorth> 'if roadveh_flag_tram: stuff else: other stuff' 07:57:09 <andythenorth> much of that in old code 07:57:14 <andythenorth> it's like trams were just a flag, and not a thing 07:57:34 <andythenorth> :P 07:58:07 <peter1138> Yes, they are just a flag, yes. 07:59:20 <andythenorth> I am pretending they are a thing 07:59:43 <andythenorth> in my artificially crafted extra Python layers, resulting in bloated installations 08:00:32 <andythenorth> this is my favourite madness so far https://dev.openttdcoop.org/projects/road-hog/repository/entry/src/road_vehicle.py#L298 08:01:21 <andythenorth> that must die 08:01:30 <andythenorth> is it lunch yet? 08:11:49 <peter1138> Yes? 08:12:45 <andythenorth> I had neglected breakfast 08:12:53 <andythenorth> fixed that 08:39:33 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh updated pull request #7516: Memory measurement and limits for Squirrel https://git.io/fjYfW 08:40:47 *** chomwitt has joined #openttd 08:46:22 *** andythenorth is now known as Guest706 08:46:23 *** andythenorth has joined #openttd 08:50:51 *** Guest706 has quit IRC 09:01:28 *** nielsm is now known as Guest707 09:01:59 <Artea> boing 09:02:31 <Artea> SSD is rolling :D 09:05:46 <Artea> seriously 09:05:51 <Artea> yesterday 2 crashes 09:05:54 <Artea> today 1 09:06:03 <Artea> even with disaster in reduced one 09:06:32 <Artea> now to find the path of crashed airplane :( 09:06:54 *** Guest707 has quit IRC 09:17:20 <andythenorth> have I broken coop jenkins then? https://jenkins.openttdcoop.org/job/road-hog/1579/console 09:17:45 <andythenorth> I'm pushing in a branch, so I don't actually expect a build 09:17:51 <andythenorth> but it seems to be more broken than that 09:18:04 *** Wolf01 has joined #openttd 09:18:20 <Wolf01> o/ 09:28:02 <Artea> hi 09:32:34 *** grag[m] has joined #openttd 09:35:48 *** jact[m] has joined #openttd 09:39:07 *** HerzogDeXtEr has joined #openttd 10:15:51 <andythenorth> oops 10:15:53 <andythenorth> crashed NRT 10:17:46 <andythenorth> peter1138: probly because I reloaded grfs? https://paste.openttdcoop.org/p7vszfj8o/wazokk/raw 10:18:21 <andythenorth> RTT label changes and missing tram flags 10:19:17 <andythenorth> oh it repros on load savegame :) 10:19:22 <andythenorth> that's the end of that savegame then 10:19:55 <Wolf01> Don't break grfs, problem solved :D 10:21:38 <andythenorth> looks like I broke a tram type too 10:21:41 <andythenorth> fixed 10:30:16 *** cesar[m] has joined #openttd 10:51:01 *** Sheogorath has quit IRC 10:59:46 *** Sheogorath has joined #openttd 11:04:05 *** seatsea has quit IRC 11:04:29 *** seatsea has joined #openttd 11:12:16 <andythenorth> should I be doing something clever with NotRoadTypes? 11:12:28 <andythenorth> like roads that only fast vehicles are allowed on, or something? 11:28:17 <peter1138> Pass 11:32:30 <peter1138> https://www.strava.com/activities/2307091145 11:32:33 <peter1138> Time for a shower 11:32:44 * andythenorth should get a strave 11:32:47 <andythenorth> or strava 11:32:51 <andythenorth> it would be null though :D 11:33:10 <peter1138> You'd be able to stalk me and LordAro more easily. 11:33:45 <andythenorth> I could get one that can track moving from my table to the fridge 11:36:10 *** gelignite has joined #openttd 11:39:35 *** Sheogorath has quit IRC 11:40:06 *** Sheogorath has joined #openttd 11:44:02 *** Sheogorath has quit IRC 11:54:43 *** Sheogorath has joined #openttd 11:59:24 *** Sheogorath has quit IRC 12:05:37 <LordAro> peter1138: that speed 12:06:01 <LordAro> rather one-upped me from wednesday, didn't you? 12:06:11 *** Sheogorath has joined #openttd 12:06:25 <peter1138> Was it yesterday? 12:10:52 <LordAro> peter1138: hmm? 12:11:53 <peter1138> Oh, I misread. 12:14:06 <peter1138> Also, who said there could be a head-wind coming back? :( 12:15:55 <LordAro> didn't seem to slow you down much 12:21:28 *** Sheogorath has quit IRC 12:23:51 <peter1138> It was very close to being under 20 :p 12:24:22 *** Sheogorath has joined #openttd 12:27:53 *** Sheogorath has quit IRC 12:28:47 *** Sheogorath has joined #openttd 12:31:53 *** Sheogorath has quit IRC 12:34:50 <LordAro> peter1138: still, nicely done, especially on your own 12:35:06 <LordAro> i wouldn't have managed my 19mph on my own :p 12:35:21 <LordAro> and i had a lot less climbing 12:38:42 <peter1138> Only 1500ft today. 12:39:25 <peter1138> Can I change Railtype -> RailType? 12:51:09 *** Sheogorath has joined #openttd 13:00:21 <LordAro> peter1138: not for NRT, i bet :p 13:00:27 <peter1138> No :_) 13:01:39 <peter1138> Hmm, I can do RoadtypeInfo -> RoadTypeInfo in NRT though. 13:01:52 <peter1138> As it introduces RoadtypeInfo anyway :p 13:02:02 <peter1138> The inconsistent casing is bugging me. 13:02:14 <peter1138> RoadtypeInfo *rti = GetRoadTypeInfo() 13:08:28 <peter1138> perl -pi -e ftw 13:20:27 <peter1138> Ah yes, I was working on some weird its. 13:20:29 <peter1138> *bits 13:52:32 *** Corns has joined #openttd 13:53:32 *** Corns_ has joined #openttd 13:53:35 <Corns_> hello 13:53:44 <Corns_> I come bearing progress of my patch 13:53:45 <Corns_> https://gfycat.com/RectangularRichAiredaleterrier 13:53:57 *** Corns has quit IRC 13:54:11 <peter1138> Nice 13:55:41 *** Samu has joined #openttd 14:04:04 <peter1138> Ok, I got a nice Hoegaarden. 14:07:37 <Wolf01> Nice patch 14:16:34 *** Corns_ has quit IRC 14:18:48 *** Corns has joined #openttd 14:20:55 <peter1138> Can I make it so that date is not a variable for built roads? 14:34:31 *** Flygon has quit IRC 14:36:09 <peter1138> Bah, ate chocolate and a Magnum icecream. 14:36:16 <peter1138> Stupid food! 14:41:39 *** arikover has joined #openttd 15:01:05 *** Wormnest has joined #openttd 15:04:13 <Wolf01> Hmm? 15:04:44 *** sla_ro|master has quit IRC 15:04:46 <Wolf01> Do you want to be able to build freeways in 1800? 15:04:57 <peter1138> No. 15:05:07 <peter1138> I want roads to not change graphics based on date. 15:08:09 <Corns> you could maybe implement a new road type and then limit their yearly availability? 15:08:19 <Corns> then have towns choose to build the newest road types 15:09:13 <peter1138> Wolf01, I mean the date variable exposed via varaction. It can be used to change graphics based on date, but shouldn't be used for that. 15:13:56 *** frosch123 has joined #openttd 15:27:24 <andythenorth> peter1138: why shouldn't it be used for that? :) 15:27:33 <andythenorth> is it weird, or is it performance? 15:28:26 <peter1138> If you want a different appearance, use a different road type. 15:30:21 <arikover> In what cases should the date variable be used, then? 15:30:54 <LordAro> should be consistent with whatever you can do with railtypes, imo 15:31:02 <LordAro> however "correct" that may be 15:31:55 <peter1138> While there are no callbacks, it it probably not useful for anything. 15:32:35 <andythenorth> with more types, the argument for date-based changes is harder to make 15:33:07 <Corns> i mean in most cases, IRL towns upgrade their roads at their own pace 15:33:28 <Corns> as in, the appearance of roads pretty much change simulatenously 15:34:06 <Corns> eg. 1800s vs 1900s, "most" roads will transition from dirt/rock to tarmac 15:35:11 <andythenorth> peter1138: does this extend to other things, like town zone? 15:35:24 <peter1138> No, just date. 15:35:45 <peter1138> Corns, you'd think. 15:35:57 <peter1138> With date-based graphics, they all upgrade together, at once. 15:36:06 <peter1138> But it relies on... the screen being repainted. 15:36:33 <andythenorth> so laggy repaint? 15:36:56 <Corns> which newGRFs make use of this feature btw 15:37:00 <Corns> i wanna see it in action 15:39:30 <Corns> also, repainting visible roads on visible viewports doesn't seem like too big of a deal 15:39:37 <Corns> given that it happens like, once every 50 years 15:40:34 <andythenorth> peter1138: railtypes seems to have date var only for build date of depots 15:40:51 <andythenorth> is there general access to the global date var though? 15:40:52 <peter1138> andythenorth, and what for? 15:41:02 <andythenorth> I don't know what for 15:41:07 <peter1138> Well, build date, okay, that doesn't change. 15:41:10 <peter1138> global date, probably. 15:41:14 <peter1138> Corns, unspooled. 15:41:43 <peter1138> Corns, varactions don't work like that. 15:41:43 <arikover> Corns: this one as well: https://www.tt-forums.net/viewtopic.php?f=67&t=84591 15:41:48 <andythenorth> I am 52:48 on this, but I would rather date var wasn't available 15:41:58 <andythenorth> laggy repaints are bad 15:44:16 <peter1138> Oh, maybe it was not unspooled :p 15:44:21 <peter1138> Yeah, ufiby only 15:45:17 <peter1138> Ok it doesn't use var 0x43 for it. Hmm. 15:51:56 <peter1138> Hmm, not sure how to prevent it :/ 15:52:26 *** Gustavo6056 has joined #openttd 15:55:29 *** Supercheese has joined #openttd 15:56:19 *** Gustavo6046 has quit IRC 15:56:19 *** Gustavo6056 is now known as Gustavo6046 16:00:53 *** glx has joined #openttd 16:00:53 *** ChanServ sets mode: +v glx 16:02:53 *** sla_ro|master has joined #openttd 16:07:17 <andythenorth> just don't use that grf/ o_O 16:07:26 <peter1138> There is that. 16:07:31 <andythenorth> dunno, grf authors gonna do weird stuff 16:07:48 <andythenorth> it's only a problem imho when stuff breaks 16:07:53 <andythenorth> or authors rely on janky shit 16:11:15 *** Corns has quit IRC 16:16:02 <andythenorth> hmm 16:16:20 <andythenorth> referring to the actual mini-train as 'feldbahn' is wrong? 16:17:33 <Samu> 16:17:33 <Samu> I need a defined set of rules for my tournament. This 16:17:34 <Samu> one on one 16:17:38 <Samu> oops 16:17:49 <Samu> what the heck happened 16:18:27 <Samu> anyway, as I was saying, this one on one I've been doing is becoming a mess 16:18:53 <Samu> need guidance 16:18:57 <Samu> which it didn't have 16:22:04 <Samu> https://challonge.com/pt/tournament/bracket_generator.html help me out here 16:22:28 <Samu> single elimination, double elimination, round robin? 16:22:32 <Samu> whats the diference 16:31:54 <Samu> can't make round robin, need 40 participants, got 48 :( 16:36:17 <Samu> anyone here? 16:36:43 <Samu> https://challonge.com/tournaments/bracket_generator?ref=1zRwU7PQNv do you know how to use this? 16:39:08 *** chomwitt has quit IRC 16:57:23 <Samu> The total number of games in a 48 Team Round Robin Tournament is 1128. 16:57:27 <Samu> wow 16:57:28 <Samu> really? 16:58:26 <Samu> Round Robin is the fairest tournament apparently 16:59:16 <peter1138> Hmm. 16:59:36 <peter1138> I wonder how to handle what road/tram types should be available in the scenario editor. 17:01:02 <Samu> Round Robin sounds so cool just for saying it 17:01:08 <Samu> so i'm gonna do it 17:01:36 <Samu> I need a base openttd.cfg for the tournament 17:01:43 <Samu> who can provide? 17:02:24 <peter1138> OpenTTD can. 17:02:38 <Samu> fresh install defaults? 17:02:42 <Samu> mmm 17:06:33 *** Corns has joined #openttd 17:07:21 <peter1138> sensors/28aa18101b130279/temp -15.13 17:07:26 <peter1138> That's a bit warm :/ 17:11:42 <Corns> Is there a variable I can check to see if the mouse isn't hovering over a tile? 17:12:11 <Corns> aside from GetTileBelowCursor + MapSize() 17:14:55 <Corns> oh i see gettilebelowcursor() returns {-1, -1} if it doesn't select a tile 17:15:27 <andythenorth> peter1138: what's that the temperature of? 17:15:31 <peter1138> Freezer. 17:16:22 <andythenorth> presumably you mean road / tram in SE, without grfs? 17:16:27 <andythenorth> or do I miss something? 17:16:57 *** Corns has quit IRC 17:17:06 <peter1138> With NewGRFs. 17:22:10 <peter1138> Oh, I see. 17:24:20 *** Corns has joined #openttd 17:24:23 <Corns> https://gfycat.com/ZealousSentimentalCollardlizard now with preview highlighting :) 17:24:41 <andythenorth> if there are newgrfs in the SE, availability is just whatever the newgrfs determine? 17:26:09 *** nielsm has joined #openttd 17:43:46 <peter1138> 7c0400001 | 10 = ffffffffc0400011 17:43:52 <peter1138> Why am I seeing that? o_O 17:46:57 <andythenorth> where? 17:47:04 <peter1138> On my computer... 17:47:17 <andythenorth> not in the freezer? 17:47:21 <peter1138> The result should be 7c0400011, of course. 17:48:12 <Corns> cast to uint first? 17:48:26 <Corns> could be doing twos complement for whatever reason 17:49:42 *** Corns has quit IRC 17:52:33 <peter1138> Ok, why has this stopped working? 17:52:59 * peter1138 tries gcc 17:56:48 <Samu> https://1drv.ms/o/s!Ah9vX-Q9n7IjhHheJyvAuHltAA-5 17:56:57 <Samu> is this link viewable? 17:57:26 <Samu> @calc 24 * 47 17:57:26 <DorpsGek> Samu: 1128 17:57:56 <Samu> 1128 games... 17:59:32 <peter1138> warning: format \u2018%llx\u2019 expects argument of type \u2018long long unsigned int\u2019, but argument 2 has type \u2018long unsigned int\u2019 17:59:36 <peter1138> Oh, silly quotes. 18:00:06 <peter1138> Uhm, why does it think RoadTypes is long unsigned int, not long long unsigned int? :s 18:00:20 <glx> oh it complemented shorter arg 18:00:38 <peter1138> Both args are uint64 18:01:15 <peter1138> I don't know what I've done. It was certainly working about 30 minutes ago. 18:02:20 <frosch123> if it starts with 7, it's not even negative, even when conisdered as signed int 18:02:50 <frosch123> someone needs to add a 8 first 18:07:36 <peter1138> Ok... 18:07:55 <peter1138> Replacing `enum RoadTypes : uint64` with `typedef uint64 RoadTypes` fixes it. 18:07:57 <peter1138> What the... 18:09:33 <peter1138> Hmm. 18:10:38 <peter1138> inline mask_t operator | (mask_t m1, mask_t m2) {return (mask_t)((int)m1 | m2);} \ 18:10:42 <peter1138> Okay... 18:10:44 <peter1138> That will do it. 18:10:53 <peter1138> DECLARE_ENUM_AS_BIT_SET is not safe on uint64... 18:11:15 <peter1138> So railtypes have the same issue when > 32 are used. Nice! 18:11:56 <peter1138> And anything else 64 bit, I suppose. 18:14:09 <peter1138> I see what happened. It was working before because I didn't have > 32 road types loaded. 18:14:28 <peter1138> > 64 does work, it's just messed up a little :p 18:14:32 <peter1138> Erm... 18:14:35 <peter1138> > 32 does work... 18:15:21 *** labs[m] has joined #openttd 18:16:46 <LordAro> heh 18:17:09 <LordAro> did someone say there was an issue with replacing the TinyEnumT ? 18:17:51 <LordAro> (not strictly related) 18:27:57 <peter1138> m3henry tried but didn't get far. 18:28:59 * andythenorth must to drive 18:29:02 <andythenorth> bye 18:29:03 *** andythenorth has quit IRC 18:31:20 * peter1138 adds DECLARE_ENUM_AS_64BIT_SET :p 18:31:27 <peter1138> Oh, no. 18:32:30 <LordAro> ew 18:32:40 <peter1138> It's okay, it doesn't work anyway. 18:43:01 <Samu> omg i didn't save game number 3, :( 18:43:11 <Samu> must repeat 18:44:14 <Samu> I hope aroai wins again 18:44:22 <LordAro> haha 18:44:47 <Samu> vs OtviAI 18:53:40 <Samu> aroai wins, but took longer this time 18:55:59 <LordAro> Samu: what is your win condition? 18:56:58 <Samu> reach £10M 18:59:13 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN opened pull request #7532: Fix bf8d7df736: DECLARE_ENUM_AS_BIT_SET does not work for 64 bit types, leading to spurious results. https://git.io/fj3vt 19:07:07 <LordAro> peter1138: can't fix DECLARE_... ? 19:09:54 *** Supercheese has quit IRC 19:10:16 <LordAro> peter1138: https://en.cppreference.com/w/cpp/types/underlying_type perhaps? 19:10:16 *** Supercheese has joined #openttd 19:28:26 <peter1138> Well I tried but it still didn't work. 19:28:33 *** gareppa has joined #openttd 19:30:18 *** ZirconiumX has quit IRC 19:32:39 <Samu> first round complete! 19:32:44 <Samu> this was kinda fast 19:32:52 <Samu> 46 more rounds to go lol 19:33:07 <Samu> at this pace, i can finish the tournament in less than a month 19:33:40 <Samu> https://paste.openttdcoop.org/pfdm6s4jk 19:33:41 <Samu> results 19:34:08 <Samu> left side winner vs right side loser 19:34:23 <Samu> and the days needed to reach £10M CV 19:48:14 * peter1138 tries with int64 instead of uint64 19:48:21 <peter1138> (In DECLARE_ENUM...) 19:49:13 <glx> and std::underlying_type<mask_t>::type doesn't work ? 19:49:31 <peter1138> Not tried that, not sure where that would go... 19:50:08 <glx> it should use uint64 for Railtypes, if I understand the doc 19:50:59 <peter1138> Yeah but where? 19:51:34 <glx> in DECLARE_ENUM... replacing (ini) 19:51:39 <glx> *(int) 19:52:25 <peter1138> Ah 19:53:12 <glx> because int is clearly not enough for 64bit ;) 19:53:43 <peter1138> Well, I tried int64 earlier and it didn't work, but I must've got something else messed up because it does now. 19:54:00 <glx> but using the underlying type should be the best option 19:57:08 <peter1138> Ok, trying that. 19:58:39 *** gareppa has quit IRC 20:01:08 <peter1138> Yeah... 20:03:20 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN opened pull request #7533: Fix: Replace int with std::underlying_type in DECLARE_ENUM_AS_BIT_SET. https://git.io/fj3vN 20:03:41 <peter1138> Let's see what the CI makes of it :p 20:06:54 <glx> hmm DECLARE_POSTFIX_INCREMENT may have issues too for 64bit enums 20:08:19 <peter1138> RailTypes is the only one and doesn't use that. 20:09:04 *** cHawk- has joined #openttd 20:11:01 *** cHawk- has quit IRC 20:14:57 *** cHawk has quit IRC 20:16:14 <peter1138> I guess that's better. 20:16:44 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN closed pull request #7532: Fix bf8d7df736: DECLARE_ENUM_AS_BIT_SET does not work for 64 bit types, leading to spurious results. https://git.io/fj3vt 20:16:45 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7532: Fix bf8d7df736: DECLARE_ENUM_AS_BIT_SET does not work for 64 bit types, leading to spurious results. https://git.io/fj3fI 20:24:34 <LordAro> peter1138: :) 20:25:40 *** Saqeram[m] has left #openttd 20:32:46 <Samu> default parameters are not suitable for forests in arctic tileset 20:32:49 <DorpsGek_II> [OpenTTD/OpenTTD] michicc approved pull request #7533: Fix: Replace int with std::underlying_type in DECLARE_ENUM_AS_BIT_SET. https://git.io/fj3fO 20:33:02 <Samu> what to do? 20:33:54 <Samu> do every match in temperate tileset? 20:34:12 <Samu> do 47 different configs? 20:34:53 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7533: Fix: Replace int with std::underlying_type in DECLARE_ENUM_AS_BIT_SET. https://git.io/fj3f3 20:36:04 <Samu> seems like a waste, to do 1128 matches on the same openttd.cfg 20:37:24 *** cHawk has joined #openttd 20:38:08 <LordAro> Samu: seems like the config can be altered to set a particular AI easily enough 20:38:17 <LordAro> if you're cleverz you could script the whole thing 20:39:18 <Samu> i mean the map settings, landscape and such 20:39:49 <Samu> how much shall I test toyland 20:40:02 <Samu> vs other tilesets 20:40:11 <LordAro> yeah, so use a "base" config that you then alter to set particular AI 20:40:36 <glx> and one base per "day" 20:40:36 <LordAro> you're already testing far more than anyone else has, i think 20:42:56 <Samu> there are 47 rounds, i was initially thinking 12 rounds for each tileset, except toyland, with 11 20:43:21 <Samu> but the default map parameters aren't particularly good 20:43:28 <Samu> forests aren't created, no ice on arctic 20:45:31 <Samu> could be 15 for the 3 main tilesets, and 2 for toyland 20:45:36 *** arikover has quit IRC 20:45:37 <Samu> i dunno 20:46:42 <peter1138> LordAro, I can do it but I can't test it :p 20:47:23 <glx> peter1138: if DECLARE_ENUM works with the change I guess DECLARE_POSTFIX will 20:47:44 <Samu> think Samu, think! 20:47:48 <Samu> WHAT TO DO 20:47:48 <peter1138> Yeah, just need to renaming the parameter from "type" becuase... well, ::type... 20:49:41 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN dismissed a review for pull request #7533: Fix: Replace int with std::underlying_type in DECLARE_ENUM_AS_BIT_SET. https://git.io/fj3fO 20:49:42 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN updated pull request #7533: Fix: Replace int with std::underlying_type in DECLARE_ENUM_AS_BIT_SET. https://git.io/fj3vN 20:53:15 <Samu> ok, i made up my mind 20:53:21 <Samu> will go on with 47 different configs 20:54:15 <Samu> and will stick to what I wanted initially, 12, 12, 12, 11 for each tileset 20:54:17 <Samu> configs 20:58:09 <_dp_> hi 20:58:31 <_dp_> I found an issue with client questions :( 20:58:43 <_dp_> NetworkClientInfo index is not synced between clients 20:59:35 <_dp_> not sure how to fix it though as there are not enough free bits for client_id in CmdGoalQuestion :( 20:59:52 <peter1138> eh? 21:00:57 <_dp_> peter1138, CmdGoalQuestion takes client index atm instead of id and index is not synced 21:02:27 <_dp_> I've no idea how to get index to desync but apparently that happens sometimes 21:05:33 <Samu> AroAI beats NoCAB... that's unexpected, considering it's arctic 21:06:28 <glx> each client has a different client index 21:08:49 <Samu> town generator has a tendency to pick near-shores places, where in arctic means towns can grow 21:08:58 <Samu> i see why aro did well 21:09:13 <Samu> biased town gen 21:11:42 <_dp_> hmm... technically 10 bits is enough for all combinations of 3 buttons and that makes it possible to put them in p1 and client id in p2 but that's a very tight bit packing 21:20:23 <_dp_> so... how about adding ... p3? 21:21:27 <_dp_> though sometimes it feels that even p103 won't be too excessive 21:21:29 *** sla_ro|master has quit IRC 21:28:19 <peter1138> Oh, it was approved already and then I dismissed it :/ 21:28:50 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 approved pull request #7533: Fix: Replace int with std::underlying_type in DECLARE_ENUM_AS_BIT_SET and DECLARE_POSTFIX_INCREMENT. https://git.io/fj3JK 21:31:15 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7533: Fix: Replace int with std::underlying_type in DECLARE_ENUM_AS_BIT_SET and DECLARE_POSTFIX_INCREMENT. https://git.io/fj3vN 21:31:43 <LordAro> :) 21:33:03 <peter1138> And *that* is how 7c0400001 | 10 = ffffffffc0400011 21:34:14 <Eddi|zuHause> making 32bit operation and then sign-extending to 64bit? 21:36:55 *** frosch123 has quit IRC 21:40:11 <glx> truncate 64bit to 32bit first 21:42:11 <peter1138> Well, anyway 21:42:44 <peter1138> So back to 6pm... :p 21:43:31 *** arikover has joined #openttd 21:52:31 *** gelignite has quit IRC 22:00:35 <DorpsGek_II> [OpenTTD/OpenTTD] ldpl opened issue #7534: GSGoal.QuestionClient sends message to wrong client https://git.io/fj3Uq 22:01:53 <_dp_> or just make ClientID uint16... 22:02:48 <_dp_> what is it now anyway? just enum is a very vague type specification 22:03:37 <Eddi|zuHause> <_dp_> though sometimes it feels that even p103 won't be too excessive <-- clearly what it needs is an xml structure. 22:04:10 <glx> or json 22:05:22 <nielsm> will json in string data become official? 22:06:59 <_dp_> god forbid 22:08:02 <_dp_> just blob it! :p 22:10:38 *** arikover has quit IRC 22:13:08 <peter1138> nielsm, official? 22:14:13 <nielsm> well I don't know if anything does that kind of stuffing atm 22:15:06 <_dp_> is it a blasphemy to use tile parameter for other stuff? xD 22:16:10 <Samu> wow, WrightAI beats WormAI in arctic 22:16:18 <Samu> that wasn't supposed to happen 22:16:41 <glx> _dp_: would not be the first time something is abused 22:20:09 <Samu> Wormnest, https://imgur.com/4dttT25 22:30:29 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on pull request #7081: Change: [Linkgraph] Pause the game when linkgraph jobs lag (#6470) https://git.io/fj3Ug 22:33:32 *** Antheus has quit IRC 22:39:29 *** Wolf01 has quit IRC 22:50:18 *** Progman has quit IRC 23:05:01 *** Antheus has joined #openttd 23:15:20 *** Antheus has quit IRC 23:17:33 *** Antheus has joined #openttd 23:40:11 *** Supercheese has quit IRC 23:40:32 *** Supercheese has joined #openttd 23:48:56 <Samu> wow, ChooCho vs NoCAB game was soo close 23:49:18 *** Antheus has quit IRC 23:49:24 <Samu> £9,938k for NoCAB, but ChooChoo wins 23:49:57 *** Antheus has joined #openttd 23:54:40 *** Antheus has quit IRC 23:54:54 *** Antheus has joined #openttd 23:59:59 *** nielsm has quit IRC