Config
Log for #openttd on 15th July 2022:
Times are UTC Toggle Colours
02:01:53  <Eddi|zuHause> frankly, "almost everyone" on the planet is "an idiot", no matter what context.
02:04:58  *** D-HUND has joined #openttd
02:08:24  *** debdog has quit IRC
02:10:06  *** Wormnest has quit IRC
02:15:23  *** tokai|noir has joined #openttd
02:15:23  *** ChanServ sets mode: +v tokai|noir
02:22:38  *** D-HUND is now known as debdog
02:26:06  *** glx has quit IRC
03:03:38  *** D-HUND has joined #openttd
03:03:43  *** WormnestAndroid has quit IRC
03:07:04  *** debdog has quit IRC
04:00:48  *** WormnestAndroid has joined #openttd
05:54:58  *** Etua has joined #openttd
06:23:50  *** andythenorth has joined #openttd
06:24:16  *** sla_ro|master has joined #openttd
06:33:48  *** Etua has quit IRC
07:02:26  *** andythenorth has quit IRC
07:02:29  *** Flygon has joined #openttd
07:17:04  *** andythenorth has joined #openttd
09:20:00  *** Samu has joined #openttd
09:23:50  *** andythenorth has quit IRC
09:29:02  *** andythenorth has joined #openttd
09:59:13  *** WormnestAndroid has quit IRC
10:50:45  *** sla_ro|master has quit IRC
10:53:53  *** sla_ro|master has joined #openttd
10:54:52  *** WormnestAndroid has joined #openttd
11:23:09  <Samu> i think I did it!
11:23:23  <Samu> no consecutive turns and no 90 degree turns https://i.imgur.com/OpchYZd.png
11:24:30  <Samu> oh, there's one, near the start
11:25:01  <Samu> right after leaving depot
11:25:07  <Samu> the start point
11:25:49  <Samu> or actually, the end point in this case
11:26:37  <Samu> hmm, what can i do about that
11:28:39  <Samu> i only know that the depot tile is the goal, it doesn't know anything about its directions
11:28:51  <Samu> so i guess it needs to know
11:40:21  *** WormnestAndroid has quit IRC
11:59:43  *** WormnestAndroid has joined #openttd
12:17:48  *** Smedles has quit IRC
12:18:06  *** glx has joined #openttd
12:18:06  *** ChanServ sets mode: +v glx
12:18:20  *** Smedles has joined #openttd
12:34:17  <Samu> now I also want a consecutive slopes penalty cost
12:53:58  *** sla_ro|master has quit IRC
13:10:37  *** nielsm has joined #openttd
13:26:40  *** nielsm has quit IRC
13:59:53  <Samu> yay, no 90 degrees, no consecutive turns, no consecutive slopes, what else is needed to make the perfect rail route?
14:03:36  <Samu> oh boy imagine if the dual rail route worked
14:03:44  <Samu> it would be superb
14:06:08  <Rubidium> sidings?
14:16:41  <Samu> well, the consecutive turns and 90 degrees aren't really working for the source and goal tiles
14:16:58  <Samu> because... certain limitations
14:17:50  <Samu> how to overcome
14:19:45  <Samu> i think it needs at least one more tile
14:20:03  <Samu> hmm
14:36:22  *** gelignite has joined #openttd
14:57:03  <Samu> alright, source tile is dealt with
14:57:23  <Samu> goal tile is more complicated
16:02:13  *** HerzogDeXtEr has joined #openttd
16:23:37  *** WormnestAndroid has quit IRC
16:24:03  *** WormnestAndroid has joined #openttd
16:29:41  <andythenorth> yo
16:29:46  <andythenorth> food poisoning eh
16:33:19  *** D-HUND is now known as debdog
16:35:17  *** Smedles has quit IRC
16:35:49  *** Smedles has joined #openttd
16:48:33  *** WormnestAndroid has quit IRC
16:50:18  <andythenorth> I forgot how the weird nml railtype fallbacks thing works in railtype table
16:50:22  * andythenorth looks it up
17:00:53  *** Flygon has quit IRC
17:13:32  *** Wolf01 has joined #openttd
17:17:54  <andythenorth> time to compile 1 grf: 30s
17:18:01  <andythenorth> time to compile 3 grfs in parallel: 30s
17:18:17  <andythenorth> shame we can't bundle / link grfs after initial compile :P
17:47:16  <Samu> i can't seem to do this for the goal tile
17:48:56  <Samu> it detects the consecutive turn and adds the forbidden cost, and yet it returns this path
17:49:16  <Samu> its already past the allowed cost, I don't understand why it's doing this
17:50:20  <Samu> it found no other path apparently, so he's resorting to paths over the forbidden cost?
17:51:22  <Samu> these paths shouldn't even be on the open list
18:03:08  *** WormnestAndroid has joined #openttd
18:23:23  *** Smedles has quit IRC
18:23:32  *** Smedles has joined #openttd
19:04:49  *** WormnestAndroid has quit IRC
19:05:05  *** WormnestAndroid has joined #openttd
19:06:19  *** WormnestAndroid has joined #openttd
19:22:31  <Samu> https://docs.openttd.org/ai-api/classAIVehicle.html#a8565826863d265016ebd3f40f396324c omg how do i use this
19:24:31  <Samu> ah, got it
19:24:35  <Samu> first wagon is 0, not 1
19:44:13  <Samu> I can't do the goal tile :(
19:44:37  *** WormnestAndroid has quit IRC
19:45:13  *** WormnestAndroid has joined #openttd
20:03:08  *** m1cr0man has quit IRC
20:07:54  *** m1cr0man has joined #openttd
20:14:05  *** m1cr0man has quit IRC
20:14:21  *** m1cr0man has joined #openttd
20:17:52  <Samu> with forbidden 90 degree turns, forbidden consecutive turns and forbidden consecutive slopes, for a lev 4 chimaera train sized 7 tiles, minimum speed registered was 222 km/h
20:19:48  <Samu> kinda expected better
20:32:19  *** m1cr0man has quit IRC
20:32:34  *** m1cr0man has joined #openttd
20:35:30  *** m1cr0man has quit IRC
20:35:45  *** m1cr0man has joined #openttd
20:36:05  *** gelignite has quit IRC
20:40:10  *** gelignite has joined #openttd
20:49:25  *** ghostpelican_ has joined #openttd
20:51:32  *** ghostpelican_ has quit IRC
21:02:43  *** WormnestAndroid has quit IRC
21:03:30  *** WormnestAndroid has joined #openttd
21:06:04  *** ghostpelican has joined #openttd
21:07:49  <ghostpelican> Hi, having trouble with a build. Runs fine but ZLib does not load. It shows up when I run vcpkg list, and I have the command arguments set in VS 2022. Any suggestions?
21:11:32  *** WormnestAndroid has quit IRC
21:12:00  *** WormnestAndroid has joined #openttd
21:15:23  *** m1cr0man has quit IRC
21:15:39  *** m1cr0man has joined #openttd
21:20:06  *** m1cr0man has quit IRC
21:20:09  *** sla_ro|master has joined #openttd
21:20:21  *** m1cr0man has joined #openttd
21:22:50  *** gelignite has quit IRC
21:42:23  <glx> what does vcpkg list shows as installed triplet ghostpelican ?
21:48:27  *** Samu has quit IRC
21:50:50  <glx> and you followed all steps in https://github.com/Microsoft/vcpkg/blob/master/README.md#quick-start-windows (especially  .\vcpkg\vcpkg integrate install) ?
21:55:32  *** Wolf01 has quit IRC
22:02:26  <ghostpelican> I did integrate install. What do you mean installed triplet?
22:03:21  <glx> zlib:x64-windows-static                            1.2.11#13        A compression library
22:03:38  <glx> the triplet here is x64-windows-static
22:04:28  <glx> and it should match VCPKG_TARGET_TRIPLET value in cmake
22:04:58  *** andythenorth has quit IRC
22:06:00  <ghostpelican>  I have it here: zlib:x64-windows-static                            1.2.12#1         A compression library zlib:x86-windows-static
22:06:24  <ghostpelican> zlib:x64-windows-static                            1.2.12#1         A compression library
22:06:53  <glx> yeah same here
22:07:16  <glx> (I also have the arm64 one)
22:07:46  <ghostpelican> yeah I installed both
22:07:48  <glx> and other libs are detected correctly
22:08:00  <glx> because openttd needs more than zlib
22:08:12  <ghostpelican> others fail as well I think
22:08:58  <glx> that's a good point then, means vcpkg config is somehow wrong
22:09:27  <glx> if you did integrate install, then it's just VCPKG_TARGET_TRIPLET
22:10:02  <ghostpelican> does it matter where I run integrate install?
22:11:03  <glx> no, it just sets some variables for visual studio
22:14:02  <ghostpelican> I have VCPKG_TARGET_TRIPLET=x64-windows-static in the CMake command arguments, when I change it to -VCPKG_TARGET_TRIPLET=x64-windows-static I get unknown argument
22:16:47  <glx> where did you set it ?
22:18:37  <glx> oh I see, you set it in "Command Arguments" block (the one for CMake, build and CTest)
22:22:10  <glx> that's not the right place, in CMake settings window there is a "edit JSON" (or similar)
22:24:12  <glx> and you need to modify "variables" value, I think it shows "variables": [] for you
22:25:35  <ghostpelican> I made a variables entry
22:26:01  <glx> but you need it to be
22:26:01  <glx>       "variables": [
22:26:01  <glx>          {
22:26:01  <glx>            "name": "VCPKG_TARGET_TRIPLET",
22:26:01  <glx>            "value": "x64-windows-static",
22:26:02  <glx>            "type": "STRING"
22:26:02  <glx>          }
22:26:04  <glx>        ]
22:28:25  <ghostpelican> you are amazing, thanks for humoring me
22:28:31  <ghostpelican> all working :)
22:30:24  <glx> maybe they made that part easier in VS2022 (I'm still on VS2019)
22:35:59  <ghostpelican> yeah I've been using 2022 for some Maui stuff and the hot reload and new autocomplete are pretty nice, used to just use 2019
22:37:36  *** dwfreed has quit IRC
22:37:38  *** dwfreed has joined #openttd
22:38:19  *** sla_ro|master has quit IRC
22:53:37  *** WormnestAndroid has quit IRC
22:53:49  *** WormnestAndroid has joined #openttd
22:53:56  *** WormnestAndroid has joined #openttd
23:21:19  *** Tirili has joined #openttd
23:50:55  *** dale has quit IRC
23:50:56  *** dale has joined #openttd

Powered by YARRSTE version: svn-trunk