Config
Log for #openttd on 29th July 2022:
Times are UTC Toggle Colours
00:02:02  *** WormnestAndroid has quit IRC
00:07:08  *** WormnestAndroid has joined #openttd
00:27:47  *** Wormnest has joined #openttd
00:39:41  *** WormnestAndroid has quit IRC
00:45:28  *** WormnestAndroid has joined #openttd
00:53:31  *** WormnestAndroid has quit IRC
00:54:16  *** WormnestAndroid has joined #openttd
01:13:09  *** Hobbyboy|BNC has joined #openttd
01:15:37  *** Venemo has quit IRC
01:15:47  *** Hobbyboy has quit IRC
01:16:38  *** Venemo has joined #openttd
01:19:51  *** guru3_ has joined #openttd
01:20:24  *** guru3 has quit IRC
02:16:14  *** tokai|noir has joined #openttd
02:16:14  *** ChanServ sets mode: +v tokai|noir
02:16:41  *** Wormnest has quit IRC
02:22:46  *** tokai has quit IRC
02:46:17  *** D-HUND has joined #openttd
02:49:42  *** debdog has quit IRC
03:02:46  *** glx has quit IRC
03:38:14  *** Eddi|zuHause2 has joined #openttd
03:41:37  *** Eddi|zuHause has quit IRC
04:47:15  *** WormnestAndroid has quit IRC
04:47:17  *** WormnestAndroid has joined #openttd
04:47:20  *** WormnestAndroid has joined #openttd
04:47:53  *** WormnestAndroid has joined #openttd
05:32:30  *** Eddi|zuHause has joined #openttd
05:35:20  *** Eddi|zuHause2 has quit IRC
05:40:31  *** Flygon has joined #openttd
06:13:57  *** sla_ro|master has joined #openttd
06:37:03  *** HerzogDeXtEr has quit IRC
06:47:02  *** Smedles has quit IRC
06:48:31  *** Smedles has joined #openttd
07:57:15  <DorpsGek> [OpenTTD/team] williameom5678 opened issue #330: [ko_KR] Translator access request https://github.com/OpenTTD/team/issues/330
09:26:41  *** nielsm has joined #openttd
09:51:11  *** Samu has joined #openttd
09:55:22  <DorpsGek> [OpenTTD/OpenTTD] wazzan commented on issue #9960: [Crash]:  https://github.com/OpenTTD/OpenTTD/issues/9960
10:13:15  *** D-HUND is now known as debdog
11:48:39  *** Smedles has quit IRC
11:48:47  *** Smedles has joined #openttd
11:57:44  <DorpsGek> [OpenTTD/team] glx22 commented on issue #330: [ko_KR] Translator access request https://github.com/OpenTTD/team/issues/330
12:15:42  *** glx has joined #openttd
12:15:42  *** ChanServ sets mode: +v glx
12:46:22  *** virtualrandomnumber has joined #openttd
12:46:45  *** virtualrandomnumber has quit IRC
13:28:45  *** nielsm has quit IRC
15:02:19  <Samu> hi
15:19:11  *** HerzogDeXtEr has joined #openttd
16:02:22  *** Wormnest has joined #openttd
16:32:47  <Samu> assert(max(dx, dy) - min(dx, dy) == abs(dx - dy))
16:32:59  <Samu> i didn't know this was always true
16:33:50  *** Smedles has quit IRC
16:34:22  *** Smedles has joined #openttd
16:34:47  <Samu> can someone explain me what's the purpose of using those offsets? https://github.com/OpenTTD/OpenTTD/blob/master/src/pathfinder/yapf/yapf_destrail.hpp#L176-L203
16:35:11  <Samu> it could be simpler without using them
16:37:37  <Samu> i tested that implementation on my pf, and I don't really see the purpose
16:45:00  <Samu> I compare the cost with the old_cost, https://i.imgur.com/A2VCLKR.png
16:45:16  <Samu> old_cost is the old implementation of the cost
16:45:29  <Samu> cost is the implementation that is equal to that of YAPF
16:45:53  <Samu> there's sometimes a difference between them
16:46:12  <Samu> but how do they help?
17:39:01  *** gelignite has joined #openttd
18:30:36  *** frosch123 has joined #openttd
18:39:16  <Rubidium> Samu: I think the idea is that if the exit is facing away from the destination, the estimate should be higher than when the exit faces towards the destination. After all, in the first case you need at least two extra tiles to "turn around" with 90 degree corners. By increasing the estimate for those cases, those cases are less likely to be considered potentially improving the overall performance
18:55:29  <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/ccb9d9988011725c1ff0d415af37efb99e2b0849
18:55:30  <DorpsGek>   - Update: Translations from eints (by translators)
19:04:16  *** Eddi|zuHause has quit IRC
19:08:45  *** Eddi|zuHause has joined #openttd
19:19:31  <Samu> aha, I see, so it seems i have this badly implemented
19:23:47  <Samu> https://i.imgur.com/pzPhrq3.png
19:24:11  <Samu> d is the estimate cost
19:26:05  <Samu> my exitdir is actually the entrydir, no wonder I wasn't understanding it
19:26:31  *** Wormnest has quit IRC
19:28:53  <Samu> i guess i can't implement yapf's estimate cost method into this pf
19:29:51  <Samu> the tile that it's checking is the tile that's next after following the direction from the previous tile
19:30:57  <Samu> and yapf method checks the tile where the direction is the one that is followed on that tile
19:31:01  <Samu> so, the exit dir
19:32:08  <Samu> my pf doesn't know of any directions on the tile it's estimating, it doesn't know it yet, it will only be known after checking neighbours
19:38:09  <Samu> i would only have that tile with "exitdirs" 0, 1 and 2, never 3. They are the directions the tile is accessed from :(
19:45:14  <Samu> well it was a nice experiment anyway
19:52:32  *** WormnestAndroid has quit IRC
20:22:17  *** Flygon has quit IRC
20:29:13  *** frosch123 has quit IRC
20:30:06  *** andythenorth_ has joined #openttd
20:38:10  *** andythenorth_ has quit IRC
20:46:26  *** WormnestAndroid has joined #openttd
21:14:35  *** Smedles has quit IRC
21:14:44  *** Smedles has joined #openttd
21:24:45  *** gelignite has quit IRC
21:24:59  *** gelignite has joined #openttd
21:30:25  *** gelignite has quit IRC
21:31:53  *** sla_ro|master has quit IRC
21:46:52  *** WormnestAndroid has quit IRC
21:48:19  *** Samu has quit IRC
21:52:19  *** WormnestAndroid has joined #openttd
22:08:30  *** WormnestAndroid has quit IRC
22:10:42  *** WormnestAndroid has joined #openttd
22:18:45  *** WormnestAndroid has quit IRC
22:19:28  *** WormnestAndroid has joined #openttd
22:31:35  *** WormnestAndroid has quit IRC
22:35:30  *** WormnestAndroid has joined #openttd
23:04:00  *** WormnestAndroid has quit IRC
23:13:01  *** WormnestAndroid has joined #openttd
23:25:07  *** WormnestAndroid has quit IRC
23:30:17  *** WormnestAndroid has joined #openttd
23:58:45  *** WormnestAndroid has quit IRC

Powered by YARRSTE version: svn-trunk