IRC logs for #openttd on OFTC at 2018-08-29
            
00:10:29 *** Thedarkb-T60 has quit IRC
00:14:34 *** rocky113844 has quit IRC
00:16:56 *** TrueBrain has joined #openttd
00:17:14 *** Wormnest has quit IRC
00:24:25 *** frosch123 has quit IRC
00:27:56 *** Stimrol has quit IRC
00:50:46 *** rocky113844 has joined #openttd
01:56:31 *** Wolf01 has quit IRC
01:59:16 *** Samu has quit IRC
02:08:31 *** KouDy has joined #openttd
02:30:45 *** chomwitt has joined #openttd
03:01:20 *** haudrauf has quit IRC
03:02:54 *** haudrauf has joined #openttd
03:25:07 *** snail_UES_ has joined #openttd
03:32:12 *** glx has quit IRC
03:37:29 *** sim-al2 has joined #openttd
03:39:45 *** Thedarkb-X40 has quit IRC
03:47:45 *** KouDy has quit IRC
03:56:18 *** jfs is now known as nielsm
04:01:40 *** cboyd_ has joined #openttd
04:08:18 *** wodencafe has quit IRC
04:14:02 *** ToBeFree has joined #openttd
04:16:30 *** Heili has joined #openttd
04:17:23 *** Heiki has quit IRC
04:17:23 *** Heili is now known as Heiki
04:26:39 *** chomwitt has quit IRC
04:34:07 *** wodencafe has joined #openttd
04:38:23 *** cboyd_ has quit IRC
04:40:27 *** Flygon has joined #openttd
04:49:07 *** KouDy has joined #openttd
04:58:45 *** KouDy has quit IRC
05:38:49 *** snail_UES_ has quit IRC
05:46:29 *** haudrauf has quit IRC
05:47:59 *** haudrauf has joined #openttd
06:22:29 *** Mazur has quit IRC
06:31:29 *** Mazur has joined #openttd
06:52:15 *** Wacko1976 has joined #openttd
07:28:52 *** Wacko1976 has quit IRC
07:54:54 *** rocky113844 has quit IRC
08:08:27 *** KouDy has joined #openttd
08:11:26 *** KouDy has quit IRC
08:21:53 *** Extrems has quit IRC
08:24:52 *** Extrems has joined #openttd
08:55:53 *** Gja has joined #openttd
09:07:29 *** KouDy has joined #openttd
09:20:21 *** Gja has quit IRC
10:35:57 *** Gustavo6046 has quit IRC
10:36:09 *** Gustavo6046 has joined #openttd
11:14:49 *** Gja has joined #openttd
11:32:45 *** Laedek has joined #openttd
11:37:20 *** ZirconiumX has joined #openttd
11:38:25 *** chomwitt has joined #openttd
11:42:15 *** Samu has joined #openttd
11:42:26 <Samu> hi
11:44:34 *** Gja has quit IRC
11:46:10 *** Wolf01 has joined #openttd
11:46:51 <Wolf01> Moin
13:04:08 <Samu> question
13:05:08 <Samu> when I use AITile::GetCargoProduction I always get the result = -1
13:05:12 <Samu> why's that?
13:05:36 <Samu> I was hoping to store the result in a variable
13:17:33 *** guru3 has joined #openttd
13:27:30 *** mikegrb has quit IRC
13:27:30 *** lethosor has quit IRC
13:27:30 *** Tharbakim has quit IRC
13:27:31 *** ST2 has quit IRC
13:27:43 *** mikegrb has joined #openttd
13:28:04 *** ST2 has joined #openttd
13:28:20 *** Tharbakim has joined #openttd
13:28:26 *** lethosor has joined #openttd
13:28:37 *** ST2 has quit IRC
13:28:52 *** ed-209 has joined #openttd
13:29:10 *** ST2 has joined #openttd
14:14:52 <Samu> AIVehicle::GetRefitCapacity exists, but AIEngine::GetRefitCapacity does not :( why's that
14:16:26 <peter1138> Because the refit capacity depends on a vehicle, not an engine.
14:16:57 <Samu> even for aircraft? :(
14:43:33 *** sim-al2 has quit IRC
14:43:34 <Samu> t.t
14:56:23 *** snail_UES_ has joined #openttd
15:02:07 *** Wacko1976 has joined #openttd
15:12:42 *** snail_UES_ has quit IRC
15:37:19 *** KouDy has quit IRC
15:38:07 *** Gja has joined #openttd
15:46:56 *** Wacko1976 has quit IRC
15:59:54 *** HerzogDeXtEr has joined #openttd
16:06:17 *** KouDy has joined #openttd
16:09:46 *** sla_ro|master has joined #openttd
16:11:54 *** wodencafe has quit IRC
16:15:54 *** xavia has joined #openttd
16:27:43 *** Gja has quit IRC
16:34:00 *** wodencafe has joined #openttd
16:34:36 *** Wacko1976 has joined #openttd
16:37:34 *** Thedarkb-X40 has joined #openttd
17:06:37 *** Wormnest has joined #openttd
17:09:23 <Samu> when I use AITile::GetCargoProduction I always get the result = -1
17:09:47 <Samu> how do I retrieve the cargo production of tiles into a variable?
17:10:07 <Samu> must know it in advance to plan the number of aircraft for a route
17:15:17 *** Wacko1976 has quit IRC
17:18:24 *** Wacko1976 has joined #openttd
17:18:52 *** andythenorth has joined #openttd
17:18:58 *** rocky113844 has joined #openttd
17:19:12 <andythenorth> o/
17:19:19 <andythenorth> is cat?
17:21:48 <andythenorth> probs not then
17:24:17 *** KouDy has quit IRC
17:24:24 *** andythenorth has quit IRC
17:33:02 *** KouDy has joined #openttd
17:37:18 *** xavia has quit IRC
17:53:09 <Eddi|zuHause> a propos cat... haven't seen one today yet
17:54:06 <Samu> Wormnest: hi, how do you get the cargoproduction of a tile into a variable?
17:57:43 *** andythenorth has joined #openttd
17:58:59 *** Gja has joined #openttd
18:00:06 *** andythenorth has quit IRC
18:04:37 <Eddi|zuHause> problem solved
18:08:13 *** Progman has joined #openttd
18:18:57 *** Flygon has quit IRC
18:28:44 *** Gja has quit IRC
18:50:22 *** chomwitt has quit IRC
19:10:40 *** frosch123 has joined #openttd
19:23:43 <Samu> local min_dist = min_order_dist > max_dist * 3 / 4 ? max_dist * 3 / 4 > AIMap.GetMapSize() / 8 ? AIMap.GetMapSize() / 8 : max_dist * 3 / 4 : min_order_dist;
19:24:13 <Samu> this should allow the ai to build aircraft on tiny maps
19:25:37 <Samu> or maybe not :(
19:26:18 <Wormnest> Samu: idk haven´t looked at my ai´s in a long time, just look yourself ;)
19:26:57 <Samu> ahmmm :( ok
19:27:07 <Samu> i got trouble now with tiny maps
19:27:20 <Samu> funny, i had trouble with large maps before
19:28:44 *** Thedarkb-X40 has quit IRC
19:36:23 *** Gja has joined #openttd
19:38:32 <Samu> alright, distances have been dealt with, I'm kinda proud :p
19:39:10 <Samu> from tiny to 4k, the ai should be able to make aircraft, given enough conditions
19:39:14 <Samu> profit
19:39:17 <Samu> that is
19:42:52 <Samu> oh, the loan manager
19:43:04 <Samu> damn, didn't touch that piece of code at all, i guess it needs some tweaks
19:47:44 <Samu> in test mode, if I don't have enough money for the airport but it can be placed in that location, does it still return true?
19:49:33 *** glx has joined #openttd
19:49:33 *** ChanServ sets mode: +v glx
19:55:15 *** Mek has quit IRC
19:57:10 *** Mek has joined #openttd
19:59:46 *** roidal has joined #openttd
20:02:14 *** roidal has quit IRC
20:06:22 *** tokai has joined #openttd
20:06:22 *** ChanServ sets mode: +v tokai
20:13:10 *** tokai|noir has quit IRC
20:17:32 *** chomwitt has joined #openttd
20:45:15 <Samu> why is loan so hard to work with
20:53:05 <Samu> why is setminimumloanamount a stupid bool?
20:55:12 <Samu> nevermind, I did it
20:55:20 <Samu> it's just weird that it is a bool
20:56:51 *** HerzogDeXtEr has quit IRC
21:05:06 *** Thedarkb-T60 has joined #openttd
21:23:36 *** Gja has quit IRC
21:58:18 *** sla_ro|master has quit IRC
22:17:56 *** Thedarkb-T60 has quit IRC
22:45:01 *** KouDy has quit IRC
23:01:15 *** Wacko1976 has quit IRC
23:46:55 *** frosch123 has quit IRC
23:56:09 *** ZirconiumX has quit IRC