IRC logs for #openttd on OFTC at 2015-07-11
⏴ go to previous day
00:11:17 *** HerzogDeXtEr has joined #openttd
00:25:09 <Eddi|zuHause> oh yay, another SkiddLow set! i can't get enough of those
00:28:49 *** Supercheese is now known as Guest4649
00:28:54 *** Supercheese has joined #openttd
00:43:52 *** JacobD88 has joined #openttd
00:56:11 *** Xaroth_ has joined #openttd
02:30:31 *** argoneus has joined #openttd
03:11:05 *** Hiddenfunstuff has quit IRC
04:24:52 *** HerzogDeXtEr has joined #openttd
04:24:52 *** Defaultti has joined #openttd
04:24:52 *** TheMask96 has joined #openttd
04:24:52 *** Stimrol has joined #openttd
04:24:52 *** Sirenia has joined #openttd
04:24:52 *** zeknurn has joined #openttd
04:24:52 *** LadyHawk has joined #openttd
04:24:52 *** Goddesen has joined #openttd
04:24:52 *** lobster has joined #openttd
04:24:52 *** KenjiE20 has joined #openttd
04:24:52 *** michi_cc has joined #openttd
04:24:52 *** NGC3982 has joined #openttd
04:24:52 *** minimoo_ has joined #openttd
04:24:52 *** UukGoblin has joined #openttd
04:24:52 *** dihedral has joined #openttd
04:24:52 *** kais58_ has joined #openttd
04:24:52 *** Cybertinus has joined #openttd
04:24:52 *** lastmikoi has joined #openttd
04:24:52 *** Hirundo has joined #openttd
04:24:52 *** Sheogorath has joined #openttd
04:24:52 *** fonsinchen has joined #openttd
04:24:52 *** Warrigal has joined #openttd
04:24:52 *** Nothing4You has joined #openttd
04:24:52 *** Xaroth|Work has joined #openttd
04:24:52 *** magnet.oftc.net sets mode: +vv glx michi_cc
06:56:16 *** Eddi|zuHause has joined #openttd
07:29:24 *** Alberth has joined #openttd
07:29:24 *** ChanServ sets mode: +o Alberth
08:04:00 *** Pensacola has joined #openttd
08:40:58 *** Progman has joined #openttd
09:15:48 *** FLHerne has joined #openttd
10:30:54 *** JacobD88 has joined #openttd
10:36:35 *** sla_ro|master has joined #openttd
10:51:21 *** Supercheese has joined #openttd
10:55:42 *** frosch123 has joined #openttd
11:08:28 <frosch123> tgp is such bollocks code
11:23:11 <frosch123> that's not what i mean
11:24:52 <frosch123> "(1 + sin((a * 2 - 1))*pi/2) / 2" is just a complicated form to writh "(1-cos(a*pi))/2"
11:30:28 <frosch123> HeightMapSineTransform(12, h_max_new); <- haha, i guess that 12 is the culprit of it all
11:31:16 <frosch123> i guess that fixes 2 fs bugs
11:31:37 <frosch123> because someone was too lazy to add an assertion
11:32:10 <peter1138> Or didn't consider that an assertion was necessary
11:32:25 <peter1138> Didn't think about it because > 16 wasn't possible.
11:32:48 <frosch123> nah, the assertion needs to be put in another function
11:33:11 <frosch123> the variety distribution uses some curves, and determines the position on the curve
11:33:17 <frosch123> but it fails if the position is outside the cuve
11:33:25 <peter1138> variety distribution should fuck off
11:33:27 <frosch123> then the function returns just an unassigned value
11:37:40 <peter1138> unfortunately my better method needs the traditional slower perlin method, and multiple layers of it, hence is vastly slower.
11:38:15 <peter1138> it looks shit with the tgp perlin method as it has aliasing artifacts
11:38:28 <frosch123> funny how HeightMapSineTransform makes assumptions about arctic snow and tropic desert
11:38:33 <frosch123> yet no mhl patch considered that
11:40:38 <frosch123> oi, the 12 is even a fractional number
11:40:45 <frosch123> i wonder what height it really is then
11:41:07 <frosch123> so, it's actually 0.75
11:41:31 <frosch123> hmm, aw, so that was not the issue
11:43:32 *** ChanServ sets mode: +v tokai
11:47:03 *** HerzogDeXtEr has joined #openttd
11:56:58 <frosch123> why write "1/MAX_TILE_HEIGHT" if you could also write "0.2 / 3"...
11:57:23 *** jottyfan has joined #openttd
11:58:46 *** Smedles has joined #openttd
12:01:03 <argoneus> good morning train friends
12:01:50 <argoneus> peter1138: what's wrong with world generation being slow?
12:01:58 <argoneus> it's not something you do every minute
12:07:38 <peter1138> argoneus, I'm talking minutes, not a couple extra seconds.
12:08:44 <argoneus> peter1138: why not have it as an option anyway
12:09:03 <argoneus> look at how long dwarf fortress generation take
12:10:01 <peter1138> Yeah well, there was also the idea that map previous would be nice, and that blows through that idea
12:10:48 *** Hiddenfunstuff has joined #openttd
12:14:59 <argoneus> you can preview with the fast methd
12:15:02 <argoneus> and then use the slow method
12:19:49 *** a_sad_dude has joined #openttd
12:29:43 <peter1138> no, the result is totally different
12:41:28 <DorpsGek> Commit by frosch :: r27328 trunk/src/tgp.cpp (2015-07-11 12:41:20 +0200 )
12:41:29 <DorpsGek> -Codechange: Add an assertion to check for uninitialised variables when tracing variety distribution's control curves.
12:43:40 <DorpsGek> Commit by frosch :: r27329 trunk/src/tgp.cpp (2015-07-11 12:43:34 +0200 )
12:43:41 <DorpsGek> -Fix: Add more height_t type-correctness to TGP code.
12:46:07 *** Alberth has joined #openttd
12:46:07 *** ChanServ sets mode: +o Alberth
12:46:32 <DorpsGek> Commit by frosch :: r27330 trunk/src/tgp.cpp (2015-07-11 12:46:25 +0200 )
12:46:33 <DorpsGek> -Fix [FS#6335]: Make variety distribution not assume that sea level is at height 0.2 / 3 * TGPGetMaxHeight().
12:49:12 <frosch123> otherwise i claim they are bollocks and remove them
12:54:36 <Alberth> I am more worried about the magic 'mh' :)
12:55:20 <Alberth> they are points at 1/3 of the area or so?
12:56:07 <frosch123> they describe a curve to to map heights in range 0..1 to a new height in range 0.1
12:56:24 <frosch123> mostly reducing the amount of high values
12:56:26 <Alberth> hmm, it's supposed to be a fraction, 2.4 doesn't make sense at all
12:56:46 <frosch123> the values are sorted from left to right
12:57:30 <frosch123> so it you have to know that 0.0 < 1.2/3 < 2.0/3 < 5.5/6 < 1.0 :)
12:57:41 <frosch123> it breaks if they are not sorted
12:58:09 <Alberth> it's a sequence of linear interpolations probably
12:58:46 <Alberth> ditching the division seems fine to me
13:08:42 <Alberth> maybe add a remark about increasing x, although it's not that relevant
13:12:30 <frosch123> replacing numbers with other numbers without knowing what they mean seems the be driving schema behind mhl
13:15:41 <frosch123> ah, they were added in r26999
13:16:07 <frosch123> looks like someone tried to not round values with /3 and thought that fractions make sense with floats
13:17:31 <Alberth> especially fractions other than of a poer of 2 :p
13:18:31 <DorpsGek> Commit by frosch :: r27331 trunk/src/tgp.cpp (2015-07-11 13:18:24 +0200 )
13:18:32 <DorpsGek> -Cleanup (r26999): Make variety distribution curves more sane.
13:31:58 *** Supercheese has joined #openttd
13:58:46 *** _nowhere_ has joined #openttd
14:02:51 *** Wormnest has joined #openttd
14:47:44 *** a_sad_dude has joined #openttd
15:01:16 *** smoke_fumus has joined #openttd
15:50:45 *** andythenorth has joined #openttd
16:37:32 *** HerzogDeXtEr1 has joined #openttd
17:13:48 *** Alberth has joined #openttd
17:13:48 *** ChanServ sets mode: +o Alberth
17:13:59 <andythenorth> the decision was made to keep original vehicles in the game?
17:14:04 <andythenorth> even with newgrf?
17:14:46 <Alberth> newgrf decides that doesn't it?
17:15:01 <andythenorth> now not apparently
17:15:16 <andythenorth> I pulled trunk yesterday
17:15:21 <andythenorth> first time in a while
17:15:56 <andythenorth> now default monorail appears alongside Iron Horse
17:28:42 *** frosch123 has joined #openttd
18:26:51 *** andythenorth has joined #openttd
18:54:33 *** JacobD88 has joined #openttd
18:55:42 *** andythenorth has joined #openttd
19:02:32 *** tokai|noir has joined #openttd
19:02:32 *** ChanServ sets mode: +v tokai|noir
19:13:47 *** Alberth has joined #openttd
19:13:47 *** ChanServ sets mode: +o Alberth
19:21:41 <Zuu> andythenorth: have you had any success with the GS->NewGRF patch?
19:21:58 <andythenorth> sorry haven’t patched yet :)
19:22:07 <andythenorth> other things to do
19:52:21 <Alberth> hmm, always nice when glibc selects a non-existing include file for you :p
19:57:59 *** sla_ro|master has joined #openttd
21:07:55 *** andythenorth has joined #openttd
21:19:14 <andythenorth> log cat is quiet
21:45:17 <andythenorth> this wired thing looks interesting
21:56:51 <Alberth> it's a stupid question, that has been asked a zillion times already :)
22:04:41 <a_sad_dude> while you're talking stupid questions, is a GS required to run a simple company value goal server or am i missing a setting somewhere?
22:05:20 <Alberth> depends on your notion of 'goal'
22:05:53 <a_sad_dude> well something that displays in the goal list and ends the game once achieved
22:05:55 <Alberth> by default openttd doesn't steer users much nor monitors them
22:06:25 <Alberth> for that kind of goals, yes, you need a GS
22:06:45 <ST2> ... or a software controller that listens admin port
22:07:33 <Alberth> basically, everybody has a different idea about what a goal is, so it got moved to Squirrel and everybody can implement his own ideas
22:08:15 <a_sad_dude> ...i made yet another weird economy grf and wanted to test it quickly. guess i'll set up a server without a goal for now
22:10:37 <Alberth> you can just test at a local machine?
22:11:25 <a_sad_dude> well i did that, now i hope someone joins me to play )
22:12:23 <Alberth> start another openttd, and join at localhost :p
22:43:47 *** roidal_ has joined #openttd
23:03:21 *** Smedles has joined #openttd
23:42:06 *** Myhorta has joined #openttd
continue to next day ⏵