Log for #openttd on 17th March 2012:
Times are UTC Toggle Colours
00:00:03  *** valhallasw [~valhallas@] has quit [Quit: leaving]
00:00:09  <Eddi|zuHause> FLHerne: i think that always was there
00:02:11  <Yexo> Ricaz: only in scenario editor
00:02:23  <FLHerne> It isn't in Chill's Patchpack
00:02:53  <Wolf01> 'night
00:02:57  *** Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
00:03:00  <FLHerne> Finally! my small patch collection (seems to) work :D
00:03:07  <FLHerne> Bed now
00:03:08  <Terkhen> good night
00:03:13  <FLHerne> Night
00:03:15  *** FLHerne [] has left #openttd []
00:06:21  *** GT [] has joined #openttd
00:08:11  <GT> Give me your opinion on this:
00:10:36  *** peteris [~peteris@] has quit [Quit: Ex-Chat]
00:19:30  *** Biolunar [] has quit [Quit: All your IRC are belong to us]
00:33:22  *** KouDy1 [~KouDy@] has quit [Quit: Leaving.]
00:37:32  *** GT [] has left #openttd []
00:39:14  *** Zuu [] has quit [Ping timeout: 480 seconds]
00:40:29  *** JVassie [~James@] has quit [Ping timeout: 480 seconds]
00:53:17  *** HerzogDeXtEr1 [~Flex@] has quit [Quit: Leaving.]
00:53:17  *** kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-02.NATPOOL.NYU.EDU] has quit [Read error: Connection reset by peer]
00:53:21  *** kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has joined #openttd
00:53:53  *** KritiK [] has quit [Quit: Leaving]
00:53:57  *** HerzogDeXtEr [~Flex@] has joined #openttd
00:58:58  *** pugi [] has quit []
01:12:56  <rane> is there a newgrf or something that adds hotkeys for signals?
01:37:42  *** kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has quit [Ping timeout: 480 seconds]
02:31:53  *** KouDy [~KouDy@] has joined #openttd
02:39:22  *** hbccbh [~hbc@] has quit [Quit: Leaving.]
02:42:54  *** hbccbh [~hbc@] has joined #openttd
02:49:08  *** kkb110 [] has joined #openttd
02:50:00  *** hbccbh [~hbc@] has quit [Quit: Leaving.]
02:53:03  *** Pulec [] has quit []
02:56:52  *** ix [] has joined #openttd
02:58:13  <ix> Is there any way to set duration of time chat messages are displayed? I saw some patches mentioned when I googled for the topic, but couldn't find any such option in stable (debian amd64, 1.1.5-1).
03:00:03  <ix> Could it be the network_chat_timeout variable in the config file, perhaps?
03:01:01  *** hbccbh [~hbc@] has joined #openttd
03:15:28  *** collinp [~collin@] has joined #openttd
03:20:31  <xiong> Hey! CHIPS platforms actually work with FIRS cargoes!
03:20:58  <xiong> I can see crates of ES stacked up. ISRS won't do that.
03:27:57  *** Ricaz [] has quit []
03:39:20  *** kkb110 [] has quit [Ping timeout: 480 seconds]
03:50:22  *** Pikka [] has joined #openttd
03:59:33  *** glx [glx@2a01:e35:2f59:c7c0:3caf:1614:5f76:1f4f] has quit [Quit: bye]
04:04:22  *** Elukka [] has quit []
04:04:58  *** supermop [] has left #openttd []
04:06:33  *** kkb110 [] has joined #openttd
05:14:30  *** andythenorth [] has joined #openttd
05:14:44  <andythenorth> monsieur le bird!
05:18:23  *** andythenorth [] has left #openttd []
05:20:01  *** Rhamphoryncus [] has quit [Quit: Rhamphoryncus]
05:53:59  *** Eddi|zuHause [] has quit []
05:54:20  *** Eddi|zuHause [] has joined #openttd
06:20:52  *** andythenorth [] has joined #openttd
06:37:37  <Pikka> already?
06:37:40  <Rubidium> ix: which messages exactly?
06:38:02  <Pikka> @ andythenorth
06:38:23  <Rubidium> Pikka: what's the version I'm supposed to enter for UKRS?
06:38:41  <Pikka> 0.2.1
06:53:05  <Rubidium> Pikka: it's uploaded now
06:53:43  <Pikka> will I have the same problem when I try to update it?
06:53:52  <Rubidium> no
06:54:00  <Pikka> :)
06:54:05  <Pikka> and the add-on set?
06:54:21  <Rubidium> should be fine as well
06:54:29  <Pikka> ripper :)  thankyou
06:54:51  <Pikka> I'll try and update them both in about an hour.
06:56:45  <Rubidium> the problem was due to other code that was added to check for text files in the lang directory. However, when there was no directory for the txt file it would bail out
06:56:55  <Rubidium> even when that's perfectly fine for the license.txt
07:00:27  *** tokai|noir [] has joined #openttd
07:00:30  *** mode/#openttd [+v tokai|noir] by ChanServ
07:06:15  *** tokai|mdlx [] has quit [Ping timeout: 480 seconds]
07:07:58  *** tokai|mdlx [] has joined #openttd
07:09:11  *** tokai|noir [] has quit [Read error: Operation timed out]
07:11:27  <andythenorth> hmm
07:11:39  <andythenorth> one grf can read another grf's parameters?
07:11:45  <Pikka> yes andy
07:12:11  * andythenorth was poking again at 'what newgrf params could be safely changed during game'
07:12:18  <andythenorth> and the answer comes up 'none' again
07:12:19  <andythenorth> :P
07:12:22  <Pikka> yep
07:12:53  <andythenorth> how vexing
07:13:13  <Pikka> well
07:13:21  <andythenorth> stuff like: livery 'realistic' / '1CC' / '2CC'
07:13:30  <Pikka> yes
07:13:32  <andythenorth> should just be safe to change
07:13:35  <Rubidium> sounds likke andy really likes that "feature" in the specs ;)
07:14:11  <andythenorth> feature?
07:14:22  *** DDR [] has quit [Remote host closed the connection]
07:14:33  <Pikka> other grfs reading the parameter doesn't, in itself, make it more or less safe though
07:14:43  <Pikka> it's just a question of what the various grfs do with it :)
07:14:46  <Rubidium> yes, OpenTTD has to support all "features" from TTDPatch, otherwise OpenTTD will always be bad
07:14:59  <Rubidium> so this "feature" will make OpenTTD less bad
07:15:23  <Pikka> which "feature"are you referring to, Rubidium?
07:15:24  *** Cybertinus [] has quit [Remote host closed the connection]
07:15:55  <Rubidium> the "featue" that a NewGRF can poke into another NewGRF's settings and do all kinds of stuff depending on that
07:16:37  *** Cybertinus [] has joined #openttd
07:16:56  <Rubidium> thus exploding the configuration space and getting all kinds of interdependencies and lovely barely findable bugs
07:17:00  *** tokai|noir [] has joined #openttd
07:17:04  *** mode/#openttd [+v tokai|noir] by ChanServ
07:17:38  <Pikka> :D
07:17:47  <Pikka> devs don't trust newgrf developers much, do they?
07:18:19  <Pikka> I remember I had to argue with Lakie for about two days to stop him putting a switch in TTDPatch that enabled callback 36 (and defaulted to off).
07:19:54  *** DDR [] has joined #openttd
07:21:57  <andythenorth> bah
07:22:43  <Pikka> hamburg
07:22:55  *** tokai|mdlx [] has quit [Ping timeout: 480 seconds]
07:23:54  <andythenorth> what I want is parameters *private to my fricking grf*
07:24:10  <andythenorth> which can only be checked by varact 2, and only during known-safe calls
07:24:30  <andythenorth> set by action 14 menus only
07:27:17  <Pikka> well, all you have to consider is what the likelihood is of someone writing a grf which says "read andy's parameters then CRASHCRASHCRASH".  it's probably not very high.
07:27:33  <andythenorth> it's not me who considers it though :(
07:27:58  <andythenorth> it's those who control the 'thou shalt not change newgrf *anything* in a running game'
07:28:17  <Nat_aS> the HEQS and GRVTS give me random error messages but nothing ever crashes on them.
07:28:34  <andythenorth> Nat_aS: did you raise a bug report?
07:28:36  <Nat_aS> not sure if that's because I mix and match newgrifs into existing scenarios though.
07:28:46  <Nat_aS> not bug reports, just error popups
07:28:54  <Nat_aS> and I don't have it open now so I can't post it here
07:29:02  * Nat_aS is the best user ever.
07:29:13  *** DDR [] has quit [Remote host closed the connection]
07:29:24  <Nat_aS> what IS the difference between GRVTS and HEQS?
07:29:28  <Nat_aS> one have more things?
07:29:48  <andythenorth> try them and see
07:29:51  *** George [~George@] has quit [Read error: Connection reset by peer]
07:29:52  <Pikka> it's about the same as the difference between the 2cc set and UKRS2...
07:30:01  *** DDR [] has joined #openttd
07:30:05  <Pikka> completely different vehicles by completely different authors.
07:30:15  <andythenorth> chalk, cheese
07:30:28  <Nat_aS> well they both seem to have cargo trams, but GRVTS seems to have more things
07:30:36  <Nat_aS> but they appear to share veichiles
07:30:41  <Nat_aS> unless I'm doing it wrong
07:31:27  <andythenorth> you're doing it wrong ;)
07:31:52  * andythenorth goes back to pondering minor eye-candy livery options *that will require the player to start a new game*
07:33:32  <Pikka> :)
07:33:44  <Pikka> or set a config option and void their warranty
07:34:00  <Nat_aS> lol
07:34:13  <Nat_aS> maybe I should start over
07:34:19  <Nat_aS> but I have built so much
07:34:31  <Nat_aS> If I restarted I'd probably try making thinner tracks
07:34:46  <Nat_aS> like see how efficant I could make single track layouts instead of quad track
07:34:50  <Pikka> or you could have "minor eye-candy livery options" as vehicle refits rather than a global setting
07:35:15  <Nat_aS> or actualy, my layout probably does not need to be quad track
07:35:27  <Nat_aS> I am just over anticipating future growth.
07:35:36  *** George [~George@] has joined #openttd
07:41:29  * andythenorth ponders horridity
07:41:51  <andythenorth> if...there was a way to set arbitrary minor vehicle properties
07:41:59  <andythenorth> (instead of abusing cargo subtypes)
07:42:17  <andythenorth> and if there was a way to configure the default values for
07:42:57  <andythenorth> and a way to mass-set common defaults for all vehicles in a grf...
07:43:06  <Nat_aS> newgrf's spoil you guys
07:43:34  <Nat_aS> I remember when I made sprites for simutrans and was sad that I couldn't make half loaded or randomized cargo sprites
07:43:37  <andythenorth> what about his / her / its spoil?
07:43:54  <Nat_aS> so many options for everything
07:44:00  <Nat_aS> what CAN'T newgrif's do?
07:44:02  <andythenorth> but simutrans is XML :o
07:44:14  <andythenorth> we have been working for years to achieve XML
07:44:27  <andythenorth> on April 1, Rubidium and I are releasing XML-newgrfs
07:44:29  <Nat_aS> well maybe they added better features, when I did it cars could only have 1cc and loaded and unloaded sprites.
07:44:36  <andythenorth> XML will solve all problems!
07:44:41  <Nat_aS> cool
07:44:46  <Nat_aS> YAY XML!
07:45:00  * Nat_aS is just an artist and does what the programer says is possible so :P
07:49:16  <Terkhen> good morning
07:49:29  <Nat_aS> good evening.
07:55:00  * andythenorth solves it
07:55:31  *** hbccbh [~hbc@] has quit [Quit: Leaving.]
07:55:35  <Nat_aS> so why do we have to be compatible with TTDpatch?
07:55:39  <Nat_aS> does anybody still use it?
07:55:52  <andythenorth> yes
07:55:52  *** hbccbh [~hbc@] has joined #openttd
07:56:06  <Nat_aS> i mean backwards compatibility is cool and all, but it seems like OTTD offers every advantage over it
07:56:21  <andythenorth> some *highly influential* newgrf artists use it
07:56:34  <Pikka> no, noone uses it
07:56:42  <andythenorth> and it's *very* important that we keep maintaining compatibility, or they may stop releasing their work so frequently
07:56:52  <Nat_aS> in other words some newgrif artists refuse to accept change?
07:56:53  <andythenorth> famous newgrf releasers known to use it include SAC and wallyweb
07:57:06  <Pikka> andythenorth: there is no compatibility with TTDPatch any more
07:57:07  <andythenorth> also possibly MB, although he may have converted
07:57:21  <Pikka> but what is "important" is that older grfs keep working in OpenTTD
07:58:05  <andythenorth> unless there's a day where all the grfs die
07:58:10  <andythenorth> maybe April 1 2014
07:58:25  <Nat_aS> kinda like y2k?
07:58:28  <Nat_aS> or that unix thing?
07:58:35  *** Progman [] has joined #openttd
07:58:43  *** collinp [~collin@] has quit [Quit: This computer has gone to sleep.]
07:59:49  <Nat_aS> 2038 was it?
08:00:03  * andythenorth goes back to making trucks
08:00:04  <Nat_aS> when the unix clock overflows 32 bits
08:00:17  <Nat_aS> and any unix computer that has not upgraded to 64 will crash.
08:01:15  <Pikka> mm trucks :)
08:02:13  <Nat_aS> night
08:11:37  *** Devroush [] has joined #openttd
08:14:56  *** pugi [] has joined #openttd
08:18:33  * andythenorth wonders if BANDIT will get to r1000 before a release
08:29:55  *** lmergen [] has joined #openttd
08:34:08  *** Alberth [] has joined #openttd
08:34:11  *** mode/#openttd [+o Alberth] by ChanServ
08:34:58  <Alberth> moin
08:35:39  <andythenorth> o/
08:38:06  <andythenorth> Alberth: consists :o
08:48:30  <Alberth> it's more like 'duplicate existing code', according to frosch
08:48:31  *** lmergen [] has quit [Ping timeout: 480 seconds]
08:48:50  <andythenorth> ho ho
08:48:56  <andythenorth> at least he tried ;)
08:58:39  *** Eddi|zuHause [] has quit [Remote host closed the connection]
08:59:37  *** Eddi|zuHause [] has joined #openttd
09:00:31  <andythenorth> hmm
09:00:35  <andythenorth> too much indirection
09:00:42  <andythenorth> maybe I can indirect the indirection :P
09:02:18  <Pikka> only indirectly
09:06:06  *** DDR [] has quit [Quit: ChatZilla [Firefox 10.0.2/20120216100510]]
09:16:26  *** TGYoshi [~TGYoshi@] has joined #openttd
09:21:19  *** pjpe [] has quit [Quit: ajax IRC Client]
09:22:24  *** Zuu [] has joined #openttd
09:24:35  <andythenorth> more indirection = good
09:25:34  *** tokai|mdlx [] has joined #openttd
09:27:30  <Eddi|zuHause> indirection is like alcohol :p
09:29:28  <andythenorth> it's always more fun later to read all the rules for conditionally constructing a string
09:29:37  <andythenorth> instead of just writing the string
09:29:55  <andythenorth> "but think how easy changes will be to the substrings!"
09:31:19  *** tokai|noir [] has quit [Ping timeout: 480 seconds]
09:33:08  <andythenorth> writing out lots of times ('flat', 'coils', grey_metal') is obviously much better than 'flat-coils-grey_metal' :P
09:33:18  <andythenorth> except maybe it's not :P
09:35:45  *** morph` [~morph`@] has joined #openttd
09:38:38  <Eddi|zuHause> it is, when you introduce translations
09:39:01  <Eddi|zuHause> or autogeneration :)
09:42:21  <andythenorth> or change the separators that you're later re-splitting on
09:42:30  <andythenorth> or change the spec for generating graphics from filenames
09:45:01  <Eddi|zuHause> i still have stomach pains because i used eval() in one of my last CETS commits
09:45:51  <andythenorth> yes
09:46:11  <andythenorth> at least you didn't use it in publicly accessible methods in a production web app
09:46:19  <andythenorth> unlike someone else here
09:46:32  <Eddi|zuHause> but i didn't see a better way without lots of duplication
09:48:00  <Eddi|zuHause> maybe i could abuse classes and __name__ attribute
09:48:38  <andythenorth> ugh
09:48:45  <andythenorth> that was at me not you
09:49:06  <andythenorth> design for my next bit of code includes magic, lucky-dip tuples
09:49:26  <V453000> Pikka: your drawing style is truly marvelous. :) Incredibly well done details
09:49:33  <andythenorth> ('tanker', 'silver'), ('flat', 'coils', 'grey-metal')
09:49:45  *** Pixa [] has joined #openttd
09:49:52  <andythenorth> the meaning of tuple parts > 0 varies according to meaning of part 0
09:49:54  <andythenorth> :(
09:50:04  * andythenorth hates unnamed properties full stop
09:50:13  <andythenorth> especially lucky-dip magical ones
09:50:21  *** th_gergo [] has joined #openttd
09:51:29  <andythenorth> I could create classes
09:51:34  <andythenorth> or dicts
09:51:39  <andythenorth> blearch
09:54:23  <Alberth> named tuples?
09:54:42  *** LordPixaII [] has quit [Ping timeout: 480 seconds]
09:54:53  <Alberth> you can also call them 'variant records', like in pascal :p
09:55:04  <V453000> just call it beer
10:00:14  <andythenorth> named tuples?
10:00:18  <andythenorth> how quaint
10:00:28  <andythenorth> I was going to use a class for roughly the same effect
10:01:00  <andythenorth> it is a class?
10:01:05  <andythenorth>
10:02:06  <Alberth> a dict is closer to a class, I think
10:02:33  <Alberth> in classes, you'd make a class hierarchy
10:03:01  <andythenorth> I might be misunderstanding the code example in the docs
10:03:38  <andythenorth> seems like an awful lot of scaffolding I'd have to write to construct the Point example
10:04:42  <Alberth> if you just want a point as plain data, then yes, use a (x,y) instead.
10:05:24  <Alberth> but if you have several forms of points, you have extra data, or want to attach functions(=methods) to them, classes become more attractive
10:06:06  <andythenorth> I'll read the namedtuple doc again, I must be misunderstanding it :P
10:06:44  <Alberth> stuff like dicts like you use them, and named tuples just make a small step to a more broader base, imho
10:07:30  * andythenorth remembers something
10:07:44  <andythenorth> I'm using strange spacing / indenting somewhere
10:07:53  <andythenorth> you mentioned it would be better fixed
10:07:53  <Alberth> does something remember you too? :)
10:08:31  <andythenorth> not so much :P
10:10:06  <Alberth> you format large literals (lists, dicts, tuples) like it is code in the middle of other code. To me, it is confusing to read.
10:10:16  *** Pikka [] has quit [Quit: ChatZilla [Firefox 10.0.2/20120215223356]]
10:10:52  <andythenorth> got an example?
10:10:55  <andythenorth> I can fix...
10:10:58  *** Pikka [] has joined #openttd
10:15:53  <Alberth>
10:16:31  <andythenorth> well it's not PEP-8 :P
10:17:02  <andythenorth> it's just the vertical-alignment I should change?
10:17:03  <andythenorth> or other
10:17:44  <Alberth> I am wondering about it
10:18:08  *** JVassie [~James@] has joined #openttd
10:18:45  <Alberth> the thing that messes it up for me is the \n} at the end, and to a lesser extent, the {\n at the beginning
10:19:22  <andythenorth> I've formatted it as though it's html :P
10:19:48  <Alberth> but you do exactly the same above, eg lines 43-49, and there I don't find it a problem
10:20:06  <Alberth> except I would probably merge it all to one line
10:20:33  <andythenorth> L43-49 are easier to scan
10:20:52  <andythenorth> once there is > one level of indent, the left edge gets ragged
10:20:57  <andythenorth> which is harder to read
10:21:26  <Alberth> indeed
10:22:03  <andythenorth> and the spacing inside is wrong, e.g. setting it to valign on 'colour_shift'
10:22:10  <andythenorth> easier to read the values, harder to read the code
10:22:11  <Alberth> I'd move line 57 to after line 56, align the others under it, and move line 68 to after line 67
10:23:01  <Alberth> yeah, the top colour_shifts could move too
10:23:25  <Alberth> and I'd write it as a dict literal, instead of a 'dict()'
10:23:28  <andythenorth> hmm
10:23:35  <andythenorth> that code is dead now anyway, so I can't improve it :P
10:23:41  * andythenorth looks for similar case
10:24:12  <Alberth> move it to 'examples' in pixa :p
10:24:37  <andythenorth> here's one
10:24:51  <Alberth> but euhm, didn't someone say 8bpp is dead?
10:25:02  <andythenorth> seems to be
10:25:09  <andythenorth> all the big new sets are switching to 32bpp :|
10:26:34  <Pikka> wat
10:26:43  <Alberth> people want to experiment
10:27:04  <Alberth> but making good 32bpp pictures is far from trivial, I think
10:28:17  *** lmergen [] has joined #openttd
10:28:21  <Alberth> I can see using renderers, but can you do it 'manually' too?
10:28:41  <Pikka> take 8bpp sprites, convert to 32bpp in image editor, click save.  done.
10:29:14  <Alberth> sure, but I was talking about using more than 256 colours :p
10:29:54  <Alberth> your drawing techniques would change, I guess
10:30:39  <V453000> I dont think you can make use of more colours on the standard zoom amount of pixels
10:30:51  <V453000> at least not on vehicles which I have experience with drawing
10:31:08  <V453000> houses and landscape, perhaps
10:31:14  <Pikka> for things like the quarries in PBI, I drew them in 32bpp so I could shade and shape them easier, then converted to the TTD palette.
10:31:31  <andythenorth> V453000: using 32bpp means you can get an exact match to specific train colours
10:31:34  <andythenorth> which is very important
10:31:49  <andythenorth> you can even match specifically to the colour of specific locomotive
10:31:49  <V453000> like from real life photos?
10:32:01  <V453000> totally dont care :)
10:32:05  <Alberth> so it is not 'more' colours', bit 'different' ones
10:32:13  <V453000> I do it from my head not from images
10:32:14  <andythenorth> as the colour would appear under 11am slightly overcast conditions, with 42% humidity
10:32:27  <andythenorth> as measured by a colour spectrometer, adjusted for UV distortion
10:32:36  <V453000> right :D
10:32:48  <andythenorth> and allowing for variations in the paint layer which reflects light different according to thickness of primer
10:33:00  <andythenorth> this kind of crap is highly important
10:33:02  <andythenorth> in a toy
10:33:47  <andythenorth> it doesn't reflect an abject failure of imagination at all
10:33:53  <andythenorth> it frees up artists
10:34:01  <Alberth> andythenorth: perhaps you should stop drawing, but instead build a real industry, and take photographs under the right conditions, and convert them to images
10:34:17  <V453000> lol
10:34:19  <andythenorth> artists will be free to imaginatively and creative recreate exactly what they see in a photo
10:34:22  <andythenorth> true art :P
10:34:34  <V453000> :)
10:34:48  * andythenorth is grumpy
10:34:52  <V453000> that is how most of the openttd sets are being done
10:34:59  <V453000> not nuts. :P
10:36:40  <andythenorth> I don't want to rain on the parade - lots of work has gone into 32bpp spec
10:36:59  * andythenorth will be quiet
10:37:15  <V453000> I believe it is great for extra zoom sprites with higher resolutions, and I still think for buildings and larger images it can do amazing stuff
10:37:21  <andythenorth> also the toddler is hitting my screen and shouting 'make choo choo' again
10:37:31  <V453000> making building set in more colours? hell that could be something
10:42:27  *** Pikka [] has quit [Read error: Connection reset by peer]
10:43:18  <xiong> How is it even possible for a train to break down *in* depot!?
10:45:19  <Alberth> your car never rufuses to start when you park in your garage?
10:47:36  *** Chris_Booth [] has joined #openttd
10:48:03  <Alberth> andythenorth:    ?
10:48:16  <rane> what's the deal with one way roads, never soon those before
10:49:02  <Alberth> trucks drive only in one way, mostly
10:49:42  <Alberth> andythenorth: I am somewhat tempted to for i  in range(1,4): seqs[141-i] = ...  for the last 3 entries, but it does not look good
10:49:45  <andythenorth> Alberth: so it's the 'return' that boggles the brain
10:49:47  <Zuu> Eg. it creates a dual lane road with the rule that vehicles should keep to right (or left)
10:49:57  <andythenorth> Alberth: I already considered using ranges
10:50:00  <andythenorth> less explicit
10:50:07  * Alberth nods
10:50:14  <andythenorth> I used to do that kind of thing
10:50:28  <andythenorth> now I don't like to parse what the result will be in my brain, when I could just read it :P
10:51:01  *** Anders [] has joined #openttd
10:51:15  <andythenorth> I'll hunt down multi-line return statements, they kind of suck
10:51:49  <Alberth> andythenorth: I think the thing that messes them up is that you use the same amount of indenting for them
10:51:52  *** badoing [] has joined #openttd
10:52:05  <Alberth> which makes them look like code on the first glance
10:52:07  <andythenorth> yup, but I can't think how to avoid that cleanly
10:52:18  <andythenorth> single line return is faster to scan anyway
10:52:25  <andythenorth> especially in cases of multiple returns from a method
10:52:32  <andythenorth> (for the brain)
10:52:58  <Alberth> in OpenTTD, we do a double indent on next lines, but that's still code
10:54:01  <andythenorth> I'll fix them as per your paste
10:54:20  <badoing> hi, i installed openttd version 1.1.5 and now i don't get information when right clicking. can anyone help?
10:54:49  <andythenorth> so I misunderstood namedtuples :P
10:54:50  <Alberth> and the main reason is the 'if'
10:55:17  <Alberth> badoing: by default you hover on them
10:55:33  <Alberth> but you can change back to right click in the advanced settings
10:56:14  <Alberth> hmm, did that get changed in 1.1.5?  how time flies!
10:56:48  <dihedral> Hello
10:56:59  <Alberth> hi dihedral
10:57:08  <Rubidium> Alberth: it didn't in 1.1.5, it did way before
10:57:23  <dihedral> Hello sir, how are you?
10:57:30  <Alberth> so time moves even faster :)
10:57:30  <badoing> Alberth: hover on them works. but i changed it now. thank you
10:57:34  *** Wolf01 [] has joined #openttd
10:57:42  <Eddi|zuHause> we once discussed whether the default hover timeout is too long
10:57:52  <Eddi|zuHause> not sure what resulted from that
10:58:15  <Alberth> for newbies it is, for others it is not, I would guess :)
10:58:18  <Wolf01> hello
10:58:24  <Alberth> hi Wolf01
10:58:33  <planetmaker> It's probably too subjective. But I guess the hover timeout should be geared towards newbies
10:58:38  <planetmaker> hi all :-)
10:59:10  <Alberth> I switched it back to r-click, I don't like those popups at all
10:59:26  <Alberth> hi pm :)
10:59:39  <planetmaker> I think it's a good thing to have. But.. .yes. I don't need it. But I mostly know the UI :-)
11:00:07  <planetmaker> the tooltip is not made for channel regulars :-)
11:00:30  <badoing> i like the right click, too. i just get informatin if i need it and i get it fast without waiting a few seconds
11:00:55  <Rubidium> only caveat is that newbies don't know the right click tooltips
11:01:05  <planetmaker> ^
11:01:30  <planetmaker> default has to be the accessible thing. People just want to try the game and understand everything intuitively
11:01:34  <planetmaker> And that's fair enough
11:05:08  *** Anders is now known as abp
11:07:43  <dihedral> then they did not read the readme :-P
11:10:16  <Alberth> perhaps we should add a 'I have read the readme and fully understand it' screen in the installer
11:10:50  <Alberth> and to be sure, we also add 3 random questions after it that you must answer correctly :p
11:11:57  <planetmaker> please enter word #3 in line 72 on page 13
11:12:24  <CIA-1> OpenTTD: rubidium * r24033 /trunk/src/saveload/ai_sl.cpp: -Fix: reset "is random" status of temporary variable during saveload as it's not always written to when loading an AI which means it'd be taking the is random setting of another AI.
11:17:29  *** FLHerne [] has joined #openttd
11:18:49  <CIA-1> OpenTTD: rubidium * r24034 /branches/1.2/ (67 files in 7 dirs):
11:18:49  <CIA-1> OpenTTD: [1.2] -Backport from trunk:
11:18:49  <CIA-1> OpenTTD: - Feature: Increase the station class limit from 32 to 256 (r24031)
11:18:49  <CIA-1> OpenTTD: - Fix: [NoAI] reset 'is random' status of temporary variable during saveload as it is not always written to when loading an AI which means it wouldd be taking the 'is random' setting of another AI (r24033)
11:18:50  <CIA-1> OpenTTD: - Fix: [NoAI] Make AIEngine::IsArticulated return true if the articulated callback flag is set, do not try to run the callback (r24029)
11:18:50  <CIA-1> OpenTTD: - Fix: Pass cases down into the list of cargos [FS#5090] (r24024, r24023, r24022)
11:21:36  <andythenorth> bbl
11:21:37  *** andythenorth [] has quit [Quit: andythenorth]
11:22:19  <Alberth> planetmaker: that's the wrong level of understanding :p   we should ask questions about setting hover timeouts, and building aircrafts, and the wiki url :)
11:28:36  <dihedral> :-D
11:32:46  <CIA-1> OpenTTD: rubidium * r24035 /trunk/src/lang/ (35 files in 2 dirs): -Add: "missing" strings to translations that were merely control codes
11:37:57  <Zuu> Also as the tooltips require you to keep the mouse within a very small rectangle for the tooltip to show, the time limit has to be quite low.
11:38:31  *** frosch123 [] has joined #openttd
11:41:15  <Ammler> openttd now part of openSUSE standard repo :-)
11:41:33  <planetmaker> Alberth: true :-)
11:47:24  <CIA-1> OpenTTD: rubidium * r24036 /branches/1.2/bin/baseset/opntitle.dat: [1.2] -Change: the title game from the title game competition (sc79). Some changes have been made outside of the view to reduce the file size significantly (chop trees, flatten ground)
11:48:39  <Eddi|zuHause> mÀh, i hate it when games don't run in wine, when others say it does
11:49:29  <Eddi|zuHause> somewhen i should try actually installing a windows :)
11:49:59  <Rubidium> s/sc79/Bluescreen/
11:50:10  <Eddi|zuHause> haha :p
11:50:18  <Zuu> Its not that hard, you just have to control your feelings if you like the linux-way better :-)
11:50:48  <Eddi|zuHause> Zuu: i tried copying over my old windows installation from the other computer, but that somewhat failed
11:51:09  <Eddi|zuHause> as in, it didn't even boot
11:51:21  * Zuu is not surprised
11:53:11  <Eddi|zuHause> now... finding a windows cd...
11:53:35  <Eddi|zuHause> actually, i should first check whether i have alternate ways to boot my linux :)
11:53:45  <Eddi|zuHause> aka repair the boot manager :)
11:54:19  <Zuu> yep thats a good thing to have :-)
11:55:31  <Zuu> Unless you need game performance, a virtual machine might be easier and more handy to use.
11:56:07  <Eddi|zuHause> i have a virtual windows, but that's unable to use 3D acceleration
11:57:47  *** Zeknurn` [] has joined #openttd
11:58:45  <frosch123> since when does the ttdp problem forum say "no posts" on the main index? :p
12:01:08  *** badoing [] has quit [Quit: ChatZilla [Iceweasel 3.5.16/20120315090431]]
12:02:18  <planetmaker> :-)
12:02:42  *** Zeknurn [] has quit [Ping timeout: 480 seconds]
12:02:50  <planetmaker> probably since there are no problems with it anymore
12:03:39  <rane> hmm, i'm feeding train station with trucks from 3 farms, and the transported rate won't get higher than 67% on any of the farms
12:04:09  <Eddi|zuHause> yes, that sounds roughly correct
12:04:11  <planetmaker> constantly loading?
12:04:25  <rane> yea always something loading
12:04:31  <planetmaker> both cargos?
12:04:35  <rane> yes
12:04:37  <Zuu> Get a statue in the towns of the feeding stations
12:04:46  <Zuu> Will increase your rating by 10%
12:05:04  <Zuu> => more cargo is delivered to the stations.
12:06:32  <rane>
12:06:51  *** Eddi|zuHause [] has quit []
12:10:10  <rane> now it's improving actually
12:10:16  <Alberth> <-- rane
12:13:49  *** Eddi|zuHause [] has joined #openttd
12:13:54  *** hbccbh [~hbc@] has quit [Ping timeout: 480 seconds]
12:20:08  *** KritiK [] has joined #openttd
12:23:53  *** morph` [~morph`@] has quit [Remote host closed the connection]
12:26:17  *** Chris_Booth [] has quit [Ping timeout: 480 seconds]
12:29:50  *** hbccbh [~hbc@] has joined #openttd
12:33:57  *** andythenorth [] has joined #openttd
13:03:00  *** sla_ro|master [slaco@] has joined #openttd
13:03:18  *** abp [] has quit [Quit: ChatZilla [Firefox 8.0.1/20111120135848]]
13:04:57  *** glx [glx@2a01:e35:2f59:c7c0:8846:8767:e248:71c8] has joined #openttd
13:05:00  *** mode/#openttd [+v glx] by ChanServ
13:06:19  *** xiong [] has quit [Ping timeout: 480 seconds]
13:11:19  *** xiong [] has joined #openttd
13:11:44  *** DOUK [] has joined #openttd
13:16:46  *** mahmoud [] has quit [Ping timeout: 480 seconds]
13:25:27  *** Chris_Booth [] has joined #openttd
13:28:08  *** xiong [] has quit [Ping timeout: 480 seconds]
13:32:25  *** lmergen [] has quit [Ping timeout: 480 seconds]
13:33:24  *** valhallasw [~valhallas@] has joined #openttd
13:34:50  *** xiong [] has joined #openttd
13:47:48  *** xiong [] has quit [Ping timeout: 480 seconds]
13:50:53  *** xiong [] has joined #openttd
13:54:42  *** Eddi|zuHause [] has quit []
13:57:27  *** Eddi|zuHause [] has joined #openttd
14:02:18  *** xiong [] has quit [Ping timeout: 480 seconds]
14:27:43  *** Scuddles [] has joined #openttd
14:29:10  *** xiong [] has joined #openttd
14:32:33  *** welshdragon [] has quit [Killed (NickServ (Too many failed password attempts.))]
14:33:00  *** welshdragon [] has joined #openttd
14:33:20  *** FLHerne [] has left #openttd []
14:34:11  *** chochy [] has joined #openttd
14:39:48  *** xiong [] has quit [Ping timeout: 480 seconds]
14:40:36  *** Rhamphoryncus [] has joined #openttd
14:43:50  *** drac_boy [] has joined #openttd
14:44:04  <drac_boy> hi
14:45:02  <drac_boy> know this probably is a long question for some but are there ever any kind of mutiplayer maps where people actually cooperate or is that getting too hard to ask for?
14:49:57  <drac_boy> sometimes I'm just not understanding why people don't bother playing on their own single maps if they just can't seem to do one bit of sharing
14:51:15  <Yexo> try #openttdcoop
14:51:30  <Yexo> all players in a single company, now that's cooperation :)
14:53:05  <drac_boy> ah, well if you say so I guess I'll have to get RC2 and try their welcome server then. thanks yexo
14:53:42  <drac_boy> btw how much of a player are you? (whether thats in ottd or patch)
14:53:43  <Yexo> they have an irc channel here too, I think it's #openttdcoop.welcome for the welcome server
14:53:53  <Yexo> I don't play much at all
14:54:37  <drac_boy> ok just had to ask :)
14:57:27  <drac_boy> ok..compiling a minute I should be able to check out that map
14:58:06  <drac_boy> yexo I play once in a while with quite a few different grfs in patch. as for ottd itself..well...its on a loaned laptop
15:00:12  <TWerkhoven2[l]> #openttdcoop.stable
15:00:21  <TWerkhoven2[l]> for the welcome server
15:00:44  <TWerkhoven2[l]> or plain #openttdcoop for public server
15:00:55  <drac_boy> heh already joined the second one but checking the first one now :)
15:00:59  <Chris_Booth> or none of the above
15:01:14  <drac_boy> you're a strange one Chris_Booth
15:01:25  <Chris_Booth> yes I am!
15:01:34  <Chris_Booth> how did you know?
15:02:03  <drac_boy> dunno? :-P
15:02:30  <Chris_Booth> well you can give yourself a shiny for getting it right!
15:02:49  *** xiong [] has joined #openttd
15:03:37  <drac_boy> lol
15:03:48  * drac_boy gives Chris_Booth a blueberry the fac
15:03:50  <drac_boy> :)
15:04:12  <Chris_Booth> I don't have a fac
15:04:24  *** Elukka [] has joined #openttd
15:05:42  <drac_boy> that was a joke for fac=face
15:05:43  <drac_boy> :)
15:05:50  <drac_boy> but never mind that heh
15:09:50  <andythenorth> '-' is not valid in nml identifiers?
15:10:06  <Yexo> no
15:10:09  <andythenorth> ok
15:10:11  <andythenorth> expected
15:10:16  <andythenorth> slight headache :)
15:10:38  *** bryjen [~bryjen@] has joined #openttd
15:15:36  <drac_boy> not a pixel headache I hope?
15:15:38  <drac_boy> :)
15:15:58  <frosch123> he keeps on licking them
15:17:19  <drac_boy> heh heh heh
15:20:14  *** hbccbh [~hbc@] has quit [Quit: Leaving.]
15:22:37  *** chochy [] has left #openttd []
15:23:48  *** xiong [] has quit [Ping timeout: 480 seconds]
15:36:43  *** oskari89 [] has joined #openttd
15:40:10  <rane> hmm, openttdcoop welcome wants New Company Colours (Black) newgrf and it can't be downloaded
15:40:26  <oskari89> Is there more sound effect callbacks than these?
15:40:32  <Zuu> Then it is probably in the #openttdcoop newgrf pack
15:40:39  *** xiong [] has joined #openttd
15:40:53  <oskari89> Such as random interval or so?
15:41:10  <oskari89> For use on stations?
15:42:30  <Yexo> the next animation frame callback can optionally result a sound effect number
15:42:30  <planetmaker> rane: it is part of the openttdcoop grf pack
15:42:46  <planetmaker>
15:42:54  <Yexo> as can the animation control and construction stage callacks
15:43:01  <oskari89> Yexo: Ok..
15:43:04  <planetmaker> ^^ it's part of that (ancient) newgrf collection
15:43:10  <oskari89> There's no wiki for that..
15:43:27  <planetmaker> the welcome server *should* not use them, but sometimes does
15:43:27  <Yexo> <- it's all there
15:43:39  <CIA-1> OpenTTD: frosch * r24037 /trunk/src/ (base_media_base.h settings_gui.cpp widgets/settings_widget.h): -Feature: Allow display of baseset textfiles. (LordAro)
15:43:47  <oskari89> Yexo: Ok
15:44:53  <drac_boy> rane I've had the same problem... neither two grfs from wiki or forum even works for some reason
15:44:59  <rane> works for me now
15:45:46  <planetmaker> drac_boy: the grfpack I linked need be unzipped into the the newgrf folder of OpenTTD (found where described in readme section 4)
15:45:56  <planetmaker> great, rane :-)
15:46:17  <rane> just took me a while to figure out where to put the stuff
15:46:28  <oskari89> Yexo: Can station animation frames can be same and looping, and so it can be used for looping non-stopping sound?
15:46:58  <planetmaker> that's what we have the readme for. If it can be made better, please come forward with the suggestions / improvements
15:47:01  <Yexo> oskari89: yes
15:47:08  <drac_boy> telling me the grf table isn't what its supposed to be?
15:47:27  <oskari89> Yexo: Thanks :)
15:47:38  <oskari89> That was just the information that i was looking for.
15:47:46  <planetmaker> drac_boy: I'm telling you that you only need to download the grfpack v8 as linked on that page, unzip it in the right place and then you're set
15:48:08  <planetmaker> the grf table is only for overview
15:48:38  <drac_boy> planetmaker...and what if I already have a lot of other grfs so I don't want endless duplications?
15:48:39  <planetmaker> though it might work, if you download all separately, it's tedious ;-)
15:48:56  <planetmaker> drac_boy: you have the exact same versions?
15:49:13  <drac_boy> the only one other grf I had to get through the online content was the hover bus
15:49:15  <planetmaker> you refuse to download the pack which is guaranteed to have missing grfs for our server and then say "doesn't work"?
15:49:32  <planetmaker> the grf pack has those which are _not_ in online content
15:49:33  <drac_boy> planetmaker if you mean version as in the one posted on the only one single download place for it in forum then yes
15:49:49  *** xiong [] has quit [Ping timeout: 480 seconds]
15:50:04  <planetmaker> and the grfpack might have other versions than found in the forum
15:50:22  <planetmaker> as every single bit of a grf file matters for connecting. Not just the name
15:51:21  <planetmaker> and "doesn't work" is simply explained with "has not the required newgrfs", if you miss some
15:55:07  <oskari89> Yexo: Can NML have that sound on Object animation callback?
15:55:15  <Yexo> yes
15:55:23  <oskari89> At the same way?
15:55:36  <Yexo> yes
15:56:19  <oskari89> Is it there?
15:56:47  *** xiong [] has joined #openttd
15:57:18  <Yexo> no, but it works the same way as described for the nml callbacks
15:57:29  <Yexo> "Returning a sound effect in the high byte will cause that sound effect to be played. " <- actually it is there
15:58:02  *** Eddi|zuHause [] has quit []
15:59:24  <oskari89> Ok, thanks.
16:01:11  *** Eddi|zuHause [] has joined #openttd
16:04:00  *** Eddi|zuHause [] has quit []
16:08:04  <rane> hmm, trains aren't slowing down on hills on the openttd welcome server
16:10:18  *** xiong [] has quit [Ping timeout: 480 seconds]
16:10:24  <Yexo> rane: realistic acceleration is probably enabled
16:13:29  <rane> seems so, checked advanced settings
16:13:47  *** HerzogDeXtEr1 [] has joined #openttd
16:20:40  *** HerzogDeXtEr [~Flex@] has quit [Ping timeout: 480 seconds]
16:25:17  *** xiong [] has joined #openttd
16:31:00  <andythenorth> ~1hr to find a missing / char
16:31:01  <andythenorth> :P
16:32:19  *** swissfan91 [] has joined #openttd
16:32:46  *** drac_boy [] has left #openttd [I'm done being in this room!]
16:33:31  *** Biolunar [] has joined #openttd
16:37:21  *** xiong [] has quit [Read error: Operation timed out]
16:37:46  *** xiong [] has joined #openttd
16:40:33  <CIA-1> OpenTTD: frosch * r24038 /trunk/src/gfx.cpp: -Fix (r23472): After opening a textwindow with the monospaced font, all other text started glitching.
16:42:52  <frosch123> yay, for bad font kerning
16:43:41  *** kais58 [] has quit [Ping timeout: 480 seconds]
16:44:33  *** swissfan91 [] has quit [Quit: ajax IRC Client]
16:44:47  <Rhamphoryncus> Train has 108 farmsup crates.  Transfers them to a station.  Truck picks up 4 crates.  Train reloads the rest.  Train now has 102 crates.  wth?
16:47:34  <andythenorth> transfer and leave empty
16:47:35  <Alberth> your employees steal crates!
16:48:57  <andythenorth> @calc 108 - 4
16:48:57  <DorpsGek> andythenorth: 104
16:53:55  <frosch123> btw... random question: when do you think will public schools stop teaching cursive? (i.e. only block letters)
16:54:58  <Alberth> I never learned those, I think
16:55:53  *** supermop [~daniel_er@] has joined #openttd
16:57:48  *** xiong [] has quit [Ping timeout: 480 seconds]
17:00:28  <frosch123> hmm, actually it is already going on
17:00:39  <frosch123> i am just not aware :)
17:01:52  <supermop> airplane internet is expensive
17:08:52  *** xiong [] has joined #openttd
17:09:58  *** ffpp [] has joined #openttd
17:10:31  <ffpp> hi
17:17:18  <Alberth> hi
17:17:45  *** Eddi|zuHause [] has joined #openttd
17:18:01  <Eddi|zuHause> hm... so that was somewhat of a half-success
17:19:21  <Eddi|zuHause> i got windows installed, and it boots, but it has no driver for the "ethernet-device", and i can't go online to find one :p
17:20:54  <Alberth> I have such a system too, except it also has no floppy and no cd-rom either :p
17:21:16  <Alberth> use a phone modem?  :D
17:21:44  <Eddi|zuHause> nah, i can download it here and write it onto the drive
17:22:01  <Eddi|zuHause> or i can search for the driver cd that might have come with the board... but i don't remember...
17:22:14  *** jazzyjaffa [] has quit [Ping timeout: 480 seconds]
17:22:56  <Eddi|zuHause> "Gigabyte AMD 8-series Utility DVD"
17:23:05  <Eddi|zuHause> that sounds right...
17:23:06  *** Snail_ [] has joined #openttd
17:23:24  <frosch123> you have a native windows installation?
17:23:29  <frosch123> what is that good for?
17:23:39  <Eddi|zuHause> dunno :)
17:24:17  <ffpp> i have one too, is this embarrassing in some way ? :)
17:24:50  <Alberth> no, just useless :)
17:25:00  <frosch123> well, it is fine if you have to some old pc which you have not used in years. but i sounded as if eddi installed a new one
17:25:22  <frosch123> s/to/one on/
17:25:41  <Eddi|zuHause> yes... some games refuse to run in wine
17:25:48  <ffpp> so you are running windows in vm or not at all ?
17:26:00  <frosch123> in vm, when i actually need it
17:26:06  <Eddi|zuHause> and i couldn't find a vm that supports hardware-3D
17:26:09  <Alberth> not at all :)
17:26:22  *** Eddi|zuHause [] has quit []
17:26:32  <Alberth> oh oh , reboot time :)
17:27:07  <ffpp> hm, I have XP in a vm but I don't know what for, but since I got it for free Win7 is roaming some partition as well ;)
17:28:58  *** cl8 [] has joined #openttd
17:31:56  *** jazzyjaffa [] has joined #openttd
17:32:33  *** th_gergo [] has quit [Quit: Leaving.]
17:33:13  *** Progman [] has quit [Remote host closed the connection]
17:33:19  *** th_gergo [] has joined #openttd
17:33:32  *** th_gergo [] has quit []
17:34:03  *** th_gergo [] has joined #openttd
17:35:43  *** th_gergo [] has quit []
17:35:57  *** th_gergo [] has joined #openttd
17:37:35  *** CornishPasty [] has joined #openttd
17:40:50  *** ffpp [] has quit [Ping timeout: 480 seconds]
17:42:02  *** ffpp [] has joined #openttd
17:54:49  <Rhamphoryncus> andythenorth: I'm guessing I was over the "too much waiting cargo" threshold and I got unlucky
17:56:09  * andythenorth felt clever for using a set, but is now back to a dict :P
17:56:12  <andythenorth> nvm
17:59:47  *** Eddi|zuHause [] has joined #openttd
17:59:56  <Eddi|zuHause> the list of half-successes go on...
18:00:37  <Eddi|zuHause> the driver-dvd could install loads of crap, the ethernet driver, the audio driver, but not the video-driver (->blue screen)
18:00:46  <Alberth> lol
18:01:13  <Eddi|zuHause> and whatever is an "SM-Bus-Controller"
18:01:31  <Alberth> luckily the impact of half-sucessses decreases exponentially :)
18:01:36  <ffpp> slave master bus controller ?
18:05:55  <andythenorth> hurrah
18:05:59  <andythenorth> will all work
18:06:16  <andythenorth> is there a max length for an nml identifier?
18:06:23  *** flaa [] has joined #openttd
18:06:42  <Alberth> unlikely
18:07:49  <Alberth> as long as you only consider integer finite positive values for length :)
18:08:07  <andythenorth> here's a nice one
18:08:08  <andythenorth> wicomico_northlander_trailer_1_ss_flat_trailer_0_2_cc1_8_8_cargo_coils_grey_metals
18:09:17  *** Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
18:10:29  <Rhamphoryncus> Hmm.  Conditional orders need registers :D
18:15:08  <Rhamphoryncus> When doing a SRNW you could save your current area, jump to some common code, then jump back to your saved area
18:17:38  *** Snail_ [] has quit [Quit: Snail_]
18:19:31  *** Eddi|zuHause [] has joined #openttd
18:19:37  <Eddi|zuHause> sooo...
18:22:39  <andythenorth> ho ho
18:22:41  <andythenorth> it sort of worked
18:22:49  <Rhamphoryncus> Currently I have a farmsup orderlist that goes between my farms as well as the coalmine+limekiln to create farm supplies.  My only state is the current order so the coalmine+limekiln part gets duplicated, once for each farm
18:23:40  <Rhamphoryncus> But if I wanted to add a second coal mine.. I'd need to duplicate *everything* again to maintain full state.  3 farms and 3 coalmines would mean 9 farm orders and 9 coalmine orders.
18:24:38  <Eddi|zuHause> consider splitting then, instead of one huge round-trip :)
18:25:09  <Eddi|zuHause> windows still lists two devices that don't have a driver
18:25:38  <Rhamphoryncus> Which would put me to 72 orders used.  6 of each pushes it to 289, not possible
18:26:25  <Rhamphoryncus> Eddi: I likely will
18:26:46  <Eddi|zuHause> oh right, one's my TV cart
18:26:50  <Rhamphoryncus> At least the farm pickup orderlist only ever needs one drop point
18:26:56  <Eddi|zuHause> s/t$/d/
18:27:50  <Rhamphoryncus> But still, it's a lot of duplication
18:30:42  <andythenorth> bah
18:30:53  * andythenorth is starting to find lucky dip tuples acceptable :P
18:33:17  <andythenorth> oh how quaint, my code works
18:33:39  <andythenorth> but you know this is evil
18:33:40  <andythenorth>
18:33:52  <andythenorth> the method returns a two-tuple
18:34:24  *** ffpp [] has quit [Ping timeout: 480 seconds]
18:34:47  <Rhamphoryncus> use sequence unpacking
18:35:03  <andythenorth> for a, b in foo ?
18:35:11  <Rhamphoryncus> self.graphics_ids, self.cargo_graphics_mapping = graphics_stuff = get_graphics_stuff(self)
18:35:16  <Rhamphoryncus> oops
18:35:19  <Rhamphoryncus> self.graphics_ids, self.cargo_graphics_mapping = get_graphics_stuff(self)
18:35:53  <andythenorth> one line game :P
18:35:58  <andythenorth> you win
18:39:40  *** xiong [] has quit [Read error: Operation timed out]
18:40:09  *** Eddi|zuHause [] has quit []
18:43:39  <CIA-1> OpenTTD: translators * r24039 /trunk/src/lang/ (korean.txt lithuanian.txt swedish.txt unfinished/basque.txt):
18:43:39  <CIA-1> OpenTTD: -Update from WebTranslator v3.0:
18:43:39  <CIA-1> OpenTTD: basque - 6 changes by Thadah
18:43:39  <CIA-1> OpenTTD: korean - 52 changes by telk5093
18:43:40  <CIA-1> OpenTTD: lithuanian - 28 changes by Stabilitronas
18:43:40  <CIA-1> OpenTTD: swedish - 4 changes by Zuu
18:44:45  *** xiong [] has joined #openttd
18:55:55  *** Eddi|zuHause [] has joined #openttd
18:59:14  *** supermop [~daniel_er@] has quit [Read error: Connection reset by peer]
19:01:42  *** pjpe [] has joined #openttd
19:06:50  *** andythenorth [] has quit [Quit: andythenorth]
19:13:05  *** Eddi|zuHause [] has quit []
19:18:42  *** xiong [] has quit [Ping timeout: 480 seconds]
19:22:15  *** xiong [] has joined #openttd
19:24:52  *** andythenorth [] has joined #openttd
19:27:37  *** Eddi|zuHause [] has joined #openttd
19:28:23  <Eddi|zuHause> hmzz... so i found this neat little tool "fsproxy", which is like a tiny virtual linux to access filesystems
19:28:35  <Eddi|zuHause> but apparently nobody implemented support for encrypted filesystems...
19:29:08  <Eddi|zuHause> maybe i should have tried ssh-ing into it :)
19:30:31  <andythenorth> prize for most convoluted system
19:30:38  <andythenorth> ideally you would involve DropBox
19:33:58  *** Eddi|zuHause [] has quit []
19:35:12  <andythenorth> generate code can look horrible, right?
19:35:17  <andythenorth> +d
19:38:55  <Alberth> manually entered code can look horrible too :p
19:39:26  <andythenorth>
19:39:30  <andythenorth> pretty disgusting
19:39:38  <Alberth> but yeah, formatting of generated code does not have the highest priority, usually :)
19:39:57  <andythenorth> I'm surprised how little difference it's making to my ability to debug it
19:40:05  <andythenorth> formatted / unformatted, it's about the same :o
19:40:16  <Alberth> why all the empty lines?
19:41:27  <andythenorth> it's just what the templator spits out
19:41:39  <andythenorth> it preserves linebreaks in the template
19:41:48  <andythenorth> and I need the linebreaks to read the template :P
19:42:24  <Alberth> debugging generated code is easier in the sense that you just look for the problem, and then fix the generator, and re-generate. You never edit the generated code
19:42:40  <andythenorth> it's usually blindingly obvious what the problem is too
19:42:52  <Alberth> oh, yet another broken template system :p
19:44:16  <andythenorth> not broken for html
19:44:19  <andythenorth> but I'm abusing it :P
19:44:34  <andythenorth> it can be subclassed (probably) to avoid the issue...but meh
19:44:41  <andythenorth> it's generated code
19:45:58  <andythenorth> if 80 chars didn't matter either, I could avoid the breaks :P
19:46:13  *** xiong [] has quit [Read error: Operation timed out]
19:46:23  <CIA-1> OpenTTD: frosch * r24040 /trunk/src/ (industry_cmd.cpp lang/english.txt): -Fix [FS#5095]: Improve error messages wrt. the placement restrictions of banks, water towers and toy shops.
19:47:03  *** Eddi|zuHause [] has joined #openttd
19:48:12  <Rhamphoryncus> andythenorth: what does the template look like?
19:48:15  *** th_gergo [] has quit [Quit: Leaving.]
19:48:28  <andythenorth> hideous :D
19:48:45  <Rhamphoryncus> Heh.  I mean that specific part that produces extra linefeeds
19:50:06  <andythenorth>
19:50:26  <andythenorth> I'm mungling nml and a template (which I like) designed for xml / xhtml
19:50:34  <andythenorth> so I gave up worrying about elegant formatting
19:50:54  <andythenorth> L11-20 are the offending articles
19:51:05  <Rhamphoryncus> is that in a python string?
19:51:19  <andythenorth> the template is a text file
19:51:25  <andythenorth> this is a duck-tape situation
19:51:28  <Rhamphoryncus> doh
19:52:00  <andythenorth> I can read it standing on my head
19:52:10  <andythenorth> without code highlighting :P
19:52:15  <Rhamphoryncus> Removing the newlines would be worse than leaving them in.  If it was a python string I would have suggested a backslash at the end of the line to disable them
19:52:23  <andythenorth> +1
19:52:29  <andythenorth> [to leaving them in]
19:52:40  <andythenorth> I'm just going to apply 'life is short'
19:52:46  <andythenorth> also, it works
19:54:04  *** kais58 [] has joined #openttd
19:54:09  *** ccfreak2k [] has quit [Quit: ZNC -]
19:54:26  *** ccfreak2k [] has joined #openttd
19:56:49  *** LordPixaII [~pixa@] has joined #openttd
19:59:14  <Rhamphoryncus> I wouldn't be surprised if the template supported something like backslashes to disable linefeeds too
20:01:28  *** jazzyjaffa [] has quit [Ping timeout: 480 seconds]
20:02:34  *** Pixa [] has quit [Ping timeout: 480 seconds]
20:12:20  *** Scuddles [] has quit []
20:13:44  *** jazzyjaffa [] has joined #openttd
20:17:51  *** flaa_ [] has joined #openttd
20:21:39  *** flaa [] has quit [Ping timeout: 480 seconds]
20:39:37  *** Firartix [] has joined #openttd
20:43:49  *** sla_ro|master [slaco@] has quit [Quit: DANGER is OFFLINE DANGER]
20:48:01  *** xiong [] has joined #openttd
21:03:16  <andythenorth> hmm
21:03:22  <andythenorth> add the generated files to repo or not?
21:04:33  <valhallasw> andythenorth: depends on how easy they are to generate
21:04:57  <andythenorth> easy - if you know what to do
21:06:26  <valhallasw> will you be doing people a favour by not requiring them to have full technical knowledge, or will you be annoying them by handing out stale copies from the cache? ;-)
21:06:26  <andythenorth> 'tis why I'm not certain whether to do it
21:06:26  * andythenorth favours empiricism
21:06:26  <Rhamphoryncus> Does make create them?
21:09:00  <andythenorth> no
21:09:04  <andythenorth> although perhaps it should
21:09:13  <andythenorth> I can't understand make
21:09:24  <andythenorth> so I have a python build script, but apparently that's lame
21:09:37  *** xiong [] has quit [Quit: Leaving]
21:09:37  *** LordPixaII is now known as Pixa
21:09:49  *** xiong [] has joined #openttd
21:09:58  *** FLHerne [] has joined #openttd
21:10:08  <Alberth> rename to  ''  :)
21:10:48  <Alberth> (unfortunately, andy is capable of doing just that :p )
21:11:46  *** DDR [] has joined #openttd
21:12:38  <Alberth>  <-- one makefile for you andythenorth
21:12:59  <andythenorth> ho
21:13:15  <andythenorth> :)
21:13:16  <Alberth> untested :)
21:13:53  <andythenorth> I changed the script name
21:13:54  <andythenorth> works
21:14:00  <Alberth> :)
21:14:14  <andythenorth> should I ditch the python multiprocessing?
21:14:27  <andythenorth> and let make spawn processes?
21:14:40  <Alberth> nah
21:14:50  *** flaa_ [] has quit [Quit: leaving]
21:15:14  <Alberth> python knows what to generate, otherwise you have to move that information into the makefile somehow
21:17:02  <andythenorth> I'm making a list of deps from the nfo anyway
21:17:12  <andythenorth> using my insanely stupid deps script :P
21:17:19  <andythenorth> which I need to make less stupid
21:18:25  *** lmergen [] has joined #openttd
21:21:27  <andythenorth>
21:28:19  <Alberth> good night all
21:28:25  <andythenorth> bye Alberth
21:29:41  *** Alberth [] has left #openttd []
21:45:45  <andythenorth> ho ho
21:46:01  <andythenorth> all the work pays off
21:55:31  <andythenorth> also...autogenerated cargo table FTW
21:56:29  *** lmergen [] has quit [Ping timeout: 480 seconds]
22:05:19  *** jazzyjaffa [] has quit [Remote host closed the connection]
22:08:25  * andythenorth gets caught out by loading_speed...again :P
22:11:20  <frosch123> [22:48] <andythenorth> all the work pays off <- working on 32bpp ? :p
22:11:32  <andythenorth> not exactly :P
22:11:36  <frosch123> bros?
22:11:44  <andythenorth>  auto-magical cargo graphics
22:12:37  <frosch123> yeah, magic cargo is easy to draw. it is invisible
22:12:41  <frosch123> and pink
22:13:02  <andythenorth> :P
22:13:28  <andythenorth> meh
22:13:34  <andythenorth> how do I make this thing faster?
22:13:38  <andythenorth> 12s compiles are boring
22:13:42  *** xiong [] has quit [Ping timeout: 480 seconds]
22:14:42  <andythenorth> ~10s of that are nmlc
22:15:19  *** drac_boy [] has joined #openttd
22:15:25  <drac_boy> hi
22:15:56  *** ccfreak2k [] has quit [Quit: ZNC -]
22:16:05  *** ccfreak2k [] has joined #openttd
22:16:20  <drac_boy> was just thinking a bit about this and I know I might sound crazy but why couldn't multiplayer autoclean set to be on with a countdown of I dunno 60 years by default?
22:16:31  <Zuu> andythenorth: Get a faster PC? :-)
22:16:38  *** ccfreak2k [] has quit []
22:16:58  <Zuu> Or is it possible to make the nml in independent parts that could be compiled in parallell and then only linked togeather in the end?
22:17:01  <drac_boy> zuu heh he trying to compile something?
22:17:04  <frosch123> Zuu: maybe he should start with getting a pc at all :p
22:17:05  <drac_boy> ah thought so
22:17:31  <drac_boy> frosch whats a "pc" btw? :)
22:17:36  <Zuu> frosch123: Oh.. yea i should have written "computer".
22:18:02  <frosch123> drac_boy: nowadays it would likely be a trade mark and everyone would sue everyone for using it
22:18:21  * andythenorth considers
22:18:25  <frosch123> there would be a patent on entering text by pressing buttons
22:18:29  <andythenorth> can nmlc process fragments?
22:18:33  <Zuu> drac_boy: I don't compile any nml, I don't even know nml coding. But I do compile C++ code. Eg. OpenTTD or Junctioneer.
22:18:35  <andythenorth> or does it need a full valid nml input?
22:18:36  <frosch123> and reading text displayed on a screen
22:18:43  *** oskari89 [] has quit []
22:18:50  <drac_boy> frosch its not a trademark btw
22:18:54  <frosch123> oh, and i forgot the patent on a machine doing something
22:18:56  <andythenorth> ach, nvm
22:19:02  <drac_boy> its too generic... Personal Computer which applies to almost anything
22:19:28  <frosch123> he, it's from a time when computers were not personal :p
22:20:08  * andythenorth ponders telling nmlc to just 'go faster' :P
22:20:42  <Zuu> andythenorth: Does it have a speed flag?
22:20:54  <andythenorth> not afaik
22:20:57  <Zuu> Eg nmlc -s 9
22:20:59  <Zuu> :-)
22:21:38  * andythenorth wonders if the realsprites part has any parallelism
22:23:02  <Zuu> wxWidgets has managed to split their (large) library in 20 or so parts that are compiled independent of each other. Giving a very quick compile on a i7 quad core compared to what it used to be on a single core.
22:24:38  <drac_boy> so what else's going on in here? :)
22:25:20  <frosch123> trolling?
22:25:38  * andythenorth looks at L252-L272 etc of nml/
22:25:40  <frosch123> we're still on the internet
22:25:42  <andythenorth> and wonders
22:25:59  <andythenorth> 'import multiprocessing'
22:26:08  <drac_boy> beside that frosch :p
22:26:10  <andythenorth> no idea if if would be faster though :P
22:31:14  *** Snail_ [] has joined #openttd
22:32:31  *** andythenorth [] has quit [Quit: andythenorth]
22:32:34  *** Snail_ [] has quit []
22:33:50  *** Snail_ [] has joined #openttd
22:40:41  *** Snail_ [] has quit [Quit: Snail_]
22:47:39  *** KritiK [] has quit [Quit: Leaving]
22:49:13  *** cl8` [] has joined #openttd
22:49:26  * FLHerne realises why 16k x 8k maps aren't in trunk
22:49:49  <MNIM> I take it it just crashed?
22:50:18  <FLHerne> No...
22:50:40  <FLHerne> At this rate, map generation is going to take some time, though
22:50:43  <frosch123> he accidently pressed ctrl+g
22:50:44  <MNIM> lol
22:50:56  <MNIM> oh yeah. did that once.
22:50:59  *** Zuu [] has quit [Ping timeout: 480 seconds]
22:51:02  <MNIM> whole map screenshot?
22:51:07  <glx> yup
22:51:25  <frosch123> no idea why that actually has a hotkey by default :p
22:51:38  <FLHerne> What would happen if I did that?
22:51:50  <MNIM> never knew that programs other than photo editors could generate image files of over 1GB before that.
22:52:05  <frosch123> FLHerne: ottd would block for 5 minutes or so
22:52:15  <MNIM> if not more.
22:52:19  <Yexo> FLHerne: it creates a "giant screenshot", a screenshot of the entire map in (I think) the default zoom level
22:52:22  <frosch123> and write a png to your disk with some hundred mb in size
22:52:24  <MNIM> depending on hardware and size of the map
22:52:33  <FLHerne> erm
22:52:37  <MNIM> if not several GB :P
22:52:43  <frosch123> and if you try to open it, the average program will shut down your os with swapping
22:52:48  <glx> it eats the RAM before :)
22:52:58  <MNIM> hmmmh. mine could actually open it.
22:53:17  <drac_boy> frosch123 it would depend, some image viewers cache the image from drive, not from ram :p
22:53:17  <FLHerne> Luckily I've got plenty of RAM on this computer
22:53:23  <MNIM> though that was only a bit above a GB, and I have 4 available
22:53:38  <frosch123> FLHerne: i doubt that
22:54:59  <FLHerne> Well, I've got 128 times as much as on my laptop, and that plays OTTD
22:55:05  <frosch123> @calc (16384 + 8092)**2 * 64 * 32 * 4 / 1024 / 1024 / 1024
22:55:05  <DorpsGek> frosch123: 4570.57629395
22:55:13  <frosch123> FLHerne: you have 4.5 TB of memory?
22:55:21  <FLHerne> for a given value of plays
22:55:23  <FLHerne> No
22:55:37  <FLHerne> Perhaps I put the wrong number in my calculator
22:55:44  <frosch123> see, you are not able to store the screenshot of a 16k x 8k map uncompressed in memory
22:55:56  *** drac_boy [] has left #openttd [I'm done being in this room!]
22:56:14  <FLHerne> Err...4.5 TB!?
22:56:44  <FLHerne> I don't even have that much storage space in my house!
22:56:47  *** cl8 [] has quit [Ping timeout: 480 seconds]
22:56:55  <frosch123> hmm, i think i miscalculated, it is slightly less
22:57:03  <Yexo> why the **2 ?
22:57:37  <FLHerne> At least I got the numbers right, it would be fun to try this on my PowerBook
22:57:40  <frosch123> number of tiles from west to east and north to south
22:58:15  <FLHerne> TTD is using more RAM just now than the PBook has hard drive space :P
22:58:36  <frosch123> @calc (16384/2 + 8092)**2 * 64 * 32 * 4 / 1024 / 1024 / 1024
22:58:36  <DorpsGek> frosch123: 2023.07629395
22:58:40  <frosch123> only 2 TB
22:58:45  <FLHerne> Ah
22:59:20  <frosch123> unless ctrl+g uses extra zoom today :p
22:59:30  <Yexo> @calc ((16384 + 8092)/2)**2 * 64 * 32 * 4 / 1024 / 1024 / 1024
22:59:30  <DorpsGek> Yexo: 1142.64407349
22:59:33  <frosch123> then it's 32 GB
22:59:36  <frosch123> *TB
22:59:37  <Yexo> isn't it that?
22:59:42  <FLHerne> GAH!
23:00:12  <FLHerne> Oh well, map generating reaches 28%
23:00:22  <FLHerne> That's 6% in 10 minutes
23:00:26  <frosch123> Yexo: yeah, maybe
23:00:33  <FLHerne> How accurate is the indicator thing?
23:00:47  <frosch123> depend whether you use newgrfs
23:01:02  <frosch123> if you use ecs vectors, then maybe go to sleep now
23:01:09  <FLHerne> FIRS?
23:01:11  <frosch123> and wake up in the morning with the map
23:01:18  <FLHerne> Also sleep?
23:01:48  <FLHerne> Town generation: 4005/
23:01:58  <FLHerne> 26624
23:02:14  * FLHerne wanders off for a bit
23:02:15  <frosch123> FLHerne: anyway, map generation is fast by definition
23:02:40  <frosch123> you cannot even imagine how long it would take to even only connect 1% of the stuff on that map
23:02:57  <frosch123> 2k x 2k is already way too big for a single player
23:03:01  <FLHerne> No. I can't
23:03:14  <frosch123> granted :)
23:04:12  <glx> is there a townname generator able to generate 26624 names ?
23:04:26  <FLHerne> I wonder what would happen if I removed the max distance for ships, then created a completely water-filled , 16k x 8k map and put a few hundred ships in it?
23:04:51  <Yexo> it'd lag enormously
23:05:17  <FLHerne> Understatement perhaps? :P
23:05:43  <frosch123> well, at some point the yapf cache kicks in, and more ships actually do not make it slower
23:06:10  <FLHerne> Oh, didn't know that
23:06:31  <frosch123> i once tried to make a performance test case for the ship pf by just building a heap of ships on one side of the map and sending them to the other side
23:06:47  <frosch123> but, it turned out to be a bad testcase
23:06:57  <FLHerne> Does that only apply to ships following a similar or identical course, or does it do something clever?
23:07:12  <frosch123> yapf generally caches trackcost
23:07:25  <frosch123> which is profitable if multiple vehicles use the same "tracks"
23:07:42  <frosch123> this is obviously good for trains and also (but less) for road vehicles
23:07:57  <frosch123> but usually there is a lot more water than ships, so it does not work so well for ships
23:08:40  <frosch123> but it works if all ships are in the same place
23:19:40  *** Chris_Booth [] has quit [Quit: ChatZilla [Firefox 11.0/20120310173008]]
23:23:49  *** Progman [] has joined #openttd
23:24:44  *** Firartix [] has quit [Ping timeout: 480 seconds]
23:29:47  *** swissfan91 [] has joined #openttd
23:30:28  *** Devroush [] has quit []
23:32:55  <Wolf01> 'night all
23:32:59  *** Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
23:34:53  *** pjpe [] has quit [Quit: ajax IRC Client]
23:35:28  *** xiong [] has joined #openttd
23:37:33  <Rhamphoryncus> Hum.  Autorefit is somewhat incompatible with gradual loading if you're putting different cargotypes on the same train at the same time.
23:39:44  *** TGYoshi [~TGYoshi@] has quit [Quit: Popidopidopido]
23:40:05  <FLHerne> Oh? I haven't tried that yet - what happens?
23:42:19  <Rhamphoryncus> Gradual loading spaces cargo out.  When there's enough for a full load it'll just keep going until it's full.  If you're autorefitting to multiple cargo types however that locks in the cargo type
23:42:39  <Rhamphoryncus> So you may have a tiny amount of wool in each car, then be unable to load any plant fibres
23:43:43  <FLHerne> So if you're loading more than one type of cargo and both fit in the same type of vehicle, only one gets loaded?
23:43:51  <Rhamphoryncus> Exactly
23:44:29  <Rhamphoryncus> That's fine.  I don't expect them to mix.  The problem is when you have 10 cars and they each only have 2 wool
23:44:41  <FLHerne> I imagine Cargodist (and consequent partial loading/unloading) might cause problems too?
23:44:50  *** Progman [] has quit [Remote host closed the connection]
23:45:26  <Rhamphoryncus> Ideally you'd have 2 cars full with one partially full, the rest empty
23:45:32  <Rhamphoryncus> Not sure.
23:46:04  <FLHerne> Town generation: 8442/26624...
23:46:23  <Rhamphoryncus> giant map?
23:46:52  <FLHerne> Yes. So I should turn off gradual loading when it finishes generating?
23:47:18  <Rhamphoryncus> Only if you intend to use autorefit in that fashion
23:47:20  <Yexo> <FLHerne> I imagine Cargodist (and consequent partial loading/unloading) might cause problems too? <- there shouldn't be any problems there
23:47:38  <FLHerne> I do intend to use autorefit in that fashion :P
23:47:46  <Rhamphoryncus> Then yes, turn it off :)
23:48:25  <FLHerne> It might finally make my all-stations branch mixed freights work :D
23:49:05  <Rhamphoryncus> I'm also using FIRS with the rations locked at 100%
23:49:18  <Rhamphoryncus> If it takes you that long to generate the map are you sure your computer can handle playing on it?
23:49:35  <FLHerne> No. I suppose I'll have to see :P
23:50:26  <FLHerne> It plays 8k by 4k, but I haven't tried anything this big before
23:50:44  <Rhamphoryncus> Never, ever zoom out ;)
23:50:55  <FLHerne> Hmm.
23:51:16  <FLHerne> 9000 towns now
23:51:29  <Rhamphoryncus> Also try turning off loading indicators and reserved tracks
23:51:52  <FLHerne> I think I found most of the performance things
23:52:26  <FLHerne> December's mad project was to play OTTD in 32MB of RAM :D
23:52:35  <Rhamphoryncus> There's currently a lot of issues with excessive redrawing
23:53:13  <FLHerne> Of sprites that haven't changed?
23:53:19  <Rhamphoryncus> yup
23:54:43  <FLHerne> Hmm. Will have to go to bed and let the map generate on its own
23:54:47  <FLHerne> Goodnight
23:54:50  *** FLHerne [] has left #openttd []
23:56:22  <frosch123> haha, told him that a hour ago :p

Powered by YARRSTE version: svn-trunk