IRC logs for #openttd on OFTC at 2018-09-27
⏴ go to previous day
01:16:34 *** snail_UES_ has joined #openttd
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:10 <DorpsGek> Samu: 0.864285714286
03:21:58 *** WWacko1976-work has joined #openttd
05:11:40 *** Extrems has joined #openttd
05:41:37 *** haudrauf has joined #openttd
05:49:23 *** Supercheese has joined #openttd
06:27:42 *** Wacko1976 has joined #openttd
09:01:36 *** quiznilo has joined #openttd
09:10:11 *** Extrems has joined #openttd
09:15:20 *** michi_cc has joined #openttd
09:15:20 *** ChanServ sets mode: +v michi_cc
09:19:22 *** Extrems has joined #openttd
09:25:47 *** Supercheese has joined #openttd
10:25:22 *** LordAro has joined #openttd
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: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:21:20 *** ZirconiumX has joined #openttd
12:29:46 *** m3henry has joined #openttd
12:49:54 <Samu> Peek not needed, Exists not needed, removed
13:01:58 <Samu> when comparing my version of the RoadPathFinder with the original Pathfinder.Road-4-1library, mine is still slower
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: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:07:06 <Samu> else, the routes look dumb
13:47:00 *** IgnoredAmbience has quit IRC
14:39:21 *** sla_ro|master has joined #openttd
14:54:44 *** IgnoredAmbience has joined #openttd
15:01:34 *** IgnoredAmbience has left #openttd
15:07:35 *** ChanServ sets mode: +v tokai
15:28:59 *** Hirundo 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:41:02 <Samu> Lookup function for building road parts independend on whether the "building on slopes" setting is enabled or not.
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:12:28 *** FLHerne has joined #openttd
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: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:34:48 *** blathijs 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:18:54 *** WWacko1976-work has quit IRC
17:45:52 *** Wormnest has joined #openttd
17:54:34 *** TheMask96 has joined #openttd
18:17:08 *** Alberth has joined #openttd
18:17:08 *** ChanServ sets mode: +o Alberth
18:22:28 *** Hobbyboy has joined #openttd
18:23:35 *** Mahjong has joined #openttd
18:23:53 *** Progman has joined #openttd
18:34:56 *** Thedarkb-T60 has joined #openttd
18:57:22 *** DFG-2018 has joined #openttd
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:15:28 *** TrueBrain has joined #openttd
19:20:18 *** OtakuSenpai has joined #openttd
19:23:37 *** DFG-2018 has joined #openttd
19:24:18 *** DFG-2018 is now known as OtakuSennpai
19:30:41 *** DFG-2018 has joined #openttd
19:31:46 *** DFG-2018 is now known as OtakuSenpai
19:34:46 *** OtakuSenpai is now known as Nawab
19:36:52 *** Nawab is now known as OtakuSenpai
19:38:44 *** OtakuSenpai has joined #openttd
19:38:47 *** ToBeFree has joined #openttd
19:41:16 *** OtakuSenpai has joined #openttd
19:44:01 *** gelignite has joined #openttd
19:58:01 <Samu> i can't use the estimator for reducing the number of neighbour checks
19:59:56 *** OtakuSenpai 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
21:13:53 *** haudrauf has joined #openttd
21:41:44 <Samu> went up, from 412 to 435 ticks :o
21:42:33 <Samu> 173 ticks with original pathfinder vs 435 with mine
21:44:15 <DorpsGek> Samu: 0.397701149425
22:46:33 *** Thedarkb-T60 has joined #openttd
22:55:09 *** OtakuSenpai has joined #openttd
23:03:17 *** rocky113844 has joined #openttd
23:04:52 *** Wormnest has joined #openttd
23:34:49 *** Thedarkb-T60 has joined #openttd
23:51:37 <DorpsGek> Samu: 0.516417910448
continue to next day ⏵