IRC logs for #openttd on OFTC at 2019-05-13
            
00:03:00 *** Wolf01 has quit IRC
00:09:29 *** nielsm has quit IRC
00:34:05 *** HerzogDeXtEr has quit IRC
00:55:52 *** Supercheese has joined #openttd
02:29:38 <DorpsGek_II> [OpenTTD/OpenTTD] James103 opened issue #7590: If you change the game mode 9 times in succession, then the game crashes on the ninth attempt. https://git.io/fjWWD
02:31:19 *** Wormnest has quit IRC
02:48:06 *** Samu has quit IRC
03:30:58 *** chomwitt has quit IRC
03:33:07 *** Flygon has joined #openttd
03:33:15 <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/fjWlL
04:23:36 *** D-HUND has joined #openttd
04:26:58 *** debdog has quit IRC
05:10:17 *** Supercheese has quit IRC
05:10:38 *** Supercheese has joined #openttd
05:34:32 *** glx has quit IRC
08:37:41 *** Supercheese has quit IRC
09:03:39 *** snail_UES_ has quit IRC
09:23:36 *** andythenorth has joined #openttd
09:23:43 <andythenorth> o/
09:57:27 *** andythenorth is now known as Guest2434
09:57:27 *** andythenorth has joined #openttd
09:59:18 *** Guest2434 has quit IRC
10:06:18 <peter1138> Morning.
10:12:14 *** WWacko1976-work has joined #openttd
10:20:16 <andythenorth> words
10:20:18 <andythenorth> naming of things
10:37:48 *** andythenorth has quit IRC
10:38:14 *** andythenorth has joined #openttd
10:38:15 <andythenorth> eh
10:38:33 <andythenorth> maybe I just do visual variants of 'Hopper Wagon'
10:38:44 <andythenorth> instead of 'Automated Hopper Wagon', 'High Floor Hopper Wagon' etc
10:38:46 <andythenorth> oof
10:38:49 *** andythenorth has quit IRC
11:00:32 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on issue #6266: UI Zoom: ugly lists in network windows on double/quad interface sizes with custom fonts https://git.io/fjW0l
11:05:10 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh approved pull request #7588: Fix e8d397e4ee: Avoid using RemapCoords2 during savegame conversion. https://git.io/fjW0E
11:11:56 *** andythenorth has joined #openttd
11:20:25 *** Flipp3rrr has joined #openttd
11:26:14 *** Flipp3rrr has quit IRC
11:27:39 *** Flipp3rrr has joined #openttd
11:50:15 *** Flipp3rrr has quit IRC
12:07:14 *** Gustavo6046 has quit IRC
12:12:30 *** Flipp3rrr has joined #openttd
12:23:05 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7572: GDI engine for font glyph rendering as a replacement for FreeType (take 2) https://git.io/fjWuB
12:33:22 *** Flipp3rrr has quit IRC
12:42:45 <peter1138> Is it lunch yet?
12:54:38 <Eddi|zuHause> dunno, but i probably get some on the way
13:00:19 <andythenorth> 'controllable emptying hopper wagon'
13:00:28 <andythenorth> 'uncontrollable emptying hopper wagon'
13:02:02 <Eddi|zuHause> neither of those phrases make any sense
13:02:37 *** Rubidium has quit IRC
13:06:32 <andythenorth> nope
13:06:56 <andythenorth> 'controllable gravity discharge wagon' is UIC terminology though :P
13:06:56 <andythenorth> https://en.wikipedia.org/wiki/UIC_classification_of_goods_wagons
13:07:16 <andythenorth> similarly "Loose (i.e. not controllable) gravity discharge hopper. Underside of floor ≥70 cm above top of rails "
13:07:32 <andythenorth> not very fun in game though eh?
13:08:04 <Eddi|zuHause> you've got to make a cut what to simulate in the game and what not, and i think this is far beyond that cut...
13:09:01 <andythenorth> +1
13:09:53 <peter1138> People don't want fun, they want realism.
13:10:05 * andythenorth wants realistic lolz
13:10:13 <andythenorth> 'pointy shiny hopper wagon' https://hattonsimages.blob.core.windows.net/products/HORNBYWAGBUNDLE-PO24_3457043_Qty1_1.jpg
13:10:39 <peter1138> Don't worry, the new map array will solve everything.
13:10:54 <andythenorth> 'blocky non-shiny hopper wagon' https://thumbs.worthpoint.com/zoom/images2/360/0615/11/rake-12-lima-pga-hopper-wagons_360_62aeff46a8c2816c12d0d0965da47f45.jpg
13:11:07 <peter1138> I'm getting a new GPU.
13:11:16 <peter1138> I'll be able to play Derail Valley properly.
13:11:18 <andythenorth> :o
13:11:23 <peter1138> What's that other train game I have?
13:11:26 * andythenorth jealous
13:11:46 <andythenorth> I would like to be able to play Blitz at more than the lowest graphics quality
13:12:02 <peter1138> I'm borrowing money from savings.
13:12:16 <andythenorth> if I buy an iPad I can play Blitz on highest settings
13:12:26 <andythenorth> because iPad performance spanks a Mac now
13:13:11 <peter1138> Fondleslab's where it's at now.
13:14:43 <Eddi|zuHause> <peter1138> What's that other train game I have? <-- not sure if you heard of it before, but it might be called openttd.
13:15:12 <andythenorth> hmm
13:15:19 <andythenorth> I nearly wrote something awful about fondling
13:15:24 <andythenorth> then I realised what it looked like
13:15:30 <andythenorth> near miss
13:15:40 <peter1138> Oh, Rolling Line
13:15:54 <peter1138> It's a model railway simulator, with VR mode.
13:16:06 <andythenorth> NZ
13:16:11 <andythenorth> Kiwi Horse
13:16:19 <peter1138> You can sit inside a model train...
13:16:28 <andythenorth> Kea Horse
13:16:30 <Eddi|zuHause> i got real model railways, why would i need VR?
13:16:37 <andythenorth> Hector's Dolphin Horse
13:16:40 <peter1138> I don't have space for a real model railway.
13:16:55 <peter1138> It would be cheaper though.
13:17:02 <andythenorth> would it?
13:17:07 * andythenorth spends stupid amounts on ebay
13:17:12 <andythenorth> on trains I don't need
13:17:22 <andythenorth> all they do is go in crates in my loft
13:17:50 <peter1138> The fact I borrowed from savings for a GPU...
13:18:08 <peter1138> Maybe I should insure it :p
13:18:12 <andythenorth> ouch
13:18:23 <peter1138> Computers, so expensive.
13:18:23 <andythenorth> how much is a GPU?
13:18:41 <peter1138> Really high end, £1500+. I didn't spend that much.
13:18:54 <andythenorth> oof
13:18:58 <andythenorth> that's the price of a laptop
13:19:05 <Eddi|zuHause> i spent 100€ on my last GPU
13:19:08 <andythenorth> OTOH, my laptop can't play Blitz properly
13:19:15 <Eddi|zuHause> that was like 5 years ago?
13:19:19 <andythenorth> I ran out of circle room https://dev.openttdcoop.org/attachments/download/7838/IMG_3308.jpg
13:19:29 <peter1138> I spend £300 on my last one, it's done about 5-6 years I think.
13:19:33 <Eddi|zuHause> that's how i nowadays play games at 6FPS
13:19:37 <andythenorth> now I have like 10x as many trains, and still just the 2 circles I made for my kids
13:19:37 <peter1138> Heh
13:19:51 <peter1138> Where's the landscape?
13:19:55 <andythenorth> that lego building
13:19:56 <peter1138> Is it waiting for a new map arrray?
13:20:00 <peter1138> arrrrrray
13:20:17 <andythenorth> arri
13:20:32 <Eddi|zuHause> andythenorth: at least your rails are more modern than mine :p
13:20:38 <andythenorth> Eddi|zuHause: you have 3?
13:20:46 <Eddi|zuHause> no
13:20:56 <andythenorth> so 'pointy' and 'blocky' hoppers are just graphical variants, don't need new names?
13:21:08 <Eddi|zuHause> two rails, made of aluminium, not even a proper profile
13:21:41 <Eddi|zuHause> just thin sheets bent into a rectangular shape
13:22:04 <Eddi|zuHause> anyway, gtg
13:25:12 <andythenorth> we need a lunch bot
13:26:21 <Eddi|zuHause> maybe lunch codes?
13:27:38 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN merged pull request #7588: Fix e8d397e4ee: Avoid using RemapCoords2 during savegame conversion. https://git.io/fjWnx
13:29:54 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7573: Fix #7561: Remove assumption between power and cost https://git.io/fjWzS
13:39:52 <peter1138> Okay, definitely salad time now.
14:04:50 <peter1138> That was brief.
14:04:56 *** Samu has joined #openttd
14:06:29 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN 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/fjWg1
14:11:05 <andythenorth> mac and cheese?
14:15:15 *** Gustavo6046 has joined #openttd
14:31:51 <peter1138> Are you American?
14:32:03 <peter1138> We normally call that stuff macaroni cheese.
14:52:06 <andythenorth> oops, I forgot to eat it
14:52:09 <andythenorth> got distracted
15:00:29 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on pull request #7503: Feature: Add aircraft type dropdown in Autoreplace window https://git.io/fjWaL
15:02:25 *** snail_UES_ has joined #openttd
15:05:19 <supermop_work> hi
15:07:20 <peter1138> Hmm.
15:09:48 *** snail_UES_ has quit IRC
15:10:19 <supermop_work> so there is a town can build flag for roads?
15:23:03 *** Flygon_ has joined #openttd
15:28:19 *** glx has joined #openttd
15:28:19 *** ChanServ sets mode: +v glx
15:29:47 *** Flygon has quit IRC
15:51:41 <peter1138> Yes there is.
15:54:46 <LordAro> turns out it's quite hard to resolve merge conflicts while holding an ice cream, but it is possible
15:55:16 <peter1138> Erm...
15:55:23 <glx> hmm seems allocated_size is never decreased on Free()
15:55:25 <peter1138> Just eat the ice cream, and then... get another.
15:56:00 <LordAro> peter1138: pish.
15:57:01 <peter1138> Strava says I'm 31 miles ahead of pace.
15:57:14 <peter1138> 2,974 / 8,078 miles for the year.
15:57:35 <peter1138> I think that's 13,000 km.
15:57:47 <peter1138> Maybe I can do it this year.
16:06:01 *** Alberth has joined #openttd
16:06:01 *** ChanServ sets mode: +o Alberth
16:06:09 <Alberth> o/
16:17:01 *** nielsm has joined #openttd
16:29:36 <glx> ok there are different issues from #7590: allocated_size not updated in Free(), missing try/catch blocks in some places (both are related to the exception crash)
16:29:58 <glx> I don't know yet what happened to trigger the segfault
16:35:33 <peter1138> Well...
16:35:40 <peter1138> At least it's getting tested now it's merged ;)
16:35:47 <glx> indeed
16:39:12 *** UncleCJ has joined #openttd
16:41:48 <glx> I really don't understand the segfault stack trace, I don't see how it goes from ScriptConfig::ScriptConfigAnchorUnchangeableSettings() to ScriptConfig::ScriptConfig(const ScriptConfig * config)
16:45:10 *** Wormnest has joined #openttd
16:47:35 <glx> + config 0x005a5dbe {openttd.exe!ScriptConfig::SetSetting(const char *, int)} {name=0xd2850c55 <Erreur durant la lecture des caractères de la chaîne.> ...} const ScriptConfig *
16:47:52 <glx> the stack trace is broken
16:50:07 <glx> useless
16:58:57 <LordAro> mm, good ol corruption
16:59:29 <glx> hmm unless it's because game script triggered the exception in generate world thread
17:01:31 *** duck_ has joined #openttd
17:02:47 *** tneo has quit IRC
17:03:37 *** Osai has quit IRC
17:03:39 *** Osai has joined #openttd
17:04:00 *** orudge` has joined #openttd
17:04:39 *** tneo has joined #openttd
17:05:07 *** luaduck has quit IRC
17:05:57 *** orudge has quit IRC
17:06:12 *** fonsinchen has quit IRC
17:06:12 *** Terkhen has quit IRC
17:06:22 *** lagertonne has quit IRC
17:06:33 *** lagertonne has joined #openttd
17:06:39 *** Terkhen has joined #openttd
17:06:39 *** ChanServ sets mode: +o Terkhen
17:08:37 *** WWacko1976-work has quit IRC
17:08:39 *** fonsinchen has joined #openttd
17:30:38 *** spnda has joined #openttd
17:36:12 *** fonsinchen has quit IRC
17:36:39 *** fonsinchen has joined #openttd
17:39:02 *** Flygon_ has quit IRC
18:34:13 *** HerzogDeXtEr has joined #openttd
18:50:05 <andythenorth> hmm
18:50:13 <andythenorth> bridges as part of stations then?
18:50:25 <andythenorth> seems wrong, but not sure why
18:51:02 <glx> hmm I managed to trigger the exception in generate world thread, and it triggers a segfault, but in a totally different location
18:51:44 <nielsm> andythenorth because it's not really so much a bridge as just a raised construction at that point
18:51:53 <nielsm> and you really need RCT terrain to do it properly
18:52:45 <andythenorth> extending the platform length with bridge/tunnel seems really smart, and really wrong
18:53:04 <peter1138> It is definitely really wrong.
18:53:13 <peter1138> I'm gonna go with not smart, though.
18:53:45 <nielsm> you may just as well start over with OpenLoco here
18:56:04 <glx> oh of course I triggered the assertion in the constructor, and it tries to resume a not running script
19:10:37 *** andythenorth has quit IRC
19:11:50 *** andythenorth has joined #openttd
19:12:14 *** andythenorth has quit IRC
19:14:42 *** Gumle2 has joined #openttd
19:23:57 <peter1138> I guess 7589 will change prices for a "default" start in 1950. Hmm.
19:24:45 <nielsm> yeah it will...
19:26:44 <glx> ah the exception doesn't happen in constructor, but when calling Start(), because the memory check is done at the begining of each call
19:27:07 <peter1138> Oof, max loan of £500,000 starts off at £11,700,000 instead.
19:28:06 <glx> I think throwing an exception in CheckLimit() is too extreme
19:28:14 <peter1138> Hmm, so you start after 30 years of inflation...
19:28:22 <peter1138> That's going to make game start a bit hard.
19:28:41 <peter1138> Oh! I was starting in 2000.
19:28:44 <peter1138> That's 80 years.
19:28:47 <peter1138> Even so.
19:33:01 <nielsm> glx: it was the best way I could think of to propagate the state
19:33:28 <glx> yes, but there are weird cases, like the one I'm doing
19:34:43 *** Wolf01 has joined #openttd
19:34:48 <glx> allocate too much in constructor, throw the exception when calling Start() then crash when handling ET_RESUME_THROW_VM because stack is empty
19:35:45 <DorpsGek_II> [OpenTTD/OpenTTD] PeterN commented on pull request #7589: Change: Always apply inflation from 1920 to 2090, no matter the game start year. https://git.io/fjWPo
19:35:47 <nielsm> https://github.com/OpenTTD/OpenTTD/pull/7516#discussion_r277144736
19:36:21 <peter1138> nielsm, yeah, that's what I was thinking :)
19:36:42 <Wolf01> o/
19:36:54 <peter1138> But actually it shouldn't be running out of memory. I think it's just miscounting it.
19:37:18 <glx> no it correctly counted it in my test
19:37:39 <glx> constructor() {
19:37:39 <glx> _a.resize(128000000, "test");
19:37:39 <glx> }
19:37:55 <glx> with a max allowed to 128MiB
19:38:21 <glx> anyway it's also miscounting in 7590
19:38:30 <peter1138> There's no reason that switching mode should cause it to use more memory, though.
19:38:31 *** andythenorth has joined #openttd
19:38:34 <glx> because Free() doesn't decrement
19:38:43 <peter1138> Exactly. It's miscounting it.
19:39:49 <glx> and AI scanning uses the same script engine for all I think
19:40:02 <andythenorth> 'Pointy Hopper'
19:40:06 <andythenorth> 'Blocky Hopper'
19:40:07 <nielsm> Free not counting down is a bug I fixed while working on the patch and then somehow managed to un-fix
19:40:10 <nielsm> apparantly
19:40:23 <andythenorth> or tanks?
19:40:25 <andythenorth> hmm
19:42:16 <glx> https://github.com/OpenTTD/OpenTTD/blob/2d0352d67f1c9a6583b04a6bebb89520cf2bee29/src/3rdparty/squirrel/squirrel/sqvm.cpp#L730 <-- it crashes here in my test case
19:42:23 <glx> because ci is null
19:42:29 <Wolf01> <andythenorth> or tanks? <-
19:42:35 <andythenorth> tanks
19:45:29 <glx> https://paste.openttdcoop.org/pn5we4eqn
19:45:46 <glx> maybe there's a way to not resume if it's not really started yet
19:46:39 <glx> but I think it's done that way to actually display the error
19:53:49 <peter1138> I'm gonna craft some mines.
19:54:04 <andythenorth> I am crap at tanks today
19:54:21 <andythenorth> I should make some Horse or something
19:54:42 <peter1138> Oh, new version :/
20:02:31 <peter1138> Ok... updated and my building has been destroyed by fire. Nobody has been on. There's no fire...
20:04:58 *** Alberth has left #openttd
20:06:41 *** Gumle2 has quit IRC
20:12:05 <andythenorth> needs a new map array
20:14:00 *** Wormnest has quit IRC
20:20:31 *** Gumle2 has joined #openttd
20:36:39 *** frosch123 has joined #openttd
20:37:39 <andythenorth> quak
20:38:31 <frosch123> moo
20:38:37 <frosch123> iz cat?
20:41:02 <frosch123> a group of elderly engineers at my company thought that "lol" would we a good name for a some project
20:48:54 <spnda> League Of Legends...
20:50:54 <andythenorth> I am an elderly engineer
20:52:08 <frosch123> are tank drivers engineers? like locomotive drivers?
20:52:50 <andythenorth> _probably_ not
20:58:05 *** Gumle2 has quit IRC
21:00:30 <DorpsGek_II> [OpenTTD/OpenTTD] stale[bot] commented on pull request #7094: Fix #7088: Retrieve an appropriate name for a non-existant AI/GS when displaying a textfile https://git.io/fjW1M
21:00:30 <andythenorth> 'shiny hopper
21:00:37 <andythenorth> 'rusty hopper' ?
21:02:04 <frosch123> hip hopper
21:02:19 <frosch123> hipster hopper
21:05:14 <andythenorth> lol hopper
21:05:51 <frosch123> is there an aviation set with a rofl copter?
21:06:20 <frosch123> (not sure whether that is an international term, or just german slang)
21:07:33 <nielsm> it was a thing in 2002
21:08:21 <frosch123> yes, i am that old :p
21:11:31 *** tokai has joined #openttd
21:11:31 *** ChanServ sets mode: +v tokai
21:18:24 *** tokai|noir has quit IRC
21:21:36 <DorpsGek_II> [OpenTTD/OpenTTD] michicc commented on pull request #7572: GDI engine for font glyph rendering as a replacement for FreeType (take 2) https://git.io/fjWMl
21:22:13 *** qwebirc79820 has joined #openttd
21:25:34 <DorpsGek_II> [OpenTTD/OpenTTD] michicc commented on pull request #7589: Change: Always apply inflation from 1920 to 2090, no matter the game start year. https://git.io/fjWME
21:33:12 *** qwebirc79820 has quit IRC
21:34:19 *** Gumle2 has joined #openttd
21:34:58 *** Gumle2 has quit IRC
21:37:40 *** garbo has joined #openttd
21:37:47 *** garbo is now known as Garbage
21:37:58 *** spnda has quit IRC
21:38:26 *** Garbage has quit IRC
21:56:34 *** Progman has joined #openttd
21:58:53 <glx> https://github.com/OpenTTD/OpenTTD/compare/master...glx22:squirrel <-- one of the commits fix my test case
22:04:11 <nielsm> not sure if fixing it in squirrel is the right thing to do or if the OTTD script engine should mark itself as invalid and check for that instead
22:05:33 <glx> dunno if it's possible based on https://paste.openttdcoop.org/pn5we4eqn
22:27:37 *** nielsm has quit IRC
22:57:44 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7589: Change: Always apply inflation from 1920 to 2090, no matter the game start year. https://git.io/fjWyr
23:03:05 *** frosch123 has quit IRC
23:10:21 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7589: Change: Always apply inflation from 1920 to 2090, no matter the game start year. https://git.io/fjWyd
23:14:15 <DorpsGek_II> [OpenTTD/OpenTTD] orudge commented on pull request #7572: GDI engine for font glyph rendering as a replacement for FreeType (take 2) https://git.io/fjWyN
23:36:38 *** HerzogDeXtEr has quit IRC
23:37:56 *** Compu has joined #openttd
23:38:12 *** andythenorth has left #openttd
23:45:00 *** Wolf01 has quit IRC
23:51:29 *** Progman has quit IRC