IRC logs for #openttd on OFTC at 2018-08-31
⏴ go to previous day
00:31:08 *** Laedek_ has joined #openttd
01:27:14 *** snail_UES_ has joined #openttd
02:32:19 *** Supercheese has joined #openttd
03:27:56 *** WWacko1976-work has joined #openttd
04:28:29 *** Supercheese has joined #openttd
04:50:37 *** Supercheese has joined #openttd
05:47:25 *** haudrauf has joined #openttd
05:54:40 *** rocky113844 has joined #openttd
05:54:57 *** Extrems has joined #openttd
06:14:18 *** rocky1138 has joined #openttd
07:04:15 *** sim-al2 is now known as Guest2123
07:04:15 *** sim-al2 has joined #openttd
07:14:58 *** Mahjong1 has joined #openttd
07:20:48 *** greeter has joined #openttd
07:37:47 *** snail_UES_ has joined #openttd
08:40:52 *** sla_ro|master has joined #openttd
09:20:45 *** Supercheese has joined #openttd
12:11:53 <Wolf01> I have Simutrans on steam :P
12:16:05 *** Wacko1976 has joined #openttd
12:16:05 <Wolf01> Time to see if I can reduce road traffic some more... already low traffic on a 120k inhabitants city :P
12:17:49 <Sacro> I have too many mods to get that big a city easily
12:18:14 <Wolf01> I only use road anarchy, traffic manager and move it!
12:24:05 <peter1138> I have it but have never played it.
12:24:14 <peter1138> Stupid Steam sales :/
12: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?
12:40:44 <Wolf01> Ok, I think I should disallow to switch lanes on the part under the chirper, that's where things are strange
12:44:27 <Samu> why isn't the pathfinder failing?
12:46:12 <Sacro> Wolf01: oh man, I have realistic building capacitices, some mods for public transport, better daylenth with realistiic traffic patterns
12:46:45 <Samu> the pathfinder should be trying to connect from the station tile to the center of town and fail
12:46:49 <Samu> but it didn't fail, why!
12:49:42 <Samu> the pathfinder code is a library, i don't feel like editing it :(
12:54:04 <Samu> import("pathfinder.road", "RoadPathFinder", 3);
12:54:25 <Samu> there's a new version, what happens if I change to version 4?
12:56:57 *** wodencafe has joined #openttd
12:57:40 *** wodencafe has joined #openttd
13:10:08 <Samu> nop, does the same thing
13:17:56 <Samu> i must be failing somewhere :(
13:18:17 <Samu> or the pathfinder is? unlikely
13:33:14 <Samu> the bug is not on the pathfinder
13:33:36 <Samu> apparently path == false isn't happening
13:33:56 <Samu> but the pathfinder returns no tiles at all
13: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.
13:35:54 <Samu> LuDiAI isn't dealing with null at all
13:37:18 <Samu> if (path == false || path == null) {
14:44:06 <peter1138> Maybe I should play it.
14:44:17 <peter1138> Samu, yeah, generally null is not false.
14:44:24 <peter1138> 12:17 < Samu> i must be failing somewhere :(
14:44:34 <peter1138> At least that was correct.
14:45:47 <Samu> it was how LuDiAI had it
14:57:45 *** snail_UES_ has joined #openttd
16:08:51 *** sla_ro|master has joined #openttd
16:30:16 *** frosch123 has joined #openttd
16:56:23 *** Maraxus has joined #openttd
17:00:08 *** chomwitt has joined #openttd
17:34:16 *** WWacko1976-work has quit IRC
17:42:58 <Samu> arff, the more I fix issues, the more I get
17:43:30 *** gelignite has joined #openttd
17:57:31 *** Progman has joined #openttd
18:14:08 *** HerzogDeXtEr has joined #openttd
18:16:02 <acklen> stepping on a bug just means you have to clean your shoe
18:23:31 <Samu> I just realized something
18:23:48 <Samu> LuDiAI could make a great cargodistAI
18:24:02 <Samu> it joins airports with bus stations
18:24:21 <Samu> and it connects almost everytown
18:24:49 <Samu> almost everything is linked one way or another
18:25:20 <Samu> gotta take a look how it behaves with cargodist, brb
18:47:59 *** Supercheese has joined #openttd
19:42:29 *** Wormnest has joined #openttd
20:06:50 *** ChanServ sets mode: +v tokai
20:18:32 <Samu> AIStation::GetCargoWaitingVia gonna try use this function for the first time :p
20: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
20:18:41 <TrueBrain> to setup k8s myself ..... UGH :P Your tooling is still Ubuntu only, I guess? :P
20:25:41 <SpComb> TrueBrain: pity, but I suppose they do need to make money eventually
20:25:59 <TrueBrain> yeah ... they could have told me 6 weeks ago :P
20:26:27 <TrueBrain> at least they responded .. AWS never did :P
20:26:30 <SpComb> and yes, I haven't really heard of any widespread interest or plans for Debian support
20: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)
20:28:13 <TrueBrain> (which possibly makes me the weird one :D)
20:29:54 <TrueBrain> now the main question is, what is best for OpenTTD to do ..
20:41:00 <TrueBrain> anyone experience with DigitalOcean btw? Always a name that flows by, but I never looked into it :D
20:41:22 *** Wacko1976 has joined #openttd
20:41:39 <SpComb> DO is very simple and clean, you get a basic VPS that works without the complexities of AWS
20:41:56 <SpComb> they've expended their services recently to block storage, LBs and DNS as well... no experiences with those
20:42:03 <SpComb> their prices are competive, although not as cheap as hetzner
20:42:11 <SpComb> their ansible/terraform support is decent
20:42:21 <TrueBrain> OpenTTD mostly needs something like k8s, and a CDN
20:43:54 <Samu> if AICargo.GetCargoDistributionType(cargo_id) == AICargo.DT_MANUAL, then all waiting cargo will have STATION_INVALID as next hop.
20:44:00 <Samu> bah, that would only complicate things
20:44:20 <TrueBrain> tnx SpComb; guess I can always drop them an email :)
20:44:46 <Samu> it would be nice if it could return 0
20:45:17 <Samu> that way I can sum "via anystation" with "via the station I want"
20:48:48 <Samu> local cargo_waiting_via_other_station = AICargo.GetCargoDistributionType(this.cargoId) == AICargo.DT_MANUAL ? 0 : AIStation.GetCargoWaitingVia(i, other_station, this.cargoId);
20:50:57 <Samu> local cargo_waiting_via_any_station = AIStation.GetCargoWaitingVia(i, AIStation.STATION_INVALID, this.cargoId);
20:51:27 <Samu> if (cargo_waiting_via_other_station + cargo_waiting_via_any_station < engine_capacity) continue;
20:58:45 *** Wacko1976_ has joined #openttd
21:00:37 <Samu> GetCargoDistributionType does not exist
21:00:47 <Samu> it's GetDistributionType
21:00:54 *** sla_ro|master has joined #openttd
21:01:13 <Samu> who can fix documentation?
21:08:53 <TrueBrain> so I guess the answer is: you can!
21:09:24 <Samu> I can't, i dont have account there
21:09:26 <glx> the doc is in the source, just submit a PR
21:09:50 <TrueBrain> if only there was a button to create an account .......
21:10:40 <Samu> I rather not, I'm unfamiliar with that kind of websites
21:11:02 <TrueBrain> so you rather make others do the work; seems unfair :)
21:20:29 <TrueBrain> you say please to 'unfair'. Seems unreasonable
21:25:52 <Samu> there's also STATION_INVALID missing in the enum
21:45:39 <Samu> just made LuDiAI cargodist aware
21:45:48 <Samu> let's see how does it improve
21:58:30 <Samu> honestly expected better, but it's not mass selling vehicles anymore, that's a good sign
22:00:10 <Samu> well it's mass selling old aged vehicles, so that's ok
22:00:19 <Samu> it's not due to bad profits
22:02:51 <Samu> many greenish links, few red links
22:03:31 <Samu> I can say the AI is doing good with cargodist
22:33:01 *** sim-al2 has joined #openttd
22:57:30 *** andythenorth has joined #openttd
23:00:36 <andythenorth> TrueBrain: I think we’re hosting on DO in Canada, but I can’t give any useful info :p
23:01:24 <andythenorth> but if you find a decent cloud host with territorial locations in all commonwealth countries & USA & EU, let me know :p
23:02:24 <andythenorth> territorial integrity smacks me a lot, the New Zealand hosting market is not good
23:12:13 <andythenorth> also it’s time for bed
23:25:25 <Samu> how do AIs upgrade bridges?
23:25:48 <Samu> they have to demolish it?
23:25:59 <Samu> and rebuild the upgraded version?
23:49:01 <Samu> AIRoad.BuildRoad(path.GetTile(), par.GetTile()
23:49:24 <Samu> returning ERR_ALREADY_BUILT
23:50:57 <Samu> it auto-completes the road
23:51:12 <Samu> that's handy for human players, not quite for the AI
23:53:07 <Samu> how do I make the AI build a road towards a bridge tile without connecting to the bridge?
23:53:51 <Samu> but it automatically connects 2 to 3
23:54:00 <Samu> i don't want it to auto connect 2 to 3, what can I do?
23:54:36 <Samu> otherwise, I have no means to detect a bridge :(
23:54:50 <Samu> inside the pathfinder array, that is
continue to next day ⏵