Config
Log for #openttd on 8th June 2022:
Times are UTC Toggle Colours
00:07:16  <wallabra> Aaah! So many trucks! https://i.imgur.com/zcO69ep.jpg
02:39:25  *** glx has quit IRC
02:40:04  *** Wormnest has quit IRC
02:48:21  *** D-HUND has joined #openttd
02:51:42  *** debdog has quit IRC
02:51:47  *** moll has quit IRC
02:51:49  *** moll has joined #openttd
03:40:17  *** Compu has joined #openttd
05:45:13  *** Xaroth33 has joined #openttd
05:50:18  *** Xaroth3 has quit IRC
06:40:42  *** WormnestAndroid has quit IRC
06:52:36  *** Flygon has joined #openttd
07:31:04  *** Flygon_ has joined #openttd
07:35:32  *** Flygon has quit IRC
08:07:53  *** D-HUND is now known as debdog
08:35:15  *** Beer has joined #openttd
08:46:42  *** Beer has quit IRC
09:14:43  *** Samu has joined #openttd
09:42:56  <FLHerne> wallabra: low freight wagon speeds are historically accurate
10:00:30  <Samu> interesting find. yapf can put two same times consecutively in a path when it's reversing on bus stations. first time, it enters the station, then reverses and second time, it exits the station
10:00:51  <Samu> computing slopecost two times
10:00:59  <Samu> for the same tile
10:01:39  <Samu> yapf can put two same tiles* consecutively
10:11:55  <Samu> how do i simplify this code? https://pastebin.com/raw/mJf4SRjm
10:18:38  *** WormnestAndroid has joined #openttd
10:23:34  <Samu> nevermind, I simplified it
10:25:02  <Samu> https://pastebin.com/raw/65BUQSm7
10:29:51  <FLHerne> 'simplified'
10:45:14  *** WormnestAndroid has quit IRC
10:45:29  *** WormnestAndroid has joined #openttd
10:56:20  *** Smedles has quit IRC
10:56:27  *** Smedles has joined #openttd
10:57:50  *** Etua has joined #openttd
11:00:10  *** Etua has quit IRC
12:11:50  *** glx has joined #openttd
12:11:50  *** ChanServ sets mode: +v glx
12:26:50  <DorpsGek> [OpenTTD/OpenTTD] Limyx826 commented on issue #9295: Music Audio is not normalized/leveled correctly https://github.com/OpenTTD/OpenTTD/issues/9295
13:32:40  <Samu> I just invented the /* 180-deg curve penalty */
13:32:59  <Samu> kinda
13:33:57  <Samu> aka ship reverse penalty
13:52:50  *** nielsm has joined #openttd
13:58:16  <Samu> pff, can't really detect whether the ship turned with a single tile and trackdir, it can only guesstimate
13:58:44  <glx> I think you're going too far
14:00:17  <Samu> if the ship is on open sea, all trackdirs are available when checking the tile the ship came from
14:00:55  <Samu> it can't figure whether the ship turned, so it just assumes the best trackdir, which is going straight
14:01:21  <Samu> going straight means no curve penalty
14:02:37  <Samu> it can only get it right if it's coming from a ship depot, or from an aqueduct ramp, or a lock entry/exit
14:19:15  <Samu> oh snap, ship leaving depot also assumes ship direction going north exit
14:19:32  <Samu> this complicates the 180 degree checking
14:31:43  <Samu> fixed
15:15:39  <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #9917: Fix #9914, 86818e5: prevent more useless pathfinder run for blocked vehicles https://github.com/OpenTTD/OpenTTD/pull/9917
16:02:47  *** Wormnest has joined #openttd
16:22:17  <Samu> wow
16:22:55  <glx> I went for a simpler solution :)
16:24:37  <Samu> let me test
16:37:49  *** Smedles has quit IRC
16:37:55  *** Smedles has joined #openttd
17:01:32  <DorpsGek> [OpenTTD/OpenTTD] nielsmh opened issue #9918: Industries built in scenario editor can have incorrect closure-risk https://github.com/OpenTTD/OpenTTD/issues/9918
17:19:17  <Samu> ah, I see
2

Powered by YARRSTE version: svn-trunk