Back to Home / #openttd / 2012 / 10 / Prev Day | Next Day
#openttd IRC Logs for 2012-10-14

---Logopened Sun Oct 14 00:00:43 2012
00:56-!-Eddi|zuHause2 [] has quit []
00:56-!-Eddi|zuHause2 [] has joined #openttd
02:08-!-andythenorth [] has joined #openttd
02:09<andythenorth>to the specs!
02:09-!-sla_ro|master [slaco@] has joined #openttd
02:20-!-KouDy [~KouDy@] has joined #openttd
02:26-!-andythenorth [] has quit [Ping timeout: 480 seconds]
02:33-!-Supercheese [~Password4@] has quit [Quit: ChatZilla 0.9.89 [Firefox 16.0.1/20121010144125]]
02:35-!-andythenorth [] has joined #openttd
02:46<andythenorth>oh dear
03:07<andythenorth>Terkhen planetmaker ¿ so if I read the nml get the correct climate-aware ground appearance, FIRS has a stack of ground sprite + 7 childsprites (with complex conditions)
03:07<andythenorth>does that sound like the correct understanding?
03:09-!-roadt [~roadt@] has quit [Ping timeout: 480 seconds]
03:14-!-mahmoud [] has joined #openttd
03:25-!-Progman [] has joined #openttd
03:35-!-Alberth [] has joined #openttd
03:35-!-mode/#openttd [+o Alberth] by ChanServ
03:35<andythenorth>lo Alberth :)
03:36-!-sla_ro|master [slaco@] has quit [Quit: DANGER is OFFLINE DANGER]
03:36*Alberth has a deja-vu :)
03:36<@Alberth>hi andy
03:40-!-sla_ro|master [~slaco@] has joined #openttd
03:46-!-Devroush [] has joined #openttd
04:19-!-roadt [~roadt@] has joined #openttd
04:28*andythenorth isn't convinced about magically concatenating identifiers
04:28<andythenorth>not everywhere anyway
04:28<andythenorth>in some cases seems better to write them out by hand and use find / replace if they change
04:32<@planetmaker>andythenorth, yes, that's how I wrote that template: draw on ground and conditionally the correct one over it
04:32<@planetmaker>good morning
04:32<andythenorth>it's pretty neat
04:39<Terkhen>good morning
04:40<Terkhen>andythenorth: I don't remember, can you point me to the file which contains that code?
04:40<andythenorth>Terkhen: it's ok, planetmaker answered :)
04:40<andythenorth>but it's in...
04:43<Terkhen>aah, yes, I remember it now :)
04:44<Terkhen>I remembered something quite more complex, which probably was our original solution before that one :P
04:45<andythenorth>this one looks pretty robust
04:45*andythenorth wishes chameleon would spit a better error for a misclosed tag :P
04:47*andythenorth got tripped up again by "a single-entry tuple is a string in python" :P
04:48<andythenorth>always happens :P
04:48<andythenorth>trying iterating over ('building_sprite')
04:48<andythenorth>you get each char
04:48<andythenorth>that's been confusing me every few months for about 7 years :P
04:49<@Alberth>sure, a parenthesized expression is just its value
04:49<@Alberth>a single-valued tuple is ('building_sprite',)
04:49<@Alberth>ie the , is what makes it a tuple
04:49<@planetmaker>hallo Terkhen
04:50*Alberth forgot the syntax of a zero-valued tuple :(
04:51<@Alberth>planetmaker: FYI: I consider 'done' for now.
04:51*andythenorth now has tiles and layouts building with python for the grain mill
04:51<andythenorth>not spritesets yet
04:52<andythenorth>but maybe spritesets should be written out manually anyway
04:52<@Alberth>or derived from some name convention or so :)
04:52<andythenorth>could do that
04:53<andythenorth>generating them reduces manual work to add snow version
04:53<andythenorth>no idea how I'm going to handle non-standard tiles yet (e.g. animated)
04:54<@Alberth>every tile is animated? :)
04:55-!-Wolf01 [] has joined #openttd
04:56<@Alberth>moin Wolf01
04:56<andythenorth>Alberth: ho, every tile is animated probly works :P
04:57<andythenorth>oh dear
04:57<andythenorth>if I make the spriteset a class, then I'll have the number of realsprites and frames in scope
04:57<andythenorth>so I can just write them into the layout
04:58<andythenorth>it's like an OO foam party here
04:58<andythenorth>should have done this a year ago, instead of moaning about CPP :P
04:58<@Alberth>moaning is generally unproductive :)
04:59<@Alberth>but it feels good :)
04:59<andythenorth>it's just how I get things done
04:59<andythenorth>moaning is like breathing :P
05:00-!-roadt [~roadt@] has quit [Ping timeout: 480 seconds]
05:09<@planetmaker>"done" is good news, Alberth :-)
05:12<@Alberth>that remains to be seen, now the things I didn't do correctly will surface :p
05:13-!-roadt [~roadt@] has joined #openttd
05:16-!-Elukka [] has joined #openttd
05:17*andythenorth has not yet looked at the slope aware layout
05:17<andythenorth>nor fences :P
05:17-!-keoz [] has joined #openttd
05:18<@Alberth>one thing you may want to consider is a better nml primitive to do these things
05:21<@planetmaker>andythenorth, slope aware is simple, too... it's just calling the proper sprite as defined by the slope
05:22<@planetmaker>sprite: spritesetname(slope_to_sprite);
05:22<andythenorth>this is the python-ified equivalent of GROUND_AWARE_SPRITE_LAYOUT
05:22<@planetmaker>or similar, need to lookup the exact nml function for conversion of slope to sprite
05:23<andythenorth>the template will tell me
05:23<andythenorth>it's all pretty obvious in the source, or compiled nml
05:23<andythenorth>so far this has been easy, all I need is motivation + not to be holding a child ;)
05:24<@planetmaker>Is there a reason to re-write the templates?
05:26<@planetmaker>from what I see there it's only a slight syntactic variation on the existing template?
05:27<andythenorth>the resulting nml should be ~1:1 same
05:27<@Alberth>andythenorth: you're extending nml for better handling of layout. Since this is a generic problem, chances are that others can benefit from your approach too. The better place for this extension is thus in nml itself.
05:28<andythenorth>Alberth: write 1 first though to learn...
05:28<@Alberth>that's the usual approach :)
05:28<andythenorth>also last time it was discussed, nml templating was 'parked, awaiting ideas / time'
05:29<@Alberth>templates and prmitives are not the same
05:29*andythenorth is prepared to learn...
05:29<@Alberth>templates is about giving arbitrary constructs a name so you can re-use them (which is what is being done with CPP and m4 currently)
05:30<@Alberth>a primitive is an elementary language construct
05:30<@Alberth>ie the list of 'statements' supported by nml
05:30<@planetmaker> <-- that is simpler?!
05:30<@planetmaker>splitting the layout definitions into three files?
05:30<andythenorth>alberth so primitives != first class objects or so?
05:31<andythenorth>planetmaker: one of those is generated
05:31<@planetmaker>generated... and in the repo?
05:31<andythenorth>thought I removed it
05:31<andythenorth>seems not
05:31<@planetmaker>maybe later
05:31<@planetmaker>it's not tip commit I linked
05:32-!-argoneus [] has joined #openttd
05:32<andythenorth>yeah it's gone in tip ;)
05:32*planetmaker finds the result A LOT more complicated
05:33<@Alberth>andythenorth: note sure, some primitives are first class objects, whether they all are would depend on the design of the primitive, I'd say
05:33<@Alberth>planetmaker: complexity is not an objective notion :p
05:33<@planetmaker>but possibly I don't yet understand it fully
05:34<@planetmaker>indeed, Alberth
05:35<andythenorth>planetmaker: no you're correct, it is more complicated (complex?). Each industry becomes a first class python object, with a template, which is definitely more complex, but also makes many things easier
05:35<andythenorth>it's the same as FISH and BANDIT tbh
05:35<@planetmaker>what becomes easier?
05:35<@planetmaker>becomes? gets?
05:36<andythenorth>templating, and economies
05:37<andythenorth>we'll see
05:37<andythenorth>it can always be reverted :P
05:38<andythenorth>Alberth: so what primitives might be useful in this case?
05:39-!-DDR [] has quit [Quit: for the love of god this is not safe for work]
05:39<@Alberth>I don't know, what are you missing?
05:40<andythenorth>I don't know either :)
05:40<@planetmaker>solving an undefined problem?
05:40<andythenorth>every time I work with nml, I want first class objects in scope
05:40-!-perk11 [~perk11@] has joined #openttd
05:40<andythenorth>I don't think nml should be providing that though
05:40<@planetmaker>why not?
05:41-!-pugi [] has joined #openttd
05:41<andythenorth>so in FISH and BANDIT I have vehicle objects, in FIRS there are industry, tile, layout and spriteset objects
05:41-!-Biolunar [] has joined #openttd
05:42<andythenorth>having objects means that templates can be simple, because they handle minimal logic
05:43<@planetmaker>andythenorth, would it then not make sense to provide these first-class objects in NML? similar like you can define them in c++ but not in c?
05:44<andythenorth>I worry it imposes programming on non-programmers I guess
05:44<@planetmaker>writing a newgrf *is* programming, no?
05:44<@planetmaker>and... if they're not obligatory, people can just ignore it
05:47<andythenorth>^ there is code in there that will be moved out to a common module
05:47<andythenorth>but it shows how I define the layouts, tiles, etc
05:50<@planetmaker>the top part I assume, the module definitions will be moved
05:50<@planetmaker>the top part I assume, the module definitions will be moved
05:50<@planetmaker>how does this template industries better, though? By deriving an industry objects from a parent object which defines the common things?
05:51<andythenorth>I wonder if I just prefer the syntax
05:51<andythenorth>I don't know why this is logically better
05:52<andythenorth>I know that I wrote a CPP version of BANDIT, and got a kicking on this channel for doing things wrong, and it was no fun either
05:53<andythenorth>just ugly code
05:54<@planetmaker>I simply cannot comment on this code :-P
05:54<andythenorth>when I try and do CPP things I keep coming up against the limitations of a macro language, when I want a programming language to hand I think
05:55<@planetmaker>yes, sure, it's much more limited. It's not a programming language nor a full-fledged macro one
05:56<V453000>I really dont want to see full firs code :D
05:57<andythenorth>V453000: firs code is what it is, it works, it handles a lot of complicated cases
05:58<andythenorth>but very few people want to work on it :(
05:58<andythenorth>and I kind of can't
05:58<V453000>perhaps you will be able to in the future again :)
05:58<@planetmaker>why can't you? The cpp templates too complicated?
05:58<@planetmaker>to opaque?
05:59<andythenorth>it's just an ugly format CPP, mixing variadic macros with lots of parameters and ALLCAPS identified *into* nml which uses a similar format for params, and has ALLCAPS constants
05:59<@Alberth>I'd remove the 'layouts.append' magic
05:59<andythenorth>Alberth: thought you might say that :)
05:59<andythenorth>one rev does it explicitly by hand
06:00<andythenorth>I thought I'd be clever and register them :P
06:00<andythenorth>what would you do there?
06:00<@Alberth>I found that clever code tends to bite :)
06:00<@Alberth>do you need the layout_4 variable?
06:00<andythenorth>"clever" is why the windmill tile has to be commented out :P
06:01*planetmaker will stop the whining and just let andy do what he sees fit ;-)
06:01-!-valhallasw [] has joined #openttd
06:01<andythenorth>layout_4 is the unfinished stuff
06:01<@Alberth>k, otherwise you could make a list directly
06:03<@Alberth>you could do 'layouts.append(layout_x)' under the definition, or at the end construct a list explicitly
06:03<@Alberth>the former is easier to get right imho
06:03<andythenorth>I had the latter, it looked like a maintenance headache
06:04<andythenorth>I'll do the former
06:04<andythenorth>less magic
06:04<andythenorth>is good
06:05-!-pugi [] has quit []
06:05-!-Knogle^AFK is now known as Knogle
06:10<andythenorth>Alberth: does my formatting of parameters (long lists when creating instances of classes etc) make you wince ?
06:10<andythenorth>e.g. when creating tile instances and layout instances
06:11<@Alberth>somewhat yeah
06:11<andythenorth>looks like jQuery :(
06:11<V453000>im getting flashbacks to java which I hated at school
06:12<V453000>not like I know any other programming at all though
06:14-!-Hyronymus [] has joined #openttd
06:16<@Alberth>why is 'tiles' a tuple in Layout?
06:19<andythenorth>Alberth: do you mean 'why tuple not list' or 'why is it in layout'' ?
06:20<@Alberth>the former
06:20<andythenorth>no idea
06:20<andythenorth>could be a list of tuples
06:20<andythenorth>is that better form?
06:21<@Alberth>I see tuples as things with a fixed length, which is not the case here
06:21<andythenorth>sounds fine
06:21<@Alberth>but maybe I am wrong :)
06:21*andythenorth changes
06:21<andythenorth>it makes more sense when a tuple has a predictable length, e.g. (x, y, filename) or such
06:31<andythenorth>Alberth: now handle non regular shapes ;)
06:31<andythenorth>and things with gaps in
06:32<andythenorth>one min
06:32<@Alberth>oh, you leave out a triplet?
06:34<andythenorth>Alberth: here's some raw nml
06:35<@Alberth>that looks very much the same :p
06:36<andythenorth>some tiles in the grid are empty
06:36<andythenorth>the - does that of course in your version
06:38<andythenorth>tbh, when coding an industry there is a lot counting from n tile (usually by point at it with my finger with the game on the screen) :P
06:38<andythenorth>having the offsets from N tile is very handy at that point
06:38<andythenorth>although I do appreciate the suggestion ;)
06:38<@Alberth>offset of N tile?
06:39<andythenorth>industry layout is defined relative to the north-most tile in the layout
06:39<andythenorth> the 0, 1 are offsets in south-east / south-west directions
06:39*Alberth nods
06:39<andythenorth>and I'm very used to reading columns of offsets
06:40<andythenorth>I can kind of parse them now without thinking too much
06:40<andythenorth>ymmv :)
06:40<@Alberth>ah :)
06:40<@Alberth>you want a 2d layout :p
06:40*andythenorth envisages some horrible matrix :)
06:41<andythenorth>maybe I should draw them in a png
06:41<andythenorth>and have PIL figure it out
06:41<andythenorth>FIRS, "now with visual layout editor" :P
06:42<@Alberth> I do that sort of in freerct
06:43<@Alberth>in this case it gives names to the images in the .png file
06:44<andythenorth>xml :)
06:44*andythenorth hadn't considered that option :P
06:51*Alberth retracts the reference
06:53<andythenorth>honestly, xml might have a place in FIRS in future :P
06:54<andythenorth>although also...perhaps not ;)
07:00<@Alberth>I only use xml because I am too lazy to write a proper parser :)
07:03-!-LordAro [] has joined #openttd
07:04<LordAro>afternoon all
07:05<LordAro>planetmaker/Rubidium: apparently my last message to you was cut off: "thanks for your help!"
07:07<LordAro>here's what i've been doing with my time:
07:09-!-roadt [~roadt@] has quit [Ping timeout: 480 seconds]
07:13<LordAro>"23:02:31 < Kjetil> why doesn't the file specification you mention use stdint-types ?" <-- it probably does, but according to the spec i'm following, it does, so that's what i was using :L
07:21<andythenorth>Alberth: currently I'm passing explicit ids (strings) to classes
07:21<andythenorth>this is the best way to do it with python, right?
07:22<@Alberth>python prefers explicit (and so do I)
07:23<@Alberth>assuming you need the id somewhere of course :p
07:23<andythenorth>I do
07:24<andythenorth>so I've templated the simple cases for spriteset, tiles, layouts
07:24<andythenorth>now I have to figure animation :P
07:27<@Alberth>LordAro: hi, one quick comment dirFile and hFile have inconsistent code style, it seems
07:28<LordAro>Alberth: hai :)
07:28<LordAro>i realise tis, i've basically just hacked it all together so it's functional, other than that, who knows :)
07:30<andythenorth>what are the performance implications if I make every tile animated?
07:31<andythenorth>(industry tile)
07:31<andythenorth>most will only have one frame
07:32<@Alberth>make a special case in the code generator?
07:32<andythenorth>could do
07:32<andythenorth>not animated, animated
07:32<andythenorth>or just don't enable animation on the tile
07:33*andythenorth has some digging in code to do :P
07:36<andythenorth>wrt zextent, how accurately does it need to be provided?
07:36<andythenorth>if there are multiple building sprites in a layout, can they all use same zextent?
07:47<andythenorth>if a building changes size (animated for example), zextent needs to change too?
07:48<andythenorth>or is it 'meh'?
07:48<@Alberth>I have no idea at all about zextent
07:50<andythenorth>me neither :P
07:50<@Alberth>now I am worried :p
07:52<andythenorth>I never had any idea in nfo FIRS either
07:53<andythenorth>I'll make an assumption and deal with consequences later :P
07:54<Yexo>good afternoon
07:56-!-Progman [] has quit [Remote host closed the connection]
07:56-!-frosch123 [] has joined #openttd
07:57<@Alberth>hi frosch123, Yexo
07:57<andythenorth>bonour Yexo and quak
07:57<Yexo>andythenorth: as with all other variables that deal with bounding boxes: if the bounding box becomes too small it can cause glitches, I think it should never extend over tile borders but the smaller the better for performance
07:57<frosch123>afternoon Alberth, andythenorth, Yexo :)
07:57<Yexo>theoretically at least, I'm not sure it means much as long as you use reasonable values
07:58<andythenorth>we have values already for FIRS, I'm just trying to figure how specific it should be
07:58<andythenorth>if I can define it per spriteset (to largest sprite in set)
07:58<andythenorth>or if it needs to be more fine-grained
07:58<Yexo>can be per spriteset
07:58<andythenorth> seems the tile layout only has one definition for it, ignoring animated frames that might change size :P
07:58*andythenorth does per spriteset
07:59<andythenorth>why is the default result for indsutry layouts a tile ID?
08:00*andythenorth made a mistake
08:02-!-roadt [~roadt@] has joined #openttd
08:13-!-fonsinchen [] has joined #openttd
08:13<fonsinchen>TrueBrain: Thanks for fixing the Windows build problem. Unfortunately the Cargodist build is still not working so well. See
08:14<fonsinchen>It seems to have problems creating some directories needed for publishing and then nothing is published.
08:14<TrueBrain>I fixed something?
08:14<fonsinchen>For some reason it still marks "publishing" green.
08:15<fonsinchen>Build #52 succeeded for some magic reason.
08:15<fonsinchen>#51 failed
08:15<fonsinchen>I wrote an email about that.
08:16<TrueBrain>it does; but it is not always me ;)
08:16<fonsinchen>I mean #52 seemed to succeed, but didn't actually publish.
08:16<TrueBrain>the publish seems to fail on upload to openttdcoop
08:18<fonsinchen>What is that doing there? It seems it fails on creating a directory /home/openttd . Is that by ssh on openttdcoop?
08:18<TrueBrain>the coop server made some changes in the way they want to receive files
08:19<TrueBrain>for what ever reason
08:19<TrueBrain>and that is giving issues
08:19<fonsinchen>can I do anything about that?
08:20<TrueBrain>started a new build
08:20<TrueBrain>sadly, it has to do everything again ..
08:20<TrueBrain>we will see
08:22<TrueBrain>ah, I get why it goes wrong
08:22<TrueBrain>how do you set the port for scp ...
08:22<TrueBrain>-P, lolz
08:22-!-Ammler [] has joined #openttd
08:23<Ammler>the ssh port of changed to 10222, that should be about all changes
08:23<TrueBrain>I am well aware, thank you :P
08:23<TrueBrain>but non-default ports are a bitch
08:24<TrueBrain>there is no universal syntax
08:24<TrueBrain>like host:port:/dir or what-ever
08:24<Ammler>edit .ssh/config ?
08:24<Yexo>to avoid any confusion: I relayed the problems above to Ammler. TrueBrain found the problem just before Ammler entered here
08:24<TrueBrain>you have to add -p -P .....
08:26<TrueBrain>Ammler: I am not a big fan of hiding configuration in system-wide files .. makes it rather hard to move anything if it is ever needed
08:28<V453000>Pikka and people around him working on UKRS2: I really like where the set is progressing :) well done
08:28<andythenorth>nml is a beautiful thing
08:29<Ammler>pikka does nml too now?
08:29<Ammler>ro do you just make generic comments about how nice the world is? :-P
08:30<andythenorth>I am in the nml docs
08:30<andythenorth>conveniently spritesets are zero-indexed
08:30<andythenorth>which makes for nicer code
08:30<V453000>UKRS2 is not in NML?
08:30<andythenorth>pikka is firmly attached to nfo
08:31<V453000>:) if it works for him
08:31<Ammler>he might have is own secret framework
08:31-!-Chris_Booth [] has joined #openttd
08:31<andythenorth>he has a build script
08:31<andythenorth>it's a batch file or something iirc
08:31<andythenorth>what happens in nml if I use animation_frame in a spriteset reference, but tile has no animation?
08:31<andythenorth>do I get 0?
08:31<andythenorth>[0 would be useful]
08:32<Yexo>animation_frame is 0 by default until it's changed by openttd due to animation properties or by an animation callback
08:32<Ammler>TrueBrain: would ipv6 with default port be better?
08:32<Yexo>so it's possible to set animation_frame to 10 and after that disable animation, you'll get 10 as value in that case
08:33<Ammler>still looking for a reason to finally setup ipv6 :-P
08:33<TrueBrain>it should be fixed this way, so I dont care anymore :P
08:33<andythenorth>Yexo: ¿ so I could control construction stages that way too (theoretical question, as none are drawn, nor do I plan to)
08:33<Yexo>yes, you could
08:33<andythenorth>this is very neat
08:41<TrueBrain>right, it should be published now
08:46<TrueBrain>fixed the warning too
08:46<TrueBrain>fonsinchen: can you confirm all went okay now?
08:48-!-KritiK [~Maxim@] has joined #openttd
08:48<andythenorth>hmm, turning animation on or off per spriteset? [andythenorth is thinking out loud]
08:48<fonsinchen>looks right now. The new build shows up on openttdcoop.
08:49<TrueBrain>here to serve :D
08:53-!-glx [glx@2a01:e35:2f59:c7c0:51a0:97a4:d2bc:80b0] has joined #openttd
08:53-!-mode/#openttd [+v glx] by ChanServ
08:57<andythenorth>Yexo: I assume floating point maths isn't supported with animation_rate?
08:57<andythenorth>e.g. 0.5 * animation_rate?
08:57<andythenorth>animation_frame /s
08:57<Yexo>floating point is nowhere supported by newgrfs
08:58<Yexo>animation_rate / 2 will work though, it just rounds to an integer
08:59<andythenorth>maybe I should rename my python animation_rate variable to avoid confusion
08:59<andythenorth>ah no, it's animation_speed in nml, tis ok
09:18-!-sla_ro|master [~slaco@] has quit [Quit: DANGER is OFFLINE DANGER]
09:19-!-KnogleAFK [] has joined #openttd
09:19-!-Knogle [] has quit [Read error: Connection reset by peer]
09:26-!-fonsinchen [] has quit [Remote host closed the connection]
09:26-!-Eddi|zuHause2 is now known as Eddi|zuHause
09:26<Eddi|zuHause>* andythenorth just remembered that his dream featured Eddi|zuHause <-- how could it, if you don't even know what i look like?
09:26<andythenorth>I imagined :P
09:26<andythenorth>it wasn't a hugely weird dream btw
09:27<andythenorth>I was travelling in Europe, we bumped into each other
09:27<andythenorth>we said hi :P
09:27<andythenorth>we went on our way
09:29<frosch123>does "british guy travelling on the continent" count as nightmare?
09:29<Rubidium>Eddi|zuHause: maybe some photos of r20k spilled?
09:29-!-andythenorth [] has quit [Read error: Connection reset by peer]
09:29-!-andythenorth [] has joined #openttd
09:29<@Alberth>perhaps for the britsh guy :)
09:29<V453000>possibly :)
09:30-!-andythenorth is now known as Guest1690
09:30-!-Guest1690 [] has quit [Read error: Connection reset by peer]
09:30-!-andythenorth_ [] has joined #openttd
09:30-!-andythenorth_ is now known as andythenorth
09:30-!-andythenorth_ is "(unknown)" on (unknown)
09:31-!-efess [] has quit [Ping timeout: 480 seconds]
09:39<Eddi|zuHause>so then... what did i look like?
09:42<Rubidium>back then you had a beard
09:42<Eddi|zuHause>i meant in his dreams
09:43<andythenorth>like a bloke
09:43<Rubidium>oh... ;)
09:43<andythenorth>can't remember :P
09:45<@Alberth>aka, an ordinary bloke :)
09:45<Rubidium>although technically... I've never seen Eddi|zuHause
09:45<Eddi|zuHause>technically :)
09:46<Eddi|zuHause>nobody of you did
09:46<Eddi|zuHause>not even the ones that picked me up
09:46<andythenorth>Yexo: all spritesets in a layout must contain same number of sprites....any builtin workarounds to that? (before I template to solve it)
09:54<Yexo>use empty sprites to fill up spritesets with not enough sprites
09:54<andythenorth>so just add lines with [] ?
09:55-!-andythenorth is now known as Guest1691
09:55-!-Guest1691 [] has quit [Read error: Connection reset by peer]
09:55-!-andythenorth_ [] has joined #openttd
09:55-!-andythenorth_ is now known as andythenorth
09:55-!-andythenorth_ is "(unknown)" on (unknown)
10:10-!-KnogleAFK is now known as Knogle
10:19-!-Chris_Booth [] has quit [Ping timeout: 480 seconds]
10:32*andythenorth wises python could time travel
10:32<SpComb>import timetravel
10:32<andythenorth>'get the value from a property on an object which I have not created yet but will'
10:32<andythenorth>like a forward reference
10:43-!-mode/#openttd [+v Alberth] by ChanServ
10:43-!-mode/#openttd [+v planetmaker] by ChanServ
10:43-!-mode/#openttd [+v peter1138] by ChanServ
10:43-!-ChanServ changed the topic of #openttd to: 1.2.2 | Website: * (translator: translator, server list: servers, wiki: wiki, patches & bug-reports: bugs, revision log: vcs, release info: finger) | Don't ask to ask, just ask | 'Latest' is not a valid version, 'Most recent' neither | English only | for dev-talk | #openttd.notice for commit notices
10:43-!-mode/#openttd [+o SmatZ] by ChanServ
10:43-!-mode/#openttd [+o Terkhen] by ChanServ
10:43-!-mode/#openttd [+o Yexo] by ChanServ
10:43-!-mode/#openttd [+o blathijs] by ChanServ
10:47-!-andythenorth is now known as Guest1697
10:47-!-Guest1697 [] has quit [Read error: Connection reset by peer]
10:47-!-andythenorth_ [] has joined #openttd
10:47-!-andythenorth_ is now known as andythenorth
10:47-!-andythenorth_ is "(unknown)" on (unknown)
10:48-!-pugi [] has joined #openttd
10:50<@DorpsGek>Commit by frosch :: r24592 trunk/src/date.cpp (2012-10-14 14:50:20 UTC)
10:50<@DorpsGek>-Codechange [FS#5241]: Set up the new date completely before calling various daily or monthly processings. (dihedral)
10:55<andythenorth>can I mix spritesets and sprite numbers in one layout?
10:56<andythenorth>must be my fault then :)
11:06-!-cyph3r [] has joined #openttd
11:06-!-pugi [] has quit []
11:16-!-M1zera [] has joined #openttd
11:17-!-Industrial [~tom@] has left #openttd [WeeChat 0.3.7]
11:18<@DorpsGek>Commit by yexo :: r24593 /trunk/src (strings.cpp strings_func.h) (2012-10-14 15:18:09 UTC)
11:18<@DorpsGek>-Fix [FS#5333]: crash when a gamescript provided too many parameters to a GSText object
11:19<LordAro>i literally just looked at the changelog, now i have to look again..
11:19-!-andythenorth [] has quit [Ping timeout: 480 seconds]
11:20<LordAro>honestly, y u devs no work around my schedule?
11:21<frosch123>what? you are implying we work at all :p
11:22*LordAro concedes point to frosch123
11:24-!-KouDy1 [~KouDy@] has joined #openttd
11:25-!-Alberth [] has left #openttd []
11:26-!-andythenorth [] has joined #openttd
11:26-!-KouDy2 [~KouDy@] has joined #openttd
11:27-!-efess [] has joined #openttd
11:28<andythenorth>@seen alberth
11:28<@DorpsGek>andythenorth: alberth was last seen in #openttd 1 hour, 43 minutes, and 11 seconds ago: <Alberth> aka, an ordinary bloke :)
11:31-!-KouDy [~KouDy@] has quit [Ping timeout: 480 seconds]
11:32-!-KouDy1 [~KouDy@] has quit [Ping timeout: 480 seconds]
11:39-!-andythenorth is now known as Guest1701
11:39-!-Guest1701 [] has quit [Read error: Connection reset by peer]
11:39-!-andythenorth [] has joined #openttd
11:41-!-pugi [] has joined #openttd
11:41-!-andythenorth [] has quit [Read error: Connection reset by peer]
11:41-!-andythenorth [] has joined #openttd
11:57-!-M1zera [] has quit [Read error: Connection reset by peer]
12:03<LordAro>(without clicking on link) it's happening now?
12:05<__ln__>yes, but he's only at 40000 feet atm
12:05<__ln__>going to take a while until he reaches 120000
12:05-!-sla_ro|master [~slaco@] has joined #openttd
12:09<LordAro>still not sure about broadcasting it live - what are they going to do if something goes wrong?
12:10<@planetmaker>broadcast it live? :-)
12:10<@planetmaker>there's no point to watch something live where you know exactly what happens 100%
12:11<LordAro>is a German lecturing an English person on their English skills again? (not sure)
12:26<andythenorth>if the graphics chain switch for industry layouts (relative tile position) is templated....
12:26<andythenorth>...I can probably template the layout definitions as well right?
12:28<@planetmaker>LordAro, if you meant me: no, I didn't try. But surely they'll just broadcast anything happening live. And tbh, there's no real harm in that. We're not in US free-TV here. Luckily
12:29<TyrHeimdal>IF something goes wrong after he jumps...there won't be anything to see
12:30-!-sla_ro|master [~slaco@] has quit [Quit: DANGER is OFFLINE DANGER]
12:32-!-keoz [] has quit [Quit: keoz]
12:34-!-sla_ro|master [~slaco@] has joined #openttd
13:03<andythenorth>Yexo planetmaker: FIRS grain mill has 6 layouts, but the graphics switch only handles 4 of them
13:03<andythenorth>and nothing looks broken in game (it has been this way for months at least)
13:03<andythenorth>which is intriguing
13:05<andythenorth>2 layouts are repeated, probably to minimise savegame breakage
13:06-!-DanMacK [~androirc@] has joined #openttd
13:10<andythenorth>ho ho DanMacK
13:17-!-Progman [] has joined #openttd
13:21-!-GuiLuux [] has quit [Read error: Connection reset by peer]
13:23-!-Guilux [] has joined #openttd
13:28-!-DanMacK [~androirc@] has quit [Remote host closed the connection]
13:28-!-DanMacK [~androirc@] has joined #openttd
13:35-!-DanM [~androirc@] has joined #openttd
13:37-!-DanMacK [~androirc@] has quit [Ping timeout: 480 seconds]
13:37-!-Alberth [] has joined #openttd
13:37-!-mode/#openttd [+o Alberth] by ChanServ
13:39-!-DanM [~androirc@] has quit [Remote host closed the connection]
13:41-!-DanMacK [~AndChat61@] has joined #openttd
13:45-!-andythenorth [] has quit [Quit: andythenorth]
13:45<@DorpsGek>Commit by translators :: r24594 /trunk/src/lang (3 files) (2012-10-14 17:45:21 UTC)
13:45<@DorpsGek>-Update from WebTranslator v3.0:
13:45<@DorpsGek>croatian - 7 changes by VoyagerOne
13:45<@DorpsGek>korean - 7 changes by telk5093
13:45<@DorpsGek>russian - 5 changes by Lone_Wolf
13:50<__ln__>at 127200 feet
13:52-!-DanMacK [~AndChat61@] has quit [Ping timeout: 480 seconds]
13:52<__ln__>(not me personally)
14:25-!-Fawksie [] has quit [Quit: upgrade]
14:33-!-Guilux [] has quit [Ping timeout: 480 seconds]
14:36-!-Chris_Booth [] has joined #openttd
14:46-!-andythenorth [] has joined #openttd
14:49-!-Guilux [] has joined #openttd
15:02<LordAro>__ln__: fairly impressive, no?
15:02<__ln__>oh yes
15:07<andythenorth>or you've got the red bull baumgartner thing open
15:07<andythenorth>made my laptop hot :P
15:08*andythenorth breaks FIRS savegames again
15:11-!-Alberth [] has left #openttd []
15:11<Prof_Frink>peter1138: Because you're hugin'ing huge panoramas?
15:14<@peter1138>it's since i switched from vservers to lxc
15:15<@DorpsGek>Commit by frosch :: r24595 trunk/src/group_gui.cpp (2012-10-14 19:15:00 UTC)
15:15<@DorpsGek>-Change [FS#5168]: Make the group GUI drag&drop highlighting behave more intelligible. (based on work by Juanjo)
15:21<andythenorth>Yexo: can a tilelayout and a switch share same identifier in nml?
15:21<andythenorth>[before I go concatenating cruft onto them]
15:27-!-peter1138 [] has quit [Remote host closed the connection]
15:31<Eddi|zuHause>andythenorth: unlikely
15:31-!-peter1138 [] has joined #openttd
15:31-!-mode/#openttd [+o peter1138] by ChanServ
15:32<andythenorth>Eddi|zuHause: ta
15:38*andythenorth experiments anyway
15:41-!-HerzogDeXtEr1 [] has joined #openttd
15:42<andythenorth>Eddi|zuHause: you were correct ;)
15:44<andythenorth>layouts property doesn't complain about last item having a trailing comma
15:44<andythenorth>I thought it would :P
15:44-!-argoneus_ [] has joined #openttd
15:47-!-HerzogDeXtEr [] has quit [Ping timeout: 480 seconds]
15:48<andythenorth>Eddi|zuHause: FIRS economies looks a bit more plausible to implement now
15:48<Eddi|zuHause>andythenorth: lists often allow a trailing comma
15:49<Eddi|zuHause>they do in C, and they do in Python
15:50<__ln__>C doesn't allow trailing commas afaik
15:51-!-argoneus [] has quit [Ping timeout: 480 seconds]
15:53<andythenorth>Eddi|zuHause: you could join me in 'templating FIRS with python' land :)
15:53<andythenorth>you might not like it :P
15:53<Eddi|zuHause>__ln__: the openttd code is full of those
16:11-!-DDR [] has joined #openttd
16:12<@Terkhen>good night
16:12-!-hmmwhatsthisdo [] has joined #openttd
16:12<__ln__>Eddi|zuHause: i'm basing my opinion on the fact that with GCC's -pedantic flag those aren't allowed.
16:13-!-roadt [~roadt@] has quit [Ping timeout: 480 seconds]
16:13<andythenorth>someone should teach my templated code to drop unnecessary linebreaks
16:13<andythenorth>in the generated output
16:13*andythenorth can't be bothered :P
16:15<@Yexo><andythenorth> layouts property doesn't complain about last item having a trailing comma <- a feature to make scripting easier
16:15<andythenorth>ho ho :)
16:15<andythenorth>I can drop the comma with the templater
16:15<andythenorth>but if it's not needed, I wont'
16:17-!-frosch123 [] has quit [Remote host closed the connection]
16:18*andythenorth forsees a line of code forthcoming "industry.get_code()"
16:18<andythenorth>that can't be good
16:19<NGC3982>I have been to the Nose Lake Train Museum this weekend.
16:19<NGC3982>It was a bit of a weird.
16:19<NGC3982>The guys hosting it was getting drunk with the electricians, having a blast in the cinema wagon.
16:19-!-Hyronymus [] has quit [Quit: Hyronymus]
16:30-!-sla_ro|master [~slaco@] has quit [Quit: DANGER is OFFLINE DANGER]
16:34*andythenorth runs out of things to template
16:41<dada_>hm, that's weird. I noticed some of my trains were 100 years old. turns out they could not find the route to the depot (even though it's very close by and properly connected to the tracks). when I changed one path signal to a presignal they suddenly did find the depot.
16:45<Rubidium>path signals are by default red and thus have a much higher pathfinder penalty than normal signals. Coupled with the fact that trains will only go to a depot when they are at most a certain amount of pathfinder penalty away from the depot
16:45<Rubidium>this will cause the effect you're seeing
16:46<Rubidium>there might be a setting for the amount of pathfinder penalty. Another solution is using service orders
16:48-!-Supercheese [~Password4@] has joined #openttd
16:55<Eddi|zuHause>also note that the trains cannot change the reservation when deciding to go to the depot
16:56-!-andythenorth [] has left #openttd []
17:00-!-supermop [] has joined #openttd
17:04-!-argoneus_ [] has quit [Ping timeout: 480 seconds]
17:20-!-perk11 [~perk11@] has quit [Quit: Miranda IM! Smaller, Faster, Easier.]
17:48-!-Chris_Booth [] has quit [Quit: ChatZilla 0.9.89 [Firefox 17.0/20121010150351]]
18:07<Wolf01>'night all
18:07-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
18:08<Supercheese>ach, nimis tardus fui...
18:08-!-guru3_ [] has quit [Ping timeout: 480 seconds]
18:14-!-guru3 [] has joined #openttd
18:25-!-Progman [] has quit [Remote host closed the connection]
18:45-!-Elukka [] has quit []
18:46-!-LordAro [] has quit [Remote host closed the connection]
18:46-!-KouDy2 [~KouDy@] has quit [Quit: Leaving.]
19:47-!-valhallasw [] has quit [Ping timeout: 480 seconds]
20:02-!-dada_ [] has quit [Quit: goodbyte]
20:05-!-KritiK [~Maxim@] has quit [Quit: Leaving]
20:07-!-Devroush [] has quit []
20:32-!-Biolunar [] has quit [Quit: My life for Aiur]
20:43-!-tokai|mdlx [] has joined #openttd
20:49-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
20:49-!-cyph3r [] has quit [Quit: Miranda IM! Smaller, Faster, Easier.]
21:19-!-Knogle^AFK [] has joined #openttd
21:19-!-Knogle [] has quit [Read error: Connection reset by peer]
22:00-!-Owner [] has joined #openttd
22:00-!-Owner is now known as Qoph
22:02<Qoph>Hello, I'm having an issue where I can't download any online content. The download is stuck displaying "Requesting files..."
22:02<Supercheese>Firewall blocking?
22:03<Supercheese>No wait
22:03<Supercheese>you wouldn't be able to see the list if it was
22:03-!-glx [glx@2a01:e35:2f59:c7c0:51a0:97a4:d2bc:80b0] has quit [Quit: bye]
22:03<Qoph>I'm running Windows 7, firewall is symantec endpoint
22:04<Supercheese>You've been able to successfully download previously, correct?
22:04<Supercheese>or is this your first attempt?
22:04<Qoph>No, I just got the game today and I was trying to download some AIs
22:04<Supercheese>ah, first attempt
22:06<Supercheese>Well, I'm not an expert in networking issues, unfortunately
22:06<Qoph>I can wait, I was going to go to the gym for a bit anyways
22:16-!-KenjiE20 [] has quit [Remote host closed the connection]
22:17-!-KenjiE20 [] has joined #openttd
22:24<Qoph>Well I was able to download the file ... but not via the in game menu. Could someone tell me how to add it manually?
22:25-!-pugi_ [] has joined #openttd
22:30-!-pugi [] has quit [Ping timeout: 480 seconds]
22:30-!-pugi_ is now known as pugi
22:51-!-DanMacK [~AndChat61@] has joined #openttd
22:54-!-DanMacK [~AndChat61@] has quit []
23:33-!-roadt [~roadt@] has joined #openttd
---Logclosed Mon Oct 15 00:00:45 2012