Times are UTC Toggle Colours
00:04:16 *** Supercheese has quit IRC 00:32:19 *** Supercheese has joined #openttd 00:41:27 *** wodencafe has quit IRC 01:11:33 *** rocky113844 has quit IRC 01:27:56 *** WWacko1976-work has joined #openttd 01:57:42 *** Flygon has joined #openttd 02:04:52 *** glx has quit IRC 02:07:50 *** Samu has quit IRC 02:28:07 *** Supercheese has quit IRC 02:28:29 *** Supercheese has joined #openttd 02:50:15 *** Supercheese has quit IRC 02:50:37 *** Supercheese has joined #openttd 03:17:41 *** chomwitt has quit IRC 03:32:19 *** KouDy has quit IRC 03:44:12 *** haudrauf has quit IRC 03:47:25 *** haudrauf has joined #openttd 03:50:14 *** Extrems has quit IRC 03:54:40 *** rocky113844 has joined #openttd 03:54:57 *** Extrems has joined #openttd 04:14:18 *** rocky1138 has joined #openttd 04:57:23 *** greeter has quit IRC 05:04:15 *** sim-al2 is now known as Guest2123 05:04:15 *** sim-al2 has joined #openttd 05:10:24 *** Guest2123 has quit IRC 05:14:58 *** Mahjong1 has joined #openttd 05:19:55 *** Mahjong has quit IRC 05:20:48 *** greeter has joined #openttd 05:33:41 *** snail_UES_ has quit IRC 05:37:47 *** snail_UES_ has joined #openttd 06:01:51 *** rocky113844 has quit IRC 06:31:26 *** snail_UES_ has quit IRC 06:40:52 *** sla_ro|master has joined #openttd 06:52:41 *** KouDy has joined #openttd 07:20:24 *** Supercheese has quit IRC 07:20:45 *** Supercheese has joined #openttd 07:33:34 *** nielsm has joined #openttd 07:41:36 *** nielsm has quit IRC 07:44:00 *** nielsm has joined #openttd 07:46:56 <nielsm> back from vacation 08:06:02 *** Supercheese has quit IRC 08:27:25 *** sla_ro|master has quit IRC 09:25:36 *** Wolf01 has joined #openttd 09:26:12 <Wolf01> o/ 09:37:47 *** Samu has joined #openttd 09:43:02 <Wolf01> https://img-9gag-fun.9cache.com/photo/aW1rXKq_460s.jpg /me looking at steam library: nothing to play 09:51:38 <peter1138> IKR 09:57:50 <Sacro> Play some TTDPatch 09:57:54 <Sacro> It's the best 10:11:53 <Wolf01> I have Simutrans on steam :P 10:16:05 *** Wacko1976 has joined #openttd 10:16:05 <Wolf01> Time to see if I can reduce road traffic some more... already low traffic on a 120k inhabitants city :P 10:17:37 <Sacro> cities skylines? 10:17:41 <Wolf01> Yup 10:17:49 <Sacro> I have too many mods to get that big a city easily 10:18:14 <Wolf01> I only use road anarchy, traffic manager and move it! 10:24:05 <peter1138> I have it but have never played it. 10:24:14 <peter1138> Stupid Steam sales :/ 10:24:23 <Wolf01> :D 10:28:42 <Wolf01> I have a weird crossing, 3 lanes highway coming in, 2 lanes coming out (one way) and a right bidirectional road, right lane forced to go right, central lane and left lane should go straight, only central lane used, wtf? 10:32:19 <Wolf01> https://imgur.com/a/ArGBxs1 10:40:44 <Wolf01> Ok, I think I should disallow to switch lanes on the part under the chirper, that's where things are strange 10:44:27 <Samu> why isn't the pathfinder failing? 10:46:12 <Sacro> Wolf01: oh man, I have realistic building capacitices, some mods for public transport, better daylenth with realistiic traffic patterns 10:46:21 <Wolf01> :o 10:46:23 <Samu> https://imgur.com/eIAvv8x 10:46:28 <Samu> look 10:46:45 <Samu> the pathfinder should be trying to connect from the station tile to the center of town and fail 10:46:49 <Samu> but it didn't fail, why! 10:49:42 <Samu> the pathfinder code is a library, i don't feel like editing it :( 10:53:48 <Samu> sec 10:54:04 <Samu> import("pathfinder.road", "RoadPathFinder", 3); 10:54:25 <Samu> there's a new version, what happens if I change to version 4? 10:54:32 <Samu> 4.1 10:55:40 <peter1138> Try it 10:56:57 *** wodencafe has joined #openttd 10:57:14 <Samu> ok ok 10:57:31 *** wodencafe has quit IRC 10:57:40 *** wodencafe has joined #openttd 11:10:08 <Samu> nop, does the same thing 11:17:56 <Samu> i must be failing somewhere :( 11:18:17 <Samu> or the pathfinder is? unlikely 11:21:05 *** cboyd_ has joined #openttd 11:25:13 *** wodencafe has quit IRC 11:33:14 <Samu> the bug is not on the pathfinder 11:33:36 <Samu> apparently path == false isn't happening 11:33:39 <Samu> why 11:33:56 <Samu> but the pathfinder returns no tiles at all 11:35:23 <Samu> * @return A route if one was found, or false if the amount of iterations was * reached, or null if no path was found. 11:35:32 <Samu> i see 11:35:54 <Samu> LuDiAI isn't dealing with null at all 11:36:03 *** KouDy has quit IRC 11:37:18 <Samu> if (path == false || path == null) { 11:37:20 <Samu> retrying 11:43:18 <Samu> problem solved! 11:43:21 <Samu> that was it 11:47:02 *** roidal has joined #openttd 12:34:21 <Wolf01> https://steamcommunity.com/sharedfiles/filedetails/?id=657851085&searchtext=road HA! 12:44:06 <peter1138> Maybe I should play it. 12:44:17 <peter1138> Samu, yeah, generally null is not false. 12:44:24 <peter1138> 12:17 < Samu> i must be failing somewhere :( 12:44:34 <peter1138> At least that was correct. 12:45:35 <Samu> that wasn't my code 12:45:47 <Samu> it was how LuDiAI had it 12:57:45 *** snail_UES_ has joined #openttd 13:15:17 *** KouDy has joined #openttd 13:19:36 *** KouDy has quit IRC 13:24:43 *** snail_UES_ has quit IRC 13:27:14 *** sim-al2 has quit IRC 13:38:16 *** KouDy has joined #openttd 13:46:42 *** Gja has joined #openttd 14:08:51 *** sla_ro|master has joined #openttd 14:11:58 *** Gja has quit IRC 14:30:16 *** frosch123 has joined #openttd 14:34:49 *** KouDy has quit IRC 14:56:23 *** Maraxus has joined #openttd 15:00:08 *** chomwitt has joined #openttd 15:00:22 *** Maraxus has quit IRC 15:12:05 *** chomwitt has quit IRC 15:34:16 *** WWacko1976-work has quit IRC 15:42:58 <Samu> arff, the more I fix issues, the more I get 15:43:30 *** gelignite has joined #openttd 15:57:31 *** Progman has joined #openttd 16:00:45 *** Stimrol has quit IRC 16:14:08 *** HerzogDeXtEr has joined #openttd 16:16:02 <acklen> stepping on a bug just means you have to clean your shoe 16:23:30 *** Wacko1976 has quit IRC 16:23:31 <Samu> I just realized something 16:23:48 <Samu> LuDiAI could make a great cargodistAI 16:24:02 <Samu> it joins airports with bus stations 16:24:09 <Samu> and vice-versa 16:24:21 <Samu> and it connects almost everytown 16:24:49 <Samu> almost everything is linked one way or another 16:25:20 <Samu> gotta take a look how it behaves with cargodist, brb 16:36:20 *** Kid_ has joined #openttd 16:39:00 *** Kid_ has quit IRC 16:47:59 *** Supercheese has joined #openttd 16:56:17 *** KouDy has joined #openttd 17:00:04 *** Gja has joined #openttd 17:05:41 *** Flygon has quit IRC 17:26:21 <Wolf01> https://www.youtube.com/watch?v=jDDDglIKrM4 oh wait, it's not a steamer 17:42:29 *** Wormnest has joined #openttd 17:43:44 *** gelignite has quit IRC 17:49:41 *** KouDy has quit IRC 17:59:26 *** glx has joined #openttd 17:59:26 *** ChanServ sets mode: +v glx 18:06:50 *** tokai has joined #openttd 18:06:50 *** ChanServ sets mode: +v tokai 18:10:38 *** Happpy has joined #openttd 18:10:51 *** Happpy has left #openttd 18:13:46 *** tokai|noir has quit IRC 18:18:32 <Samu> AIStation::GetCargoWaitingVia gonna try use this function for the first time :p 18:18:40 <TrueBrain> SpComb: well, it took 6 weeks, and me asking for a status update twice, for GCP to get back to me. It was a very clear no, in regards to them sponsoring OpenTTD on GCP .. it went as far as that I got told: "we are a paid service, of course you have to pay us" .. it was a bit weird conversation .. the first call suggested the sky, the second call said, paraphrasing, that there was never any chance .. weird. But so sadly, GCP is a no :( Means I have 18:18:41 <TrueBrain> to setup k8s myself ..... UGH :P Your tooling is still Ubuntu only, I guess? :P 18:25:41 <SpComb> TrueBrain: pity, but I suppose they do need to make money eventually 18:25:59 <TrueBrain> yeah ... they could have told me 6 weeks ago :P 18:26:27 <TrueBrain> at least they responded .. AWS never did :P 18:26:30 <SpComb> and yes, I haven't really heard of any widespread interest or plans for Debian support 18:26:57 <TrueBrain> too bad; still cant believe people use Ubuntu for production-work .. still feels weird :P (I have the same issue at work :D) 18:28:13 <TrueBrain> (which possibly makes me the weird one :D) 18:29:54 <TrueBrain> now the main question is, what is best for OpenTTD to do .. 18:41:00 <TrueBrain> anyone experience with DigitalOcean btw? Always a name that flows by, but I never looked into it :D 18:41:22 *** Wacko1976 has joined #openttd 18:41:39 <SpComb> DO is very simple and clean, you get a basic VPS that works without the complexities of AWS 18:41:56 <SpComb> they've expended their services recently to block storage, LBs and DNS as well... no experiences with those 18:42:03 <SpComb> their prices are competive, although not as cheap as hetzner 18:42:11 <SpComb> their ansible/terraform support is decent 18:42:21 <TrueBrain> OpenTTD mostly needs something like k8s, and a CDN 18:43:53 <Samu> if AICargo.GetCargoDistributionType(cargo_id) == AICargo.DT_MANUAL, then all waiting cargo will have STATION_INVALID as next hop. 18:44:00 <Samu> bah, that would only complicate things 18:44:20 <TrueBrain> tnx SpComb; guess I can always drop them an email :) 18:44:24 <Samu> https://noai.openttd.org/api/trunk/classAIStation.html#26afd9c612e1e1b1bb33c5896fa76feb 18:44:30 <Samu> talking about that Note 18:44:46 <Samu> it would be nice if it could return 0 18:45:17 <Samu> that way I can sum "via anystation" with "via the station I want" 18:48:48 <Samu> local cargo_waiting_via_other_station = AICargo.GetCargoDistributionType(this.cargoId) == AICargo.DT_MANUAL ? 0 : AIStation.GetCargoWaitingVia(i, other_station, this.cargoId); 18:48:52 <Samu> should do 18:50:57 <Samu> local cargo_waiting_via_any_station = AIStation.GetCargoWaitingVia(i, AIStation.STATION_INVALID, this.cargoId); 18:51:27 <Samu> if (cargo_waiting_via_other_station + cargo_waiting_via_any_station < engine_capacity) continue; 18:55:22 *** sla_ro|master has quit IRC 18:58:45 *** Wacko1976_ has joined #openttd 19:00:37 <Samu> GetCargoDistributionType does not exist 19:00:47 <Samu> it's GetDistributionType 19:00:54 *** sla_ro|master has joined #openttd 19:01:07 <Samu> https://noai.openttd.org/api/trunk/classAICargo.html#d8077e1e1ccea2b0a04d403cd8fa536f 19:01:13 <Samu> who can fix documentation? 19:01:41 *** Wacko1976 has quit IRC 19:05:40 <Samu> https://github.com/OpenTTD/OpenTTD/blob/master/src/script/api/script_station.hpp#L111 here 19:08:53 <TrueBrain> so I guess the answer is: you can! 19:09:24 <Samu> I can't, i dont have account there 19:09:26 <glx> the doc is in the source, just submit a PR 19:09:50 <TrueBrain> if only there was a button to create an account ....... 19:10:40 <Samu> I rather not, I'm unfamiliar with that kind of websites 19:10:44 <Samu> worksites 19:11:02 <TrueBrain> so you rather make others do the work; seems unfair :) 19:11:39 <Samu> yes, please 19:18:16 *** KouDy has joined #openttd 19:20:29 <TrueBrain> you say please to 'unfair'. Seems unreasonable 19:25:52 <Samu> there's also STATION_INVALID missing in the enum 19:26:15 *** sla_ro|master has quit IRC 19:45:39 <Samu> just made LuDiAI cargodist aware 19:45:48 <Samu> let's see how does it improve 19:50:59 *** KouDy has quit IRC 19:58:30 <Samu> honestly expected better, but it's not mass selling vehicles anymore, that's a good sign 19:59:29 *** KouDy has joined #openttd 20:00:10 <Samu> well it's mass selling old aged vehicles, so that's ok 20:00:19 <Samu> it's not due to bad profits 20:02:51 <Samu> many greenish links, few red links 20:03:01 *** nielsm has quit IRC 20:03:31 <Samu> I can say the AI is doing good with cargodist 20:03:39 <Samu> really cool 20:08:40 *** KouDy has quit IRC 20:12:10 *** Wacko1976_ has quit IRC 20:33:01 *** sim-al2 has joined #openttd 20:43:08 *** roidal has quit IRC 20:57:30 *** andythenorth has joined #openttd 20:57:39 <andythenorth> 3 mins 20:58:48 <Wolf01> o/ 21:00:36 <andythenorth> TrueBrain: I think we’re hosting on DO in Canada, but I can’t give any useful info :p 21:01:24 <andythenorth> but if you find a decent cloud host with territorial locations in all commonwealth countries & USA & EU, let me know :p 21:02:24 <andythenorth> territorial integrity smacks me a lot, the New Zealand hosting market is not good 21:09:33 *** KouDy has joined #openttd 21:12:13 <andythenorth> also it’s time for bed 21:12:16 *** andythenorth has quit IRC 21:16:31 *** KouDy has quit IRC 21:25:25 <Samu> how do AIs upgrade bridges? 21:25:48 <Samu> they have to demolish it? 21:25:59 <Samu> and rebuild the upgraded version? 21:44:48 <glx> same as human players 21:47:32 <Samu> i guess they can't 21:47:53 <Samu> https://noai.openttd.org/api/trunk/classAIBridge.html 21:49:01 <Samu> AIRoad.BuildRoad(path.GetTile(), par.GetTile() 21:49:06 <Samu> hmm this is 21:49:24 <Samu> returning ERR_ALREADY_BUILT 21:49:28 <Samu> on a bridge tile :( 21:50:34 <Samu> ah, i see 21:50:36 <Samu> why 21:50:57 <Samu> it auto-completes the road 21:51:12 <Samu> that's handy for human players, not quite for the AI 21:53:07 <Samu> how do I make the AI build a road towards a bridge tile without connecting to the bridge? 21:53:28 <Samu> say, tile 1 > 2 > 3 21:53:32 <Samu> 3 is bridge ramp 21:53:43 <Samu> it builds from 1 to 2 21:53:51 <Samu> but it automatically connects 2 to 3 21:54:00 <Samu> i don't want it to auto connect 2 to 3, what can I do? 21:54:36 <Samu> otherwise, I have no means to detect a bridge :( 21:54:50 <Samu> inside the pathfinder array, that is 22:01:58 *** frosch123 has quit IRC 22:07:11 *** Wormnest has quit IRC 22:10:44 *** Progman has quit IRC 22:44:36 *** KouDy has joined #openttd 22:51:46 *** Wolf01 has quit IRC 22:53:30 *** KouDy has quit IRC 23:27:42 <Samu> it got to look 2 tiles ahead 23:27:48 <Samu> to detect a possible bridge