IRC logs for #openttd on OFTC at 2018-09-27
            
00:00:21 *** HerzogDeXtEr has quit IRC
00:22:44 *** Thedarkb-T60 has quit IRC
01:15:59 *** Wacko1976_ has quit IRC
01:16:34 *** snail_UES_ has joined #openttd
01:50:41 *** Supercheese has quit IRC
02:04:43 *** ToBeFree has quit IRC
02:07:46 <Samu> i stripped down aystar to suit my needs :p what used to take 560 ticks is now down to 484
02:08:02 <Samu> @calc 560/484
02:08:02 <DorpsGek> Samu: 1.15702479339
02:08:10 <Samu> @calc 484/560
02:08:10 <DorpsGek> Samu: 0.864285714286
02:08:16 <Samu> real nice
02:08:44 <Samu> i'm off to bed, cyas
02:08:50 *** Samu has quit IRC
03:01:10 *** Flygon has joined #openttd
03:11:54 *** Stimrol has quit IRC
03:21:58 *** WWacko1976-work has joined #openttd
04:39:11 *** glx has quit IRC
04:56:57 *** Extrems has quit IRC
05:11:40 *** Extrems has joined #openttd
05:28:54 *** snail_UES_ has quit IRC
05:40:39 *** haudrauf has quit IRC
05:41:37 *** haudrauf has joined #openttd
05:49:23 *** Supercheese has joined #openttd
06:19:00 *** namad7 has joined #openttd
06:24:48 *** namad7 has quit IRC
06:27:42 *** Wacko1976 has joined #openttd
07:00:21 *** namad7 has joined #openttd
07:01:53 *** namad7 has quit IRC
09:01:36 *** quiznilo has joined #openttd
09:09:33 *** Extrems has quit IRC
09:10:11 *** Extrems has joined #openttd
09:15:13 *** michi_cc has quit IRC
09:15:20 *** michi_cc has joined #openttd
09:15:20 *** ChanServ sets mode: +v michi_cc
09:18:20 *** Extrems has quit IRC
09:19:22 *** Extrems has joined #openttd
09:25:25 *** Supercheese has quit IRC
09:25:47 *** Supercheese has joined #openttd
09:27:31 *** guru3 has quit IRC
09:27:46 *** guru3 has joined #openttd
09:28:30 *** Samu has joined #openttd
09:35:01 *** berndj has quit IRC
09:35:13 *** berndj has joined #openttd
09:52:45 *** Markk has quit IRC
09:52:49 *** Markk has joined #openttd
10:25:21 *** LordAro has quit IRC
10:25:22 *** LordAro has joined #openttd
10:26:32 *** Supercheese has quit IRC
10:27:13 *** tyteen4a04 has quit IRC
10:27:16 *** tyteen4a03 has joined #openttd
10:45:08 <Samu> return (_AIMap.DistanceManhattan(cur_tile, goal_tile) + _AIMap.DistanceSquare(cur_tile, goal_tile) > self._best_estimate ? self._max_cost / 2 : 0) * self._cost_tile;
10:56:33 <Samu> the bounding box isn't a box, but a circle.
11:02:57 *** Mavy has quit IRC
11:02:58 *** Mavy has joined #openttd
11:53:37 *** KenjiE20 has quit IRC
11:54:07 *** KenjiE20 has joined #openttd
12:02:28 <Samu> Note that this estimate is not allowed to be higher than the real cost * between node and any of goal_nodes.
12:02:34 <Samu> uh oh :(
12:04:04 <Samu> why not?
12:04:33 *** gnu_jj_ has quit IRC
12:04:37 *** gnu_jj has joined #openttd
12:21:05 *** ZirconiumX has quit IRC
12:21:20 *** ZirconiumX has joined #openttd
12:29:37 *** juzza1 has quit IRC
12:29:46 *** m3henry has joined #openttd
12:30:03 *** juzza1 has joined #openttd
12:48:34 <Samu> stripped FibonacciHeap
12:49:54 <Samu> Peek not needed, Exists not needed, removed
13:00:55 *** Tirili has joined #openttd
13:01:58 <Samu> when comparing my version of the RoadPathFinder with the original Pathfinder.Road-4-1library, mine is still slower
13:02:23 <Samu> 173 ticks vs 412 ticks
13:02:42 <Samu> the bridges really are an overhead
13:03:51 <Samu> the original only starts bridges on non-flat tiles, mine also starts in them
13:04:22 <Samu> may also*
13:05:29 <Samu> before yesterday, that 412 was 560
13:06:15 <Samu> it's just impossible to beat the original in speed if I account bridges the way I do
13:06:41 <Samu> but I have to
13:07:06 <Samu> else, the routes look dumb
13:47:00 *** IgnoredAmbience has quit IRC
13:54:18 *** roidal has joined #openttd
14:10:43 *** quiznilo has left #openttd
14:39:21 *** sla_ro|master has joined #openttd
14:53:04 *** Arveen has quit IRC
14:54:44 *** IgnoredAmbience has joined #openttd
15:01:34 *** IgnoredAmbience has left #openttd
15:07:35 *** tokai has joined #openttd
15:07:35 *** ChanServ sets mode: +v tokai
15:14:34 *** tokai|noir has quit IRC
15:27:13 *** SmatZ has quit IRC
15:27:59 *** SmatZ has joined #openttd
15:28:49 *** Hirundo has quit IRC
15:28:59 *** Hirundo has joined #openttd
15:29:05 *** Osai has quit IRC
15:29:29 *** Osai has joined #openttd
15:39:30 <Samu> CanBuildConnectedRoadPartsHere is bugged
15:39:47 <Samu> i thought it was a function that would deal with slopes
15:40:09 <Samu> slopes and foundation
15:41:02 <Samu> Lookup function for building road parts independend on whether the "building on slopes" setting is enabled or not.
15:41:12 <Samu> https://noai.openttd.org/api/trunk/classAIRoad.html#81c64d4ffcc7da59e4b3c168060814cf
15:50:17 <Samu> https://imgur.com/UZh3m23
15:50:56 <Samu> AIRoad.CanBuildConnectedRoadPartsHere(tile, start, end)
15:56:35 <Samu> maybe it''s not bugged, it returned -1, must investigate this better
15:58:54 <peter1138> Bah, overclock CPU -> bluescreen :/
15:59:08 <peter1138> Probably don't need to but it's an 8700K so overclocking is kinda the point :p
16:02:29 <Samu> what's the best cpu for openttd fast forward?
16:03:42 <peter1138> Whatever goes fastest.
16:11:13 *** Sacro has quit IRC
16:11:25 *** Sacro has joined #openttd
16:12:17 *** FLHerne has quit IRC
16:12:28 *** FLHerne has joined #openttd
16:13:51 <Samu> oh, i see the problem
16:14:13 <Samu> end = start = 53966
16:15:11 <Samu> why would the Parent tile be the same where it started
16:15:23 <Samu> sometimes I dont get the pathfinder
16:19:04 <Samu> erm, no
16:20:00 <Samu> the next_tile is somewhat in error here, why would the pathfinder want to walk backwards?
16:20:57 <Samu> next_tile aka the end tile
16:24:26 <Eddi|zuHause> just patch out the bluescreen, problem solved
16:31:41 <peter1138> I undid it.
16:31:47 <peter1138> Stable again now.
16:34:25 *** blathijs has quit IRC
16:34:48 *** blathijs has joined #openttd
16:38:13 *** nielsm has joined #openttd
16:51:13 *** JacobD88 has joined #openttd
16:55:57 <Samu> hmm the error wasn't here
16:56:13 <Samu> it's somewhere else that's failing, :(
17:10:34 *** Stimrol has joined #openttd
17:12:32 *** Thedarkb-T60 has joined #openttd
17:14:57 *** Flygon has quit IRC
17:18:54 *** WWacko1976-work has quit IRC
17:26:16 *** JacobD88 has quit IRC
17:45:52 *** Wormnest has joined #openttd
17:50:44 *** TheMask96 has quit IRC
17:54:34 *** TheMask96 has joined #openttd
18:17:08 *** Alberth has joined #openttd
18:17:08 *** ChanServ sets mode: +o Alberth
18:17:21 <Alberth> moin
18:21:53 *** Hobbyboy has quit IRC
18:22:28 *** Hobbyboy has joined #openttd
18:23:13 *** Mahjong has quit IRC
18:23:35 *** Mahjong has joined #openttd
18:23:53 *** Progman has joined #openttd
18:28:02 *** Thedarkb-T60 has quit IRC
18:31:43 *** Gja has joined #openttd
18:34:56 *** Thedarkb-T60 has joined #openttd
18:46:28 *** Tirili has quit IRC
18:57:22 *** DFG-2018 has joined #openttd
18:57:25 <DFG-2018> hello
18:57:37 *** HerzogDeXtEr has joined #openttd
18:57:54 <DFG-2018> does anyone wanna play multiplayer or is a multiplayer game going on somewhere?
19:05:45 *** Happpy has joined #openttd
19:05:53 *** Happpy has left #openttd
19:06:08 *** Wormnest has quit IRC
19:15:13 *** TrueBrain has quit IRC
19:15:28 *** TrueBrain has joined #openttd
19:19:56 *** DFG-2018 has quit IRC
19:20:18 *** OtakuSenpai has joined #openttd
19:23:16 *** OtakuSenpai has quit IRC
19:23:37 *** DFG-2018 has joined #openttd
19:24:18 *** DFG-2018 is now known as OtakuSennpai
19:24:20 *** Wolf01 has joined #openttd
19:24:34 <Wolf01> o/
19:27:01 <Alberth> o/
19:30:18 *** OtakuSennpai has quit IRC
19:30:41 *** DFG-2018 has joined #openttd
19:31:46 *** DFG-2018 is now known as OtakuSenpai
19:33:37 *** m3henry has quit IRC
19:34:46 *** OtakuSenpai is now known as Nawab
19:36:52 *** Nawab is now known as OtakuSenpai
19:38:26 *** OtakuSenpai has quit IRC
19:38:44 *** OtakuSenpai has joined #openttd
19:38:47 *** ToBeFree has joined #openttd
19:40:45 *** OtakuSenpai has quit IRC
19:41:16 *** OtakuSenpai has joined #openttd
19:44:01 *** gelignite has joined #openttd
19:44:12 *** glx has joined #openttd
19:44:12 *** ChanServ sets mode: +v glx
19:58:01 <Samu> i can't use the estimator for reducing the number of neighbour checks
19:58:05 <Samu> :(
19:58:17 <Samu> i thought I could
19:59:19 *** OtakuSenpai has quit IRC
19:59:34 *** Gja has quit IRC
19:59:56 *** OtakuSenpai has joined #openttd
20:07:46 *** Gja has joined #openttd
20:10:17 *** Gja has quit IRC
20:22:17 *** Nawab has joined #openttd
20:22:38 <nielsm> well yes, if you don't want to consider a neighbor at all, don't return it from the neighbors function
20:23:00 *** OtakuSenpai has quit IRC
20:24:33 *** Alberth has left #openttd
20:42:57 *** Westie has quit IRC
20:43:59 *** Westie has joined #openttd
20:49:52 *** roidal has quit IRC
21:12:54 *** haudrauf has quit IRC
21:13:53 *** haudrauf has joined #openttd
21:37:32 *** sla_ro|master has quit IRC
21:41:44 <Samu> went up, from 412 to 435 ticks :o
21:41:51 <Samu> cus of estimator
21:42:33 <Samu> 173 ticks with original pathfinder vs 435 with mine
21:43:04 <Samu> better confirm, brb
21:44:04 <Samu> confirmed
21:44:15 <Samu> @calc 173/435
21:44:15 <DorpsGek> Samu: 0.397701149425
21:44:37 <Samu> @calc 435/173
21:44:37 <DorpsGek> Samu: 2.51445086705
21:44:41 <Samu> 2.5x slower
21:59:32 *** nielsm has quit IRC
22:04:45 *** HerzogDeXtEr has quit IRC
22:31:41 *** gelignite has quit IRC
22:45:17 *** Stimrol has quit IRC
22:45:27 *** Thedarkb-T60 has quit IRC
22:46:33 *** Thedarkb-T60 has joined #openttd
22:49:34 *** Nawab has quit IRC
22:51:17 <Wolf01> 'night
22:51:20 *** Wolf01 has quit IRC
22:52:35 *** hph^ has quit IRC
22:55:09 *** OtakuSenpai has joined #openttd
22:59:49 *** Wacko1976 has quit IRC
23:03:17 *** rocky113844 has joined #openttd
23:04:52 *** Wormnest has joined #openttd
23:10:22 *** hph^ has joined #openttd
23:17:07 *** Thedarkb-T60 has quit IRC
23:23:31 *** Progman has quit IRC
23:31:19 *** namad7 has joined #openttd
23:34:00 *** namad7 has quit IRC
23:34:49 *** Thedarkb-T60 has joined #openttd
23:51:37 <Samu> @calc 173/335
23:51:37 <DorpsGek> Samu: 0.516417910448