IRC logs for #openttd on OFTC at 2019-05-14
            
00:00:28 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on pull request #7286: Add #2155: newheightmapgame command https://git.io/fjW9m
00:23:43 *** ChanServ sets mode: +o orudge`
00:23:55 *** orudge` is now known as orudge
00:47:20 <DorpsGek_II> [OpenTTD/OpenTTD] James103 commented on issue #7590: If you change the game mode 9 times in succession, then the game crashes on the ninth attempt. https://git.io/fjWHT
00:54:44 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on pull request #7193: Fix #6468: Load correct version of AI as specified during the time of its save. https://git.io/fjWHt
00:54:45 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on pull request #7073: Feature: Generate lock ready rivers upon world generation https://git.io/fjWHq
01:02:36 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 opened pull request #7591: Fix #7590: decrement allocated_size in ScriptAllocator::Free() https://git.io/fjWHn
01:04:04 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on issue #7590: If you change the game mode 9 times in succession, then the game crashes on the ninth attempt. https://git.io/fjWHc
01:49:04 *** snail_UES_ has joined #openttd
01:54:44 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on pull request #7190: Fix #7188: AI instance crash when reloading AI in a server. https://git.io/fjWQI
02:54:49 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] closed issue #7311: Wrong determination of personal directory https://git.io/fhAdo
03:03:33 *** Samu has quit IRC
03:12:13 *** Supercheese has joined #openttd
03:13:36 *** Flygon has joined #openttd
03:41:21 *** Supercheese has quit IRC
03:41:43 *** Supercheese has joined #openttd
04:22:47 *** debdog has joined #openttd
04:26:08 *** D-HUND has quit IRC
04:30:58 <DorpsGek_II> [OpenTTD/OpenTTD] James103 commented on issue #7590: If you change the game mode 9 times in succession, then the game crashes on the ninth attempt. https://git.io/fjW5U
04:33:39 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 updated pull request #7591: Fix #7590: decrement allocated_size in ScriptAllocator::Free() https://git.io/fjWHn
05:03:16 *** glx has quit IRC
05:36:40 *** Wormnest has joined #openttd
05:39:27 *** Wormnest has quit IRC
06:28:09 <Hazzard> hmm
06:28:22 <Hazzard> How does the game choose what train enters a signal?
07:13:30 *** snail_UES_ has quit IRC
07:54:57 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN approved pull request #7572: GDI engine for font glyph rendering as a replacement for FreeType (take 2) https://git.io/fjWdj
07:55:36 *** Supercheese has quit IRC
07:57:30 <peter1138> Hazzard, it's pretty much luck, depending vaguely on timing and the power of the train. All things being equal, train ticks are executed sequentially so the train with the lowest index would win.
08:10:25 *** sla_ro|master has joined #openttd
08:11:03 *** andythenorth has joined #openttd
08:11:06 <andythenorth> boom boom
08:13:55 <V453000> where's the lolz?
08:14:01 <V453000> andythenorth: so I generated some code
08:14:03 <V453000> guess LOC
08:14:36 <andythenorth> 120k
08:14:52 <V453000> 430k :D
08:15:00 <V453000> 1min compile tho
08:15:08 <V453000> /brag
08:16:02 <V453000> result is that I'm getting 2-3 times the amount of fps compared to previous NUTS :)
08:16:54 <andythenorth> compile time?
08:17:51 <V453000> about 1 min
08:18:01 <V453000> almost precisely
08:18:19 <andythenorth> long time
08:18:33 <V453000> iz k :D
08:18:36 <peter1138> What's 1 minute compared to 2-3x runtime? :p
08:18:38 * andythenorth feeds children breakfast
08:18:51 <V453000> exactly :)
08:19:17 <andythenorth> V453000: if we just did less BAD FEATURES
08:19:24 <andythenorth> runtime and compile time would both be good :P
08:19:38 <andythenorth> problem is between keyboard and chair
08:19:51 <V453000> :D yes
08:20:11 <andythenorth> ok so 8/8 trains, no features
08:20:21 <andythenorth> 99 of them
08:20:23 <andythenorth> job done
08:20:32 <V453000> I've invented stupid feature set, I admit. But now I have optimized it to the max without sacrificing much functionality. I'd be extremely interested in how much could a cached vehicle drawing make a difference.
08:26:39 <andythenorth> V453000: do you still have just one type of wagon?
08:26:44 <andythenorth> or am I wrong?
08:29:04 *** nakki has joined #openttd
08:35:52 <nakki> hey, i've been hosting a server for me and my friends to dick around on, and i find it frustrating that the dedicated server console output has no timestamps
08:36:18 <nakki> should be fairly simple to implement i guess, even though i've only used C very little in the past
08:36:22 <nakki> would that be a good pull request?
08:38:43 <Eddi|zuHause> i once made a timestamp program: https://paste.openttdcoop.org/ppvzomh9l
08:38:54 <Eddi|zuHause> just pipe it through that
08:39:23 <nakki> huh, i guess that would work yeah
08:39:25 <nakki> thanks
08:40:01 <peter1138> It would probably also make a good PR :p
08:41:42 <peter1138> Bah, hardboiling some eggs and one has asploded :(
08:41:53 <nakki> yeah my use case for it is mostly for pointing and laughing in group chats whenever someone gets the transporting cravings at 3am
08:43:09 <Eddi|zuHause> peter1138: for some reason Zak MacKracken just appeared in my head
08:55:44 <V453000> andythenorth: yeah, just universal wagons
08:56:01 <V453000> there's a parameter to enable extra 3 sub-tiers but I don't think anybody uses those
08:56:31 <V453000> you have 1000 wagons yet?
08:57:52 <andythenorth> working on it
08:57:53 <peter1138> Hmm, with 7591 applied, it shows that GS/AI scripts use hardly any memory, and therefore the whole counting it thing was pretty pointless ;p
08:57:54 <andythenorth> running out of names
09:08:13 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN approved pull request #7591: Fix #7590: decrement allocated_size in ScriptAllocator::Free() https://git.io/fjWF7
09:13:35 *** WWacko1976-work has joined #openttd
09:24:53 <DorpsGek_II> [OpenTTD/OpenTTD] Berbe commented on issue #7311: Wrong determination of personal directory https://git.io/fjWbO
09:30:31 *** andythenorth has quit IRC
09:52:04 <DorpsGek_II> [OpenTTD/OpenTTD] Berbe updated pull request #7286: Add #2155: newheightmapgame command https://git.io/fhNZl
09:52:54 <DorpsGek_II> [OpenTTD/OpenTTD] Berbe commented on pull request #7339: Fix #7311: External configuration file does not change directories https://git.io/fjWbX
09:56:42 *** andythenorth has joined #openttd
10:28:57 <Eddi|zuHause> <peter1138> Hazzard, it's pretty much luck, depending vaguely on timing and the power of the train. All things being equal, train ticks are executed sequentially so the train with the lowest index would win. <-- since the train stopping point is now closer to the signal, i think power is less important now, as any bit of nonzero speed now puts it over the edge?
10:38:39 <peter1138> Probably, yes.
10:38:50 <peter1138> I haven't tested it though.
10:55:34 <Hazzard> Thanks Eddi|zuHause
12:01:48 *** sla_ro|master has quit IRC
12:13:43 <peter1138> Hmm, not quite lunch time yet :/
12:15:49 <andythenorth> nearly
12:15:51 <andythenorth> but not
12:16:43 <Eddi|zuHause> has that ever stopped anyone?
12:17:51 <andythenorth> nope
12:19:46 <peter1138> It stops me.
12:20:25 <Eddi|zuHause> wait, the RV path cache breaks dynamic assignment of platforms?
12:20:59 <Eddi|zuHause> that seems... undesirable
12:21:06 <peter1138> Depends!
12:21:27 <peter1138> If it's really busy, you don't notice because the penalties are about the same.
12:21:31 <peter1138> If it's empty, same.
12:21:40 <DorpsGek_II> [OpenTTD/OpenTTD] orudge merged pull request #7572: GDI engine for font glyph rendering as a replacement for FreeType (take 2) https://git.io/fjngD
12:21:41 <DorpsGek_II> [OpenTTD/OpenTTD] orudge closed issue #7511: Text rendering error under CJK system locale https://git.io/fjmgB
12:22:13 <peter1138> The solution is to just not cache the last few junctions, which is fine as if there are not many left it won't be a big performance hit anyway.
12:22:59 <peter1138> It's not "broken" as such, it's just cached the path already with the penalties as they were at the time.
12:23:03 <Eddi|zuHause> yeah, that was what i thought..
12:23:24 <peter1138> I'll make a PR tonight. Maybe. If I remember.
12:23:34 <peter1138> Cinema then pub, so may not.
12:24:00 <Eddi|zuHause> peter1138: the problem with that is that all the caches from a similar time will have the same penalty, and thus defeats the distribution...
12:24:15 <peter1138> Well yes, I know.
12:25:05 <Eddi|zuHause> and "not empty, but not super busy" should be the default operating parameters
12:26:55 <peter1138> I don't know what you're getting at. I've explained the solution which solves it.
12:27:57 <peter1138> You can of course say that any caching is bad for penalties, and you are right, but then its a trade-off between performance and... accuracy.
12:29:03 <Eddi|zuHause> so... "skip cache if distance < 10 tiles"?
12:30:39 <Eddi|zuHause> (where "10" might be a setting)
12:30:48 <peter1138> https://github.com/OpenTTD/OpenTTD/pull/7380/commits/62e7d7d76e2426fe13925af45ced6ab77fb3cb38
12:30:53 <peter1138> ^ Same sort of thing as that.
12:31:07 <peter1138> Of course, ships don't have these dynamic penalties currently anyway.
12:33:11 <peter1138> Added difference for road vehicles is we count junctions, not tiles.
12:33:39 <peter1138> That could therefore cover a huge distance.
12:33:45 <Eddi|zuHause> i'm not sure if that's a good idea, because complicated road stations might have lots of junctions
12:34:18 <Eddi|zuHause> so you could be halfway through that station before the cache skipping applies
12:35:11 <peter1138> I'm aware, but per-tile information is not provided at that point.
12:35:21 <peter1138> I didn't do it per-junction out of choice.
12:35:48 <Eddi|zuHause> with "distance" i mean "manhattan(current location, destination)"
12:36:01 <Eddi|zuHause> or something like that
12:36:33 <Eddi|zuHause> the cap could be set to station spread or something
12:38:52 <peter1138> Manhattan distance is not exactly relevant either.
12:48:49 <Eddi|zuHause> it provides a "good enough" estimate for bailing out?
12:49:55 <Eddi|zuHause> [[citation needed]]
12:52:56 <peter1138> One person's "good enough" is another person's "total broken, unplayable!"
12:53:42 <peter1138> One person's "complete" is another person's "unmaintained, it's dead!" (Yeah, andythenorth)
12:58:03 <Eddi|zuHause> just another random wrench in your thoughts: this caching would also thwart any load balancing of traffic over multiple lanes of a one-way road
13:02:38 <peter1138> It doesn't.
13:03:10 <peter1138> That doesn't even happen :p
13:04:34 <peter1138> And we could likely get away with adding yet another advanced setting, but we tend to avoid them these days.
13:09:02 *** spnda has joined #openttd
13:09:50 <peter1138> And none of this stuff is in a release yet.
13:09:59 <peter1138> Nobody exists JGRPP to be a stable release, do they?
13:13:22 <Eddi|zuHause> people have wrong and unfulfillable expectations all the time :p
13:18:44 <peter1138> s/exists/expects/ ...
13:33:58 <peter1138> Is it lunch yet?
13:45:47 <LordAro> has been for 45 minutes
13:46:07 <peter1138> Hmm, should I have some Quavers?
13:46:18 <peter1138> This bag has been in my drawer so long its gone past its best before :p
13:54:36 *** snail_UES_ has joined #openttd
13:55:33 <Eddi|zuHause> i'm not sure what a quaver is, but "best before" dates are usually better ignored
13:55:49 <peter1138> I do.
13:56:05 <peter1138> It's a processed snack food, so probably best ignored in the first place.
13:56:45 <peter1138> http://strangechips.blogspot.com/2013/01/walkers-quavers.html
13:56:46 <Eddi|zuHause> different category of problem :p
13:57:37 <Eddi|zuHause> doesn't quite pass for "lunch"?
13:58:22 <peter1138> I had a salad (again) with a(n exploded) hard-boiled egg to start with.
14:09:58 <peter1138> And a pair. And a Nature Valley crunchy bar. I think that's sufficient.
14:10:01 *** snail_UES_ has quit IRC
14:10:02 <peter1138> No.
14:10:04 <peter1138> A pear. Not a pair.
14:10:35 *** Samu has joined #openttd
14:27:23 <andythenorth> lunch
14:28:49 <Samu> hi
14:36:56 *** Samu_ has joined #openttd
14:43:47 *** Samu has quit IRC
15:12:56 <supermop_work> peter1138: what was the UK chip that came unsalted with its own salt thing inside the bag?
15:13:37 <andythenorth> salt-n-shake
15:13:41 <peter1138> Salt n shake
15:13:42 <peter1138> Damn it.
15:14:10 <peter1138> RIP Smiths Crisps :/
15:20:25 *** nielsm has joined #openttd
15:20:53 <supermop_work> indeed that was it
15:21:13 <supermop_work> found those fascinating back then
15:21:32 <peter1138> Bit of a novelty that wore off quicklky.
15:32:23 <FLHerne> My mum always used to get those and then force us to throw the salt packet away :-/
15:32:46 <FLHerne> Unsalted crisps aren't great
15:35:37 <peter1138> Yeah, cos clearly the salt is the worst part of a packet of crisps... o_O
15:37:45 <andythenorth> salt-n-shake was novelty crap :)
15:38:04 <andythenorth> but it did encourage me and my brother to start adding more salt to 'normal' crisps
15:38:37 <peter1138> Haha
16:22:52 *** andythenorth has quit IRC
16:23:11 *** Flygon has quit IRC
16:26:06 *** kiwitree has joined #openttd
16:42:43 *** andythenorth has joined #openttd
16:43:22 <nielsm> https://devblogs.microsoft.com/oldnewthing/20190514-00/?p=102493 neat
16:48:12 *** Wormnest has joined #openttd
16:54:45 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on pull request #7486: Fix: AI/GS settings with the flag SCRIPTCONFIG_RANDOM could be altered after loading from a savegame. https://git.io/fjlJD
16:54:51 *** WWacko1976-work has quit IRC
16:56:41 <peter1138> nielsm, now that frees are counted properly it seems very unlikely from the figures that any script is actually using massive amounts of memory :p
16:57:03 <nielsm> maybe :)
16:57:10 <peter1138> Ah well.
17:12:54 <LordAro> heh
17:28:20 *** andythenorth has quit IRC
17:40:10 *** Gumle2 has joined #openttd
17:43:51 *** m1cr0man has quit IRC
17:47:27 *** m1cr0man has joined #openttd
17:49:24 *** Samu__ has joined #openttd
17:54:00 *** m1cr0man has left #openttd
17:56:17 *** Samu_ has quit IRC
17:59:29 *** Gumle2 has quit IRC
18:36:01 *** kiwitree has quit IRC
18:42:46 *** Gumle2 has joined #openttd
18:54:03 *** Gumle2 has joined #openttd
19:04:32 *** Gumle2 has joined #openttd
19:06:59 *** andythenorth has joined #openttd
19:07:29 *** glx has joined #openttd
19:07:29 *** ChanServ sets mode: +v glx
19:15:24 *** gelignite has joined #openttd
19:15:30 *** HerzogDeXtEr has joined #openttd
19:16:38 <andythenorth> yo
19:18:08 <Arveen> yo sir
19:34:43 * andythenorth hoppers
19:36:13 *** gelignite has quit IRC
19:44:43 *** Wolf01 has joined #openttd
19:45:11 <Wolf01> o/
19:46:07 <Hazzard> \o
19:48:53 *** frosch123 has joined #openttd
19:55:49 <andythenorth> quak
19:56:01 <frosch123> lo
20:02:04 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh opened issue #7592: Road vehicles don't balance between multiple loading bays https://git.io/fjlL0
20:07:30 *** Gumle2 has quit IRC
20:25:21 *** gelignite has joined #openttd
20:26:33 <DorpsGek_II> [OpenTTD/OpenTTD] michicc commented on pull request #7591: Fix #7590: decrement allocated_size in ScriptAllocator::Free() https://git.io/fjlLX
20:32:10 *** Progman has joined #openttd
20:52:32 *** sla_ro|master has joined #openttd
20:58:01 *** namad7 has joined #openttd
20:58:43 <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7591: Fix #7590: decrement allocated_size in ScriptAllocator::Free() https://git.io/fjlta
21:02:23 *** namad7 has quit IRC
21:06:59 <andythenorth> I can hear cricket
21:11:37 *** tokai|noir has joined #openttd
21:11:37 *** ChanServ sets mode: +v tokai|noir
21:12:34 <Eddi|zuHause> the sport or the insect?
21:18:34 *** tokai has quit IRC
21:28:40 *** sla_ro|master has quit IRC
21:30:30 <V453000> !
21:30:41 <V453000> https://paste.openttdcoop.org/puupdzhpm
21:30:43 <V453000> got musa error
21:30:57 <V453000> what do? :(
21:31:53 *** Progman has quit IRC
21:32:41 *** Progman has joined #openttd
21:33:59 <V453000> if I'm reading it right, server refused me
21:34:15 <glx> maybe server has issues
21:34:28 *** Progman has quit IRC
21:35:17 *** Progman has joined #openttd
21:37:13 *** Progman has quit IRC
21:38:02 *** spnda has quit IRC
21:39:31 <V453000> well shit ._.
21:42:15 <frosch123> hey, i found musad.log
21:42:47 <Eddi|zuHause> if you find mossad.log, i'd maybe check some things
21:43:06 <LordAro> and maybe hide
21:43:37 *** Gumle2 has joined #openttd
21:44:34 <V453000> frosch123: what does that mean? :D
21:44:46 <V453000> d for destruction?
21:44:54 <glx> d for daemon
21:45:06 <glx> musad is the musa server
21:45:19 <V453000> ooh
21:46:36 *** Progman has joined #openttd
21:54:46 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] closed pull request #7475: Fix #6618: Viewport vehicle draw flickering https://git.io/fjL6X
21:57:53 <andythenorth> hmm
21:58:00 <andythenorth> how many types of tanker should there be?
21:58:37 <V453000> 1
21:58:39 <V453000> REKT
21:58:48 <V453000> up to you? :)
21:59:14 <andythenorth> got tanker, edibles tanker (milk and crap), cryo tanker (oxygen, chlorine)
21:59:25 <andythenorth> considering chemicals tanker (acid and crap)
21:59:38 <andythenorth> or just rename cryo tanker to chemicals tanker :P
21:59:40 <andythenorth> dunno
22:00:39 *** nielsm has quit IRC
22:01:52 <andythenorth> not sure how lolzy the sprite appearance would be for a 4th type
22:01:55 <andythenorth> running out of options
22:02:20 <frosch123> apparently musad is still running, but it closed the port
22:02:37 <glx> not nice of it
22:02:41 <Samu__> wow australia will win eurovision
22:02:52 <Samu__> great performance
22:04:23 <frosch123> V453000: try again?
22:05:36 <V453000> sec :) compiling a gain, made a feature meanwhile :D
22:05:43 <frosch123> :p
22:06:43 <V453000> it's uploading! :)
22:06:47 <V453000> thanks frosch123 :) yet again
22:07:21 <frosch123> yay, successfuly reverse engineered ottd
22:07:36 <V453000> and it's there
22:08:52 <V453000> yay just 392k LOC
22:08:57 <V453000> dropped under 400
22:08:58 <V453000> :D
22:11:32 <andythenorth> winner
22:14:19 *** Supercheese has joined #openttd
22:14:24 *** Gumle2 has quit IRC
22:17:53 *** chomwitt has joined #openttd
22:21:27 <Samu__> Round 19 finally starts
22:21:57 <Samu__> I already regret plane speed factor of 1/1
22:22:08 <Samu__> will never do this again
22:27:29 <Samu__> chopper beating terron
22:27:35 <Samu__> this is unconceivable
22:27:51 <Samu__> why does plane speed factor setting even exists, I woner
22:27:53 <Samu__> wonder
22:32:15 <glx> to slow them down
22:42:40 <andythenorth> Horse 2 will never be done ;)
22:42:40 <andythenorth> it's gone to the same place DBSetXL went
22:42:40 <andythenorth> endless refinement
22:44:45 <frosch123> what about squid 4?
22:45:19 <andythenorth> hmm
22:45:19 <andythenorth> good q
22:46:19 <andythenorth> squid 99
22:50:16 *** gelignite has quit IRC
22:51:05 <andythenorth> can I do anything to fix devzone jenkins for my grfs?
22:51:11 <andythenorth> I was offered SSH once, but that's a...bad idea
22:54:45 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on pull request #7396: Fix: Saving SDT_INTLIST handle unsigned values properly https://git.io/fjlmw
23:02:01 <Eddi|zuHause> what was wrong with that one?
23:02:52 <andythenorth> just time expired I guess
23:07:16 <frosch123> andythenorth: devzone is too old
23:07:24 <frosch123> there is no python3-chameleon package
23:07:51 <andythenorth> orly?
23:07:52 <andythenorth> https://chameleon.readthedocs.io/en/latest/
23:08:01 <andythenorth> is the ports tree old?
23:08:57 <frosch123> it runs old-old-stable, soon old-old-old-stable
23:08:57 <Eddi|zuHause> wasn't devzone near end of life?
23:09:33 <frosch123> most stuff seems to be end of life
23:10:27 <andythenorth> the future was github + azure pipelines
23:10:35 <andythenorth> but like reliable nuclear fusion
23:10:39 <andythenorth> the future never quite arrives
23:14:27 <Eddi|zuHause> i suppose there is no upgrade path you could run (in a backup) that would keep all the config files?
23:17:33 <andythenorth> one approach is to have the project provide the deps
23:17:45 <andythenorth> but that's a lot of maintenance and tends to flap due to upstream crap
23:18:29 *** Compu has joined #openttd
23:19:03 *** Speedy` has quit IRC
23:40:17 <peter1138> derp
23:40:32 <peter1138> 1137 carolies, so close :/
23:40:46 <peter1138> cba to cook
23:42:34 *** Wolf01 has quit IRC
23:49:58 *** Mahjong has joined #openttd
23:52:17 *** frosch123 has quit IRC
23:59:54 *** Arveen2 has joined #openttd