Config
Log for #openttd on 23rd July 2021:
Times are UTC Toggle Colours
00:18:01  *** snail_UES_ has joined #openttd
00:27:36  *** HerzogDeXtEr has quit IRC
00:29:48  *** Gustavo6046 has quit IRC
00:29:59  *** Gustavo6046 has joined #openttd
00:51:52  *** tokai has joined #openttd
00:51:52  *** ChanServ sets mode: +v tokai
00:56:27  *** Progman has quit IRC
00:58:46  *** tokai|noir has quit IRC
01:25:43  *** tokai|noir has joined #openttd
01:25:43  *** ChanServ sets mode: +v tokai|noir
01:32:45  *** tokai has quit IRC
01:43:09  *** Gustavo6046_ has joined #openttd
01:47:45  *** Gustavo6046 has quit IRC
01:47:45  *** Gustavo6046_ is now known as Gustavo6046
02:27:13  *** D-HUND has joined #openttd
02:30:34  *** debdog has quit IRC
03:00:43  *** Wormnest has quit IRC
03:36:08  *** glx has quit IRC
04:25:03  *** snail_UES_ has quit IRC
04:42:22  *** Flygon has joined #openttd
06:17:11  *** sla_ro|master has joined #openttd
07:38:01  *** Lex_Luthor has joined #openttd
07:38:19  <Lex_Luthor> hi
07:43:10  *** Lex_Luthor has left #openttd
07:52:11  *** jottyfan has joined #openttd
08:23:34  *** WormnestAndroid has quit IRC
08:23:46  *** WormnestAndroid has joined #openttd
08:45:47  *** HerzogDeXtEr has joined #openttd
08:46:55  *** Progman has joined #openttd
08:56:50  *** jottyfan has quit IRC
09:55:21  *** Samu has joined #openttd
10:21:40  *** tokai has joined #openttd
10:21:40  *** ChanServ sets mode: +v tokai
10:28:36  *** tokai|noir has quit IRC
12:12:03  *** glx has joined #openttd
12:12:03  *** ChanServ sets mode: +v glx
12:21:05  *** Progman has quit IRC
12:51:14  *** snail_UES_ has joined #openttd
13:04:03  *** nielsm has joined #openttd
13:17:51  *** gelignite has joined #openttd
13:39:21  *** roadt_ has joined #openttd
13:46:00  *** roadt__ has quit IRC
14:38:50  <FLHerne> I tried to do something with NML
14:38:53  <FLHerne> My IDE crashed
14:39:03  <FLHerne> repeatedly
14:39:38  <FLHerne> Then I spent ages running `git bisect` only to find that now it works perfectly in every revision including the one I had before
14:39:45  <FLHerne> so I guess that works
15:12:28  *** Progman has joined #openttd
15:17:14  *** Wormnest has joined #openttd
15:30:01  <Samu> this doesn't work https://www.geeksforgeeks.org/bresenhams-line-generation-algorithm/
15:30:30  <Samu> what if x1 > x2 or y1 > y2
15:39:49  <Rubidium> swap those values so it does hold, and account for having done that swap in the final coordinates
16:06:07  *** HerzogDeXtEr has quit IRC
16:08:09  <Samu> aha! https://github.com/ashiagarwal73/Bresenham-s-line-algorithm-for-all-quadrants/blob/master/Bresenhams.c
16:08:18  <Samu> time to copy paste
16:08:32  <LordAro> that code is awful
16:09:54  <glx> alignment is off
16:10:06  <LordAro> no, GNU style
16:40:28  <Samu> doesn't work well
16:40:34  <Samu> damn im screwed
16:52:20  *** Wolf01 has joined #openttd
17:03:51  *** Progman has quit IRC
17:08:02  *** jottyfan has joined #openttd
17:10:22  <Samu> i can't find a decent bresenham's on the internet :(
17:26:43  <Samu> time to give up
17:33:53  *** andythenorth has joined #openttd
17:38:26  <Samu> found a bresenham on Terron AI
17:38:35  <Samu> that guy has everything
17:40:51  <Samu> fantastic, it works!
17:40:56  <Samu> and is much less code
17:41:26  <andythenorth> yo
17:50:20  <Rubidium> hi
17:52:38  <Xaroth> o7
18:10:21  *** Flygon has quit IRC
18:18:37  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on issue #9388: Admin port: No synchronisation in NetworkAdminConsole which may be called from any thread https://git.io/Jnakq
18:31:38  *** jottyfan has quit IRC
18:52:54  <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://git.io/J82jg
18:52:55  <DorpsGek>   - Update: Translations from eints (by translators)
18:54:33  *** Progman has joined #openttd
19:36:46  *** gelignite has quit IRC
19:54:10  <Samu> i can finally put bresenham's line to good use
20:02:52  <Samu> https://i.imgur.com/Dtv3j3P.png
20:03:10  <Samu> yes! big fat line
20:03:38  <Samu> it is the limit where the pathfinder can search
20:25:27  <LordAro> sounds like you lack understanding with how A* already works...
20:31:56  <Rubidium> well... if the A* is tailored for trains it would behave like that, but for RVs it might search a square due to using the manhattan distances for the remaining distance calculations
20:32:18  <LordAro> true
20:32:27  <Samu> it's a canal pathfinder
20:32:51  <Samu> canal, sea, river, locks, aqueducts
20:35:12  <Samu> i need to avoid ships doing long detours
20:35:40  <Samu> or the pathfinder taking so much time to search
20:36:03  <LordAro> a decent heuristic function ought to stop that
20:38:08  <Samu> i guess im bad at that
20:43:33  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #9456: Fix #9388: thread unsafe use of NetworkAdminConsole/IConsolePrint https://git.io/J8aoO
20:51:57  *** Samu has quit IRC
20:59:07  *** snail_UES_ has quit IRC
20:59:27  *** snail_UES_ has joined #openttd
21:00:27  *** snail_UES_ has joined #openttd
21:00:40  *** snail_UES_ has quit IRC
21:01:12  *** snail_UES_ has joined #openttd
21:02:08  *** snail_UES_ has joined #openttd
21:02:49  *** snail_UES_ has joined #openttd
21:07:27  *** jottyfan has joined #openttd
21:14:15  <Heiki> https://www.youtube.com/watch?v=nPNF4y9rRIA YouTube decided I want to watch monorail cam
21:33:36  *** HerzogDeXtEr has joined #openttd
21:34:33  *** sla_ro|master has quit IRC
21:45:17  <FLHerne> Oh wow, it moves
21:45:48  <FLHerne> We've had train and hovercraft cams, but they're just fixed cameras where you watch the vehicles go past
21:45:51  <FLHerne> this one is better
21:46:58  *** andythenorth has quit IRC
21:52:30  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #9456: Fix #9388: thread unsafe use of NetworkAdminConsole/IConsolePrint https://git.io/J8aoO
21:59:08  *** Wolf01 has quit IRC
23:11:10  *** nielsm has quit IRC

Powered by YARRSTE version: svn-trunk