IRC logs for #openttd on OFTC at 2019-05-13
⏴ go to previous day
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
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
05:10:38 *** Supercheese has joined #openttd
09:23:36 *** andythenorth has joined #openttd
09:57:27 *** andythenorth is now known as Guest2434
09:57:27 *** andythenorth has joined #openttd
10:12:14 *** WWacko1976-work has joined #openttd
10:20:18 <andythenorth> naming of things
10:38:14 *** andythenorth has joined #openttd
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
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:27:39 *** Flipp3rrr has joined #openttd
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: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:06:56 <andythenorth> 'controllable gravity discharge wagon' is UIC terminology though :P
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:53 <peter1138> People don't want fun, they want realism.
13:10:05 * andythenorth wants realistic lolz
13:10:39 <peter1138> Don't worry, the new map array will solve everything.
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:23 <peter1138> What's that other train game I have?
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:19 <andythenorth> I nearly wrote something awful about fondling
13:15:24 <andythenorth> then I realised what it looked like
13:15:54 <peter1138> It's a model railway simulator, with VR mode.
13:16:19 <peter1138> You can sit inside a model train...
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: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: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: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: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: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: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: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: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: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:15:15 *** Gustavo6046 has joined #openttd
14:32:03 <peter1138> We normally call that stuff macaroni cheese.
14:52:06 <andythenorth> oops, I forgot to eat it
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:10:19 <supermop_work> so there is a town can build flag for roads?
15:23:03 *** Flygon_ has joined #openttd
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: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: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: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:40 <peter1138> At least it's getting tested now it's merged ;)
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: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:04:00 *** orudge` has joined #openttd
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:36:39 *** fonsinchen has joined #openttd
18:34:13 *** HerzogDeXtEr has joined #openttd
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:11:50 *** andythenorth has joined #openttd
19:23:57 <peter1138> I guess 7589 will change prices for a "default" start in 1950. Hmm.
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: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: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:36:21 <peter1138> nielsm, yeah, that's what I was thinking :)
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> _a.resize(128000000, "test");
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:07 <nielsm> Free not counting down is a bug I fixed while working on the patch and then somehow managed to un-fix
19:42:29 <Wolf01> <andythenorth> or tanks? <-
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
20:02:31 <peter1138> Ok... updated and my building has been destroyed by fire. Nobody has been on. There's no fire...
20:12:05 <andythenorth> needs a new map array
20:36:39 *** frosch123 has joined #openttd
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:50:54 <andythenorth> I am an elderly engineer
20:52:08 <frosch123> are tank drivers engineers? like locomotive drivers?
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:37 <andythenorth> 'rusty 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 *** ChanServ sets mode: +v tokai
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:37:47 *** garbo is now known as Garbage
21:56:34 *** Progman has joined #openttd
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: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: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:38:12 *** andythenorth has left #openttd
continue to next day ⏵