Log for #openttd on 5th August 2019:
Times are UTC Toggle Colours
00:00:18  *** Beerbelott has joined #openttd
00:00:40  <Beerbelott> Should pieces of advice like this one be followed? warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
00:05:28  <Eddi|zuHause> Beerbelott: more commonly this means you made a logic error, and the parentheses should be the other way around
00:06:59  <Eddi|zuHause> Beerbelott: and yes, this warning should not appear
00: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
00:08:28  <Eddi|zuHause> yes
00:08:39  <Beerbelott> it's a line looking like "a && b || c"
00:08:47  <Beerbelott> precedence kicks in alright, no problem
00:08:52  <Eddi|zuHause> so either way, you should set those parentheses
00:09:07  <Beerbelott> but... precedence exist for a reason :\
00:09:27  <Eddi|zuHause> but... the warning also exists for a reason
00:09:51  <Beerbelott> it's an option which seems to have recently been added to the compiler flags
00:10:38  <Eddi|zuHause> ... i don't know how more explicitly i should spell out the answer to your question...
00:10:52  <glx> it's better to use parentheses even when you're sure of precedence
00:11:22  <glx> because it's a common error
00:12:44  <Beerbelott> Wilco.
00:13:14  <glx> it's also easier to read (the reader doesn't need to remember the precedence rules ;) )
00:15:43  <DorpsGek_II> [OpenTTD/OpenTTD] Berbe updated pull request #7328: Improve restart
00:17:17  <Beerbelott> Just for my information, does the compile farm fail on warnings like that (I suppose yes)?
00:17:39  <glx> no, warnings are not errors
00:18:03  <Beerbelott> Aren't you using the flag tranforming warnings into errors?
00:18:12  *** Ttech has quit IRC
00:18:28  <glx> we could, but we don't
00:18:50  <glx> OSX build is full of unfixable warnings for instance
00:19:06  <glx> well "unfixable"
00:19:32  <Beerbelott> Ah yeah, didn't think of cross-platform problems such this one
00:19:35  <Beerbelott> :D
00:19:48  <Beerbelott> Well... I fixed a repushed the PR anyway
00:20:24  <Beerbelott> and*
00:27:17  *** Ttech has joined #openttd
00:41:20  *** Thedarkb1-X40 has quit IRC
00:58:22  <DorpsGek_II> [OpenTTD/OpenTTD] glx22 opened pull request #7681: Fix: clang and MSVC warnings
01:03:20  <Eddi|zuHause> i might have a memleak on my hands...
01:22:01  *** Thedarkb-X40 has joined #openttd
01:33:22  *** Eddi|zuHause has quit IRC
01:34:21  *** Eddi|zuHause has joined #openttd
01:59:32  *** Flygon has joined #openttd
02:47:41  *** debdog has joined #openttd
02:50:59  *** D-HUND has quit IRC
02:58:30  *** glx has quit IRC
03:40:48  *** Beerbelott1 has joined #openttd
03:44:16  *** Arveen has quit IRC
03:48:01  *** Beerbelott has quit IRC
03:58:07  *** Beerbelott1 has quit IRC
03:58:21  *** Beerbelott has joined #openttd
04:08:27  *** snail_UES_ has quit IRC
05:31:47  *** nielsm has joined #openttd
05:32:07  *** snail_UES_ has joined #openttd
05:49:06  *** snail_UES_ has quit IRC
05:56:01  *** nielsm has quit IRC
06:05:56  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7681: Fix: clang and MSVC warnings
06:08:56  *** Samu has joined #openttd
06:08:59  <Samu> hi
06:10:31  <Samu> what are you doing to my restart
06:10:38  <Samu> I use restart a lot
06:12:26  <LordAro> "you"
06:12:29  <LordAro> "restart"
06:12:32  <LordAro> what?
06:12:54  <Samu> :p
06:13:30  <Samu> hmm i load savegames and then type restart
06:13:44  <Samu> i don't expect it to re-load the savegame
06:14:15  <Samu> restarting the scenario i guess it's okay
06:15:02  <LordAro> absolutely nothing has changed
06:15:11  <Samu> Beerbelott:
06:40:47  *** arikover has joined #openttd
06:53:29  *** andythenorth has joined #openttd
07:18:59  *** snail_UES_ has joined #openttd
07:31:43  *** snail_UES_ has quit IRC
07:55:49  *** Wolf01 has joined #openttd
07:56:09  <Wolf01> So, what happened while I went full lego?
08: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
08:00:06  <Beerbelott> Update coming up today
08:08:07  *** andythenorth has quit IRC
08:16:33  *** snail_UES_ has joined #openttd
08:24:36  <DorpsGek_II> [OpenTTD/OpenTTD] Berbe updated pull request #7328: Improve restart
08:24:57  *** snail_UES_ has quit IRC
08:27:35  <Samu> must make my AI smart
08:28:26  <Samu> so i made my AI filter out towns that require cargo which I don't deliver to grow
08:28:57  <Samu> it didn't quite work as I expected
08:29:41  <Beerbelott> Samu: You can try again :)
08:30:04  <Samu> put this version against old version and tried an arctic game
08:30:24  <Samu> old version is leading
08:30:25  <Samu> :(
08:30:27  <Beerbelott> I tested the changes w/ newgame/savegame/scenario/heightmap
08:30:58  <Samu> oh, I can't compile stuff here
08:33:29  <Samu> now that they're both at 500 road vehicles, the old AI is still getting better profit
08:34:53  <Samu> old ai services both types of towns, those that require FOOD and those that don't
08:35:28  <Samu> new ai services both types of towns, but prioritizes those that don't require FOOD first
08:36:34  <Samu> I never deliver FOOD, so these towns never grow
08:36:46  <Samu> and yet...
08:36:54  <Samu> the old ai is doing better :(
08: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
08:40:20  <Samu> time will tell
08:40:23  <Samu> zzz
09:09:10  *** snail_UES_ has joined #openttd
09:19:36  *** snail_UES_ has quit IRC
09:50:22  <Wolf01> So, Mashinky is now full of mods in the workshop, nice
10:03:21  *** snail_UES_ has joined #openttd
10:14:08  *** snail_UES_ has quit IRC
10:44:24  <_moep_>
10:44:35  <_moep_> \o/
10:44:50  <_moep_> ops… ECHAN sry for spam
10:59:49  *** snail_UES_ has joined #openttd
11:10:16  *** snail_UES_ has quit IRC
11:55:53  *** snail_UES_ has joined #openttd
11:56:56  <Samu> towns can grow if I fund construction of buildings in them, even if they require FOOD to grow?
11:57:25  <Samu> I need to know
12:04:18  *** snail_UES_ has quit IRC
12:33:48  <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7681: Fix: clang and MSVC warnings
12:36:31  <LordAro> Samu:  there's an easy way to find out
12:39:07  <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7681: Fix: clang and MSVC warnings
12:39:13  <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7681: Fix: clang and MSVC warnings
12:45:59  *** snail_UES_ has joined #openttd
12:55:01  *** snail_UES_ has quit IRC
13:35:45  <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on pull request #7681: Fix: clang and MSVC warnings
13:36:04  *** sla_ro|master has joined #openttd
13:40:42  <Samu> wow, they grow
13:40:51  <Samu> build roads and such
13:45:59  *** nielsm has joined #openttd
14:15:19  <Samu> interesting, I can fake grow these towns this way
14:17:18  <Samu> just need to be ultra rich, lol
14:25:40  <Samu> the very first Björk album
14:25:45  <Samu> interesting
14:44:44  *** frosch123 has joined #openttd
15:05:44  *** Samu has quit IRC
15:23:47  *** Flygon has quit IRC
16:43:48  *** cHawk- has joined #openttd
16:46:07  *** cHawk has quit IRC
16:55:48  *** HerzogDeXtEr has joined #openttd
17:18:16  *** andythenorth has joined #openttd
17:22:32  <andythenorth> yo
17:24:43  *** cHawk has joined #openttd
17:27:21  <andythenorth> so could train prop 27 bit 2 apply to wagons as well as engines? o_O
17:27:25  <andythenorth>
17:28:08  *** cHawk- has quit IRC
17:29:34  <frosch123> i thought wagons use the same livery schema as the engine?
17:30:07  <frosch123> i never play with individual liveries :p
17:31:00  *** Samu has joined #openttd
17:32:23  <Samu> funny stuff my ai was doing, only now I noticed
17:33:51  <Samu> it was replacing coleman count with tricario helicopter
17:34:10  <Samu> because colemant reliability was too low
17:34:57  <andythenorth> testing suggests wagons don't respect the mu flag
17:35:01  <andythenorth> I haven't read the code :P
17:35:09  <andythenorth> or I'm doing it wrong
17:35:15  <andythenorth> or nml clears the bit for  wagons
17:35:45  *** gelignite has joined #openttd
17:36:15  <Samu> there were no other planes available, so it went with an helicopter, :p
17:36:25  <frosch123> vehicle.cpp:1837
17:36:31  <frosch123> it uses the flag of the engine
17:37:07  <frosch123> the flag on the wagon does not matter, wagons suse the engine livery
17:37:51  <Samu> and now that bakewell luckett lb-9 becomes available, pretty sure it's going to replace tricario with them
17:38:33  <Samu> ai trying to be too smart...
17:38:41  <Samu> by doing funny things
17:39:00  <andythenorth> ah
17:39:03  <andythenorth> yes
17:39:12  <andythenorth> specifically my request is for  buy menu
17:39:23  <andythenorth> if it's not possible, it  doesn't really matter
17:39:44  <frosch123> wagons have no tracktin type
17:39:55  <frosch123> how to distinguish dmu and emu wagon?
17:45:17  <andythenorth> not possible
18:23:31  *** Progman has joined #openttd
18:30:59  *** Beerbelott has left #openttd
19:12:03  *** glx has joined #openttd
19:12:03  *** ChanServ sets mode: +v glx
19:19:43  *** Samu has quit IRC
19:26:04  *** nielsm has quit IRC
19:27:30  *** Samu has joined #openttd
19:38:24  *** sla_ro|master has quit IRC
20:03:05  *** frosch123 has quit IRC
20:23:26  *** arikover has quit IRC
20:25:03  *** gelignite has quit IRC
20:26:02  *** arikover has joined #openttd
20:33:22  *** circ-user-SwraW has joined #openttd
20:33:32  <circ-user-SwraW> hello from aus
20:33:53  *** circ-user-SwraW is now known as supermop_au
20:34:20  <supermop_au> hi andythenorth
20:38:14  <andythenorth> yo
20:38:23  <andythenorth> changed continent
20:40:25  <supermop_au> twice
20:40:40  <supermop_au> as was on oahu yesterday
20:41:22  <supermop_au> though now i can't connect to any of my offices network drives
20:41:56  <supermop_au> not sure if the pacific plate counts as a 'continent' though
20:42:49  <supermop_au> brb
20:42:51  *** supermop_au has quit IRC
20:51:04  *** supermop_au has joined #openttd
20:57:33  <andythenorth> ouch
20:57:47  <andythenorth> and do you still have to work the same hours? :P
21:10:35  <Eddi|zuHause> depends on how far you want to lawyer the word "continent"
21:11:32  <DorpsGek_II> [OpenTTD/OpenTTD] TobiasTermeczky opened issue #7682: Coop play not working correct
21:19:22  *** arikover has quit IRC
21:21:55  <DorpsGek_II> [OpenTTD/OpenTTD] glx22 commented on issue #7682: Coop play not working correct
21: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
21:22:41  <andythenorth> :P
21:22:46  <andythenorth> coffee tram?
21:23:14  <supermop_au> you bet
21: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
21:36:17  *** supermop_au has quit IRC
21:36:39  * andythenorth must to bed
21:36:40  *** andythenorth has left #openttd
21:43:36  *** Samu has quit IRC
21:49:47  <DorpsGek_II> [OpenTTD/OpenTTD] TobiasTermeczky commented on issue #7682: Coop play not working correct
21:49:48  <DorpsGek_II> [OpenTTD/OpenTTD] TobiasTermeczky closed issue #7682: Coop play not working correct
21:50:25  *** Samu has joined #openttd
21:51:47  <Samu> hmm, my strategy of prioritizing towns that don't require cargos to grow doesn't pay off :(
21:57:28  *** Thedarkb-X40 has quit IRC
22:01:25  *** Samu has quit IRC
22:16:13  *** HerzogDeXtEr has quit IRC
22:22:41  *** Progman has quit IRC
22:24:17  *** Thedarkb-X40 has joined #openttd
22:35:14  *** Wolf01 has quit IRC

Powered by YARRSTE version: svn-trunk