IRC logs for #openttd on OFTC at 2019-11-20
            
00:00:41 <Eddi|zuHause> FLHerne: iirc it writes a single RTT into the file, and writes the correct labels into it using action6
00:01:16 <Eddi|zuHause> FLHerne: the vehicles themselves only write indexes into this RTT
00:01:27 <Eddi|zuHause> which are independent from which railtype is actually chosen
00:03:38 <FLHerne> Sorry, I still don't get it
00:04:30 <FLHerne> So for your example, I could have in the vehicle properties `compatible_railtype_list: [thirdrail]` ?
00:06:46 <FLHerne> (it would be nice if the examples actually had an example)
00:06:53 <Eddi|zuHause> yes
00:07:19 <FLHerne> But RailtypeListProp.write() only writes a list of 4-byte labels
00:07:37 <Eddi|zuHause> and nml treats the "thirdrail" there as "write the numerical position in the RTT"
00:07:39 <FLHerne> So what label(s) does that end up getting mapped to, and how?
00:07:43 <FLHerne> Ah
00:08:03 <Eddi|zuHause> the vehicles don't use the labels
00:08:26 <FLHerne> I think I need to read the NFO specs more
00:08:41 <Eddi|zuHause> it's tricky sometimes, yes :)
00:08:52 <frosch123> FLHerne: the nml table is not written 1:1 into the grf
00:09:01 <frosch123> the list is transformed into an if-cascade
00:09:20 <frosch123> checking existence of each label, and then remembering the result
00:09:21 *** Etua has quit IRC
00:11:09 <Eddi|zuHause> FLHerne: if your RTT is "RAIL, ELRL, thirdrail : [blah]" then for the remainder of the GRF, the "value" of RAIL is 0, ELRL is 1 and thirdrail is 2
00:14:29 *** zvxb has quit IRC
00:17:16 *** Progman has quit IRC
00:18:45 <FLHerne> Oh, I see why I couldn't find it
00:19:16 *** Flygon has joined #openttd
00:19:26 <FLHerne> All the constant ID lowering just uses const_list, which the railtype IDs get folded into...?
00:19:57 <FLHerne> So it'll cheerfully accept any random ID referring to something else entirely
00:20:10 <FLHerne> There doesn't even seem to be a range check
00:20:18 * FLHerne tries
00:23:31 <Eddi|zuHause> FLHerne: i've had some creative uses of these IDs in #7000
00:25:48 <FLHerne> Yep, I can have a vehicle with road type CLIMATE_TOYLAND
00:25:52 <FLHerne> Because why the hell not
00:26:32 *** Thedarkb-X40 has joined #openttd
00:28:51 <glx> I tried to see what should be done for nml#57, seems it won't be easy
00:29:37 <glx> parsing complicates things
00:30:14 <FLHerne> I'm increasingly getting the impression that nmlc internals are a bit of a mess :-/
00:30:47 <glx> MAX_UINT32 is parsed as -1
00:31:18 *** Etua has joined #openttd
00:33:52 <FLHerne> From a byte point of view, that should be equivalent?
00:34:11 <FLHerne> Presumably if OTTD crashes it's being treated as a signed integer
00:34:23 <FLHerne> so MAX_UINT32 would be out-of-range also
00:34:45 <glx> and ConstantNumeric are truncated to int32, so not even range checked
00:35:16 <glx> no it's treated as unsigned in OTTD
00:35:26 <glx> the crash is because min > max
00:35:36 <glx> so empty dropdown
00:36:02 <glx> for MAX_UINT32 to 1 ;)
00:36:21 <glx> but on OTTD side it's easy to fix
00:37:30 <glx> there are other issues on OTTD, it's impossible to enter values above MAX_INT32 in the GUI
00:37:47 <glx> unless you click on the arrow
00:40:13 *** nielsm has joined #openttd
00:48:15 *** nielsm has quit IRC
00:48:30 *** Samu has quit IRC
00:55:01 *** supermop_work_ has quit IRC
00:56:21 *** supermop_work_ has joined #openttd
00:57:14 *** Etua has quit IRC
01:04:10 <DorpsGek_III> [OpenTTD/OpenTTD] frosch123 opened pull request #7841: Revert #7837, 7e22f243e: OpenTTD tries to replicate the original game mechanics. https://git.io/JeKjr
01:26:32 *** supermop_work_ has quit IRC
01:28:28 *** supermop_work_ has joined #openttd
01:31:07 *** frosch123 has quit IRC
01:47:18 *** snail_UES_ has quit IRC
02:01:44 *** snail_UES_ has joined #openttd
02:08:00 <supermop_work_> well here i am still at work
02:17:48 *** HerzogDeXtEr has quit IRC
02:20:17 <DorpsGek_III> [OpenTTD/OpenTTD] James103 commented on issue #7839: [Suggestion] Addition of cargo icons in the corporate Industries window and all own windows of industries https://git.io/JeKsc
02:30:48 <DorpsGek_III> [OpenTTD/nml] glx22 opened pull request #61: Add: debug_print for GRF parameters https://git.io/Je6vZ
02:33:24 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 approved pull request #7841: Revert #7837, 7e22f243e: OpenTTD tries to replicate the original game mechanics. https://git.io/Je6vl
03:17:41 *** snail_UES_ has quit IRC
03:24:39 *** WormnestAndroid has quit IRC
03:25:28 *** WormnestAndroid has joined #openttd
03:50:43 *** supermop_work_ has quit IRC
03:54:24 *** supermop_work_ has joined #openttd
03:59:19 *** Wormnest has joined #openttd
04:24:37 *** supermop_work_ has quit IRC
04:28:12 *** supermop_work_ has joined #openttd
04:33:30 *** D-HUND has joined #openttd
04:36:52 *** debdog has quit IRC
04:52:04 *** D-HUND is now known as debdog
04:55:53 *** glx has quit IRC
04:58:24 *** supermop_work_ has quit IRC
04:59:43 *** supermop_work_ has joined #openttd
05:29:57 *** supermop_work_ has quit IRC
05:32:47 *** supermop_work_ has joined #openttd
05:47:53 *** Wormnest has quit IRC
06:03:00 *** supermop_work_ has quit IRC
06:05:36 *** supermop_work_ has joined #openttd
06:35:47 *** supermop_work_ has quit IRC
06:41:10 *** supermop_work_ has joined #openttd
07:11:24 *** supermop_work_ has quit IRC
07:11:52 *** supermop_work_ has joined #openttd
07:23:03 *** Eddi|zuHause has quit IRC
07:24:19 *** Eddi|zuHause has joined #openttd
07:43:06 *** supermop_work_ has quit IRC
07:46:35 *** supermop_work_ has joined #openttd
08:12:45 *** andythenorth has joined #openttd
08:16:50 *** supermop_work_ has quit IRC
08:18:23 <DorpsGek_III> [OpenTTD/OpenTTD] andythenorth commented on issue #7839: [Suggestion] Addition of cargo icons in the corporate Industries window and all own windows of industries https://git.io/JeKsc
08:21:06 *** supermop_work_ has joined #openttd
08:51:20 *** supermop_work_ has quit IRC
08:52:01 *** supermop_work_ has joined #openttd
09:01:40 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro merged pull request #7841: Revert #7837, 7e22f243e: OpenTTD tries to replicate the original game mechanics. https://git.io/JeKjr
09:02:47 <andythenorth> on that front
09:03:07 * andythenorth wonders about fixing the broken original game mechanics :P
09:03:22 <andythenorth> if only there was some abstraction layer to do that, without changing the C++
09:03:44 <LordAro> which ones? there are so many
09:04:15 <andythenorth> industry closure
09:04:22 <andythenorth> town restrictions
09:04:28 <andythenorth> base vehicles not refitting
09:04:30 <andythenorth> lack of trams
09:04:31 <andythenorth> no AI
09:04:46 <andythenorth> airport limits
09:05:16 <andythenorth> it was inspired by this https://www.tt-forums.net/viewtopic.php?f=32&t=86324
09:05:41 <andythenorth> which led me to https://www.tt-forums.net/viewtopic.php?p=735659#p735659
09:06:19 <andythenorth> 10 years of the same problem, and for whatever reason, the game doesn't guide people to the DLC that fixes this stuff
09:07:28 <LordAro> sounds like you're suggesting that ogfx+ be bundled with the game
09:11:35 <andythenorth> kinda
09:11:38 <andythenorth> or easier to find
09:11:39 <andythenorth> or something
09:11:57 <andythenorth> I also was thinking separately about sandbox mode
09:12:08 <andythenorth> equivalent of creative vs. survival in Minecraft
09:12:28 <andythenorth> wondering if this can all be bundled into some kind of 'choose a config'
09:13:41 <andythenorth> 'Original', 'Competitive updated (New Coke mode)', 'Sandbox'
09:14:04 <andythenorth> https://en.wikipedia.org/wiki/New_Coke :P
09:23:45 *** supermop_work_ has quit IRC
09:25:46 *** andythenorth has quit IRC
09:26:48 *** supermop_work_ has joined #openttd
09:48:46 *** andythenorth has joined #openttd
09:55:48 *** WormnestAndroid has quit IRC
09:56:00 *** WormnestAndroid has joined #openttd
09:57:02 *** supermop_work_ has quit IRC
10:02:07 *** supermop_work_ has joined #openttd
10:17:02 <DorpsGek_III> [OpenTTD/OpenTTD] Eric-01 commented on issue #7839: [Suggestion] Addition of cargo icons in the corporate Industries window and all own windows of industries https://git.io/JeKsc
10:32:21 *** supermop_work_ has quit IRC
10:35:03 *** supermop_work_ has joined #openttd
10:37:05 <andythenorth> supermop_work: what TZ are you in now anyway? :P
10:41:13 *** andythenorth has quit IRC
10:42:11 *** andythenorth has joined #openttd
10:45:36 *** andythenorth has quit IRC
11:05:18 *** supermop_work_ has quit IRC
11:05:43 *** supermop_work_ has joined #openttd
11:12:20 *** dwfreed is now known as Guest8317
11:12:21 *** dwfreed has joined #openttd
11:13:28 *** Arveen2 has joined #openttd
11:13:35 *** Guest8317 has quit IRC
11:20:41 *** Arveen has quit IRC
11:35:56 *** supermop_work_ has quit IRC
11:39:22 *** supermop_work_ has joined #openttd
11:41:54 *** Samu has joined #openttd
12:10:06 *** supermop_work_ has quit IRC
12:11:00 *** supermop_work_ has joined #openttd
12:35:49 *** Wormnest has joined #openttd
12:41:14 *** supermop_work_ has quit IRC
12:43:45 *** supermop_work_ has joined #openttd
13:13:59 *** supermop_work_ has quit IRC
13:16:25 *** supermop_work_ has joined #openttd
13:28:03 *** Wormnest has quit IRC
13:43:38 *** andythenorth has joined #openttd
13:47:40 *** supermop_work_ has quit IRC
13:48:05 *** supermop_work_ has joined #openttd
13:52:29 *** Flygon has quit IRC
14:04:12 *** Laedek has quit IRC
14:18:19 *** supermop_work_ has quit IRC
14:18:44 *** supermop_work_ has joined #openttd
14:48:58 *** supermop_work_ has quit IRC
14:49:59 *** supermop_work_ has joined #openttd
15:11:21 <supermop_work_> andythenorth: eastern standard
15:20:52 <andythenorth> up early
15:23:30 <peter1138> Did it lunch time yet?
15:23:34 <peter1138> I hope so because I had my... salad...
15:30:05 <andythenorth> I had some toast
15:30:08 <andythenorth> and cookies
15:30:11 <andythenorth> no salad though :(
15:31:05 <peter1138> No macaroni cheese?
15:31:37 <peter1138> I "pigged out" and had a peperami too. And a plum. And a mini cinnamon bite thing. Yeah, normal amount of food really.
15:35:13 *** nielsm has joined #openttd
15:53:11 <Arveen2> spinach cannelloni reporting in
16:03:53 <peter1138> Yum.
16:07:55 *** WormnestAndroid has quit IRC
16:09:56 *** WormnestAndroid has joined #openttd
16:10:32 *** WormnestAndroid has quit IRC
16:12:35 *** WormnestAndroid has joined #openttd
16:26:51 *** m1cr0man has quit IRC
16:30:47 *** andythenorth has quit IRC
16:53:01 *** sla_ro|master has joined #openttd
16:57:37 *** andythenorth has joined #openttd
17:05:28 *** WormnestAndroid has quit IRC
17:08:20 *** Wormnest has joined #openttd
17:24:47 *** andythenorth has quit IRC
17:26:46 <Samu> hi
17:33:03 *** zvxb has joined #openttd
17:45:03 *** andythenorth has joined #openttd
17:46:06 <andythenorth> yo
17:46:15 <andythenorth> so what what eh? :)
17:54:13 *** WormnestAndroid has joined #openttd
18:12:37 *** Compu has joined #openttd
18:38:24 *** frosch123 has joined #openttd
18:49:06 <DorpsGek_III> [OpenTTD/nml] FLHerne opened pull request #62: Mechanical cleanups https://git.io/Je6WP
18:59:45 *** HerzogDeXtEr has joined #openttd
19:05:21 *** Progman has joined #openttd
19:13:00 *** Wolf01 has joined #openttd
19:24:21 <DorpsGek_III> [OpenTTD/nml] andythenorth commented on pull request #62: Mechanical cleanups https://git.io/Je6l0
19:24:26 <DorpsGek_III> [OpenTTD/nml] andythenorth merged pull request #62: Mechanical cleanups https://git.io/Je6WP
19:25:03 <FLHerne> andythenorth: Ta
19:25:06 <andythenorth> so anyone written the November blog post?
19:25:26 <andythenorth> FLHerne: nah thanks to you, nml was suffering from lack of attention
19:25:37 <andythenorth> it's good to see housekeeping commits
19:30:18 *** glx has joined #openttd
19:30:18 *** ChanServ sets mode: +v glx
19:34:42 *** supermop_work_ has quit IRC
19:35:35 *** tokai|noir has joined #openttd
19:35:35 *** ChanServ sets mode: +v tokai|noir
19:37:47 *** supermop_work_ has joined #openttd
19:42:33 *** tokai has quit IRC
19:45:47 <DorpsGek_III> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://git.io/Je6lj
19:45:47 <DorpsGek_III> - Update: Translations from eints (by translators)
19:57:14 *** Laedek has joined #openttd
20:20:29 *** tokai has joined #openttd
20:20:29 *** ChanServ sets mode: +v tokai
20:22:43 *** supermop_work_ has quit IRC
20:23:08 *** supermop_work_ has joined #openttd
20:27:29 *** tokai|noir has quit IRC
20:39:51 <andythenorth> hmm
20:39:59 <andythenorth> what to do next? :D
20:40:15 <Wolf01> Tanks
20:42:22 <andythenorth> done that
20:42:33 <andythenorth> 44% WR today, despite getting unicum stats
20:42:37 <andythenorth> bored of tanks
20:42:49 <andythenorth> another vote for vehicle livery options btw :P https://www.tt-forums.net/viewtopic.php?f=26&t=68616&p=1226922#p1226920
20:43:39 <frosch123> make the color depend on the purchase date
20:43:50 <frosch123> then wagons bought at the same time have the same color
20:43:58 <frosch123> while different trains still have different colour
20:44:06 <frosch123> or, use the random bits of the engine
20:44:34 <frosch123> but then the color changes when rearranging trains
20:44:44 <Eddi|zuHause> iirc DBSet had a parameter for "use the same random bits for all wagons" or "randomize each wagon individually"
20:45:22 <Wolf01> I still think you should 1) bind a stat to a colour -or- 2) bind the colour to the reliability, so more dirty = less realiability
20:45:29 <andythenorth> oh I could do a parameter trivially
20:45:33 <frosch123> Eddi|zuHause: still about 8 months until 19-19-19
20:45:38 <andythenorth> I'm just not interested in parameters
20:45:50 <andythenorth> they're bad for QA and they cement the code
20:46:01 <Wolf01> frosch123: wtf?
20:46:31 <Eddi|zuHause> Wolf01: that's a running gag
20:46:46 <Eddi|zuHause> Wolf01: because the last dbset release was on 05-05-05
20:47:02 <Wolf01> Ha
20:47:03 <Eddi|zuHause> iirc we started with a projected release date for 0.9 on 10-10-10
20:47:05 <frosch123> andythenorth: yesterday you welcomed parameters :p https://www.tt-forums.net/download/file.php?id=136830
20:47:12 <Eddi|zuHause> and incremented that every time the date passed :p
20:48:09 <frosch123> so, next year is 10th aniversary of 10-10-10 ?
20:48:21 <Eddi|zuHause> frosch123: of course, andy sometimes flips on decisions like that twice in a day :p
20:48:22 <andythenorth> I welcome parameters in other people's code :P
20:48:46 <andythenorth> I am -1 for code I have to test
20:49:40 <andythenorth> also many things which are very slightly connected
20:49:42 <andythenorth> sandbox mode
20:50:02 <andythenorth> augmenting the out-of-the-box game with some default grfs
20:50:09 <andythenorth> 'fixing' industry closure :P
20:50:28 <andythenorth> and a specific question
20:50:42 <frosch123> i still don't get why closure is such a big deal...
20:50:43 <andythenorth> is there any reason we couldn't replace the industries with a base newgrf?
20:51:14 <andythenorth> I think closure just ruined a game for me in 1994 and I never forgot since :P
20:51:17 <frosch123> i think it happened like twice to me, in i-dont-know-how-many-games
20:51:57 <Eddi|zuHause> frosch123: i found evidence for a 11-11-11
20:52:32 <frosch123> oh, at some point i made it a challenge to reanimate industries that were down to like 32/month
20:53:06 <frosch123> pushing service to >90% for best odds
20:53:26 <andythenorth> I had forgotten the non-supplies mechanic :)
20:53:52 <andythenorth> far down my to-do list: parameter option to combine supplies with default transported mechanice :P
20:55:02 <andythenorth> unrelated: if the solution to daylength is removing dates, does that apply automatically in sandbox mode?
20:55:09 <andythenorth> or is it a separate setting?
20:55:50 <frosch123> anyway, what about: 1) hard code ogfx+ download into ottd, 2) make a simple gui to select between "original gameplay", "modern gameplay (ogfx+)" and "custom" (today's newgrf gui). 3) append newgrf settings to the general settings tree
20:56:38 <frosch123> essentially reversing the "configure newgrf and safe/load as preset" into "select preset or create new one"
20:56:48 <andythenorth> yes
20:56:49 <andythenorth> that
20:56:59 <Eddi|zuHause> how much of this came true? http://www.tt-ms.de/forum/showthread.php?tid=1284&pid=77442#pid77442
20:57:00 *** HerzogDeXtEr1 has joined #openttd
20:57:17 <andythenorth> my German is awesome, but not that awesome
20:57:32 <andythenorth> if you want to find the Rathaus, and it's down the first street on the left, I can help
20:57:37 <andythenorth> but otherwise not
20:57:56 <Eddi|zuHause> andythenorth: it's a list of projects that need to be finished, and a snark at not using bananas
20:58:52 <Eddi|zuHause> (and the next half dozen replies are about that last bit)
20:59:19 <andythenorth> oof I think you could apply all this to me :P http://www.tt-ms.de/forum/showthread.php?tid=1284&pid=77442#pid77442
20:59:29 <andythenorth> do you know the reason that DB Set is not finished?
20:59:31 <frosch123> hmm, we never partied 10 years of bananas
21:00:32 <frosch123> andythenorth: the reviews for duke nukem forever were terrible
21:00:36 <Eddi|zuHause> this one is great :p http://www.tt-ms.de/forum/showthread.php?tid=1284&pid=78142#pid78142
21:00:45 <andythenorth> the reason it's not finished is....I AM MB!
21:00:51 <andythenorth> it's like Fight Club
21:02:35 *** HerzogDeXtEr has quit IRC
21:04:05 <Eddi|zuHause> so, i haven't found any clues to a 10-10-10
21:05:47 <frosch123> Eddi|zuHause: your first link goes to page 62 of 110 :p
21:06:00 <Eddi|zuHause> yes
21:06:18 <frosch123> did any development happen after that? or are there 50 pages about the release date?
21:06:32 <Eddi|zuHause> there definitely was
21:10:08 <Eddi|zuHause> frosch123: around 2014 we had some private conversations about technical details of longer wagons (like avoiding most glitches)
21:10:23 <Eddi|zuHause> and there were some vehicle additions
21:11:40 <Eddi|zuHause> and think the standard-railtype-scheme stuff might have spilt over into that topic as well
21:12:48 <frosch123> what? does that mean all the DBxx labels are not used? https://newgrf-specs.tt-wiki.net/wiki/RailtypeLabels
21:19:19 <Eddi|zuHause> yeah, i don't think so
21:20:09 <andythenorth> oh dear Eddi|zuHause is a daylength user :( http://www.tt-ms.de/forum/showthread.php?tid=1284&pid=80133#pid80133
21:20:29 <andythenorth> that might be the most shocking Eddi|zuHause revelation so far
21:20:47 <frosch123> uhm, Eddi|zuHause, wouldn't it be better if andy played tanks again, instead of reading tt-ms?
21:20:59 *** gelignite has joined #openttd
21:21:05 <andythenorth> I should be drawing a fish farm
21:21:14 <Eddi|zuHause> andythenorth: how is that news?
21:21:21 <andythenorth> it's shocking to me
21:21:28 <andythenorth> I didn't know you even played OpenTTD :O
21:21:37 <Eddi|zuHause> i'm also using "daylength" in transport fever
21:21:49 <Eddi|zuHause> andythenorth: have you looked on those dates?
21:21:58 <andythenorth> 11.11.11?
21:22:23 <Eddi|zuHause> "17. Mai 2011" <-- that was probably one of the last times i actually played the game
21:22:42 <andythenorth> hjmm
21:22:57 <andythenorth> I wonder how distorted my view of OpenTTD is compared to most players
21:23:15 <andythenorth> probably pretty far along the curve
21:23:50 <frosch123> just imagine how distorted it would be if you used daylength?
21:25:43 <andythenorth> I rely on empathy to design things (UI, products) for lots of people who are not really like me
21:25:56 <andythenorth> but I can't see any way to empathise with desire for daylength :P
21:27:09 <andythenorth> case 1: "I want vehicle models to be around for longer"
21:27:19 <andythenorth> - simply adjust all the dates in your newgrfs and recompile
21:27:30 <andythenorth> case 2: "I want a lot less cargo to transport"
21:27:31 <Eddi|zuHause> andythenorth: i heard transport fever 2 gets a "stoped date" mode, where all the usual simulation stuff (like maintenance costs) runs further, but the technological date stays the same
21:27:41 <andythenorth> - simply recompile your industry grf with new values
21:27:53 <andythenorth> case 3: "I want vehicles to take much longer to travel x distance"
21:27:56 <andythenorth> - wtf? why?
21:28:26 <andythenorth> Eddi|zuHause: groundhog day mode? "It's always 1963" ?
21:28:34 <Eddi|zuHause> yeah, something like that
21:29:15 <andythenorth> hmm
21:29:26 <andythenorth> I guess most people don't have the 'take things apart and look inside' mentality I have :P
21:29:55 <andythenorth> and the content APIs are pitched at exactly the level of programming I have done for all my life
21:29:57 <Eddi|zuHause> andythenorth: the problem is, that you don't always have access to good methods to edit all those things yourself
21:30:21 <Eddi|zuHause> andythenorth: especially if your aim is at some large conglomerate from various authors that must all fit together
21:30:35 <andythenorth> yeah
21:30:43 <andythenorth> that various authors thing :P
21:30:46 <andythenorth> I abandoned that
21:34:47 <andythenorth> what if newgrfs could be modified in place?
21:34:54 <andythenorth> and that could be saved in a config?
21:35:08 <andythenorth> monkey patch
21:35:14 <frosch123> nah, that requires testing
21:36:21 <andythenorth> hmm
21:36:50 *** Thedarkb-X40 has quit IRC
21:37:22 <frosch123> i am confused, who is trolling who?
21:37:32 <andythenorth> I no longer know
21:38:31 <frosch123> grf parameters require qa and cement the code or something
21:39:19 *** Wormnest has quit IRC
21:39:40 *** sla_ro|master has quit IRC
21:40:29 <andythenorth> I was thinking we could actually monkey patch
21:40:46 <andythenorth> just turn 'newgrf debug' into an editor
21:40:53 <andythenorth> then save the values in the savegame
21:44:24 *** tokai|noir has joined #openttd
21:44:24 *** ChanServ sets mode: +v tokai|noir
21:47:59 *** Wormnest has joined #openttd
21:51:20 *** tokai has quit IRC
21:51:35 <andythenorth> there could be a UI before the game starts
21:51:41 <andythenorth> showing all defined newgrf items
21:51:47 <andythenorth> and their props
21:52:13 <andythenorth> eh callbacks might be harder :(
22:15:07 <Eddi|zuHause> i thought newgrfs are already monkey patching?
22:24:45 <andythenorth> monkey patch the monkeys
22:28:06 <frosch123> just so i got this right: you can use the monkey upload service ape to upload monkey patches to bananas?
22:28:49 <andythenorth> maybe
22:44:51 *** nielsm has quit IRC
22:59:50 <frosch123> [brexit trigger] https://twitter.com/MarcherLord1/status/1193259681256558592 <- Eddi|zuHause: is that tweet as funny to you as it is to me? :p
23:00:32 <Eddi|zuHause> "They did just fine" <- which history class has he skipped?
23:02:00 <frosch123> yep, while many replies point to wrong statements, none get to that point :p
23:02:09 <Eddi|zuHause> if "The economy completely collapsed and still hasn't recovered after 30 years" is their vision of a successful brexit...
23:05:24 <andythenorth> I am not looking
23:05:35 <andythenorth> I don't really get brexit triggered :P
23:05:36 <Eddi|zuHause> frosch123: that conan gif is summing up my initial reaction about right
23:05:39 <andythenorth> but twitter :P
23:06:30 <glx> it's a safe tweet
23:07:09 <frosch123> andythenorth: usually i only encounter the tweets of german fascists , brexit tweets are similar but refreshing
23:08:44 <Eddi|zuHause> ... i don't know where you get your tweets from. but the way bubbles work is usually "look at how ridiculous the people on the other side are", and then the most extreme version of the opposing viewpoint possible
23:10:51 <andythenorth> is it bedtime?
23:13:01 <Eddi|zuHause> it should probably be, if i were normal...
23:14:42 *** Wolf01 has quit IRC
23:15:09 <andythenorth> fish farm? https://dev.openttdcoop.org/attachments/download/9535/fish_farm_1.png
23:19:06 <frosch123> interesting, so in addition to "ports should not be in lakes, only at sea", you get "fish farms should not be at sea, only in lakes"
23:19:40 <andythenorth> perhaps
23:19:49 <andythenorth> I use 'newgame' a lot until I get what I want :P
23:19:58 <andythenorth> norway has little houses for fish farms https://www.123rf.com/photo_65604452_norwegian-fish-farm-for-salmon-growing-in-natural-environment-sea-fjord-in-trondheim-region-norway.html
23:20:07 <Eddi|zuHause> why is that corner broken like this?
23:20:17 <andythenorth> I was going to put a building on the coast :P
23:20:23 <andythenorth> but I might put it on a sea tile instead
23:20:57 <andythenorth> hmm ports not in lakes
23:20:58 <frosch123> Eddi|zuHause: between the water and the grass you can see uninitialised memory
23:21:03 <andythenorth> how long can I tile search for?
23:21:08 <frosch123> maybe you can find a password there
23:21:14 <Eddi|zuHause> just make a check "shore in X distance", doesn't have to be lake
23:21:30 <andythenorth> for fish farms yes
23:21:40 <andythenorth> ports are a different challenge :P
23:21:57 <andythenorth> what's max varaction 2 chain length? :P
23:22:29 <Eddi|zuHause> unlimited, if you reuse the same ID :p
23:22:41 <Eddi|zuHause> (so no branches)
23:23:39 <Eddi|zuHause> but you don't actually have to check all the tiles, to be reasonably sure you're in a large body of water
23:24:07 <andythenorth> maybe we could let newgrf run a pathfinder :P
23:24:51 <Eddi|zuHause> pathfind to (0,0), allowing only water and void tiles?
23:25:47 <andythenorth> o_O
23:25:55 <andythenorth> yes
23:26:09 <andythenorth> all it needs is a bool result
23:26:31 <andythenorth> I imagine on larger maps this is completely untenable for performance :P
23:27:23 <Eddi|zuHause> only if there are no suitible locations
23:27:49 <andythenorth> isn't pathfinding arbitrary tiles incredibly slow?
23:28:14 <Eddi|zuHause> a few dozen pathfinder runs are not important, but if it fails the first few, industry generation is cranked up to a few thousand attempts
23:28:56 <andythenorth> what do K-D trees do again? :P
23:29:02 <Eddi|zuHause> andythenorth: no, what's slow (e.g. for ships) is that it's called repeatedly, very often
23:29:04 <frosch123> andythenorth: ships have to consider their orientation (12 per tile), you don't need that, so you are 12 times faster than a single ship
23:30:07 * andythenorth wonders about 'just' caching the result
23:30:16 <andythenorth> and allowing the cache might occasionally be outdated
23:30:34 <andythenorth> water tiles don't change very frequently in a game
23:30:43 <Eddi|zuHause> andythenorth: that's very pointless
23:30:49 <andythenorth> ok
23:30:49 <Eddi|zuHause> probably
23:32:01 <Eddi|zuHause> andythenorth: the only time where a cache would even do anything is during map generation... otherwise it's just a single run on user interaction
23:32:21 <Eddi|zuHause> that's not going to be performance relevant
23:32:56 <andythenorth> I was proposing the cache is at game start, and is just a list of valid tiles
23:33:20 <andythenorth> it's not a good idea
23:33:28 <andythenorth> this is a marginal feature already :P
23:34:12 <andythenorth> getting a nice map with no trapped ports usually only takes 20-30 attempts
23:34:54 <frosch123> when your opponent services a port, can you wall it in with landscaping, and it will close down?
23:35:31 <andythenorth> I suspect....not
23:35:41 <andythenorth> unless you would like to fork FIRS
23:36:00 <frosch123> can i make it a setting?
23:36:25 <andythenorth> in your fork yes
23:36:40 <andythenorth> when do FIRS forks get into double digits?
23:36:48 <andythenorth> I am aware of at least 5
23:37:12 <frosch123> they all fork the generated nml
23:38:12 <andythenorth> does that count?
23:38:17 <frosch123> did they ask stallman what to do when something is "generated" for some and "preferred form for editign" for others?
23:38:57 <frosch123> maybe "bed" wasn't such a bad idea
23:39:38 <andythenorth> I started playing OpenTTD :P
23:40:07 <andythenorth> did Eddi|zuHause finish his town layout improvements yet?
23:40:16 <andythenorth> it's taking nearly as long as DB Set XL
23:40:19 <Eddi|zuHause> no?
23:40:27 <Eddi|zuHause> i never finish anything, ever.
23:40:59 *** josef[m]1 has joined #openttd
23:45:13 <frosch123> you missed an opportunity to not finish that senten
23:46:16 <FLHerne> andythenorth: Case 1 isn't solved by changing grf dates if you want 'realism'
23:46:40 <andythenorth> it is for me
23:46:51 <FLHerne> andythenorth: Which is why most people want to have slower vehicle progression in the first place, so they can actually get around to using all the random vehicles
23:47:07 <andythenorth> actually no, I've spent far too long making Horse dates 'nearly realistic' :P
23:47:14 <andythenorth> even though the trains are 'mostly fake'
23:48:00 <FLHerne> andythenorth: For me, the whole point of daylength is that I can use UKRS2+'s weird 1st-gen diesels for more than an hour or two before scrapping them all :P
23:48:11 <andythenorth> I played a daylength patch once
23:48:18 <andythenorth> it simply reset the date 50% of the time
23:48:36 <FLHerne> I agree, case 2 is orthogonal to daylength and tying together is silly
23:48:43 <andythenorth> it was a couple of lines, I'm sure Eddi|zuHause gave me the patch :P
23:48:54 <FLHerne> Yeah, that's basically what I want
23:49:14 <andythenorth> hmm, new game
23:49:20 <andythenorth> will I ever use this silly snowplough?
23:49:25 <FLHerne> And I don't think case 3 has ever been requested or implemented by anyone?
23:49:34 <FLHerne> Well, there's always one
23:49:47 <FLHerne> But it's not a thing
23:49:58 <andythenorth> there was one in the forums
23:50:11 <Eddi|zuHause> andythenorth: no, that was not by me
23:51:12 <FLHerne> Really? Why?!
23:51:25 <FLHerne> https://www.youtube.com/watch?v=3nTSubYzQOM is rather impressive
23:51:48 <FLHerne> [Wednesday, 20 November 2019] [12:54:26 GMT]<FLHerne> Are we betting on whether Mk1 blows up before it even flies?
23:51:54 <FLHerne> ^ called it, too :D
23:52:44 <andythenorth> sandbox mode needs to allow me to demolish town bridges :P
23:52:57 *** Progman has quit IRC
23:56:05 *** HerzogDeXtEr1 has quit IRC
23:59:12 *** andythenorth has left #openttd