Times are UTC Toggle Colours
00:08:31 *** KouDy has joined #openttd 00:30:45 *** chomwitt has joined #openttd 01:01:20 *** haudrauf has quit IRC 01:02:54 *** haudrauf has joined #openttd 01:25:07 *** snail_UES_ has joined #openttd 01:32:12 *** glx has quit IRC 01:37:29 *** sim-al2 has joined #openttd 01:39:45 *** Thedarkb-X40 has quit IRC 01:47:45 *** KouDy has quit IRC 01:56:18 *** jfs is now known as nielsm 02:01:40 *** cboyd_ has joined #openttd 02:08:18 *** wodencafe has quit IRC 02:14:02 *** ToBeFree has joined #openttd 02:15:36 *** ToBeFree has quit IRC 02:16:30 *** Heili has joined #openttd 02:17:23 *** Heiki has quit IRC 02:17:23 *** Heili is now known as Heiki 02:26:39 *** chomwitt has quit IRC 02:34:07 *** wodencafe has joined #openttd 02:38:23 *** cboyd_ has quit IRC 02:40:27 *** Flygon has joined #openttd 02:49:07 *** KouDy has joined #openttd 02:58:45 *** KouDy has quit IRC 03:38:49 *** snail_UES_ has quit IRC 03:46:29 *** haudrauf has quit IRC 03:47:59 *** haudrauf has joined #openttd 04:22:29 *** Mazur has quit IRC 04:31:29 *** Mazur has joined #openttd 04:52:15 *** Wacko1976 has joined #openttd 05:28:52 *** Wacko1976 has quit IRC 05:54:54 *** rocky113844 has quit IRC 06:08:27 *** KouDy has joined #openttd 06:11:26 *** KouDy has quit IRC 06:21:53 *** Extrems has quit IRC 06:24:52 *** Extrems has joined #openttd 06:55:53 *** Gja has joined #openttd 07:07:29 *** KouDy has joined #openttd 07:20:21 *** Gja has quit IRC 08:35:57 *** Gustavo6046 has quit IRC 08:36:09 *** Gustavo6046 has joined #openttd 09:14:49 *** Gja has joined #openttd 09:32:45 *** Laedek has joined #openttd 09:37:20 *** ZirconiumX has joined #openttd 09:38:25 *** chomwitt has joined #openttd 09:42:15 *** Samu has joined #openttd 09:42:26 <Samu> hi 09:44:34 *** Gja has quit IRC 09:46:10 *** Wolf01 has joined #openttd 09:46:51 <Wolf01> Moin 11:04:08 <Samu> question 11:05:08 <Samu> when I use AITile::GetCargoProduction I always get the result = -1 11:05:12 <Samu> why's that? 11:05:36 <Samu> I was hoping to store the result in a variable 11:17:33 *** guru3 has joined #openttd 11:27:30 *** mikegrb has quit IRC 11:27:30 *** lethosor has quit IRC 11:27:30 *** Tharbakim has quit IRC 11:27:31 *** ST2 has quit IRC 11:27:43 *** mikegrb has joined #openttd 11:28:04 *** ST2 has joined #openttd 11:28:20 *** Tharbakim has joined #openttd 11:28:26 *** lethosor has joined #openttd 11:28:37 *** ST2 has quit IRC 11:28:52 *** ed-209 has joined #openttd 11:29:10 *** ST2 has joined #openttd 12:14:52 <Samu> AIVehicle::GetRefitCapacity exists, but AIEngine::GetRefitCapacity does not :( why's that 12:16:26 <peter1138> Because the refit capacity depends on a vehicle, not an engine. 12:16:57 <Samu> even for aircraft? :( 12:43:33 *** sim-al2 has quit IRC 12:43:34 <Samu> t.t 12:56:23 *** snail_UES_ has joined #openttd 13:02:07 *** Wacko1976 has joined #openttd 13:12:42 *** snail_UES_ has quit IRC 13:37:19 *** KouDy has quit IRC 13:38:07 *** Gja has joined #openttd 13:46:56 *** Wacko1976 has quit IRC 13:59:54 *** HerzogDeXtEr has joined #openttd 14:06:17 *** KouDy has joined #openttd 14:09:46 *** sla_ro|master has joined #openttd 14:11:54 *** wodencafe has quit IRC 14:15:54 *** xavia has joined #openttd 14:27:43 *** Gja has quit IRC 14:34:00 *** wodencafe has joined #openttd 14:34:36 *** Wacko1976 has joined #openttd 14:37:34 *** Thedarkb-X40 has joined #openttd 15:06:37 *** Wormnest has joined #openttd 15:09:23 <Samu> when I use AITile::GetCargoProduction I always get the result = -1 15:09:47 <Samu> how do I retrieve the cargo production of tiles into a variable? 15:10:07 <Samu> must know it in advance to plan the number of aircraft for a route 15:15:17 *** Wacko1976 has quit IRC 15:18:24 *** Wacko1976 has joined #openttd 15:18:52 *** andythenorth has joined #openttd 15:18:58 *** rocky113844 has joined #openttd 15:19:12 <andythenorth> o/ 15:19:19 <andythenorth> is cat? 15:21:48 <andythenorth> probs not then 15:24:17 *** KouDy has quit IRC 15:24:24 *** andythenorth has quit IRC 15:33:02 *** KouDy has joined #openttd 15:37:18 *** xavia has quit IRC 15:53:09 <Eddi|zuHause> a propos cat... haven't seen one today yet 15:54:06 <Samu> Wormnest: hi, how do you get the cargoproduction of a tile into a variable? 15:57:43 *** andythenorth has joined #openttd 15:58:59 *** Gja has joined #openttd 16:00:06 *** andythenorth has quit IRC 16:04:37 <Eddi|zuHause> problem solved 16:08:13 *** Progman has joined #openttd 16:18:57 *** Flygon has quit IRC 16:28:44 *** Gja has quit IRC 16:50:22 *** chomwitt has quit IRC 17:10:40 *** frosch123 has joined #openttd 17: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; 17:24:13 <Samu> this should allow the ai to build aircraft on tiny maps 17:25:37 <Samu> or maybe not :( 17:26:18 <Wormnest> Samu: idk haven´t looked at my ai´s in a long time, just look yourself ;) 17:26:57 <Samu> ahmmm :( ok 17:27:07 <Samu> i got trouble now with tiny maps 17:27:20 <Samu> funny, i had trouble with large maps before 17:28:44 *** Thedarkb-X40 has quit IRC 17:36:23 *** Gja has joined #openttd 17:38:32 <Samu> alright, distances have been dealt with, I'm kinda proud :p 17:39:10 <Samu> from tiny to 4k, the ai should be able to make aircraft, given enough conditions 17:39:14 <Samu> profit 17:39:17 <Samu> that is 17:42:52 <Samu> oh, the loan manager 17:43:04 <Samu> damn, didn't touch that piece of code at all, i guess it needs some tweaks 17: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? 17:49:33 *** glx has joined #openttd 17:49:33 *** ChanServ sets mode: +v glx 17:55:15 *** Mek has quit IRC 17:57:10 *** Mek has joined #openttd 17:59:46 *** roidal has joined #openttd 18:02:14 *** roidal has quit IRC 18:06:22 *** tokai has joined #openttd 18:06:22 *** ChanServ sets mode: +v tokai 18:13:10 *** tokai|noir has quit IRC 18:17:32 *** chomwitt has joined #openttd 18:45:15 <Samu> why is loan so hard to work with 18:53:05 <Samu> why is setminimumloanamount a stupid bool? 18:55:12 <Samu> nevermind, I did it 18:55:20 <Samu> it's just weird that it is a bool 18:56:51 *** HerzogDeXtEr has quit IRC 19:05:06 *** Thedarkb-T60 has joined #openttd 19:23:36 *** Gja has quit IRC 19:58:18 *** sla_ro|master has quit IRC 20:17:56 *** Thedarkb-T60 has quit IRC 20:45:01 *** KouDy has quit IRC 21:01:15 *** Wacko1976 has quit IRC 21:46:55 *** frosch123 has quit IRC 21:56:09 *** ZirconiumX has quit IRC 22:05:10 *** Wormnest has quit IRC 22:12:13 *** nielsm has quit IRC 22:22:58 *** sim-al2 has joined #openttd 22:39:47 <Samu> GetUnloanBalance 22:39:52 <Samu> is Unloan a word? 22:40:37 <Samu> I want the bank balance without the loan, unloan? 22:40:46 <LordAro> it is not a word 22:40:50 <Samu> :/ 22:41:08 <LordAro> but if unloan is meaningful to you, it's fine :p 22:41:31 <Samu> yeah, as long as no one checks the code 22:41:37 <Samu> other than me :p 22:41:55 <Samu> Unloaned sounds better 22:42:17 <LordAro> ^^ 22:42:20 *** Progman has quit IRC 22:43:34 <ST2> since when functions needs to be a word? 22:44:03 <Samu> you know what, screw this, I don't need to show costs to ppl 22:44:17 *** Thedarkb-X40 has joined #openttd 22:44:34 <LordAro> Samu: fyi, i believe the correct term is "net worth" 22:44:48 <LordAro> often shortened to "net" 22:44:54 <Samu> i was doing this just to display it in the ai log 22:45:02 <glx> yes I used GetNetBalance 22:45:10 <Samu> thx LordAro 22:45:11 <glx> I'd use* 22:52:42 <Samu> right, so now I made the air component of the AI to manage the loan brilliantly 22:53:03 <Samu> but to do so, I had to break it for the road component :( gotta fix it 22:54:20 <glx> you probably need to make a loan component usable by other components 22:55:37 <Samu> i think i'm moving these to Utils.nut 22:55:55 <Samu> and make both road and air access it 22:56:36 <Samu> i didn't dig the road code enough to find all the parts where it actually spends money 22:57:59 <Samu> my main worry is to calculate an estimation beforehand 23:07:35 *** Flygon has joined #openttd 23:49:42 *** Wolf01 has quit IRC