IRC logs for #openttd on OFTC at 2018-08-30
            
00:05:10 *** Wormnest has quit IRC
00:12:13 *** nielsm has quit IRC
00:22:58 *** sim-al2 has joined #openttd
00:39:47 <Samu> GetUnloanBalance
00:39:53 <Samu> is Unloan a word?
00:40:37 <Samu> I want the bank balance without the loan, unloan?
00:40:47 <LordAro> it is not a word
00:40:50 <Samu> :/
00:41:08 <LordAro> but if unloan is meaningful to you, it's fine :p
00:41:31 <Samu> yeah, as long as no one checks the code
00:41:37 <Samu> other than me :p
00:41:55 <Samu> Unloaned sounds better
00:42:17 <LordAro> ^^
00:42:20 *** Progman has quit IRC
00:43:34 <ST2> since when functions needs to be a word?
00:44:03 <Samu> you know what, screw this, I don't need to show costs to ppl
00:44:17 *** Thedarkb-X40 has joined #openttd
00:44:34 <LordAro> Samu: fyi, i believe the correct term is "net worth"
00:44:48 <LordAro> often shortened to "net"
00:44:54 <Samu> i was doing this just to display it in the ai log
00:45:02 <glx> yes I used GetNetBalance
00:45:10 <Samu> thx LordAro
00:45:11 <glx> I'd use*
00:52:42 <Samu> right, so now I made the air component of the AI to manage the loan brilliantly
00:53:03 <Samu> but to do so, I had to break it for the road component :( gotta fix it
00:54:20 <glx> you probably need to make a loan component usable by other components
00:55:37 <Samu> i think i'm moving these to Utils.nut
00:55:55 <Samu> and make both road and air access it
00:56:36 <Samu> i didn't dig the road code enough to find all the parts where it actually spends money
00:57:59 <Samu> my main worry is to calculate an estimation beforehand
01:07:35 *** Flygon has joined #openttd
01:49:42 *** Wolf01 has quit IRC
02:02:26 *** Gustavo6056 has joined #openttd
02:07:29 *** Gustavo6046 has quit IRC
02:07:29 *** Gustavo6056 is now known as Gustavo6046
02:15:11 *** KouDy has joined #openttd
02:22:21 *** KouDy has quit IRC
02:37:43 *** Samu has quit IRC
02:43:09 *** snail_UES_ has joined #openttd
02:46:18 *** KouDy has joined #openttd
03:39:56 *** KouDy has quit IRC
03:54:21 *** KouDy has joined #openttd
04:12:20 *** Mek has quit IRC
04:16:20 *** KouDy has quit IRC
04:21:44 *** Mek has joined #openttd
04:35:17 *** KouDy has joined #openttd
04:38:58 *** glx has quit IRC
04:54:29 *** chomwitt has quit IRC
05:00:15 *** KouDy has quit IRC
05:45:36 *** haudrauf has quit IRC
05:46:35 *** haudrauf has joined #openttd
06:07:01 *** Supercheese has joined #openttd
06:14:34 *** snail_UES_ has quit IRC
06:29:38 *** rocky113844 has quit IRC
06:49:01 *** KouDy has joined #openttd
06:51:26 *** Wacko1976 has joined #openttd
06:56:46 *** KouDy has quit IRC
07:47:30 *** KouDy has joined #openttd
08:08:52 *** Wacko1976 has quit IRC
08:15:20 *** Supercheese has quit IRC
08:48:13 *** sla_ro|master has joined #openttd
10:07:58 *** WWacko1976-work has joined #openttd
10:14:41 *** Alkel_U3 has quit IRC
10:14:47 *** Alkel_U3 has joined #openttd
11:07:23 *** Wolf01 has joined #openttd
11:08:05 <Wolf01> o/
11:12:44 <Wolf01> Mmmh, I applied 2 policies to a district and no achievement :/
11:20:53 *** Samu has joined #openttd
11:47:50 *** sim-al2 is now known as Guest2053
11:47:51 *** sim-al2 has joined #openttd
11:54:02 *** Guest2053 has quit IRC
12:22:31 *** ZirconiumX has joined #openttd
13:54:21 <Samu> problem
13:54:23 <Samu> 1.8.0 1.8.0 is not yet released. The following changes are not set in stone yet.
13:54:28 <Samu> https://noai.openttd.org/api/trunk/ai__changelog_8hpp.html
13:54:39 <Wolf01> Meh
13:56:05 <LordAro> not exactly a problem
13:56:15 <LordAro> just some out of date documentation
13:56:32 <LordAro> that won't have been updated since the move to git
13:57:29 <Wolf01> Eddi|zuHause: what's the mod which allows to set the allowed switch to lanes? I thought I had it but it seems not
14:13:39 <Wolf01> Oh, found it
14:28:01 <Wolf01> It would be cool if it was possible to set the turn right always possible on junctions, without being controlled by traffic lights
15:03:12 <Wolf01> People are dying to live in my city, literally... I can't understand why they die so much, maybe too much noise, but even in the low traffic areas? No pollution, no diseases...
15:04:13 *** snail_UES_ has joined #openttd
15:13:31 *** snail_UES_ has quit IRC
15:20:29 *** rocky113844 has joined #openttd
15:28:46 <Samu> WrightAI.GetEngineOptimalDaysInTransit(engine)[0] is this a thing?
15:28:54 <Samu> local fakedist = WrightAI.GetEngineOptimalRealFakeDist(engine, WrightAI.GetEngineOptimalDaysInTransit(engine)[0]);
15:28:59 <Samu> like that
15:29:04 <Samu> that [0]
15:29:25 <Samu> it returns 3 values at once
15:29:43 <Samu> return [days_in_transit, best_income, best_distance];
15:29:48 <Samu> only want the first value
15:29:53 <LordAro> that's fine
15:30:05 <Samu> cool, ty
15:30:08 <LordAro> might want to break it up into variables though, to make it clearer what's going on
15:34:40 *** Wacko1976 has joined #openttd
15:37:36 <Eddi|zuHause> Wolf01: there is a custom traffic light feature in the traffic manager mod, where you can control the phases
15:37:54 <Wolf01> Yeah, but in manual mode
15:38:33 <Wolf01> Also, how do I make horizontal bridges?
15:39:03 <Eddi|zuHause> it would be nice if you could save that as a template and apply it to more crossings
15:39:10 *** rocky113844 has quit IRC
15:39:33 *** rocky113844 has joined #openttd
15:40:13 <Eddi|zuHause> Wolf01: i've not quite figured that out
15:41:32 <Eddi|zuHause> Wolf01: i think i've seen a "more road construction options" mod, but i have not tried that
15:44:06 <Sacro> Wolf01: pgup/pgdown
15:44:25 <Sacro> alters the road height
15:56:53 *** sim-al2 has quit IRC
16:15:11 <Wolf01> Yeah, but not on bridges over rivers
16:15:25 <Wolf01> Or I have to build bridges piece by piece
16:15:58 <Wolf01> Also... is there a limit to land slots? I need to purchase a slot to connect to the railway... but I can't
16:25:35 <Eddi|zuHause> you get land slots as your city grows, up to a total of 9, but there are mods to unlock more (up to 25) and also one that just unlocks the whole map
16:26:39 <Eddi|zuHause> if you look at the city growth milestones, each time it says "2x2km" you get a new slot
16:39:50 <crem> Do youse git or something else for developemtn? If not, otherwise do you follow gitflow or another layout system of branches.
16:41:17 <LordAro> https://github.com/OpenTTD/OpenTTD
16:42:12 <Eddi|zuHause> https://github.openttd.org
16:42:25 <LordAro> or that
16:42:36 <crem> So a branch per minor release, and then cherrypick for patch releases?
16:42:49 <LordAro> no one's really sure yet
16:43:01 <LordAro> there's not been a release since the move to git
16:43:56 <crem> The canonical way is the "gitflow", but probably it's an overkill.
16:44:38 <LordAro> i wouldn't say there's a single canonical way
16:44:40 <crem> I'm trying to come up with some system for another project, while minimizing number of streams.
16:46:00 <Eddi|zuHause> crem: in the svn days there was a fork right before a 1.x.0(-RC1) release
16:46:50 <crem> Fork for a release? And then only cherrypicks came there, right?
16:46:55 <Eddi|zuHause> yes
16:47:42 <crem> Sounds reasonable!
16:48:25 <Eddi|zuHause> that's probaly fine if you only want to backport bugfixes to the 1.x.y releases, not new features
16:48:38 <crem> Do you have some file like "version.txt" in source tree?
16:49:23 <crem> If yes, I wonder what is the sequence of updating it during RC1 fork.
16:49:46 <Eddi|zuHause> version detection is a bit complicated
16:50:29 <Eddi|zuHause> but generally, after the fork of 1.x.0, in trunk there is a commit "we now head for 1.(x+1)"
16:52:06 *** WWacko1976-work has quit IRC
16:52:33 <Eddi|zuHause> so trunk (now master) is currently considered "1.9.0-alpha", whereas the release branch is "1.8.0"
16:58:04 *** roidal has joined #openttd
17:04:31 *** sla_ro|master has quit IRC
17:08:20 <Wolf01> Eddi|zuHause: is there some limitation with rails? I connected 4 stations and I'm not able to set a route, it doesn't seem that there are disconnected rails
17:14:12 *** Mahjong has quit IRC
17:14:50 <Eddi|zuHause> i don't think there is a limitation
17:15:00 <Eddi|zuHause> got to recheck the rails probably
17:15:02 *** Mahjong has joined #openttd
17:15:47 <Eddi|zuHause> are you sure you're using the rail route tool, and not bus route or something? :p
17:16:02 <Wolf01> Yes, rail tool
17:17:13 <Wolf01> It worked before, i paused to replace a bridge with a tunnel and it doesn't work anymore
17:19:10 <Eddi|zuHause> dunno what you're doing wrong
17:19:21 <Wolf01> Rebuilt the rail, now it works again
17:19:55 <Wolf01> I think it was because I moved it a bit with Move IT!
17:31:41 <Eddi|zuHause> could be you disconnected the rail by doing that incorrectly
17:32:21 <Wolf01> Maybe, I only straightened a bit a piece of track
17:39:19 <Wolf01> BBL, maybe
17:39:25 *** Wolf01 has quit IRC
17:52:51 *** Progman has joined #openttd
18:06:10 *** sla_ro|master has joined #openttd
18:22:36 *** chomwitt has joined #openttd
18:26:04 *** Wacko1976 has quit IRC
18:27:47 *** Flygon has quit IRC
18:40:05 *** Supercheese has joined #openttd
18:50:42 *** HerzogDeXtEr has joined #openttd
18:53:02 *** Wacko1976 has joined #openttd
19:21:52 *** PNDA has joined #openttd
19:23:43 <PNDA> Hey, anyone know how I can deselect any Dependency on BaNaNaS for my GRF?
19:30:32 *** chomwitt has quit IRC
19:47:18 *** frosch123 has joined #openttd
20:06:24 *** tokai|noir has joined #openttd
20:06:24 *** ChanServ sets mode: +v tokai|noir
20:13:17 *** tokai has quit IRC
20:22:45 *** Wacko1976 has quit IRC
20:54:43 *** glx has joined #openttd
20:54:43 *** ChanServ sets mode: +v glx
21:05:40 *** roidal has quit IRC
21:14:55 *** PNDA has quit IRC
21:29:44 *** chomwitt has joined #openttd
21:30:14 *** sim-al2 has joined #openttd
21:48:14 *** sim-al2 has quit IRC
21:48:21 *** hph^ has joined #openttd
22:15:20 *** Wacko1976 has joined #openttd
22:30:34 *** Stimrol has joined #openttd
22:35:42 *** Arveen has joined #openttd
22:40:20 *** Arveen2 has quit IRC
23:11:50 <Samu> how do i check if a road has exactly only 1 piece?
23:12:10 <Samu> IsRoadTile doesn't help :(
23:12:22 *** GroovyNoodle has joined #openttd
23:13:12 *** sla_ro|master has quit IRC
23:22:55 *** Progman has quit IRC
23:44:26 *** HerzogDeXtEr has quit IRC
23:45:05 *** Wacko1976 has quit IRC
23:54:26 *** sim-al2 has joined #openttd