IRC logs for #openttd on OFTC at 2016-09-14
            
00:03:17 *** Progman has quit IRC
00:15:30 <Wolf01> 'night
00:15:33 *** Wolf01 has quit IRC
00:49:57 *** Samu has quit IRC
00:51:47 *** tokai has joined #openttd
00:51:47 *** ChanServ sets mode: +v tokai
00:58:37 *** tokai|noir has quit IRC
01:34:17 *** smoke_fumus has joined #openttd
01:52:03 *** HerzogDeXtEr has quit IRC
02:19:44 *** glx has quit IRC
02:22:00 *** Mazur has joined #openttd
03:18:29 *** JezK_ has joined #openttd
03:26:02 *** supermop_ has joined #openttd
03:30:47 *** mindlesstux_ has joined #openttd
03:33:22 *** supermop__ has joined #openttd
03:36:17 *** mindlesstux has quit IRC
03:36:17 *** mindlesstux_ is now known as mindlesstux
03:39:49 *** supermop has quit IRC
03:47:11 *** smoke_fumus has quit IRC
03:50:00 *** Supercheese has joined #openttd
03:54:06 *** Mazur has quit IRC
04:11:53 *** Mazur has joined #openttd
04:31:03 *** Flygon_ has joined #openttd
04:36:49 *** Flygon has quit IRC
04:38:33 *** Mazur has quit IRC
04:49:40 *** supermop_ has quit IRC
05:28:40 *** Xal has joined #openttd
06:10:32 *** Flygon_ has quit IRC
06:11:21 *** Lejving has quit IRC
06:11:42 *** Flygon_ has joined #openttd
07:11:57 *** Mazur has joined #openttd
07:13:47 *** Flygon_ has quit IRC
07:17:20 *** Flygon has joined #openttd
07:33:22 *** sla_ro|master has joined #openttd
08:01:10 *** sim-al2 has quit IRC
08:54:25 *** Gja has quit IRC
09:04:02 *** Xal has quit IRC
09:11:05 *** Mazur has quit IRC
09:27:02 *** JacobD88 has joined #openttd
09:27:35 *** Mazur has joined #openttd
09:30:13 *** Biolunar has joined #openttd
09:30:53 *** Supercheese is now known as Guest335
09:30:58 *** Supercheese has joined #openttd
09:31:13 *** JacobD88 has quit IRC
09:32:44 *** Guest335 has quit IRC
10:02:12 *** Wolf01 has joined #openttd
10:02:32 <Wolf01> o/
10:07:43 *** Progman has joined #openttd
10:08:26 *** JezK_ has quit IRC
10:13:00 *** JacobD88 has joined #openttd
10:15:42 *** Arveen has joined #openttd
10:35:59 *** JacobD88 has quit IRC
10:51:10 *** tokai|noir has joined #openttd
10:51:10 *** ChanServ sets mode: +v tokai|noir
10:58:10 *** tokai has quit IRC
11:25:19 *** JacobD88 has joined #openttd
11:29:40 *** Supercheese has quit IRC
11:33:36 *** JacobD88 has quit IRC
11:49:01 *** keoz has joined #openttd
12:00:05 <argoneus> good morning train friends
12:02:10 *** supermop has joined #openttd
12:07:14 *** supermop__ has quit IRC
12:07:59 *** TheMask96 has quit IRC
12:10:09 *** TheMask96 has joined #openttd
12:56:24 *** Pikka has joined #openttd
13:13:50 *** Samu has joined #openttd
13:16:42 *** Samu_ has joined #openttd
13:21:52 *** Samu has quit IRC
13:24:42 *** Samu_ has quit IRC
13:26:17 *** Pikka has quit IRC
13:31:54 *** Samu has joined #openttd
13:32:06 <Samu> my connection is failing lately
13:32:09 <Samu> t.t
13:40:12 *** Samu has quit IRC
14:03:05 *** ConductorCat has quit IRC
14:05:00 *** Samu has joined #openttd
14:05:04 <Samu> a
14:05:13 <Samu> @logs
14:05:13 <DorpsGek> Samu: https://webster.openttdcoop.org/index.php?channel=openttd
14:06:04 <Samu> querying tile info on a buoy placed on a canal, gets the wrong owner of the buoy
14:06:18 <Samu> bug present in 1.6.1
14:21:34 <Samu> okay, not really a bug, but a workaround due to a limitation
14:21:42 <Samu> but now it can be changed
14:31:31 *** ConductorCat has joined #openttd
14:33:52 *** Samu has quit IRC
14:34:39 *** Samu has joined #openttd
14:37:13 *** Lejving has joined #openttd
14:54:35 *** Gja has joined #openttd
14:55:30 <Samu> what is use of undefined type
14:55:32 <Samu> MakeStation(t, Station::Get(sid)->owner, sid, STATION_BUOY, 0, wc);
14:55:45 <Samu> undefined type 'station
14:55:51 <V453000> Lejving: nice factorio mods :P
14:56:00 <Lejving> thanks
14:56:21 <V453000> next stop openttd newgrfs? :P
14:56:45 <Lejving> one totally fucking op armor, one 4 lines mod, one terrible "epic electric mimning drill" :D
14:57:13 <Lejving> no, next stop is to stop my game from crashing every 10min :D
14:57:36 <V453000> yes XD
14:57:48 <V453000> is it actually crashing?
14:59:04 <Lejving> yeah every 10min
14:59:16 <Lejving> sometimes it works a long time, but sometimes I crash every 10min
14:59:27 <V453000> did you bug report it?
14:59:32 <Lejving> no not yet =/
14:59:43 <V453000> please do, I am sure guys will get on it quickly
15:00:04 <V453000> they are currently trying to fix all the bugs before work on 0.15 fully starts
15:00:16 <Lejving> oh
15:00:18 <Lejving> not factorio
15:00:19 <Lejving> openttd
15:00:29 <Lejving> factorio is fine :D
15:00:37 <V453000> openttd crashes? :d
15:00:40 <Lejving> yes
15:00:41 <V453000> that's also wtf :)
15:00:49 <Lejving> it's an access violation
15:01:13 <V453000> ah recompiling newgrfs makes it crash?
15:01:22 <Lejving> no just regular playing
15:01:29 <V453000> ._.
15:02:08 <Lejving> http://i.imgur.com/hTV0af1.jpg
15:02:12 <Lejving> look my lastest pic of crash
15:02:27 <Lejving> sorry game for trying to place rail!
15:02:49 <V453000> that's pretty weird shit
15:02:59 <V453000> 1.6.1?
15:03:20 <Lejving> yea
15:03:26 <V453000> :d
15:03:47 <Lejving> in crash.log it says exception: c00000005 or what ever which is access violation afaik
15:04:19 <V453000> then don't violate it XD
15:04:30 <Lejving> hahaha
15:04:48 <Lejving> openttd: LEJVING JUST VIOLATED ME
15:05:55 <V453000> pretty much
15:05:57 <V453000> poor thing
15:06:20 <Lejving> :D
15:09:17 *** CompuDesktop has quit IRC
15:09:32 <Lejving> newgrfs are mostly graphics though V453000 isn't it
15:09:40 <Lejving> and I'm not much of a graphics guy =/
15:09:53 <V453000> eh not really
15:10:06 <V453000> there is a fuckload of possibilities to do
15:10:16 <Lejving> there is?
15:10:22 <V453000> but yeah graphics are vital, but you can borrow them from other open source projects :P
15:10:34 <Lejving> is the ui modular?
15:10:35 <V453000> I mean possibilities to do with code only
15:10:51 <V453000> don't think newgrfs or game scripts can touch UI
15:13:28 <Lejving> well I had this one idea that every player should start with one railyard
15:13:34 <Lejving> or trainyard rather*
15:13:42 <Lejving> and they have to build out of that and spawn trains only there
15:13:59 <Lejving> to force one big rail network instead of many isolated ones
15:14:29 <Lejving> that should be possible I guess
15:14:48 *** Compu has joined #openttd
15:15:17 <V453000> I wonder how, no clue :)
15:15:58 <Lejving> I'll have to dig into it later, first figure out how to not make the game crash all the time :
15:15:59 <Lejving> D
15:18:05 *** Samu_ has joined #openttd
15:18:57 <Samu_> lag?
15:20:12 *** Samu has quit IRC
15:27:02 *** Samu_ has quit IRC
15:28:27 *** Samu has joined #openttd
15:36:32 *** Samu has quit IRC
15:54:56 *** TheMask96 has quit IRC
16:00:26 *** TheMask96 has joined #openttd
16:07:15 *** Flygon has quit IRC
16:08:04 *** Samu has joined #openttd
16:21:01 *** Flygon has joined #openttd
16:24:17 *** Samu has quit IRC
16:40:21 *** zwamkat has quit IRC
16:41:58 *** Samu has joined #openttd
16:42:21 <Samu> buoys can have OWNER_WATER at the moment
16:43:05 <Samu> complicated case this is, with the buoy
16:44:20 <Samu> when doing savegame conversion, buoys cannot have OWNER_WATER at canals, i'm chaning their owner to OWNER_NONE
16:44:45 *** zwamkat has joined #openttd
16:44:45 <Samu> canals on the other hand, cannot have OWNER_WATER
16:44:55 <Samu> confusing
16:56:21 *** Alberth has joined #openttd
16:56:21 *** ChanServ sets mode: +o Alberth
16:56:28 <Alberth> o/
16:58:06 *** Samu_ has joined #openttd
16:58:36 <Samu_> test
16:58:47 <peter1138> no
16:59:10 <Samu_> i got a small problem with buoy
16:59:34 <Samu_> on the minimap, owner of buoy will be none now
16:59:54 <Samu_> previously it was the owner of the water at the tile
17:00:17 <Samu_> if it was a canal, the buoy on minimal would show up with the company
17:00:25 <Samu_> on minimap*
17:01:07 *** Samu has quit IRC
17:01:19 <Samu_> buoy owner now takes precedence no matter who's the owner of the canal
17:01:28 <Samu_> it won't show on minimap
17:01:39 <Samu_> owner is none
17:09:42 *** Samu_ has quit IRC
17:19:41 *** Samu has joined #openttd
17:19:56 <Samu> darn internet issues
17:20:54 <Samu> what's a better owner for buoys?
17:20:59 <Samu> water or none?
17:21:40 <Samu> station stores OWNER_NONE, tile stores OWNER_WATER
17:21:42 <Samu> who's right?
17:22:57 <Samu> i'm inclined to make the tile store the same as the station
17:24:14 <Samu> if (IsBuoyTile(t) && GetWaterClass(t) != WATER_CLASS_CANAL && GetTileOwner(t) == OWNER_WATER) { SetTileOwner(t, OWNER_NONE); }
17:26:09 <Alberth> who can remove a buoy?
17:26:34 <Samu> everyone, as long as no ship uses it
17:27:57 <Samu> let me check remove buoy code
17:28:53 <Samu> /* XXX: strange stuff, allow clearing as invalid company when clearing landscape */
17:29:11 <Alberth> lol
17:29:26 <Samu> if (!Company::IsValidID(_current_company) && !(flags & DC_BANKRUPT)) return_cmd_error(INVALID_STRING_ID);
17:29:30 <peter1138> Buoys don't have owners
17:31:42 <Samu> technically, they have
17:31:54 <NGC3982> What kind of language is that?
17:32:05 <Samu> wp->owner = OWNER_NONE;
17:32:05 <Alberth> techie talk :)
17:32:13 <Samu> wp is waypoint station
17:33:43 <Alberth> but that explains why the minimap shows the canal owner
17:34:01 <Alberth> at least in trunk
17:34:10 <Samu> MakeStation(t, GetTileOwner(t),, sid, STATION_BUOY, 0, wc);
17:34:15 <Samu> let me check
17:36:18 <Samu> minimap needs to change a little bit
17:36:23 <Samu> minimap code
17:36:51 <Samu> won't have it use GetTileOwner on buoys
17:36:55 <Samu> but GetCanalOwner
17:37:20 <Samu> is this possible? where is minimap code
17:38:03 <peter1138> smallmap?
17:43:19 <Samu> GetSmallMapOwnerPixels ?
17:43:34 <Samu> there is a FIXME notice here
17:46:41 <Alberth> we have 12 such lines
17:49:09 <Sacro> Anyone here play BRSet, I'm only getting 4 electric sets, nothing else
17:49:47 <Sacro> *Brtrains even
17:54:37 <Samu> Run-Time Check Failure #3 - The variable 'o' is being used without being initialized.
17:58:03 <Samu> ah, i think i understand
18:01:47 <Samu> fixed
18:27:58 <Samu> done
18:28:45 <Samu> buoy is done, gonna check oilrig station
18:30:44 <Samu> hmm to change oilrig station, i got to change industry tile type first
18:30:57 <Samu> touching industry tiles is scary
18:47:24 <Wolf01> Mmmmh, a good busy pattern for the airport state machine: http://img-9gag-fun.9cache.com/photo/aqLDoZv_460s.jpg
18:47:50 <Samu> _m[t].m1 &= 1 << 7; - does this do what I think it does?
18:49:10 <Samu> 7654 3210 - i want bit 7 to remain untouched, and all the others to be zero'ed
18:51:06 <Samu> bit 7 is to be inherited
18:51:51 <Samu> it's the canal on river flag thingy
18:55:36 *** glx has joined #openttd
18:55:36 *** ChanServ sets mode: +v glx
18:56:18 *** FLHerne has joined #openttd
18:57:08 *** frosch123 has joined #openttd
19:06:22 <Wolf01> Quak
19:06:35 <frosch123> ciao
19:08:11 *** andythenorth has joined #openttd
19:08:24 <Wolf01> o/
19:08:38 <andythenorth> hi
19:14:55 <Alberth> o/
19:15:37 <Samu> industry tiles now have canal owners
19:15:45 <Samu> i wonder if this is gonna break newgrf stuff
19:16:30 <Alberth> making a canal of an industry-tile?
19:16:48 <Samu> build oil rig on canal tiles
19:16:56 *** FLHerne has quit IRC
19:17:05 <Samu> it stores the owner of the canal now
19:17:26 <Alberth> nobody is stupid enough to build a canal and then build an oil rig :p
19:17:37 <Alberth> it's much cheaper to have a land-based oil well :)
19:17:54 <Samu> it also stores the canal on river flag
19:18:16 <Samu> tile type industry has no more bits free
19:18:21 <Samu> once this is done
19:18:56 *** NoShlomo has joined #openttd
19:19:36 <supermop> Lejving: maybe a GS could do it
19:19:48 <supermop> still might need patching
19:25:00 *** Mazur has quit IRC
19:26:40 <Samu> how does an industry die?
19:26:41 <Samu> grrr
19:26:45 <Samu> must edit it
19:30:03 <Samu> Industry::~Industry() is this where an industry is removed from the world?
19:32:37 *** srhnsn has joined #openttd
19:37:03 <Samu> nice, it works
19:37:18 <Samu> but needs savegame conversion stuff
19:38:36 <Samu> else old canals would become part of company 1
19:54:40 <andythenorth> is tramz
19:57:42 *** chnkr_ has joined #openttd
20:00:27 *** Gja has quit IRC
20:10:17 <Samu> ah, industry description
20:17:04 *** keoz has quit IRC
20:19:48 <Samu> ChangeTileOwner_Industry i'm surprised this function already exists
20:21:12 *** aard has joined #openttd
20:29:42 <Samu> incomplete type is not allowed
20:29:46 <Samu> what does this mean?
20:31:44 <Samu> https://paste.openttdcoop.org/pfzbrepaq
20:31:59 <Samu> problem with Company::Get - it says incomplete type is not allowed, what can I do?
20:32:18 <Samu> line 9 and 10
20:36:42 <Alberth> define Company, probably by adding an include file
20:37:34 <Alberth> ie it knows there is a thing called "Company", but you need to also give its members, so it can check the "get" exists
20:45:12 *** andythenorth has quit IRC
20:50:24 <Samu> can't do it :(
20:50:59 <Samu> industy tiles have no company owners
20:51:06 <Samu> or something like that
20:52:08 <Samu> Severity Code Description Project File Line Suppression State Error C2027 use of undefined type 'Company' openttd D:\OpenTTD\trunk\src\industry_cmd.cpp 922
20:57:31 <Samu> ah, think i got it, but... i'm uncertain
20:57:33 <Samu> #include "company_base.h"
20:58:17 <Samu> yes, it compiles
20:58:23 <Samu> ty Alberth
21:03:13 <Alberth> success!
21:24:15 <Samu> looks strange, canal owner when querying industries
21:24:34 <Samu> the canal can't be removed unless the industry closes
21:26:16 <Samu> company 1 is the owner of the canal of an oil rig, but the oil rig owner is n/a
21:27:00 <Samu> working as intended, though it's quite strange
21:31:16 <Samu> i need an oil rig to close itself, without magic bulldozer
21:31:28 <Samu> what's the best way to trigger it?
21:32:58 <Alberth> not, mostly
21:33:20 <Alberth> don't think oilrigs ever close
21:33:52 *** HerzogDeXtEr has joined #openttd
21:34:43 <Samu> they close, of that I'm sure
21:52:38 *** supermop_ has joined #openttd
21:53:34 *** srhnsn has quit IRC
21:57:18 *** frosch123 has quit IRC
21:59:02 *** supermop has quit IRC
22:08:28 *** Mazur has joined #openttd
22:26:09 <Alberth> ok
22:26:12 *** Alberth has left #openttd
22:30:01 *** aard has quit IRC
22:40:08 *** sim-al2 has joined #openttd
22:42:34 *** gelignite has joined #openttd
23:03:35 *** NoShlomo has quit IRC
23:20:43 *** sla_ro|master has quit IRC
23:27:55 *** Arveen has quit IRC
23:28:57 *** Progman has quit IRC
23:46:05 *** CompuDesktop has joined #openttd
23:46:35 *** Compu has quit IRC
23:47:28 *** CompuDesktop is now known as Compu
23:47:50 *** Compu has joined #openttd
23:59:59 <Wolf01> 'night