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

Powered by YARRSTE version: svn-trunk