IRC logs for #openttd on OFTC at 2019-07-05
            
00:23:14 *** Progman has quit IRC
00:23:26 *** gnu_jj has quit IRC
00:47:57 *** ealfman87 has joined #openttd
00:48:09 <ealfman87> Hi guys I need some help
00:48:59 <ealfman87> I changed my resolution by mistake, and now when I try to play Im unable to see anything but also to change the resolution
00:50:08 <Eddi|zuHause> press alt+enter
00:50:27 <Eddi|zuHause> that should switch into windowed mode
00:53:10 *** Thedarkb-T60 has joined #openttd
00:58:13 *** nielsm has joined #openttd
01:08:14 *** nielsm has quit IRC
01:12:51 <ealfman87> Eddi men u rock! Thank u so much!
01:32:18 *** HerzogDeXtEr has quit IRC
02:03:04 *** k-man has quit IRC
02:16:54 *** Thedarkb-T60 has quit IRC
02:17:18 *** Thedarkb-T60 has joined #openttd
02:28:38 *** ealfman87 has quit IRC
02:34:41 *** Thedarkb-T60 has quit IRC
02:41:10 *** FLHerne has quit IRC
02:41:32 *** FLHerne has joined #openttd
02:42:59 *** Thedarkb-T60 has joined #openttd
03:27:56 *** Thedarkb-T60 has quit IRC
05:11:51 *** Flygon has joined #openttd
05:11:54 *** Samu has quit IRC
05:27:57 *** snail_UES_ has quit IRC
06:52:18 *** gareppa has joined #openttd
07:54:41 *** andythenorth has joined #openttd
08:09:04 <andythenorth> o/
08:17:34 *** andythenorth has quit IRC
08:27:42 *** andythenorth has joined #openttd
08:34:52 *** gareppa has quit IRC
08:38:23 *** k-man has joined #openttd
08:50:39 *** cHawk- has joined #openttd
08:56:55 *** cHawk has quit IRC
09:42:15 *** ghjk has joined #openttd
10:30:21 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7560: Make GSGoal.QuestionClient work correctly at least for clients with ID < 2**16 https://git.io/fj6P6
11:32:55 *** Laedek has quit IRC
11:43:10 *** andythenorth has quit IRC
11:48:54 *** D-HUND has joined #openttd
11:52:09 *** debdog has quit IRC
12:16:27 *** andythenorth has joined #openttd
12:35:42 *** Thedarkb-T60 has joined #openttd
12:45:36 *** Samu has joined #openttd
13:49:10 *** andersd has joined #openttd
14:09:56 *** Thedarkb-T60 has quit IRC
14:33:40 *** Thedarkb-T60 has joined #openttd
14:59:41 *** snail_UES_ has joined #openttd
15:11:48 *** snail_UES_ has quit IRC
15:14:22 *** nielsm has joined #openttd
16:07:07 *** andythenorth has quit IRC
16:08:33 *** andythenorth has joined #openttd
16:54:32 <Samu> round 45 begins
17:30:20 <andythenorth> well
17:30:25 <andythenorth> is it teatime?
17:30:45 *** Wormnest has joined #openttd
17:42:57 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh opened pull request #7639: Fix: Total reset of DMusic driver once every hour https://git.io/fj6Q2
17:43:07 <Eddi|zuHause> what happens if i like neither tea nor coffee?
17:43:29 <LordAro> nielsm: that feels like a hack
17:43:45 <nielsm> LordAro very much
17:43:51 <LordAro> Eddi|zuHause: teatime is also used as a synonym for dinner
17:44:01 <nielsm> but if the bug is in MS code (haven't actually tried to reproduce) there isn't much else to do
17:44:10 <Eddi|zuHause> LordAro: that doesn't sound right
17:44:31 <nielsm> Eddi|zuHause: maybe you're allowed chocolate?
17:45:09 <LordAro> Eddi|zuHause: well, "dinner time", to be exact (dinner ~= tea)
17:45:19 <LordAro> depends on the region, i believe
17:49:30 <peter1138> ;)
17:50:40 <peter1138> "Teatime" is a cold meal in the evening, "dinnertime" is a hot meal, at any time, but usually in the evening because who has time for a hot meal during the day except Sunday?
17:51:16 <peter1138> That's the canonical definition, as ratified by me.
17:51:18 <andythenorth> regional variatios :P
17:51:39 <andythenorth> teatime can definitely include beans on toast
17:51:44 <peter1138> And also, some weird people seem to have their evening meal at around 5pm, which seems FAR to early to me.
17:52:09 <peter1138> andythenorth, that's true, I wouldn't call beans on toast dinner. Probably just a snack? :p
17:52:23 <peter1138> Certainly not a balanced meal, anyway.
17:55:13 *** HerzogDeXtEr has joined #openttd
17:55:52 *** Wormnest has quit IRC
17:56:58 *** Wormnest has joined #openttd
18:12:22 <Eddi|zuHause> <peter1138> And also, some weird people seem to have their evening meal at around 5pm, which seems FAR to early to me. <-- how long after this dinner time do they then go to bed?
18:41:13 *** Flygon has quit IRC
18:48:05 *** andythenorth has quit IRC
18:51:10 *** gelignite has joined #openttd
18:57:50 *** Gumle2 has joined #openttd
19:00:45 *** Gumle2 has quit IRC
19:04:45 *** Progman has joined #openttd
19:06:11 *** Wolf01 has joined #openttd
19:06:26 <Wolf01> o/
19:12:04 <peter1138> 4-5 hours or so?
19:18:30 *** andythenorth has joined #openttd
19:19:21 <andythenorth> well
19:19:32 <andythenorth> I should do something OpenTTD ish
19:59:03 <Wolf01> Me too, but I'm waiting for F server to update :P
20:22:28 <andythenorth> so exclusive vehicle preview....
20:22:38 <andythenorth> does that respect the new vehicle intro date randomisation?
20:23:06 <nielsm> probably not
20:23:22 <nielsm> or well kind of
20:23:25 <nielsm> I think
20:23:47 <nielsm> the intro date is determined from game start as far as I understand
20:23:56 <andythenorth> I just had simultaneous exclusive preview offers for two vehicles with different intro dates
20:23:59 <nielsm> so they would/could all get offered for trial at the same time
20:24:09 <andythenorth> unless this is invalid nml?
20:24:10 <andythenorth> date(1960,01,01) + 3; date(1960,01,01) + 1
20:24:37 <nielsm> not sure, though date() probably just does return a date serial
20:25:17 <nielsm> aren't vehicle intro dates rounded to start of month? maybe they just happened to get the same intro date regardless?
20:27:52 <andythenorth> it's happened a few times
20:28:10 <andythenorth> rounded to month sounds....possible :P
20:28:45 <Eddi|zuHause> andythenorth: preview period is just the first year of availability, no matter how it's randomized
20:29:09 <andythenorth> so how does that interact with dates?
20:29:24 <andythenorth> i.e. what am I doing wrong?
20:29:27 <Eddi|zuHause> that formula above should work
20:30:20 <Eddi|zuHause> openttd rounds intro dates to beginning of a month, so it's still quite likely that both appear at the same time
20:30:52 <andythenorth> ok so I need to add bigger numbers
20:31:24 <Eddi|zuHause> the new randomization is just so you are guaranteed to get the same month
20:31:33 <Eddi|zuHause> if you give the exact same date
20:31:54 <andythenorth> yes
20:32:07 <andythenorth> but because I am adding only days, not months
20:32:09 <Eddi|zuHause> @calc 512/30
20:32:09 <DorpsGek> Eddi|zuHause: 17.0666666667
20:32:15 <andythenorth> all vehicles are going to arrive together
20:33:17 <Eddi|zuHause> if you want to spread out the generations, you might need a bigger base diversity of dates, yes
20:36:05 *** sla_ro|master has joined #openttd
20:39:03 <nielsm> hm should I try to add a debug print that dumps the intro date of all vehicles to the console?
20:39:16 <nielsm> (regardless of introduced yet or not)
20:39:39 <andythenorth> maybe :)
20:39:51 <andythenorth> PR :)
20:42:18 <Eddi|zuHause> we could use a bunch of newgrf debug features
20:47:40 <andythenorth> there are _some_ pretty good ones
20:47:47 <andythenorth> the debug windows are quite effective
20:56:38 *** gelignite has quit IRC
20:58:18 <nielsm> https://0x0.st/zLiG.png
20:58:53 <nielsm> but I don't think that's the post-randomisation values
21:06:05 <andythenorth> ha ha pikka's AI builds loads of bouys :)
21:06:10 <andythenorth> not sure it needs to but eh
21:10:13 <nielsm> https://github.com/OpenTTD/OpenTTD/commit/da30646c8d35c52832c048bae82dcfeb2bc00dee
21:10:21 <nielsm> andythenorth: there's the code if you want it
21:44:26 *** glx has joined #openttd
21:44:26 *** ChanServ sets mode: +v glx
21:52:17 *** Wormnest has quit IRC
21:53:14 *** Thedarkb-T60 has quit IRC
22:00:17 * andythenorth tries
22:02:35 <andythenorth> ouch, OpennTTD lost grfs again
22:05:19 <peter1138> I don't know what "lost grfs" means.
22:06:29 <andythenorth> save game, quit OpenTTD, start OpenTTD, load save, one or more grfs aren't found
22:06:44 <andythenorth> it will be something I'm doing wrong in grf dev
22:06:52 <andythenorth> like recompiling the grf or something
22:07:39 <andythenorth> nielsm: how do I fetch that commit?
22:09:21 <Eddi|zuHause> andythenorth: you can pull from anyone's clone as a remote repo
22:09:37 <andythenorth> I know
22:09:56 <andythenorth> but I don't know how to fetch that OpenTTD commit :P
22:10:42 <Eddi|zuHause> you "checkout <hash>"?
22:11:02 <andythenorth> nah tried that
22:11:16 <andythenorth> fatal: reference is not a tree: da30646c8d35c52832c048bae82dcfeb2bc00dee
22:12:25 <Eddi|zuHause> dunno then
22:13:35 <Eddi|zuHause> <peter1138> I don't know what "lost grfs" means. <-- that's normal, andy uses words in a different sense than anyone else...
22:13:48 <Eddi|zuHause> ... that's probably also how he gets along so well with git
22:13:59 <nielsm> git remote add nielsmh https://github.com/nielsmh/OpenTTD.git && git fetch nielsmh && git checkout -t nielsmh/dumpengines
22:14:02 <nielsm> something like that
22:14:23 <andythenorth> how is the commit in the OpenTTD repo in the link above?
22:14:27 <nielsm> or you can cherry-pick the hash or merge the branch
22:14:33 <nielsm> yeah I don't know that either
22:14:35 <nielsm> github is weird
22:14:52 <andythenorth> Eddi|zuHause: to what extent is 'lost' not a synonym for 'not found'?
22:16:41 <Eddi|zuHause> andythenorth: when something is "lost" it means you know it should be there, but cannot find it. not you definitely destroyed it and are now complaining that other people can't find it.
22:17:18 <andythenorth> so the puzzling thing is
22:17:33 <andythenorth> why does it only get lost if I quit and restart OpenTTD ?
22:17:51 <andythenorth> it's not lost during gameplay
22:18:01 <Eddi|zuHause> files are only deleted if nobody has an open handle on it
22:18:23 <andythenorth> ok
22:18:43 <andythenorth> is there anything I can do to stop this happening?
22:18:46 <Eddi|zuHause> so if you have a file on disk, and open it in the game, then both your file system and the game have an open handle
22:19:04 <andythenorth> yes
22:19:06 <Eddi|zuHause> if you delete it from the filesystem, now only the game has a handle
22:19:07 <andythenorth> that makes sense
22:19:13 <Eddi|zuHause> if you quit the game, now nobody has a handle
22:20:38 <glx> maybe you forgot to "reload newgrf" before saving
22:21:39 <Eddi|zuHause> the game should handle missing grfs correctly, provided you use action 14 "compatible version" properly
22:21:52 <andythenorth> glx? :)
22:21:57 <andythenorth> eh what now?
22:23:56 <andythenorth> nielsm: that's useful, thanks :)
22:27:34 <nielsm> andythenorth: I think you can easily extend it to print more data about the engines too so enjoy
22:33:58 <andythenorth> Eddi|zuHause: so when reload_newgrfs is used, if OpenTTD has a handle to the old file, how does it find the new file?
22:34:12 <Eddi|zuHause> andythenorth: by filename
22:34:29 <andythenorth> does it release the handle?
22:34:36 <Eddi|zuHause> i think so
22:57:30 <DorpsGek_II> [OpenTTD/OpenTTD] James103 commented on pull request #7639: Fix: Total reset of DMusic driver once every hour https://git.io/fj6Fk
23:00:36 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7639: Fix: Total reset of DMusic driver once every hour https://git.io/fj6FL
23:01:13 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7639: Fix: Total reset of DMusic driver once every hour https://git.io/fj6Ft
23:10:06 <DorpsGek_II> [OpenTTD/OpenTTD] Eddi-z commented on pull request #7639: Fix: Total reset of DMusic driver once every hour https://git.io/fj6FY
23:20:03 *** Wormnest has joined #openttd
23:31:07 *** rocky11384497 has quit IRC
23:32:22 *** andythenorth has left #openttd
23:38:30 *** lol has joined #openttd
23:38:46 *** lol has left #openttd
23:45:21 <nielsm> the dailies are a month behind now :(
23:45:57 <LordAro> oh yeah...
23:46:00 <LordAro> when did they break?
23:46:01 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on pull request #7639: Fix: Total reset of DMusic driver once every hour https://git.io/fj6FS
23:46:05 <LordAro> ...don't answer that
23:46:20 <LordAro> are there any logs on azure?
23:46:41 <nielsm> last I tried looking into it I didn't find anything useful
23:46:48 <nielsm> or well
23:46:50 <nielsm> did actually
23:47:09 <nielsm> it seems it's failing a HTTP request to get the available builds
23:47:21 <LordAro> hmm
23:47:25 <nielsm> except that request suceeds when trying it manually from home
23:47:39 <LordAro> not an ipv6 proxy thing?
23:47:51 <LordAro> still, might be worth sending TB an email
23:47:56 <nielsm> and the daily builds themselves might be working and be getting uploaded, just the website doesn't update to point to them
23:48:02 <LordAro> s/might be//
23:49:37 <DorpsGek_II> [OpenTTD/website] nielsmh opened issue #91: Daily builds are not being updated https://git.io/fj6F7
23:49:57 <LordAro> or with luck, he'll spot that :)