IRC logs for #openttd on OFTC at 2018-09-10
            
00:14:02 *** Wormnest has quit IRC
00:27:04 *** wodencafe has quit IRC
00:41:04 *** HerzogDeXtEr has quit IRC
01:07:54 *** ZeNinja864 has joined #openttd
01:12:29 *** ZeNinja864 has quit IRC
01:31:24 *** glx has joined #openttd
01:31:24 *** ChanServ sets mode: +v glx
01:38:01 *** DDR has joined #openttd
01:47:04 *** Progman has quit IRC
02:01:12 *** Supercheese has quit IRC
02:01:34 *** Supercheese has joined #openttd
02:40:19 *** Samu has quit IRC
03:34:15 *** glx has quit IRC
03:34:36 *** wodencafe has joined #openttd
03:52:11 *** rocky113844 has quit IRC
04:05:41 *** KouDy has quit IRC
04:10:20 *** Flygon has joined #openttd
04:13:59 *** sim-al2 has quit IRC
04:17:21 *** sim-al2 has joined #openttd
04:56:36 *** Supercheese has quit IRC
04:56:58 *** Supercheese has joined #openttd
05:23:33 *** KouDy has joined #openttd
05:26:10 *** haudrauf has quit IRC
05:29:44 *** haudrauf has joined #openttd
07:07:57 *** Mahjong2 has joined #openttd
07:08:41 *** Lejving_ has joined #openttd
07:12:54 *** Yotson_ has joined #openttd
07:14:31 *** Mahjong2 has quit IRC
07:14:31 *** KouDy has quit IRC
07:14:31 *** Mahjong1 has quit IRC
07:14:31 *** argoneus has quit IRC
07:14:31 *** ^Spike^ has quit IRC
07:14:31 *** tneo has quit IRC
07:14:31 *** Alkel_U3 has quit IRC
07:14:31 *** SpComb has quit IRC
07:14:31 *** DorpsGek_II has quit IRC
07:14:31 *** masse has quit IRC
07:14:31 *** Westie has quit IRC
07:14:31 *** Yotson has quit IRC
07:14:31 *** Exec has quit IRC
07:14:31 *** milek7_ has quit IRC
07:14:31 *** FLHerne has quit IRC
07:14:31 *** Lejving has quit IRC
07:18:27 *** Mahjong2 has joined #openttd
07:18:27 *** KouDy has joined #openttd
07:18:27 *** argoneus has joined #openttd
07:18:27 *** ^Spike^ has joined #openttd
07:18:27 *** tneo has joined #openttd
07:18:27 *** DorpsGek_II has joined #openttd
07:18:27 *** Alkel_U3 has joined #openttd
07:18:27 *** SpComb has joined #openttd
07:18:27 *** masse has joined #openttd
07:18:27 *** Westie has joined #openttd
07:18:27 *** Exec has joined #openttd
07:18:27 *** milek7_ has joined #openttd
07:18:27 *** FLHerne has joined #openttd
07:19:06 *** Mahjong2 has quit IRC
07:19:39 *** Mahjong2 has joined #openttd
07:20:15 *** KouDy has quit IRC
07:27:22 *** Mahjong1 has joined #openttd
07:27:32 *** Mahjong2 has quit IRC
07:27:48 *** IgnoredAmbience has joined #openttd
07:35:36 *** KouDy has joined #openttd
07:44:32 *** snail_UES_ has joined #openttd
08:01:09 *** Yotson_ is now known as Yotson
08:14:47 *** snail_UES_ has quit IRC
08:31:20 *** andythenorth has joined #openttd
08:31:33 <andythenorth> moin
08:31:38 <andythenorth> @seen supermop
08:31:38 <DorpsGek> andythenorth: supermop was last seen in #openttd 9 weeks, 4 days, 13 hours, 4 minutes, and 28 seconds ago: <supermop> i want rich tree biome simulation in openttd
08:59:19 *** argoneus has quit IRC
08:59:48 *** argoneus has joined #openttd
09:05:23 *** Sheogorath has quit IRC
09:14:01 <planetmaker> moin moin
09:23:39 *** Supercheese has quit IRC
09:24:01 *** Supercheese has joined #openttd
09:31:33 *** Supercheese has quit IRC
09:46:23 *** Mahjong has joined #openttd
09:51:02 *** Mahjong1 has quit IRC
10:25:16 <DorpsGek_II> [OpenTTD/OpenTTD] EgyLynx commented on issue #6894: destroy but keep land https://github.com/OpenTTD/OpenTTD/issues/6894#issuecomment-419829480
10:28:05 *** andythenorth has quit IRC
10:28:20 *** Mahjong has quit IRC
10:28:41 *** Mahjong has joined #openttd
10:31:46 *** Samu has joined #openttd
11:01:20 *** Mahjong has quit IRC
11:01:58 *** Mahjong has joined #openttd
11:05:06 *** Mahjong has quit IRC
11:05:49 *** Mahjong has joined #openttd
11:05:59 *** Progman has joined #openttd
11:06:36 *** Mahjong has quit IRC
11:06:55 *** Mahjong has joined #openttd
11:08:06 *** Mahjong has quit IRC
11:12:46 *** Mahjong has joined #openttd
11:13:54 *** andythenorth has joined #openttd
11:15:06 *** Mahjong has quit IRC
11:15:41 *** Mahjong has joined #openttd
11:18:06 *** Mahjong has quit IRC
11:19:07 *** Mahjong has joined #openttd
11:20:06 *** Mahjong has quit IRC
11:20:35 *** Mahjong has joined #openttd
11:22:28 *** Mahjong has joined #openttd
11:24:31 *** DDR has quit IRC
11:24:47 <LordAro> anyone work out what that last comment means?
11:24:57 <LordAro> Mahjong: fix your connection
11:32:37 *** Mahjong1 has joined #openttd
11:35:40 *** andythenorth has left #openttd
11:37:32 *** Mahjong has quit IRC
13:02:54 <Samu> connection reset by peer?
13:02:58 <Samu> read error
13:03:22 <Samu> nevermind, I'm too late
13:13:14 *** pente has joined #openttd
13:13:27 *** pente has left #openttd
14:06:34 *** IgnoredAmbience has left #openttd
14:42:08 *** andythenorth has joined #openttd
14:56:40 *** peter1138 has quit IRC
15:02:24 *** peter1138 has joined #openttd
15:02:25 *** ChanServ sets mode: +o peter1138
15:04:29 <Samu> the AI is now able to track down where he place bridges
15:04:34 <Samu> and can upgrade them
15:04:35 <Samu> yay
15:08:40 <Samu> and it can save and load them back
15:08:47 <Samu> so proud! :p
15:09:39 <Samu> there is a "maybe not a bug" about tunnels
15:10:52 <Samu> it he tries to build a tunnel from x to y in a tunnel from the same x to the same y, the error message it gets is AREA NOT CLEAR
15:11:07 <Samu> the pathbuilder was expecting ALREADY BUILT message :(
15:11:26 <Samu> for bridges it gets ALREADY BUILT
15:11:36 <Samu> for road pieces it gets ALREADY BUILT
15:11:42 <Samu> but for tunnels it does not
15:11:48 <Samu> bug or intended?
15:13:07 *** andythenorth has left #openttd
15:13:27 <peter1138> Probably neither.
15:14:07 <peter1138> It's not actually wrong, and it's not deliberately intended to be different to the others.
15:14:57 <peter1138> It's not like we all sat down and decided what error messages to give throughout the game.
15:15:43 <peter1138> You could make a feature suggestion (or, heh, a PR) if you think ALREADY BUILT would be a useful status to return in this case.
15:36:33 <Eddi|zuHause> random idea for #6894: ctrl+click with the buy land tool could bulldoze whatever is there to buy the land
15:36:54 *** eirc has quit IRC
15:43:36 *** nielsm has joined #openttd
15:53:01 *** sla_ro|master has joined #openttd
16:05:17 *** eirc has joined #openttd
16:06:48 *** eirc has quit IRC
16:07:41 *** KouDy has quit IRC
16:08:39 *** eirc has joined #openttd
16:40:42 *** KouDy has joined #openttd
16:59:00 *** sla_ro|master has quit IRC
17:00:16 *** KouDy has joined #openttd
17:13:12 *** Gja has joined #openttd
17:16:16 *** Tharbakim has quit IRC
17:16:43 *** Alberth has joined #openttd
17:16:43 *** ChanServ sets mode: +o Alberth
17:16:58 <Alberth> o/
17:18:28 *** KouDy has quit IRC
17:30:42 *** synchris has joined #openttd
17:33:07 *** Gja has quit IRC
17:35:03 *** andythenorth has joined #openttd
17:35:06 <andythenorth> o/
17:39:13 * andythenorth has a puzzle
17:48:55 <Samu> local next_tile = cur_node + (cur_node - other_end) / AIMap.DistanceManhattan(cur_node, other_end);~
17:49:01 <Samu> what kind of magic math is this
17:49:15 *** KouDy has joined #openttd
17:50:45 <Samu> @calc 500 + (500 - 300) / 200
17:50:45 <DorpsGek> Samu: 501
17:50:51 <Samu> what?
17:53:04 *** Wormnest has joined #openttd
17:53:15 <andythenorth> next tile innit
17:53:32 <Samu> @calc 500 + (500 - 700) / 200
17:53:32 <DorpsGek> Samu: 499
17:53:49 <Samu> ah, the next adjacent tile towards a direction, i see
17:54:45 <Samu> what about y axis :(
17:55:10 <Samu> @calc 500 + (500 - 564) / 1
17:55:10 <DorpsGek> Samu: 436
17:55:30 <Samu> @calc 500 + (500 - 436) / 1
17:55:30 <DorpsGek> Samu: 564
17:55:32 *** Thedarkb has joined #openttd
17:55:35 <Samu> nice magic
17:56:53 *** Thedarkb has quit IRC
17:57:49 *** sla_ro|master has joined #openttd
18:03:00 <Alberth> x=0; x=1-x; x=1-x; ...
18:08:31 <andythenorth> lo Alberth
18:08:53 *** Sheogorath has joined #openttd
18:14:29 *** Flygon has quit IRC
18:21:49 <FLHerne> LordAro: I think it just translates as "I disagree"
18:25:38 <Alberth> lo andy
18:30:23 <andythenorth> the brown one https://dev.openttdcoop.org/attachments/download/9095/covhops.png
18:30:28 <andythenorth> too much the colour of a poo?
18:32:44 <planetmaker> o/
18:32:47 <Alberth> at this size somewhat yeah, in a green grassfield it may be not so bad imho
18:32:50 <planetmaker> the colour is fine IMHO
18:32:59 <Alberth> \o planet person
18:33:13 <planetmaker> wood and poo... is just different in touching ;)
18:33:25 <Alberth> doow !
18:34:55 <andythenorth> I want some variety in default wagon colours
18:35:05 <andythenorth> mostly they are CC, which is good
18:35:17 <planetmaker> so... use 32bpp :)
18:35:29 <andythenorth> not that kind of variety :)
18:35:37 <planetmaker> and still stick to the palette but deviate where it "needs more colour"
18:38:57 <andythenorth> oof, I still need to get the 16 cargos patch fixed
18:39:30 <andythenorth> https://github.com/OpenTTD/OpenTTD/pull/6867
18:39:36 <andythenorth> specifically the nml for it
18:39:59 <andythenorth> https://github.com/nielsmh/nml/commits/indcargonum
18:42:13 *** Tharbakim has joined #openttd
18:45:11 *** HerzogDeXtEr has joined #openttd
18:55:43 *** andythenorth has quit IRC
19:01:27 <Samu> just changed the pathfinder costs to use real costs
19:01:31 *** KouDy has quit IRC
19:01:35 <Samu> £ costs
19:01:45 <Samu> testing
19:01:53 <Samu> i actually wonder what the results will be
19:03:52 <Samu> woah, not bad, for the first route
19:03:57 <Samu> i expected worse
19:11:17 <Samu> lol, it contourns trees
19:12:10 *** Wolf01 has joined #openttd
19:13:15 <Wolf01> o/
19:13:19 <Samu> contourns farm land, that's good
19:19:47 *** andythenorth has joined #openttd
19:20:09 <Samu> lol https://imgur.com/cdMzZuz
19:20:25 <Samu> construction costs conscious pathfinder
19:21:37 <Samu> sometimes it goes great lenghts to avoid demolishing trees, that's the worst part
19:22:03 <Samu> it's interesting nevertheless
19:23:03 <andythenorth> so I need to clone a branch from a git remote
19:23:10 <andythenorth> so I have a local working branch in my repo
19:23:36 <nielsm> clone the repo (or add it as remote on an existing local repo and fetch)
19:23:47 <nielsm> then checkout remotename/branchname
19:27:50 *** Wormnest has quit IRC
19:31:22 *** Gja has joined #openttd
19:33:41 <Alberth> Samu: it doesn't know you can also build at tiles with 1 corner up?
19:33:47 *** KouDy has joined #openttd
19:33:57 <Alberth> or is that much more expensive ?
19:34:01 <nielsm> Alberth I'm guessing the landscaping costs offset it
19:34:25 <Alberth> it would build foundations, wouldn't it?
19:34:47 <nielsm> yes, those are actually rather expensive
19:35:14 <Alberth> ah, so working properly then :)
19:36:41 <LordAro> iirc all the pathfinder costs are configurable
19:36:48 <LordAro> almost no one ever touches them though
19:39:40 *** ToBeFree has joined #openttd
19:40:29 <FLHerne> andythenorth: I think they look fine
19:42:47 <Samu> https://imgur.com/bRgDDSZ this one was the weirdest
19:42:55 *** SpComb has quit IRC
19:49:11 <nielsm> okay that's weird yes, was that really cheaper than cutting a more direct route through?
19:49:32 <Samu> i doubt it
19:49:45 <Samu> clearing trees aren't all that expensive, are they
19:50:11 <Samu> i guess the cost is applied twice
19:50:59 <Samu> new_tile becomes prev_tile, and it estimates costs from prev_tile to new_tile, so there is some repetition
19:51:26 <Samu> since it's in test mode
19:51:34 <Samu> the trees aren't actually cleared
19:54:18 <Samu> if i could just get the cost of every individual part separated :(
19:54:28 *** Gja has quit IRC
20:00:04 <Alberth> LordAro: I think this is a pathdfinder in squirrel
20:00:56 <Samu> it takes longer to time out
20:00:59 <Alberth> clear the tile if it is not empty?
20:01:17 <Samu> it's pathfinding
20:01:21 <Samu> can't clear
20:02:35 <Samu> with some math involved, i can try separate prices. i can check the price of demolishing tile
20:02:59 <Alberth> for checking, build the road, note the cost, clear the tile, and build it again, note the cost again
20:03:27 <Alberth> gives an idea of the how much cost you avoided by not going through the woods
20:03:27 <Samu> prev_tile wouldn't need to be accounted again
20:03:58 *** frosch123 has joined #openttd
20:04:27 <Alberth> you could also add a cost for the length of the road
20:05:01 <Samu> this pathfinder always involves two tiles to get costs
20:05:06 <Alberth> to avoid it building long detours
20:05:32 <Samu> hmm let me think
20:05:48 <Alberth> it would always clear the tile right?
20:06:27 <Samu> 1 - 2 - 3 - 4 - 5, starts with null and 1
20:06:29 <Samu> then 1 and 2
20:06:32 <Samu> then 2 and 3
20:06:34 <Samu> etc
20:06:55 <Alberth> and each tile is equal in cost for road, so you can count number of tiles and multiply by road cost for 1 tile
20:07:08 <Alberth> *each cleared tile
20:07:38 *** tokai has joined #openttd
20:07:38 *** ChanServ sets mode: +v tokai
20:07:42 <andythenorth> I need checkout -b, yes?
20:08:18 <Alberth> makes life simpler to refer to the branch, mostly
20:08:29 <Alberth> and required if you add more changes
20:09:32 <andythenorth> I need to interactive rebase
20:09:38 <Alberth> ie you can check-out any commit by referring to the hash, but the only thing from getting it garbage collected is the fact that it is part of some branch
20:09:38 <andythenorth> so I am assuming I need a branch for that
20:10:01 <Alberth> yes, you'll be changing the branch, so head would be dangling otherwise
20:13:00 <andythenorth> goof
20:13:06 <andythenorth> I really like git, but I can't use it
20:13:48 <andythenorth> I have checked out the remote branch, but it has no diff with master
20:13:52 <andythenorth> so that can't be correct
20:14:35 *** tokai|noir has quit IRC
20:14:46 <andythenorth> ok fixed :|
20:16:35 <Samu> maybe i'll have to put this to use https://noai.openttd.org/api/trunk/classAITile.html#76ba2d0b913cf012cfa2bd6436d442e7
20:16:49 <Samu> AITile functions
20:16:56 <Samu> and define a base price for all that stuff
20:16:57 <andythenorth> this is now the worst teddy bear coding channel ever
20:28:11 *** Wormnest has joined #openttd
20:30:44 <Alberth> make a channel with just you? :)
20:31:04 <Alberth> or use a real teddy bear :p
20:31:49 *** SpComb has joined #openttd
20:33:11 <andythenorth> and one for samu
20:35:05 *** Wacko1976 has joined #openttd
20:38:57 *** Supercheese has joined #openttd
20:39:41 <Alberth> night
20:39:53 <andythenorth> bye
20:40:23 *** Alberth has left #openttd
20:42:56 *** wodencafe has quit IRC
20:43:02 *** HeyCitizen has joined #openttd
20:44:00 *** wodencafe has joined #openttd
20:44:10 *** HeyCitizen_ has quit IRC
20:47:01 *** gelignite has joined #openttd
20:52:02 *** iSoSyS has joined #openttd
21:15:32 *** andythenorth has quit IRC
21:15:54 *** andythenorth has joined #openttd
21:15:59 <andythenorth> I need a bigger screen :P
21:16:11 <andythenorth> I have 2 shells, 3 browser windows and a text editor
21:16:19 <andythenorth> just to patch nml :P
21:18:55 *** sla_ro|master has quit IRC
21:21:18 <andythenorth> ooof
21:21:21 <andythenorth> don't think I can do this
21:21:26 <andythenorth> the instructions didn't work
21:21:39 <andythenorth> I am following this
21:21:40 <andythenorth> https://gist.github.com/kale-stew/e13b3c3999e50b3fe9746f500552ebd7
21:21:50 <andythenorth> I have a commit changed locally
21:21:56 <andythenorth> but it won't show in github
21:22:00 <andythenorth> I force pushed
21:22:08 <andythenorth> git sees no more changes to push
21:22:14 <andythenorth> that's one problem
21:22:41 <andythenorth> separately, I need to amend another commit, but I get conflicts when I try to do that
21:22:59 <nielsm> you pushed to my repos on github
21:23:10 <nielsm> not sure if that was your intention
21:23:51 <nielsm> https://github.com/nielsmh/nml/commits/indcargonum
21:24:58 <andythenorth> how did I do that?
21:25:10 <andythenorth> how did I get rights?
21:25:20 * andythenorth hates wearing clown shoes, it makes me feel stupid
21:25:32 <nielsm> I added you as a collaborator a while ago so you could use the issue tracker on my fork
21:25:38 <andythenorth> oof
21:25:59 <andythenorth> so my local branch treats your remote as origin?
21:26:12 <nielsm> and projects on personal accounts don't have access rights
21:26:36 <andythenorth> well sorry :(
21:26:36 <nielsm> yes it's the default push remote for your local branch
21:26:49 <andythenorth> so I have to specify origin on push?
21:27:27 <andythenorth> this is the problem with trying to follow 2 guides, and having to combine instructiosn from each
21:27:28 <nielsm> at least once
21:27:44 <nielsm> git push -u otherremote
21:28:00 <nielsm> pushes the branch to otherremote and sets that as the default remote for push
21:28:32 <andythenorth> hmm, now I have https://github.com/andythenorth/nml/commits/indcargonum
21:28:36 <andythenorth> I should stick to drawing
21:29:05 <andythenorth> that looks like the rebase is gone, and now I have additional commits
21:29:27 <andythenorth> but nothing in my shell history should have done that afaict
21:34:26 <andythenorth> let's delete the branch
21:35:53 <andythenorth> how many times can I interactive rebase?
21:35:58 <andythenorth> is it a one-time thing?
21:36:06 <nielsm> as much as you desire
21:36:54 <nielsm> I did it a ton when working on my music patches
21:36:54 <andythenorth> ok
21:37:09 <nielsm> mainly to integrate fixes in old commits
21:37:12 <andythenorth> I can see how it would get easy if you're in the habit
21:37:24 <andythenorth> it's a bit like a patch queue
21:40:21 *** synchris has quit IRC
21:44:41 <andythenorth> nielsm: so I have my patches integrated, afaict they are on the right commits
21:44:46 <andythenorth> grf builds anyway :P
21:44:57 <andythenorth> shall I push them to your repo too, as I'm 50% there already :P
21:44:57 <nielsm> cool
21:45:14 <nielsm> you can do that
21:45:30 <nielsm> but I'm going to bed now, slight headache and stuff :(
21:45:42 <andythenorth> ok done
21:46:03 <nielsm> gn
21:48:08 <DorpsGek_II> [OpenTTD/OpenTTD] andythenorth commented on pull request #6867: 16 cargo types in and out for industries https://github.com/OpenTTD/OpenTTD/pull/6867#issuecomment-420037189
21:54:07 *** nielsm has quit IRC
21:55:21 <andythenorth> anyone fancy reviewing? :P
21:56:40 *** Wacko1976 has quit IRC
21:56:51 *** Wacko1976 has joined #openttd
21:59:28 *** ToBeFree has quit IRC
22:02:27 *** gelignite has quit IRC
22:03:53 *** KouDy has quit IRC
22:09:53 <frosch123> i have been wanting to do that for 6 weeks :)
22:11:32 <frosch123> if it was not a pr, i probably would have committed the first patches, and skipped stuff like prop 28
22:11:36 *** KouDy has joined #openttd
22:11:44 <andythenorth> process eh :)
22:12:06 <frosch123> can i split a pr and commit the settled part? while skipping what is unclear?
22:16:16 <andythenorth> if you can manage the bureacracy yes :)
22:16:23 <peter1138> Cherrypicking isn't exactly simple with github's PR process.
22:16:29 <andythenorth> I like git, I like github
22:16:30 <peter1138> Well, sort of.
22:16:36 <andythenorth> but the bureacracy
22:16:47 <andythenorth> it's quite offputting for actually writing code
22:17:07 <andythenorth> frosch123: so I think prop 28 is unsettled
22:17:17 <andythenorth> dunno what else you would drop, but eh, up to you :)
22:17:49 <frosch123> i would drop everything that is not immediately put to use by firs
22:17:50 <peter1138> The bureaucracy is stuff we've turned on.
22:19:24 <DorpsGek_II> [OpenTTD/OpenTTD] andythenorth commented on pull request #6897: GetMonthlyMaintenanceCost https://github.com/OpenTTD/OpenTTD/pull/6897#issuecomment-420046541
22:19:59 <andythenorth> the bureacracy is fixing commits with rebase, instead of whacking a patch in a later commit :P
22:20:26 <andythenorth> actually it's fine, I'm just bad at it
22:22:19 <andythenorth> I think FIRS would use all but prop 28 frosch123
22:22:27 <andythenorth> I'm just checking again, it's a big PR :)
22:29:07 <andythenorth> it's kind of hard to follow exactly the final spec, but industry props 25, 26, 27 and flag 18, and tile flag 1 look like what FIRS needs
22:37:51 *** frosch123 has quit IRC
22:45:25 <Samu> calc
22:45:49 <Samu> @calc 16408-450
22:45:49 <DorpsGek> Samu: 15958
22:46:07 <Samu> @calc 17724-15958
22:46:07 <DorpsGek> Samu: 1766
22:46:47 <Samu> pathfinder computed cost was £17724
22:46:48 <ST2> one day Samu will find that Windows has a calculator too :D
22:46:59 <Samu> real built cost was 15958
22:47:05 <Samu> not bad
22:47:08 <Samu> hi ST2
22:47:16 <ST2> hi :)
22:47:38 <Samu> where are those extra costs coming from :(
23:07:53 *** andythenorth has left #openttd
23:22:27 *** Wacko1976 has quit IRC
23:38:42 <Samu> https://imgur.com/M2deDTw
23:39:07 <Samu> already able to compute the real cost
23:39:22 <Samu> now the estimated cost should be matching the actual cost
23:39:25 <Samu> hmm
23:39:35 <Samu> it is not :(
23:54:46 *** glx has joined #openttd
23:54:46 *** ChanServ sets mode: +v glx
23:56:34 <Samu> i detected where the costs don't match
23:56:38 <Samu> it's on sloped tiles
23:56:42 <Samu> :(