IRC logs for #openttd on OFTC at 2018-11-09
            
01:13:48 *** triolus has joined #openttd
01:45:11 *** snail_UES_ has joined #openttd
05:11:47 *** snail_UES_ has quit IRC
05:18:38 *** triolus has quit IRC
06:55:55 <DorpsGek_II> [OpenTTD/OpenTTD] James103 opened issue #6966: GSTown.PerformTownAction crashes OpenTTD if called during world generation https://git.io/fpIIo
07:46:32 *** Maarten has quit IRC
07:51:59 *** Maarten has joined #openttd
08:03:02 *** Maarten has quit IRC
08:03:30 *** Maarten has joined #openttd
09:16:39 *** Maarten has quit IRC
09:17:09 *** Maarten has joined #openttd
11:01:27 *** andythenorth has joined #openttd
11:01:29 *** andythenorth has left #openttd
11:19:49 *** matt21347 has joined #openttd
12:12:45 *** Progman has joined #openttd
13:59:40 *** kragniz has joined #openttd
14:33:33 *** snail_UES_ has joined #openttd
14:48:55 *** snail_UES_ has quit IRC
15:14:56 *** nielsm has joined #openttd
16:27:57 *** lugo has joined #openttd
16:54:40 <nielsm> still playing arouind with this... https://0x0.st/slbV.png
17:10:44 *** lugo has quit IRC
18:11:23 *** frosch123 has joined #openttd
18:45:31 *** lugo has joined #openttd
19:09:50 *** Wolf01 has joined #openttd
19:09:56 <Wolf01> o/
19:14:34 *** andythenorth has joined #openttd
19:23:42 <Wolf01> o/
19:24:02 <nielsm> evening
19:30:33 <nielsm> I guess I should try playing a real game with that house cargo patch
19:51:54 <LordAro> pfft
19:52:34 *** lugo has quit IRC
19:53:42 <andythenorth> I played a game once
19:53:44 <andythenorth> it was greaat
19:53:57 <LordAro> tanks?
19:54:00 <andythenorth> nielsm: you should play test my newgrfs :P
19:54:04 <andythenorth> LordAro: funny you should mention that
19:54:12 * andythenorth tanking now
19:56:22 <nielsm> I hope if the patch goes in, the default is changed away from original btw ;)
19:56:36 <Wolf01> I'm playing for real with my new lego microbots
19:57:23 <andythenorth> nielsm: Horse 2, not even a beta yet, but eh :P http://bundles.openttdcoop.org/iron-horse/push/LATEST/
19:57:45 <andythenorth> you should probably play with default vehicles though
19:57:49 <andythenorth> for balance reasons
19:58:00 <andythenorth> I would test these patches too
19:58:05 <andythenorth> if I had a clean compile :P
20:03:31 <Wolf01> https://img-9gag-fun.9cache.com/photo/a6OLzLN_700b.jpg andythenorth
20:06:25 <andythenorth> Wolf01: FIRS in lego?
20:06:34 <Wolf01> Yeah, why not?
20:07:02 <andythenorth> it's a series, looks like a coal mine too?
20:07:07 <andythenorth> looks like Faller HO buildings
20:07:41 <andythenorth> https://cdn8.bigcommerce.com/s-25a06/images/stencil/1280x1280/products/2769/4451/130945_fg_02__98342.1383259625.jpg?c=2?imbypass=on
20:11:52 <Wolf01> https://www.reddit.com/r/lego/comments/8pa8dt/latest_version_of_the_industrial_zone_i_am/
20:12:46 <Wolf01> https://www.flickr.com/photos/144703642@N05/sets/72157694422497125 seem really good
20:14:43 <Wolf01> https://www.flickr.com/photos/144703642@N05/albums/72157673251490637 the blast furnace is gorgeous
20:14:56 <frosch123> hmm.. dwarf factorio
20:17:31 <andythenorth> yeah he's doing Faller kits
20:17:32 <andythenorth> and FIRS :P
20:18:29 <andythenorth> https://flic.kr/p/GHQwVU
20:19:13 <andythenorth> ]https://www.osbornsmodels.com/ekmps/shops/osbornsmodels/images/faller-130474-ho-scale-cement-works-[3]-15842-p.jpg
20:19:21 <andythenorth> I considered same for game sprites
20:19:28 <andythenorth> did I do a concrete works?
20:19:29 <andythenorth> hmm no
20:22:42 <frosch123> does hog have a conrete mixing truck?
20:24:05 <andythenorth> nope
20:24:07 <andythenorth> considered it
20:24:16 <andythenorth> what does it deliver though? o_O
20:24:35 <andythenorth> I considered some kind of building site industry, but it's weird
20:24:45 <andythenorth> houses accept concrete? o_O
20:25:48 <nielsm> hmm :s https://0x0.st/slT8.png
20:25:52 <nielsm> it didn't do that before
20:26:06 <nielsm> I've also seen helipad sprites overlap the helipad recently
20:26:14 <nielsm> helipad overlapping helicopter *
20:26:43 <frosch123> ctrl+B
20:27:00 <frosch123> (does it need dev tools active?)
20:27:21 <nielsm> I do have the dev tools enabled
20:28:21 <nielsm> doesn't reproduce reliably, seems to also depend on position of vehicles on screen
20:28:23 <frosch123> hmm, you mean "recently"? try without 25ab9c19?
20:28:59 <nielsm> the sprite sorting performance patch, I presume?
20:29:12 <frosch123> yes
20:29:30 <frosch123> i did not check the last version, so no idea what it actually did
20:30:01 <frosch123> but spritesorting is not well-defined, so always magical :)
20:30:13 <nielsm> recompiling
20:31:47 <nielsm> yeah not immediately seeing anything with that reverted
20:37:27 <nielsm> this is pretty good, if I am to say myself: https://0x0.st/slTZ.jpg
20:37:41 <nielsm> (cargo amounts, profits)
20:42:42 <andythenorth> so this rescales pax generation per house?
20:42:52 * andythenorth didn't read all the memos
20:43:04 <nielsm> yes
20:43:33 <nielsm> https://0x0.st/slTN.png if you want some numbers
20:43:47 <nielsm> I'm playing with the bitcount2 algorithm here
20:44:08 <nielsm> the numbers are pax generated across 5000 tile ticks
20:45:00 <andythenorth> I'm not going to ask how you raised the floor while compressing the ceiling :)
20:45:11 <andythenorth> but it might make a big worthwhile difference to the game
20:45:17 <andythenorth> as long as it doesn't get too compressed
20:45:20 <nielsm> https://0x0.st/slTc.png
20:45:40 <nielsm> it's actually that the original is scaled by roughly n^2
20:46:38 <andythenorth> very silly :)
20:47:13 <andythenorth> explains a lot
20:48:39 <nielsm> those 5000 tile ticks is a little more than 47 years
20:50:23 <nielsm> which means a size 5 house might generate 2 passengers in a good year with the original algorithm
20:51:35 *** glx has joined #openttd
20:51:35 *** ChanServ sets mode: +v glx
20:52:18 <nielsm> while a size 200 house would spew 1000 passengers out every year
20:58:14 <andythenorth> oof
21:05:18 <Wolf01> Mmmh, my city is completely locked up on a huge traffic jam... I need to put more roads and fewer houses
21:13:31 <nielsm> well even with this it can still be difficult to control: https://0x0.st/slTp.jpg
21:15:18 <andythenorth> well
21:15:20 <nielsm> (cargodist probably makes the numbers bigger than they strictly need to be)
21:15:26 <andythenorth> it's still a transport game :)
21:15:38 <nielsm> true, it needs stuff to transport :P
21:15:56 <nielsm> though the abundancy of cargo might make the game part too easy
21:16:04 <andythenorth> you need metro trains :P
21:19:48 <nielsm> I'd really like to lower the chance of generation just a bit, but making a 1:3 chance with bits is annoying (I don't want to work it out atm)
21:21:44 <frosch123> scale the population? fake_population = setting * real_population / 16 with setting 8..23 or something
21:22:48 <frosch123> somewhen i wondered whether there is too little mail to transport
21:26:32 <nielsm> I think the best way to adjust generation of the bitcount alg is to adjust this probability: https://github.com/nielsmh/OpenTTD/blob/4534256e273c7d70bfdb1aca2d1d0302a1b1f99e/src/town_cmd.cpp#L536
21:27:53 <nielsm> a 1:3 chance could maybe be counting bits set of two chosen equals to bits set in six chosen
21:28:13 <frosch123> 5/16 is pretty much 1:3
21:30:04 <nielsm> I'll try switching to the flat distribution low range alg instead
21:30:15 <nielsm> see if the amounts feel better here
21:30:48 <frosch123> how much is the flat/gaussian distribution noticeable?
21:31:24 <frosch123> the more houses there are the more both are averaged
21:31:45 <frosch123> i think making them very variadic for low house amounts makes the game more interesting
21:32:45 <nielsm> I don't really notice it, I guess
21:34:14 <nielsm> https://0x0.st/slTx.png <- changed alg in jan 1960
21:35:10 <nielsm> the bus in the small town makes significantly less profit now
21:41:25 <nielsm> the low-range flat distribution is probably better from a difficulty perspective, although my perception might be skewed by experience ;)
21:42:47 <nielsm> the medium and high levels would seem to make passengers too easy to profit on but are probably interesting for optimization challenge games
21:43:06 <frosch123> well, the total amount of passengers is one thing. but i wonder whether it is possible to actually make the amounts vary, or how many houses does to take to average out any deviations
21:43:19 <nielsm> binomial might be interesting for realism nerds (since it kind-of simulates individual coin flips per potential pax)
21:43:40 <nielsm> but should probably also be tuneable in how much it generates
21:43:46 <frosch123> i think "realism" is a big trap here
21:44:24 <frosch123> if your algorithm has many small random elements, they average out, and in the end there is no randomness
21:44:36 <frosch123> that's kind of what happens with "smooth economy"
21:45:04 <frosch123> if has many small adjustmnets whcih cancel each other out, so there is rarely a big change like with "non-smooth economy"
21:45:11 <nielsm> right, "nothing big ever really happens"?
21:45:26 <frosch123> same applies to ecs. it models so many small details which cancel/average each other, that in the end it does not have any effect
21:46:32 <frosch123> so, i would always go for something that makes the game more diverse than realistic :)
21:46:49 <nielsm> I'm too tired to set anything up now, but my sim could probably be used to build a "full town sim" kind of thing
21:46:59 <nielsm> https://gist.github.com/nielsmh/406dfdcb0f2232b4a4bb507096cea725
21:47:00 <frosch123> diverse can make the game interesting, realism can be quite boring
21:47:39 <andythenorth> frosch123: there is too little mail to transport
21:47:49 <andythenorth> or it needs adjusted in newgrf, by increasing value
21:47:52 <frosch123> nielsm: you computed average amounts, can you also compute a standard deviation?
21:49:00 <frosch123> andythenorth: currently nielsm's patch had one setting to adjust 3/4 things: 1. amounts of pax, 2. amount of mail, 3./4. variation fo pax/mail amounts
21:49:20 <frosch123> i try to figure out whether 1. and 2. should be different settings, and whether 3./4. is noticeable at all :)
21:50:03 <nielsm> stddev is probably most interesting if you look at a "whole town" sim, i.e. generation for a cluster of buildings in catchment area of a station
21:50:46 <frosch123> huh? for whole town sim the distribution per house does not matter. it all averages out to the "expected value"
21:50:53 <nielsm> and then sum up a month of values at a time
21:51:22 <frosch123> with gaussian distribution
21:51:50 <frosch123> you can only make small towns interesting, big towns will always be boring :p
21:52:24 <frosch123> (wrt. continuous cargo generation)
21:57:55 <andythenorth> I suspect variation is rarely useful
22:08:39 <andythenorth> I am curious about variation between towns
22:08:53 <andythenorth> and whether there's a single factor that could be exposed to GS or something
22:10:58 <nielsm> something like residents in one town being more likely to take transit than in another town?
22:11:22 <nielsm> I think station rating already covers that plenty
22:11:38 <andythenorth> I was thinking of total generation
22:11:46 <andythenorth> e.g. some towns might like to travel more than others :P
22:11:54 <nielsm> unless you want towns with super angry mayors running smear campaigns against you :P
22:12:10 <andythenorth> tie it to advertising campaign :P
22:12:28 <andythenorth> I only ever use 'bribe' though, dunno what those others do
22:12:43 <nielsm> ad campaign literally raises station ratings
22:12:57 <nielsm> temporarily
22:13:42 <nielsm> building status gives a permanent station rating boost to stations near the town center
22:14:09 <nielsm> (I don't know if it ties to the town zones, population, or just a fixed range)
22:14:22 <nielsm> statue*
22:15:08 <nielsm> funding new buildings is almost always a waste
22:16:22 <frosch123> "commuter towns" vs "tourism towns"
22:16:49 <nielsm> now you're getting into simutrans turf aren't you :P
22:17:11 <andythenorth> one day there'll be a reason to deliver goods
22:17:19 <frosch123> no idea, haven't looked at it in 12 years
22:17:44 <nielsm> play tropical climate and deliver both food and water
22:20:14 <andythenorth> meh :)
22:20:24 <andythenorth> I liked arctic for food above snowline
22:20:36 <andythenorth> everything I want is in GS already
22:20:40 <andythenorth> but GS are single-purpose
22:20:43 <frosch123> toyland is evil
22:20:53 <frosch123> when towns grow they switch from accepting sweets to fizzy drinks
22:20:56 <andythenorth> oof
22:21:02 <andythenorth> that is evil
22:21:30 <frosch123> if you want a constant acceptance for sweets you either have to move the station or prevent the town from growing
22:22:00 <andythenorth> ha ha
22:46:17 *** lugo has joined #openttd
22:54:19 *** lugo has quit IRC
23:02:34 *** andythenorth has quit IRC
23:33:34 *** tokai has joined #openttd
23:33:34 *** ChanServ sets mode: +v tokai
23:58:38 *** matt21347 has quit IRC