Times are UTC Toggle Colours
00:08:36 *** Thedarkb-X40 has joined #openttd 00:20:16 <Eddi|zuHause> if i'm starting a java program, and it tells me "segmentation fault"... how many wrong turns did i take? 00:25:02 <FLHerne> Well, the first one was 'Java' and none of the others matter :P 00:25:30 <FLHerne> It's frustratingly easy to segfault the Python interpreter by using PyQt wrong 00:25:43 <FLHerne> And, of course, it's then a complete nightmare to debug 00:26:25 <FLHerne> > "If it can't possibly go wrong, it will go wrong and be impossible to fix." 01:05:51 *** Thedarkb-X40 has quit IRC 01:13:28 *** Thedarkb-X40 has joined #openttd 01:29:39 *** Wormnest_ has quit IRC 01:37:30 *** Wormnest_ has joined #openttd 02:29:54 *** Wormnest_ has quit IRC 02:31:00 *** glx has quit IRC 02:34:14 *** Wormnest_ has joined #openttd 02:51:34 *** gelignite2nd has joined #openttd 02:58:55 *** gelignite has quit IRC 03:35:41 *** D-HUND has joined #openttd 03:39:02 *** debdog has quit IRC 03:48:34 *** Wormnest_ has quit IRC 04:07:21 *** Thedarkb-X40 has quit IRC 04:12:13 *** Eddi|zuHause2 has joined #openttd 04:16:33 *** cHawk has quit IRC 04:16:55 *** Eddi|zuHause has quit IRC 04:19:49 *** cHawk has joined #openttd 05:39:45 *** gelignite2nd has quit IRC 07:36:22 <DorpsGek_III> [OpenTTD/OpenTTD] timmeh87 opened issue #7838: random crash https://git.io/JeKL5 08:45:26 *** D-HUND is now known as debdog 09:14:57 <Arveen> breakfast time ? 09:31:35 <peter1138> Already had mine, probably too early thinking about it. I'll struggle getting to lunch. 10:07:34 *** Samu has joined #openttd 10:37:20 <peter1138> Do I need a table saw? 11:15:41 *** smoke_fumus has joined #openttd 11:33:38 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on issue #7838: random crash https://git.io/JeKL5 12:31:44 <peter1138> Is it lunch now? 12:31:52 <peter1138> andy isn't about 12:50:56 <DorpsGek_III> [OpenTTD/OpenTTD] Eric-01 opened issue #7839: [Suggestion] Addition of cargo icons in the corporate Industries window and all own windows of industries https://git.io/JeKsc 13:25:44 <DorpsGek_III> [OpenTTD/OpenTTD] planetmaker commented on issue #7836: Negativ Integer values for GRF Parameters crashes the game https://git.io/Jeozl 13:29:17 *** Flygon has quit IRC 13:41:55 *** Pikka has joined #openttd 13:48:46 <peter1138> Is it? 13:52:31 <Arveen> table saw : yes 14:02:20 <peter1138> Probably not one for £90 from Aldi though. 14:07:31 <Arveen> probably 14:35:35 *** tycoondemon has quit IRC 14:38:09 *** Pikka has quit IRC 14:44:36 *** Eddi|zuHause2 is now known as Eddi|zuHause 15:20:38 <DorpsGek_III> [OpenTTD/OpenTTD] planetmaker approved pull request #7837: fix typo in town growth rates https://git.io/JeKny 15:20:50 <DorpsGek_III> [OpenTTD/OpenTTD] planetmaker merged pull request #7837: fix typo in town growth rates https://git.io/Jeo6F 15:21:31 <Samu> i wonder if that is indeed a typo 15:21:36 <Samu> or intended 15:38:24 *** tokai has joined #openttd 15:38:24 *** ChanServ sets mode: +v tokai 15:40:36 <DorpsGek_III> [OpenTTD/OpenTTD] Eddi-z commented on issue #7836: Negativ Integer values for GRF Parameters crashes the game https://git.io/Jeozl 15:45:13 *** tokai|noir has quit IRC 15:56:28 <Samu> planetmaker, it's not a typo https://github.com/OpenTTD/OpenTTD/blame/ccaaa7d33ac92f91ebddcf4d1f6537639a38a13c/src/town_cmd.cpp#L1698 15:56:41 <Samu> m = 160 15:56:44 <Samu> double of that is 320 16:04:04 *** Wormnest_ has joined #openttd 16:07:23 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on issue #7836: Negativ Integer values for GRF Parameters crashes the game https://git.io/Jeozl 16:09:50 *** supermop_work_ has joined #openttd 16:09:55 <supermop_work_> yo 16:15:37 *** HerzogDeXtEr has joined #openttd 16:15:41 <DorpsGek_III> [OpenTTD/OpenTTD] SamuXarick left a comment on commit: Fix: typo in town growth rates (#7837) https://git.io/JeKC8 16:16:51 *** tokai|noir has joined #openttd 16:16:51 *** ChanServ sets mode: +v tokai|noir 16:23:39 *** tokai has quit IRC 16:28:37 <DorpsGek_III> [OpenTTD/OpenTTD] Eddi-z commented on issue #7836: Negativ Integer values for GRF Parameters crashes the game https://git.io/Jeozl 16:52:06 <FLHerne> Why does nml force `write_tables = 0` when setting up the parser? 16:52:39 <FLHerne> I suppose it might be a problem for system installs, but release builds could ship with a prebuilt parsetab.py 16:53:45 <FLHerne> Building the parse table each time costs about 2s, which for small grfs is a majority of the total runtime 16:55:51 <FLHerne> That's a rounding error for FIRS, but most grfs aren't that 17:14:48 *** tokai has joined #openttd 17:14:48 *** ChanServ sets mode: +v tokai 17:21:39 *** tokai|noir has quit IRC 17:32:58 <Eddi|zuHause> FLHerne: don't tell that to andy, he'll crazily obsess over those 2 seconds :) 17:33:30 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 opened pull request #7840: Fix #7836: check coherency of newgrf parameter min/max https://git.io/JeKlG 17:34:10 *** glx has joined #openttd 17:34:10 *** ChanServ sets mode: +v glx 17:34:16 <LordAro> i think Samu might be right regarding #7837 17:34:29 <LordAro> https://github.com/OpenTTD/OpenTTD/commit/7e22f243ed3b324df3da9dba5594c14b4e6794a0 17:35:14 <LordAro> the question is whether "320" (or 160) was correct in the first place 17:35:40 <FLHerne> The faster option for FIRS would be to just generate the NML ast directly rather than writing it all out :P 17:38:05 *** gelignite has joined #openttd 17:38:09 <LordAro> Samu: the question is *why* the n == 0 value growth rate was lower than n == 1 17:39:40 <LordAro> yeah, Samu is right 17:40:04 <LordAro> town with 0 active stations should have lower growth rate than 1 active stations, imo 17:40:19 <LordAro> (without funding new buildings) 17:40:37 <glx> makes sense 17:41:36 <LordAro> it should definitely have had a big comment explaining that though 17:44:23 <LordAro> though i'm not sure why the values for funding buildings are so much lower 17:44:34 <LordAro> is it called more often or something? 17:52:40 *** Progman has joined #openttd 17:57:37 <glx> originally it was 60 for funding, ignoring station count 18:02:37 *** supermop_work_ has quit IRC 18:21:58 <DorpsGek_III> [OpenTTD/nml] ConiKost commented on pull request #59: Simplify pillow imports and version detection https://git.io/JeK8B 18:36:08 *** andythenorth has joined #openttd 18:38:03 *** Wolf01 has joined #openttd 18:38:26 <andythenorth> FLHerne: I did wonder about dropping the NML for FIRS and teaching to write bytecode :P 18:38:32 <andythenorth> how hard can it be? o_O 18:44:17 <NGC3982> every time jeremy clarkson said those exact words at least one engine exploded 18:55:04 <andythenorth> supermop_Home: yo 18:56:46 *** supermop_work_ has joined #openttd 18:58:24 <Samu> @calc 320 * 12 18:58:24 <DorpsGek> Samu: 3840 18:59:43 <Samu> 420 means town need more time to grow 19:00:53 <andythenorth> supermop_work yo 19:02:35 <supermop_work_> Samu: that's not what 420 means here 19:07:09 <andythenorth> supermop_work: the MU thing, it's about not showing cabs in mail cars in a pax consist? 19:08:53 <supermop_work_> yeah - in case you want to cheat with one mail MU in a rake of pax ones 19:09:11 <andythenorth> agree, it's non trivial to implement 19:09:27 <andythenorth> there's no appropriate variable to check for other specific IDs in the consist 19:09:41 <andythenorth> and there are cases where the cabs are wanted 19:09:51 <andythenorth> TL;DR unlikely to change it :D 19:10:03 <andythenorth> we need controllable livery variations :P 19:10:06 <supermop_work_> ok 19:10:38 <supermop_work_> i do like cabs showing up for 3-4 car unit breaks in rake 19:11:37 <andythenorth> I haven't given up hope that we might find a way to choose appearance of a vehicle directly :P 19:12:05 <andythenorth> also 19:12:07 * andythenorth must to go 19:12:09 *** andythenorth has quit IRC 19:31:08 <Samu> what does 420 mean 19:34:20 <Samu> town grows every 200 days with 420 19:35:43 <Samu> town grows every 152 days with 320 19:36:07 <Samu> just tested 19:36:57 <Samu> in reality, every 200 days, town has a 1/12 chance to grow 19:37:21 <Samu> because 0 stations 19:37:44 <LordAro> 'm' (420) is modified quite significantly before the function returns 19:38:05 <LordAro> look up how the town's growth_rate member is used 19:47:56 <Samu> every 50 houses, t->growth_rate becomes smaller 19:51:20 <Samu> this 50 could be a more interesting variable instead 19:55:05 <Samu> something exponential 20:00:58 <DorpsGek_III> [OpenTTD/OpenTTD] timmeh87 commented on issue #7838: random crash https://git.io/JeKL5 20:04:21 *** andythenorth has joined #openttd 20:05:26 <Samu> testing dumb stuff 20:05:28 <Samu> return TownTicksToGameTicks(m / (t->cache.num_houses / (50 * min(1, t->cache.num_houses / 50)) + 1)); 20:08:10 <Samu> ops 20:10:51 <Samu> i think iwant max, not min 20:23:55 <LordAro> Samu: towns with less than 50 houses do indeed result in 0, but that's what the +1 is for 20:30:18 *** Darkvater has joined #openttd 20:30:46 <andythenorth> @seen frosch123 20:30:47 <DorpsGek> andythenorth: frosch123 was last seen in #openttd 21 hours, 36 minutes, and 17 seconds ago: <frosch123> probably russian hackers 20:33:34 <Samu> return TownTicksToGameTicks(m / (t->cache.num_houses / (50 * max((uint)1, (t->cache.num_houses / 50))) + 1)); 20:33:40 <Samu> this is what I'm trying 20:34:07 <Samu> every 50 houses, the growth needs 50 more houses 20:34:36 <Samu> 50, then +100 20:34:45 <Samu> 150, then +150 20:34:54 *** gelignite has quit IRC 20:34:56 <Samu> 300, then +200 20:35:02 <Samu> 500, then +250 20:35:10 <Samu> I think this is what it does 20:35:47 <Samu> goal is to make big towns not grow too fast 20:37:10 <andythenorth> supermop_work: I need to draw 1 (or maybe 2, but probably 1) pointless small steam engine 20:37:14 <andythenorth> what should it be? 20:37:21 <andythenorth> Toby tram? 20:38:03 <supermop_work_> id just say a saddle tank 20:39:41 <andythenorth> ?? https://bristolharbourrailway.co.uk/locomotives-and-rolling-stock/portbury/ 20:41:38 <Samu> nop, my math sucks 20:43:22 <andythenorth> engine is called grub 20:53:20 <supermop_work_> i was thinking even one of the stubbier yard type ones 20:56:36 <andythenorth> got a picture? 20:56:46 <andythenorth> needs to be 1860 appropriate :P 20:56:52 <andythenorth> but realism is not top priority 21:16:54 *** Wormnest_ has quit IRC 21:22:43 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on pull request #7840: Fix #7836: check coherency of newgrf parameter min/max https://git.io/JeK0o 21:22:45 *** Wormnest_ has joined #openttd 21:38:20 *** Darkvater is now known as DarkSSH 21:38:45 *** DarkSSH is now known as Darkvater 21:39:32 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on issue #7838: random crash https://git.io/JeKL5 21:40:26 *** Darkvater has quit IRC 21:43:42 *** Darkvater has joined #openttd 21:45:17 *** Darkvater has joined #openttd 21:45:47 *** Darkvater has joined #openttd 21:45:47 *** ChanServ sets mode: +o Darkvater 21:51:59 *** arikover has joined #openttd 21:57:06 <Samu> I need a math expert for this https://paste.openttdcoop.org/pmsrcgscu 21:57:24 <Samu> is there a formula that I can do to achieve the same results 22:01:59 <glx> uint x = t->cache.num_houses / 50 - t->cache.num_house / 100; should remove some lines 22:09:32 *** andythenorth has quit IRC 22:25:01 *** Wolf01 has quit IRC 22:34:29 <Samu> nah, doesn't quite work for 350+ 22:42:25 <Samu> num_houses is a uint32 22:57:34 <Samu> well maximum value of m is 420 22:57:42 <Samu> @calc 420 * 50 22:57:42 <DorpsGek> Samu: 21000 23:14:08 *** Progman has quit IRC 23:17:27 *** Flygon has joined #openttd 23:19:23 *** smoke_fumus has quit IRC 23:39:25 <Samu> https://paste.openttdcoop.org/p4qyjb3re 23:39:48 <Samu> need another way 23:40:14 <Samu> made it all the way to 21700, since 420 is the highest value for m 23:40:31 <Samu> glx 23:50:10 *** Samu has quit IRC 23:51:47 *** arikover has quit IRC