Config
Log for #openttd on 24th December 2019:
Times are UTC Toggle Colours
00:08:29  *** nielsm has quit IRC
00:10:56  *** Wormnest has quit IRC
00:24:03  *** Progman has quit IRC
00:27:26  *** Wormnest has joined #openttd
00:42:52  *** hythlodaeus has joined #openttd
00:43:02  <hythlodaeus> hi guys, a little help with strgen?
00:43:23  <hythlodaeus> whenever I try to create english.lng, the file is generated with a bunch of warnings
00:43:47  <hythlodaeus> and then the game says 393 strings are missing, although the file appears to load just fine
00:45:50  <hythlodaeus> warning look like this
00:45:51  <hythlodaeus> https://pastebin.com/6vz5hwHV
00:47:56  <Eddi|zuHause> dunno what you're trying to do there
00:48:33  <Eddi|zuHause> seems like it's trying to compile english as a "slave" language instead of the "master" language
00:48:34  *** luaduck has quit IRC
00:48:55  *** luaduck has joined #openttd
00:49:21  <Eddi|zuHause> things like "{STRING1}" are only allowed in the master language
00:51:32  <hythlodaeus> Well I'm editing the main english.txt
00:51:41  <hythlodaeus> I need to turn it into an English.lng file
00:52:27  <hythlodaeus> so I'm just doing ./strgen english.txt
00:54:03  <planetmaker> $(LANGS): %.lng: $(LANG_DIR)/%.txt $(STRGEN) lang/english.txt
00:54:03  <planetmaker>         $(E) '$(STAGE) Compiling language $(*F)'
00:54:03  <planetmaker>         $(Q)./$(STRGEN) $(STRGEN_FLAGS) -s $(LANG_DIR) -d $(LANG_OBJS_DIR) $< $(LANG_ERRORS) && cp $@ $(BIN_DIR)/lang || true # Do not fail all languages when one fails
00:55:12  <planetmaker> but... the source code of table/strings.h depends on english.txt
00:55:41  <planetmaker> but likely just adds a list of strings there by name
00:57:27  *** snail_UES_ has quit IRC
00:59:08  <hythlodaeus> so in order to get the a properly edited english.lng
00:59:17  <hythlodaeus> I have to compile the whole thing every time?
01:00:45  <planetmaker> I don't think so. But if you add or remove strings or shuffle them in english.txt
01:00:58  <planetmaker> changing their text should not require that
01:02:09  <hythlodaeus> i mean like i said, it makes the english.lng just fine but
01:02:19  <hythlodaeus> it prints a warning message in the main menu
01:03:11  <glx> english.txt compilation should not generate these warnings
01:03:24  <planetmaker> other english translations might though :)
01:03:32  <planetmaker> do you use British English locale?
01:04:41  <hythlodaeus> how so? in my OS?
01:05:10  <planetmaker> well, yes. OpenTTD defaults to what is your system default. Unless you explicitly change the language ingame
01:12:53  <hythlodaeus> I'm using US locale right now
01:13:15  <hythlodaeus> but that shouldn't affect how strgen does things
01:19:06  *** Video_Game_Play has quit IRC
01:21:59  <glx> "strgen english.txt" should work
01:23:51  <hythlodaeus> it does but
01:23:56  <hythlodaeus> warnings are still there
01:24:01  <hythlodaeus> it's just odd
01:25:05  <glx> is english.txt in the current directory ?
01:26:44  <hythlodaeus> I made make install and put it usr/local/share/openttd/lang
01:28:22  <glx> what's the exact command you type ?
01:31:05  <hythlodaeus> oh wait, english.txt
01:31:19  <hythlodaeus> that's in obj/lang/
01:31:35  <hythlodaeus> I type ./strgen english.txt
01:32:38  *** Maarten has quit IRC
01:38:17  <glx> ok it's silly, indeed ./strgen english.txt warns
01:39:36  <glx> but "./strgen ../<dir>/english.txt" works
01:42:50  <glx> oh ./strgen ./english.txt also works
01:44:54  <glx> oh of course, it's the way strgen detects input being english.txt, it needs a PATHSEPCHAR ie '/'
01:46:27  <hythlodaeus> that fixed it, thanks!
02:26:39  *** Maarten has joined #openttd
03:00:29  *** hythlodaeus has quit IRC
03:12:21  *** Wormnest has quit IRC
03:13:42  *** D-HUND has joined #openttd
03:17:02  *** debdog has quit IRC
03:19:03  *** Maarten has quit IRC
04:04:18  *** glx has quit IRC
04:15:17  *** Wormnest has joined #openttd
04:24:08  *** Wormnest has quit IRC
05:47:34  *** sla_ro|master has joined #openttd
06:11:36  <DorpsGek_III> [OpenTTD/OpenTTD] janisozaur commented on pull request #7853: Improve MSVC ARM64 support https://git.io/JeF14
07:03:48  *** tycoondemon has joined #openttd
07:48:40  *** andythenorth has joined #openttd
07:53:13  <andythenorth> o/
08:01:53  <Pikka> o/
08:06:50  <andythenorth> moin pikka bob
08:06:52  <andythenorth> what is haps?
08:07:13  <Pikka> tinkering with civi
08:07:25  <Pikka> release this afternoon, then other people can find me bugs for christmas
08:08:01  <andythenorth> huzzah
08:08:20  <andythenorth> think I've nearly finished Horse engine decision
08:08:38  <andythenorth> 16 hours non-stop pondering :P
08:08:48  <andythenorth> NO GARRATT
08:08:58  <Pikka> good choice
08:09:05  <andythenorth> I had a look at UKRS 2
08:09:18  <andythenorth> going to continue the proven pattern of Iron Horse = UKRS99
08:09:28  <andythenorth> I need a jubilee
08:10:08  <Pikka> everyone needs a jubilee
08:10:11  <Eddi|zuHause> i think i need to customize the wine version that runs in steam, but i really don't want to
08:10:34  <andythenorth> also going to....hmm counting on fingers
08:10:38  <Eddi|zuHause> andythenorth: tried the jubilee line instead?
08:10:54  <andythenorth> hmm...at least 6 more wagon types
08:11:12  <andythenorth> seems there's no upper limit :P
08:11:23  <Pikka> one wagon!
08:11:28  <Pikka> everything in a mineral truck!
08:11:46  <Pikka> or a van! then no cargo graphics to draw!
08:11:50  <andythenorth> the irony
08:12:00  <andythenorth> I will screenshot
08:13:37  <andythenorth> containers, refit 'any available' https://dev.openttdcoop.org/attachments/download/9552/van-madness.png
08:13:55  <andythenorth> this is the main route in my current game :P
08:14:18  <SpComb> has anyone documented how the Infrastructure Sharing patches in jgrpp interact with cargodist for pax? I've seen trains in shared stations pick up transfer passengers, but the link graph looks kinda weird
08:14:36  * andythenorth should do container platforms for CHIPS
08:14:38  <andythenorth> oof
08:14:47  <Eddi|zuHause> SpComb: the linkgraph should have no real problems
08:14:55  <Eddi|zuHause> mabe the display is wrong?
08:17:20  <SpComb> hm, the overlay had an option to show the link graph for other companies, I guess I only need to enable that? It was only showing the outgoing edge for my shared station
08:17:51  <Pikka> andythenorth, if you're revisiting CHIPS, callback 18 please so the AI can build the platforms too :)
08:18:29  <andythenorth> noted :)
08:18:41  <andythenorth> although I can't CHIPS, it uses nfo I don't understand :)
08:18:48  <andythenorth> I just cargo cult new tiles into it
08:19:09  <SpComb> and I assume that the only way to get pax to transfer between companies is to have a shared station owned by one company? There's no way for me to connect a tram stop to a different player's train station, they would need to build the tram stop instead?
08:24:07  <andythenorth> there are not many active JGRPP users here SpComb :)
08:24:26  <andythenorth> the forum thread is better, JGR is very responsive
08:30:18  <Pikka> infrastructure sharing seems such an obsolete idea
08:30:32  <Pikka> these days you can play in the same company and colour your vehicles differently, even ;)
08:31:32  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on pull request #7853: Improve MSVC ARM64 support https://git.io/JeFDa
08:35:12  <andythenorth> oof
08:35:15  * andythenorth has terrible ideas
08:35:24  <andythenorth> maybe breakfast first though
08:37:18  *** WormnestAndroid has quit IRC
08:38:05  *** WormnestAndroid has joined #openttd
08:38:48  <Eddi|zuHause> @calc 23/0.42
08:38:48  <DorpsGek> Eddi|zuHause: 54.7619047619
08:54:21  <andythenorth> what's the upper limit on station size?
08:54:44  <andythenorth> child #1 wants to make a station covering the entire map, with a captive train in it
08:55:15  <andythenorth> so that it can pickup / deliver without traveling
08:56:20  <peter1138> Hands up who's in the office today?
08:56:22  <peter1138> o/
08:56:30  <andythenorth> o\
08:56:45  <andythenorth> I closed the office Friday :P
08:58:37  <Eddi|zuHause> andythenorth: there's a station spread setting, iirc max is 64
08:58:57  <Eddi|zuHause> andythenorth: but you can't deliver to the same station that you picked up
08:59:09  <Eddi|zuHause> so you need to have two interlocking stations
08:59:09  <andythenorth> I'll pass on the news
09:05:52  <andythenorth> thanks
09:07:26  <LordAro> peter1138: oh no
09:42:39  *** Wormnest has joined #openttd
09:44:51  *** andythenorth has quit IRC
09:54:33  *** Antheus has joined #openttd
09:55:33  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro approved pull request #7850: Change: [hotkeys] add missing keycodes for hotkeys.cfg https://git.io/JeFyN
10:03:04  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on pull request #7852: Feature: Show the name of the NewGRF in the build vehicle window. https://git.io/JeFSk
10:06:42  *** Samu has joined #openttd
10:08:49  <Samu> no! no feedback
10:08:49  *** andythenorth has joined #openttd
10:08:55  <Samu> insert sad face
10:15:13  *** hythlodaeus has joined #openttd
10:15:29  <hythlodaeus> hi everyone
10:17:03  <hythlodaeus> I just finished a new version of my revised English.txt, and I would like to make a new draft PR. do you think it would be best for me to amend the old one I did before?
10:20:37  <Samu> https://github.com/OpenTTD/OpenTTD/pull/7424#discussion_r360958983 - how do i use a pointer? never was able to use std::blabla
10:28:47  <Samu> well, it doesn't complain about std::unique_ptr<TileIterator> copy(it.Clone());
10:28:59  <Samu> but is that correct? I really have no idea here
10:31:18  *** andythenorth is now known as Guest12282
10:31:38  *** andythenorth has joined #openttd
10:33:47  *** Progman has joined #openttd
10:34:52  *** Guest12282 has quit IRC
10:35:14  *** Wormnest has quit IRC
10:36:34  *** nielsm has joined #openttd
10:36:59  <DorpsGek_III> [OpenTTD/OpenTTD] janisozaur commented on pull request #7853: Improve MSVC ARM64 support https://git.io/JeF9f
10:41:11  <DorpsGek_III> [OpenTTD/OpenTTD] SamuXarick updated pull request #7424: Add: Kdtree for AirportGetNearestTown https://git.io/fjU1d
10:41:27  <Samu> oops, it's already PR'ed
10:42:23  <LordAro> Samu: ideally you would read about it and learn what you're doing, but in this case yes, you've done the right thing
10:42:37  <Samu> lol, blind shot!
10:42:40  <Samu> thx
10:42:41  <LordAro> hythlodaeus: amend the old one please
10:43:32  *** floodious has joined #openttd
10:57:22  <andythenorth> yo
10:57:48  <nielsm> morning
10:58:44  <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh approved pull request #7424: Add: Kdtree for AirportGetNearestTown https://git.io/JeF9w
11:01:13  <andythenorth> is nml procedures safe to merge?
11:01:37  <andythenorth> I am having to rebase a lot between multiple Horse branches :)
11:01:48  <andythenorth> can't commit to master if it won't compile with vanilla nmlc :)
11:02:09  <andythenorth> https://github.com/OpenTTD/nml/pull/66
11:03:52  <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh commented on pull request #7853: Improve MSVC ARM64 support https://git.io/JeF9M
11:09:41  <peter1138> Blah.
11:09:43  *** snail_UES_ has joined #openttd
11:09:49  <peter1138> So I'm at the office, but I have a glass of prosecco...
11:15:29  <andythenorth> cycling home?
11:16:14  <LordAro> after a single glass? pfft.
11:18:34  <Samu> there is a bug with terragenesis max height, but I must have failed to explain it
11:18:43  <Samu> and the PR was closed
11:18:55  <Samu> what do I do now?
11:19:00  <nielsm> the approach was completely wrong
11:19:51  <nielsm> you have empirically tested that there appears to be a problem, but you haven't proven there is a problem. you need to do an algorithmmic analysis of the code in question to prove there is a problem, first of all.
11:20:15  <nielsm> and after proving there is a problem, you correct the algorithm
11:21:35  <andythenorth> oh, is it the season for closing PRs? :D
11:21:35  * andythenorth likes to play
11:21:35  <andythenorth> oh peter1138 said 'glass', for some reason I read 'bottle'
11:21:47  <Samu> okay, must see where in tgp, max height is enforced
11:22:02  <Samu> I thought it was there
11:22:04  <peter1138> Well, presumably there is a bottle, to fill the glass.
11:22:11  <peter1138> And it's before lunch, so glass has quite an effect.
11:22:22  <peter1138> Stupid, I had 3 quality street chocolates, so that's my snack carolies used up :/
11:22:38  <peter1138> How do normal people do this?
11:22:52  <LordAro> peter1138: i had about 20 yesterday evening
11:23:12  <peter1138> I had 5 yesterday. Still ended up over eating :/
11:23:28  <peter1138> And that was with grilled veg for dinner, so only sod all.
11:24:25  <andythenorth> just develop a digestive disorder, then you can eat as much as you want
11:24:29  <andythenorth> except not of anything fun
11:24:35  <andythenorth> and it's a bit shit
11:32:23  *** floodious has quit IRC
11:45:21  <peter1138> Literally.
11:45:37  <peter1138> When I was fat I could eat anything and stay the same weight!
11:57:42  <LordAro> so, anything else really want to be in beta2?
11:59:01  <nielsm> my callback profiling :3
12:00:19  <nielsm> and this or something else that fixes the bug: https://github.com/OpenTTD/OpenTTD/pull/7628
12:01:20  <nielsm> this is not happening this year either I guess: https://github.com/OpenTTD/OpenTTD/issues/6922
12:02:12  <andythenorth> I'd say not
12:03:32  *** asymptotically has joined #openttd
12:05:56  <LordAro> mm
12:06:26  <LordAro> nielsm: i think #7628 can be trivially modified my one of us
12:10:18  <nielsm> possibly, though not me, I have to leave soon
12:10:37  <nielsm> I guess beta2 can go out without it as long as it gets handled before rc
12:11:35  <andythenorth> release earlier and oftener :)
12:11:41  <andythenorth> or something
12:15:54  <DorpsGek_III> [OpenTTD/OpenTTD] grossws commented on pull request #7851: Change: add support for next/previous railtype global hotkeys https://git.io/JeFHo
12:34:15  <nielsm> I'm off, probably not back before tomorrow
12:34:26  <nielsm> happy celebrations to everyone who does that
12:39:59  *** sla_ro|master has quit IRC
12:42:29  *** nielsm has quit IRC
12:46:53  *** Flygon has quit IRC
12:48:50  <LordAro> andythenorth: we're trying, dammit
12:56:12  <andythenorth> LordAro :)
12:58:52  <andythenorth> is there a list of PRs to try and get in?  I only found https://github.com/OpenTTD/OpenTTD/pull/7867
13:04:17  <DorpsGek_III> [OpenTTD/OpenTTD] janisozaur updated pull request #7853: Improve MSVC ARM64 support https://git.io/JeM6l
13:06:25  *** Wolf01 has joined #openttd
13:13:33  <LordAro> andythenorth: several things are milestoned as 1.10
13:13:43  <LordAro> other than that...
13:14:03  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro approved pull request #7853: Improve MSVC ARM64 support https://git.io/JeFQB
13:14:15  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro merged pull request #7853: Improve MSVC ARM64 support https://git.io/JeM6l
13:16:25  <andythenorth> is 1.10.0 April?
13:16:52  <LordAro> ¯\_(ツ)_/¯
13:17:10  <LordAro> if we continue the release schedule as normal, i guess so
13:17:18  <andythenorth> beta, 4 months play test, release stable
13:17:23  * andythenorth doesn't know either :)
13:17:42  <LordAro> we did plan to increase the tempo, but then that didn't happen
13:17:52  <andythenorth> probably fine
13:18:08  * andythenorth trying to understand what moves https://github.com/OpenTTD/OpenTTD/pull/7000
13:18:32  <andythenorth> Eddi|zuHause: ^ what was needed to finish that?
13:31:20  *** Progman has quit IRC
13:32:06  <Samu> I can't figure out why TG max height is 1 level below requested
13:32:12  <Samu> i'm following the code
13:32:52  <Samu> feels like it's using the max height as a limit [a, b[
13:32:55  <Samu> not inclusive
13:37:13  <Samu> is it because double / double can never be 1?
13:37:27  <Samu> fheight = (double)(*h - h_min) / (double)(h_max - h_min);
13:37:52  <Samu> if 1 isn't reached, the top height isn't used?
13:51:08  <TrueBrain> right, I think I am ready to migrate the current DO stuff (except for the CDN) to AWS .. bit scary thing to do tbh :P
13:51:15  <TrueBrain> lot more complex, so hard to see if I am not forgetting anything
13:51:40  *** JacobD88 has joined #openttd
13:52:11  <TrueBrain> and if I make mistakes, downtimes are not minutes, but all of a sudden a lot longer :P (takes roughly 30 minutes to spin up the whole AWS infrastructure :P)
13:55:03  <andythenorth> TrueBrain: also ideal to do just before christmas day :)
13:55:09  *** JacobD88 has quit IRC
13:56:29  <peter1138> Seems thing.
13:56:30  <peter1138> ..
13:56:31  <peter1138> Seems fine.
13:58:10  <Eddi|zuHause> andythenorth: at this point? motivation mostly to clean it up, and leave out the unwanted stuff
13:59:10  <Eddi|zuHause> i think all the questions i had were either answered or were unanswerable
14:00:30  <andythenorth> can we get it into 1.10?
14:00:42  <andythenorth> lack of it definitely causes bug reports for me :)
14:00:58  <Eddi|zuHause> not today.
14:03:32  <Samu> changing these lines here seems to also solve the problem https://i.imgur.com/kXQJILZ.png
14:04:46  <Samu> gonna retest
14:09:11  <Samu> a 512x512 very flat should generate a max height of 3 according to the table, let's see
14:09:21  <peter1138> Is it beer o'clock?
14:09:26  <peter1138> Or prosecco?
14:10:07  <Samu> correct, it generated a map with max height 3, now let me try the limit of 15 by user input
14:10:54  <andythenorth> peter1138: probably
14:11:17  <Samu> 512x512 alpinist with max height level of 15. The table says 31, min between 31 and 15 is 15
14:11:42  <Samu> 15!
14:11:48  <peter1138> I mean, the prosecco at the office was nice but...
14:11:56  <peter1138> I'm no longer there.
14:12:01  <peter1138> Maybe mulled wine.
14:12:07  <peter1138> Or just regular wine.
14:12:11  <peter1138> Or whisky?
14:14:23  <Samu> however, this still means all the limits imposed by the table are now +1
14:15:07  <Samu> previously, if table says 3, max height is in reality 2
14:15:40  <Samu> with the changeg, if table says 3, reality is also 3
14:15:44  <Samu> what do I do?
14:17:19  *** frosch123 has joined #openttd
14:18:32  <frosch123> Samu: did you consider that the behaviour you observe  may actually be no bug, but the intentional behaviour
14:18:52  <frosch123> the max_height setting restricts the landscaping of players
14:19:11  <frosch123> so it sounds pretty reasonable to me that the map generator would not use that limit to 100%
14:19:29  <andythenorth> shall we do a dev blog post? :D
14:19:34  <frosch123> so that players can still raise the landscape by one level at any point, if useful for track building
14:20:18  <frosch123> andythenorth: a recording of the devs singing chuck berrie's "rudolph" via scype?
14:20:24  <andythenorth> ooh
14:20:40  <andythenorth> we could record ourselves twitch streaming the skype
14:20:45  <andythenorth> whilst live developing
14:21:28  <frosch123> developing? but we only chat all day?
14:22:44  <andythenorth> some people write code
14:22:48  <andythenorth> I've even seen evidence
14:23:16  <frosch123> are you sure your kids would back you up on that?
14:23:35  <Samu> frosch123, what about the original land generator
14:23:45  <frosch123> i think it's just your excuse to eat cookies on your own
14:24:55  <Samu> 15 is 15 with original, but im not sure how the original sets max height, gonna investigate
14:25:50  <andythenorth> other people write the code
14:25:52  <andythenorth> I see the commits
14:28:19  <Samu> anything higher than 15, still 15, seems that's a coincidence
14:31:43  <Samu> shouldn't the original max out at 14 according to that logic?
14:32:26  <frosch123> maybe that's how PR reviews should look like
14:32:42  <frosch123> the author has to stream on twitch and explain every line of their patch
14:38:23  <TrueBrain> lead by example frosch123! :D
14:46:31  <andythenorth> frosch123 is busy patching reversed vehicle offsets TrueBrain
14:46:35  <andythenorth> don't disturb him
14:49:08  <frosch123> i am?
14:49:45  <frosch123> that's 2017 stuff
14:56:29  <TrueBrain> okay, AWS seems to be costing around 2,21 dollar per day .. that is less than expected I guess
14:57:52  <frosch123> for website? for binaries? for bananas? for wiki? all of that?
14:58:22  <TrueBrain> not sure yet; this is just the bare infrastructure, in which containers can run
14:58:37  <TrueBrain> website + dorpsgek consume < 1% CPU, so there is a bit of room :P
14:58:53  <Samu> original doesn't enforce max height, it just takes it directly from "sprites"
14:58:59  <Samu> template
14:59:12  <TrueBrain> but honestly I haven't thought about how to run BaNaNaS and wiki :)
15:02:45  <TrueBrain> especially the wiki is going to be horrible to migrate ... one thing at the time ... one thing at the time :P
15:11:34  <andythenorth> presumably transforming the offsets of reversed vehicles is non-trivial?
15:11:58  <andythenorth> in newgrf, it's just swap first 4 items of list with last 4 items
15:12:29  <andythenorth> I imagine in OpenTTD there's zoom level, 28px vs 32px, context (depot, buy menu, game) etc
15:12:36  <andythenorth> ??
15:12:46  * andythenorth did look in src, but eh
15:14:05  <frosch123> in ottd the real offset is already at the vehicle center for some years, it just transforms the newgrf offsets to remain compatible
15:17:50  <andythenorth> oh, compatibility :(
15:18:01  <andythenorth> we can't fix this in openttd, because it will break existing newgrfs?
15:18:13  <andythenorth> oops
15:18:44  <frosch123> it's essentially adding some vehicle flag somewhere: traditional/sane offsets
15:19:13  <andythenorth> ok so non-trivial
15:19:28  * andythenorth would campaign to change the meaning of ctrl-click, but I lost that pitch :)
15:19:42  <frosch123> for good reasons
15:19:59  <frosch123> i still don't know why you do not just use cargo subtypes
15:20:12  <andythenorth> I really dislike the interface
15:20:17  <andythenorth> it's very non-tactile
15:20:59  <andythenorth> I should start a YT channel about it :D
15:21:00  <andythenorth> https://dev.openttdcoop.org/attachments/download/9533/horse-flip-liveries.m4v
15:21:10  <andythenorth> https://dev.openttdcoop.org/attachments/download/9534/liveries-subtypes.m4v
15:22:57  <andythenorth> but eh, I am actually changing how that works for wagons, due to highly localised feedback :P
15:23:33  <frosch123> 1) you need to click on every wagon to achieve something
15:23:52  <frosch123> 2) could benefit from previewing the sprites when selecting a row, but otherwise looks better an 1
15:24:19  <frosch123> *than
15:25:04  <andythenorth> none of the solutions are optimal
15:25:45  <andythenorth> https://dev.openttdcoop.org/attachments/download/9551/liveries.png :P
15:26:08  <andythenorth> for the actual painted wagon liveries, I am adding more wagons to the buy menu
15:26:17  <andythenorth> the flip will just toggle 1CC / 2CC
15:26:49  <frosch123> isn't flipping 1cc/2cc done via group liveries?
15:29:17  <andythenorth> no fine-grained control over wagons there
15:31:21  <Samu> original land generator not using height limit at 100%, code change + screenshot https://i.imgur.com/2x0jR2F.png
15:32:09  *** Wormnest has joined #openttd
15:32:14  <Pikka> Samu, is this because aircraft originally flew at ~ height 15?
15:33:06  <Samu> no, it's about map generator generating the max heights
15:33:18  <Samu> terragenesis vs original
15:34:48  <Samu> frosch said it's perhaps intended that the generator doesn't max out on height and leave -1 level for the highest tile height
15:35:22  <Samu> then I went to original generator which doesn't do that, it maxes out to the limit
15:35:36  <Samu> now I changed the original, to leave -1 level as well
15:37:14  <Pikka> I see
15:37:32  *** glx has joined #openttd
15:37:32  *** ChanServ sets mode: +v glx
15:38:18  <Samu> i don't know what's to be intended
15:38:30  <Samu> I'm also trying to understand what to do
15:40:53  <Samu> in my view, if i set a max height of 15, then the generator maxing out at 15 is not wrong
15:42:23  <Samu> terragenesis however, has a table with max heights at different map sizes and terrain types
15:43:20  <Samu> the heights in the table are not what's then generated at max, it's always -1 level
15:45:30  <andythenorth> oh my VLC icon has a santa hat on it
15:45:34  <andythenorth> can we do that for OpenTTD?
15:47:08  <frosch123> i would not be surprised if nuts slugs have santa hats in december
15:47:15  <andythenorth> Christmas Horse
15:47:24  <andythenorth> oof
15:47:37  <andythenorth> I added two wagon types, and removed some complexity from two other types
15:47:46  <andythenorth> nml size has increased from 6.1MB to 7MB
15:48:17  <andythenorth> :D
15:49:34  <andythenorth> time to switch cargos to recolour sprites?
15:49:51  <andythenorth> [instead of pre-coloured pixels]
15:53:29  <Samu> fix original to generate max height limit - 1, or fix terragenesis to generate at max height limit? vote!
15:55:03  <Samu> im more inclined towards a terragenesis fix :P
15:58:15  <hythlodaeus> hey guys, learning git can be a bit overwhelming for a newbie non-programmer, and I'm trying to fix a previous PR I made. Would someone have the time and patience to give me a hand with it?
16:00:04  *** WormnestAndroid has quit IRC
16:00:04  *** Wormnest has quit IRC
16:01:06  *** Wormnest has joined #openttd
16:03:30  <Samu> im not sure i can help
16:05:06  <SpComb> should there be a twitter hashtag for social media postings of playing OpenTTD while stuck somewhere for christmas without a proper gaming PC? :)
16:05:16  <SpComb> such marketing potential
16:06:49  <hythlodaeus> >not using a RaPi to play openttd
16:08:57  <Samu> if minimum snow line height is set to 2, then why am I getting snow at height 1?
16:09:46  <Samu> must investigate
16:40:46  *** WormnestAndroid has joined #openttd
17:10:48  *** asymptotically has quit IRC
17:37:33  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro merged pull request #7424: Add: Kdtree for AirportGetNearestTown https://git.io/fjU1d
17:55:43  <Samu> * @note Values should never be lower than 3 since the minimum snowline height is 2.
17:56:32  <Samu> minimum snowline height is a constant with a value of 2, but what happens in real game, is that there's snow at height 1 even when it's set to 2
17:57:15  <Samu> not visually, but it has a bit marking it as snow
17:59:19  <Samu> must find on industry tiles where the check against snow is done for farms
18:09:27  *** snail_UES_ has quit IRC
18:45:49  <DorpsGek_III> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://git.io/JeFxq
18:45:49  <DorpsGek_III>   - Update: Translations from eints (by translators)
18:48:45  <Samu> What's your thought of farm fields being adjacent to snow? https://i.imgur.com/HDXbyQW.png
18:49:21  <Samu> I can make farms spawn on a tile height closer to snow
18:49:31  <Samu> closer aka adjacent
18:49:49  <Samu> reduces the failure rate of farms during world generation, but im not sure if it looks good
18:49:59  <Samu> opinions ?
19:00:28  *** snail_UES_ has joined #openttd
19:10:11  *** andythenorth is now known as Guest12305
19:10:21  *** andythenorth has joined #openttd
19:10:47  <hythlodaeus> hey guys, if converting signals to different variants of the same type is free, why does converting, for instance, from electric to semaphore comes at a cash cost?
19:13:07  *** Guest12305 has quit IRC
19:18:07  <frosch123> no idea, it has been like that ever since it is possible to convert between light and semaphore (2007)
19:18:33  <hythlodaeus> you think we can change so it's free for all?
19:18:35  <frosch123> maybe pre/exit signal is considered an administrative task, while light/semaphore is considered a construction task?
19:20:18  <hythlodaeus> freaky. I'll make an issue of it
19:22:03  <frosch123> anyway, it's no accidential behaviour. the comments in the code make it very clear, that it is intentional
19:27:32  <hythlodaeus> aha
19:27:49  *** Progman has joined #openttd
19:43:28  <Samu> same scenario gen settings, but on 1.10.0-beta1 https://i.imgur.com/czgd2gB.png
19:43:56  <Samu> generated 1 farm, and farm land barely exists
19:46:45  <Samu> with the changes, it generated 6 farms
19:53:23  *** Xunie2 has joined #openttd
19:53:32  <Samu> wow
19:53:48  <Samu> no failure to generate every needed industry on 64x64 arctic
19:54:02  *** andythenorth is now known as Guest12309
19:55:20  <Samu> https://i.imgur.com/yQKxOCq.png - 1 industry type of everything
19:59:02  *** Xunie has quit IRC
20:00:06  *** Guest12309 has quit IRC
20:00:46  <Samu> harder to generate every industry with water on 4 borders, but it's still possible with a few tries
20:01:16  <Samu> https://i.imgur.com/fo4lrWV.png
20:06:00  <Samu> is this a bad description note
20:06:01  <Samu> * @note Values should never be lower than 2 since the minimum snowline height is 2 (actually 1 in reality).
20:06:14  <Samu> the ( )  part
20:06:44  <Samu> static const uint MIN_SNOWLINE_HEIGHT = 2;                     ///< Minimum snowline height
20:06:55  <Samu> it's 2, but in reality, once generated, it's 1
20:07:18  <Samu> how would I describe that note?
20:10:04  <Samu> i think i know
20:10:18  <Samu> minimum *generated* snowline height
20:12:26  <Samu> * @note Values should never be lower than 2 since the minimum, once generated, snowline height is 1.
20:12:28  <Samu> good english?
20:13:42  <Samu> grammar, punctuation?
20:15:19  <Markk> I don't see any particular issues with the grammar.
20:17:23  <DorpsGek_III> [OpenTTD/OpenTTD] stormcone updated pull request #7843: Industry directory cargo filtering https://git.io/Jei1a
20:18:48  <Samu> https://github.com/OpenTTD/OpenTTD/compare/master...SamuXarick:World-Generation-GUI?expand=1#diff-fac82c52a1b9d9ecae099292f0e61694L214
20:18:57  <Samu> here's where i'm editing
20:19:36  *** supermop_Home_ has joined #openttd
20:23:36  <DorpsGek_III> [OpenTTD/OpenTTD] stormcone commented on pull request #7843: Industry directory cargo filtering https://git.io/JeFhq
20:27:11  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on pull request #7843: Industry directory cargo filtering https://git.io/JeFhO
20:27:31  <LordAro> someone want to put together a news post for beta2?
20:32:13  <Samu> LordAro, have peter1138 fix the cache issue for road vehicles before beta2 :p
20:41:13  <Samu> #7670/#7822
20:42:01  <Samu> im now just checking out some odd alpinist numbers
20:42:16  <Samu> with max height of 255, just to look at the map
20:42:18  <Samu> :p
20:42:45  <Samu> water at level 0 will cascade weird holes on the map
20:43:26  <Samu> I guess I understand why the height is not above 86 now, it's because of water
20:53:49  <LordAro> Samu: i very much hope that's fixed before 1.10.0, but i can't see it being fixed this evening :p
21:09:38  <Samu> is it possible to generate 0% water, must experiment
21:15:35  <DorpsGek_III> [OpenTTD/OpenTTD] stormcone commented on pull request #7843: Industry directory cargo filtering https://git.io/JeFh5
21:18:21  *** andythenorth has joined #openttd
21:18:31  <Samu> it's possible!
21:18:45  <andythenorth> oops
21:18:51  <andythenorth> I had to play original minecraft
21:19:01  <andythenorth> or warcraft
21:19:05  <andythenorth> or whatever it's called
21:19:07  <andythenorth> orcs and stuff
21:19:26  <andythenorth> crashes dosbox every time :D
21:19:33  <Samu> im doing trial and error to see if I can get a max height of 86 on a generated 4k map
21:19:51  <Samu> max i can get is 85, but that's because I forced a 0% water
21:21:26  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro approved pull request #7843: Industry directory cargo filtering https://git.io/JeFhp
21:25:25  <Samu> yay, it did it!
21:25:30  <Samu> https://i.imgur.com/gZMJazk.png
21:25:35  <Samu> nearly outside the map
21:25:51  <Samu> height 86
21:30:57  <supermop_Home_> how do i get the dvts andythenorth?
21:41:57  <Samu> must be very rare to get 86, only got it once
21:42:41  <Samu> I usually get 83, 84, 85
21:42:50  <Samu> 86 only once :(
21:45:58  <andythenorth> supermop_Home_: just drink too much for days on end?
21:53:09  <Samu> height 86 is achievable with 0% water
21:53:31  <Samu> but with 1% water, i get height 85, or i didn't try enough to get a 86
21:53:50  <Samu> this is fishy..
21:53:56  <Samu> something else is going on
21:59:18  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro updated pull request #7867: Update: Prepare for 1.10.0-beta2 release https://git.io/JediJ
21:59:18  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro dismissed a review for pull request #7867: Update: Prepare for 1.10.0-beta2 release https://git.io/Jed7f
21:59:31  <LordAro> hmm, now i need another dev...
22:01:27  <frosch123> - Feature: Easier access for vehicle's group window via Ctrl+Click (#7800) <- everyone will ask where to click
22:02:29  <LordAro> yeah, wasn't quite happy with shortening all the commits into that
22:02:30  <LordAro> will add
22:03:20  <frosch123> !define APPV_BUILD 0 <- you need to increment that
22:05:01  <Samu> yes, it did it! height 86 with 1% water
22:05:07  <Samu> took many tries
22:06:20  <Samu> https://i.imgur.com/BiabV9y.png
22:10:57  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro updated pull request #7867: Update: Prepare for 1.10.0-beta2 release https://git.io/JediJ
22:11:12  <supermop_Home_> andythenorth: https://imgur.com/a/qzZcqG7
22:12:16  <andythenorth> supermop_Home_: dunno what that is, but it's epic
22:12:40  <andythenorth> the truck and tram are really nice
22:12:55  <supermop_Home_> maybe the tram should be a NG train
22:13:12  <DorpsGek_III> [OpenTTD/OpenTTD] frosch123 approved pull request #7867: Update: Prepare for 1.10.0-beta2 release https://git.io/Jebet
22:13:12  <supermop_Home_> just docklands road and tramway
22:14:17  <supermop_Home_> RVs from my set
22:19:40  <DorpsGek_III> [OpenTTD/website] LordAro opened pull request #118: Add post for 1.10.0-beta2 https://git.io/Jebel
22:20:30  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro merged pull request #7867: Update: Prepare for 1.10.0-beta2 release https://git.io/JediJ
22:20:43  <LordAro> right
22:20:55  <LordAro> absolute last chance for anything for beta2 release
22:22:00  <TrueBrain> Going once
22:22:04  <andythenorth> Going twice
22:22:16  <DorpsGek_III> [OpenTTD/website] frosch123 approved pull request #118: Add post for 1.10.0-beta2 https://git.io/Jebe4
22:22:47  <LordAro> (basically, i'll tag it after the master CI build succeeds)
22:22:50  *** nielsm has joined #openttd
22:24:37  <DorpsGek_III> [OpenTTD/website] LordAro merged pull request #118: Add post for 1.10.0-beta2 https://git.io/Jebel
22:26:04  <supermop_Home_> andythenorth - mind looking at docklands / spool / RVs before 1.10 happens to see if anything looks embarrassingly broken or bad?
22:28:05  * LordAro does the tag
22:28:23  <DorpsGek_III> [OpenTTD/OpenTTD] James103 commented on pull request #7843: Industry directory cargo filtering https://git.io/JebeE
22:28:37  <LordAro> someone should make DorpsGek_III echo as such, as per the issue :p
22:30:47  <frosch123> beta does not need to be newer than the nightly
22:31:11  <frosch123> though i have no idea how many people use nightly these days
22:31:13  <Samu> okay, discovered what was fishy
22:31:38  <Samu> seems that my original fix, the one in the PR that got closed down, is still the better approach
22:31:47  <frosch123> @topic set 1 1.10.0-beta2, 1.9.3
22:31:47  *** DorpsGek changes topic to "1.10.0-beta2, 1.9.3 | Website: *.openttd.org (source: github, translator: translator, server list: servers, wiki: wiki) | Don't ask to ask, just ask | 'Latest' is not a valid version, 'Most recent' neither | English only"
22:32:51  *** andythenorth has quit IRC
22:34:04  *** Xunie2 has quit IRC
22:35:37  *** Xunie2 has joined #openttd
22:38:58  *** snail_UES_ has quit IRC
22:52:18  <Samu> yep, confirmed, these tiny almost negligible differences
22:52:46  <Samu> the PR I had was right
22:53:31  <Samu> the approahc of changing heights on the water and sine transform result in these tiny differences in the map
22:53:43  <Samu> when using the same heights
22:58:02  <LordAro> aaand released!
22:58:04  <LordAro> huzzah
22:58:17  <LordAro> technically an hour early, but eh
22:59:29  <glx> 2 minutes here ;)
22:59:40  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on pull request #7843: Industry directory cargo filtering https://git.io/JebeH
22:59:58  <LordAro> glx: the debian changelog says +0000 :p
23:00:10  <Samu> spot the differences https://i.imgur.com/Q7kLEIt.png
23:00:26  <Samu> same seed on both
23:00:46  <Samu> but the tiles have slight almost unnoticeable slopes
23:00:52  <Samu> different
23:01:17  <LordAro> hmm, no news post
23:01:25  <LordAro> is that because it's in the future?
23:02:03  <frosch123> or because it is on aws?
23:02:27  <LordAro> i don't think TB had done that yet
23:03:54  <frosch123> staging at least figured out there's a beta2
23:05:07  <LordAro> hmm, navigation bar has broken for me
23:07:10  <LordAro> TrueBrain: can you tell where the new post has got to?
23:10:09  <glx> prod also shows the beta2, just not the pos
23:10:19  <glx> *post
23:12:38  <Samu> last image for today https://i.imgur.com/Qs2ngDS.png
23:12:59  <Samu> same output now, and with the fix applied
23:13:09  <Samu> I'm pleased
23:13:12  <Samu> now I'm off to bed
23:13:41  <TrueBrain> LordAro: no clue what you have done with the post :p
23:14:01  <TrueBrain> New docker clearly is deployed :p
23:14:31  <TrueBrain> Someone should build the docker manually and look into it :)
23:14:55  <Samu> well if anyone wants to see what I'm doing... https://github.com/OpenTTD/OpenTTD/compare/master...SamuXarick:World-Generation-GUI?expand=1
23:14:59  <Samu> cyas all
23:15:05  *** Samu has quit IRC
23:18:51  <TrueBrain> If I would to guess, is because you dated it in the futue
23:19:00  <TrueBrain> Future
23:19:20  <TrueBrain> Good chance Jekyll because of that didn't generate it (yet)
23:20:02  <TrueBrain> So I would guess a rebuild should fix it
23:20:16  <TrueBrain> On mobile, so I cannot do it
23:21:34  <glx> checking on my machine
23:23:20  <frosch123> hmm, takes some time to collect all those downloads
23:23:47  <glx> needs to fix ruby first it seems (for me)
23:24:32  <TrueBrain> Those downloads will be faster af my PR :D
23:24:39  <TrueBrain> Soon (tm)
23:25:02  <TrueBrain> Af = after
23:25:16  <frosch123> it even added 2 PRs... did not know about that
23:25:41  <TrueBrain> Yeah .. that works, but Azure Pipelines was not playing nice
23:26:01  <TrueBrain> GitHub Actions could revive that again
23:27:16  <frosch123> aw.. it failed
23:27:26  <TrueBrain> The downloads?
23:27:29  <frosch123> jekyll 3.8.5 | Error:  No such file or directory @ rb_sysopen - /source/static/js/ua-parser.js
23:27:40  <TrueBrain> You forgot to update the submodules
23:28:48  <TrueBrain> I had that so many times during testing :D
23:29:46  <glx> I'm in a ruby dependency hell I think
23:29:50  *** hythlodaeus has quit IRC
23:30:18  <TrueBrain> glx: did you pull the latest base image?
23:30:42  <TrueBrain> docker build --pull or something?
23:31:05  <glx> I'm on windows, so I usually just run jekyll
23:31:27  <TrueBrain> Pretty sure it was the future date on the post
23:31:44  <TrueBrain> Just retrigger the build on Azure Pipelines
23:32:26  <glx> triggered
23:32:45  <glx> but won't help if it's UTC ;)
23:33:01  <TrueBrain> Haha, doh
23:33:15  <TrueBrain> 30 more minutes to wait :D
23:33:17  <frosch123> ok, image is done
23:33:18  <FLHerne> It's a bit wet here https://www.flherne.uk/files/floodb.jpg
23:33:44  <FLHerne> (trudging through mud at 11pm because the cyclepath is flooded is unfun)
23:34:23  <TrueBrain> Seems it is an options in Jekyll
23:34:30  <TrueBrain> To support future posts
23:34:31  *** nielsm has quit IRC
23:35:08  <frosch123> hmm... where is actually the data in the contaienr
23:35:27  *** Wolf01 has quit IRC
23:35:27  <TrueBrain> In default nginx folder
23:35:47  <TrueBrain> Guessing: /var/www/html
23:36:05  <frosch123> yeah, but there is no /var/www
23:36:13  <TrueBrain> Yeah, flag is called 'future'
23:36:43  <TrueBrain> https://github.com/OpenTTD/website/blob/master/Dockerfile#L55
23:37:02  <TrueBrain> Silly default
23:37:29  <glx> oh I know why it fails, I reset --hard the local changes required
23:37:37  <frosch123> yeah, so there is no news/2019/12 folder
23:37:57  <TrueBrain> In the config, set future to true
23:37:57  <frosch123> so you need to wait another 30 minutes :)
23:38:01  <TrueBrain> Should fix it
23:42:25  <glx> lucky I had a stash somewhere
23:44:07  <frosch123> yep, "future" worked
23:44:25  <TrueBrain> PR it and let's fix it before 0000 :D
23:48:41  <TrueBrain> Or we can agree to not predate posts, ofc :p
23:48:51  *** Wormnest has quit IRC
23:49:14  <DorpsGek_III> [OpenTTD/website] frosch123 opened pull request #119: Change: Publish also news post from the future to simplify posting. https://git.io/Jebff
23:51:47  <TrueBrain> Lgtm; sadly, no yubikey at hand to approve :p
23:52:35  <glx> works for me
23:52:49  <DorpsGek_III> [OpenTTD/website] glx22 approved pull request #119: Change: Publish also news post from the future to simplify posting. https://git.io/JebfT
23:53:27  <DorpsGek_III> [OpenTTD/website] frosch123 merged pull request #119: Change: Publish also news post from the future to simplify posting. https://git.io/Jebff
23:53:49  *** Flygon has joined #openttd
23:53:58  <TrueBrain> Tnx both :)
23:54:13  <glx> new tag needed ?
23:54:15  <frosch123> do we wait for staging? or someone wants to tag?
23:54:42  <glx> or I can retrigger current tag in ~5 minutes
23:54:53  <TrueBrain> Just tag a new version :)
23:54:58  <TrueBrain> Tags are free
23:55:03  <glx> true
23:57:31  <Eddi|zuHause> what are we breaking today?
23:57:33  <frosch123> i actually don't know where to make a tag on gh
23:58:17  <TrueBrain> Release
23:58:25  <TrueBrain> New release
23:58:41  <TrueBrain> Input tag, select master, publish
23:58:59  *** WormnestAndroid has quit IRC
23:59:22  <glx> I think I did it
23:59:37  <frosch123> yeah, "duplicate tag" :p
23:59:41  *** WormnestAndroid has joined #openttd

Powered by YARRSTE version: svn-trunk