IRC logs for #openttd on OFTC at 2018-09-21
            
00:02:28 <m3henry> LordAro: Looks like implementing SmallVector in terms of std::vector only requied 3 value structs to gain default constructors. Now I can start deprecating individual methods
00:05:22 *** Stimrol has quit IRC
00:17:00 *** Laedek has joined #openttd
00:19:09 <Eddi|zuHause> sounds like you're having a really great time
00:35:22 *** HerzogDeXtEr has quit IRC
00:45:32 *** m3henry has quit IRC
00:52:10 *** Gustavo6056 has joined #openttd
00:55:43 <Samu_> who's the resident aystar expert :p
00:59:12 *** Gustavo6046 has quit IRC
00:59:12 *** Gustavo6056 is now known as Gustavo6046
01:00:32 *** Oroburos has quit IRC
01:45:18 *** Mahjong1 has joined #openttd
01:48:28 *** Mahjong has quit IRC
01:52:21 *** Gustavo6056 has joined #openttd
01:59:43 *** Gustavo6046 has quit IRC
01:59:43 *** Gustavo6056 is now known as Gustavo6046
02:12:30 *** Mahjong1 has quit IRC
02:12:47 *** Mahjong1 has joined #openttd
02:15:47 *** Samu_ has quit IRC
02:41:33 *** snail_UES_ has joined #openttd
02:52:23 *** Gustavo6056 has joined #openttd
02:59:44 *** Gustavo6046 has quit IRC
02:59:44 *** Gustavo6056 is now known as Gustavo6046
03:32:21 *** sushibear has quit IRC
03:32:29 *** sushibear has joined #openttd
03:33:14 *** WWacko1976-work has joined #openttd
03:42:15 *** Flygon has joined #openttd
03:52:36 *** Gustavo6056 has joined #openttd
03:59:45 *** Gustavo6046 has quit IRC
03:59:45 *** Gustavo6056 is now known as Gustavo6046
04:26:08 *** rocky113844 has joined #openttd
04:52:33 *** Gustavo6056 has joined #openttd
04:59:42 *** Gustavo6046 has quit IRC
04:59:42 *** Gustavo6056 is now known as Gustavo6046
05:41:13 *** haudrauf has quit IRC
05:42:11 *** haudrauf has joined #openttd
05:52:51 *** Gustavo6056 has joined #openttd
06:00:12 *** Gustavo6046 has quit IRC
06:00:12 *** Gustavo6056 is now known as Gustavo6046
06:15:08 *** jamillent has quit IRC
06:15:55 *** jamillent has joined #openttd
06:21:44 *** snail_UES_ has quit IRC
06:26:15 *** rocky113844 has quit IRC
06:26:43 *** rocky113844 has joined #openttd
06:36:08 *** rocky113844 has quit IRC
06:52:58 *** Gustavo6056 has joined #openttd
07:00:15 *** Gustavo6046 has quit IRC
07:00:15 *** Gustavo6056 is now known as Gustavo6046
07:53:11 *** Gustavo6056 has joined #openttd
08:00:18 *** Gustavo6046 has quit IRC
08:00:18 *** Gustavo6056 is now known as Gustavo6046
08:53:12 *** Gustavo6056 has joined #openttd
08:59:20 *** Gustavo6046 has quit IRC
08:59:20 *** Gustavo6056 is now known as Gustavo6046
09:01:40 *** tokai|noir has joined #openttd
09:01:40 *** ChanServ sets mode: +v tokai|noir
09:08:39 *** tokai has quit IRC
09:53:04 *** Gustavo6056 has joined #openttd
09:59:28 *** Gustavo6046 has quit IRC
09:59:28 *** Gustavo6056 is now known as Gustavo6046
10:53:17 *** Gustavo6056 has joined #openttd
10:59:33 *** Gustavo6046 has quit IRC
10:59:33 *** Gustavo6056 is now known as Gustavo6046
11:29:22 *** jamillent has quit IRC
11:53:20 *** Gustavo6056 has joined #openttd
11:57:10 *** Gustavo6046 has quit IRC
11:57:10 *** Gustavo6056 is now known as Gustavo6046
12:03:05 *** m3henry has joined #openttd
12:11:41 *** gelignite has joined #openttd
12:53:52 *** Gustavo6056 has joined #openttd
12:58:45 *** Gustavo6046 has quit IRC
12:58:45 *** Gustavo6056 is now known as Gustavo6046
12:59:02 *** Wacko1976_ has quit IRC
13:08:51 *** Samu has joined #openttd
13:12:08 <Samu> hi
13:12:22 *** tokai|noir has quit IRC
13:15:07 <Samu> https://imgur.com/a3CazBu
13:15:14 <Samu> how to solve this problem
13:20:24 <m3henry> You can lower the ground either side and create a tunnel between them
13:26:51 <Samu> https://imgur.com/UBTC8Bq this is what the pathfinder should do
13:27:05 <Samu> that other image is what the pathfinder did
13:28:14 <Samu> those obstacles are there on purpose, to force test the pathfinder
13:53:35 *** Gustavo6056 has joined #openttd
13:56:15 *** Mahjong2 has joined #openttd
14:00:23 *** Gustavo6046 has quit IRC
14:00:23 *** Gustavo6056 is now known as Gustavo6046
14:03:00 *** Mahjong1 has quit IRC
14:04:55 *** m3henry has quit IRC
14:34:11 *** snail_UES_ has joined #openttd
14:47:33 *** snail_UES_ has quit IRC
14:48:37 *** JacobD88 has joined #openttd
14:53:57 *** Gustavo6056 has joined #openttd
14:59:55 *** Gustavo6046 has quit IRC
14:59:55 *** Gustavo6056 is now known as Gustavo6046
15:02:56 *** gelignite has quit IRC
15:05:53 <Eddi|zuHause> can anyone explain to me wtf i built here? https://ibin.co/4GT3yIqIYL7g.png
15:15:56 *** nielsm has joined #openttd
15:16:24 *** m3henry has joined #openttd
15:24:28 <Samu> I found a bug in openttd
15:25:21 <nielsm> OH NO
15:25:24 <nielsm> STOP THE PRESSES
15:25:52 <Samu> maybe I didn't, but it's still weird
15:27:37 <Samu> okay, it's not bugged, it's just an illusion
15:28:05 <Samu> https://imgur.com/JKQ97B8
15:28:37 <Samu> ai can't connect the road to the tile ahead
15:29:54 <Samu> the slopes of those 2 tiles are SLOPE_E and SLOPE_S
15:30:30 <Samu> the illusion is that it looks like there would be nothing preventing it to be connected
15:30:58 <nielsm> yeah and raising a single corner would allow them to connect
15:31:57 <Samu> https://imgur.com/XSk6BTg
15:32:05 <Samu> looks like that without the roads
15:53:14 *** Rose has joined #openttd
15:53:49 *** Gustavo6056 has joined #openttd
15:54:57 *** Rose has quit IRC
16:00:00 *** Gustavo6046 has quit IRC
16:00:00 *** Gustavo6056 is now known as Gustavo6046
16:15:14 *** Wacko1976 has joined #openttd
16:52:56 *** tyteen4a03 is now known as tyteen4a04
16:54:17 *** Gustavo6056 has joined #openttd
16:55:46 *** Wormnest has joined #openttd
17:00:07 *** Gustavo6046 has quit IRC
17:00:07 *** Gustavo6056 is now known as Gustavo6046
17:13:36 <Samu> watching pathfinder at work
17:13:49 <Samu> https://imgur.com/eLTxaXP
17:14:23 <Samu> rivers and rails are real obstacles, slows him down quite a bit
17:15:10 <Samu> i also notice the AI is very relunctant in building bridges
17:15:47 <Samu> if i cheapen the cost of bridges, the AI will probably be faster, but then the end result might be too many weird bridges
17:17:05 <Samu> i mean pathfinder, not AI
17:17:13 *** Flygon has quit IRC
17:17:18 *** Progman has joined #openttd
17:18:34 *** Thedarkb-T60 has joined #openttd
17:21:07 *** JacobD88 has quit IRC
17:45:48 *** Gja has joined #openttd
17:49:00 *** Wacko1976 has quit IRC
17:50:34 *** Stimrol has joined #openttd
17:50:44 *** Thedarkb-T60 has quit IRC
17:51:39 <Samu> road vehicles in the way can influence pathfinder decisions
17:51:44 <Samu> that's lame
17:54:19 *** Gustavo6056 has joined #openttd
17:54:19 *** Stimrol has quit IRC
17:57:44 <Samu> at any given moment, the road could be with or without a vehicle in the way
17:58:47 <Samu> pathfinder neightbour chosing is influenced by this, that's not right
17:59:09 <Samu> how to solve?
18:00:20 <Samu> it should not care whether there's a vehicle in the way
18:00:35 *** Stimrol has joined #openttd
18:01:20 *** Gustavo6046 has quit IRC
18:01:20 *** Gustavo6056 is now known as Gustavo6046
18:08:27 *** m3henry has quit IRC
18:11:10 *** Gja has quit IRC
18:17:23 *** HerzogDeXtEr has joined #openttd
18:20:24 *** Wormnest has quit IRC
18:30:36 *** andythenorth has joined #openttd
18:31:28 <andythenorth> moin
18:48:57 *** frosch123 has joined #openttd
18:54:37 *** Gustavo6056 has joined #openttd
18:57:12 *** sla_ro|master has joined #openttd
19:01:25 *** Gustavo6046 has quit IRC
19:01:25 *** Gustavo6056 is now known as Gustavo6046
19:13:05 *** Wolf01 has joined #openttd
19:13:25 <Wolf01> o/
19:18:09 <Samu> is -1 also true?
19:18:22 <Samu> if (-1) { blabla }
19:18:33 <peter1138> Generally not-zero is true.
19:18:51 <Samu> oh, i see, then pathfinder.road.4 is bugged
19:18:57 <Samu> probably 3 too
19:19:13 <Wolf01> I wonder if PI is true
19:19:45 <Samu> AIRoad.CanBuildConnectedRoadPartsHere(cur_node, path.GetParent().GetTile(), next_tile)
19:19:49 <Samu> should be
19:19:52 <Samu> AIRoad.CanBuildConnectedRoadPartsHere(cur_node, path.GetParent().GetTile(), next_tile) > 0
19:20:20 <Samu> because -1 is meant to be precondition failed
19:20:28 <Samu> so it should return false
19:20:56 <peter1138> So the method is named as if it is a boolean, but it's not a boolean?
19:21:05 <andythenorth> oo it's a peter1138
19:21:07 <peter1138> s/it is/returns/
19:21:36 <Wolf01> https://img-9gag-fun.9cache.com/photo/avOY3Mq_460s.jpg math parser math parser math parser
19:21:59 <Wolf01> I would like to make one in c#, but no will to do it
19:26:21 <andythenorth> Wolf01: math parses don't get the NRT broken fixed :D
19:40:35 *** OsteHovel has quit IRC
19:42:13 *** OsteHovel has joined #openttd
19:51:16 *** Progman has quit IRC
19:52:06 <andythenorth> I painted a train
19:54:29 *** Gustavo6056 has joined #openttd
19:59:36 *** Samu has quit IRC
20:01:55 *** Gustavo6046 has quit IRC
20:01:55 *** Gustavo6056 is now known as Gustavo6046
20:06:11 *** Samu has joined #openttd
20:11:11 <andythenorth> sprites 75% complete
20:20:51 *** gelignite has joined #openttd
20:26:02 <Samu> the pathfinder doesn't extract the correct direction of a station tile
20:26:05 <Samu> bah
20:26:41 <Samu> it thinks it can connect them from all directions
20:27:35 <Samu> or im doing something wrong
20:27:52 *** Laedek has quit IRC
20:28:03 *** Laedek has joined #openttd
20:28:46 <Samu> probably still related to bridges, let me confirm
20:47:48 *** Wacko1976 has joined #openttd
20:48:17 *** glx has joined #openttd
20:48:17 *** ChanServ sets mode: +v glx
20:49:27 <Samu> stupid pathfinder, really is trash in regards to bridges
20:49:30 <Samu> :|
20:54:44 *** Gustavo6056 has joined #openttd
21:01:47 <Samu> there's more issues with the pathfinder than I anticipated
21:01:57 *** Gustavo6046 has quit IRC
21:01:57 *** Gustavo6056 is now known as Gustavo6046
21:06:46 <Samu> https://imgur.com/EQGbKqU
21:06:54 <Samu> pathfinder doesn't consider that as road
21:15:50 *** crem4 has joined #openttd
21:17:38 *** crem3 has quit IRC
21:37:05 *** GroovyNoodle has joined #openttd
21:49:40 *** sla_ro|master has quit IRC
21:52:47 *** gelignite has quit IRC
21:54:57 *** Gustavo6056 has joined #openttd
21:59:16 <Samu> oh oh
21:59:42 <Samu> remember what I said about -1 being precondition failed?
22:00:02 <Samu> apparently -1 returning true isn't that bad
22:00:46 <Samu> in essence, it's not wrong either
22:00:53 <Samu> working as intended
22:01:57 *** Gustavo6046 has quit IRC
22:01:57 *** Gustavo6056 is now known as Gustavo6046
22:05:14 <Samu> peter1138:
22:13:41 *** Thedarkb-T60 has joined #openttd
22:50:58 <Samu> yay! I solved this problem! https://imgur.com/a3CazBu
22:54:15 *** Wacko1976 has quit IRC
22:54:53 *** Gustavo6056 has joined #openttd
22:57:41 <Samu> https://imgur.com/47H83LQ - pathfinder did the right thing!~
22:57:47 <Samu> on its own, in 1 go
22:57:52 <Samu> success!
23:01:57 *** Gustavo6046 has quit IRC
23:01:57 *** Gustavo6056 is now known as Gustavo6046
23:10:30 *** Thedarkb-T60 has quit IRC
23:19:27 *** Thedarkb-T60 has joined #openttd
23:26:11 *** andythenorth has left #openttd
23:29:21 *** frosch123 has quit IRC
23:41:23 *** Thedarkb-T60 has quit IRC
23:53:27 *** nielsm has quit IRC
23:54:52 *** Gustavo6056 has joined #openttd