IRC logs for #openttd on OFTC at 2019-08-05
⏴ go to previous day
00:35:34 *** snail_UES_ has joined #openttd
00:46:02 *** Eddi|zuHause has joined #openttd
01:40:43 *** Eddi|zuHause has joined #openttd
01:50:29 <Eddi|zuHause> "Free swap = 0kB" ... why? what is cities skylines using all this memory for?
02:00:18 *** Beerbelott has joined #openttd
02:00:40 <Beerbelott> Should pieces of advice like this one be followed? warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
02:05:28 <Eddi|zuHause> Beerbelott: more commonly this means you made a logic error, and the parentheses should be the other way around
02:06:59 <Eddi|zuHause> Beerbelott: and yes, this warning should not appear
02:07:59 <Beerbelott> It's nto an error, but a warning, and the logic is perfectly fine. From what I read, it's merely a disambiguation thing to *prevent* errors being made
02:08:39 <Beerbelott> it's a line looking like "a && b || c"
02:08:47 <Beerbelott> precedence kicks in alright, no problem
02:08:52 <Eddi|zuHause> so either way, you should set those parentheses
02:09:07 <Beerbelott> but... precedence exist for a reason :\
02:09:27 <Eddi|zuHause> but... the warning also exists for a reason
02:09:51 <Beerbelott> it's an option which seems to have recently been added to the compiler flags
02:10:38 <Eddi|zuHause> ... i don't know how more explicitly i should spell out the answer to your question...
02:10:52 <glx> it's better to use parentheses even when you're sure of precedence
02:11:22 <glx> because it's a common error
02:13:14 <glx> it's also easier to read (the reader doesn't need to remember the precedence rules ;) )
02:17:17 <Beerbelott> Just for my information, does the compile farm fail on warnings like that (I suppose yes)?
02:17:39 <glx> no, warnings are not errors
02:18:03 <Beerbelott> Aren't you using the flag tranforming warnings into errors?
02:18:50 <glx> OSX build is full of unfixable warnings for instance
02:19:32 <Beerbelott> Ah yeah, didn't think of cross-platform problems such this one
02:19:48 <Beerbelott> Well... I fixed a repushed the PR anyway
03:03:20 <Eddi|zuHause> i might have a memleak on my hands...
03:22:01 *** Thedarkb-X40 has joined #openttd
03:34:21 *** Eddi|zuHause has joined #openttd
05:40:48 *** Beerbelott1 has joined #openttd
05:58:21 *** Beerbelott has joined #openttd
07:32:07 *** snail_UES_ has joined #openttd
08:10:31 <Samu> what are you doing to my restart
08:13:30 <Samu> hmm i load savegames and then type restart
08:13:44 <Samu> i don't expect it to re-load the savegame
08:14:15 <Samu> restarting the scenario i guess it's okay
08:15:02 <LordAro> absolutely nothing has changed
08:40:47 *** arikover has joined #openttd
08:53:29 *** andythenorth has joined #openttd
09:18:59 *** snail_UES_ has joined #openttd
09:56:09 <Wolf01> So, what happened while I went full lego?
10:00:01 <Beerbelott> Samu: Yup I am actually reworking that. I just noticed what you pointed out... The code written is all over the place
10:00:06 <Beerbelott> Update coming up today
10:16:33 *** snail_UES_ has joined #openttd
10:28:26 <Samu> so i made my AI filter out towns that require cargo which I don't deliver to grow
10:28:57 <Samu> it didn't quite work as I expected
10:29:41 <Beerbelott> Samu: You can try again :)
10:30:04 <Samu> put this version against old version and tried an arctic game
10:30:27 <Beerbelott> I tested the changes w/ newgame/savegame/scenario/heightmap
10:30:58 <Samu> oh, I can't compile stuff here
10:33:29 <Samu> now that they're both at 500 road vehicles, the old AI is still getting better profit
10:34:53 <Samu> old ai services both types of towns, those that require FOOD and those that don't
10:35:28 <Samu> new ai services both types of towns, but prioritizes those that don't require FOOD first
10:36:34 <Samu> I never deliver FOOD, so these towns never grow
10:36:54 <Samu> the old ai is doing better :(
10:39:55 <Samu> I still expect that over time, the new ai profits will surpass those of old ai, because all the towns it services can grow on their own
11:09:10 *** snail_UES_ has joined #openttd
11:50:22 <Wolf01> So, Mashinky is now full of mods in the workshop, nice
12:03:21 *** snail_UES_ has joined #openttd
12:44:50 <_moep_> ops… ECHAN sry for spam
12:59:49 *** snail_UES_ has joined #openttd
13:55:53 *** snail_UES_ has joined #openttd
13:56:56 <Samu> towns can grow if I fund construction of buildings in them, even if they require FOOD to grow?
14:36:31 <LordAro> Samu: there's an easy way to find out
14:45:59 *** snail_UES_ has joined #openttd
15:36:04 *** sla_ro|master has joined #openttd
16:15:19 <Samu> interesting, I can fake grow these towns this way
16:17:18 <Samu> just need to be ultra rich, lol
16:44:44 *** frosch123 has joined #openttd
18:55:48 *** HerzogDeXtEr has joined #openttd
19:18:16 *** andythenorth has joined #openttd
19:27:21 <andythenorth> so could train prop 27 bit 2 apply to wagons as well as engines? o_O
19:29:35 <frosch123> i thought wagons use the same livery schema as the engine?
19:30:07 <frosch123> i never play with individual liveries :p
19:32:23 <Samu> funny stuff my ai was doing, only now I noticed
19:33:51 <Samu> it was replacing coleman count with tricario helicopter
19:34:10 <Samu> because colemant reliability was too low
19:34:57 <andythenorth> testing suggests wagons don't respect the mu flag
19:35:01 <andythenorth> I haven't read the code :P
19:35:09 <andythenorth> or I'm doing it wrong
19:35:15 <andythenorth> or nml clears the bit for wagons
19:35:45 *** gelignite has joined #openttd
19:36:15 <Samu> there were no other planes available, so it went with an helicopter, :p
19:36:31 <frosch123> it uses the flag of the engine
19:37:07 <frosch123> the flag on the wagon does not matter, wagons suse the engine livery
19:37:51 <Samu> and now that bakewell luckett lb-9 becomes available, pretty sure it's going to replace tricario with them
19:38:33 <Samu> ai trying to be too smart...
19:39:12 <andythenorth> specifically my request is for buy menu
19:39:23 <andythenorth> if it's not possible, it doesn't really matter
19:39:44 <frosch123> wagons have no tracktin type
19:39:55 <frosch123> how to distinguish dmu and emu wagon?
20:23:31 *** Progman has joined #openttd
20:30:59 *** Beerbelott has left #openttd
22:26:02 *** arikover has joined #openttd
22:33:22 *** circ-user-SwraW has joined #openttd
22:33:32 <circ-user-SwraW> hello from aus
22:33:53 *** circ-user-SwraW is now known as supermop_au
22:38:23 <andythenorth> changed continent
22:40:40 <supermop_au> as was on oahu yesterday
22:41:22 <supermop_au> though now i can't connect to any of my offices network drives
22:41:56 <supermop_au> not sure if the pacific plate counts as a 'continent' though
22:51:04 *** supermop_au has joined #openttd
22:57:47 <andythenorth> and do you still have to work the same hours? :P
23:10:35 <Eddi|zuHause> depends on how far you want to lawyer the word "continent"
23:22:33 <supermop_au> andythenorth: jet lag makes it easy to work a new york day then go out and have a melbourne day of coffee etc after
23:24:13 <supermop_au> so far tho i'm 2 for 2 on getting a worthless siemens combino instead of proper Comeng or new E-class
23:36:40 *** andythenorth has left #openttd
23:51:47 <Samu> hmm, my strategy of prioritizing towns that don't require cargos to grow doesn't pay off :(
continue to next day ⏵