Log for #openttd on 11th August 2018:
Times are UTC Toggle Colours
00:27:44  *** glx has quit IRC
00:35:54  <DorpsGek_II> [OpenTTD/OpenTTD] JGRennison opened pull request #6883: Fix: Depot building cost does not include foundation build cost (#6875)
00:46:45  *** Supercheese has quit IRC
01:05:57  *** Supercheese has joined #openttd
01:26:13  *** chomwitt has quit IRC
01:30:42  <snail_UES_> michi_cc: thanks for looking into that
01:52:50  *** ToBeFree has joined #openttd
01:57:02  *** ToBeFree has quit IRC
03:51:04  *** haudrauf has quit IRC
03:52:23  *** haudrauf has joined #openttd
04:09:19  *** wodencafe has quit IRC
04:09:58  *** Supercheese has quit IRC
04:10:20  *** Supercheese has joined #openttd
04:21:22  *** chomwitt has joined #openttd
04:25:28  *** juzza1 has joined #openttd
04:48:02  *** Alberth has joined #openttd
04:48:02  *** ChanServ sets mode: +o Alberth
05:18:41  *** chomwitt has quit IRC
05:18:56  *** chomwitt has joined #openttd
05:29:04  *** chomwitt has quit IRC
05:29:19  *** chomwitt has joined #openttd
05:40:26  *** chomwitt has quit IRC
05:40:40  *** chomwitt has joined #openttd
05:42:41  <k-man> i need a compact terminus design. for 8 platorms
05:42:47  <k-man> any suggestion of which to build
05:49:51  <k-man> can you build this with path signals?
05:58:32  *** andythenorth has joined #openttd
05:59:50  *** keoz has joined #openttd
06:04:51  *** snail_UES_ has quit IRC
06:06:12  <peter1138> That doesn't look compact.
06:11:46  <andythenorth> yo
06:23:22  <Alberth> k-man: a large part of the fun can be found in figuring out the layout of such things, try building something, and improve it
06:23:31  <Alberth> and yes, path signals can be used.
06:23:40  <Alberth> moin andy, peter
06:26:29  <SpComb> plus making it fit in whatever space it is that you have available, not just green-field
06:35:23  *** nielsm has joined #openttd
06:38:18  <andythenorth> lo nielsm
06:38:24  <andythenorth> today I can poke at nml
06:38:37  <andythenorth> give or take some chores I have to do :)
06:40:46  <nielsm> cool
06:41:31  <peter1138> Today I will be... cycling.
06:41:53  <nielsm> also fyi I'll be difficult to reach for the next 3 weeks, I'm traveling to japan on vacation from wednesday
06:42:09  <nielsm> and back on the 31st
06:51:49  <Alberth> nice, have fun!
07:19:53  <k-man> thanks Alberth
07:21:16  <Alberth> basically it avoids the "plop pre-designed thing down, add long straight tracks, buy trains, done!"
07:22:08  <peter1138> But copy & paste!
07:22:28  <Alberth> for extra challenge don't use flat landscape, and don't change it
07:22:39  *** chomwitt has quit IRC
07:24:35  <Alberth> peter: play with aircraft?  copy/paste out of the box then!
07:26:27  <peter1138> Nah, haven't got time to fire up X-Plane this morning.
07:28:26  <Alberth> time seems such a scarce thing, nobody seems to have any
07:31:02  <andythenorth> I don't have time to discuss that
07:32:57  *** chomwitt has joined #openttd
07:52:28  *** Wolf01 has joined #openttd
07:52:31  <Wolf01> o/
07:52:44  <Wolf01> Mmmh, the script timer doesn't work at all
07:53:29  <Wolf01> Yesterday worked, today it performed join exactly as the same time of the identify command
08:03:35  *** agentw4b has joined #openttd
08:05:26  *** agentw4b has quit IRC
08:16:10  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #6881: Fix: Script/AI construction of rail track and waypoints
08:17:23  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #6881: Fix: Script/AI construction of rail track and waypoints
08:18:11  <TrueBrain> LordAro: ^^ is funny :D I cannot see any way to write a regression test :)
08:18:37  <TrueBrain> as it would require building a rail where the railtype is more than 4 bits :)
08:19:00  <LordAro> i thought the issue was building any rails?
08:19:11  <TrueBrain> I doubt it is currently broken :P
08:19:12  <LordAro> that's how i read it, anyway
08:19:29  <TrueBrain> a << 4 | 1 << 8 ... becomes a << 6 | 1 << 8
08:19:42  <TrueBrain> so all I can see, that bits 4,5 were 0, instread of the desired value
08:19:50  <TrueBrain> which only happens for  railtypes that use those bits
08:19:53  <TrueBrain> or am I wrong?
08:20:15  <TrueBrain> he said: could not build rail tracks, but I doubt that is true
08:20:40  <LordAro> i feel there's an easy way to find out... :>
08:21:04  <TrueBrain> ah, no, you could test rails to the other axis
08:21:13  <TrueBrain> that is one bit that did change
08:23:18  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #6881: Fix: Script/AI construction of rail track and waypoints
08:23:39  <TrueBrain> LordAro: no, you are aboslutely right. Tracks will work for what ever AXIS 0 is
08:23:43  <TrueBrain> just not for any other :P
08:24:11  *** agentw4b has joined #openttd
08:24:28  <TrueBrain> so I hope/assume the regression set has one with 0 bits :)
08:24:34  <TrueBrain> and it just needs one with non-zero bits :P
08:25:04  *** agentw4b has quit IRC
08:26:55  <LordAro> bin/ai/regression/tst_regression/main.nut:1007
08:26:57  <TrueBrain> in the next PR you see lovely the regression hit on a cost change, rightfully :D
08:27:05  <LordAro> ^^
08:27:31  <TrueBrain> 4 years no change to regression? Oh my ....
08:28:14  <TrueBrain> leave that location for JGR if you like LordAro :) Might make it a bit easier :)
08:28:38  <TrueBrain> but indeed, only one direction is build .. silly :D
08:30:17  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #6881: Fix: Script/AI construction of rail track and waypoints
08:30:32  *** agentw4b has joined #openttd
08:30:52  <TrueBrain> owh, the AI API hasnt really changed in 4 years .. that would also explain why regression isnt touched that long :P
08:31:07  <LordAro> ^^
08:31:40  <TrueBrain> I need to learn DorpsGek_II to mark things as rotten, that after 3 months he closes stuff after notifying the user every month or so about it
08:32:01  <Wolf01> That's andy's job :P
08:32:17  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #6780: Change: Refactor window ticks into game ticks and realtime events.
08:33:02  <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #6784: Ship cpu hog workaround for #6145
08:33:08  <TrueBrain> or mine, it seems :P
08:33:19  <LordAro> pretty sure all of peter1138's stuff was just waiting on a review
08:33:31  <TrueBrain> he himself didn't label it as such, so .. *shrug*
08:33:48  <TrueBrain> second one for sure needs a few lines of extra code
08:34:02  <LordAro> i think they predate your PR labels :p
08:34:07  <TrueBrain> nope
08:34:09  <TrueBrain> open the link
08:34:11  <TrueBrain> :)
08:34:16  <TrueBrain> ITS RIGHT THERE! :P
08:34:46  <LordAro> :<
08:35:17  <TrueBrain> (and you can add labels to PRs that exist before the label did :P)
08:35:19  <TrueBrain> :D
08:40:09  *** Supercheese has quit IRC
08:40:30  *** Supercheese has joined #openttd
08:44:03  <TrueBrain> so LordAro, how is cmake going? :D
08:44:30  <LordAro> :<
08:44:43  <TrueBrain> wiki in a docker? :(
08:44:55  <LordAro> :<<
08:45:13  <TrueBrain> you are as bad in this as I am :P
08:45:27  <LordAro> :p
08:52:00  *** Supercheese has quit IRC
08:57:12  <TrueBrain> do I read this right ... the NML version is the version of Python it is running on? :D
08:57:20  <TrueBrain> ah, no variable reusage :D
08:57:22  <TrueBrain> lolz
08:57:51  <TrueBrain> ah, no git support (yet)
08:58:05  <TrueBrain> and no tags .. hmm
08:58:44  <Alberth> I thought we have nml 4 already?
08:59:05  <TrueBrain> the git version on github suggests no version I can find :D
08:59:23  <TrueBrain> the version is fully auto-detected, from what I can tell .. and only supports hg, from what I can spot
08:59:24  <TrueBrain> so I dunno :D
08:59:51  <Alberth> makes sense, fr0sch is still working on it afaik
09:01:01  <TrueBrain> ah, commit with a tag 0.4.5 :)
09:01:09  <TrueBrain> seems the tags never made it onto github yet
09:01:16  <TrueBrain> guess frosch should push the tags :D
09:01:27  <TrueBrain> (possibly he doesnt know you need to do that separately :)
09:01:28  <Alberth> possibly :)
09:01:37  *** eirc has joined #openttd
09:01:47  <Alberth> tbh, it's silly it doesn't happen by itself
09:02:22  <TrueBrain> happens if 'tags' are just another ref .. but yeah
09:02:52  <TrueBrain> it always feels to me that is an implementation detail which ended up in the workflow :P
09:03:39  <Alberth> git-devs are very much technically correct, and not user-oriented
09:03:59  <TrueBrain> indeed
09:04:22  <TrueBrain> hmm .. so do I experiment with GCP some more .. havent heard back yet from them, which means exactly nothing in either direction ..
09:04:35  <TrueBrain> always tricky .. how much effort do you put into something that might not happen :D
09:04:53  <Alberth> depends on the amount of fun you're having :p
09:05:55  <TrueBrain> there is also the risk that if you find out how awesome it is, the slap in the face when it doesnt happen is too great :P
09:06:21  <Alberth> hmm, good point, beter not get too excited :p
09:09:48  <Alberth> venturing into action A, breaking the idea that each sprite is self-contained :)
09:16:18  <TrueBrain> oh-oh! :P
09:17:21  <Alberth> so far, I have been decoding 5 sprites in 2 weeks, not very fast :p
09:17:35  <TrueBrain> what are you trying to do? :)
09:19:45  <Alberth> at the highest level, extend nml with station support, below that, understand chips code (an example), below that understand actions, below that, decode grf from its bytes
09:20:06  <TrueBrain> :D I never understood NewGRF .. so I can only imagine :D
09:20:22  <Alberth> it's just assembly language :p
09:20:45  <Alberth> except no mnemonics
09:23:31  <TrueBrain> so when are we porting AIs to NewGRF? :D
09:25:09  <michi_cc> After we've ported OTTD to a modern language :p
09:25:12  <Alberth>  action A decoder (line 16), just read bytes, and interpret it as values
09:25:43  <Alberth> c++ not modern? :o
09:25:53  <TrueBrain> I think he means Go :P
09:26:07  <LordAro> or rust!
09:26:28  <Alberth> ah, go is silly, no non-deterministic choice in receive
09:26:42  *** Wormnest has joined #openttd
09:27:12  <michi_cc> node.js of course, inside a browser based execution environment :)
09:27:35  <TrueBrain> YES! That sounds like a perfect idea! Let me reopen a few issues ;)
09:32:22  <TrueBrain> lol, I am reading how GCP did their CI pipeline .. it is pretty nifty
09:32:31  <TrueBrain> you don't need a Jenkins or something fo rit
09:32:40  <TrueBrain> and it is designed to rune very step in a Docker
09:32:53  <TrueBrain> finally a company that understand that running code in a shared env is a stupid idea if you allow random PRs :)
09:35:01  <TrueBrain> so they made it stupidly easy to run multiple steps, each step in their own docker
09:37:28  *** madmax28 has joined #openttd
10:04:37  <andythenorth> o/
10:05:26  <Wolf01> o/
10:22:51  *** Alberth has left #openttd
10:24:41  *** Progman has joined #openttd
10:33:54  *** chomwitt has quit IRC
11:37:14  *** keoz has quit IRC
12:10:25  *** agentw4b has quit IRC
12:15:33  *** chomwitt has joined #openttd
12:25:04  *** wodencafe has joined #openttd
12:49:12  <peter1138> Hmm, can I make git run a regression test before accepting a commit? (Locally, of course)
12:50:04  <peter1138> I may need to rephrase that, it's got to be possible. My real question is, has anyone already done it and can share the incantation so I don't have to figure it out myself? :)
13:01:07  *** madmax28 has quit IRC
13:06:02  <LordAro> peter1138: there's the ottd githooks repo
13:06:22  <LordAro> nothing that goes as far as running regression tests though, i think
14:08:25  *** eirc has quit IRC
14:08:47  *** frosch123 has joined #openttd
14:10:28  *** eirc has joined #openttd
14:15:03  <frosch123> TrueBrain: tags are pushed
14:15:41  <TrueBrain> \o/
14:15:58  <frosch123> i thought "--all" was all :p
14:16:21  <TrueBrain> nothing ever is .. -Wall are not all warnings, and git push--all doesntpush tags :D
14:16:29  <TrueBrain> always something with these programs :P
14:16:38  <frosch123> good comparison :)
14:19:23  *** DanMacK has joined #openttd
14:26:00  <andythenorth> yo DanMacK
14:26:29  *** chomwitt has quit IRC
14:31:12  <DanMacK> Hey Andy
14:52:51  *** snail_UES_ has joined #openttd
15:40:15  <andythenorth> so
15:40:19  <andythenorth> should I play tanks?
15:40:23  <andythenorth> or do newgrf?
15:45:31  <snail_UES_> andythenorth: how about laying down a good plan for new cargoes? :)
15:49:39  <andythenorth> that requires the nml patch :P
15:51:45  <snail_UES_> why?
15:52:52  <andythenorth> 16 in / 16 out at industry
15:53:39  <snail_UES_> you can still code in NFO :p
15:53:46  <andythenorth> oof
16:45:08  *** DanMacK has quit IRC
17:17:56  *** tokai|noir has joined #openttd
17:17:56  *** ChanServ sets mode: +v tokai|noir
17:25:07  *** tokai has quit IRC
17:32:11  *** Alberth has joined #openttd
17:32:11  *** ChanServ sets mode: +o Alberth
18:10:35  *** Alberth has left #openttd
18:33:05  *** Supercheese has joined #openttd
19:30:55  *** glx has joined #openttd
19:30:55  *** ChanServ sets mode: +v glx
19:38:07  *** mindlesstux has quit IRC
19:51:34  *** frosch123 has quit IRC
20:23:16  <andythenorth> nielsm: so where's your nml fork? o_O
20:24:08  * andythenorth has played tanks until literally all fun has been drained
20:24:14  <andythenorth> and then some more :x
20:28:52  <nielsm>
20:44:33  *** andythenorth has quit IRC
20:45:18  *** andythenorth has joined #openttd
20:45:20  <andythenorth> thanks
20:45:26  <andythenorth> computer crashed :(
20:59:00  *** andythenorth has quit IRC
21:13:32  <michi_cc> snail_UES_: You need to have 10 04 in your Action 0 (i.e. bit 2 of the railtype flags set).
22:11:17  *** Supercheese has quit IRC
22:11:39  *** Supercheese has joined #openttd
22:14:32  *** Wormnest has quit IRC
22:28:19  <snail_UES_> michi_cc: thanks
22:32:40  <snail_UES_> still doesn’t work...
22:34:34  *** nielsm has quit IRC
22:39:42  *** chomwitt has joined #openttd
23:09:54  *** Wolf01 has quit IRC
23:25:56  *** Afdal has quit IRC
23:36:03  *** Progman has quit IRC

Powered by YARRSTE version: svn-trunk