IRC logs for #openttd on OFTC at 2018-09-23
            
00:01:08 <Samu> help!
00:03:50 *** APTX has quit IRC
00:03:51 *** APTX has joined #openttd
00:05:10 *** Gustavo6046 has quit IRC
00:05:10 *** Gustavo6056 is now known as Gustavo6046
00:09:48 *** techmagus has quit IRC
00:09:54 *** techmagus has joined #openttd
00:11:09 *** nielsm has quit IRC
00:14:42 *** Hobbyboy has quit IRC
00:19:31 *** Smedles has quit IRC
00:19:44 *** Smedles has joined #openttd
00:20:27 *** k-man has quit IRC
00:20:51 *** k-man has joined #openttd
00:29:58 *** Hobbyboy has joined #openttd
00:35:58 *** GroovyNoodle has quit IRC
00:36:56 *** Oroburos has quit IRC
00:42:14 *** Supercheese has joined #openttd
00:58:01 *** Gustavo6056 has joined #openttd
01:00:08 *** snail_UES_ has joined #openttd
01:02:39 *** frosch123 has quit IRC
01:05:10 *** Gustavo6046 has quit IRC
01:05:10 *** Gustavo6056 is now known as Gustavo6046
01:06:17 *** Thedarkb-T60 has quit IRC
01:07:07 *** Supercheese has quit IRC
01:07:30 *** Supercheese has joined #openttd
01:09:20 *** Wolf01 has quit IRC
01:17:01 *** synchris has quit IRC
01:17:14 *** synchris has joined #openttd
01:19:13 *** Thedarkb-T60 has joined #openttd
01:21:59 *** HerzogDeXtEr has quit IRC
01:33:42 *** Progman has quit IRC
01:47:30 *** sim-al2 has joined #openttd
01:55:35 *** sim-al2 has quit IRC
01:58:29 *** Gustavo6056 has joined #openttd
02:05:42 *** Gustavo6046 has quit IRC
02:05:42 *** Gustavo6056 is now known as Gustavo6046
02:06:08 *** chomwitt has quit IRC
02:18:17 *** synchris has quit IRC
02:21:28 *** Flygon has joined #openttd
02:25:36 *** ToBeFree has quit IRC
02:25:53 *** ToBeFree has joined #openttd
02:37:16 *** gelignite has quit IRC
02:55:30 *** Mahjong has joined #openttd
02:56:20 *** Mahjong has joined #openttd
02:58:41 *** Gustavo6056 has joined #openttd
03:01:35 *** Mahjong1 has quit IRC
03:05:42 *** Gustavo6046 has quit IRC
03:05:42 *** Gustavo6056 is now known as Gustavo6046
03:13:32 *** Laedek_ has quit IRC
03:18:49 *** Laedek has joined #openttd
03:37:13 *** Sheogorath has quit IRC
03:37:17 *** Sheogorath has joined #openttd
03:46:43 *** Samu has quit IRC
03:58:49 *** Gustavo6056 has joined #openttd
04:05:42 *** Gustavo6046 has quit IRC
04:05:42 *** Gustavo6056 is now known as Gustavo6046
04:26:11 *** glx has quit IRC
04:41:22 *** greeter has quit IRC
04:41:50 *** greeter has joined #openttd
04:58:56 *** Gustavo6056 has joined #openttd
05:05:45 *** Gustavo6046 has quit IRC
05:05:45 *** Gustavo6056 is now known as Gustavo6046
05:37:17 *** Supercheese has quit IRC
05:37:40 *** Supercheese has joined #openttd
05:40:40 *** OsteHovel has quit IRC
05:42:18 *** OsteHovel has joined #openttd
05:42:29 *** haudrauf has quit IRC
05:43:27 *** haudrauf has joined #openttd
05:58:41 *** Gustavo6056 has joined #openttd
06:06:13 *** Gustavo6046 has quit IRC
06:06:13 *** Gustavo6056 is now known as Gustavo6046
06:58:48 *** Gustavo6056 has joined #openttd
07:06:18 *** Gustavo6046 has quit IRC
07:06:18 *** Gustavo6056 is now known as Gustavo6046
07:20:37 *** snail_UES_ has quit IRC
07:29:55 *** APTX has quit IRC
07:29:57 *** APTX has joined #openttd
07:39:06 *** ST2 has quit IRC
07:41:17 *** ST2 has joined #openttd
07:44:13 *** Smedles has quit IRC
07:44:26 *** Smedles has joined #openttd
07:44:42 *** Vadtec has quit IRC
07:44:53 *** Vadtec has joined #openttd
07:45:32 *** k-man has quit IRC
07:45:54 *** k-man has joined #openttd
07:47:50 *** Alberth has joined #openttd
07:47:50 *** ChanServ sets mode: +o Alberth
07:48:05 <Alberth> mornings
07:59:03 *** Gustavo6056 has joined #openttd
08:02:21 <DorpsGek_II> [OpenTTD/OpenTTD] aph3rson opened issue #6913: Request: support Discord's Rich Presence API https://github.com/OpenTTD/OpenTTD/issues/6913
08:06:18 *** Gustavo6046 has quit IRC
08:06:18 *** Gustavo6056 is now known as Gustavo6046
08:08:04 *** Mahjong1 has joined #openttd
08:10:35 *** Mahjong1 has quit IRC
08:10:52 *** Mahjong1 has joined #openttd
08:11:30 *** Hobbyboy has quit IRC
08:11:52 *** Hobbyboy has joined #openttd
08:12:00 *** Mahjong has quit IRC
08:13:02 *** Mahjong2 has joined #openttd
08:13:43 *** sushibear_ has joined #openttd
08:14:06 *** sushibear has quit IRC
08:17:32 *** Mahjong has joined #openttd
08:19:32 *** Mahjong1 has quit IRC
08:19:32 *** Mahjong2 has quit IRC
08:19:32 *** OsteHovel has quit IRC
08:19:32 *** Sheogorath has quit IRC
08:19:32 *** Thedarkb-T60 has quit IRC
08:19:32 *** urdh has quit IRC
08:19:32 *** crem4 has quit IRC
08:19:32 *** milek7_ has quit IRC
08:19:32 *** Westie has quit IRC
08:19:32 *** masse has quit IRC
08:19:32 *** Alkel_U3 has quit IRC
08:19:32 *** IgnoredAmbience has quit IRC
08:19:32 *** Exec has quit IRC
08:19:32 *** tneo has quit IRC
08:19:32 *** DorpsGek_II has quit IRC
08:19:32 *** ^Spike^ has quit IRC
08:21:43 *** Thedarkb-T60 has joined #openttd
08:22:40 *** OsteHovel has joined #openttd
08:22:40 *** Sheogorath has joined #openttd
08:22:40 *** urdh has joined #openttd
08:22:40 *** crem4 has joined #openttd
08:22:40 *** Exec has joined #openttd
08:22:40 *** IgnoredAmbience has joined #openttd
08:22:40 *** ^Spike^ has joined #openttd
08:22:40 *** tneo has joined #openttd
08:22:40 *** DorpsGek_II has joined #openttd
08:22:40 *** Alkel_U3 has joined #openttd
08:22:40 *** masse has joined #openttd
08:22:40 *** Westie has joined #openttd
08:22:40 *** milek7_ has joined #openttd
08:27:15 *** ToBeFree has quit IRC
08:28:41 *** milek7_ has quit IRC
08:28:41 *** Westie has quit IRC
08:28:41 *** masse has quit IRC
08:28:41 *** Alkel_U3 has quit IRC
08:28:41 *** IgnoredAmbience has quit IRC
08:28:41 *** crem4 has quit IRC
08:28:41 *** urdh has quit IRC
08:28:41 *** OsteHovel has quit IRC
08:28:41 *** Sheogorath has quit IRC
08:28:41 *** Exec has quit IRC
08:28:41 *** tneo has quit IRC
08:28:41 *** DorpsGek_II has quit IRC
08:28:41 *** ^Spike^ has quit IRC
08:29:54 *** OsteHovel has joined #openttd
08:29:54 *** Sheogorath has joined #openttd
08:29:54 *** urdh has joined #openttd
08:29:54 *** crem4 has joined #openttd
08:29:54 *** Exec has joined #openttd
08:29:54 *** IgnoredAmbience has joined #openttd
08:29:54 *** ^Spike^ has joined #openttd
08:29:54 *** tneo has joined #openttd
08:29:54 *** DorpsGek_II has joined #openttd
08:29:54 *** Alkel_U3 has joined #openttd
08:29:54 *** masse has joined #openttd
08:29:54 *** Westie has joined #openttd
08:29:54 *** milek7_ has joined #openttd
08:43:52 *** Flygon has quit IRC
08:44:00 *** rocky113844 has quit IRC
08:44:14 *** Flygon has joined #openttd
08:59:24 *** Gustavo6056 has joined #openttd
09:06:17 *** Gustavo6046 has quit IRC
09:06:17 *** Gustavo6056 is now known as Gustavo6046
09:09:15 *** HerzogDeXtEr has joined #openttd
09:11:18 *** Gustavo6056 has joined #openttd
09:13:15 *** nielsm has joined #openttd
09:15:38 <DorpsGek_II> [OpenTTD/OpenTTD] cpthooker opened issue #6914: Your script made an error: the index '6658' does not exist https://github.com/OpenTTD/OpenTTD/issues/6914
09:16:18 *** Gustavo6046 has quit IRC
09:16:18 *** Gustavo6056 is now known as Gustavo6046
09:17:11 <LordAro> hihi
09:22:38 <DorpsGek_II> [OpenTTD/OpenTTD] nielsmh commented on issue #6914: Your script made an error: the index '6658' does not exist https://github.com/OpenTTD/OpenTTD/issues/6914#issuecomment-423797260
09:22:38 <DorpsGek_II> [OpenTTD/OpenTTD] cpthooker closed issue #6914: Your script made an error: the index '6658' does not exist https://github.com/OpenTTD/OpenTTD/issues/6914
09:23:50 <DorpsGek_II> [OpenTTD/OpenTTD] cpthooker commented on issue #6914: Your script made an error: the index '6658' does not exist https://github.com/OpenTTD/OpenTTD/issues/6914#issuecomment-423797300
09:25:19 <LordAro> known error in admiralai, iirc
09:25:27 <LordAro> since yexo is gone...
09:51:04 *** Supercheese has quit IRC
10:10:39 *** andythenorth has joined #openttd
10:11:25 *** Gustavo6056 has joined #openttd
10:18:42 *** Gustavo6046 has quit IRC
10:18:42 *** Gustavo6056 is now known as Gustavo6046
10:19:12 <andythenorth> moin
10:19:13 <andythenorth> moon
10:19:20 <andythenorth> moan
10:19:57 <peter1138> Is it?
10:21:54 <andythenorth> too early to tell
10:21:58 <andythenorth> please dial again later
10:35:38 *** Gustavo6046 has quit IRC
10:36:38 *** Gustavo6046 has joined #openttd
10:38:28 *** Wolf01 has joined #openttd
10:38:34 <Wolf01> o/
10:39:42 <DorpsGek_II> [OpenTTD/OpenTTD] jmakovicka updated pull request #6911: Codechange: Improve (un)zoom performance https://github.com/OpenTTD/OpenTTD/pull/6911
10:41:29 <Wolf01> andythenorth stud.io 2.0 with "stability check" function, seems nice to test if a technic moc stays in place or falls apart :P
10:49:29 <andythenorth> under what conditions? :P
10:49:47 <andythenorth> does it model static loads?
10:49:54 <andythenorth> or driving it down the stairs?
10:50:14 <Wolf01> I guess static
10:50:48 <andythenorth> :)
10:51:01 <Wolf01> At least you shouldn't have an entire gearbox falling apart because you forgot an axle
10:51:11 <andythenorth> ha
10:52:16 <Wolf01> I still miss a functional check for technic, so you can rotate an axle and look if the function it drives works
10:52:43 <Wolf01> SR32 does it, but I'm not able to use that one for building
10:53:02 *** Progman has joined #openttd
11:06:53 *** andythenorth has quit IRC
11:07:05 *** nielsm has quit IRC
11:11:32 *** Gustavo6056 has joined #openttd
11:15:02 *** sla_ro|master has joined #openttd
11:18:07 *** Gustavo6046 has quit IRC
11:18:07 *** Gustavo6056 is now known as Gustavo6046
11:20:15 *** gelignite has joined #openttd
12:11:34 *** Gustavo6056 has joined #openttd
12:18:48 *** Gustavo6046 has quit IRC
12:18:48 *** Gustavo6056 is now known as Gustavo6046
12:24:45 *** Thedarkb-T60 has quit IRC
12:25:07 *** Thedarkb-T60 has joined #openttd
12:25:22 *** frosch123 has joined #openttd
12:29:20 *** Progman has quit IRC
12:32:34 *** GroovyNoodle has joined #openttd
12:54:02 *** Alberth has left #openttd
13:11:52 *** Gustavo6056 has joined #openttd
13:14:10 *** Thedarkb-T60 has quit IRC
13:14:28 *** GroovyNoodle has quit IRC
13:17:17 *** andythenorth has joined #openttd
13:19:07 *** Gustavo6046 has quit IRC
13:19:07 *** Gustavo6056 is now known as Gustavo6046
13:25:32 *** GroovyNoodle has joined #openttd
13:30:21 <andythenorth> o/`
13:42:34 *** Samu has joined #openttd
13:55:24 *** avdg has quit IRC
13:55:49 *** avdg has joined #openttd
13:56:28 *** Ammler has quit IRC
13:56:49 *** Ammler has joined #openttd
13:57:32 *** V453000 has quit IRC
13:57:44 *** chomwitt has joined #openttd
13:57:49 *** V453000 has joined #openttd
14:11:49 *** Gustavo6056 has joined #openttd
14:19:08 *** Gustavo6046 has quit IRC
14:19:08 *** Gustavo6056 is now known as Gustavo6046
14:21:25 *** TrueBrain has quit IRC
14:24:10 <Samu> hi
14:27:38 *** TrueBrain has joined #openttd
14:27:39 <Samu> what is better pathfinder-wise? forbid level crossings or a very high penalty for level crossing?
14:31:23 *** Lejving_ has quit IRC
14:31:44 *** Lejving_ has joined #openttd
14:32:44 *** Yotson has quit IRC
14:32:47 *** Yotson has joined #openttd
14:43:34 *** gelignite has quit IRC
14:52:45 *** sla_ro|master has quit IRC
14:57:22 *** eirc has quit IRC
14:57:39 *** eirc has joined #openttd
15:12:22 *** Gustavo6056 has joined #openttd
15:15:29 *** Happpy has joined #openttd
15:15:47 *** Happpy has left #openttd
15:19:08 *** Gustavo6046 has quit IRC
15:19:08 *** Gustavo6056 is now known as Gustavo6046
15:24:00 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on issue #6873: Jukebox not working in the flatpak version https://github.com/OpenTTD/OpenTTD/issues/6873#issuecomment-423816256
15:29:17 <Samu> TrueBrain has created a tournament server and is regularly running competitions between AIs. It is currently offline. Check back in a few weeks for updates.
15:29:24 <Samu> orly?
15:30:31 <LordAro> ha
15:30:42 <LordAro> that's not been run in... 10 years?
15:31:24 *** argoneus has quit IRC
15:31:24 *** argoneus has joined #openttd
15:33:17 <DorpsGek_II> [OpenTTD/OpenTTD] ghisvail commented on issue #6873: Jukebox not working in the flatpak version https://github.com/OpenTTD/OpenTTD/issues/6873#issuecomment-423816844
15:34:01 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on issue #6873: Jukebox not working in the flatpak version https://github.com/OpenTTD/OpenTTD/issues/6873#issuecomment-423816889
15:40:40 <DorpsGek_II> [OpenTTD/OpenTTD] George-VB commented on issue #6907: Cargo capacity should be recalculated on TRIGGER_VEHICLE_NEW_LOAD https://github.com/OpenTTD/OpenTTD/issues/6907#issuecomment-423817315
15:59:33 <Samu> blog.openttd.org does not exist
15:59:56 *** synchris has joined #openttd
16:06:17 *** gelignite has joined #openttd
16:08:37 <Samu> i have a suggestion: one way drive through stations, plz do it!
16:08:40 <Samu> :p
16:08:59 <LordAro> surround it with one-way roads
16:09:00 <LordAro> done
16:09:47 *** APTX_ has quit IRC
16:09:47 *** APTX_ has joined #openttd
16:10:44 <Samu> but the vehicles can't use both sides of the road as one direction anyway :(
16:11:10 <LordAro> indeed not
16:11:18 <LordAro> so it wouldn't make any difference
16:12:23 *** Gustavo6056 has joined #openttd
16:12:38 *** Wolf01 is now known as Guest1139
16:12:40 *** Wolf01 has joined #openttd
16:12:47 <Samu> AIRoad::ERR_ROAD_DRIVE_THROUGH_WRONG_DIRECTION
16:12:59 <Samu> what is this error for? when does it trigger?
16:13:29 <Samu> ah, nevermind, i got it
16:14:07 <Samu> it's when i try to place a X station in a Y road
16:14:29 <Samu> axis
16:15:28 *** Guest1139 has quit IRC
16:19:36 <Samu> I'm not sure if i should trust the documentation
16:19:37 *** Gustavo6046 has quit IRC
16:19:37 *** Gustavo6056 is now known as Gustavo6046
16:19:51 <Samu> i'm pretty sure there are more errors than these
16:19:59 <Samu> and they're not being listed
16:27:28 <LordAro> documentation is usually very good
16:35:24 *** SpComb^ has quit IRC
16:35:29 *** SpComb has joined #openttd
16:37:57 <Samu> pathfinder doesn't count road stations as nodes
16:38:08 <Samu> only counts drivethrough stations
16:38:33 <Samu> must fix
16:39:33 *** andythenorth has quit IRC
16:39:58 <Samu> and i bet the same happens road depots
16:40:04 <Samu> with*
16:40:19 <Samu> imagine that was the intention
16:40:32 <Samu> to pathfind to a road depot or road station
16:51:24 *** KouDy has quit IRC
16:53:17 *** KouDy has joined #openttd
16:57:34 <Samu> ((AIRoad.IsRoadStationTile(next_tile) || AIRoad.IsRoadDepotTile(next_tile)) && AITile.GetOwner(next_tile) == AICompany.ResolveCompanyID(AICompany.COMPANY_SELF))
16:58:29 <Samu> couldn't it just be: AITile.GetOwner(next_tile) == AICompany.COMPANY_SELF
16:58:52 <Samu> is the ResolveCompanyID actually needed'
17:01:54 *** Wormnest has joined #openttd
17:05:38 <Samu> COMPANY_SELF = 254, ///< Constant that gets resolved to the correct company index for your company.
17:05:43 <Samu> nevermind, it's needed
17:12:20 *** Gustavo6056 has joined #openttd
17:19:37 *** Gustavo6046 has quit IRC
17:19:37 *** Gustavo6056 is now known as Gustavo6046
17:37:40 *** snail_UES_ has joined #openttd
17:41:18 *** rocky113844 has joined #openttd
17:48:01 *** Gja has joined #openttd
17:48:33 <Samu> problem solved!
17:49:05 *** GroovyNoodle has quit IRC
17:52:51 <Samu> but i discovered another one
17:54:16 <Samu> an existing bridge with its direction towards a drivethrough station in an incompatible direction
17:54:46 <Samu> pathfinder thinks the path is open
17:54:49 <Samu> but it's not
17:59:01 *** GroovyNoodle has joined #openttd
18:04:48 *** Gja has quit IRC
18:12:43 *** Gustavo6056 has joined #openttd
18:19:37 *** Gustavo6046 has quit IRC
18:19:37 *** Gustavo6056 is now known as Gustavo6046
18:25:01 *** Gja has joined #openttd
18:26:09 <Samu> this one is more complicated to fix, grr
18:26:28 <Samu> seems that my fixes are breaking other functionality
18:38:25 *** andythenorth has joined #openttd
18:43:43 *** Flygon has quit IRC
18:46:10 <Wolf01> Mmmh, astroneer melts my pc :S
18:48:23 <Samu> Road::_CheckDirection why is checkdirection always returning false?
18:49:17 <Samu> what would it be useful for if it had a use?
19:12:35 *** Gustavo6056 has joined #openttd
19:13:52 <Samu> GetDriveThroughBackTile
19:14:00 <Samu> what will this return if the tile is outside the map
19:15:40 <Samu> i hope it returns the tile outside the map in this case
19:20:08 *** Gustavo6046 has quit IRC
19:20:08 *** Gustavo6056 is now known as Gustavo6046
19:24:15 *** Gja has quit IRC
19:37:29 <Samu> bah, can't use distancemanhattan
19:37:35 <Samu> it requires valid tiles
19:47:37 *** andythenorth has quit IRC
19:59:21 *** Progman has joined #openttd
19:59:41 *** nielsm has joined #openttd
20:08:50 *** sla_ro|master has joined #openttd
20:12:48 *** Gustavo6056 has joined #openttd
20:14:54 *** Wormnest has quit IRC
20:20:08 *** Gustavo6046 has quit IRC
20:20:08 *** Gustavo6056 is now known as Gustavo6046
20:32:57 *** sla_ro|master has quit IRC
20:39:39 <Samu> can i append repeated items in an array?
20:39:49 <Samu> if I can, that sucks
20:43:55 <Samu> oh well, i totally forgot about the depot
20:44:05 <Samu> it is built on the array
20:45:03 <Samu> how to keep track of the array
20:45:08 <Samu> during interruptions
20:54:17 *** haudrauf has quit IRC
20:55:16 *** haudrauf has joined #openttd
21:06:30 *** Gja has joined #openttd
21:11:42 *** Gustavo6056 has joined #openttd
21:13:12 *** Gja has quit IRC
21:19:12 *** Gustavo6046 has quit IRC
21:19:12 *** Gustavo6056 is now known as Gustavo6046
21:27:30 *** synchris has quit IRC
21:34:31 *** glx has joined #openttd
21:34:31 *** ChanServ sets mode: +v glx
21:49:08 *** frosch123 has quit IRC
21:59:48 *** gelignite has quit IRC
22:09:52 *** rocky113844 has quit IRC
22:10:59 *** debdog has joined #openttd
22:12:12 *** Gustavo6056 has joined #openttd
22:19:12 *** Gustavo6046 has quit IRC
22:19:12 *** Gustavo6056 is now known as Gustavo6046
22:32:16 <Samu> help me avoid code repetition
22:32:16 <Samu> https://paste.openttdcoop.org/pivfk1xw7
22:33:56 <Samu> lines 13-32, repeated at lines 39-58, and repeated at lines 79-103 with the exception of the _slope cost
22:34:14 <Samu> halp
22:35:38 <Samu> oops, exception of the _coast cost
22:35:39 <Samu> my bad
22:41:01 <Samu> my problem is the self thingy
22:41:24 <glx> make a function
22:42:46 <Samu> the self_ is a aystart + pathfinder thingy, they work together, i think it's a callback
22:42:51 <Samu> aystar*
22:43:17 <glx> self is the current object
22:44:14 <glx> and it's the first parameter of your Road::_Cost() function
22:44:40 *** kaane has quit IRC
22:44:52 <Samu> ehm, the code isn't exactly mine, i just edited stuff in
22:45:03 <Samu> like that repeated part
22:45:30 <glx> you can put the repeated part in a function and pass it self
22:45:44 *** kaane has joined #openttd
22:48:32 <glx> the 13-31 (without the return) goes to the new function and return the calculater cost
22:49:18 <glx> and line 32 becomes return path.GetCost() + new_function_calculating_cost(self);
22:49:38 <glx> same for line 58
22:50:42 <glx> for the last block you call the function, add the _cost_slope as needed like it's done now, then the return
22:52:03 <glx> hmm _cost_coast, sorry
22:52:43 <glx> but you get the idea
22:54:50 <Samu> trying function Road::_CostHelper(self, prev_tile, new_tile)
22:56:25 <Samu> return path.GetCost() + self._CostHelper(self, prev_tile, new_tile);
22:56:29 <Samu> weird
22:56:47 <Samu> is it ok for self to be repeated there
22:57:03 <Samu> I don't see this anywhere else
23:01:18 <Samu> heh, the coast cost is also repeated
23:01:19 <Samu> lel
23:03:40 *** Eddi|zuHause has quit IRC
23:04:19 *** Eddi|zuHause has joined #openttd
23:12:21 *** Gustavo6056 has joined #openttd
23:19:13 *** Gustavo6046 has quit IRC
23:19:13 *** Gustavo6056 is now known as Gustavo6046
23:19:13 <Samu> glx: https://paste.openttdcoop.org/pbdz0s7v8
23:19:21 <Samu> became like that
23:19:47 <Samu> i'm playing with null vs false vs true, hope the behaviour is the same
23:23:01 <glx> add temporary debug messages to check
23:23:26 <glx> seems like a big abuse of untyped language
23:28:09 <Samu> testing
23:28:56 <Samu> oops, the index path does not exist
23:29:25 *** Thedarkb-T60 has joined #openttd
23:32:31 *** Wolf01 has quit IRC
23:34:06 <Samu> coast_cost_only == false is too common
23:34:31 <Samu> im not debugging this the right way :(
23:41:52 <Samu> seems fine
23:42:02 <Samu> it's null when on bridge tiles
23:42:06 <Samu> as intended
23:43:58 <Samu> must find a true now
23:44:45 <Samu> probably gonna be rare, it's when the ai wants to build a bridge and it ends on a coast tile with water
23:46:26 *** andythenorth has joined #openttd
23:46:36 <andythenorth> enable flip for articulated vehicles?
23:46:49 <andythenorth> it's probably fine, just a lot of CB36 nonsense to handle
23:47:34 <Samu> must force it in the ai
23:47:39 <Samu> brb editing scenario
23:48:01 <andythenorth> oh it's the samu channel :)
23:48:09 <andythenorth> I should write a github issue
23:48:12 <Samu> hi
23:49:40 <Samu> made it trigger!
23:50:01 <Samu> https://imgur.com/nRDwnaa
23:50:30 <Samu> i forced it
23:50:37 <Samu> working as intended then
23:52:15 <DorpsGek_II> [OpenTTD/OpenTTD] andythenorth opened issue #6915: Trains: enable flip for articulated vehicles https://github.com/OpenTTD/OpenTTD/issues/6915
23:53:12 *** Thedarkb-T60 has quit IRC
23:53:38 *** andythenorth has quit IRC
23:56:33 <Samu> thx glx, I believe this part is working
23:59:56 *** Progman has quit IRC