IRC logs for #openttd on OFTC at 2010-11-25
            
00:02:01 *** Arie- has quit IRC
00:05:07 *** Lars has quit IRC
00:19:55 *** Kurimus has quit IRC
00:20:02 *** Devroush has quit IRC
00:26:00 <Samu> remove absurd road-elements during the road construction
00:26:20 <Samu> is this for the town AI or for the player?
00:28:29 *** Lakie has quit IRC
00:28:52 *** Lakie has joined #openttd
00:29:25 <SmatZ> for town
00:29:25 <SmatZ> when player pays for road reconstruction
00:30:38 *** dfox has quit IRC
00:35:16 <Samu> then it should be
00:35:19 <Samu> road reconstruction
00:36:41 <SmatZ> seems so
00:43:15 *** goblin has quit IRC
00:52:28 <Samu> question
00:52:41 <Samu> percentage of leg profit to pay in feeder systems
00:52:46 <Samu> what's a leg?
00:53:10 <Belugas> part of the total trip
00:53:33 <Belugas> a to b - b to c - c to d
00:53:39 <Belugas> a to b is a leg
00:53:46 <Samu> ah,
00:54:11 <Samu> the more transfers I do, the less I gain in the last leg?
01:00:43 *** KenjiE20 has quit IRC
01:01:32 <Belugas> dunno. it depends of a lot. but for sure, the more legs, the more time. thus less profitable
01:01:41 <Belugas> isn't it logic?
01:07:16 *** Fuco has quit IRC
01:11:42 <Samu> {BLACK}View and/or set face number of the company president
01:11:57 <Samu> I need help on this, what if the president is female?
01:12:32 <glx> adapt the string :)
01:13:21 <Samu> {BLACK}Ver e/ou definir número de cara do/da presidente da empresa
01:13:24 <Samu> like that?
01:13:25 <Samu> ugly
01:13:40 <glx> no remove the president part :)
01:14:09 <Samu> company face?
01:14:14 <Samu> :)
01:14:18 <Samu> no, sounds bad
01:14:33 <glx> {BLACK}View and/or set face number
01:17:21 *** theholyduck has quit IRC
01:20:28 *** Brianetta has quit IRC
01:22:31 *** supermop has joined #openttd
01:24:44 <supermop> hello
01:26:11 <SmatZ> hello supermop
01:26:27 *** KritiK has quit IRC
01:26:48 <supermop> hows it going
01:27:46 <SmatZ> quite fine :) you?
01:27:54 <Samu> {BLACK}Remove all company-owned property from the map
01:28:06 <Samu> is that 1 company only, or all companies?
01:29:00 <Samu> http://translator.openttd.org/en/trunk/pt_PT/STR_TERRAFORM_RESET_LANDSCAPE_TOOLTIP
01:29:15 <SmatZ> all companies
01:29:49 <Samu> wow, never seen such thing happen
01:30:23 <supermop> i am at my parents house
01:30:35 <supermop> its pretty good
01:30:38 <SmatZ> :)
01:30:57 <SmatZ> Samu: it's available in scenario editor
01:32:50 <Samu> {WHITE}The last {NUM} second{P "" s} no data has arrived from the server
01:32:55 <Samu> help me translate this
01:33:05 <Samu> I need multiple plurals
01:33:12 <Samu> for the same number
01:33:24 <Samu> 2 before, 1 on the word
01:34:05 <Samu> No(s) último(s) segundo(s) nenhum dado foi recebido do servidor
01:34:36 <planetmaker> {WHITE}Die letzte{P 0 "" n} {NUM} Sekunde{P "" n} wurden keine Daten vom Server empfangen
01:35:52 <Samu> what does the 0 do?
01:36:27 <planetmaker> reference the 1st parameter. which is the number
01:36:43 <Samu> ok, thanks
01:36:56 <Samu> then 0 for the 2 before, nothing for the word
01:37:02 <Samu> let's see
01:38:58 <Samu> {WHITE}No{P 0 "" s} último{P 0 "" s} {NUM} segundo{P "" s} nenhum dado foi recebido do servidor
01:43:41 <Belugas> lovely parameters :)
01:44:29 <Belugas> mmh... nothing good happened tonight. i guess i'm too tired to compose...
01:45:32 *** Eddi|nichZuHause has joined #openttd
01:45:52 <Eddi|nichZuHause> i hate laptop keyboards
01:46:00 <Eddi|nichZuHause> and touchpads...
01:51:09 *** pugi has quit IRC
01:55:17 <Samu> {LTBLUE}Maximum number of non-sticky windows: {ORANGE}disabled
01:55:20 <Samu> a little problem with the english
01:55:35 <Samu> disabled could mislead to no windows at all
01:57:20 <Samu> maybe unlimited instead of disabled?
01:57:56 *** Lakie has quit IRC
01:58:21 <Eddi|nichZuHause> i don't remember that setting
01:58:44 <avdg> gn
02:00:09 <Samu> it's a setting that changes the number of windows I can have at once
02:00:22 <Samu> when I open more than that number, it closes some others
02:01:01 <Eddi|nichZuHause> why even expose that to the user?
02:01:29 <Samu> it can run out of memory or something, someone said
02:03:36 *** xiong has quit IRC
02:10:45 *** Vadtec has quit IRC
02:16:29 <Samu> T.E: traftive effort?
02:16:30 <Samu> tractive
02:20:08 <Eddi|nichZuHause> yes
02:21:03 <Samu> then it's not E.T in portuguese, it's F.T
02:23:01 *** Vadtec has joined #openttd
02:32:28 *** fjb has quit IRC
02:34:37 *** fjb has joined #openttd
02:40:18 <Samu> how do I change phrase construction for depots?
02:40:43 <Samu> London Road Vehicle Depot
02:40:51 <Samu> Road Vehicle Depot of London
02:40:54 <Samu> like that
02:44:10 *** andythenorth has joined #openttd
02:44:52 <glx> Samu: search for STR_FORMAT_DEPOT
02:45:47 <Samu> ah, weird, it doesn't work in-game
02:45:56 <Samu> {TOWN} Train Depot
02:46:00 <Samu> Depósito de Comboios de {TOWN}
02:46:08 <glx> 1.0.5 is not trunk
02:46:15 <glx> it works in trunk
02:46:24 <Samu> ok, :)
02:46:36 <Samu> last change was 7 months ago though
02:46:50 *** fjb is now known as Guest425
02:46:52 *** fjb has joined #openttd
02:47:05 <glx> yes after 1.0.0 release
02:51:11 <Samu> what about hangars?
02:51:27 <Samu> oops, nevermind
02:52:13 *** bryjen has joined #openttd
02:53:42 *** Guest425 has quit IRC
02:57:43 <Samu> hey
02:57:54 <Samu> on the scenario editor
02:58:05 <Samu> when I click industry generator
02:58:24 <Samu> I get a window saying, finance new industry
02:58:40 <Samu> but I'm editing a scenario, not playing
02:58:49 <Samu> can't find that string
02:59:38 <Samu> can't edit it, or it will change on both, I think
02:59:47 <Samu> editing and playing
02:59:56 <glx> STR_FUND_INDUSTRY_CAPTION
03:00:10 <Samu> ah, it's that one
03:00:14 <Samu> thx
03:00:39 <Samu> no, that's not what I mean
03:00:58 <Samu> fund new industry is for when playing
03:01:04 <glx> and scenario
03:01:10 <glx> it's the same window
03:01:20 <Samu> ah, it should be changed
03:01:29 <Samu> cause I'm not 'paying'
03:01:45 <Samu> there's no money
03:01:54 <glx> not important :)
03:05:36 <Samu> i think it is
03:05:38 <Samu> but ok
03:05:57 <Samu> gotta go
03:06:09 <Samu> there's many erroneous tooltips in scenario editor
03:06:23 <Samu> tomorrow i'll fix them
03:06:25 <Samu> bye
03:07:43 *** Samu has quit IRC
03:20:16 *** glx has quit IRC
03:39:50 *** supermop has quit IRC
04:14:00 *** lllugo has quit IRC
04:21:45 *** lasershock has quit IRC
04:25:56 *** Pulec has joined #openttd
04:36:45 *** supermop has joined #openttd
04:41:21 <supermop> hello
04:46:48 *** lasershock has joined #openttd
04:50:14 *** Eddi|nichZuHause has quit IRC
05:10:15 *** supermop has quit IRC
05:36:32 *** ecke has quit IRC
05:56:03 *** Eddi|zuHause has quit IRC
05:56:23 *** Eddi|zuHause has joined #openttd
06:10:57 *** green-devil has joined #openttd
06:55:14 *** andythenorth has joined #openttd
07:05:01 *** tokai has quit IRC
07:06:52 *** Zuu has joined #openttd
07:07:56 *** tokai has joined #openttd
07:07:57 *** ChanServ sets mode: +v tokai
07:12:05 *** Cybertinus has joined #openttd
07:15:08 *** Prof_Frink has quit IRC
07:31:22 *** andythenorth has quit IRC
07:37:21 *** Kurimus has joined #openttd
07:42:53 *** norbert79 has joined #openttd
07:43:25 *** norbert79 is now known as Guest443
07:53:56 *** Zuu has quit IRC
07:54:12 *** dfox has joined #openttd
08:02:26 *** X-2 has quit IRC
08:04:04 *** Arie- has joined #openttd
08:04:09 *** andythenorth has joined #openttd
08:08:08 *** robotboy has quit IRC
08:11:39 <Terkhen> good morning
08:13:07 *** pugi has joined #openttd
08:15:03 *** nicfer has quit IRC
08:16:27 *** nicfer has joined #openttd
08:17:46 *** bryjen has quit IRC
08:18:43 *** andythenorth has quit IRC
08:18:59 *** fonsinchen has joined #openttd
08:33:36 <avdg> good morning
08:40:42 *** Progman has joined #openttd
08:47:11 *** JVassie has joined #openttd
08:47:57 *** andythenorth has joined #openttd
08:49:43 *** Biolunar has joined #openttd
08:54:20 *** nicfer has quit IRC
08:54:23 <planetmaker> hello
08:57:07 *** nicfer has joined #openttd
08:59:36 <avdg> hey
08:59:52 *** fonsinchen has quit IRC
09:31:45 *** andythenorth has quit IRC
09:57:32 *** xiong has joined #openttd
10:08:18 <fjb> Moin
10:09:34 <Rubidium> moi
10:22:02 *** V453000 is now known as Guest451
10:25:24 *** Guest451 is now known as V453000
10:28:13 *** ^Spike^ is now known as ^ekipS^
10:28:17 *** ^ekipS^ is now known as ^Spike^
10:29:18 *** ^Spike^ is now known as mynewnick
10:29:24 *** mynewnick is now known as ^Spike^
10:29:37 *** V453000 is now known as WTF
10:29:43 *** WTF is now known as FTW
10:29:55 *** FTW is now known as V453000
10:32:38 *** V453000 is now known as TARD
10:33:52 *** TARD is now known as V453000_IRC
10:34:06 *** V453000_IRC is now known as V453000
10:36:47 *** V453000 is now known as TARDRETARDRETARDRETARDRETARDRE
10:37:08 *** TARDRETARDRETARDRETARDRETARDRE is now known as V453000
10:38:19 <Arie-> :/
10:43:15 *** andythenorth has joined #openttd
10:44:41 *** nicfer has quit IRC
10:48:14 *** pugi has quit IRC
10:52:27 *** andythenorth has left #openttd
11:05:22 *** ecke has joined #openttd
11:07:48 *** Fuco has joined #openttd
11:09:56 *** Thror has joined #openttd
11:10:17 <Thror> hi
11:13:48 *** theholyduck has joined #openttd
11:32:18 <George> Hi
11:33:36 <George> Does anybody know, is the layout already defined and can be checked or not while CB14B and 14C (Decide input and output cargo types)
11:34:59 *** Tennel has joined #openttd
11:37:15 <Rubidium> George: the type is already known; it's actually half way through constructing the industry, i.e. all industry variables will work but the industry tiles haven't been placed yet
11:37:16 <xiong> Hi, guys.
11:39:14 <xiong> Some trouble with building dense bus feeder lines of ~50 vehicles per town. Seems that I can't avoid serious jams -- by "serious", I mean ones that don't clear eventually on their own.
11:41:25 <xiong> I've tried building more stops per station, one-way roads, and juggling locations of stops and depots. All efforts seem to fail on a single cause: Whatever I do, one specific route from A to B is always "best", according to pathfinder (YAPF). It's deterministic and doesn't take into account traffic on the road ahead.
11:43:27 <George> Rubidium: Does it mean that industry registers are already created be read/written?
11:43:30 <xiong> So, I might provide 3 equally good routes from A to B but all traffic going that way will choose only one of them. Unless I'm extremely fascist about things, some other C to D traffic will also find a preferred route, which will intersect the A-B preferred route at some point.
11:44:07 <Rubidium> yup
11:44:16 <Rubidium> or at least should be
11:44:30 <xiong> What can be done? I've searched heavily for discussions of road vehicle networks, routing, etc. Nobody seems to have solved this.
11:44:40 <Rubidium> in OpenTTD's implementation
11:45:06 *** Tennel has quit IRC
11:48:52 <planetmaker> use stations as waypoints
11:49:00 <planetmaker> and go via orders
11:49:11 <planetmaker> and use only so many vehicles as the road network supports
11:50:13 <xiong> planetmaker, I've been thinking about ordering with waypoints. I imagine I can untangle things eventually if, essentially, I bypass the pathfinder and specify routing for each vehicle.
11:50:59 <xiong> "How many vehicles the network supports" is kinda vague. I have plenty of open road; the vehicles just don't want to use it.
11:52:06 *** KenjiE20 has joined #openttd
11:52:11 <xiong> They all want the "best" road, which then, obviously, becomes the worst road. They just don't see that. I read a forum discussion about pathfinder inspection of traffic. Apparently, there isn't any.
11:53:07 <George> Rubidium: Do tileas location checks are done?
11:53:47 <George> I mean what CBs already happened before CB14B & CB14C
11:54:09 <xiong> The critical comment, seems to me, was that you might look ahead at a tile and see it was occupied by a vehicle; but you couldn't tell which way it was going. This seems to me to be a straw man. Traffic on a road should be a discouragement to getting on that road, regardless of direction.
11:56:35 <xiong> I don't see a Requested Feature on this, only that forum post. Is there a moratorium on pathfinder improvement? Should I write this up, perhaps with a use case savegame? Is this a dead issue?
11:58:10 <xiong> BTW, I've turned off road vehicle queuing; 'off' seems to help a lot.
12:07:24 *** robotx has joined #openttd
12:20:03 *** Chillosophy has joined #openttd
12:20:48 <xiong> Does that mean your philosophy is to "chill"?
12:37:48 *** robotboy has joined #openttd
12:46:24 *** rhaeder has joined #openttd
12:52:26 <Eddi|zuHause> i could say something, but that wouldn't really help his monologue :p
13:06:20 <George> Rubidium: what CBs do already happened before CB14B & CB14C?
13:06:34 *** Wolf01 has joined #openttd
13:07:28 <Wolf01> hello
13:09:14 *** __ln___ has quit IRC
13:09:26 *** __ln__ has joined #openttd
13:09:28 <Yexo> xiong: I think (never tested it) that checking for traffic on the complete route will cause serious slowdowns
13:09:51 <Yexo> of course if you manage to write an implementation that is not a lot slower than yapf while improving the situation that would be very welcome
13:10:11 <xiong> Yexo, That's a consideration. Hundreds of vehicles, testing at each junction the state of the road ahead...
13:10:46 <xiong> Yexo, Did you get the penntowns files?
13:11:00 <Yexo> no, I didn't
13:11:08 <planetmaker> http://hg.openttd.org/openttd/trunk.hg/file/64774bc8f976/src/industry_cmd.cpp#l1548 <-- George
13:11:16 <Yexo> please mail them or send them via pm on tt-forums
13:12:26 *** Br33z4hSlut5 has quit IRC
13:13:19 <xiong> Yexo, Is @openttd.org no good?
13:13:51 <Yexo> yexo@openttd.org is the correct address
13:14:18 <planetmaker> I think Fred had the same problem with those kind of e-mails
13:14:41 <xiong> I'll try again.
13:15:15 <xiong> Sent.
13:16:11 *** lugo has joined #openttd
13:16:53 <xiong> Oh, I'm not quite correct that YAPF is fully deterministic. There is some sort of randomization or some dynamic weighting; I'm not sure what. But the tendency is strong for road vehicles to pick a "best" route, regardless of traffic ahead.
13:18:10 <xiong> Actually looking ahead all the way to dest would be not only time-intensive; it would be unrealistic. If random numbers were cheaper, I'd say just to introduce a certain amount.
13:18:53 <Terkhen> xiong: http://www.tt-forums.net/viewtopic.php?f=33&t=45040
13:23:12 <xiong> Terkhen, Interesting. Don't know why searches didn't turn that up for me. Perhaps it's just the high volume of forum posts in general. So, it looks good -- what happened? That last version looks to have been done in 2007.
13:23:25 <Terkhen> I don't know
13:23:36 <Terkhen> Roujin does not seem very active lately
13:24:12 <xiong> Perhaps I should Be Bold and stick it in Requested Features -- as 99% done. Just needs to be merged into trunk.
13:25:24 <Yexo> are you talking about the wiki page?
13:25:31 <Yexo> stick in there what you want, but it's mostly ignored
13:27:00 <xiong> I am talking about the wiki page. If it's mostly ignored, then what?
13:28:07 <Terkhen> the usual path is to code, mantain and update the patch, take into account comments and reviews and post it to the bug tracker
13:29:25 <xiong> I don't see much in the way of negative comments in that thread.
13:30:34 <Yexo> it looks like that topic attracted some spammers and was mostly ignored (except by terkhen)
13:31:33 <Terkhen> either I lost interest or I was not able to update the patch easily anymore
13:32:00 <Terkhen> yeah, my memory is as bad as that
13:34:45 <Terkhen> hmmm... I don't know if it is a good(TM) solution either; my knowledge of pathfinder is very sketchy
13:35:14 *** Chruker has joined #openttd
13:36:42 *** glx has joined #openttd
13:36:42 *** ChanServ sets mode: +v glx
13:36:43 <Yexo> xiong: at the tiem you sent a mail I also send a mail to myself from another account. My own mail arrive 10 minutes later but I still haven't received your email
13:36:44 <xiong> Well, Terkhen, it appears you did well enough. That's certainly off my orbit.
13:37:44 <xiong> Yexo, I don't have a bounce.
13:38:04 <Yexo> I'll let you know when (if) I receive it
13:38:11 <xiong> Is there some sort of spamtrap built into that mail server?
13:38:23 <xiong> Perhaps it doesn't like my origin.
13:38:30 <Yexo> could be
13:39:53 <planetmaker> it has actually quite a good one
13:40:34 <xiong> Yexo, Resent from an entirely different account and server.
13:40:49 <xiong> If you get one and not the other, please do let me know.
13:40:54 <Yexo> ok
13:42:17 <CIA-1> OpenTTD: smatz * r21318 /trunk/src/network/network_content.cpp: -Fix: parameters to ShowErrorMessage() were swapped when content download failed
13:45:09 <CIA-1> OpenTTD: smatz * r21319 /trunk/src/network/network_content.cpp: -Fix: crash when creating file download by the content download system failed
13:45:16 <SmatZ> what a sensible commit message :x
13:45:37 <planetmaker> :-)
13:46:18 <planetmaker> what type of wagon transports cement?
13:47:58 <Wolf01> tankers usually
13:48:44 *** robotboy has quit IRC
13:49:55 *** Thror has quit IRC
13:51:19 <Yexo> xiong: received mail from email at mochamail
13:52:42 <xiong> Yexo, Thanks. Clearly, there's an issue with the other origin. I'm not into sending out spam; so I don't know why.
13:53:18 <Yexo> I never receive the mail, so it must be either something on your end or something on openttd.org
14:03:24 <George> planetmaker: http://hg.openttd.org/openttd/trunk.hg/file/64774bc8f976/src/industry_cmd.cpp#l1548 <-- George --> Does it mean the industry tiles CBs happen later, so that the tile can report: "impossible to build" and the industry would not be built?
14:03:56 <planetmaker> I read it as "industry tile CB happens later", yes
14:04:20 <planetmaker> probably that'd be the result. But I'm very unfamiliar with those code pieces, too
14:05:01 <George> So CB14B&14C do not have any tile related information defined
14:05:54 <planetmaker> having only read through that function: yes
14:12:57 <Yexo> George: no, callback 2F has already been called before, but the tiles haven't actually been built yet
14:20:29 *** nicfer has joined #openttd
14:27:08 <Belugas> hello
14:28:13 *** Dreamxtreme has quit IRC
14:28:14 *** goblin has joined #openttd
14:28:19 *** JVassie_ has joined #openttd
14:28:35 *** Dreamxtreme has joined #openttd
14:30:09 *** theholyduck has quit IRC
14:30:38 *** KingJ has quit IRC
14:34:20 *** dfox has quit IRC
14:34:22 *** KingJ has joined #openttd
14:35:12 *** JVassie has quit IRC
14:38:35 <xiong> http://www.tt-forums.net/viewtopic.php?f=33&t=45040&p=915145#p915145
14:44:12 <lugo> tl;dr ;)
14:51:38 <glevans2> http://glevans2.pastebin.com/2ZGpjubi <-- did I miss something...?
14:53:36 <Terkhen> glevans2: what OS are you using?
14:53:47 <glevans2> debian
14:53:50 <Rubidium> I guess some Unix, but not Mac OS X
14:53:58 <Rubidium> without fontconfig-dev
14:55:09 <Rubidium> oh, and you miss r21230
14:55:13 <CIA-1> OpenTTD: rubidium * r21320 /trunk/src/fontcache.cpp: -Fix (r21298): somehow a semicolon got lost
14:55:16 <Rubidium> uhm r21320
14:56:54 <glevans2> ahh, so I need to added fontconfig-dev... is that a recent dependency addition?
14:58:09 *** KingJ has quit IRC
14:59:02 <Rubidium> glevans2: if 4 years and 8 days is recent, then yet it's a recent new (optional) dependency
14:59:18 <Rubidium> otherwise, updating to svn HEAD should fix the compilation problem
14:59:57 *** rhaeder has quit IRC
15:01:12 <glevans2> I only asked because it's not mentioned here --> http://wiki.openttd.org/Compiling_on_Linux#Getting_the_source
15:03:30 <Rubidium> then please update that page
15:03:44 <glevans2> ok
15:04:12 *** KingJ has joined #openttd
15:20:24 <CIA-1> OpenTTD: glx * r21321 /trunk/src/strings.cpp: -Fix (r21298): use the correct font sizes when checking for missing glyphs
15:21:02 *** dfox has joined #openttd
15:22:12 *** Thror has joined #openttd
15:22:15 <Thror> hi
15:24:00 <glx> hi
15:24:58 *** fonsinchen has joined #openttd
15:25:36 *** supermop has joined #openttd
15:25:51 <supermop> hello
15:26:05 <planetmaker> hi
15:26:44 <supermop> hows it going?
15:26:45 <Rubidium> openjdk-6/6b18-1.8.3-1 <- I would start hating java just because of the version number of Debian's package
15:30:54 <FauxFaux> I hate C and C++ because the Sun C compiler is terrible, too.
15:32:24 *** theholyduck has joined #openttd
15:35:03 <Wolf01> FauxFaux, there's no more Sun, only darkness
15:35:29 <fjb> So true.
15:37:37 * fjb hates nonstandard implementations of snprintf().
15:38:59 <Rubidium> fjb: you mean those that don't zero terminate?
15:40:10 <Rubidium> fjb: or the libc4 version of snprintf?
15:40:18 <fjb> No, those that return the number of characters they actually printed instead of the number of characters they would have printed if there would have been no overrun.
15:40:50 <planetmaker> :-D
15:40:51 <fjb> That is libc4?
15:41:13 <Terkhen> :)
15:41:15 <Rubidium> fjb: no, libc4 just passed it on to sprintf (totally ignoring the limit)
15:41:38 <Rubidium> so Linux's snprintf is nonstandard?
15:43:37 <Rubidium> hmm, no... the documentation is just a bit sketchy on that
15:43:39 *** Fast2 has joined #openttd
15:46:35 <fjb> No, it is an older version of eCos. They fixed it in a new version. But I'm stuck at the older one.
15:46:58 <fjb> Don't know about Linux.
15:49:57 <fjb> Bad thing is you can not detect if it is truncating the output.
15:50:20 <Rubidium> just assume ret == size - 1 => truncation happened :)
15:52:24 <fjb> That is my work around. But what if the not truncated size was size -1?
15:53:15 <SmatZ> then you will get a false negative
15:53:27 <SmatZ> does that case matter much?
15:53:42 <SmatZ> you should be able to detect it by running a program
15:53:54 <SmatZ> in cofigure time if host==target...
15:54:05 <SmatZ> or just use your own replacement that works in all cases :)
15:54:19 <SmatZ> and #define snprintf
15:54:36 <SmatZ> and #define snprintf mysnprintf
15:55:40 <fjb> Speed matters and I have to convert everything to ascii. I an own snprintf is no option at the moment. That false negative case will not happen that often, but it may have an impact if it happens.
15:56:23 <fjb> And I'm still not convinced that using an ascii protocol is a good idea when speed matters.
15:58:16 <fjb> But the most annoying thing is that I spent some time to find why my code was not working.
16:00:09 <SmatZ> if happens the corner case, allocate 1 byte longer buffer and try to snprintf to it
16:00:17 <SmatZ> then compare returned values
16:00:19 <CIA-1> OpenTTD: rubidium * r21322 /trunk/src/network/core/tcp_game.cpp: -Fix [FS#4268] (r20924): packets were leaked
16:00:20 <SmatZ> or something like that :)
16:00:40 *** fonsinchen has quit IRC
16:00:42 <SmatZ> if you can't do that in compile-time
16:01:10 <fjb> No space for that buffer and no time to do the snprintf twice every time.
16:01:47 <fjb> The data is run time generated.
16:02:15 <Rubidium> what kind of data? Simple strings, or are more complex string formats being used?
16:02:46 <fjb> Depends, integers are the easy case, but also floats.
16:03:25 <fjb> Converting floats to ascii is really no fun.
16:03:34 *** KouDy has joined #openttd
16:03:51 *** Doorslammer has joined #openttd
16:04:17 <Rubidium> and copying snprintf from the newer library and using that? Or isn't there enough space on the device at all?
16:04:56 <SmatZ> snprintf(buf, "%f", f); is always slower than conver_float_to_ascii(buf, f);
16:05:32 <SmatZ> *I forgot one parameter...
16:05:55 <fjb> Copying the newer version of the library may be an option. I have to investigate.
16:06:34 <fjb> Hm, have to look if eCos has convert_float_to_ascii().
16:07:31 <fjb> No, it doesn't.
16:09:29 <SmatZ> you are a smart guy, you will find the best solution for sure :)
16:10:31 <V453000> beer!
16:10:36 <SmatZ> beer!
16:11:20 * Rubidium hides
16:12:41 <supermop> beer is good
16:13:10 <SmatZ> :)
16:13:26 <supermop> no beer here today though
16:13:33 <supermop> but there is pie instead
16:13:41 <SmatZ> I would prefer the beer
16:13:45 <V453000> no pie matches beer
16:13:48 <SmatZ> :P
16:13:49 <Rubidium> http://www.beesies.nl/images/beer.jpg <- I beg to differ; I hide from that beer
16:13:56 <SmatZ> :D
16:14:00 <V453000> omg :D
16:14:09 <supermop> beer + pie
16:14:17 <V453000> piebear?
16:14:19 <SmatZ> ugh :)
16:14:55 <supermop> oatmeal stout +apple pie + vanilla icecream
16:15:10 <SmatZ> +beer?
16:15:11 <V453000> you forgot the main thing
16:15:15 <Terkhen> :D
16:17:00 *** Arie- has quit IRC
16:18:02 <planetmaker> seven beer are also a small meal. And then you didn't even drink anything!
16:18:41 <SmatZ> :)
16:20:03 <V453000> wise man has spoken
16:20:28 <SmatZ> :-)
16:20:32 <planetmaker> :-P
16:25:10 <b_jonas> I don't understand. the "http://www.openttd.org/en/" main page has a thumbnail labelled "Latest User Screenshot". but it links to a page of screenshot thumbnails and that image isn't among them.
16:27:08 <Rubidium> it isn't even the latest...
16:27:20 <Rubidium> ... or a 1.x screenshot
16:27:22 <planetmaker> It's just an image button :-)
16:29:51 <SmatZ> people can submit screenshot to that page?
16:30:16 <SmatZ> drop a mail to info@openttd...
16:30:18 <SmatZ> ok
16:30:19 <SmatZ> :)
16:32:00 *** green-devil has quit IRC
16:34:04 <SmatZ> green-devil@seen
16:34:10 <SmatZ> @seen green-devil
16:34:10 <DorpsGek> SmatZ: I have not seen green-devil.
16:35:05 *** Vaca has joined #openttd
16:39:07 *** Lakie has joined #openttd
16:39:31 * Rubidium wonders by Liberci sounds familiar
16:39:59 <Vaca> hi everyone, i have just finish compiling ottd 1.0.5 for Mac OSX 10.6.X intel - because since version 0.7 no new version is downloadable. I also made an executable app for OSX. Does someone want it to to put it on the sites?
16:41:00 <Rubidium> putting your binary on our site (i.e. *.openttd.org) implies that Mac OS X is supported, which isn't the case
16:41:06 <planetmaker> There are various threads with those
16:41:23 <planetmaker> Compiling is also not the problem. Maintaining
16:42:48 <Vaca> ok, thanks and bye
16:43:09 *** Vaca has left #openttd
16:44:16 <planetmaker> that was... quick
16:45:06 <V453000> czech people cant waste time they could spend by drinking beer
16:45:19 <planetmaker> :-D
16:45:19 <V453000> >p
16:45:21 <V453000> :p
16:45:26 <SmatZ> :D
16:46:09 <Rubidium> oh, I know Liberci because of the crappy route to Germany from there
16:46:16 <V453000> :D
16:46:19 *** pugi has joined #openttd
16:46:21 <V453000> yes, thats pretty sucky
16:46:22 <SmatZ> :D
16:46:44 <V453000> thats where I live btw :P
16:48:23 <Rubidium> although I reckon the route became much better recently
16:49:32 <Rubidium> given they joined the EU and as such (I assume) the Poland -> Germany border control isn't quite there anymore
16:52:26 <George> How to add a GRF in the existing game/scenario?
16:54:02 <Ammler> George: there is a new developer setting in the cfg for it
16:54:44 <George> thank you
17:01:48 <planetmaker> you qualify to use the newgrf_developer_tools ;-)
17:02:24 <planetmaker> which also, btw, gives you an ingame sprite alignment tool as well as a variable and callback debug window
17:04:00 *** HerzogDeXtEr has joined #openttd
17:10:05 <George> CB28 var80 W Coordinates of the selected position
17:10:15 <George> What would be on large maps?
17:11:08 *** HerzogDeXtEr1 has quit IRC
17:11:54 <Rubidium> OpenTTD probably happily returns a dword
17:13:38 <George> so checking second byte would be also x coordinate instead of y?
17:14:18 <Rubidium> that'll depend on the map
17:14:42 <Rubidium> for a 64x64 map only the first 6 bits will be x
17:14:52 <Rubidium> for a 2048x2048 map the first 11 bits will be x
17:15:03 <George> so, 2 checks required in newgrf? map size and position size?
17:15:33 *** Melody_Tunes has joined #openttd
17:16:13 <Rubidium> I guess so
17:16:37 <George> :(
17:16:43 <Rubidium> I wonder where you'd use the position for anyways
17:16:53 <George> for farms
17:17:05 <Rubidium> in what way?
17:17:22 <George> To prevent them appear near the border
17:17:43 <Rubidium> what's the problem with them being near the border?
17:17:50 <SmatZ> case 0x80: return industry->location.tile;
17:18:03 <George> In TTD there was a bug feature, that fields were plant on the other side of the map
17:18:17 <Rubidium> oh, so it's only needed for TTDPatch
17:18:35 <Rubidium> then just jump over the check for OpenTTD :)
17:18:43 <George> In OTTD the field would not cross the border?
17:18:52 <glx> why would it ?
17:18:55 <Rubidium> no
17:19:07 <George> ok
17:19:42 <Rubidium> and if they (still) do, then that's a bug in OpenTTD
17:19:52 <George> what is the best way to check the distance to the map border? (In CB 28)
17:21:33 <George> Also for layout check. If I check the tile for FF (empty tile) would it be success if behind the boder or not?
17:21:38 <Rubidium> getbyte 1: 00..20 goto near border, E0..FF goto near border, default: check byte 2
17:22:42 <Rubidium> that's basically how varact2 works, right? Get some data and compare it to some range to jump to another (var)action2?
17:22:47 <George> and what would be in case 2048x2048? I would get not y coordinate there
17:23:07 <George> and for 64x64 it is also wrong to test e0-ff?
17:23:11 <Rubidium> but you don't need it in OpenTTD as the farms don't wrap around
17:24:28 <George> Currently I'm not thinking about the reason for effect, I'm thinkig for a code :)
17:24:51 *** bryjen has joined #openttd
17:24:59 <George> so, what about layout check FF
17:26:15 <George> industry layouts prop 0A
17:26:41 *** Arie- has joined #openttd
17:27:09 <Rubidium> that ignores borders IIRC
17:30:52 <supermop> pie is almost ready
17:31:13 * Rubidium ponders what kind of dinner to make
17:31:21 *** Samu has joined #openttd
17:32:00 <George> ignores means the tile outside the border is always free or always used?
17:32:52 <Rubidium> I think free as you can build oil rigs quite close to the border
17:33:17 <George> how to prevent it in a best way?
17:33:31 <George> (coding fishing grounds)
17:33:49 <George> I want it to be at least 10 tiles from border
17:33:57 <planetmaker> uh?!
17:34:00 <planetmaker> Why that?
17:34:23 <planetmaker> That makes it difficult to place them in a coastal setup
17:34:39 <George> ?
17:34:52 <George> planetmaker: what coastal?
17:35:00 <supermop> ok time to cut up turkey
17:35:23 <planetmaker> xxxxx|~~F~
17:35:33 <planetmaker> ^ where each character is like 3 tiles
17:35:46 <planetmaker> and x is land, ~ is water and F is your industry
17:36:09 <planetmaker> well. I generally see no need to forbid fishing grounds near-map-border placement
17:36:09 * Rubidium wonders why Samu hasn't modified strings that actually need to use the gender of its substring
17:36:23 <George> coast can be on the border
17:36:27 <planetmaker> But I guess I'm missing out on something there
17:37:09 <planetmaker> you want it 10 tiles from land or from border?
17:37:46 <George> I did it 10 tiles from land already. Now I need 10 tiles from border
17:38:07 <George> 8B W Distance to the closest water tile if property 1A bit 2 is clear (built on land); distance to the closest empty dry land tile if property 1A bit 2 is clear (built on water)
17:38:08 <planetmaker> hm, still: why?
17:38:23 <George> Because it looks ugly
17:38:39 <planetmaker> alright...
17:38:50 <George> it would be OK if there is water all around ...
17:38:51 <planetmaker> they'd never show up on my favourite map style then, I guess
17:39:01 <George> there was a GRF in TTDP for that
17:39:18 <planetmaker> uhm... outside the map there's *nothing*.
17:39:22 <planetmaker> Neither land nor water
17:39:32 <George> But it looked as water
17:39:49 <planetmaker> then replace the black tile by a water tile.
17:39:59 <George> then an idustry near the border looked like in the open water
17:40:01 <planetmaker> Some early pre-base set OpenGFX newgrf implemented that
17:40:37 <George> Unfortunately it would look bad, because in OTTD the boder can be high land
17:41:02 <planetmaker> but then it'd fail due to the check of land nearby already.
17:41:17 <planetmaker> And I don't see where the border is land and the land check would say 'water'.
17:41:50 *** frosch123 has joined #openttd
17:41:59 <Yexo> planetmaker: due to the possibility that the border is land you can't replace the black tile with water, as that would glitch
17:42:18 <George> Yexo: yes
17:42:26 <Yexo> as such, tiles around are black, not water, so it's impossible to create the illusion of the fishing grounds being at see while they're actually at the border of the map
17:42:35 <Yexo> s/see/sea/
17:42:47 <George> Yexo: correct!
17:43:04 <planetmaker> that's what you mean :-)
17:43:10 <planetmaker> yes
17:43:21 <George> Yes, sorry for my bad english
17:43:26 <planetmaker> evil Yexo-feature breaking that :-P
17:43:31 <frosch123> @kban melody_tunes spam
17:43:31 *** DorpsGek sets mode: +b *!He_boy@188.247.64.168
17:43:32 *** Melody_Tunes was kicked by DorpsGek (spam)
17:43:36 <Yexo> I see no easier way other than checking the map size and using industry var 80
17:44:21 <George> Yexo: May be we can have one more var for CB 28 - distance to the boder?
17:45:52 <Yexo> that is possible, however I think it's not needed that often and it can already be computed in nfo
17:46:41 <George> it is required for in sea industries. That is not much, but I hope it is also not hard to implement?
17:46:56 <planetmaker> http://devs.openttd.org/~planetmaker/patches/watermap.png <-- consider also such maps, George :-)
17:47:34 <Yexo> planetmaker: I don't see a problem for such maps, although 10 tiles is maybe a bit much
17:47:41 <planetmaker> the point
17:47:50 <George> fishing grounds on the top looks located fine
17:47:51 <Yexo> but if the minimum distance from land is also 10 tiles there is not much change
17:48:00 <planetmaker> I didn't find any location which had 20x20 free water
17:48:30 <George> it is not 20x20. It is D=20
17:48:30 <planetmaker> that's 5 tiles from land
17:48:43 <planetmaker> 10 tiles = 20x20 free
17:48:59 <planetmaker> with industry in the middle
17:49:07 <planetmaker> by my understanding
17:49:35 <planetmaker> 5 tiles would work nicely here, though
17:50:22 <George> Doesn't it Euclidean distance? So it is D=20, not 20x20
17:50:59 <planetmaker> what is D=20?
17:51:05 *** a1270 has quit IRC
17:51:19 <planetmaker> distance?
17:51:25 <planetmaker> or diameter?
17:51:30 <George> diameter
17:51:59 <planetmaker> My bet is on manhattan distance
17:52:52 <planetmaker> but actually, near the upper ship one has about 30x30 tiles free water :-)
17:53:17 <George> So you would get it :)
17:53:46 *** a1270 has joined #openttd
17:53:49 <planetmaker> possibly yes. Could I build it still everywhere I want in both scenario editor and ingame as player?
17:54:47 *** theholyduck has quit IRC
17:54:49 <George> In editor - yes. As player - no. It is raw material industry. Prospect only
17:54:55 *** theholyduck has joined #openttd
17:55:15 <Samu> hi. what is the string code for ticker news? are they equal to what the newspaper show?
17:55:20 <George> Anyway, exact values are a question for a separate discussion
17:55:25 <planetmaker> it's a setting. I can chose to buy raw industries
17:55:43 <planetmaker> at 10x the cost
17:55:50 *** green-devil has joined #openttd
17:58:07 <George> you would have the same conditions as in game builder while prospecting
17:58:22 <George> Only SE disables restrictions
17:58:29 <George> most restritions
17:58:40 <George> Some staye even in SE
18:00:48 <Samu> where do I see ticker news in the web translator?
18:02:45 <frosch123> Samu: yes, they are the same
18:03:36 *** Alberth has joined #openttd
18:03:37 *** ChanServ sets mode: +o Alberth
18:03:39 <Samu> ah
18:04:54 *** X-2 has joined #openttd
18:08:00 <Samu> {YELLOW}Arrival of first vehicle at player's station
18:08:19 <Samu> own company's station I think
18:09:35 *** Zuu has joined #openttd
18:11:11 <frosch123> afaik no
18:18:01 *** fonsinchen has joined #openttd
18:30:17 *** green-devil has quit IRC
18:31:27 *** MrSieb has quit IRC
18:39:40 *** TheMask96 has quit IRC
18:41:33 *** dfox has quit IRC
18:42:10 *** green-devil has joined #openttd
18:44:03 *** rhaeder has joined #openttd
18:44:07 <Samu> ok
18:44:18 <Samu> trying to add genders now to news messages
18:44:34 <Samu> about 80 messages or so
18:45:27 <Samu> how does it work exactly? I have 5 genders
18:45:56 <CIA-1> OpenTTD: translators * r21323 /trunk/src/lang/ (9 files): (log message trimmed)
18:45:56 <CIA-1> OpenTTD: -Update from WebTranslator v3.0:
18:45:56 <CIA-1> OpenTTD: croatian - 19 changes by VoyagerOne
18:45:56 <CIA-1> OpenTTD: english_US - 212 changes by Rubidium
18:45:56 <CIA-1> OpenTTD: finnish - 19 changes by jpx_
18:45:57 <CIA-1> OpenTTD: french - 16 changes by glx
18:45:57 <CIA-1> OpenTTD: german - 15 changes by planetmaker
18:46:36 *** TheMask96 has joined #openttd
18:48:53 <Samu> ok, I have set genders to industries
18:48:59 <CIA-1> OpenTTD: rubidium * r21324 /trunk/src/lang/croatian.txt: -Fix: load of failures of WT3 to properly validate some strings...
18:49:07 <Samu> now how to i make it work during news messages?
18:53:57 <Rubidium> you use it like {P ..} but... it needs 5 parameters (in the order from the gender setting) instead of 2
18:54:29 <Rubidium> e.g. "{G m f n mp fp} {STRING}"
18:55:13 <Samu> do da de dos das
18:55:33 <Samu> d{G o a e os as} {STRING}
18:55:36 <Samu> like that?
18:55:40 <Rubidium> yes
18:55:52 <Samu> ah,thanks
18:57:01 <Wolf01> lol, I read d{G o a t se}
18:57:25 *** frosch123 has quit IRC
18:57:56 <SmatZ> :D
18:58:49 <Samu> what if I don't want to add any character?
18:58:55 <Rubidium> ""
18:59:10 <Samu> then it becomes 2 spaces
18:59:15 <Samu> how do i remove 1 space
18:59:32 <Rubidium> huh? what becomes 2 spaces?
18:59:45 <Rubidium> example please
19:00:07 <Samu> o a "" os as
19:00:14 <Samu> each one being a word
19:00:44 <Samu> something something gender-goes-here something
19:00:54 <Rubidium> then add the space to the other strings: foo{G " o" " a" "" " os" " as"} bar
19:01:30 <Samu> ok ty
19:03:07 *** green-devil has quit IRC
19:06:23 <Samu> can I set gender to stations?
19:06:25 <Samu> station names?
19:06:49 <Rubidium> yes
19:06:58 <Rubidium> just not the custom station names
19:07:36 <Samu> ok, I better not then
19:07:39 *** rhaeder has quit IRC
19:07:44 <Samu> or not yet
19:08:03 <Rubidium> why?
19:08:11 <Samu> 1 thing at a time
19:08:17 <Samu> or I get everything messed up
19:08:43 <Rubidium> better do it right when you can do it right; after all, you probably can't get the gender of NewGRFs right either (unless you start sending patches to those NewGRF developers)
19:10:25 *** andythenorth has joined #openttd
19:10:30 <andythenorth> evaning
19:10:34 <andythenorth> and bah
19:10:38 <Samu> what does the All string do?
19:10:42 <Samu> All gender
19:11:01 <Rubidium> not set a gender?
19:11:20 <Samu> hmm
19:11:22 <Rubidium> which is basically defaulting to the first gender
19:11:32 <Samu> ah :( that's bad
19:11:47 <Samu> can you switch n to first then?
19:11:53 <Samu> not switch
19:11:53 <Samu> move
19:12:02 <Samu> n m f mp fp
19:12:17 <andythenorth> all I wanted was more beautiful smoke for ships
19:12:24 <andythenorth> what I got was an MB argument :(
19:12:27 <Rubidium> I really hope you haven't added much {G .. .. .. .. ..}s yet
19:12:36 <Samu> haven't added any yet
19:13:11 <andythenorth> Hirundo: I feel I should in some way apologise :P
19:13:27 <Samu> but i have set genders already to industries
19:13:34 <CIA-1> OpenTTD: rubidium * r21325 /trunk/src/lang/portuguese.txt: -Change: the order of Portuguese genders
19:13:45 <Rubidium> Samu: setting genders isn't a problem; those don't depend on the order of genders
19:13:58 <Samu> ok, let me check
19:14:01 <Rubidium> the {G .. .. .. .. ..} does depend on the order of the genders
19:15:34 <Zuu> Out of interest, is gender a plural-thing, or how does you relate it to the variable part of the string?
19:16:03 <Rubidium> Zuu: what do you mean with "variable part"?
19:16:33 <Zuu> Eg. the number or string that is inserted in the middle of a string for example.
19:16:47 <Zuu> Eg. a vehicle number, industry name etc.
19:17:20 <Zuu> eg {STRING}
19:17:25 <Rubidium> it's like plural, but plural is for numbers and gender is for (sub)strings
19:18:20 <Rubidium> but for genders you need to manually set the gender of the (sub)strings whereas for plurals a generic method is used to determine the plural based on the value of the number
19:19:40 <Samu> my problem was uknowing when a string is a town or a industry
19:19:48 <Samu> ty
19:20:16 <Samu> for now towns have no gender
19:20:17 <Zuu> so if a language have genders, there is some additional controls to define the gender of eg. a industry name. Makes me happy Swedish does not have genders :-)
19:20:26 <Rubidium> {INDUSTRY} means it's an industry. Likewise {TOWN} is a town (without a gender)
19:20:45 <Samu> what about subsidies?
19:20:47 <Rubidium> Zuu: yes
19:20:50 <Samu> string string string string
19:21:20 <Alberth> andythenorth: if there is one thing smoking, it's the discussion :p
19:22:01 <andythenorth> grrr
19:22:05 <Samu> subsidy awarded to string! string from string to string will pay 50% more for the next year
19:22:21 <andythenorth> mb is actually really quite rude
19:22:28 <SmatZ> andythenorth: at forums?
19:22:29 <Samu> those strings can be towns or
19:22:33 <Samu> industries
19:22:33 <Hirundo> Because He is always Right
19:22:48 <andythenorth> the "name" thing is incredibly rude, at least in native english
19:23:06 <andythenorth> if the man's going to argue, why doesn't he at least just argue
19:23:31 <Terkhen> arguing would imply that he's at the same level than the person he's arguing with
19:23:51 <Samu> help me
19:23:59 <andythenorth> can we code better smoke instead? Ideally breaking existing newgrf spec :P
19:24:03 <andythenorth> that would be fun
19:24:05 <Samu> when I am awarded a subsidy for transporting passengers from a town to another
19:24:13 <Samu> the string becomes town?
19:24:30 <Samu> what if I am awarded a subsidy transporting coal ?
19:24:41 <Samu> string becomes industry?
19:24:49 <Yexo> Samu: those strings can indeed be either industries or towns
19:24:55 <Samu> ah, ok
19:24:56 <Yexo> or even stations? not sure about that
19:24:57 <SmatZ> it will be replaced by name of industry or town
19:25:18 <Samu> name of industry is gender sensitive?
19:25:31 <SmatZ> I think you can't do anything with that
19:25:40 <Yexo> I think you'd need to use {G 0:1 ....} or something like that
19:25:51 <SmatZ> depends what you want to do :)
19:25:59 <SmatZ> but those are {RAW_STRING}
19:26:08 *** Doorslammer has quit IRC
19:26:12 <Yexo> in that case I don't think it'll work at all
19:26:15 <SmatZ> they are simply printed to buffer as {TOWN} or {INDUSTRY}
19:27:12 <Samu> what do I do now?
19:27:23 <SmatZ> just leave it imperfect :P
19:27:25 <Yexo> ignore genders for the subsidy strings
19:27:59 <Samu> ok
19:36:16 *** perk11 has joined #openttd
19:38:50 <Samu> hmm
19:38:58 <Samu> you have string in nearly all news messages
19:39:22 <Samu> new string under construction near town!
19:40:10 <Samu> new string being planted near town!
19:40:26 <Samu> string announces imminent closure
19:44:08 <Belugas> string annoucing snow is gonna fall
19:45:05 <Samu> so, what do I do?
19:46:25 <Samu> ignore these too?
19:50:27 <Yexo> those strings are the industry type names, those can have genders
19:50:59 <Samu> :)
19:51:16 <Samu> ok, let's hope I don't break something
19:53:45 <planetmaker> [20:44] <Belugas> string annoucing snow is gonna fall <-- I don't need the future tense for that
19:54:30 <andythenorth> play arctic in tribute :P
19:54:38 * andythenorth should add some more snow to FIRS
19:54:44 <andythenorth> no snow here, just fricking cold
19:55:13 *** theholyduck has quit IRC
19:55:27 *** pugi has quit IRC
19:55:30 * andythenorth is sick and bored
19:55:34 <andythenorth> and grumpy
19:56:04 <Belugas> friday should be the day of the big first fall of the dardned white stuff
19:56:45 * Belugas cuddles andythenorth nearby the fireplace, with hot chocolate and rum
19:56:55 <andythenorth> sounds a bit wrong
19:57:03 <Belugas> FEELS
19:57:05 <Belugas> not sound...
19:57:22 <andythenorth> Belugas: these are near you, shall I put one in HEQS? http://foremost.ca/index_nodwell.php
19:57:23 <Belugas> mmh... right... fireplace makes noise..
19:57:41 <Samu> i have a question
19:57:51 <Samu> {BIGFONT}{BLACK}Nov{G o o a os as} {STRING} est{G á á á ão ão} a ser plantad{G o o a os as} em {TOWN}!
19:58:02 <Samu> new forest is being planted near town
19:58:05 <supermop> feels right to me
19:58:10 <Belugas> so i can crush my colleagues! YES SIR ANDY!
19:58:33 <Samu> how do I fix the G thing
19:58:49 <Belugas> i'll tune it to A
19:58:53 <Samu> they're all related to the first gender
19:59:00 <Samu> first string
19:59:00 <Belugas> oh... thing.. not string
19:59:21 <Yexo> {G 0:1 o o a os as} I think
19:59:36 <Yexo> it should only be needed for the first G
20:00:03 <Yexo> if it works for the first one but not for the second and third, it's only needed for the second and third :p
20:00:21 <Samu> nova floresta está a ser plantada em town
20:00:39 <Samu> novos cogumelos estão a ser plantados em town
20:00:51 <Samu> novo singal está a ser plantado em town
20:01:04 <glx> indeed the first G needs an extra arg
20:01:18 <glx> because it's before the {STRING}
20:01:35 <Yexo> I wasn't sure whether it referenced the string before or after
20:01:48 <Samu> town gender doesn't matter
20:02:07 <Samu> gender is all dependent on the {string}
20:02:15 * andythenorth might have to somewhat cheat the speed of a Nodwell
20:02:20 <andythenorth> 9mph is....slow
20:02:44 <supermop> well
20:02:53 <Yexo> {{BIGFONT}BLACK}Nov{G 0 o o a os as} {STRING} est{G á á á ão ão} a ser plantad{G o o a os as} em {TOWN}! <- that should work
20:03:14 <Samu> ty
20:03:49 <supermop> with roadtypes 9mph could be usefull
20:04:04 <Zuu> andythenorth: A bus for HEQs? http://foremost.ca/index_tbus.php
20:04:07 <supermop> some indeterminate time in the future
20:04:36 <andythenorth> Zuu: I was thinking the same
20:04:39 <andythenorth> I've been in that bus
20:04:41 <glx> Yexo: no ;)
20:04:46 *** pugi has joined #openttd
20:05:20 <Yexo> more mistakes besides the missing { before BLACK ?
20:05:39 <glx> {{BIGFONT}BLACK} ;)
20:06:01 <glx> it's not missing it's before {BIGFONT}
20:06:18 <Yexo> oh, I see
20:06:25 <glx> anyway I just checked french translation and no 0 there
20:07:32 <Zuu> btw biking with a dynamo (electricity generator powered lamp) in the snow makes biking in snow even more interesting. Since the snow gives lower grip for the dynamo I need to bike farily fast to get light which makes a challenge with snowy bike paths. :-)
20:07:49 <Yexo> why is french using {NBSP} before the ! in some strings but not in others?
20:08:00 * andythenorth biked in the snow last year
20:08:02 <andythenorth> and fell off
20:08:11 <Yexo> STR_NEWS_INDUSTRY_PLANTED vs STR_NEWS_COMPANY_LAUNCH_DESCRIPTION (both end with {TOWN}! )
20:08:12 <Zuu> ouch
20:08:13 <SmatZ> :P
20:08:25 <glx> things to fix then :)
20:09:08 <Samu> hmm a problem again
20:09:56 <Zuu> I tried to kick my front wheel to move a part out of place so it doesn't cause snow comming up all the time, but accidently got my foot into the wheel so it stoped. Fortunately I wasn't biking very fast. :-)
20:10:09 <Samu> {BIGFONT}{BLACK}{G 0 "" O A Os As} {STRING} anunci{G a a a am am} fecho iminente!
20:10:15 <Samu> is this gonna work?
20:10:28 <Samu> there will be a space
20:10:38 <Samu> at the start if the industry has no gender defined
20:10:46 <glx> there will be nothing
20:10:52 <glx> "" means empty
20:11:14 <Samu> yes, it must be empty
20:11:23 <Samu> but not with a space after that
20:11:33 <Samu> it's the elimination of the first word
20:11:37 <glx> there will be a space before {STRING}
20:11:49 <Samu> how do I remove that
20:11:50 <Yexo> change it to {G 0 "" "O " "A " "Os " "As "}{STRING}
20:11:56 <Samu> ah
20:11:59 <Samu> I see
20:24:10 *** bryjen has quit IRC
20:24:16 <glx> Yexo: I found 5 missing {NBSP} ;)
20:25:08 <Yexo> so it was pure conindicence I stumbled over one while looking at a single translation in that language file
20:28:48 *** KritiK has joined #openttd
20:45:19 <Zuu> Yexo: Now we got an "IdleMore" on bananas :-)
20:47:06 <Zuu> And if ever someone wants some new features send their patches to me so we don't get a IdleLess as well :-p
20:47:06 <Yexo> Zuu: did you write the shortname in caps like most shortnames?
20:47:33 <Zuu> Yexo: no, because Idle had it in lowercase and I really didn't think.
20:47:46 <Zuu> I can change it if it matters.
20:48:02 <Yexo> it doesn't matter, as long as they are unique
20:48:18 <Yexo> and idmo!=IDMO
20:48:27 <Zuu> ok
20:48:42 <Yexo> what was the shortname for Idle ?
20:48:46 <Yexo> just "idle" ?
20:48:51 <Zuu> "idle" IIRC
20:49:23 <Zuu> hmm, no
20:49:27 <Zuu> it was "Idle"
20:49:32 <Zuu> With an uppercase I
20:49:59 <Zuu> So now you got all kind of cases :-)
20:50:24 <Zuu> Sorry for the mess
20:50:34 <Yexo> np, doesn't matter really
20:50:50 <Yexo> I'm actually not sure how useful that list is, but it makes it easy to check if a shortname is already used
20:51:14 <Yexo> basically it's there to prevent the current mess with grfids where there are duplicates
20:51:29 <Yexo> but bananas does a good job of that too, so it's not so important anymore
20:51:56 * Alberth pondered adding urls of threads to it a long time ago
20:52:29 <Alberth> ie so it could serve as an index
20:52:40 <Zuu> Yep, I actually rellyed on that I don't recall any AI that would be shorten as idmo and the fact that bananas would reject duplicates so I was a bit lazy and didn't check the list. If I would have checked the list, I would probably have realized that I should have used upper case. :-)
20:53:31 <Zuu> Bananas works farily well as an index as well.
20:58:11 *** fonsinchen has quit IRC
21:04:16 *** DDR has joined #openttd
21:08:31 *** Yexo has quit IRC
21:09:51 *** Yexo has joined #openttd
21:09:51 *** ChanServ sets mode: +o Yexo
21:10:02 *** welshdragon has left #openttd
21:11:19 *** andythenorth has quit IRC
21:11:22 *** fonsinchen has joined #openttd
21:11:56 *** xiong has quit IRC
21:14:23 *** X-2 has quit IRC
21:15:39 *** Alberth has left #openttd
21:21:30 *** Devedse has joined #openttd
21:22:42 * Devedse waves hello to everyone
21:22:57 * Zuu waves back
21:23:05 * Devedse smiles
21:23:06 <SmatZ> hello
21:23:15 *** supermop has quit IRC
21:23:54 <Devedse> pff I need to run setup.exe from a non bootable disk
21:24:05 <planetmaker> hello
21:24:12 *** DDR has quit IRC
21:24:15 *** frosch123 has joined #openttd
21:24:41 <frosch123> evening again :)
21:25:16 <planetmaker> g'evening again, too :-)
21:31:11 *** andythenorth has joined #openttd
21:31:16 * andythenorth wonders how animation works
21:32:11 * andythenorth figures it out
21:32:21 <planetmaker> varaction2 seuqence: check animation frame and branch
21:32:23 * Devedse thinks that andy figured it out fast
21:32:29 <planetmaker> set animation speed via property
21:32:35 * andythenorth read own previous code
21:32:46 <andythenorth> I animated a wind turbine
21:32:50 <planetmaker> :-)
21:32:52 <andythenorth> I forgot about that
21:33:01 <andythenorth> hmm
21:33:03 <planetmaker> hm... Wind turbine...
21:33:07 <planetmaker> Nice New Object :-)
21:33:12 <andythenorth> wind farms - new industry or new object?
21:33:19 <planetmaker> Both :-)
21:33:32 <planetmaker> the question is, though, what the wind farm produces. Wind?
21:33:38 <planetmaker> packed in little boxes?
21:33:42 <andythenorth> planetmaker: there's one in the FIRS repo, do you want to lift it and ship a new object?
21:33:44 <SmatZ> :D
21:33:56 <andythenorth> planetmaker: electricity of course :|
21:34:17 <planetmaker> which you clubed down into stone age and it doesn't dare to come back agaon ;-)
21:34:19 <andythenorth> town control :P
21:34:27 <planetmaker> you killed its older brother, the power plants
21:34:40 <andythenorth> I will restore them if TownControl appears
21:34:49 <planetmaker> FIRS 2.0 ;-)
21:34:54 <andythenorth> indeed
21:35:05 <andythenorth> FITS
21:35:11 <andythenorth> FITS Industry Town Set
21:35:18 * Devedse is trying to push the addition of worm holes into openttd
21:35:20 <planetmaker> lol
21:35:31 <planetmaker> Devedse: they're there for ages...
21:35:44 <Devedse> $_$ where :D
21:35:52 <planetmaker> called tunnels and bridges
21:36:16 <Devedse> :>, is it possible to use them as real wormholes?
21:36:41 <planetmaker> Rather make ultra-fast trains
21:36:50 <planetmaker> on a wormhole track or so
21:37:03 <Devedse> hmm
21:37:13 <planetmaker> after all wormholes only speed up things to 10x usual warp or so ;-)
21:37:32 <Devedse> Can't you like set a tunnel start point at 1 - 1 for example and the endpoint at 255 - 255
21:37:33 <Devedse> ?
21:37:41 <SmatZ> I am not sure if real wormholes would work with pathfinders
21:38:09 <SmatZ> if they don't expect planar map
21:38:12 <planetmaker> obviously diagonal tunnels and bridges are not implemented, Devedse
21:38:37 <andythenorth> opengfx smoke for power plant is quite nice
21:38:45 <Devedse> planetmaker, so it would only work straight, so just as a verry long tunnel but when a train enters it its speed increases by 10 times or so?
21:38:46 <planetmaker> but honestly, the much easier path: create an engine with max newgrf-able speed in tunnels. Normal otherwise
21:38:53 <planetmaker> or along those lines
21:39:15 <planetmaker> yes
21:39:59 <Devedse> Can the pathfinder give priority's to fast speed tracks?
21:40:25 <planetmaker> http://hg.openttdcoop.org/nml/raw-file/tip/docs/vehicles.html#vehicles-vars <-- see e.g. there. you have means to check the track type, the presence of a tunnel, ... so that's what you can do
21:40:37 <planetmaker> you could alternatively just define a wormhole track type
21:40:52 <planetmaker> and increase speed on that track type to insane. Then you can have anything you want
21:41:02 <planetmaker> except you'll have to make engines aware of that type.
21:41:15 <planetmaker> you could even make them somewhat invisible then
21:41:26 <planetmaker> the path finder prefers fast tracks already
21:42:39 <Devedse> planetmaker, lol it's pretty fun to look at all that stuff in that link, seeing that the shadow of a plane isn't an actual shadow but just an object :D
21:43:02 <planetmaker> nah, not an object. It's another vehicle ;-)
21:43:09 <Devedse> even better ^
21:43:22 <planetmaker> same as the electric sparks actually, or the smoke
21:43:24 <Samu> hi
21:43:24 <Devedse> (don't you love old school graphics)
21:43:38 <planetmaker> I guess... that's why I love this game
21:43:42 <Terkhen> using the shadow of an aircraft to carry mail is one of the most mindblowing parts of the code IMO :)
21:43:46 <Samu> I edited some in notepad
21:43:55 <Devedse> Terkhen lolwut O_O
21:44:02 <Samu> but I'm not really sure if it's going to be correct once I send to webtranslator
21:44:03 <Devedse> is that really implemented that way ?
21:44:05 <planetmaker> Devedse: that's the main purpose
21:44:06 <Terkhen> yeah
21:44:06 <planetmaker> ;-)
21:44:09 <Devedse> wtf xDDD
21:44:15 <Terkhen> a vehicle can only carry one kind of cargo, so...
21:44:22 <Devedse> lolololol
21:44:23 <Devedse> xDD
21:44:34 <Samu> trains can carry more
21:44:36 <planetmaker> call it hack. call it genious. It's a close call
21:44:40 <planetmaker> Samu: no
21:44:44 <Terkhen> it is a bit scary when you get to know the code so well that these kind of details start making perfect sense
21:44:46 <planetmaker> vehicle = one wagon or so
21:44:50 <planetmaker> not the whole train
21:44:57 <andythenorth> makes complete sense
21:44:59 <Samu> aircraft
21:45:02 <Samu> passenger and mail
21:45:16 <planetmaker> did you follow the conversation or just make random comments?
21:45:18 *** perk11 has quit IRC
21:45:21 <Samu> I didn't
21:45:22 <Devedse> it's awesome
21:45:23 <Devedse> xD
21:45:27 <Terkhen> andythenorth: I know, but my first reaction was quite similar than Devedse's :P
21:46:14 <Samu> {BIGFONT}{BLACK}Produção de {STRING} {G 0 em no na nos nas} {INDUSTRY} aumenta {COMMA}%!
21:46:16 <Devedse> Next time I see an aircraft flying above me I'll search for it's shadow to see if they didn't forgot the mails :>
21:46:18 <Samu> is the G 0 correct there?
21:46:23 <Hirundo> andythenorth: In your interest, I shall not reply to your smoke topic until *someone* splits off all the offtopic stuff
21:46:29 <planetmaker> hehe
21:46:46 <andythenorth> thanks :D
21:46:51 <planetmaker> Hirundo: did you report the posting you want split off?
21:46:57 <andythenorth> I feel bad for starting it though Hirundo :o
21:47:13 <Hirundo> I can't blame you for MB invading your topic
21:47:14 * planetmaker strangely doesn't feel bad about that
21:47:18 <Samu> there are 3 things there
21:47:31 <Samu> {string} {industry} {comma}
21:47:35 <Hirundo> I reported the first post, with the message that I requested splitting
21:47:41 <Samu> the gender only applies for industry
21:47:44 <planetmaker> uhm, ok
21:47:49 <Samu> is it correct the way I did?
21:47:51 <andythenorth> maybe I should invade DB set with some random complaints about its FIRS incompatibility
21:47:53 <andythenorth> or such
21:48:11 <Devedse> Planetmaker, so why isn't there actually something used as an array to be able to put multiple goodies in 1 vehicle?
21:48:29 <Hirundo> you should not do any further FIRS releases, just drop random comments about it and occasionally show screenshots
21:48:31 <andythenorth> Devedse: not how it works :P
21:48:49 * Devedse is currently running windows 7 setup from the windows vista recovery disk, now i got 2 setup windows lol
21:48:50 <planetmaker> nah, andythenorth. Niveau is not a cream
21:49:01 <andythenorth> Hirundo: more importantly, compare all other works to the brilliance of my unreleased set
21:49:11 * andythenorth is done defending mb, he was rude
21:49:19 <planetmaker> Devedse: because it isn't. One vehicle, one cargo. Simple
21:49:28 <Devedse> okie :D
21:49:37 <planetmaker> it's a 16 year old game after all
21:49:51 <Samu> anyone help?
21:49:56 <frosch123> btw. was there a result in that topic?
21:49:57 <planetmaker> and the newgrf specs are like 6? 8? years old or so
21:50:11 <planetmaker> frosch123: the result is: Hirundo is of course all wrong.
21:50:18 <andythenorth> frosch123: there was a result that I am slightly cross :P
21:50:26 <planetmaker> There can only be one interpretation of the specs
21:50:26 <Devedse> planetmaker, did you actually use the code from the old ttd or is it a complete remake after the same idea?
21:50:39 <frosch123> i read that hirundo documented some different behaviour of ottd and ttdp
21:50:51 <planetmaker> it's a re-write
21:51:02 <Hirundo> Around 4 years ago, peter changed the code to call CB 10 more often but didn't document that in the specs
21:51:26 <frosch123> so, would dbset work acording to the specification for ttdp, or does ttdp not match the specs either?
21:51:28 <Devedse> planetmaker, so that doesn't actually make it 16 years old right?
21:51:48 <Hirundo> I have no clue whether TTDP lives up to the specs exactly
21:51:51 <planetmaker> OpenTTD: not. TTD: yes. And all the specifiaction yes.
21:52:09 <planetmaker> The basic assumptions and behaviour are copied 97.5%
21:52:10 <Hirundo> Recently, I changed OTTD to match the specs more closely, that caused breakage in the dbset
21:52:17 <Devedse> planetmaker, ah ic
21:52:29 <Hirundo> s/changed/submitted patches to change/
21:52:57 <Devedse> I can remember me playing the old ttd :>
21:53:04 <andythenorth> if we call cb10 even more frequently, and put extra info in the cb result, will that break db set further :P
21:53:16 <planetmaker> not really
21:53:32 <frosch123> "it only applies for train wagons that would by default be powered (i.e. property 1B is set)" <- that sentence confuses me. does ottd not do that?
21:53:33 <Hirundo> basically the DBSet was sortof broken for 4 year, but it didn't trigger for the DBSet because of other issues
21:53:49 <frosch123> here you made it sound as if it was only about when the cb is called
21:53:52 <Hirundo> @commit 5061
21:53:52 <DorpsGek> Hirundo: Commit by peter1138 :: r5061 trunk/train_cmd.c (2006-05-31 18:00:08 UTC)
21:53:53 <DorpsGek> Hirundo: - NewGRF: always use visual effect callback if it is defined, not just for powered wagons.
21:54:04 <planetmaker> frosch123: it's a matter how you read it. Whether you read it "and nothing else matters" or "this is one precondition"
21:54:10 <Devedse> @commit 1
21:54:10 <DorpsGek> Devedse: Commit by truelight :: r1 / (202 files in 13 dirs) (2004-08-09 17:04:08 UTC)
21:54:11 <DorpsGek> Devedse: Import of revision 975 of old (crashed) SVN
21:54:19 <Devedse> :(
21:54:27 <Hirundo> ^^ OpenTTD doesn't do that since then
21:54:34 <Samu> G 0 what does the 0 means in this case?
21:54:53 <glx> arg 0, ie the {STRING}
21:54:57 <frosch123> so, peter broke it?
21:55:05 <Samu> ah
21:55:08 *** Biolunar has quit IRC
21:55:14 <Samu> only string?
21:55:18 <Samu> {string} {industry} {comma}
21:55:24 <glx> 0 is the string
21:55:27 <Hirundo> he, like me, assumed that grf authors code sanely
21:55:31 <glx> 1 is the industry
21:55:35 <glx> 2 is the comma
21:55:40 <Samu> ah, ok, thank you
21:55:41 *** Chillosophy has quit IRC
21:55:44 <planetmaker> frosch123: in principle yes. But the specs IMOH can also be interpreted that OpenTTD fulfills them.
21:55:48 <Devedse> In what language are the newgrf files written actually?
21:55:48 <Samu> ok, then I got some stuff to fix
21:55:49 <planetmaker> It's a matter of semantics
21:55:50 <frosch123> Hirundo: i would rather expect that someone like pikka asked peter to change it
21:56:07 <Zuu> Devedse: nfo
21:56:12 <planetmaker> nml ;-)
21:56:29 <Samu> sometimes I see 0:1
21:56:29 <glx> hexadecimal :)
21:56:30 <Belugas> numbers
21:56:32 <Samu> 1:1
21:56:34 <Samu> what is that?
21:56:35 <andythenorth> insanity
21:56:38 <Hirundo> frosch123: That'd make sense
21:56:51 * Devedse is scared of hexadecimal assembly code >:O
21:56:55 <planetmaker> Samu: take your IRC backlog from yesterday. You were told back then. you asked the same thing
21:57:12 * andythenorth wants to encode nfo by drawing
21:57:13 * Zuu suggest that Devedse takes a look on nml
21:57:21 <Devedse> JMP EA0E839A EABFF291 <--- scary
21:57:23 <glx> Samu: second arg of the first arg
21:57:25 <andythenorth> a bitmap could encode hex nicely
21:57:36 <SmatZ> Devedse: looks like far jump
21:57:40 <frosch123> Hirundo: actually i read peters change as "also call it for engines"
21:57:41 <andythenorth> 'graphical nfo'
21:57:52 <Samu> confused
21:57:52 <Devedse> the only jumps I like are the ones in platformers
21:57:58 <frosch123> which actually surprises me, if ttdp does not allow changing the effect for engines :s
21:57:59 <planetmaker> http://bundles.openttdcoop.org/ogfx-trains/nightlies/LATEST/log/ogfx-trains.nml <-- does that look readable enough, Devedse
21:58:06 * andythenorth wonders if photoshop would parse nfo
21:58:41 <Devedse> planetmaker, that looks readable AND a lot of work :>
21:58:55 <Belugas> a car can be frigthening to a pygme, simply becasue he does not know what it is. Once you know whta it is, it';s not
21:58:56 <planetmaker> he. Yeah. Wrote that :-P
21:59:04 <Hirundo> peter's commit calls the CB for everything but articulated parts
21:59:08 <Belugas> thus, it's ignorance that one fears
22:00:07 <planetmaker> Devedse: but simple things are quite simple.
22:00:23 <planetmaker> What you see there is basically a re-implmentation of all default train vehicles
22:00:49 <planetmaker> with some extras
22:01:09 <planetmaker> so a single engine is much easier
22:01:39 * andythenorth wonders if there are any common image formats that are just encoded as a stream of bytes, 1 per pixel
22:01:49 <planetmaker> http://dev.openttdcoop.org/projects/nml/repository/entry/regression/006_vehicle.nml <-- this already defines a whole tram.
22:02:07 <planetmaker> You just need to throw in the graphics file which is mentioned in its source additionally
22:03:22 * andythenorth is amused by watching HEQS download numbers increase :)
22:03:38 <planetmaker> :-)
22:03:47 <andythenorth> bananas changelog field?
22:03:48 <Devedse> planetmaker, I don't know if I really wanna spent a lot of time on it :P, I got some other games to create to ^^.
22:03:56 <planetmaker> the nice thing about HEQS is: it always fits, andythenorth ;-)
22:05:05 * fjb loves the cargo trams from HEQS.
22:05:11 <andythenorth> hmm
22:05:18 <andythenorth> bananas src used to be in my repo
22:05:23 <andythenorth> I have mislaid it
22:06:17 <andythenorth> ah hah
22:06:44 * andythenorth wonders if anyone could be persuaded to commit a change to this: description = models.CharField(max_length = 512, blank = True, verbose_name = "Description")
22:06:59 <frosch123> Hirundo: according to ttdp source, 00..0F count as 40 for wagons
22:07:09 <frosch123> // for wagons, 00..0F counts as 40 (no effect) here
22:07:11 <andythenorth> max_length = 768 might be better
22:07:19 <Hirundo> frosch123: file/line?
22:07:34 <frosch123> multihd.asm
22:07:40 <frosch123> lin 1234
22:09:01 *** Fast2 has quit IRC
22:11:22 <frosch123> is there any benefit in the new ottd behaviour?
22:11:57 <frosch123> if ttdp and ottd 1.0 agree on an behaviour, imo the specs should be fixed and we should not invent some new behaviour, unless there is a good reasoni
22:12:07 <andythenorth> fjb: one thing about trams is - no smoke. So uncontroversial :D
22:12:18 * fjb needs to learn more about gdb. :(
22:12:27 <andythenorth> hmm
22:12:29 * fjb does not smoke.
22:12:37 <andythenorth> trams *should* have sparks though :o
22:12:45 * andythenorth sense HEQS 0.9.6 soon
22:12:46 <planetmaker> frosch123: the pro of as now is that it's much cleaner.
22:13:02 <planetmaker> without quirks
22:13:35 <fjb> How do I halt a running target to debug it using gdb?
22:13:36 <Terkhen> andythenorth: HEQS breaks my partial refit patch :(
22:13:55 <andythenorth> or vice versa :P
22:13:57 <planetmaker> fjb: stop or quit
22:14:01 <Terkhen> :P
22:14:22 <andythenorth> Terkhen: simply add rv-wagons and the problem goes away
22:14:25 <Terkhen> but frosch is right, so it does not matter much
22:14:28 * andythenorth tries some code
22:14:48 <frosch123> hmm?
22:15:03 <Hirundo> frosch123: the reason for the current behaviour is that 0 .. 0F is explicitly defined as 'use effect from prop19'
22:15:30 <fjb> planetmaker: Thank you.
22:16:16 <frosch123> ttdp and ottd 1.0 use "prop19 is always no effect for unpowered wagons" , right?
22:16:32 <fjb> It did not stop. Do I have to prefix the stop command?
22:16:58 *** KouDy has quit IRC
22:17:01 <frosch123> wasn't there also something like "powered wagons" take only effect if there is a livery override, or something like that?
22:17:30 <Hirundo> yes
22:17:51 <planetmaker> fjb: is it running right now? Then try first ctrl+c
22:18:00 <frosch123> so, the visual effect would also only take effect if there is a livery override
22:18:04 <planetmaker> then you'll get the gdb console again
22:18:22 <Devedse> Anyone tried the luukland servers before?
22:18:38 <fjb> planetmaker: Remote embedded device connected via jtag and openobdc...
22:19:13 <planetmaker> which implies...?
22:20:00 <planetmaker> fjb: http://pastebin.com/KUEKPbwV <-- that works for me
22:20:01 <Hirundo> so something like if(!v->IsEngine() && v->GetPoweredPartPower() == 0) then no effect?
22:20:03 <fjb> ctrl+c shows no effect.
22:20:52 <fjb> planetmaker: Thank you. I will try it.
22:21:20 <planetmaker> the stop and quit while there's no console won't help you though and have no effect...
22:21:40 <andythenorth> ha ha, trams with sparks :D
22:21:48 <fjb> andythenorth: Nice.
22:22:15 *** _Terkhen_ has joined #openttd
22:23:43 <Samu> http://translator.openttd.org/en/trunk/pt_PT/STR_NEWS_SUBSIDY_WITHDRAWN_SERVICE
22:23:48 <Samu> check that out! :p
22:25:25 <andythenorth> night
22:25:26 *** andythenorth has quit IRC
22:27:43 *** _Terkhen_ has quit IRC
22:30:10 <Hirundo> frosch123: should powered wagons (with livery override) use the engine class of the front engine?
22:31:16 *** Cybertinus has quit IRC
22:38:39 <fjb> planetmaker: The command needed was: monitor halt
22:39:13 <planetmaker> interesting. thanks
22:40:09 *** Prof_Frink has joined #openttd
22:40:22 <frosch123> Hirundo: sounds plausible, no idea though
22:41:15 <frosch123> i remember that the power computation uses the type of the frontengine to decide whether a powered wagon is powered on the current railtype
22:42:22 <frosch123> night though
22:42:39 <frosch123> i will likely be only shortly here tomorrow, and then sunday again :)
22:42:45 *** frosch123 has quit IRC
22:49:23 <Devedse> planetmaker, did you really create the planet?
22:49:29 <planetmaker> yes
22:49:41 <Devedse> And I always thought it was god :'(
22:50:01 <planetmaker> I only say: 42
22:51:02 <Zuu> be kind to planetmaker or you never know what happens to earth ;-)
22:51:17 <planetmaker> :-P
22:51:32 <Samu> can you please verify my new entries to webtranslator?
22:51:37 <planetmaker> Especially as I come from a country whom is said of that people like highways here ;-)
22:51:48 <Samu> I won't be able to download a trunk that early
22:53:29 <Devedse> planetmaker, would that be germany :o?
22:53:54 <Zuu> But now we seem to get colder winders due to global warming. :-)
22:53:59 <Zuu> winters*
22:54:13 <planetmaker> I saw the first snow flakes of this winter here today
22:54:26 <Devedse> YEA BUT YEA THERZ EXPLNAZION FOR TAT ITS LIEK WARM THERE SO COLD THERE AND GLOBAL WARMIN IS NO BULLSHIT
22:54:37 <planetmaker> ...?
22:54:43 <Devedse> nvm :P
22:54:52 <Zuu> Did I claim that global warming is bullshit?
22:55:02 <Zuu> If I did, I'm sorry if you mistaken me.
22:55:10 <Devedse> Zuu, Iḿ just joking
22:55:52 <Devedse> But yea I saw hail here yesterday
22:55:58 <Devedse> Only in my town though
22:56:18 <Zuu> Btw, driving an etanol car in the winter is interesting. It really does start badly when the engine is cold. :-)
22:57:01 <Prof_Frink> I want snow :/
22:57:48 <Devedse> lol after installing the ati drives on a computer the screen is totally messed up
22:57:50 <Devedse> :SS
22:57:56 <Zuu> When it gets warm it is just as usual. So after you have parked it and want to go again you have forgoten that you need to push extra hard on the gas pedal no not make it die. :-)
22:58:21 <Eddi|zuHause> <planetmaker> I saw the first snow flakes of this winter here today <-- strange, we had snow here already yesterday
22:58:50 <Devedse> Well I'm off
22:58:51 <Devedse> cya guys
22:59:01 *** Devedse has quit IRC
22:59:14 * Zuu goes to bed as well
22:59:20 <SmatZ> good night Zuu
22:59:31 * planetmaker , too
22:59:37 <planetmaker> Good night :-)
23:00:55 <Samu> hey
23:01:03 <Samu> is someone checking?
23:01:50 <planetmaker> Eddi|zuHause: maybe I missed them yesterday. It's not like I'm looking out of the window the whole day ;-)
23:02:39 <Samu> what happens if I ruined something in the translation? Can I revert to a previous version?
23:03:05 <SmatZ> good night planetmaker, too :)
23:07:17 *** Zuu has quit IRC
23:08:46 *** roboboy has joined #openttd
23:10:59 <CIA-1> OpenTTD: rubidium * r21326 /trunk/src/newgrf_text.cpp: -Fix: off-by-one in case choice list construction causing case lists to fail completely
23:11:33 *** welshdragon has joined #openttd
23:11:47 *** Thror has quit IRC
23:14:37 <CIA-1> OpenTTD: rubidium * r21327 /trunk/src/newgrf_text.cpp: -Fix: cases are always "off-by-one" w.r.t. to the case table as there is an implicit default case with index 0
23:14:39 *** perk11 has joined #openttd
23:15:02 <CIA-1> OpenTTD: rubidium * r21328 /trunk/src/strings.cpp: -Fix: pass the case id when resolving NewGRF strings as well
23:15:09 *** Progman has quit IRC
23:22:56 *** AveiMil has joined #openttd
23:23:02 <AveiMil> meh
23:23:04 <AveiMil> item(FEAT_AIRCRAFT, SampsonU52, 0) { property { cost_factor: 7*param[50]/100; running_cost_factor: 3*param[55]/100/param[59]; speed: 31 nfo; vehicle_life: 16; model_life: 16; retire_early: 0; } }
23:23:12 <AveiMil> I startup a game in 1928 (intro date of Sampson)
23:23:29 <AveiMil> Fast forward to 1945, expecting the Sampson not to be available for purcahse anymore
23:23:33 <AveiMil> but it still is
23:23:41 <AveiMil> am I mistaken in how this works?
23:24:07 <avdg> http://vcs.openttd.org/svn/browser/trunk/readme.txt <- is the table of content missing section 2.2?
23:25:11 <Wolf01> AveiMil, persistent engines setting?
23:25:36 <AveiMil> i turned off veihcles never expire if that's what you mean
23:27:34 <Yexo> AveiMil: according to http://wiki.ttdpatch.net/tiki-index.php?page=Action0General
23:27:40 <Yexo> The number of years that this model can be bought in the game (if PersistentEngines is off). Usually this should be at least twice or three times as long as the vehicle life. When starting a new game, a random amount between 31 months and 17 years is added to this as well.
23:28:28 <AveiMil> seems it dissapeard in 1949 in this game
23:29:12 *** error has joined #openttd
23:29:29 <Xaroth> 31 months and 17 years?!?
23:29:32 <Xaroth> that's a bit steep innit
23:29:47 <Xaroth> getting yer last electric train when you get maglev :P
23:30:17 <AveiMil> not quite I understand the purpose of retire_early
23:30:41 <Yexo> there are 3 phases for every vehicle model. phase 1 is between 7 and 38 months (randomly)
23:30:47 <AveiMil> " Number of years before model_life when no new vehicles can be bought. May be negative."
23:31:10 <AveiMil> That speaks to me that if model life is 16 and you set 14 retire early value, you can build the aircraft for 2 years after its introduction date
23:31:11 <AveiMil> meh
23:31:16 <Yexo> phase 2 is the amount of years set with the model_life property - 8 years + a random number of months between 0 and 15
23:32:09 <Yexo> phase 3 is between 10 and 20.5 years (randomly)
23:33:45 <AveiMil> so I don't have any direct control over this
23:34:45 <Yexo> if you use early retirement it'll be unavailable after: phase1+phase2 - retire_early (in years, so *12)
23:35:04 <AveiMil> vehicle_life: 16; model_life: 16; retire_early: 10;
23:35:11 <AveiMil> I do that and load up a game in 1928
23:35:23 <AveiMil> I can't even build an airplane then because Sampson ain't available
23:35:29 <AveiMil> airport*
23:35:47 <Yexo> you can change that
23:35:47 <Xaroth> FF a few years?
23:35:48 <AveiMil> how is that possible?
23:35:57 <Yexo> small airport should be available though
23:36:12 <AveiMil> oh right phase2 is model life minus 8
23:36:20 <AveiMil> what's iwth the minus8!?!
23:36:38 <Yexo> don't wonder about it, just accept it
23:36:42 <Yexo> it's the newgrf specs
23:36:48 <Yexo> there are lots of random surprises like that
23:37:03 <AveiMil> so about 1+16-8-retire_early
23:37:23 <AveiMil> and 9 minus 10 is minus 1
23:37:31 <AveiMil> thus youcannot build a sampson in 1928
23:37:34 <AveiMil> OKOK
23:38:05 <Yexo> or in other words: you can never buy it
23:38:18 <AveiMil> yup
23:38:20 <Yexo> and the small airport is only available when at least one aircraft is available (you can change that too)
23:38:32 <AveiMil> mm
23:38:36 <AveiMil> thanks
23:38:38 <AveiMil> gtg, gn
23:38:49 *** AveiMil has quit IRC
23:48:17 *** Pulec has quit IRC
23:48:44 <Katje_> is there an easy way to see all shared routes?
23:52:20 <avdg> nope
23:52:44 <avdg> but you can see the vehicles in a shared orders group
23:53:44 <avdg> the only 'clean' way to organise stuff is using the groups in the vehicles window
23:54:35 <Katje_> thought as much
23:54:50 <Katje_> when you forget to start it that way, and you have 110 trains to deal with....
23:55:27 <avdg> yes, thats a known problem
23:55:45 <avdg> and happens a lot in games I play
23:55:45 <Katje_> would be so handy if you could create a route, with zero trains on it
23:55:50 <Katje_> then ssign trains to each route
23:55:54 *** Kurimus has quit IRC
23:56:51 <avdg> there are plans to improve the organisation of routing, through I don't know how many stable patches are available
23:57:43 <Katje_> ok
23:57:56 <Katje_> hmm, I need a nice junction design for 2 tracks joining 4 tracks...
23:58:16 <Katje_> also, is there a nice way to automatically renew all my stock? the "this train is really old" messages are pissing me off..
23:58:29 <Katje_> and with 2 billion in the bank, I would rather just auto renew it all
23:58:32 <avdg> there is
23:58:57 <avdg> check the advanced settings under section vehicles iirc
23:59:11 <Katje_> not something I can do within the game?
23:59:53 <avdg> yes, you can
23:59:56 <Katje_> oh