Back to Home / #openttd / 2012 / 02 / Prev Day | Next Day
#openttd IRC Logs for 2012-02-20

---Logopened Mon Feb 20 00:00:00 2012
00:56-!-Eddi|zuHause [] has quit []
00:56-!-Eddi|zuHause [] has joined #openttd
01:00-!-kkb110 [] has quit [Ping timeout: 480 seconds]
01:07-!-roboboy [] has joined #openttd
01:12-!-Phoenix_the_II [] has quit [Ping timeout: 480 seconds]
01:27-!-kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has joined #openttd
01:42-!-Rhamphoryncus [] has quit [Ping timeout: 480 seconds]
01:49-!-JVassie [~James@] has joined #openttd
01:50-!-kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has quit [Read error: Connection reset by peer]
01:50-!-kkb110_ [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has joined #openttd
01:52-!-roboboy [] has quit [Ping timeout: 480 seconds]
01:54-!-sla_ro|master [slaco@] has joined #openttd
02:14-!-JVassie [~James@] has quit [Ping timeout: 480 seconds]
02:26-!-kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has joined #openttd
02:26-!-kkb110_ [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has quit [Read error: Connection reset by peer]
02:51-!-supermop [] has quit [Quit: supermop]
03:06-!-Prof_Frink [] has quit [Ping timeout: 480 seconds]
03:22-!-TGYoshi [~TGYoshi@] has joined #openttd
03:28-!-DayDreamer [~DayDreame@] has joined #openttd
03:29-!-DayDreamer [~DayDreame@] has quit []
04:05-!-DDR [] has quit [Quit: ChatZilla 0.9.88 [Firefox 10.0.2/20120216100510]]
04:11-!-Zeknurn [] has quit [Read error: Connection reset by peer]
04:21-!-pjpe [] has quit [Quit: ajax IRC Client]
04:24-!-Firartix [] has joined #openttd
04:27-!-APTX [] has quit [Remote host closed the connection]
04:28-!-APTX [] has joined #openttd
04:41-!-roboboy [] has joined #openttd
04:42-!-Zeknurn [] has joined #openttd
04:49-!-pugi [] has joined #openttd
04:56-!-mahmoud [] has joined #openttd
05:01-!-theholyduck [] has joined #openttd
05:05-!-Biolunar [] has joined #openttd
05:22-!-Pikka [] has joined #openttd
05:22<Pikka>good day sirs
05:24<Eddi|zuHause>mondays are never good...
05:25<Pikka>what, never?
05:25<Pikka>gentlemen, is 1.2 possibly coming out before april 1st? :o
05:25<Eddi|zuHause>it's carneval monday, that's like as bad as it can get...
05:27<Ammler>Pikka: you have it already since christmas
05:28<Pikka>the betas and release candidates, yes
05:29<Pikka>I only want to know because I'm aiming to have stuff done by the release :)
05:30<Eddi|zuHause>by my experience, releases are almost never early... :p
05:31<Pikka>but april 1st is only an unofficial date
05:31<@peter1138>past history suggests it might be 1st of april :p
05:31*peter1138 doesn't know, however
05:31<Pikka>an RC so early has me spooked though :)
05:32<Eddi|zuHause>why? if you think 3 RCs and an RC every 2 weeks...
05:32<Pikka>I guess so Eddi
05:35<@peter1138>any plans for 32bpp/ez? ;p
05:35<@peter1138>(guessing not)
05:35<Eddi|zuHause>i have plans for ez, but my artists doesn't seem to agree :p
05:40<@peter1138>ah cool, i haven't read geektoo's discovery yet :p
05:40<@planetmaker>Pikka: it's the usual time
05:41<@planetmaker>and hello :-)
05:42<@peter1138>nice for rubidium to come up with a script to do the magic work :)
05:43<@peter1138>yeah "it's all wasted" well no, the sprites are still there
05:46<@planetmaker>finally. Also RC1 announced
05:47<@peter1138>the performance penalty for trying to load pngs was quite severe. it would be even worse with lots of pngs available...
05:47<@peter1138>pom te pom
05:49<@planetmaker>I tried to mention it. Maybe you can elaborate on that more, petern
05:59<Eddi|zuHause>planetmaker: your post fails to link to the title game competition
06:00<@planetmaker>hm :-) I should change that. Thanks
06:21-!-andythenorth [] has joined #openttd
06:30<Pikka> hmm
06:31<Pikka>that said, there are a few var 98 checks I'd have to get rid of in ukrs2 if that variable could change in unpredictable ways...
06:34-!-Pikka [] has quit [Read error: Connection reset by peer]
06:34-!-Pikka [] has joined #openttd
06:35<andythenorth>it's pikka
06:36<Pikka>was, has been, will be again!
06:36<Pikka>bonjour herr le north
06:37<@planetmaker>apropos: how's you new life? :-)
06:37<Pikka>whose new life?
06:37<@planetmaker>yours ;-)
06:37<andythenorth>are you still on the buses?
06:37<Pikka>quit last week andy
06:39<Pikka>I'm on holiday all next month trying to get grfs finished for 1.2.0, then I'll be getting into writing and graphicing and generally trying to make a living off my wits. :)
06:41<Pikka>working on UKRS at the moment, getting quite a bit done but unfortunately I'm thinking of more stuff to add at about the same rate as I'm adding stuff. :D
06:41<Pikka>I like your procedurally generated truck trailers andy
06:44-!-andythenorth is now known as Guest3241
06:44-!-andythenorth_ [~Andy@] has joined #openttd
06:44-!-andythenorth_ is now known as andythenorth
06:45<Pikka>wb andy
06:45*andythenorth procedurally generates irc
06:45<Pikka>how painful
06:45-!-Guest3241 [] has quit [Ping timeout: 480 seconds]
06:46<andythenorth>there's medication available I'm told
06:46<Pikka>if you know who to ask
06:46<Pikka>speaking of medication
06:47<Pikka>tea then laphroaig :)
06:47<andythenorth>Pikka: where in the world are you?
06:48<Pikka>where in the world? brisbane, as usual
06:50<Pikka>por why?
06:50<andythenorth>you seem to gad about occasionally ;)
06:52<Pikka>hopefully more so in the future, if I can make a bit of money and am no longer tied down by working for the man
06:53<Pikka>the man and his buses
06:53*andythenorth is in the position of being the man
06:53<andythenorth>so can't stop working for him
06:54*andythenorth wishes the man would give him more time to code pixels
06:56<Pikka>so these bandits
06:56<Pikka>they're just trucks, right? rigids too? going back how far?
06:56*Pikka would like to resurrect HOVS some time
06:57<Pikka>you do the trucks, I'll do the buses and trams :}
06:57<Elukka><Eddi|zuHause> i have plans for ez, but my artists doesn't seem to agree :p
06:57<Elukka>i think your artists first want to get some playable amount of vehicles drawn, and one of them is so terminally lazy he'd get nothing done if it took him even more time to draw a thing :p
06:58<Eddi|zuHause>so... i played transport giant for 5 minutes, and i'm already totally annoyed
07:01<andythenorth>Pikka: trucks from 1905, maybe earlier if I add steam trucks
07:02<andythenorth>it's being drawn to Dan's NARVS scale (small)
07:02<Eddi|zuHause>Elukka: for starters a closed wagon in white (for refrigerated) would be nice :)
07:02*Pikka will have to draw some buses
07:03<Eddi|zuHause>what was wrong with HOVS actually? the last "secret" version i played seemed nice (although i probably haven't seen the later years)
07:03<Pikka>after I draw all these darn trains D:
07:04<Pikka>nothing was wrong with it Eddi
07:04<Pikka>it's just old and mostly based on the original graphics. It's very much in the spirit of UKRS1
07:05<Pikka>oh, and the secret version didn't have any later years, that's what was wrong with it. :)
07:05<Pikka>any trucks for later years, anyway
07:05-!-Progman [] has joined #openttd
07:07<andythenorth>I recently played with HOVS to inspire BANDIT design
07:07<andythenorth>works ok
07:07<andythenorth>Pikka: our man in canada is keen to do buses too
07:07<andythenorth>he has an acronym :P
07:08<Pikka>well, HOVS can be strictly UK-style
07:08<andythenorth>BANDIT is multi-region btw
07:08<andythenorth>BANDIT will have parameters for north america, europe, australia/NZ, maybe others
07:09<andythenorth>I'm hoping Dan / somebody will draw some truck cabs
07:09<andythenorth>trailers will generate ok
07:09<andythenorth>the BANDIT code will be easy to extend to buses
07:10<Pikka>the generation code or the nfo/nml code?
07:10<andythenorth>the nml templating
07:10<andythenorth>articulated buses? tick
07:11<Pikka>neat :)
07:11<andythenorth>buses that refit to have a cargo trailer? tick (if wanted)
07:11<Pikka>are you using my train graphics templates btw, or something else?
07:11<andythenorth>someone made templates for the nml wiki
07:11<Pikka>okay, I'll look into them for HOVS
07:11<Pikka>we should coordinate on running/purchase costs?
07:12*andythenorth has drunk the koolaid on nml now
07:12*Pikka hasn't and isn't likely to, but if you're coding that's fine with me
07:12<andythenorth>I calculate costs, with the ability to manually over-ride for specific vehicles
07:13<andythenorth>it's python, but don't worry about that :)
07:15-!-andythenorth is now known as Guest3244
07:15-!-andythenorth_ [] has joined #openttd
07:15-!-andythenorth_ is now known as andythenorth
07:15<Pikka>he did it again
07:16<andythenorth>switched wifi
07:16<Pikka>calculating purely from HP? :P
07:16<Pikka>I see :)
07:16<andythenorth>could do more
07:17<andythenorth>I was uninspired
07:17<andythenorth>that sets the base run cost value
07:17<andythenorth>that's the code in the build script
07:17<andythenorth>I could do variable running costs too - with nml varaction 2 stuff
07:17<andythenorth>'base' is an unfortunate choice of word above :P
07:17<Pikka> has some of my stuff in there
07:18-!-Brianetta [] has joined #openttd
07:19-!-Brianetta [] has left #openttd []
07:19<Elukka>Eddi|zuHause: i started on that, might as well get it finished
07:19<Pikka>Brianetta we hardly knew you
07:19<Elukka>if we went 32bpp, we'd have a vastly easier time adding some more contrast to make them pop out a bit
07:20<andythenorth>Elukka: you could generate that one :P
07:20<andythenorth>might be more work than drawing it though....
07:21<andythenorth>depends if you need a lot of fridge vans at different lengths, colours etc
07:21<Pikka>andy: generate me a Gresley D49!
07:21<andythenorth>yeah but no but
07:21<Elukka>i do need to make a wagon that's pretty much this but a bit shorter
07:22<Elukka>i have no idea how to generate stuff though
07:22<andythenorth>pikka if you only have <256 unique sequences of pixels in your image, they can be generated :P
07:22<andythenorth>but it might be insane
07:22-!-Guest3244 [~Andy@] has quit [Ping timeout: 480 seconds]
07:23<Elukka>for the most part i can deal with stuff like refrigerated variants just by replacing colors
07:24<Elukka>the least painless method in photoshop that i've discovered is magic wand, contiguous unticked, click color to replace, brush over with new color
07:25<Elukka>um. the most painless, least painless would be bad :P
07:25<andythenorth>Elukka: how much recolouring do you have to do?
07:26<andythenorth>recolouring is actually a more trivial thing to do than generating
07:26<andythenorth>also...comping load sprites
07:26<Elukka>a hell of a lot
07:26<Elukka>most passenger wagons in particular have a bunch of variants
07:26<andythenorth>with my method, you set up colour tables and tell the graphics generator to replace colours
07:27<andythenorth>do you have stuff like yellow strip / no yellow stripe?
07:27<andythenorth>(for first class)
07:28<Elukka>yeah, later on
07:28<Elukka>currently more like that, see the upper two trains
07:30<andythenorth>Elukka: that would be easy to do with the generator, *assuming* you don't use the brown anywhere else in the sprite
07:31<andythenorth>although you can work around that by drawing in false colour, then generating all the liveries
07:31<Elukka>i probably don't anyway
07:31<andythenorth>you need to persuade Eddi|zuHause that he finds the pixel generator interesting :P
07:31<Elukka>well he doesn't draw them :P
07:32<Eddi|zuHause>the recolouring is probably the least of the problems...
07:32<andythenorth>Elukka: those three wheel coaches could be procedurally generated
07:33<andythenorth>they're a simple structure
07:33<andythenorth>they're a good case
07:33<andythenorth>the wagons and the lowest line of coaches would be bad cases
07:36<Elukka>well it might be useful if you could just generate a starting point
07:36<Elukka>and draw on top of that
07:36<andythenorth>Elukka: you saw the carriage I generated?
07:36<Elukka>i think so
07:36<andythenorth>literally a few minutes effort
07:37<Eddi|zuHause>andythenorth: in my mind it would work like this, you give an array for each length unit, i.e. a 5lu closed wagon would look like [(left_buffer,wall,flat_roof),(small_wheel,wall,flat_roof),(wall,flat_roof),(small_wheel,wall,flat_roof),(right_buffer,wall,braker_cab)]
07:37<Eddi|zuHause>and then it creates the graphics from these components
07:37<Elukka>that could be amazing
07:38<Eddi|zuHause>it won't be particularly pretty, but it might be enough to be playable
07:38<andythenorth>Eddi|zuHause: that's roughly how it works
07:38<andythenorth>the code is in the BANDIT repo
07:38<Eddi|zuHause>andythenorth: i tried to look at it, but it didn't make any sense to me
07:39<andythenorth>Eddi|zuHause: it's a little bit more atomic than your description
07:39<andythenorth>although it could work your way
07:40<andythenorth>abstracted, the principle is: for pixel x, y, colour: draw a sequence of pixels relative to x, y
07:40<andythenorth>colour of new pixels is set per pixel
07:41<andythenorth>this mistake I made is a nice illustration....
07:41<Elukka>eddi, what's your stance on the 32bpp thing
07:41-!-cypher [] has joined #openttd
07:41<andythenorth>^^ the last row shows how load sprites are just a shift + recolour of the pattern on the floor
07:41<Eddi|zuHause>Elukka: my stance is "make the sprites, we figure it out later
07:42<Elukka>hmm, okay
07:42<Elukka>every sprite would be a lot easier to do if i didn't have to worry about palettes
07:42<Eddi|zuHause>do that, then.
07:42<andythenorth>what's the palette issue?
07:43<Elukka>it's limited!
07:43<Elukka>*i'll start working with 32bpp, then
07:43<Elukka>turning them into 8bpp would probably require a manual reworking, though
07:43<Eddi|zuHause>Elukka: the more 32bpp sprites we have, the more pressure is for anyone actually implementing (new) 32bpp support in nml :p
07:44<Elukka>i'm also gonna recolor the prussian coaches to something more accurate, plus give them some more lighting
07:46<andythenorth>not using the 8bpp palette is cheating :P
07:47<Elukka>any file format rules for 32bpp sprites? or is it just a normal png
07:48<Eddi|zuHause>i think it's just another png
07:49-!-Pikka [] has quit [Read error: Connection reset by peer]
07:54-!-roboboy [] has quit [Ping timeout: 480 seconds]
08:07<Eddi|zuHause>there doesn't seem to be an nml var to access var 0xFA (random bits)
08:09-!-glx [glx@2a01:e35:2f59:c7c0:9cb5:2fd8:e7dd:5278] has joined #openttd
08:09-!-mode/#openttd [+v glx] by ChanServ
08:09<Eddi|zuHause>"7C W [TTDPatch] Index of the 'engine' (i.e. the first vehicle) of the consist" <-- this doesn't seem to be implemented in openttd. i understand that this should be the front of an articulated consist
08:09<Eddi|zuHause>could be useful for var 61
08:11<Eddi|zuHause>or maybe i'm interpreting this wrong
08:12<Elukka>okay, 32bpp is worth it just for the ability to adjust colors however you like...
08:13<Eddi|zuHause>Elukka: i have no idea how to do recolouring then, though
08:14<Elukka>do we need recoloring for stuff other than hypothetical future company colors and cargos?
08:14<Elukka>cargo would be easy enough to keep to the 8bpp palette if needed
08:15<Eddi|zuHause>the current plan is only cargo, but in principle we can recolour on any condition and any part of the vehicle
08:15<Eddi|zuHause>like make the door blue on wednesdays
08:17<Eddi|zuHause>one useful case for recolouring would be head/tail lights
08:20-!-RhamphMobile [] has joined #openttd
08:21<RhamphMobile>I have no wired internet... yet somehow my phone on our wifi still works.
08:25-!-DayDreamer [~DayDreame@] has joined #openttd
08:28-!-DayDreamer [~DayDreame@] has left #openttd []
08:28-!-Rhamphoryncus [] has joined #openttd
08:33-!-RhamphMobile [] has quit [Ping timeout: 480 seconds]
08:33<Eddi|zuHause>why is var 49 called "build_year" and not "build_date"?
08:36<Rhamphoryncus>because peanuts.
08:39<andythenorth>hysterical raisins of course
08:41<Ammler>would it already be possible to make 32bpp grfs with nml, if you use grfcodec to encode the "nml-nfo"?
08:46<+michi_cc>Eddi|zuHause: Recolouring works by a separate paletted mask sprite. For each pixel that is recoloured, the blitter calcluates the brightness from the RGB value and modulates the looked-up palette colour with it.
08:47<Eddi|zuHause>michi_cc: so you can only recolour bright pixels with other bright pixels and dark pixels with other dark pixels, or what?
08:48<+michi_cc>The formula is pixel = max(r,g,b,) / 64.0f * palette_to_rgb(index)
08:49<+michi_cc>So a max brightness of 128 would double the brightness of the palette colour and 32 would half it.
08:49<Eddi|zuHause>not sure i understand the impact of this...
08:50<+michi_cc>In reality it is a bit more complicated to avoid e.g. overflow of course.
08:51-!-kkb110 [~kkb110@NYUFGA-WLESSAUTHCLIENTS-01.NATPOOL.NYU.EDU] has quit [Read error: Operation timed out]
08:53<andythenorth>that all sounds like 'ow'
08:54*andythenorth will stick to recolouring at compile time :)
09:00<+michi_cc>Eddi|zuHause: Somehwat like
09:03<+michi_cc>Hmm, probably a bit more read like the updated image.
09:11<appe>good afternoon, guurmans.
09:14-!-Elu [] has joined #openttd
09:15<dihedral>hello sir
09:16<@Belugas>good day to you, dihedral
09:18-!-Elukka [] has quit [Read error: Operation timed out]
09:24-!-kkb110 [] has joined #openttd
09:25-!-Devroush [] has joined #openttd
09:39-!-tokai|noir [] has joined #openttd
09:39-!-mode/#openttd [+v tokai|noir] by ChanServ
09:40-!-Pikka [] has joined #openttd
09:40-!-lofejndif [] has joined #openttd
09:41-!-lofejndif [] has quit [Max SendQ exceeded]
09:42-!-lofejndif [] has joined #openttd
09:42-!-kkb110 [] has quit [Read error: Operation timed out]
09:45-!-tokai|mdlx [] has quit [Read error: Operation timed out]
09:45-!-lofejndif [] has quit []
09:45-!-lofejndif [] has joined #openttd
10:28-!-cypher [] has quit [Ping timeout: 480 seconds]
10:38-!-Jogio [] has joined #openttd
10:41<Jogio>is somebody here who has time to explain how I can use diff?
10:42<@Rubidium>I guess that depends on the actual question
10:43<Jogio>ähm I have no clue what I have to do to use it
10:44-!-lofejndif [] has quit [Read error: Connection reset by peer]
10:44<__ln__>but you are convinced you need to use it?
10:44<Jogio>yes it would be easier
10:44-!-TWerkhoven [] has joined #openttd
10:44<Jogio>I have about 10 files modified
10:45<Jogio>but when I wrote here I realised I made a thinking error
10:45<dihedral>if you use a version controll system (svn, git, hg, etc.) you can use svn diff, hg diff, git diff ...
10:45<Jogio>i have diff here
10:45<dihedral>diff itself compares 2 files
10:46<dihedral>so you need the original files to compare against
10:46<dihedral>what changes have you made?
10:46<Jogio>my thinking error was i can use diff direct old modified openttd version with new unmodified version
10:47<@Rubidium>you can, but it's likely not going to give the wanted result
10:47<Jogio>but I have to make a patch with modified and unmodified openttd version first, right?
10:47<Jogio>yeah, maybe I can help myself
10:48<Jogio>I will write if I have a question
10:48<dihedral>checkout the source using svn or hg
10:48<dihedral>that will make it easier for you
10:48<Jogio>I have already zip file with source code
10:49<dihedral>if you use a version controll system, you can always see your changes, see what files you have changed, get the diff, update (by getting only the changes) and revert your changes
10:53-!-supermop [] has joined #openttd
10:57<supermop>good morning
11:01-!-lofejndif [] has joined #openttd
11:05<Jogio>good morning at this time sounds strange in europe
11:06<dihedral>who says he/she is in europe? ;-)
11:12<MNIM>Well, the majority of this channel's userbase is european, isn't it?
11:12<MNIM>so to the question 'who' I would say 'statistics'
11:13<supermop>maybe i am wishing you an ex post facto good morning
11:16-!-Elu is now known as Elukka
11:19<Jogio>I wanted to make a joke here, but I don't know english word for "Beamter" :-)
11:30<MNIM>I would say 'bureacrat' though that isn't exactly the literal translation.
11:59-!-lofejndif [] has quit [Quit: Leaving]
12:01-!-Pikka [] has quit [Ping timeout: 480 seconds]
12:08-!-valhallasw [~valhallas@] has joined #openttd
12:27-!-sla_ro|master [slaco@] has quit []
12:30-!-frosch123 [] has joined #openttd
12:31-!-andythenorth [] has quit [Quit: andythenorth]
12:32<Rhamphoryncus>Rubidium: so are changes like mine going to be ignored until after release?
12:32-!-HerzogDeXtEr [~Flex@] has joined #openttd
12:32-!-Prof_Frink [] has joined #openttd
12:33<Rhamphoryncus>I mean in terms of review. I don't expect it to be applied right now.
12:34<@Rubidium>it's the thing that you just today put on flyspray, isn't it?
12:35<Rhamphoryncus>last night, but yeah.
12:36<@Rubidium>then I'd not quite call it ignored yet
12:36-!-Phoenix_the_II [] has joined #openttd
12:37<@Rubidium>even then, 1.2 already branched off, so it won't make 1.2 in any case
12:37<Rhamphoryncus>No, of course not. I'm more thinking about scale here. A week would be good normally. With a release imminent I'd expect a couple more weeks on that, or more.
12:37<@Rubidium>if only there was enough time
12:38<Rhamphoryncus>As long as there's good communication I can wait a long time ;)
12:39-!-HerzogDeXtEr1 [] has quit [Ping timeout: 480 seconds]
12:39-!-peteris [~peteris@] has joined #openttd
12:42-!-peteris is now known as pecisk_latvia
12:45<@Rubidium>does this implicitly sync vehicles in an order list?
12:47<@Rubidium>or are you, if a vehicle is late enough move the departure back by <length of timetable>/<number of vehicles>?
12:47<@Rubidium>as in that case you'll eventually end up with al vehicles going at the same time
12:47<@Rubidium>or at least some sort of clumping together
12:49-!-Pixa [~pixa@] has joined #openttd
12:54-!-LordPixaII [] has quit [Ping timeout: 480 seconds]
12:54-!-pugi [] has quit []
12:54<appe>im using C# in ASP.NET, and im trying to find and replace parts of a string.
12:55<appe>the string might contain "number" (as in "300"), or "numberkr" (as in "300kr").
12:55<appe>i wish to add "kr" to every string that doesnt already have it.
12:55<appe>any tip? :)
13:01<valhallasw>appe: String.EndsWith, maybe .ParseInt?
13:21-!-FLHerne [] has joined #openttd
13:25<Rhamphoryncus>Rubidium: vehicle order doesn't matter. Each order independently tracks departures and hands them out in a first-come-first-serve basis
13:26-!-kkb110 [] has joined #openttd
13:26<Rhamphoryncus>The only interaction is they derive their timing from the orderlist
13:32-!-LordAro [] has joined #openttd
13:34-!-Devroush [] has quit [Ping timeout: 480 seconds]
13:36-!-DDR [] has joined #openttd
13:39<Jogio>the guy with the diff question is back and I have to say I succeded (after some hunk errors because of false paths I entered)
13:43<dihedral>the guy who advised using a version control system is also here :-P
13:45<CIA-1>OpenTTD: translators * r23972 /trunk/src/lang/ (korean.txt latvian.txt ukrainian.txt unfinished/urdu.txt):
13:45<CIA-1>OpenTTD: -Update from WebTranslator v3.0:
13:45<CIA-1>OpenTTD: korean - 54 changes by junho2813, telk5093
13:45<CIA-1>OpenTTD: latvian - 45 changes by Parastais
13:45<CIA-1>OpenTTD: ukrainian - 11 changes by edd_k
13:45<CIA-1>OpenTTD: urdu - 194 changes by haider
13:46-!-LordPixaII [] has joined #openttd
13:49-!-Devroush [~dennis@] has joined #openttd
13:50-!-Pixa [~pixa@] has quit [Ping timeout: 480 seconds]
13:53<LordAro>also, why are grfcodec binaries not published to
13:53<LordAro>ok, perhaps they have to go through, but perhaps a message or something about where they are?
13:54<appe>valhallasw: ill try endswith.
13:56-!-pecisk_latvia is now known as pecisk_lv
13:57-!-Pixa [~pixa@] has joined #openttd
13:57-!-Devroush [~dennis@] has quit [Ping timeout: 480 seconds]
14:00-!-cypher [] has joined #openttd
14:00-!-rudolfs_lv [~rudolfs@] has joined #openttd
14:00-!-rudolfs_lv [~rudolfs@] has left #openttd []
14:01-!-LordPixaII [] has quit [Ping timeout: 480 seconds]
14:05-!-kkb110 [] has quit [Ping timeout: 480 seconds]
14:07<@Rubidium>LordAro: what's wrong with the link on e.g. ?
14:08<@Rubidium>LordAro: mostly because grfcodec was compiled by the CF before it was on openttdcoop
14:09<@Rubidium>and it never made sense to move it
14:14<@Rubidium>Rhamphoryncus: also your patch doesn't apply to head and you specific no version and I can't be bothered to try to figure out what revision to apply it to
14:14-!-Zuu [] has joined #openttd
14:15-!-andythenorth [] has joined #openttd
14:17-!-Wolf01 [] has joined #openttd
14:19<Rhamphoryncus>Rubidium: fair enough. I'll update it.
14:22<Rhamphoryncus>Rubidium: thanks for looking btw
14:22<@Rubidium>Wolf01: adamink
14:28<LordAro>gah, my previous question was supposed to be on #openttdcoop.devzone - stupid mouse scroll wheel :)
14:29<LordAro>Rubidium: the problem is htp:// appears to be empty
14:30-!-JVassie [~James@] has joined #openttd
14:30<@Rubidium>LordAro: blame Ammler for that ;)
14:30<LordAro>hence why it was supposed to be in devzone channel :)
14:32<Ammler>LordAro: where do you get the url to bundles?
14:33<LordAro>not from anywhere else, it's just what i use to find the bundles (or did i misunderstand the question?)
14:34<Ammler>no, I wonder, why you get the idea, that grfcodec should be there
14:35<andythenorth>it is there isn't it?
14:35<Ammler>it never was afaik, only nightlies we use for building the newgrfs there
14:36<Ammler>andythenorth: speaking about publishing binaries on bundles, not developing on DevZone
14:38<Ammler>Rubidium: blame me for?
14:39<Ammler>shall we not publish those nightlies?
14:40<LordAro>i still think there should be amessage about where the binaries actually are - took me a while to figure it out :)
14:40<Ammler>yes, where should be that message?
14:40<Ammler>on the homepage of grfcodec, it is quite clear, isn't?
14:41<@Rubidium>Ammler: it might not have been the wisest decision to keep binaries and logs that are purely for your compiler in the public "here are all the packaged binaries" section of the "website" (i.e.
14:42<Ammler>well, I can redirect that path to as it isn't needed for http
14:43<Ammler>hmm, right now, I am not able to ssh, I will create a ticket... :-)
14:52-!-andythenorth is now known as Guest3280
14:52-!-Guest3280 [] has quit [Read error: Connection reset by peer]
14:52-!-andythenorth [] has joined #openttd
14:54-!-andythenorth [] has quit [Read error: Connection reset by peer]
14:54-!-andythenorth [] has joined #openttd
14:59-!-andythenorth is now known as Guest3282
14:59-!-Guest3282 [] has quit [Read error: Connection reset by peer]
14:59-!-andythenorth [] has joined #openttd
14:59-!-kkb110 [] has joined #openttd
15:00-!-andythenorth [] has quit [Read error: Connection reset by peer]
15:00-!-andythenorth [] has joined #openttd
15:08-!-TWerkhoven [] has quit [Quit: He who can look into the future, has a brighter future to look into]
15:10-!-pugi [] has joined #openttd
15:20-!-Jogio [] has quit [Quit: Page closed]
15:21-!-KritiK [] has joined #openttd
15:21-!-Pixa [~pixa@] has quit [Read error: Connection reset by peer]
15:21-!-Pixa [~pixa@] has joined #openttd
15:33-!-pecisk_lv [~peteris@] has quit [Quit: Ex-Chat]
15:33-!-kkb110 [] has quit [Ping timeout: 480 seconds]
15:33-!-wica [] has joined #openttd
15:34<wica>I'm running 1.2.0-beta4, and my online content stays empty
15:34<wica>where do I start to search the problem?
15:35<wica>and btw, my internet connection is working :)
15:35<@Rubidium>can you reach
15:35<@Rubidium>did the online content ever work?
15:35-!-pecisk_lv [~peteris@] has joined #openttd
15:35-!-mahmoud [] has quit [Read error: Connection reset by peer]
15:35<wica>It did, but I checked it a long time ago
15:36<@Rubidium>does your OS by any chance resolve IPv6 addresses, but without an actual IPv6 connection?
15:36<wica>Last time, was I think 1 year ago
15:36<wica>Thnx, that is to probloem
15:36<@Rubidium>as the server is currently working just fine for me
15:36<wica>ipv6 resolving is the problem
15:36<wica>stupid off my to forget :)
15:38<wica>btw, great to hear that openttd has IPv6 support
15:38-!-mahmoud [] has joined #openttd
15:40<@Rubidium>OpenTTD already has IPv6 support for over 1.5 million minutes ;)
15:41<@Rubidium>(or nearly 150 weeks)
15:51-!-lmergen [] has joined #openttd
15:58<appe>ipv6 support measured in ..time?
15:58<appe>what am i missing.
16:07-!-krinn [] has joined #openttd
16:08<krinn>hi guys, i have an AIList and when i put elements in it (in random order), but when i foreach the list i see they are sort by value already, openttd always ressort an AIList when new item is add ?
16:10<andythenorth>procedural tank trailer:
16:11<Yexo>krinn: yes, that's by design
16:11<krinn>ah, doesn't help me in my case so
16:12<Zuu>You can use an item valuator or just AIList.AddItem(item, item);
16:12<Yexo>use a simple list if you want to keep your original order
16:12<krinn>and it's a bit time consuming to ressort list just because a item is add no ? i mean we have a function to ask a sort already
16:12<Yexo>yes, the current implementation is not very efficient
16:12<andythenorth>^^ for x, x = -1 :P
16:13<krinn>i must use AIList, because i wish the value sort but after then i just wish keep the order
16:13<Yexo>however it's hard to improve the code while keeping the current behavior is hard
16:13<Zuu>You can sort squirrel lists too.
16:13<Yexo>if the "keep list sorted when elements are added"-requirement can be dropped things become a lot easier already
16:13<krinn>you know a bit like wishing add 90 30 40 i then set their value to 0 2 1 -> sorting them and now reusing their value with their real task while the list is sort as 90 40 30
16:14<Zuu>I have a list implementation myself as in ScoreList in SuperLib from the very old times when NoAI was just released.
16:14<Yexo>I might just do that for openttd 1.3
16:14<krinn>not only that but adding 1000 elements to an AIList imply 1000 sorting no ?
16:15<Yexo>adding an element to a sorted list is not as slow as a complete resort
16:15<Yexo>not even close to it
16:15<krinn>yep, but you are doing it 1 time for the sort, and 1000 time for the "add to already sort list"
16:16<Yexo>but "add to sorted list" can be O(sqrt N) (it probably is O(N) though), which is much better than the O(N * sqrt N) you'd need for resorting every time
16:17*andythenorth was wondering if the tank trailer was too hard for procedural drawing
16:17<andythenorth>but I can change the colours by adding one entry to a dict
16:17<andythenorth>and it works :)
16:18<krinn>i don't know, but the math seems weakned by logic there
16:18<supermop>looks ok
16:20<Zuu>After learning CluelssPlus how to build industry airports, I need to teach it some ROI calculations as it ended up with some expansive low profit coal routes.
16:21<andythenorth>silver, 1cc, black, 2cc:
16:22<MNIM>I like how it looks
16:22-!-Xrufuian [] has joined #openttd
16:22<supermop>never seen a black tank on a truck though, only train cars
16:23<supermop>would suggest white or silver with a cc stripe
16:23<MNIM>....Hmmmh. I've got one of the most expansive rail networks Ive ever made, spanning over the full 1024 tiles wide map, yet Im still using almost fourty year old trains.
16:23<MNIM>Supermop: I have.
16:23<andythenorth>let's see
16:24-!-Osai [~Osai@] has left #openttd []
16:25<MNIM>Hmmmh. One of the main issues with black tanks is that they absorb heat like mad - not very desirable in most situations with liquid transport.
16:26<MNIM>since most liquids that are transported in a tanker are either volatile or prone to evaporate and create high pressures when being heated up by a sun-lit black tank
16:26<MNIM>or they go bad, like milk
16:30<dihedral>Rhamphoryncus, #if 0 <- in your patch?
16:31<Zuu>krinn: Do you have any new AI developments going on?
16:33<andythenorth>I nearly gave up on coding the tankers - glad I didn't :D
16:33<andythenorth>it would have been no easier to draw them
16:33<andythenorth>as coding them basically involves copying the pixel values for a section into code
16:34<krinn>Zuu, yes dev was stall because of the big bug that let openttd crash, it was then hard to get, and i kinda lost faith
16:35<krinn>Zuu, but it's now fix, so the moral is back
16:35-!-lmergen [] has quit [Ping timeout: 480 seconds]
16:35<andythenorth>this is the input file for the tanker:
16:35<Zuu>Which bug was it? The sort function?
16:35<andythenorth>also the same input for flatbeds etc ;)
16:36<krinn>no, that's not a bug, kinda unexpected feature for me, i will try to find the # in the bug report wait a sec
16:36<Zuu>Great you're back on track :-)
16:36-!-lofejndif [] has joined #openttd
16:37<krinn>a stupid recursive call, the vm was going OOM and openttd crash
16:37<Zuu>The squirrel sort had a problem that you could hang OpenTTD with a badly written comparator function.
16:37<dihedral>krinn, it's fixed ...
16:38<krinn>and i was stuck as i couldn't get any ouput from the ai (i know don't ask me why i didn't think before to run it in a console to get the output)
16:38<krinn>dihedral, yep it should, but the issue with my AI trigger the bug and it was then hard to catch what was doing it
16:39<Zuu>Whenever I succed to crash OpenTTD with an AI or GameScript I compile OpenTTD myself and run it from a debugger (Visual Studio) so that I can see the callstack of OpenTTD when it crashes to perhaps get an idea what the problem is. Of course I submit a bug report also, if I manage to crash OpenTTD.
16:39<krinn>crash.log should record last message from AI
16:40<krinn>lol zuu, it was easier for me (that's why i'm a bit ashame) i just have to run it in the console, so once crash i was back to the console and i could scroll up the buffer to see my last ai messages
16:41<Yexo>as long as you report the crash on it's fine :)
16:41<Yexo>extra investigation like Zuu does is of course greatly appreciated, but I'd vastly prefer feedback without it then no feedback at all
16:42<krinn>well, once i find the bad recursion in my AI the problem for openttd was easier to find no ?
16:43<Yexo>(or rather: most likely. I didn't actually see that bug until just now)
16:44<Zuu>But probably it did. Because a problem with stack overflows is that they usually make the callstack useless if you look at it when the debugger auto-kicks in as it is too late.
16:44<Zuu>It helps to have an idea when you want to start looking at the callstack.
16:44<@Rubidium>having a reliable crash/reproduction is most important; only once I figured out under which circumstances it crashed I could see the call stack and such
16:44<krinn>well, it was a stupid bug, but it's always good as someone might have use it to DOS some openttd server or anything
16:45<krinn>specially with the new NoGo framework that should also be affect
16:45<dihedral>by needing the admin to install an ai
16:45<@Rubidium>krinn: luckily it has to be initiated by the server owner (or someone with rcon password)
16:46<krinn>with NoGo, you can do it nasty and have the admin do the task for you
16:46<krinn>generally except (belgium trojan), people avoid to name their trojan as "trojan-thing" "crash-your-game"... :)
16:47<Zuu>The server owner still have to select the NoGo, unless triggered via a scenario/savegame
16:47<dihedral>which the server owner will only do once :P
16:48<krinn>well, for me it was running yearly, but it would be harder if trigger by date or every 10 years to catch it
16:48<krinn>anyway you can imagine how bad my mood was that my AI let openttd crash :/
16:49<Zuu>See it the other way, you found a bug that is now ironed out.
16:49*Rubidium remembers a desync that'd only trigger after ~20 game years
16:50<@Rubidium>which means you needed to be connected for >5 hours to be "egligable" to desync
16:50<andythenorth>Eddi|zuHause: need tank wagons?
16:50<krinn>well, one could have made it in a nogo script trigger by even by a player to crash the server
16:50<dihedral>which can be easily done for some players, Rubidium :-D
16:51*andythenorth ponders
16:51<krinn>i mean put 3 trees at pos X --> trigger the bug... dos by a player, and the server owner could run it 10000 years without trigger it himself
16:51<dihedral>krinn, of course, but still, the NoGo script has to be installed by the admin, and then he will never do it again ;-)
16:51<andythenorth>hmm....gestalts could be shared around
16:51<krinn>dihedral, he must catch it first :P
16:52<andythenorth>that means anyone could create an input png and generate vehicles of type x :P
16:52<krinn>and without reviewing the nogo code himself, he certainly won't
16:52<Zuu>and it still only affects the server, not the clients (other than them loosing their game)
16:52<Yexo>krinn: his server crashes: crashlog point to NoGo code: don't use the last-most script anymore
16:52<dihedral>and then then players stop playing there too
16:53<Yexo>a few reports in the forum about one particular NoGo script: somebody will investigate and might find the cause
16:53<dihedral>+ a dozen of open threads in the forums and bug reports until the message spreads
16:53<dihedral>high five Yexo
16:53<Yexo>good night :)
16:53<krinn>well really few bug report as it need a trigger the maker only knows
16:53<Zuu>Night Yexo
16:54*dihedral is of to bed, good night gents
16:54<dihedral>... Yexo this is getting scary
16:54<krinn>you might see "i have thebug v 1" too in my server and it is runing it for 3 month without crashing...
16:54<krinn>nigth dihedral
16:54<Zuu>Night dihedral
16:59-!-pjpe [] has joined #openttd
17:03*andythenorth is quitting whilst winning
17:03<andythenorth>otherwise I get no sleep :P
17:06<@Terkhen>good night
17:06<krinn>going too, good night all
17:06-!-krinn [] has quit [Quit: Quitte]
17:07<Eddi|zuHause><andythenorth> Eddi|zuHause: need tank wagons? <-- plenty :)
17:08<andythenorth>Eddi|zuHause: might be able to help with that...
17:10<andythenorth>but first....sleeping :)
17:12-!-andythenorth [] has quit [Quit: andythenorth]
17:17-!-Pixa [~pixa@] has quit [Quit: No Ping reply in 180 seconds.]
17:18-!-Pixa [~pixa@] has joined #openttd
17:24-!-valhalla1w [~valhallas@] has joined #openttd
17:29-!-valhalla2w [~valhallas@] has joined #openttd
17:30-!-valhallasw [~valhallas@] has quit [Ping timeout: 480 seconds]
17:32-!-valhalla1w [~valhallas@] has quit [Ping timeout: 480 seconds]
17:37-!-Progman [] has quit [Remote host closed the connection]
17:38-!-LordAro [] has quit [Quit: "Time is an illusion. Lunchtime doubly so."]
17:47-!-lofejndif [] has quit [Quit: Leaving]
17:57-!-frosch123 [] has quit [Remote host closed the connection]
17:59-!-cypher [] has quit [Ping timeout: 480 seconds]
18:02-!-TWerkhoven[l] [] has quit [Quit: He who can look into the future, has a brighter future to look into]
18:06-!-FLHerne [] has left #openttd []
18:06-!-dfox [] has quit [Ping timeout: 480 seconds]
18:11-!-dfox [] has joined #openttd
18:13-!-pecisk_lv [~peteris@] has quit [Quit: Ex-Chat]
18:16-!-Xrufuian [] has quit [Quit: ...]
18:22-!-Biolunar [] has quit [Quit: All your IRC are belong to us]
18:22-!-JVassie [~James@] has quit [Ping timeout: 480 seconds]
18:28<Wolf01>'night all
18:29-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
18:30-!-TGYoshi [~TGYoshi@] has quit [Quit: Popidopidopido]
18:31-!-theholyduck [] has quit [Read error: Connection reset by peer]
18:41-!-Avenger [~rafinha21@] has joined #openttd
18:48-!-supermop [] has quit [Ping timeout: 480 seconds]
19:04-!-Avenger [~rafinha21@] has quit []
19:07-!-KritiK [] has quit [Quit: Leaving]
19:07-!-Avenger [~rafinha21@] has joined #openttd
19:08-!-Avenger [~rafinha21@] has quit []
19:08-!-Avenger [~rafinha21@] has joined #openttd
19:13-!-Firartix [] has quit [Ping timeout: 480 seconds]
19:18-!-supermop [] has joined #openttd
19:20-!-Zuu [] has quit [Ping timeout: 480 seconds]
19:20-!-bryjen [~bryjen@] has joined #openttd
19:26-!-bryjen [~bryjen@] has quit [Quit: Leaving]
19:33-!-A7x [~rafinha21@] has joined #openttd
19:33-!-Avenger [~rafinha21@] has quit [Read error: Connection reset by peer]
19:33-!-A7x [~rafinha21@] has quit []
19:50-!-valhalla2w [~valhallas@] has quit [Ping timeout: 480 seconds]
20:17-!-KouDy [] has joined #openttd
20:20-!-Phoenix_the_II [] has quit [Ping timeout: 480 seconds]
20:20-!-glx [glx@2a01:e35:2f59:c7c0:9cb5:2fd8:e7dd:5278] has quit [Ping timeout: 480 seconds]
20:28-!-pugi [] has quit [Ping timeout: 480 seconds]
20:29-!-pugi [] has joined #openttd
20:39-!-tty234 [] has joined #openttd
20:50-!-KouDy [] has quit [Quit: Leaving.]
20:51-!-KouDy [] has joined #openttd
20:52-!-KouDy [] has quit []
20:53-!-KouDy [] has joined #openttd
20:54-!-KouDy [] has quit []
20:54-!-KouDy [] has joined #openttd
21:02-!-pugi [] has quit []
21:02-!-KouDy [] has quit [Quit: Leaving.]
21:03-!-KouDy [] has joined #openttd
21:08-!-KouDy [] has quit []
21:08-!-KouDy [] has joined #openttd
21:09-!-KouDy [] has quit []
21:09-!-KouDy [] has joined #openttd
21:12-!-KouDy [] has quit []
21:13-!-KouDy [] has joined #openttd
21:14-!-KouDy [] has quit []
21:15-!-KouDy [] has joined #openttd
21:21<Mazur><Stablean> <al1as> thanks to all developers for such a great game
21:28-!-KouDy [] has quit [Quit: Leaving.]
21:29-!-KouDy [] has joined #openttd
21:31-!-KouDy [] has quit []
21:32-!-KouDy [] has joined #openttd
21:33-!-KouDy [] has quit []
21:34-!-KouDy [] has joined #openttd
21:38-!-KouDy [] has quit []
21:39-!-KouDy [] has joined #openttd
21:40-!-Elukka [] has quit []
22:00-!-KouDy [] has quit [Quit: Leaving.]
22:01-!-KouDy [] has joined #openttd
22:05-!-KouDy [] has quit []
22:06-!-KouDy [] has joined #openttd
22:06-!-mahmoud [] has quit [Ping timeout: 480 seconds]
22:07-!-KouDy [] has quit []
22:07-!-KouDy [] has joined #openttd
22:12-!-KouDy [] has quit []
22:13-!-KouDy [] has joined #openttd
22:18<Rhamphoryncus>dihedral: #if 0 means "this is a really boring part of a patch" ;)
22:20-!-KouDy [] has quit [Quit: Leaving.]
22:20<Rhamphoryncus>Actually, I don't consider it to be done. I have a lot more to do as part of that branch. However, that's a discrete part that can be reviewed/applied on its own. There's a lot more cleanup that could be done, but won't be until later.
22:21-!-KouDy [] has joined #openttd
22:40-!-KouDy [] has quit [Quit: Leaving.]
22:40-!-KouDy [] has joined #openttd
22:57-!-KouDy [] has quit [Quit: Leaving.]
22:57-!-KouDy [] has joined #openttd
23:02-!-KouDy [] has quit []
23:03-!-KouDy [] has joined #openttd
23:06-!-LordPixaII [~pixa@] has joined #openttd
23:11-!-Pixa [~pixa@] has quit [Ping timeout: 480 seconds]
23:12-!-KouDy [] has quit [Quit: Leaving.]
23:12-!-Pixa [~pixa@] has joined #openttd
23:13-!-KouDy [] has joined #openttd
23:16-!-KouDy [] has quit []
23:16-!-KouDy [] has joined #openttd
23:17-!-LordPixaII [~pixa@] has quit [Ping timeout: 480 seconds]
23:17-!-KouDy [] has quit []
23:18-!-KouDy [] has joined #openttd
23:22-!-KouDy [] has quit []
23:23-!-KouDy [] has joined #openttd
23:26-!-KouDy [] has quit []
23:27-!-KouDy [] has joined #openttd
23:32-!-KouDy [] has quit [Quit: Leaving.]
23:33-!-KouDy [] has joined #openttd
23:38-!-KouDy [] has quit [Quit: Leaving.]
23:38-!-KouDy [] has joined #openttd
23:43-!-KouDy [] has quit []
23:43-!-KouDy [] has joined #openttd
23:46-!-KouDy [] has quit []
23:47-!-KouDy [] has joined #openttd
23:50-!-KouDy [] has quit []
23:50-!-KouDy [] has joined #openttd
23:53-!-cmircea [~cmircea@] has quit [Read error: Connection reset by peer]
23:53-!-cmircea [~cmircea@] has joined #openttd
---Logclosed Tue Feb 21 00:00:01 2012