Times are UTC Toggle Colours
01:30:18 *** Zuu has quit IRC 01:42:55 *** MinchinWeb has joined #openttdcoop.devzone 01:44:47 <MinchinWeb> I'm trying to get AIIndustry.GetIndustryID() to work 01:45:34 <MinchinWeb> AIIndustry.GetIndustryID( AIIndustry.GetLocation(Location) ) seems to fail for Oil Rigs 01:47:11 <MinchinWeb> suggestions? 01:52:39 <Yexo> AIIndustry.GetLocation takes an IndustryID as argument 01:52:56 <Yexo> so either you already have that, or you shouldn't call GetLocation 01:53:18 <Yexo> if Location is a TileIndex instead, you should do AIIndustry.GetIndustryID(Location) 01:53:39 <Yexo> if that fails: how did you obtain the tile? 01:54:10 <Yexo> AIIndustry.GetLocation returns the north tile of the industry, that tile is not necessary part of the industry 02:04:53 <MinchinWeb> so can you build a loop that goes from IndustryID -> TileIndex -> IndustryID ? 02:06:03 *** Lakie has quit IRC 02:06:43 <MinchinWeb> and it always fails on Oil Rigs, which are square... 02:20:23 <MinchinWeb> Is it possible, as a minimum, to update the documentation of AIIndustry::GetLocation ? 03:33:44 *** MinchinWeb has quit IRC 03:50:33 *** MinchinWeb has joined #openttdcoop.devzone 05:27:24 <Brot6> Central European Train Set - Revision 456:41fb253365c3: add bavarian enginges (Eddi) @ http://dev.openttdcoop.org/projects/cets/repository/revisions/41fb253365c3 05:27:24 <Brot6> Central European Train Set - Revision 457:e39bef4943e3: graphics for early 4-axle express wagon (Eddi) @ http://dev.openttdcoop.org/projects/cets/repository/revisions/e39bef4943e3 05:27:24 <Brot6> Central European Train Set - Revision 458:bcd840a6c55b: add graphics for wood wagon (Verbandsbauart) (Eddi) @ http://dev.openttdcoop.org/projects/cets/repository/revisions/bcd840a6c55b 05:48:27 <Brot6> cets: update from r450 to r458 done (398 warnings) - http://bundles.openttdcoop.org/cets/push/r458 06:23:43 *** JVassie has joined #openttdcoop.devzone 06:52:18 *** KenjiE20 has quit IRC 07:23:24 *** JVassie has quit IRC 07:46:38 *** MinchinWeb has quit IRC 11:53:22 <Ammler> who is Verbandsbauart? 13:25:11 *** frosch123 has joined #openttdcoop.devzone 14:04:51 *** Brot6 has quit IRC 14:05:03 *** Brot6_ has joined #openttdcoop.devzone 14:05:52 *** Brot6_ is now known as Brot6 14:07:07 *** Brot6 has joined #openttdcoop.devzone 14:20:40 <Ammler> system update ^ 15:14:53 <Brot6> Central European Train Set - Revision 459:f847b31e9e06: fill in 'obsoleted by' values for Ep I+II (Eddi) @ http://dev.openttdcoop.org/projects/cets/repository/revisions/f847b31e9e06 15:28:19 <Brot6> cets: update from r458 to r459 done (397 warnings) - http://bundles.openttdcoop.org/cets/push/r459 16:16:44 <Brot6> DACH Trains - Feature #3414: New Vehicles (Yoshi) @ http://dev.openttdcoop.org/issues/3414#change-9041 16:23:48 <Brot6> Central European Train Set - Revision 460:2a62b001d87e: fill in 'obsoleted by' values for Ep III-V (Eddi) @ http://dev.openttdcoop.org/projects/cets/repository/revisions/2a62b001d87e 16:36:14 <Brot6> cets: update from r459 to r460 done (396 warnings) - http://bundles.openttdcoop.org/cets/push/r460 16:48:13 *** welshdragon has joined #openttdcoop.devzone 16:54:08 <Brot6> Central European Train Set - Revision 461:2ace9180cd05: fix an offset issue with the -> view slic... (Eddi) @ http://dev.openttdcoop.org/projects/cets/repository/revisions/2ace9180cd05 17:07:35 <Brot6> cets: update from r460 to r461 done (396 warnings) - http://bundles.openttdcoop.org/cets/push/r461 17:23:26 *** Zuu has joined #openttdcoop.devzone 17:25:06 *** KenjiE20 has joined #openttdcoop.devzone 17:31:46 <Brot6> firs: update from r2699 to r2700 done (8 warnings) - http://bundles.openttdcoop.org/firs/nightlies/r2700 17:33:07 <Brot6> bandit: update from r50 to r52 done - http://bundles.openttdcoop.org/bandit/nightlies/r52 17:45:58 <Brot6> cets: update from r450 to r461 done (396 warnings) - http://bundles.openttdcoop.org/cets/nightlies/r461 17:46:07 *** welshdragon has quit IRC 17:49:30 *** welshdragon has joined #openttdcoop.devzone 18:27:35 *** MinchinWeb has joined #openttdcoop.devzone 19:09:41 *** JVassie has joined #openttdcoop.devzone 19:20:40 *** ODM has joined #openttdcoop.devzone 19:34:06 <MinchinWeb> How do you get a list of the cargos a station accepts? 19:34:48 <welshdragon> click the station name 19:35:18 <frosch123> AICargoList_StationAccepting 19:36:21 <MinchinWeb> thanks 19:36:41 <MinchinWeb> I'm writing an AI so I'll have to use frosch123's method 19:36:58 <MinchinWeb> is there a valuator to use on an existing list though? 19:38:11 <frosch123> you only use valuators on existing lists, don't you? 19:38:31 <MinchinWeb> I guess what I really want is to know which of a list of stations accepts a certain cargo 19:39:18 <MinchinWeb> yeah, valuators are for existing lists... 19:39:23 <frosch123> that will likely need your own valuator function 19:39:40 <frosch123> construct an AICargoList_StationAccepting inside it, and test the membership 19:45:05 <MinchinWeb> ok, I'll do it the complicated way ;) 19:45:10 <MinchinWeb> thanks for the help 20:14:17 *** andythenorth has joined #openttdcoop.devzone 20:38:14 <Brot6> DACH Trains - Feature #3414: New Vehicles (Yoshi) @ http://dev.openttdcoop.org/issues/3414#change-9042 21:16:35 <Brot6> GRFCodec - Revision 855:e98321edc652: -Add: Support for railtype property 1D (michi_cc) @ http://dev.openttdcoop.org/projects/grfcodec/repository/revisions/e98321edc652 21:22:00 *** andythenorth has quit IRC 21:24:50 <Brot6> GRFCodec - Revision 856:2542f3443352: -Fix (r757): make comment less wrong (Rubidium) @ http://dev.openttdcoop.org/projects/grfcodec/repository/revisions/2542f3443352 21:28:49 *** welshdragon has quit IRC 21:30:41 *** welshdragon has joined #openttdcoop.devzone 21:45:31 *** welshdragon has quit IRC 21:46:26 *** welshdragon has joined #openttdcoop.devzone 21:46:36 *** welshdragon has quit IRC 21:47:40 *** welshdragon has joined #openttdcoop.devzone 21:52:51 *** andythenorth has joined #openttdcoop.devzone 21:59:05 *** andythenorth has quit IRC 23:08:51 *** ODM has quit IRC 23:34:46 *** frosch123 has quit IRC 23:40:38 *** JVassie has quit IRC 23:44:32 <MinchinWeb> Is there a way to find out where the dock of a station is located?