IRC logs for #openttd on OFTC at 2018-09-10
⏴ go to previous day
01:07:54 *** ZeNinja864 has joined #openttd
02:01:34 *** Supercheese has joined #openttd
03:34:36 *** wodencafe has joined #openttd
04:17:21 *** sim-al2 has joined #openttd
04:56:58 *** Supercheese has joined #openttd
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:18:27 *** Mahjong2 has joined #openttd
07:18:27 *** argoneus has joined #openttd
07:18:27 *** ^Spike^ has joined #openttd
07:18:27 *** DorpsGek_II has joined #openttd
07:18:27 *** Alkel_U3 has joined #openttd
07:18:27 *** milek7_ has joined #openttd
07:18:27 *** FLHerne has joined #openttd
07:19:39 *** Mahjong2 has joined #openttd
07:27:22 *** Mahjong1 has joined #openttd
07:27:48 *** IgnoredAmbience has joined #openttd
07:44:32 *** snail_UES_ has joined #openttd
08:01:09 *** Yotson_ is now known as Yotson
08:31:20 *** andythenorth has joined #openttd
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:48 *** argoneus has joined #openttd
09:24:01 *** Supercheese has joined #openttd
09:46:23 *** Mahjong has joined #openttd
10:28:41 *** Mahjong has joined #openttd
11:01:58 *** Mahjong has joined #openttd
11:05:49 *** Mahjong has joined #openttd
11:05:59 *** Progman has joined #openttd
11:06:55 *** Mahjong has joined #openttd
11:12:46 *** Mahjong has joined #openttd
11:13:54 *** andythenorth has joined #openttd
11:15:41 *** Mahjong has joined #openttd
11:19:07 *** Mahjong has joined #openttd
11:20:35 *** Mahjong has joined #openttd
11:22:28 *** Mahjong has joined #openttd
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
13:02:54 <Samu> connection reset by peer?
14:06:34 *** IgnoredAmbience has left #openttd
14:42:08 *** andythenorth has joined #openttd
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:08:40 <Samu> and it can save and load them back
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:13:07 *** andythenorth has left #openttd
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:53:01 *** sla_ro|master has joined #openttd
17:16:43 *** Alberth has joined #openttd
17:16:43 *** ChanServ sets mode: +o Alberth
17:30:42 *** synchris has joined #openttd
17:35:03 *** andythenorth has joined #openttd
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:50:45 <Samu> @calc 500 + (500 - 300) / 200
17:53:04 *** Wormnest has joined #openttd
17:53:32 <Samu> @calc 500 + (500 - 700) / 200
17:53:49 <Samu> ah, the next adjacent tile towards a direction, i see
17:55:10 <Samu> @calc 500 + (500 - 564) / 1
17:55:30 <Samu> @calc 500 + (500 - 436) / 1
17:55:32 *** Thedarkb has joined #openttd
17:57:49 *** sla_ro|master has joined #openttd
18:03:00 <Alberth> x=0; x=1-x; x=1-x; ...
18:08:53 *** Sheogorath has joined #openttd
18:21:49 <FLHerne> LordAro: I think it just translates as "I disagree"
18:30:28 <andythenorth> too much the colour of a poo?
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:33:13 <planetmaker> wood and poo... is just different in touching ;)
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:36 <andythenorth> specifically the nml for it
18:42:13 *** Tharbakim has joined #openttd
18:45:11 *** HerzogDeXtEr has joined #openttd
19:01:27 <Samu> just changed the pathfinder costs to use real costs
19:01:53 <Samu> i actually wonder what the results will be
19:03:52 <Samu> woah, not bad, for the first route
19:13:19 <Samu> contourns farm land, that's good
19:19:47 *** andythenorth has joined #openttd
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:33:41 <Alberth> Samu: it doesn't know you can also build at tiles with 1 corner up?
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:49:11 <nielsm> okay that's weird yes, was that really cheaper than cutting a more direct route through?
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:34 <Samu> the trees aren't actually cleared
19:54:18 <Samu> if i could just get the cost of every individual part separated :(
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: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: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: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: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: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: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:33:11 <andythenorth> and one for samu
20:35:05 *** Wacko1976 has joined #openttd
20:38:57 *** Supercheese has joined #openttd
20:43:02 *** HeyCitizen has joined #openttd
20:44:00 *** wodencafe has joined #openttd
20:47:01 *** gelignite has joined #openttd
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: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:50 <andythenorth> I have a commit changed locally
21:21:56 <andythenorth> but it won't show in github
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: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: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 <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: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: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:54 <nielsm> I did it a ton when working on my music patches
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: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:45:30 <nielsm> but I'm going to bed now, slight headache and stuff :(
21:55:21 <andythenorth> anyone fancy reviewing? :P
21:56:51 *** Wacko1976 has joined #openttd
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: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: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: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: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:38 <Samu> where are those extra costs coming from :(
23:07:53 *** andythenorth has left #openttd
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:56:34 <Samu> i detected where the costs don't match
continue to next day ⏵