IRC logs for #openttd on OFTC at 2018-06-02
⏴ go to previous day
01:52:07 *** chomwitt has joined #openttd
03:03:38 *** Supercheese has joined #openttd
03:23:40 *** snail_UES_ has joined #openttd
04:38:08 *** Supercheese has joined #openttd
04:57:21 *** muffindrake has joined #openttd
06:50:19 *** chomwitt has joined #openttd
07:22:08 *** chomwitt has joined #openttd
07:53:50 *** andythenorth has joined #openttd
07:54:13 *** sla_ro|master has joined #openttd
09:37:16 <Wolf01> Mmmh, huge discounts week for xbox games... 10% if you have the gamepass :|
09:38:10 <Wolf01> I'm still waiting for a 50% discount to purchase a dlc for halo wars 2... I think I'll have to buy it at full price
10:03:16 <Eddi|zuHause> why wouldn't they?
10:03:33 <Eddi|zuHause> as a proper evil corporation i would hold talks about acquiring EVERYTHING
10:04:13 <Wolf01> Those are EA and Disney
10:04:40 <Wolf01> MS is less evil than Google as today
10:06:19 <Eddi|zuHause> really, all corporations are evil... as they aren't guided by morale principles they automatically get evil
10:28:55 <Wolf01> Uhm, FFF#245 made me think about I never played the campaign
10:29:37 <Wolf01> Actually I did once, on the demo before purchasing the game
10:34:18 *** synchris has joined #openttd
10:43:07 *** Alberth has joined #openttd
10:43:07 *** ChanServ sets mode: +o Alberth
10:44:44 *** gelignite has joined #openttd
11:00:44 *** HerzogDeXtEr has joined #openttd
11:36:16 *** muffindrake has joined #openttd
11:51:04 *** Progman has joined #openttd
11:59:07 *** Wormnest has joined #openttd
12:03:37 <LANJesus> Eddi|zuHause: eh non-profits could be worse, though they're expected to exist in the same playing field as for-profit entities and it makes shit difficult
12:16:44 *** Progman_ has joined #openttd
12:18:31 *** frosch123 has joined #openttd
12:21:30 *** Progman_ is now known as Progman
12:37:01 <Eddi|zuHause> hm, problem with trying to solve all spider games is sometimes it just sits there for a few days until you see the solution
12:50:46 <Alberth> oh, I always thought there are too many to bother :)
13:38:50 <Eddi|zuHause> i guess my brain works different to yours :p
14:03:40 <peter1138> Hmm, 29.5 km/h average o_O
14:22:24 <nielsm> hmm shouldn't the error() function have a "does not return" annotation?
14:23:31 <nielsm> so the compiler won't complain about uninitialized variables that can only be left uninitialized by code paths going through error()
14:33:33 <frosch123> void NORETURN CDECL error(const char *str, ...) WARN_FORMAT(1, 2);
14:33:38 <frosch123> the "NORETURN" part
14:35:01 <nielsm> apparently that one doesn't get caught by the compiler I tested a linux build with right now
14:37:38 <LordAro> nothing with newer compilers
14:39:56 <nielsm> that particular case causes a warning here :s
14:40:04 <nielsm> it's easy to just init the variable of course
14:42:44 <LordAro> nielsm: you could rewrite the function to not use the result variable
14:46:06 <frosch123> nielsm: you misread the warning
14:46:20 <frosch123> the issue is with song.filetype == MTT_MPSMIDI && songdata == NULL
14:47:04 <frosch123> it's right next to the { with the wrong \n :p
14:47:18 <frosch123> bugs are always near to code style issues :p
14:47:51 <LordAro> i feel like it might be better as a switch anyway
15:08:36 <nielsm> anything else that need fixing before dosmusic can be merged?
15:52:04 *** gelignite has joined #openttd
16:12:02 *** techmagus has joined #openttd
16:52:44 *** sla_ro|master has joined #openttd
17:00:57 *** snail_UES_ has joined #openttd
17:09:35 *** andythenorth has joined #openttd
17:10:07 *** tokai|noir has joined #openttd
17:10:08 *** ChanServ sets mode: +v tokai|noir
17:16:18 <andythenorth> wow a snail, a bird, and a peter :o
17:46:15 <Alberth> we had a wolf about 7 hours ago
17:50:05 <Wolf01> Watching a slow movie and on the edge of sleeping
17:51:57 <Wolf01> So, why should I buy the bugatti?
18:06:40 <andythenorth> it's what, EUR 350?
18:07:02 <Wolf01> Dunno why this difference
18:08:35 <Wolf01> If I can buy it for 300 then I might do it, not for more
18:11:30 <andythenorth> I need to sell Lego before buying much more
18:21:27 * andythenorth playing spider solitaire still
18:59:36 *** Wacko1976 has joined #openttd
19:12:26 <andythenorth> Wolf01: what shall we do with NRT?
19:12:30 <andythenorth> fork Peter's repo?
19:12:40 <andythenorth> or PR that branch to openttd?
19:12:50 <andythenorth> and is it 64 types or not (64 is untested afaik)
19:13:10 <peter1138> Did I push that branch?
19:15:49 <Wolf01> Mmmh, I don't think I want 64 types
19:17:18 <andythenorth> well let's PR 16 and see what happens
19:17:31 <Wolf01> If we could add those virtual types maybe it could be really a nice addition, they could be loaded in a separate array, not buildable and not count towards the buildable types
19:17:50 <peter1138> Players want more types :p
19:18:10 <peter1138> Virtual types is not an easy issue.
19:19:10 <Wolf01> What about infinite map array storage? Everything which is a variant of the same thing gets its own _mN bitmap
19:19:49 <Wolf01> But then don't whine about "I'm not able to join a 25GB map server"
19:20:39 <Wolf01> 64k roadtypes, 64k railtypes, 64k whatever
19:22:47 <Wolf01> Regarding NRT, I don't know what's better, I would like to continue my work on the town roadtype thing
19:26:42 <nielsm> ever considered having sparse map data? splitting it into e.g. 32x32 blocks and only actually storing blocks having non-blank data
19:27:02 <nielsm> at least it should cut down storage size
19:29:14 <andythenorth> Wolf01: I think you re-merge peter1138's changes to your repo then
19:29:20 <andythenorth> and maybe give me commit rights to it?
19:29:24 <peter1138> Hmm, seems you have build road stops on somebody else's one-way roads./
19:29:55 <peter1138> nielsm, all blocks have non-blank data.
19:31:38 <Wolf01> Yes, you can build roadstops everywhere if the local authority allows it
19:35:07 <nielsm> continuation of thought is then to have a "pallette" of e.g. road or rail types per block, and some automatic "up-conversion" of a block if it gets more types than the pallette can support - e.g. support 4 type, 16 type, 64 types, 64k types (non-palletted)
19:35:29 <nielsm> but maybe that's just going overboard :)
19:36:08 <nielsm> and the pallette is per block
19:38:38 <andythenorth> 64 would be 'enough' :P
19:39:06 <andythenorth> to be more accurate, 16 is 'enough', 64 is 'more than enough'
19:58:33 <TrueBrain> hmmm .. I love closing tickets ....
20:00:53 <andythenorth> eh it's triolus[m]
20:01:05 <andythenorth> or even tab-complete TrueBrain
20:01:17 <andythenorth> I though 'tr' would be enough :P
20:02:45 <peter1138> Let's extend the map array and add more companies :p
20:10:33 *** Stimrol has joined #openttd
20:12:51 <TrueBrain> peter1138: what is funny, that your 2 bytes extra is percentage-wise less of an increase than when we added the extended map array :P
20:12:55 <TrueBrain> it gets less and less painful :D
20:13:22 *** gelignite has joined #openttd
20:13:27 <peter1138> I have 32GB RAM, no problem for me ;)
20:14:22 <TrueBrain> lets sell OpenTTD wiith additional RAM :P
20:15:04 <nielsm> extend everything <32 bit up to 32 bit, everything else up to 64 bit
20:18:06 <andythenorth> TrueBrain: we just charge for the RAM? o_O
20:31:46 <peter1138> Does NRT have provision for one-way junctions?
20:32:35 <peter1138> Hmm, so many bits needed for that :p
20:32:54 <andythenorth> not provided afaik :P
20:33:40 <peter1138> Probably better off with state machines
20:40:37 <andythenorth> always better off with things we didn't implement :)
20:55:40 *** Supercheese has joined #openttd
21:10:17 *** techmagus has joined #openttd
22:16:59 <andythenorth> so how do I github? :P
22:18:24 <andythenorth> so I have to merge peter's fork into mine somehow?
22:18:48 <LordAro> just set peter1138's repo as a remote
22:19:11 <nielsm> then checkout the branch from the remote
22:19:14 <andythenorth> and then merge the branch I want
22:19:31 <LordAro> git branch -a to list all the things
22:31:02 <andythenorth> wondering if I should expand the description
22:31:48 <Wolf01> <andythenorth> can't fork a fork <- this was one of the things I wanted to know too :P
22:32:03 <andythenorth> adding a remote worked just fine
22:40:28 *** Supercheese has joined #openttd
22:48:41 <peter1138> Would it be wrong to 'fix' oilrigs so that you can't run other stations to them?
22:48:52 <peter1138> (Didn't someone already start that?)
22:51:05 <nielsm> there's the alternative problem when you run with multiple industries of same type per city, where you get so many oil rigs it can't create more automatic stations
22:51:57 <nielsm> I think my preferred solution might be to prevent raising the sea in a radius around the oil rig
23:01:00 *** agentw4b_ has joined #openttd
23:01:31 <LordAro> peter1138: i'd be tempted to say yes, tbh
23:01:51 <LordAro> raising the sea is already mostly prohibitively expensive
23:04:18 <LordAro> well no, but money is fairly meaningless anyway
23:04:27 <LordAro> what do you have against people running trains to oil rigs?
23:04:38 <LordAro> i always used to like doing it when i could :)
23:08:03 <nielsm> actually I think some kind of protected ocean that can't be raised might be a useful idea for scenarios too
23:11:09 <nielsm> and then an alternate rule for oil rigs, "can only construct inside protected ocean regions"
23:11:16 <nielsm> rather than the "close to edges" rule
23:25:29 <LordAro> peter1138: holy hell, 100k @ 29.5kph?
23:26:23 *** supermop has joined #openttd
23:31:41 <peter1138> Hmm, annoying bug with ctrl-build station :(
23:32:05 <peter1138> If distant-join is not enabled, you can't chose to join station part to existing, only build a new part :(
23:44:05 <peter1138> Also, this server has ships disabled, so... bah at oilrigs :(
23:46:05 <LordAro> peter1138: much nice.
continue to next day ⏵