IRC logs for #openttd on OFTC at 2014-05-27
            
00:01:49 <Rubidium> come on, if it's a Windows phone... it should just run the Windows version of OpenTTD
00:10:16 <steili> Just wait for MSVC for Windows Phone.. :p
00:11:12 *** Djohaal has joined #openttd
00:13:56 *** Pereba has joined #openttd
00:22:37 *** RageRiot| has quit IRC
00:25:45 <Superuser> no, it will not
00:25:52 <Superuser> windows phones are ARM
00:25:59 <Superuser> so they have to be compiled for that architecture specifically
00:56:07 <steili> I meant MSVC that _runs_ on W8 (and it was a joke.. :)
01:10:01 *** HerzogDeXtEr has quit IRC
01:10:01 *** phmadore has quit IRC
01:11:47 *** phmadore has joined #openttd
01:29:30 *** Snail has joined #openttd
01:34:33 *** Kurimus has quit IRC
01:34:57 *** Kurimus has joined #openttd
01:53:04 *** glx has quit IRC
01:59:33 *** MJP has quit IRC
02:10:17 *** yorick has quit IRC
02:17:45 *** luaduck is now known as luaduck_zzz
02:24:40 *** __ln__ has joined #openttd
02:33:07 *** strohalm has quit IRC
02:33:07 *** stroh has joined #openttd
03:00:46 *** George has quit IRC
03:02:09 *** George has joined #openttd
03:20:21 *** George has quit IRC
03:21:45 *** George has joined #openttd
03:34:37 *** Djohaal has quit IRC
03:37:14 *** George has quit IRC
03:49:30 *** Snail has quit IRC
04:16:14 *** KWKdesign has quit IRC
04:16:22 *** KWKdesign has joined #openttd
04:56:02 *** Eddi|zuHause has quit IRC
04:56:16 *** Eddi|zuHause has joined #openttd
05:05:36 *** George has joined #openttd
05:46:25 *** Hazzard has quit IRC
05:55:47 *** tokai|noir has joined #openttd
05:55:47 *** ChanServ sets mode: +v tokai|noir
06:01:56 *** tokai|mdlx has quit IRC
06:23:10 *** Midnightmyth has joined #openttd
06:37:51 *** pthagnar has quit IRC
06:40:43 *** Flygon has joined #openttd
06:40:43 *** Flygon_ has quit IRC
07:01:38 *** Pereba has quit IRC
07:10:16 *** LSky` has joined #openttd
07:18:42 *** Myhorta has joined #openttd
07:22:33 *** Midnightmyth has quit IRC
08:01:13 *** Myhorta has quit IRC
08:06:22 <planetmaker> http://www.informationisbeautiful.net/visualizations/million-lines-of-code/
08:06:31 <planetmaker> good morning :)
08:11:11 <V453000> NUTS in 10 years
08:11:13 <V453000> hi :D
08:12:03 <planetmaker> :)
08:21:47 *** HerzogDeXtEr has joined #openttd
08:31:13 <Supercheese> Still working on FS#4974 ;)
08:31:28 <Supercheese> devs need to stop changing the strings :P
08:34:07 <NGC982> Morning.
08:34:10 <NGC982> :-)
08:56:25 <LSky`> so uh
08:56:26 <LSky`> whats this?
08:56:27 <LSky`> *** Player #1 has left the game (wrong company in DoCommand)
08:58:56 <LSky`> "STR_NETWORK_ERR_CLIENT_COMPANY_MISMATCH"
09:06:41 <planetmaker> LSky`, the client sent a command to the server to do *something*. But he is in the wrong company to be allowed the action the command was sent for
09:07:23 <planetmaker> like, if I send a command to build a train in your depot
09:08:50 <planetmaker> this can also happen, if one command package (e.g. company change) does not reach the server
09:09:02 <planetmaker> so a subsequent command must fail
09:37:26 *** Midnightmyth has joined #openttd
09:38:14 *** HerzogDeXtEr has quit IRC
09:44:23 <__ln__> https://github.com/django/django/pull/2692
09:47:08 <peter1139> Racially charged... right.
09:47:50 <Xaroth|Work> lolz
09:48:04 <Xaroth|Work> Alex is being an idiot as usual :|
09:49:04 <Xaroth|Work> __ln__: https://github.com/django/django/pull/2718
09:51:16 *** MJP has joined #openttd
10:04:57 *** perk11 has joined #openttd
10:11:54 *** montalvo has joined #openttd
10:21:56 *** Aristide has joined #openttd
10:34:50 *** Brumi has joined #openttd
11:02:52 *** sla_ro|master has joined #openttd
11:21:29 *** Aristide has quit IRC
11:22:13 *** Aristide has joined #openttd
11:32:09 *** Supercheese has quit IRC
11:32:39 *** Supercheese has joined #openttd
11:33:13 *** ccfreak2k has quit IRC
11:48:32 *** Pereba has joined #openttd
12:12:23 *** Snail has joined #openttd
12:14:02 *** Myhorta has joined #openttd
12:15:27 *** eQualizer has quit IRC
12:15:40 *** eQualizer has joined #openttd
12:23:53 *** HerzogDeXtEr has joined #openttd
12:24:08 *** Myhorta has quit IRC
12:31:10 *** Myhorta has joined #openttd
12:44:53 *** Snail has quit IRC
13:03:39 *** yorick has joined #openttd
13:04:53 *** Myhorta has quit IRC
13:09:20 *** ccfreak2k has joined #openttd
13:24:45 *** slaca has joined #openttd
13:26:16 *** chrswk has joined #openttd
13:27:22 *** Myhorta has joined #openttd
13:47:21 <Eddi|zuHause> https://www.youtube.com/watch?v=7H0ctnAL3jo
13:59:36 <V453000> http://dev.openttdcoop.org/attachments/download/6162/1-C_01.png (:
13:59:55 <V453000> how often do you exercice with him Eddi? :D
14:01:50 <planetmaker> nice forest, V453000 :)
14:02:23 <V453000> it actually is 4x4 so the trees also are slightly wtfsized (:
14:02:32 <Eddi|zuHause> V453000: fun fact: his wife is called "the yeti" :p
14:02:49 <V453000> nice enough :D
14:03:14 <Eddi|zuHause> (not entirely sure why. but maybe because she never is seen in any of his videos)
14:03:45 <V453000> :D
14:03:48 <V453000> good
14:03:53 <V453000> YETI will also never be seen
14:23:41 *** chrswk has quit IRC
14:29:39 <Aristide> Sport is bad
14:38:28 *** Midnightmyth has quit IRC
14:42:38 *** Myhorta has quit IRC
14:43:53 *** steili has quit IRC
15:06:48 *** rambo has joined #openttd
15:07:22 *** rambo is now known as Guest11763
15:13:00 *** Guest11253 has quit IRC
15:15:18 *** Alberth has joined #openttd
15:15:18 *** ChanServ sets mode: +o Alberth
15:15:51 <slaca> could anyone check that the infra_foundation newgrf works on linux?
15:16:00 <slaca> its good on win but not on linux
15:22:11 <Alberth> why does it fail?, or perhaps how?
15:22:59 <Alberth> copied the openttd.cfg from windows to unix, and using backslashes in paths to the newgrf ?
15:23:19 <slaca> no, i use totally new config
15:23:20 *** luaduck_zzz is now known as luaduck
15:23:24 <slaca> default
15:24:55 <Alberth> the OS doesn't do anything with interpreting the newgrf content, openttd does that in both cases, so the same grf should work exactly the same at both platforms
15:25:11 <Alberth> and I don't know any example where that is not the case
15:25:14 <slaca> i only load the foundation grf, and it looks like the isr foundations and not like the default, but definitly not like the infra
15:26:01 <slaca> its a bit weird
15:27:34 <slaca> i keep trying to figure it out
15:28:09 <Alberth> there is no "foundation" grf on bananas
15:28:44 <Alberth> checked the contents of openttd.cfg?
15:29:03 <Alberth> you start a new game, instead of loading one?
15:29:38 <Alberth> you did you "load" it into the default configuration?
15:29:52 <slaca> the grf is from simuscape
15:30:00 <slaca> started a new game
15:31:20 <Alberth> it shows up in the newgrf settings window?
15:31:34 <slaca> yes, of course
15:31:50 <slaca> and i apply it
15:31:51 <Alberth> after starting the game, did you check whether it loaded correctly?
15:32:05 <slaca> yes, its "green"
15:32:15 <Alberth> oke
15:32:58 <planetmaker> and you have no newgrf in your list after it which replaces foundations (again)?
15:33:13 <Alberth> make a screenshot with the opened newgrf window, and a foundation that is wrong, and post it at simuscape
15:33:21 <planetmaker> anyhow, like Alberth said: same newgrf config gives same result. Independent of OS
15:33:21 <Alberth> ie ask the author
15:33:34 <slaca> no i said i didnt load any other newgrf
15:33:54 <planetmaker> different parameters or climate?
15:34:30 <Alberth> the only differences between windows and linux are upper vs lower case filenames, and / versus \ directory paths
15:34:31 <slaca> tried 2 climates, I don't know about its parameters, probably there is no parameters for it
15:34:45 <Alberth> but that causes failure to load, which is not happening
15:34:51 <planetmaker> we can't know. It's not a publicly available NewGRF
15:34:55 <slaca> have you tried this grf too planetmaker?
15:35:05 <slaca> i can send u to try
15:35:25 <slaca> or can be downloaded from simuscape
15:35:45 <planetmaker> I see there no download
15:35:50 <planetmaker> it's a gated community
15:36:01 <slaca> you have to register
15:36:09 <planetmaker> just ask the author of the grf
15:36:22 <slaca> and you can download
15:36:22 <planetmaker> s/he should know what it shall provide
15:37:09 <slaca> SAC is the author, but would be nice to know that the problem is here or it happens with others too
15:38:18 *** pthagnar has joined #openttd
15:39:22 <slaca> possible that only works on windows?
15:39:29 <planetmaker> not possible
15:39:31 <slaca> ok
15:39:33 <slaca> thx
15:39:51 <planetmaker> it may work only with a specific version of OpenTTD. But that's independent then of the OS
15:40:11 <slaca> i use 1.4.0 both on win and linux
15:40:13 <planetmaker> it then should work with that version on all OS
15:40:36 <planetmaker> a NewGRF has no means to detect the OS OpenTTD runs on
15:42:28 *** Progman has joined #openttd
15:44:29 <slaca> which one is the correct folder to copy my newgrf which arent on bananas?
15:45:08 <slaca> .openttd/content_download/data?
15:45:34 <planetmaker> section4 in the readme ;)
15:45:42 <slaca> or should i copy them next to the downloaded .tar files
15:45:48 <planetmaker> content_download is for OpenTTD only. .openttd/newgrf
15:47:12 <slaca> thx
15:47:37 <slaca> but then what files should be in .openttd/content_download/data?
15:47:48 <planetmaker> none
15:48:07 <planetmaker> everything in content_download should be exclusively placed there by OpenTTD itself
15:48:31 <planetmaker> those things which you obtained via ingame *content download*
15:49:01 <planetmaker> and the data folder is deprecated for years
15:49:15 <planetmaker> so it's not used (anymore). Though still read for legacy reasons
15:49:24 <slaca> maybe i made that folder there?
15:49:35 <planetmaker> likely
15:49:45 <slaca> or just empty folder?
15:53:28 *** Belugas has quit IRC
16:00:06 *** Midnightmyth has joined #openttd
16:08:37 <slaca> ok, it works good
16:08:43 <slaca> i was the fool
16:09:33 <slaca> i thought its that grf, but not my favourite foundations is from another grf, but dont know from which one :)
16:10:20 <slaca> planetmaker: can I use somehow the windmill from the opengfx landscape with the original graphics?
16:11:03 *** Aristide has quit IRC
16:14:07 <planetmaker> I don't recall whether I added such parameter
16:14:34 <planetmaker> but likely not
16:16:25 <planetmaker> hm... possibly I actually did
16:17:47 *** Aristide has joined #openttd
16:19:56 <planetmaker> I must have been in a good mood when I added that parameter ;)
16:20:08 <slaca> :)
16:20:26 <slaca> provide field and ground sprites off?
16:20:40 <planetmaker> whatever you want :)
16:20:45 <slaca> :)
16:20:46 <slaca> thx
16:29:37 *** steili has joined #openttd
16:38:22 <steili> Hi guys! Any advise on how I can increase n.o. items in the TownSize (town_type.h) enum from 4 to 5? After just inserting an extra item between TSZ_RANDOM and TSZ_END, I get an assertion error in cmd_help.h (assert_tcompile(N == EnumPropsT<T>::num_bits)). I suspect I need to delegate more storage to the enum, so I've been looking at this line: template <> struct EnumPropsT<TownSize> : MakeEnumPropsT<TownSize, byte, TSZ_SMALL, TSZ_END, TSZ_END,
16:38:29 <steili> It's a while since I coded in c++ (let alone using templates!), so I'm not sure how to fix it though. Any ideas?
16:43:45 <Alberth> the "2" is related to @param Tnum_bits Number of bits for storing the enum in command parameters, where 2^2 is 4, so that seems like the limit :)
16:43:53 <planetmaker> steili, just look at the next line, town_type.h:29
16:45:03 <steili> Yes, I've know it's there, but I don't know what to do with it :) I tried increasing the last paramter to 3, with no effect
16:45:16 <planetmaker> no idea in which commands it is used. But just increasing the size of a variable which is bit-stuffed into commands needs very careful inspection
16:45:28 <planetmaker> it might not be possible without major rewrite of some commands
16:45:42 <steili> hmm
16:45:54 <steili> ok, I'll look into it
16:46:31 <Alberth> such asserts usually mean some code is very much dependent on the current setup
16:46:46 <planetmaker> yup :)
16:47:27 <steili> allright.. I've been coding in Python for the last few years, so I have to read up on all this memory handling in c++ :)
16:48:04 <Alberth> that could be anything from some well-defined bitpatterns, to no more room in some value, to having it fixed in newgrf specs
16:48:24 <Alberth> or in save games
16:50:21 <planetmaker> I think I can exclude newgrf in this case. afaik it's a setting for town generation
16:50:38 <planetmaker> but as you can found towns ingame, it needs to be a command and MP safe
16:52:27 <planetmaker> steili, what do you actually try to achieve?
16:55:02 <steili> planetmaker: I'm trying to implement a lower and upper population limit for random generation of towns, but I would also like to keep the default random town creation algorithm, so I added a new value to the enum, TSZ_RANDOM_FIXED
16:56:01 <planetmaker> steili, why not simply add two new variables / settings which define upper and lower bound for random?
16:58:09 <steili> planetmaker, It's a lot of ways of doing this, but I'm mainly doing it to learn and get to know the code, and understanding the errors is a vital part of that process :)
16:58:24 <planetmaker> sure is :)
16:59:09 <planetmaker> and our code has many bear traps hidden ;)
16:59:44 <steili> hehe, seems like it!
17:02:58 <planetmaker> but then, there's 300k+ LOC to hide them. So there's a little space between them ;)
17:05:37 <V453000> 300k is a lot of locomotive space
17:06:01 *** glx has joined #openttd
17:06:01 *** ChanServ sets mode: +v glx
17:06:40 <planetmaker> https://www.ohloh.net/p/openttd
17:08:18 <steili> @planetmaker: Didn't see your comment about ingame placing of towns. That seems to be the problem - the founding of towns at map generation time works flawless, but the assertion error arises when I try to found games in-game.
17:08:29 <steili> *found towns
17:09:22 <planetmaker> "that assertion"? You only quoted a compile-time assertion so far :)
17:11:37 <steili> No, sorry, compiling is no problem, I probably stated my problem the wrong way
17:12:41 <planetmaker> I get an assertion error in cmd_help.h (assert_tcompile(N == EnumPropsT<T>::num_bits)) <-- hm?
17:15:02 <steili> When I run it in debug mode and try to found a town ingame, I get a popup with this error: "Assertion failed! Program: <path to cmd_helper.h> line 29
17:15:43 <steili> Sorry, 2 seconds, I managed to to X the error message
17:18:15 *** Myhorta has joined #openttd
17:18:51 <steili> Okey, this is what the error says: Expression: N == EnumPropsT<T>::num_bits
17:21:04 <planetmaker> well, yes, seems that exactly that is the case: the bits are stuffed in a command parameter. And less are extracted than expected :)
17:23:19 <steili> planetmaker: Yea, I think I understand it. I found exactly such a reference in town_cmd.cpp - just now :)
17:28:59 <V453000> 100% legit clay pit
17:28:59 <V453000> http://dev.openttdcoop.org/attachments/download/6165/1-B_01.png
17:28:59 <steili> planetmaker, Alberth: Thanks for the help - changing that parameter fixed the problem :) It was indeed hardcoded in a command parameter.
17:29:01 <V453000> ez
17:29:52 <planetmaker> scary shit. That's the bottom of a spiked pit from prince of persia or so? :P
17:30:35 <V453000> yeah could be
17:30:35 <V453000> :D
17:31:16 <V453000> not to mention that it took 15 minutes to render :|
17:31:22 <planetmaker> honestly it looks that much like a maze of stalagmites that it doesn't resemble a pit in my eyes. Or any mine
17:31:32 <steili> looks like it! :) that was my favourite game back in the days
17:31:37 <steili> https://www.youtube.com/watch?v=_zyQ_OVyhNE
17:31:58 <V453000> well yeah, I just went over the top with displacement :P
17:35:48 <V453000> k :( http://dev.openttdcoop.org/attachments/download/6166/1-B_02.png REALISM REASONS
17:36:41 <V453000> crystalized clay?
17:36:54 <Xaroth|Work> V453000: quarry?
17:37:03 <V453000> clay pit whatever
17:37:23 <planetmaker> haha. crystalized clay :). You get that at the same temperature as crystalized water ;)
17:37:50 <V453000> guess that is cold, perfect for yetis
17:38:14 <planetmaker> then have them cut the stone with a saw? :)
17:38:42 <planetmaker> and then shredder it to make it clay-like :D
17:38:56 <planetmaker> or heat / melt
17:39:18 *** frosch123 has joined #openttd
17:39:23 <V453000> INEFFICIENT
17:39:26 <V453000> ask frog
17:39:31 <planetmaker> does it matter? :)
17:39:41 <V453000> NO (:
17:39:56 <planetmaker> they're yetis. They're somewhat dump.
17:40:01 <planetmaker> More so when they take a dump
17:40:05 <planetmaker> or work in a dump
17:40:35 <V453000> yeah, also the heap of shit on livestock farm with a sign REALISM is completely coincidental
17:40:55 <V453000> random dump expressing itself
17:41:46 *** gelignite has joined #openttd
17:42:58 <planetmaker> laters
17:43:14 <V453000> baiz
17:45:44 <DorpsGek> Commit by translators :: r26619 /trunk/src/lang (4 files) (2014-05-27 17:45:34 UTC)
17:45:45 <DorpsGek> -Update from WebTranslator v3.0:
17:45:46 <DorpsGek> catalan - 3 changes by juanjo
17:45:47 <DorpsGek> english_AU - 2 changes by mrtux
17:45:48 <DorpsGek> english_US - 29 changes by Supercheese
17:45:49 <DorpsGek> korean - 2 changes by telk5093
17:46:14 <Alberth> definitely worth 15 minutes cpu time :)
17:49:13 *** montalvo has quit IRC
17:50:05 <Eddi|zuHause> "this nuclear waste accident happened because we switched the kitty litter to organic"
17:51:03 <V453000> the "normal" one takes just a couple minutes Alberth :)
17:51:26 <Alberth> :)
17:51:47 <Alberth> those are not hairy enough perhaps ;)
17:55:34 *** Wolf01 has joined #openttd
17:55:42 <Wolf01> hi hiù
18:01:18 *** RageRiot| has joined #openttd
18:06:08 <Alberth> o/
18:17:20 *** Aristide has quit IRC
18:17:31 *** Aristide has joined #openttd
18:33:42 *** andythenorth has joined #openttd
18:33:44 <andythenorth> o/
18:35:34 <Alberth> o/
18:35:44 <Wolf01> o/
18:35:47 *** montalvo_ has joined #openttd
18:36:43 <andythenorth> º/
18:36:49 <andythenorth> •/
18:36:51 <andythenorth> o/
18:36:56 <andythenorth> (animation)
18:37:10 <Supercheese> \o
18:37:10 *** montalvo_ has quit IRC
18:37:12 * Supercheese is a rebel
18:37:25 <andythenorth> without a cause
18:38:15 <Wolf01> mmmh boring slow internet
18:38:55 <Supercheese> I had a job drilling holes once, that was really boring ;)
18:39:18 <Wolf01> :)
18:39:30 <Wolf01> with a mole, I hope, not by hand
18:42:39 *** montalvo_ has joined #openttd
18:43:48 *** montalvo has joined #openttd
18:45:15 *** rambo has joined #openttd
18:45:40 *** Vadtec has quit IRC
18:45:40 *** montalvo has quit IRC
18:45:44 *** rambo is now known as Guest11774
18:48:13 <andythenorth> moles live in holes
18:48:15 <andythenorth> in the ground
18:48:19 <andythenorth> they can never be found
18:51:06 <Alberth> send in the yetis
18:51:36 *** Guest11763 has quit IRC
18:51:57 <Supercheese> Release the Kraken
18:53:44 <Supercheese> that's in NUTS, innit?
18:54:53 *** Aristide has quit IRC
18:55:01 *** Vadtec has joined #openttd
18:58:08 <V453000> nuts aint got no kraken
18:58:18 <Supercheese> D:
19:00:52 *** Aristide has joined #openttd
19:09:08 *** Myhorta[1] has joined #openttd
19:11:33 * andythenorth reads a diff with145 separate changes :(
19:13:33 *** Myhorta has quit IRC
19:29:10 *** zeknurn has quit IRC
19:48:37 *** zeknurn has joined #openttd
19:50:01 *** Aristide has quit IRC
19:51:06 *** Alberth has left #openttd
19:52:32 *** KritiK has joined #openttd
20:06:04 *** Myhorta[1] has quit IRC
20:09:09 *** Myhorta has joined #openttd
20:15:24 *** steili has quit IRC
20:30:16 *** sla_ro|master has quit IRC
20:32:59 *** RageRiot- has joined #openttd
20:34:58 *** Midnightmyth has quit IRC
20:36:54 *** RageRiot| has quit IRC
20:48:53 *** HerzogDeXtEr has quit IRC
20:52:26 *** phmadore has quit IRC
20:53:53 *** phmadore has joined #openttd
21:01:19 *** Belugas has joined #openttd
21:01:19 *** ChanServ sets mode: +o Belugas
21:03:24 *** bryjen has joined #openttd
21:04:18 <Eddi|zuHause> http://www.ustream.tv/recorded/47947981
21:07:02 *** andythenorth has quit IRC
21:09:07 *** Chrill has joined #openttd
21:09:14 *** Chrill has left #openttd
21:10:52 *** Speedy` has joined #openttd
21:11:08 *** Speedy` is now known as Speedy
21:28:02 *** lofejndif has joined #openttd
21:46:03 *** slaca has quit IRC
21:53:37 *** frosch123 has quit IRC
21:55:18 <Wolf01> 'night
21:55:23 *** Wolf01 has quit IRC
22:09:01 *** Progman has quit IRC
22:14:05 *** gelignite has quit IRC
22:23:23 *** Guest11774 has quit IRC
22:27:29 *** lofejndif has quit IRC
22:35:20 *** fkinglag1 has joined #openttd
22:37:50 *** fkinglag has quit IRC
22:44:55 *** bryjen has quit IRC
22:49:36 *** LSky` has quit IRC
22:50:16 *** Flygon has quit IRC
22:50:18 *** Flygon has joined #openttd
23:10:06 *** Aristide has joined #openttd
23:12:04 *** Brumi has quit IRC
23:12:15 *** Brumi has joined #openttd
23:13:20 *** Djohaal has joined #openttd
23:18:22 *** jrambo has joined #openttd
23:21:12 *** KritiK has quit IRC
23:26:56 *** Aristide has quit IRC
23:27:25 *** Myhorta has quit IRC
23:30:06 *** Myhorta has joined #openttd
23:33:26 *** Hazzard has joined #openttd
23:36:02 *** yorick has quit IRC
23:46:02 *** RageRiot- has quit IRC
23:50:48 *** Brumi has quit IRC