IRC logs for #openttd on OFTC at 2019-08-17
            
00:29:56 *** andythenorth has left #openttd
00:31:14 *** Samu has quit IRC
01:00:45 *** nielsm has quit IRC
01:14:46 *** snail_UES_ has quit IRC
01:55:41 *** Wolf01 has quit IRC
02:12:46 <Eddi|zuHause> hm... i'm not 100% sure how these nodes work... i still got areas not covered by the model :/
02:38:32 *** y2kboy23 has quit IRC
02:40:11 *** y2kboy23 has joined #openttd
03:05:44 <Eddi|zuHause> hm... turns out the pavement must be at a very specific position
03:10:14 <Eddi|zuHause> that kinda disturbs my plan...
03:16:40 *** Flygon has joined #openttd
03:23:32 *** y2kboy23 has quit IRC
03:38:21 *** y2kboy23 has joined #openttd
04:34:05 *** D-HUND has joined #openttd
04:37:24 *** debdog has quit IRC
04:53:38 *** glx has quit IRC
05:07:59 *** lpx has quit IRC
05:11:26 *** lpx has joined #openttd
05:13:02 *** HerzogDeXtEr has quit IRC
05:42:03 *** WormnestAndroid has joined #openttd
08:07:50 *** sla_ro|master has joined #openttd
08:19:22 *** WormnestAndroid has quit IRC
08:45:09 *** WormnestAndroid has joined #openttd
08:51:27 *** Progman has joined #openttd
09:05:20 *** Samu has joined #openttd
09:05:59 *** nielsm has joined #openttd
09:06:42 <Samu> hi
09:14:32 *** Progman_ has joined #openttd
09:19:23 *** WormnestAndroid has quit IRC
09:19:39 *** Progman has quit IRC
09:19:51 *** Progman_ is now known as Progman
09:28:29 *** Wolf01 has joined #openttd
09:43:10 *** WormnestAndroid has joined #openttd
09:47:15 *** andythenorth has joined #openttd
09:48:49 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro requested changes for pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fjd77
09:55:45 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7685: Codechange: math functions - use cpp-style casts https://git.io/fjd7d
10:13:20 <andythenorth> moin
10:16:20 <Samu> AdmiralAI does some really weird thing when loaded
10:17:02 <Samu> it makes profits decline abruptly
10:17:12 <Samu> to then come up stronger
10:17:39 <Samu> it I didn't load a savegame, his profits wouldn't change
10:17:46 *** HerzogDeXtEr has joined #openttd
10:18:22 <Samu> whatever it does after loading seems to pay off, it should do it more regularly on normal play
10:19:43 *** arikover has joined #openttd
10:21:01 <Samu> https://imgur.com/bjzIGbb AdmiralAI is white
10:28:43 <Samu> 2051 is approaching
10:28:59 <Samu> no clear winner
10:29:54 <Samu> perhaps AIAI, but when i look at his log... many warnings about vehicles models not existing
10:30:56 <Samu> AdmiralAI for finishing with the highest profit
10:31:30 <Samu> but it bankrupted and only reached this position through several savegame loads
10:34:05 <Samu> AroAI only accumulated wealth
10:34:29 <Samu> all engines are old models past max age and bankrupt all the time
10:34:56 <Samu> it also bankrupts many many times in the first years
10:35:25 <Samu> ooops, engines don't bankrupt, they breakdown
10:35:37 <Samu> that's what I meant
10:35:53 <Samu> SynTrans crashes ever other load
10:36:09 <Samu> most of that time it was accumulating money
10:37:01 <Samu> convoy had the best early game
10:37:26 <Samu> until the point vehicles got past max age
10:37:36 <Samu> to the point of bankrupting :(
10:38:12 <Samu> railwai was also a serious contender early game
10:39:33 <Samu> but his routes are very short, and newer model replacements did make his profits unable to keep up with other AIs due to max number of road vehs
10:42:35 <Samu> my AI had a decent start albeit a decaying one, until the faster models came available, where it finally impoved enough to reach first in profits for the last years
10:44:00 <Samu> AIAI, on the other hand, had a troubled start, managed to survive and even reach first in profits for a decade, mid game
10:44:46 <Samu> but the log shows some bugs, i see some old models breakdowning, failing to be replaced, I'm sure it could do better without these problems
10:48:43 <Samu> actually AdmiralAI didn't finish first in profits, mine did :p 2051 just reached
10:48:49 <Samu> so I win!
10:48:50 <Samu> :p
11:10:00 *** tokai|noir has joined #openttd
11:10:00 *** ChanServ sets mode: +v tokai|noir
11:16:57 *** tokai has quit IRC
11:31:21 <DorpsGek_II> [OpenTTD/OpenTTD] j-pet opened pull request #7698: Codechange: Reduced indentation in SaveLoadWindow::OnClick https://git.io/fjddc
11:39:40 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro approved pull request #7698: Codechange: Reduced indentation in SaveLoadWindow::OnClick https://git.io/fjddM
11:39:49 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro merged pull request #7698: Codechange: Reduced indentation in SaveLoadWindow::OnClick https://git.io/fjddc
11:39:55 <LordAro> ¯\_(ツ)_/¯
11:45:57 *** snail_UES_ has joined #openttd
11:48:05 <DorpsGek_II> [OpenTTD/OpenTTD] j-pet opened pull request #7699: Fix: Possible double path separator in FiosMakeFilename https://git.io/fjddy
11:49:03 *** andythenorth has quit IRC
12:11:07 *** tycoondemon has quit IRC
12:15:52 *** andythenorth has joined #openttd
12:34:43 <Samu> How to make The Scorpions actually listenable https://www.youtube.com/watch?v=F_Ww_r6lS_A
12:54:30 <Wolf01> Maybe you meant "How to ruin the scorpions"
12:57:52 <Samu> I didn't know at first it was a cover
12:58:07 <Samu> i just liked it
13:00:08 <Samu> it's Kristy Thirsk all over it
13:00:23 <Samu> haunting voice
13:01:39 <Samu> Kirsty*
13:01:51 <Samu> or Kristy, meh whatever
13:04:24 <Samu> lol, even themselves typo https://www.youtube.com/watch?v=XwzaCTH9-ko
14:12:41 *** frosch123 has joined #openttd
14:15:24 *** Progman has quit IRC
15:03:18 <andythenorth> hmm
15:03:24 * andythenorth baffled by town cargos
15:03:36 <andythenorth> not sure how to do the right thing
15:03:56 <andythenorth> e.g. I want to split 'food' up to 'meat', 'flour', 'sugar' etc
15:04:03 <andythenorth> but which ones grow town?
15:04:07 <andythenorth> puzzle :)
15:05:31 <Wolf01> Do it and merge them again to food with a new industry
15:06:17 <andythenorth> ha ha
15:06:20 <andythenorth> warehouse
15:08:56 *** andythenorth is now known as Guest249
15:09:01 *** andythenorth has joined #openttd
15:09:18 *** Thedarkb-X40 has quit IRC
15:14:21 *** Guest249 has quit IRC
15:16:35 <Samu> andythenorth: can you check if NewGRFs have access to CmdTownCargoGoal
15:17:54 <Samu> must check newgrf specs stuff
15:17:59 <Samu> myself i suppose
15:25:04 <frosch123> andythenorth: you can give multiple cargos the same town effect
15:25:22 <frosch123> then towns grow even if they only have sugar
15:27:15 *** Thedarkb-X40 has joined #openttd
15:29:07 <Samu> https://newgrf-specs.tt-wiki.net/wiki/NML:Cargos this thing is missing cargo_goal[town_effect]
15:32:17 <Samu> town_growth_multiplier alone is insufficient
15:32:24 <andythenorth> frosch123: any idea what the town window will show in that case? o_O
15:32:29 <andythenorth> in Tropic for example
15:32:55 <Samu> it shows firstcargo found
15:32:57 <Samu> const CargoSpec *cargo = FindFirstCargoWithTownEffect(te);
15:34:33 <Samu> have first cargo be food with the effect
15:35:16 <DorpsGek_II> [OpenTTD/OpenTTD] nikolas updated pull request #7086: Change #6173: Update SDL driver to use SDL 2.0 https://git.io/fhamZ
15:35:25 <nielsm> spend a cargotype that will never be accepted or produced just to give a name to "food products"
15:35:38 <nielsm> (if you can force it to be the first somehow)
15:35:52 <frosch123> i think it only shows the first cargo
15:36:13 <frosch123> but there is probably a TODO somewhere to show all
15:36:31 <Samu> yes, but you can deliver the other cargoes that have the same effect
15:36:56 <nielsm> nobody is challenging that
15:37:26 <andythenorth> Samu: this is a known area of 'unfinished'
15:37:49 <Samu> newgrfs need something like t->goal[te] equivalent
15:37:53 * andythenorth has two choices at this point
15:38:04 <andythenorth> I am designing a FIRS economy
15:38:24 <andythenorth> either (a) I design around the constraints of town cargos
15:38:37 <andythenorth> or (b) I design it known 'broken', then hope someone fixes it
15:38:44 <andythenorth> both (a) and (b) have worked well in the past
15:39:21 <andythenorth> TL;DR I would like more robust town growth influence for industry newgrfs
15:39:43 <andythenorth> I know it can conflict with GS, this is a thing
15:41:40 <Samu> there's no NewGRF category for towns?
15:41:44 <Samu> only houses?
15:41:59 <andythenorth> there's a residual element of newgrf spec for towns
15:42:01 <andythenorth> there are some registers
15:43:38 *** tycoondemon has joined #openttd
15:51:52 <Samu> https://github.com/OpenTTD/OpenTTD/blob/master/src/newgrf_town.cpp investigating
15:54:52 *** Flygon has quit IRC
15:55:18 <Samu> it can only register acceptance of 2 town effects
15:55:25 <Samu> t.t
15:55:37 <Samu> FOOD, WATR
15:57:22 <Samu> let me test something with a GameScript, brb
16:55:57 *** nielsm has quit IRC
17:14:13 *** andythenorth has quit IRC
17:39:05 *** Progman has joined #openttd
17:39:27 *** Progman has quit IRC
17:57:32 <Samu> I did it!
17:58:39 *** Progman has joined #openttd
17:58:55 <Samu> andythenorth wants something like this https://imgur.com/H5rtGP4
17:59:27 <Samu> i had to make a GS
17:59:51 <Samu> https://paste.openttdcoop.org/pu89rivhz
18:21:22 *** Progman has quit IRC
18:33:21 *** sim-al2 has joined #openttd
18:35:17 <Samu> hmm GS's can't control this in real time
18:35:23 <Samu> but it's something!
18:39:00 *** gelignite has joined #openttd
18:40:41 *** tycoondemon has quit IRC
18:43:10 <Samu> where do I find stuff that varies snow line height?
18:43:16 <Samu> newgrf?
18:48:28 <Samu> found it
19:07:49 <Samu> https://imgur.com/kt2tY6o firs + snowline
19:07:53 <Samu> + gs
19:17:53 *** tycoondemon has joined #openttd
19:18:43 *** snail_UES_ has quit IRC
19:19:21 *** snail_UES_ has joined #openttd
19:26:19 *** Progman has joined #openttd
19:33:36 <Samu> snow grows in august? that's weird
19:40:14 <Samu> and recedes in february
19:40:18 <Samu> hmm
19:41:16 <Samu> it's 1 month off
19:41:32 <Samu> january should be february, july should be august
19:41:40 *** andythenorth has joined #openttd
19:42:10 <Samu> january perhaps should be march
19:48:49 <andythenorth> one day I figure out town cargos :P
19:48:54 <andythenorth> give them some purpose :P
19:49:05 <andythenorth> currently they're a bit half-assed
20:18:35 <Eddi|zuHause> <andythenorth> but which ones grow town? <-- why, you can have all of them count as TE_FOOD?
20:18:51 <andythenorth> how does player know? :)
20:19:32 <Eddi|zuHause> by reading the readme? ... BFFFFHAHAHA!!!
20:20:34 <Eddi|zuHause> andythenorth: the lack of correct display shouldn't be a reason to stop this feature. (not saying it would be a good feature, either way)
20:22:00 <andythenorth> see point (b) far above
21:07:07 *** glx has joined #openttd
21:07:07 *** ChanServ sets mode: +v glx
21:07:32 <Samu> am I seeing this right? https://github.com/OpenTTD/OpenTTD/blob/master/src/town_cmd.cpp#L3366 if there's only 1 station being served in the town, it grows slower than if there were 0?
21:19:24 <LordAro> Samu: *maybe*
21:23:26 <LordAro> https://github.com/OpenTTD/OpenTTD/commit/61fe35688046b7ef36305ebd92b79bfcc535783f#diff-7cb08cdaf3c712e038974cf3b954fa43L1689-L1704 is where it was added
21:54:20 *** nielsm has joined #openttd
21:57:37 *** WormnestAndroid has quit IRC
21:58:26 *** Wormnest has quit IRC
21:59:55 <Samu> I dont get town growth
22:00:10 <Samu> for the most part it's displaying town is not growing
22:03:03 *** andythenorth has left #openttd
22:03:22 *** WormnestAndroid has joined #openttd
22:12:03 <Samu> if (t->fund_buildings_months == 0 && CountActiveStations(t) == 0 && !Chance16(1, 12)) return;
22:12:10 <Samu> okay, i understand now
22:12:55 <Samu> that chance16 is ruining the growing/not growing
22:15:07 *** Wormnest has joined #openttd
22:29:27 *** Wormnest has quit IRC
22:35:07 *** WormnestAndroid has quit IRC
22:36:54 *** WormnestAndroid has joined #openttd
22:42:47 <LordAro> hmm, #7700
22:42:58 <LordAro> seems pretty useless, but couldn't hurt, i guess
22:45:35 * LordAro pokes DorpsGek_II
22:55:34 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro approved pull request #7104: Fix #5405: Aircraft could route to depots outside their range https://git.io/fjFtK
23:00:34 * LordAro am become andy, destroyer of PRs
23:01:34 *** gelignite has quit IRC
23:02:30 <frosch123> andy -> stalebot -> aroai
23:02:49 <LordAro> frosch123: feel free to review things yourself :p
23:03:03 <frosch123> i just got a mail from you
23:03:23 <frosch123> if i don't participate, i don't get mails :)
23:03:31 <frosch123> but i get them if you dig up old things :p
23:04:42 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro closed pull request #7522: Add soundfont path for Flatpak https://git.io/fjYpq
23:05:28 <LordAro> think GH webhooks are being bad tonight
23:09:10 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #7608: Codechange: Performance improvement in k-d tree FindNearest() https://git.io/fjFt7
23:09:40 <LordAro> nielsm: ^ review pls
23:12:39 <nielsm> not right now though :)
23:14:23 <LordAro> it's only small!
23:14:25 <LordAro> :p
23:22:38 <Samu> @calc 320*12
23:22:38 <DorpsGek> Samu: 3840
23:23:47 <Samu> wish i had visual studio here
23:25:53 <Samu> somebody experiment this
23:26:26 <Samu> change 320 to 3840 here https://github.com/OpenTTD/OpenTTD/blob/master/src/town_cmd.cpp#L3367
23:26:42 <LordAro> that's a big difference
23:26:46 <Samu> and then, remove something somewhere ...
23:26:47 <Samu> sec
23:27:30 <Samu> https://github.com/OpenTTD/OpenTTD/blob/master/src/town_cmd.cpp#L3429 disable this line
23:27:41 <Samu> see what happens to towns
23:31:44 <Samu> probably not gonna work the way I think :(
23:33:03 <glx> wow indeed communication between GH and DorpsGek_II doesn't work as it used to do
23:35:00 <LordAro> githubstatus naturally reports everything as fine
23:35:58 <glx> maybe it's just DorpsGek_II as it didn't report the comment in #7608 in .notice
23:36:08 *** frosch123 has quit IRC
23:36:36 <glx> but it did in this chan
23:36:58 <LordAro> hmm, weird
23:37:12 <LordAro> would need a TB to look at the bot logs
23:37:22 <LordAro> highlight him in the morning :p
23:39:45 *** nielsm has quit IRC
23:53:19 *** murr4y has quit IRC