IRC logs for #openttd on OFTC at 2010-03-22
            
00:02:40 *** Jupix has quit IRC
00:02:41 *** Jupix has joined #openttd
00:08:53 *** Eddi|zuHause has quit IRC
00:09:12 *** Eddi|zuHause has joined #openttd
00:10:31 *** Tennel has quit IRC
00:13:50 *** Coco-Banana-Man has quit IRC
00:40:48 *** Starn has quit IRC
00:45:49 *** APTX_ has joined #openttd
00:45:49 *** APTX has quit IRC
00:50:33 *** ajmiles has quit IRC
00:53:53 *** ProfFrink has joined #openttd
00:55:08 *** OwenS has quit IRC
00:56:32 *** Dred_furst has quit IRC
01:00:06 *** Prof_Frink has quit IRC
01:00:06 *** ProfFrink is now known as Prof_Frink
01:02:22 *** KritiK has quit IRC
01:19:30 *** Frankr has quit IRC
01:26:55 *** KenjiE20 has quit IRC
01:45:26 *** ptr has quit IRC
02:05:38 *** Eddi|zuHause has quit IRC
02:05:52 *** Eddi|zuHause has joined #openttd
02:07:15 *** Brianetta has quit IRC
02:14:53 *** JVassie_ has joined #openttd
02:21:02 *** JVassie has quit IRC
02:31:42 *** Lakie has quit IRC
02:39:38 *** Eoin has quit IRC
02:41:58 *** Fuco has quit IRC
02:43:00 *** DaleStan has joined #openttd
02:59:08 *** JVassie_ has quit IRC
03:07:36 *** MeCooL has quit IRC
03:36:31 *** ecke has quit IRC
03:45:33 *** glx has quit IRC
04:11:58 *** lobster has quit IRC
04:13:15 *** lobster has joined #openttd
04:25:36 *** llugo has joined #openttd
04:32:47 *** lugo has quit IRC
05:05:57 *** Rhamphoryncus has joined #openttd
06:26:57 *** ecke has joined #openttd
06:47:56 *** tokai has quit IRC
06:50:09 *** tokai has joined #openttd
06:50:09 *** ChanServ sets mode: +v tokai
06:51:06 *** Terkhen has joined #openttd
06:51:21 <Terkhen> good morning
06:52:06 <Yexo> morning Terkhen
06:55:38 *** einKarl has joined #openttd
07:04:41 <planetmaker> moin
07:29:56 *** APTX_ has quit IRC
07:33:25 *** Progman has joined #openttd
07:36:01 *** Progman has quit IRC
07:44:13 *** Tennel has joined #openttd
07:51:34 *** Cybertinus has joined #openttd
07:52:48 *** TheMask96 has quit IRC
07:57:41 *** APTX has joined #openttd
07:59:14 *** TheMask96 has joined #openttd
08:06:51 <peter1138> hdb: ide_cd_check_ireason: wrong transfer direction!
08:07:00 <peter1138> don't think i've ever seen that one before :s
08:21:35 *** fonsinchen has joined #openttd
08:35:45 <SpComb^> reverse the cable!
08:42:17 <Eddi|zuHause> turn the drive around!
08:50:47 <__ln__> tell the bits to drive on the right-hand side
09:05:53 <peter1138> hmm
09:06:14 <peter1138> how do i tell "whatever" to ignore the a laptop's internal resolution?
09:06:34 <peter1138> trying to use the external display, but things are limited to the laptop display :s
09:08:15 <andythenorth> what OS?
09:09:01 *** JVassie_ has joined #openttd
09:15:41 <peter1138> linux
09:16:03 <blathijs> peter1138: Connect the external display when you start X?
09:16:25 <peter1138> it is, if it's not i get nothing on the external display at all
09:22:04 *** aber has joined #openttd
09:26:51 <peter1138> to be exact, the extra workspace is usable, but gnome-panels are fixed in space based on the laptop display, and maximise maximises to the laptop display too
09:36:27 *** DanMacK has joined #openttd
09:42:42 *** DanMacK has quit IRC
09:43:43 *** fonsinchen has quit IRC
09:44:32 * andythenorth wonders how to knock out a cargo
09:45:30 <andythenorth> the normal 'only in this and that climate' business doesn't work :|
09:47:42 <Eddi|zuHause> with action 7/9?
09:47:54 <Eddi|zuHause> or more evil: with action 6?
09:48:23 *** fjb has joined #openttd
09:48:30 <andythenorth> that would work, but it doesn't disable the default cargo.
09:48:40 <andythenorth> guess I need to shift cargo IDs around :o
09:48:48 <fjb> Moin
09:49:50 <andythenorth> morning
09:54:17 <Eddi|zuHause> hm... i have no idea how you disable an original cargo
09:55:14 <andythenorth> nvm I'll move cargo IDs
09:55:27 *** aber has quit IRC
10:08:22 * andythenorth blew up ottd
10:17:14 *** th1ngwath has joined #openttd
10:19:01 *** thingwath has quit IRC
10:25:46 *** Fuco has joined #openttd
10:38:11 *** th1ngwath is now known as thingwath
10:40:20 *** MeCooL has joined #openttd
10:40:53 *** DanMacK has joined #openttd
10:48:04 <PeterT> andythenorth: I've coded the class 20
10:48:07 <PeterT> just very simply
10:48:11 <PeterT> with one property defined
10:48:21 <PeterT> and it replaces the most basic train
10:49:19 <andythenorth> well done
10:49:27 * andythenorth has really quite broken something
10:50:18 <PeterT> andythenorth: this is what I've done with action0
10:50:19 <PeterT> 2 * 7 00 00 \b1 01 01 // Action 0
10:50:19 <PeterT> 05 00 // track type
10:50:34 <andythenorth> does it work?
10:50:49 <PeterT> yes
10:50:49 <andythenorth> ummm help :o
10:51:09 <andythenorth> OTTD blows up when I try to get to the 'fund industry' window
10:51:13 <andythenorth> no renum errors
10:52:50 <andythenorth> crash log: http://paste.openttd.org/225379
10:53:47 <andythenorth> my guess is a broken industry fund window cb
10:54:55 <andythenorth> anyone got any other ideas, before I play a long game of 'turn industry off, build grf, test, repeat until crash'
10:55:58 *** Fuco has quit IRC
10:59:50 <andythenorth> hmm, iterating over list halves will find the naughty industry faster
11:03:55 * andythenorth suspects the bakery
11:04:24 <andythenorth> nope
11:05:27 *** Bahamamama has joined #openttd
11:05:41 <Bahamamama> good morning
11:06:26 *** ptr has joined #openttd
11:07:02 <Bahamamama> is anyone here, who can help me with my dedicated server? i don't know if its running correctly. i can connect. but no one connects to it. so i don't know if it's up :-(
11:11:17 * andythenorth fixes the crash
11:11:23 <Ammler> Bahamamama: servers.openttd.org
11:11:48 <Ammler> there you see, if advertising works
11:12:16 <Bahamamama> i think i checked it.. but i look it up again
11:12:51 <Bahamamama> it is listed
11:13:01 <Bahamamama> http://www.openttd.org/en/server/28195
11:13:43 <Ammler> yes, and now you expect other joining your server?
11:14:38 <Bahamamama> i know that it is absolutly selfish. but for testing. yes
11:15:59 <Bahamamama> the problem for me right now is, that nobody i know is online who can test it for me :-(
11:16:00 *** fonsinchen has joined #openttd
11:16:11 <Yexo> Bahamamama: it works fine
11:16:22 <Bahamamama> yes. thank u very much!°
11:20:22 *** Bahamamama has quit IRC
11:20:43 *** Bahamamama has joined #openttd
11:24:41 *** TheMask96 has quit IRC
11:25:18 *** Bahamamama has quit IRC
11:25:43 *** Adambean has joined #openttd
11:34:48 *** TheMask96 has joined #openttd
11:44:49 *** KenjiE20 has joined #openttd
12:05:21 *** elmz has joined #openttd
12:06:27 *** ptr has quit IRC
12:07:15 *** lobstar has joined #openttd
12:07:57 *** lobster has quit IRC
12:20:16 *** elmz has quit IRC
12:25:39 *** OwenS has joined #openttd
12:33:51 *** Neon has joined #openttd
12:34:48 <OwenS> Hmm, I may have spotted a bug. It's a pretty minor one, but it's still a bug
12:35:26 <OwenS> order_gui.cpp, ~Line 81, After "/* Unload and transfer do not work together. */", there are only 4 strings but should be 5
12:36:08 *** Singaporekid has joined #openttd
12:38:01 <Rubidium> so it's just a 0
12:38:56 <OwenS> I presume that causes it to draw a different invalid string?
12:39:00 *** Tennel has quit IRC
12:40:09 <Rubidium> it won't draw the string
12:40:29 <Rubidium> if it's INVALID_STRING_ID is will definitely crash, with 0 it will be 'just' a GUI glitch
12:40:55 <OwenS> ...Since it's "drawn" 4 invalid strings already, it should then theoretically have already crashed :p
12:41:20 <Rubidium> no, it doesn't draw those strings
12:41:43 <Rubidium> they are there only to keep the rest of the 'data' easily accessible
12:42:09 <OwenS> I was refering to in the unlikely condition it ended up in that state
12:42:25 *** Progman has joined #openttd
12:43:10 <Rubidium> no, it might not have drawn the other 4 strings
12:43:13 *** Coco-Banana-Man has joined #openttd
12:46:40 <peter1138> hurr, openttd on a 50" telly at 1920x1080 is ... usable
12:48:11 *** Elessar has left #openttd
12:49:31 *** fjb has quit IRC
12:51:24 *** ptr has joined #openttd
12:57:57 * andythenorth contemplates drawing a quarry
12:58:05 <andythenorth> brrrrrrrrhhhhhhh
12:58:42 *** fjb has joined #openttd
13:03:58 <Belugas> YO ALL
13:08:07 <andythenorth> hi hi
13:11:47 *** glx has joined #openttd
13:11:47 *** ChanServ sets mode: +v glx
13:13:18 <__ln__> lots of people with 3-letter nicks
13:13:59 <glx> said the one who used to have a 2-letter nick ;)
13:15:28 <Rubidium> glx: it's still a 2 letter nick
13:15:42 <glx> but with underscores
13:18:41 *** Pikka has joined #openttd
13:21:47 <OwenS> Hmm... Is there any way to display a piece of text on a dropdown which isn't in the list?
13:22:28 <OwenS> Hang on... nm
13:22:34 <OwenS> It works like I'd hoped :-)
13:28:28 *** Pikka has quit IRC
13:34:02 *** Pikka has joined #openttd
13:36:12 *** TinoDidriksen has quit IRC
13:36:24 *** TinoDidriksen has joined #openttd
13:43:43 <andythenorth> hi hi Pikka
13:43:57 <Pikka> hello andy
13:44:18 <andythenorth> I've got to draw a quarry
13:44:23 <andythenorth> :o
13:46:06 <OwenS> Well, you can now select program instructions, and the tool buttons are dummied
13:48:38 <Pikka> good luck with that :D
13:53:34 * andythenorth ponders drawing 17 different quarry boundary tiles which all line up nicely for different terrain
13:54:10 * OwenS is glad he doesn't do graphics
13:54:43 <andythenorth> Oblique Strategies tells me: "water" "courage" and "what is the simplest solution?"
13:54:47 <andythenorth> dunno what to make of that :)
13:55:17 <Rubidium> andythenorth: I guess water is the simplest solution
13:55:19 <andythenorth> http://en.wikipedia.org/wiki/Oblique_Strategies
13:55:48 *** bryjen has joined #openttd
13:55:52 <andythenorth> Rubidium: I have a nice dredger for getting gravel out of water
13:56:04 <andythenorth> but it looks fricking stupid with a helicopter landing on it :D
13:56:12 * andythenorth waits for new airports
13:57:18 <andythenorth> "Do we need holes?"
13:58:55 <Pikka> that's what it said.
13:59:34 <andythenorth> well do we need holes?
13:59:36 <andythenorth> hmm
14:00:13 <Pikka> holes are handy
14:00:18 <Pikka> g'night wallyweb
14:00:36 *** Pikka has quit IRC
14:18:14 <peter1138> hmm, what shall i use to make some uptime charts
14:20:09 *** oskari89 has joined #openttd
14:25:28 <andythenorth> munin?
14:25:43 <andythenorth> http://en.wikipedia.org/wiki/Munin_(network_monitoring_application)
14:27:42 <andythenorth> brrrr brrrr brrrrr
14:27:59 <peter1138> i have the data going back a few years
14:28:21 <peter1138> but it's in the form of "datetime up|down"
14:28:28 <andythenorth> excel?
14:29:09 * andythenorth needs to stop avoiding the pixels
14:29:21 *** oskari89 has quit IRC
14:34:50 *** oskari89 has joined #openttd
14:38:12 *** rhaeder has quit IRC
14:40:37 *** Terkhen has quit IRC
14:42:08 *** Qazzian has joined #openttd
14:43:33 <peter1138> blah
14:43:42 <peter1138> openoffice doesn't recognise the text data as a date :(
14:43:46 *** lewymati has joined #openttd
14:44:19 *** Biolunar has joined #openttd
14:44:50 <andythenorth> meh
14:44:55 * andythenorth blew up ottd
14:44:56 <andythenorth> again
14:45:31 <andythenorth> really badly
14:45:36 *** lobstar has quit IRC
14:46:57 *** lobstar has joined #openttd
14:47:31 * peter1138 fixes the data
14:53:30 * peter1138 blew up openoffice
14:53:48 <andythenorth> fuck a doodle doo
14:54:51 * andythenorth learns a lesson about string codes
14:55:32 *** lobstar has quit IRC
14:56:23 *** lobstar has joined #openttd
14:56:54 *** devilsadvocate has quit IRC
14:59:15 *** aber has joined #openttd
15:01:18 *** FloSoft has quit IRC
15:06:17 *** FloSoft has joined #openttd
15:07:32 *** lobstah has joined #openttd
15:08:38 * andythenorth takes the easy way out on a quarry
15:09:36 <Rubidium> bury it?
15:09:39 *** lobstar has quit IRC
15:10:19 <andythenorth> ha ha
15:10:39 <andythenorth> recoloured the sand pit I've already drawn
15:10:48 <andythenorth> not really good enough, but good enough
15:11:11 * andythenorth closes a FIRS milestone
15:11:25 <andythenorth> [:)
15:13:01 *** Bahamamama has joined #openttd
15:14:02 *** DanMacK has quit IRC
15:18:44 *** aber has joined #openttd
15:20:53 <peter1138> hmm, anyone uses linux-vserver, with debian?
15:21:02 <peter1138> my log files don't get rotated :s
15:22:25 <peter1138> oh... cron isn't started :s
15:23:21 <Noldo> :)
15:23:32 <peter1138> silly debian vserver set up scripts, i guess
15:27:21 *** Doorslammer has joined #openttd
15:30:03 <peter1138> oh, also, silly rsyslog set up
15:30:15 <peter1138> with sysklog did, it would automatically get the list of files to rotate
15:30:18 <peter1138> not so with rsyslog :s
15:32:16 <Noldo> peter1138: have you played with yacc/bison?
15:32:26 <peter1138> no
15:32:57 <OwenS> Noldo: I have
15:33:16 <OwenS> I've come to the conclusion you're better of hand coding your grammar :p
15:33:19 <Noldo> do you know if anyone in the NewGRF community has made a parser with it?
15:33:32 *** lobstar has joined #openttd
15:33:55 <OwenS> Sorry no i don't
15:35:00 *** Chruker has joined #openttd
15:37:31 *** lobstah has quit IRC
15:37:57 <andythenorth> some FIRS industries have the 'can be exploded by military helicopter' flag :D
15:38:04 <andythenorth> don't blame me, blame FooBar
15:42:22 <OwenS> rofl
15:52:54 <OwenS> OK... How do I tell my instruction windows that a change has occured?
15:55:13 <andythenorth> when should Aluminium become available as a cargo chain?
15:55:34 <andythenorth> IRL any time after 1900 would be appropriate
15:55:54 <andythenorth> Eddi|zuHause ^^ you normally have a suggestion on these questions :)
15:56:34 <Eddi|zuHause> i'm not particularly informed about aluminium
15:57:13 <Eddi|zuHause> something that makes sense regarding gameplay... people don't often start before 1920
15:57:18 <Rubidium> 1889! :)
15:57:37 <andythenorth> Rubidium: why?
15:57:40 <Belugas> 1984
15:57:58 <Belugas> # hoooo hooo hooooo hoooo...
15:58:09 <Eddi|zuHause> OwenS: MarkDirty()?
15:58:36 <Eddi|zuHause> or Invalidate? or something?
15:58:47 <OwenS> Eddi|zuHause: Thats how a window marks itself for a redraw. What I want to do is, in a command handler, say "The instructions of <this> signal are dirty. Notify the window with id <id>"
15:58:58 <OwenS> It's the getting the window which is the difficult bit :p
15:58:59 <Rubidium> andythenorth: the very credible wikipedia ofcourse
15:59:22 <Rubidium> oh, maybe even 1886 :)
15:59:23 <Eddi|zuHause> OwenS: GetWindowById()->MarkDirty()?
15:59:30 <Belugas> mmh... why is it i don't have all my songs with me?? I NEED BOWIE!
15:59:31 <OwenS> Eddi|zuHause: Aah! That sounds about right
15:59:39 <Rubidium> MakeWindowDirtyById or something like it
16:00:15 <OwenS> void InvalidateWindowData(WindowClass cls, WindowNumber number, int data = 0) is what I wanted
16:01:36 <OwenS> Hmm... I'm gonna have to go through the game with a fine toothed comb to find where signals can be removed from tiles
16:02:26 <Eddi|zuHause> "RemoveSignal"?
16:02:40 <OwenS> Eddi|zuHause: And demolish. And remove track. And...
16:03:17 <Eddi|zuHause> OwenS: might make sense to refactor that to one place?
16:03:48 <OwenS> Probably to an "CheckRemoveSignals" function or such
16:04:37 <OwenS> OK, and we can now add instructions :-)
16:04:39 <andythenorth> hmm
16:04:46 <andythenorth> bakery intro date...1850?
16:05:44 *** lobstah has joined #openttd
16:06:45 <Jolteon> Bakerys have been around since the Roman times.
16:07:03 *** lobstar has quit IRC
16:07:07 <Jolteon> They found a load of bread in the remains on Pompeii, from 79 AD
16:07:10 <Jolteon> or was it 78 AD
16:07:20 <Jolteon> Whenever Vesuvious wrecked the joint.
16:08:03 <andythenorth> brewery....1820?
16:08:42 <Jolteon> Brewerys have been around since Tudor time at least
16:09:03 <Jolteon> (1485 to 16005)
16:09:05 <Jolteon> 1605*
16:10:05 <andythenorth> Jolteon: did they look like this though? http://tt-foundry.com/sets/FIRS/schema/schema/industries#brewery_distillery
16:10:12 <andythenorth> and does it really matter?
16:10:42 <andythenorth> should I care if graphics aren't 'old' enough
16:10:52 <andythenorth> town buildings have the same problem
16:11:21 <Eddi|zuHause> no. possibly prepare the code for different building styles, if you can get the date when an industry was built
16:11:31 <peter1138> http://ic3d.biz/HORNDEAN PARCEL3(2).jpg
16:11:34 <peter1138> ^ they look like that
16:11:36 <Rubidium> http://en.wikipedia.org/wiki/Brewery says early 11th century
16:11:50 <Eddi|zuHause> if you have too much time, you can add the graphics for that later
16:12:21 <Eddi|zuHause> i think breweries should be one of the first industries available
16:12:22 <andythenorth> peter1138: how old is that one?
16:12:34 <andythenorth> brewery could kick in around 1700?
16:12:40 *** devilsadvocate has joined #openttd
16:13:13 <andythenorth> screw it, I'll do it for 1640
16:13:16 <andythenorth> seems like a nice date
16:15:37 <andythenorth> anyone want to bid on the furniture factory date?
16:15:43 <andythenorth> I reckon about 1850
16:16:14 <andythenorth> hmm
16:17:31 <andythenorth> cement plant?
16:17:39 <andythenorth> 1900
16:18:08 <Eddi|zuHause> history of industrialisation... i'm really not an expert in that
16:18:24 <andythenorth> I guess the only two things that matter are:
16:18:26 <andythenorth> - gameplay
16:18:35 <andythenorth> - whether the graphics look stupid (too modern)
16:18:47 <Singaporekid> "The first furniture factory employing more than ten people was begun by Abraham. & Hepburn (later Campbell & Abraham) in 1867."
16:18:56 <andythenorth> Singaporekid: interesting
16:18:56 <Singaporekid> HOPE THAT HELPS
16:19:00 <andythenorth> it does :)
16:19:24 <andythenorth> but I need to have a complete lumber chain
16:21:02 <Eddi|zuHause> early houses should accept wood, later houses should accept coal
16:21:25 <SpComb^> very funny
16:21:27 <andythenorth> yup, they should, but I'm steering clear
16:21:34 <andythenorth> I don't want to get into coding houses as well
16:22:12 <Eddi|zuHause> and like i said before: pre-industrial "industries" should be very small but many
16:22:14 <OwenS> hehe
16:22:24 <andythenorth> Eddi|zuHause: that's the plan
16:22:48 <SpComb^> horsecarts transporting small quantities?
16:22:48 <Eddi|zuHause> so you make a 1x1 carpenter's shop or something
16:22:51 <andythenorth> yup
16:22:53 <SpComb^> there might be some sense to that
16:23:11 <andythenorth> the thinking was to limit their production somehow as well
16:24:02 <Eddi|zuHause> andythenorth: maybe if you take eGRVTS as base, limit it to one carriageload per production step?
16:24:18 * andythenorth wonders if it's necessary to limit production at all
16:24:32 <andythenorth> the available vehicles offer a sort of limit anyway
16:28:33 <andythenorth> omg, we could do a whole industry set just for 'Dairy'
16:28:33 <andythenorth> http://en.wikipedia.org/wiki/File:Milkproducts.svg
16:28:42 * andythenorth thinks not
16:29:30 <Eddi|zuHause> ha ha :p
16:30:01 <Eddi|zuHause> toyland-replacement "cheeseland" maybe :)
16:30:10 <andythenorth> indeed
16:30:34 * andythenorth harbours a secret plan for an entire 'logging' chain though
16:32:15 <OwenS> andythenorth: You have an hatred for forrests yes?
16:32:23 *** Splex has quit IRC
16:32:25 <andythenorth> I just like logging machinery
16:32:48 <andythenorth> http://heavyequipmentforums.com/Forum/forumdisplay.php?f=91
16:33:24 <OwenS> It does occur to me that in the default industries you collect grain and cattle from farms, but not milk.. kinda odd
16:35:57 <andythenorth> yup
16:36:04 <andythenorth> I have a fix for that :)
16:36:39 <andythenorth> but you don't get the default industries :o
16:36:50 <OwenS> :P
16:37:25 <OwenS> Hmm... Where should I put the program signal buton? I feels wrong to have a row with an extra buton...
16:38:02 <Sacro> what?
16:38:06 <Sacro> proram signal?
16:38:15 <OwenS> Sacro: I'm implementing a programmable signals patch
16:40:17 *** Splex has joined #openttd
16:40:19 <Sacro> ohyay \o/
16:40:23 <Sacro> need testing?
16:40:47 <OwenS> Current version can be found at http://www.tt-forums.net/viewtopic.php?f=33&t=47690 , but theres no UI for programming in that version :p
16:40:53 <OwenS> Next version is *really* close
16:42:22 <Sacro> oh it's just NAND
16:42:25 <Sacro> not programmable :(
16:42:29 <OwenS> Sacro: Thats all it does for now
16:42:37 <OwenS> The backend is there, but not the frontend
16:43:13 <Sacro> mm
16:46:55 *** snack2 has joined #openttd
16:47:20 *** Hyronymus has joined #openttd
17:10:53 *** ptr has quit IRC
17:11:55 *** Grelouk has joined #openttd
17:13:36 *** Lakie has joined #openttd
17:16:14 <andythenorth> steel mill intro date?
17:16:17 <andythenorth> 1830...?
17:16:23 <andythenorth> ach seems about right
17:16:41 <andythenorth> 0
17:18:39 <OwenS> Ok, I'm adding my signal to the buffer (Via AddTrackToSignalBuffer), I presume I then have to call UpdateSignalsInBuffer()? (Testing without... nothing happens anyway) Or am I supposed to do something else?
17:23:05 <OwenS> It certainly seems to work..
17:31:54 *** Terkhen has joined #openttd
17:43:58 <andythenorth> paper mills are surprisingly old :o
17:48:15 *** Qazzian has quit IRC
17:50:18 * peter1138 ponders
17:51:38 *** Eoin has joined #openttd
17:55:07 <Hirundo> OwenS: If you plan to update multiple signals of the same owner, Add(Track|Side)ToSignalBuffer followed by UpdateSignalsInBuffer is the best way to go.
17:55:52 <OwenS> Hirundo: OK. I was just checking that I wasn't calling a function I shouldn't.
17:56:07 <Hirundo> For updating a single signal, SetSignalsOnBothDir and some_other_function are available
18:01:21 * andythenorth hmmms
18:01:59 <andythenorth> if industries have start dates, does the whole chain need to complete at once?
18:10:01 *** zachanim1 has joined #openttd
18:10:38 *** a1270 has quit IRC
18:10:41 *** ptr has joined #openttd
18:12:02 *** zachanima has quit IRC
18:14:56 *** frosch123 has joined #openttd
18:16:16 *** JVassie_ has quit IRC
18:16:38 *** JVassie_ has joined #openttd
18:20:13 *** Polygon has joined #openttd
18:26:29 *** zachanim1 has quit IRC
18:34:11 *** zachanima has joined #openttd
18:34:11 *** einKarl has quit IRC
18:36:01 *** lobster has joined #openttd
18:39:26 *** lobstah has quit IRC
18:43:35 *** Singaporekid has quit IRC
18:43:49 * andythenorth wonders how many nested cpp templates is too many?
18:45:58 <CIA-6> OpenTTD: translators * r19501 /trunk/src/lang/ (danish.txt romanian.txt):
18:45:58 <CIA-6> OpenTTD: -Update from WebTranslator v3.0:
18:45:58 <CIA-6> OpenTTD: danish - 5 changes by silentStatic
18:45:58 <CIA-6> OpenTTD: greek - 4 changes by
18:45:58 <CIA-6> OpenTTD: lithuanian - 2 changes by
18:46:00 <CIA-6> OpenTTD: romanian - 3 changes by kkmic
18:56:27 *** Wolf01 has joined #openttd
18:56:38 <Rubidium> andythenorth: I'd say infinite, but there's infinitely more possibilities beyond that
18:57:19 <andythenorth> and for readability and understanding the code?
18:57:40 <Wolf01> oh, I thought you were talking about human stupidity
18:57:47 <Wolf01> hello :D
18:58:07 <Rubidium> hi Wolf01, lets preemptively bury you :)
19:00:02 <Rubidium> TrueBrain: WT3 is again in its commiting no-one's stuff state :( (for two languages)
19:05:12 *** Fuco has joined #openttd
19:05:58 *** ecke has quit IRC
19:09:25 *** rhaeder has joined #openttd
19:12:40 *** ecke has joined #openttd
19:12:42 <andythenorth> var 24 years since 0 (long format)
19:12:47 <andythenorth> how do I knock 1 year off?
19:12:55 <andythenorth> 24 20 \dxFFFFFFFF //get current date
19:12:55 <andythenorth> \2- 1A 00 \d01 //subtract 1
19:13:02 <andythenorth> doesn't seem to do it
19:13:59 <andythenorth> oh....maths fail :o
19:18:40 *** APTX has quit IRC
19:18:43 *** APTX has joined #openttd
19:30:18 *** ajmiles has joined #openttd
19:39:51 *** Tennel has joined #openttd
19:44:56 *** KritiK has joined #openttd
19:46:14 <OwenS> Wolf01, Sacro: http://www.tt-forums.net/viewtopic.php?f=33&t=47690&p=865781#p865781 <- ProgSigs with signal editor is out
19:46:35 <Wolf01> nice
19:48:22 <andythenorth> pretty epic
19:54:00 <OwenS> Hehe, someone has already downloaded
19:54:02 <OwenS> it
19:55:39 <__ln__> Wolf01: 'notte
19:58:57 <andythenorth> meh
19:59:03 * andythenorth blew up ottd horribly
19:59:47 *** APTX has quit IRC
20:07:19 *** Adambean has quit IRC
20:07:28 *** Adambean has joined #openttd
20:19:34 *** fonsinchen has quit IRC
20:22:47 *** fjb is now known as Guest1913
20:22:48 *** fjb has joined #openttd
20:26:07 *** Guest1913 has quit IRC
20:36:39 *** snack2 has quit IRC
20:47:28 *** lobstar has joined #openttd
20:52:27 *** lobster has quit IRC
20:58:13 *** Progman has quit IRC
21:09:03 <andythenorth> meh
21:10:08 *** Progman has joined #openttd
21:11:18 <OwenS> blown it up again?
21:16:13 <OwenS> Hmm... This ones a bit theoretical at the moment, as I'm not implementing it yet... But when I give ProgSigs the ability to look at arbritrary signals, should I limit it to onlly signals from the same company?
21:19:36 <Belugas> zhome. Gnight
21:20:10 <Rubidium> night Belugas
21:20:54 <andythenorth> 3 tickets before FIRS release 0.1 is done :o
21:21:00 <andythenorth> unless there are new bugs :P
21:21:33 *** lewymati has quit IRC
21:21:53 *** JVassie_ has quit IRC
21:22:15 *** JVassie_ has joined #openttd
21:22:48 *** Doorslammer has quit IRC
21:23:00 *** ecke has quit IRC
21:31:13 *** goblin_ has joined #openttd
21:32:56 *** glx has quit IRC
21:33:08 *** glx has joined #openttd
21:33:08 *** ChanServ sets mode: +v glx
21:33:44 <devilsadvocate> http://www.inhabitat.com/2010/03/15/china-to-connect-its-high-speed-rail-all-the-way-to-europe/
21:34:24 <Rubidium> yeah right... not gonna happen any time soon
21:38:15 <devilsadvocate> imo, that sounds like the backstory to a really bad scifi movie
21:41:12 *** tdev has joined #openttd
21:43:17 *** frosch123 has quit IRC
21:44:58 *** oskari89 has quit IRC
21:45:29 <planetmaker> hello
22:00:29 <Wizzleby> wrt high speed rail china->europe: nice idea, but seriously, going through 17 different countries has got to be a serious political crapstorm waiting to happen, and seems unlikely to pull off
22:00:32 *** Grelouk has quit IRC
22:01:04 <OwenS> I notice that China are paying for it. That makes the whole thing suddenly become a lot cheaper, exp. when you consider the economic benefits
22:02:05 <OwenS> **cheaper -> simpler
22:02:38 <OwenS> Also, it makes negotiations simpler: it shows China want it, and they want it pretty badly
22:02:44 <Rubidium> Wizzleby: here they have 30 years of "fighting" before they can lay a road; it's not "in three weeks this valley will be flooded, bugger of to this new town we constructed for you"
22:03:01 <Wizzleby> yeah, them paying for it certainly removes *one* big obstacle. That doesn't account for general political stubbornness though
22:03:41 <OwenS> Stubbornness vs the opposition going "China offered to build a free high speed rail line and you refused WHY?!"
22:03:48 *** Polygon has quit IRC
22:04:06 <Wizzleby> Rubidium: yeah, many places constructing a new road is not popular. In the USA, they had trouble building their proposed highway system which would run from mexico to canada because some states refused to take it
22:04:39 <Wizzleby> OwenS: look at the situation of Oklahoma and the Trans-texas corridor, or whatever that leg of the highway was to be called
22:04:51 <OwenS> They should feel lucky. The UK hasn't built a new motorway in ~15 years. And the M6 toll doesn't count because nobody uses it
22:05:13 <Wizzleby> very similar situation, oklahoma would not have had to pay for it, but they didn't want it running through their state
22:06:07 <Wizzleby> OwenS: also, remember politics doesn't always do what is best for the region :)
22:06:22 <OwenS> HSR lines are more attractive (Read: more green) than roads, and also it's largely running through less developed countries where there is less NIMBYism
22:06:24 <Wizzleby> just cause its a benefit or a good idea doesn't mean it gets passed
22:06:58 <Wizzleby> well, I'm not disagreeing with you on the benefits of HSR certainly :)
22:07:49 <Rubidium> OwenS: rail is expensive (and by self-reinforcement it stays expensive)
22:07:57 *** Neon has quit IRC
22:08:17 <Rubidium> just look at the rail projects here... nobody seems to want them, they cost a huge sum of money and are barely used
22:08:27 <OwenS> Rubidium: Except when China is footing the bill for you :p
22:09:06 <Wizzleby> I bet some places would take issue simply because its china ;)
22:09:21 <Wizzleby> politics are a mess after all
22:10:03 <Rubidium> OwenS: they made a cargo rail line to Germany with a capacity of 10 trains an hour per direction... if 10 trains a day use it, it's busy. Even more of them use the old route because that's cheaper.
22:11:27 *** bryjen has quit IRC
22:11:56 <Rubidium> even then, how much will a ticket China-Europe cost?
22:14:08 *** tdev has quit IRC
22:15:25 *** Hyronymus has quit IRC
22:17:17 *** JakeGrimshaw has joined #openttd
22:17:27 *** TheMask96 has quit IRC
22:17:28 <JakeGrimshaw> hello all
22:17:33 <PeterT> hey Jake
22:18:11 *** Chrill has joined #openttd
22:19:10 <Rubidium> because a train ticket Tokyo-Hakata (Shinkansen) costs about twice of what I paid for the airplane and with transit times still the Shinkansen is an hour longer
22:19:20 <Rubidium> which is over a distance of 1200 km
22:19:50 <JakeGrimshaw> the Guess the Station picture looks annoyingly familiar :@
22:20:22 <Rubidium> now if you're talking about China-Europe the train prices will arguably be relatively even higher than an airplane
22:21:29 <Rubidium> ofcourse you can use the "it's greener principle", but then... having the maglev train go even slower is arguably greener too and then you get into a "time vs money vs greenness" debate
22:22:24 *** fonsinchen has joined #openttd
22:22:32 <OwenS> I suppose one of the biggest differences is that jet fuel's tax is so low...
22:22:56 * andythenorth wishes there was a way to define a value (such as 1881) and have the CPP render that as \d1881
22:23:22 <Rubidium> template parameters?
22:23:35 <Ammler> wait for Hirundo/Yexo tools :-)
22:23:43 <Rubidium> #define FOO(a) \d##a## ?
22:24:14 <OwenS> Probably need to go through a CONCAT indirection or two knowing CPP
22:24:19 *** TheMask96 has joined #openttd
22:24:28 <andythenorth> I've tried before, so has DJ_Nekkid I think
22:24:30 <andythenorth> fail
22:25:00 <andythenorth> I end up defining the dword (define '\d1881') then writing that onto the text stack later
22:25:01 <OwenS> andythenorth: #define FOO(a) CONCAT(\d, a) #define CONCAT(_x, _y) CONCAT2(_x, _y) #define CONCAT2(_x, _y) _x##_y
22:25:22 <andythenorth> OwenS: :) looks about as bad as just using the text stack
22:25:41 <OwenS> Those concat macros come in useful elsewhere as well
22:26:29 <OwenS> I'd say "You should be using a proper language" but the only one of those anyone has is M4, and M4 is awful
22:27:12 <Ammler> in "our" case, python is valid too
22:27:22 <andythenorth> language rarely matters that much
22:27:29 <andythenorth> as long as it's not perl :P
22:27:48 <Terkhen> good night
22:27:50 *** Terkhen has quit IRC
22:28:07 <Ammler> Terken should give some time to answer ;-)
22:28:33 <PeterT> he just wants to get to his damn bed
22:28:39 <Ammler> andythenorth: did you see the scripts from yexo and Hirundo?
22:28:47 <andythenorth> yes
22:28:56 <Ammler> not useable?
22:29:06 <andythenorth> nfo is simply not my biggest problem
22:29:13 <andythenorth> I screw up in every language I use
22:29:20 <Yexo> Ammler: not yet, Hirundo has (as far as I know) only written a text document
22:29:24 <Yexo> and my work is far from complete
22:29:30 <andythenorth> I'll still spend time hunting my own errors in python or whatever
22:29:34 <andythenorth> :)
22:29:39 <Rubidium> Ammler: it's totally unuseable if you want to release something "soon"
22:29:45 <Ammler> Yexo: I didn't follow proper, just read a bit here...
22:30:55 <Rubidium> Ammler: it's as useful as m4nfo
22:31:29 <Hirundo> Yexo: I have some flex/bison stuff lying around, but that's nothing to get really exited about
22:31:56 <Hirundo> I think using python is a better idea
22:32:01 <OwenS> Hirundo: Esp. since you'd be better off with re2c + handocded parser ;-)
22:32:04 <OwenS> Or Python :p
22:32:04 <Ammler> Eddi|zuHause: has also once posted something :-)
22:32:20 <Eddi|zuHause> that was a long time ago...
22:33:06 <Yexo> Hirundo: one of the problems I encountered: how to handle parameter usage in a varaction2 expression?
22:33:15 <Ammler> well, anyway, cpp did reach the limits...
22:33:35 <Ammler> the more we use it, the uglier the code
22:33:38 <Hirundo> Yexo: There is a fundamental choice to be made there
22:33:39 <Eddi|zuHause> i never got as far as figuring out varaction 2 support...
22:33:40 <Yexo> should it use the value of the parameter as it was at the moment the varaction2 is defined or at the time it's executed?
22:33:47 <Hirundo> exactly
22:34:00 <Hirundo> Action6 or variable 7F
22:34:05 <Yexo> indeed :)
22:34:54 <Ammler> action6 could mostly be done with lots of action7
22:35:09 <Hirundo> Not really
22:35:09 <Eddi|zuHause> that was not the question
22:35:36 <Eddi|zuHause> Ammler: if you want to use action 7, you have to know all possible values
22:36:16 <Eddi|zuHause> also, you can't skip an action 2 with an action 7/9
22:36:20 <Hirundo> Action7 would , in the worst case, need far more memory than your pc has to offer, to handle every case
22:36:28 <Yexo> Ammler: this is the problem: http://paste.openttd.org/225381
22:38:57 <Hirundo> Other languages show examples of both
22:39:30 <Ammler> don't see, how that could be 4
22:39:46 <PeterT> what does "dbg: [misc] String too long for destination buffer" mean?
22:39:53 <Hirundo> At the time the action2 is run, the value is 4
22:39:56 <PeterT> what is the destination buffer, exactly?
22:40:19 <Yexo> Ammler: if the switch (=action2) uses var 7F, then in nfo the value would be 4
22:40:42 * andythenorth closes a ticket by backlogging it
22:40:54 <Hirundo> PeterT: What version are you using?
22:40:59 <PeterT> Hirundo: 0.7.5
22:41:12 <PeterT> Hirundo: It is patched with CityBuilder, if that matters
22:41:16 <Wolf01> 'night
22:41:23 <Wolf01> buona notte __ln__
22:41:31 * PeterT buries Wolf01
22:41:36 <Wolf01> :)
22:41:46 *** Wolf01 has quit IRC
22:41:49 <Hirundo> PeterT: Yes, that might matter a lot.
22:42:18 <PeterT> what if it was with a normal version, unpatched?
22:42:26 <PeterT> Hirundo: what would it mean?
22:43:03 <Yexo> that some string was too long
22:43:23 <PeterT> Ok
22:43:30 <PeterT> that would make sense
22:43:38 <PeterT> since the server sends private messages about the city info
22:44:09 <andythenorth> good night
22:44:20 <PeterT> Night andythenorth
22:44:40 *** andythenorth has left #openttd
22:45:38 <Ammler> well, that looks like I have no idea about VarAction2 :-)
22:45:48 <Hirundo> Actino6 may provide more power to the user, since he has the freedom to choose what he wants
22:46:02 <Hirundo> On the other hand, it may provide even more rope to hang himself with
22:46:03 <Ammler> don't see why you should like to use value of a variable you define _after_
22:47:21 <Ammler> sounds like you define a function to me...
22:48:41 <Yexo> yes, action6 feels more intuitive
22:49:31 <Hirundo> A bit like lexical closures in other languages
22:49:56 <Ammler> http://dev.openttdcoop.org/projects/minigrfs/repository/entry/opengfx/makegrf <-- a lot of Action6, loops and such :-)
22:52:05 <Ammler> oh, I didn't push my final grf...
22:58:26 <Yexo> Ammler: it looks like the comments don't match the nfo code
22:58:44 <Ammler> yeah :-)
23:03:27 *** JakeGrimshaw has left #openttd
23:04:55 <Ammler> Yexo: I pushed the final version, requery
23:05:20 <Ammler> comments are still not valid :-/
23:05:48 *** Progman has quit IRC
23:06:11 <Ammler> I am also not able to get Tropic/Arctic working...
23:09:03 *** APTX has joined #openttd
23:11:32 *** goblin_ has quit IRC
23:20:05 *** aber has left #openttd
23:22:29 *** fonsinchen has quit IRC
23:35:22 *** Coco-Banana-Man has quit IRC
23:37:16 *** Cybertinus has quit IRC
23:40:40 *** Biolunar has quit IRC
23:51:55 *** tokai has quit IRC
23:52:38 *** tokai has joined #openttd
23:52:38 *** ChanServ sets mode: +v tokai
23:57:32 *** Tennel has quit IRC
23:57:48 *** Nite_Owl has joined #openttd
23:58:02 <Nite_Owl> Hello all