IRC logs for #openttd on OFTC at 2009-04-21
⏴ go to previous day
00:00:03 *** Combuster has joined #openttd
00:28:24 <Lachie> g'day, would this be the place to inquire about BaNaNaS?
00:30:43 *** reldred has joined #openttd
00:34:32 <Lachie> well, it's been brought to my attention that a prerelease set I manage may have been uploaded to BaNaNaS
00:34:59 <Lachie> however, it doesn't appear to be downloadable, so I can't download to check
00:36:00 <Yexo> if it doesn't appear there, I'd say it's not uploaded
00:36:54 <Lachie> but the set name isn't linked.
00:37:00 <Yexo> then you'll need TrueBrain or Rubidium to remove it
00:37:12 <Yexo> the link is optional and can be set by the uploader
00:37:18 <Lachie> it could well be the very outdated version of the set
00:37:44 <Yexo> unfortunatly, there're both gone, so you'll have to wait till tomorrow
00:37:55 <Lachie> I'll send off and email
00:38:42 <Lachie> it's listed on BaNaNaS as the "New South Wales Set - Aus"
00:40:53 <Lachie> can you download it ingame?
00:41:05 <Lachie> if so, can you do so, and tell me what the Action8 says?
00:41:34 <Yexo> Lachie: the "New South Wales - Aus" on bananas is a scenario, not a newgrf
00:42:42 <glx> similar name for a different thing :)
00:45:52 *** ChanServ sets mode: +v tokai
00:52:46 *** reldred has joined #openttd
01:13:06 *** NightKhaos has joined #openttd
01:26:46 *** KenjiE20|LT has joined #openttd
01:31:24 *** reldred has joined #openttd
01:35:11 *** KenjiE20|LT has joined #openttd
01:48:12 <Patrick> I have an infinitesimal timing bug
01:48:31 <Patrick> when a train turns off at a diagonal, through a green signal
01:49:05 <Patrick> there's 1/2 of a tile of distance when it's committed to the turn but hasn't passed the signal yet
01:49:20 <Patrick> if that signal then goes red, everything grinds to a halt
01:49:37 <Patrick> I can't see any way around that
01:50:24 <Patrick> the red signal is meant to say "priority override" but if the train actually runs it in this specific instance it'll be fine, there's enough priority distance
01:50:31 <Patrick> maybe something with PBS
01:52:23 <Patrick> I think I have isolated it - it only happens when the year rolls over!
01:58:46 <Patrick> or it's a coincidence
01:59:58 *** kjetil is now known as Forked
02:26:49 *** maristo has joined #openttd
03:01:25 *** HerzogDeXtEr1 has joined #openttd
03:12:33 *** TinoDidriksen has joined #openttd
03:42:50 *** TinoDidriksen has joined #openttd
04:58:05 *** ChanServ sets mode: +v tokai
05:28:23 *** Cybertinus has joined #openttd
05:35:08 *** racetrack has joined #openttd
06:40:42 *** Combuster has joined #openttd
06:49:49 *** pavel1269 has joined #openttd
07:00:53 *** Cybertinus has joined #openttd
07:02:00 *** kingj is now known as KingJ
07:12:22 *** maristo has joined #openttd
07:15:10 *** Progman has joined #openttd
07:17:44 *** DaleStan has joined #openttd
07:28:25 *** DaleStan has joined #openttd
07:31:39 *** KingJ is now known as kingj
07:36:44 *** fonsinchen has joined #openttd
07:38:47 *** [com]buster has joined #openttd
07:38:50 *** [com]buster is now known as Combuster
08:09:01 <TrueBrain> I believe I never configured anything with raid-0 :p
08:09:31 <Forked> one drive to fail them all
08:10:37 <TrueBrain> # So take me as I am
08:17:10 <TrueBrain> now I understand RichK! When you are a dev, you don't make patches! DAH!!!
08:17:25 <petern> it has 4 * 72 and 2 * 146
08:17:38 <petern> so we reconfigured it as a RAID5 + spare on the 72s, and a mirror on the 146s
08:22:39 *** Maarten- has joined #openttd
08:54:58 *** SHADOW-XIII has joined #openttd
08:55:17 <SHADOW-XIII> I got some questions about ottd, anyone can help me ?
08:55:33 <TrueBrain> mos likely depends on the question; we won't be able to help you make real life money with ottd
08:55:39 <SHADOW-XIII> - how to build more trailers for road vehicles so they are longer ?
08:56:08 <TrueBrain> and .. time to follow some classes! Bye all
08:56:29 <SHADOW-XIII> - how to get SAC trees to appear on my map? I've added grf but the trees are still original ...
08:57:17 <petern> in ottd RVs are fixed. you can't add more
08:57:23 <petern> and sac trees should work afaik
09:01:31 *** Vikthor has joined #openttd
09:04:30 <Rubidium> those are articulated vehicles that are also of fixed length
09:04:55 <Rubidium> the screenshot can be either TTDP or OTTD
09:09:11 <SHADOW-XIII> this one is from ottd for sure
09:09:35 <SHADOW-XIII> so you buy those vehicles just this length ?
09:11:18 <SHADOW-XIII> thx, now I have to figure out why sac trees arent working
09:11:54 <Rubidium> probably because you set the newgrfs in the main menu and loaded a game
09:12:15 <Rubidium> or because you set the newgrfs in-game, then abandoned that game and started a new one
09:14:26 <SHADOW-XIII> I think I know why
09:15:31 <SHADOW-XIII> they are temperate climate only, do not work on arctic :(
09:16:13 <petern> there should be a version with arctic trees
09:16:49 <SHADOW-XIII> I've seen the link but it goes to another website where you have to create login again so I gave up
09:17:41 <SHADOW-XIII> under what name ?
09:18:28 <SHADOW-XIII> it's not there probably because sac havent uploaded herself
09:27:00 *** Singaporekid has joined #openttd
09:31:04 *** racetrack has joined #openttd
09:41:56 *** [com]buster has joined #openttd
09:41:59 *** [com]buster is now known as Combuster
10:00:50 *** Progman_ has joined #openttd
10:03:19 <Patrick> because you're supposed to leave a trainlength free after a PBS junction
10:03:30 <Patrick> that means a singnalling gap which means reduced mainline capacity
10:04:22 *** Progman has joined #openttd
10:08:33 <SmatZ> you should leave a trainlength free after a PBS junction only if it is needed to prevent deadlocks
10:08:51 <SmatZ> that is when the junction is "two-way"
10:09:11 <SmatZ> you wouldn't be able to build such junction with block signals
10:09:34 <SmatZ> (you would be able, but it could deadlock)
10:10:08 <SmatZ> so you are given the ability to build such junctions, but at the cost of lower capacity
10:10:16 <Patrick> yeah, I get you, even if the north line jams and tails back into the junction, it would have been blocked anyway
10:10:36 <Patrick> but with pbs, now the south track can still flow
10:10:37 <Patrick> (for a trivial cheap junction)
10:11:43 <SmatZ> not exactly what I meant, but yes
10:16:45 *** Swallow has joined #openttd
10:20:29 <Celestar> I really really have talented colleagues
10:20:56 <Celestar> this one managed to write a latex templated that works only on an Windows-Miktex installation. it fails on mac and linux
10:21:07 *** tkjacobsen has joined #openttd
10:33:17 <planetmaker> meep, meep, ttd hat Dich lieb :P
10:47:06 *** Polygon has joined #openttd
10:52:22 * Celestar detonates a quantum torpedo
10:53:15 * planetmaker donates a phase-alterating shield generator
10:55:22 <Celestar> why do people here always do stuff they dunno shit about?
10:55:39 <Celestar> I got a latex template that works only on very certain Miktex installation on windows boxes
10:56:03 <planetmaker> I feel like in a temporal loop :P
10:56:08 <planetmaker> There is no spoon :D
10:56:09 <Forked> oh here as in where you are.. not here as in the channel
10:56:23 <Celestar> {\ifnum \scr@compatibility>\@nameuse{scr@v@2.96} \setlength{\parfillskip}{\z@ plus 1fil} \fi \sectfont\nobreak\size@section }
11:04:00 *** Combuster has joined #openttd
11:15:04 *** stuffcorpse has joined #openttd
11:28:53 <petern> somebody feeding the troll
11:33:01 *** KenjiE20 has joined #openttd
11:46:03 *** [com]buster has joined #openttd
11:46:19 *** [com]buster is now known as Combuster
11:52:29 <planetmaker> hehe. Troll feeding seems sometimes to be a hobby of certain people. That's why the trolls are so fat and lazy :D
12:04:23 <planetmaker> salut TrueBrain :)
12:04:37 <TrueBrain> howdie planetmaker :)
12:04:42 <Forked> sir TB! (not the illness TB, but the TrueBrain one)
12:04:49 <TrueBrain> you checked out the new List function?
12:05:49 <planetmaker> TrueBrain, indeed I did :)
12:06:21 <planetmaker> by what frequency does it actually sync with the current database?
12:06:33 <TrueBrain> normally immediatly
12:06:36 <TrueBrain> currently, when I trigger it
12:06:44 <TrueBrain> (because I still want to check for possible errors and stuff ;))
12:06:53 <planetmaker> ok, then you triggered it somewhen this morning or so, right?
12:07:05 <TrueBrain> and when you mean sync with WT2, that doens't happen
12:07:08 <TrueBrain> it syncs with SVN :)
12:07:37 <planetmaker> well... because the untranslated strings didn't show as untranslated anymore... but it's only in the WT2 database translated...
12:08:02 <planetmaker> wait... that's strange
12:08:04 <TrueBrain> there are a few untranslated strings ;)
12:08:18 <planetmaker> well... technically not anymore in wt2 :)
12:08:20 <TrueBrain> last night it was reimporting the DB, but that was well past your bedtime ;)
12:10:21 <TrueBrain> I guess the 'list' can also use a bit of stats .. how many entries and at which page you are
12:11:17 <planetmaker> German language: use "strings needing validation". search for "combo"
12:11:55 <planetmaker> select "edit" on last list entry: STR_BUILD_SIGNAL_ELECTRIC_COMBO_TIP
12:12:00 <planetmaker> I get another string
12:12:44 <TrueBrain> that is because 'search' always searches in all strings
12:13:18 <TrueBrain> so maybe when you press Enter there it should switch to All Strings category?
12:13:33 <TrueBrain> or I can make the search limited to the category you are in, but that is a big complain in WT2 ...
12:14:23 <planetmaker> well... when I press "edit" it should edit the string which is shown next to it :)
12:14:36 <TrueBrain> yes, but as that string is not in the category you are in
12:14:39 <TrueBrain> it finds the closest string
12:14:49 <TrueBrain> so either I need to change the category for you, or only search in the category you are in
12:15:03 <planetmaker> oh. then you need to forget the category for that "edit".
12:15:19 <planetmaker> hm... "check box"? :D
12:15:30 <planetmaker> "search in category only"
12:15:36 <TrueBrain> most likely the only sane thing to do
12:16:06 *** Frostregen has joined #openttd
12:16:06 <planetmaker> <--- check box fetishist.
12:16:43 <TrueBrain> I really need to take care of the design soon :p
12:16:53 <TrueBrain> who feels up for that job? :)
12:17:40 <planetmaker> btw... what does the "copy" button next to the English string do?
12:17:53 <TrueBrain> nothing; but it will copy the english to the translation box
12:18:01 <TrueBrain> glx said that would be useful :p
12:18:12 <planetmaker> ok. That's what I would have expected :) - glx is right with that statement
12:18:30 *** tkjacobsen_ has joined #openttd
12:18:36 <planetmaker> though double click and middle click is nearly as fast :)
12:19:24 <planetmaker> he usually sleeps between 14:15 and 14:25.
12:20:00 <[wito]> planetmaker: I have no cloo what time zone he is in, you know. :P
12:20:11 <planetmaker> I do :P - in mine.
12:20:30 <[wito]> Well, then, I guess I need to wait for 4 minutes. :P
12:20:57 <[wito]> TrueBrain: What's funny about me not having a cloo?
12:21:13 <planetmaker> because it's a clue and not a toilet :P
12:21:13 <[wito]> Is that somehow amusing to yoo?
12:21:21 <TrueBrain> because I hope you mean clue :)
12:21:36 <[wito]> Of course I mean clue. :P
12:21:54 <[wito]> But I'm up at night so much lately I'm begining to think I'm an owl. :P
12:22:37 <[wito]> (I'm assuming you mean loco. :P)
12:22:54 <TrueBrain> I was producing the sound :)
12:23:43 <[wito]> roe-koe is more like a pheasant
12:26:29 <[wito]> planetmaker: He's still not up. :P
12:26:56 <TrueBrain> his quantum rocket hit the target
12:27:00 <TrueBrain> expect weird things to happen
12:27:55 <[wito]> Well, I'll hit the shower and the shops and see if he's back later. :P
12:32:01 *** Hirundo has joined #openttd
12:37:41 *** Hirundo is now known as Swallow
12:51:37 <[wito]> 2 quick things, Celestar
12:51:41 <[wito]> I really love your CargoDest patch
12:51:48 <CIA-9> OpenTTD: yexo * r16108 /trunk/src/ai/api/ai_order.cpp:
12:51:48 <CIA-9> OpenTTD: -Fix [NoAI]: When giving an aircraft a goto-hangar order don't let it be a normal goto-station order.
12:51:48 <CIA-9> OpenTTD: Note to AI writers: AIOrder.AppendOrder(vehicle_id, AIStation.GetLocation(station_id)) will give a goto-hangar order for helistations (assuming the station sign is at it's default location).
12:51:52 <[wito]> any chance you could merge back from trunk? :P
12:52:21 <Yexo> "2 quick things" and " any chance you could merge back from trunk?" <- that doesn't add up :p
12:52:33 <[wito]> Rubidium broke the unofficial patch in 15710 by fixing coding style. :(
12:53:06 <Rubidium> who what where when?
12:53:36 <[wito]> It was either some code style fixes or widget fixes in 15711
12:53:40 <Rubidium> are always in my mind
12:54:04 <[wito]> In the aircraft_gui.cpp, if memory serves
12:54:16 <petern> minor gui changes don't affect it
12:54:23 <petern> the order list changes do, somewhat
12:55:09 <Rubidium> hmm, guess my ignore is making me miss unimportant things again ;)
12:55:54 <Celestar> [wito]: 1) thanks, 2) I'm working on it, but the order list rewrite is making my life hard ;)
12:57:06 <[wito]> I'd do it myself, but I've neither the C++ skills nor the insight into the inner workings of OpenTTD
12:58:55 <Xaroth> 14:37 --Hirundo- is now known as Swallow
12:59:46 <Xaroth> ugh, now i can't find what i was quoting anymore :/
13:03:21 <TrueBrain> planetmaker: I pimped the search stuff :) Make sure to do a hard-reload, as I had to fix a bug in the xmlrpc routine :)
13:03:27 <fonsinchen> Celestar, I fixed the issue with rerouting when link disappears in CargoDist
13:03:37 <fonsinchen> And I have a GUI now.
13:03:59 <fonsinchen> Is there still any points you think your patch is better with
13:04:37 <fonsinchen> I mean, I think the linkgraph approach is really substantially better than doing everything with orders and routing individual packages
13:04:52 <fonsinchen> 1. You see yourself what pain it is to work with the order system
13:04:56 <[wito]> fonsinchen: CargoDist generates passengers as a response to links, right?
13:05:06 <planetmaker> cool, TB :) looks good
13:05:14 <fonsinchen> it doesn't influence generation of cargo
13:05:29 <fonsinchen> it only tells them where to go based on existing links
13:05:45 <fonsinchen> and Cargodest does the same
13:05:46 <planetmaker> though... TrueBrain : the issue with the edit buttons directing to the wrong string still persists
13:05:50 <[wito]> right, but if a link is bigger, it generates more passengers for it, right?
13:05:57 <fonsinchen> you can't send people where they cannot go anyway
13:06:06 <petern> cargo is generated as normal
13:06:08 <TrueBrain> planetmaker: hmm .. yes .. hmm .. need to think .. hmm .. :p
13:06:19 <[wito]> s/generate/route/g plx.
13:06:21 <fonsinchen> it Cargodist sends people to destinations appointed by the demand function
13:06:37 <fonsinchen> there are two demand functions
13:06:44 <petern> fonsinchen, actually i though you said the other day that cargodist doesn't give cargo destinations?
13:06:48 <[wito]> whereas CargoDest routes them approximately at random, right?
13:07:09 <petern> cargodest's random destination was meant to be a hack to have random destinations :p
13:07:15 <fonsinchen> well, more specifically it generates flow in the link graph which is later mapped into flow at the stations
13:07:23 <fonsinchen> cargo packages follow the flow
13:07:31 <planetmaker> ahello Belugas :)
13:07:54 <fonsinchen> so, no it doesn't directly generate destinations for individual cargo, but it does generate destinations for flows
13:07:55 <[wito]> somehow I get a distinct feeling that CargoDest and CargoDist works somewhat differently (when playing with them)
13:08:02 <[wito]> and I must admit I like CargoDest better
13:08:13 <planetmaker> Error: Server Error (1): translator.xmlrpc.Error:getStringDetails(): string '3192' doesn't exist <-- TrueBrain just noticed that it gives me that error message :)
13:08:16 <fonsinchen> cargodest has a different demand function
13:08:19 <[wito]> Can't quite quantify it, tho'
13:08:28 <TrueBrain> planetmaker: you need to give a bit more details .. like ... WHEN :p
13:08:29 * Belugas is "happy" to be back at work
13:09:11 <fonsinchen> Cargodist's symmetric function sends the same amount of passengers in both directions and determines size not by area of the station but by passengers generated there.
13:09:20 <fonsinchen> so the results are quite different, for sure
13:09:29 <planetmaker> TrueBrain, category=untranslated
13:09:41 <fonsinchen> but you remember what the problem with the Cargodest's demand function was?
13:09:53 <fonsinchen> look it up in the forums if not.
13:10:09 <TrueBrain> Rubidium: STR_VEHICLE_INFO_COST_MAX_SPEED_CAPACITY_CAPACITY_RUNCOST <- btw, what a string name? :p
13:10:12 <planetmaker> search for "combo". Then uncheck "category only", "STR_" and "English" and then click "edit" on the last of the remaining entries
13:10:30 <petern> TrueBrain, it's descriptive ;)
13:10:45 <planetmaker> yeah. passengers + mail
13:10:55 <petern> aircraft are 'special'
13:10:56 <TrueBrain> too descriptive if you ask me ;)
13:10:58 <[wito]> fonsinchen: the 30kpax station waiters? :P
13:11:25 <fonsinchen> wito, I don't understand the question.
13:11:52 <[wito]> fonsinchen: that no end of passengers would pile up at stations?
13:12:03 <fonsinchen> that's not a property of the demand function
13:12:40 <planetmaker> STR_BUILD_SIGNAL_ELECTRIC_COMBO_TIP <-- name of last string, btw
13:12:49 <fonsinchen> the problem with the demand function was that different amounts of pax were sent from A to B than from B to A and that you could attract passengers by building larger stations.
13:13:09 <planetmaker> but given the resulting string name, you know that already :P
13:13:54 <fonsinchen> the problem with too many people waiting can either be solved by generally generating less, or by limiting station capacity or by building more clever networks
13:13:57 <TrueBrain> planetmaker: fixed, as it was a result of the bug not finding the string ;)
13:14:03 <TrueBrain> not it switches to All Strings
13:14:04 <fonsinchen> all of those are out of scope for cargodist
13:14:59 <fonsinchen> (and also for Cargodest, I guess)
13:18:20 <glx> <planetmaker> yeah. passengers + mail <-- well it's {CARGO} and {CARGO} now ;)
13:21:59 <planetmaker> yeah, I had a few strings to fix during breakfast today :)
13:23:13 <TrueBrain> damn, planetmaker, the Edit thingies are still giving problems :(
13:23:18 <TrueBrain> it is hard to do it correct, so it seems :)
13:23:38 <Rubidium> really... what is it with EVERYONE symphatising with RichK?
13:24:01 <TrueBrain> Rubidium: because they only know a small part, and he knows how to put things just right :)
13:24:03 <planetmaker> Rubidium, please :) Don't pool me with those guys :)
13:24:26 <Belugas> plus, he proposed something that users beg for
13:24:33 <Belugas> no matter how bad it is coded,
13:24:38 <Belugas> they are happy with it
13:24:59 <planetmaker> they don't have to maintain it :)
13:25:02 <Belugas> when all hte brouhaha started, that they realize it
13:25:23 <Belugas> and frankly, richk's approach is all but maintanable
13:25:56 <Belugas> he complais about grf as one big hack (read--- I don't understand it--) but he likes hacking an awfully lot himself
13:25:59 <planetmaker> well... to me many parts are not maintainable - simply as I haven't grasped quite their concept so far :)
13:26:06 <Belugas> but.. as usual, users don't care about that
13:26:07 <dihedral> richk reminds me of SirkoZ
13:26:13 <TrueBrain> planetmaker: finally solved the problem correctly :)
13:26:23 <planetmaker> TrueBrain, so I'll reload :)
13:26:30 <Belugas> dihedral, wrong. richk does have a brain
13:26:31 <Yexo> well, wouldn't the best way to make him shut up be to make a joint effort and implement it in a better way?
13:27:19 <TrueBrain> Yexo: so, go ahead ;)
13:28:02 <Yexo> TrueBrain: there you hit the problem :p
13:28:20 <glx> at least pikka's spec looks cleaner ;)
13:28:40 <glx> (but it uses callbacks ;) )
13:28:42 <Yexo> guess I should read pikka's spec
13:28:58 <planetmaker> TrueBrain, but, if I now search within a category, click on a string in the search window, the category changes back to "all strings"
13:29:03 <glx> and richk doesn't like callbacks
13:29:10 <dihedral> Yexo, it will not work
13:29:15 <TrueBrain> planetmaker: doh! Forgot that situation .. one moment :)
13:29:27 <dihedral> he's pretty much fixed that his solution is THE way to go
13:29:36 <dihedral> and is totally not interested
13:29:44 <glx> his solution is too static
13:29:45 <Belugas> of, it's the only one he can conceptualize
13:30:00 <Rubidium> RichK's solution isn't 'too static' per se
13:30:09 <dihedral> and focuses on the fact that "the project leader" designed it with him
13:30:29 <dihedral> but is absolutely not open to any kind of change
13:30:30 * Belugas still wonders who is that enigmatic nameless leader
13:30:35 <glx> well he designed it itself and we always told him to implement callbacks too
13:30:53 <Rubidium> it's just that the dynamic parts for RichK's implementation weren't really specified because he didn't understand it
13:31:18 * Rubidium just took a look through 'memory lane' (i.e the beginnings of the TGP branch)
13:31:32 <dihedral> and i would seriously believe that trying a joint work with him would fail
13:31:43 <dihedral> it would be nice it if would succeed, but i doubt it would
13:31:52 <dihedral> his attitude would not allow it :-P
13:31:56 <Yexo> dihedral: I never said it's be a joint work with richk
13:32:04 <TrueBrain> I had to send FooBar a nice PM telling him he should be careful with certain statements he is making ;) :) Ghehe :)
13:32:10 <Yexo> I always ment a joint effor between a few devs to spread the workload :)
13:32:10 <dihedral> Yexo, that is a difference then :-P
13:32:20 <glx> he often leaved the discussion when callbacks subject appeared IIRC
13:32:57 <glx> dihedral: that's the problem, he's not a kid
13:32:59 <Belugas> which is quite the same
13:33:09 <dihedral> glx, not physically perhaps
13:33:11 <fonsinchen> In order to circumvent this problem, you could use squirrel for the state machine. Then you probably don't need callbacks and neither other strange hacks. An (air)port would still be specified as newgrf but would be only eyecandy until you load a state machine for it.
13:33:22 <Belugas> he's a little younger thatn me, but not by much, iirc
13:33:30 <Rubidium> and when he started blaming me for not coding enough for HIS project... well... then I started to really not care about it anymore ;)
13:33:35 <Yexo> fonsinchen: that's just moving the callbacks from newgrf to squirrel
13:33:43 <Yexo> don't think that's a good idea
13:33:45 <fonsinchen> squirrel is readable, though
13:34:00 <Belugas> but slower than grf, i believe
13:34:00 <dihedral> Rubidium, i doubt anybody blames you :-P
13:34:14 <glx> I liked when sometimes it join IRC and ask "can you sync with trunk for me please"
13:34:21 <Yexo> but then for a fsm it might not matter much
13:34:31 <Rubidium> dihedral: he does blame me, that's a bit the point
13:34:48 <dihedral> Rubidium, what he does is actually not that important!
13:35:11 <dihedral> anybody with the attitude that any official devs of any project owe one something, is totally out of the line
13:35:16 <glx> anyway he found the better way to never see his work in trunk
13:35:43 <Yexo> nah, you're a dev, so it can't be :p
13:36:00 <Belugas> by the way, he has NEVER been a dev
13:36:02 <TrueBrain> Rubidium: developers don't make patches!!! (I read that yesterday!)
13:36:12 <Rubidium> TrueBrain: that's what I'm saying ;)
13:36:25 <Rubidium> but what is it when it isn't a patch?
13:36:26 <TrueBrain> I have no idea what we do make ..
13:36:30 <TrueBrain> but it isn't a patch!
13:36:38 <TrueBrain> great minds think alike ;)
13:36:45 <glx> we are here to apply other's patches ;)
13:36:47 <Forked> ..and sadly so does the not so great ones too
13:36:55 <dihedral> Rubidium, a diff :-P
13:37:29 <petern> then pick up the pieces
13:38:07 * Rubidium wonders how mad several people are about their branches not getting into trunk
13:38:28 <dihedral> i know someone who is mad about his patches not being in trunk
13:38:31 <TrueBrain> I remember MiniIN ..... :p
13:38:39 <dihedral> nick starts with an S and ends with a Z
13:38:44 <Rubidium> Belugas: are you so angry at the developers for not committing newgrf_lab and/or tfc_newmap?
13:38:57 <Rubidium> glx: are you angry at the developers for not committing tfc_newmap?
13:39:19 <fonsinchen> what is tfc_newmap?
13:39:21 <petern> did you know how pissed off i was when Darkvater rejected my bridges-over-diagonal-tracks patch?
13:39:22 <Rubidium> Darkvater: are you angry at us for not merging 0.4 into trunk?
13:39:23 <glx> Rubidium: only when Tron started to do the same in trunk
13:39:24 <dihedral> TrueBrain, you are retired :-P
13:39:27 <Belugas> well... honestly, i was mad at tron but... that's another situation
13:39:42 <TrueBrain> dihedral: did you just call me retarted? :p
13:40:04 <TrueBrain> Belugas: I am still mad at Tron :p
13:40:14 <dihedral> no, i did not TrueBrain, but if you insist.....
13:40:22 <TrueBrain> petern: do you know how pissed off I was when ludde refused my bigmap patch? :)
13:40:58 <petern> for reference, the answer to my question is 'not at all' :)
13:41:01 <dihedral> did that happen at... "your time of the month" TrueBrain ?
13:41:04 <Rubidium> TrueBrain are you angry for not committing coopetition?
13:41:18 * petern is pissed off that tron was ousted, but there we go
13:41:19 <Belugas> you kow how pissed off i realized my signals-on-bridge was getting nowhere?
13:41:33 <TrueBrain> Rubidium: hmm .. head-to-head ... Yexo: how is that going? :)
13:41:46 * petern is pissed off with his workplace but that's by the by
13:41:51 <glx> Belugas: but at least you tried instead asking for it
13:41:51 <Yexo> it works, still needs some minor features
13:42:13 <dihedral> you guys should start ranting in the forums, that'd be so much fun
13:42:21 <dihedral> a closed topic only the devs can write to :-D
13:42:24 <TrueBrain> dihedral: I think one place to rant is enough ;)
13:42:36 <Yexo> but I won't be mad if it doesn't end up in trunk, because I never expected it to be :p
13:42:46 <dihedral> yes, but it'd show some people that your work does not get committed all the time either
13:42:55 <petern> i'm pissed off that i didn't commit custom bridge heads!
13:42:58 <Belugas> Yexo, nor did you expected been a dev once ;)
13:43:10 <Gekz> Today, I went to my new job at a pre-school. I was really excited because everything was going so well, and a little boy even said he was drawing a picture of me. He even gave it to me when he was finished. Well it was me, but I was also on fire and being stabbed and shot multiple times. FML
13:43:13 <Belugas> we shoyuld open up a few new branches
13:43:37 <TrueBrain> planetmaker: problem fixed; anything else?
13:43:43 <petern> new branches for what?
13:43:58 <dihedral> petern, i would know what for :-P
13:44:00 <glx> let start a new miniin ;)
13:44:10 <dihedral> glx, and let alain manage it
13:44:39 <petern> difference between a dev and a random patcher: a dev knows when his patch is not ready
13:44:41 <Belugas> ho right... i'm not into hg stuff yet...
13:44:42 <Yexo> dihedral: that's no problem, as long as you appoint some coders he can give orders :p
13:44:47 <glx> can't be worse than richk (I remember myself doing all major syncs)
13:45:07 <TrueBrain> glx: on that note, I should be worse too ;) (I never synced NoAI :p)
13:45:11 <Rubidium> ... and fixing his bugs
13:45:19 <Yexo> glx: alain is worse, he can't even sync trivial single patches
13:45:24 <glx> TrueBrain: but at least noai followed the style
13:45:54 <glx> IS (or whatever name it had) was a hell
13:45:59 <Rubidium> and didn't change tabs to spaces for whole files...
13:46:10 <TrueBrain> I knew I forgot something ....
13:46:12 <fonsinchen> Well ... I'll go fixing diagonal levelling now. And when I come back (knowing that I'm not a dev and thus that I can't know if my patch is ready) I'd like to here what problems there are with it ... ;)
13:46:25 * petern wants to see Belugas' delphi port
13:46:29 <TrueBrain> fonsinchen: can you handle that? :p
13:46:49 <dihedral> Yexo, and he compiles with tortoise
13:47:00 <planetmaker> TrueBrain, actually... yes: start again with the "untranslated" strings. search for something and edit a string out of the category so that it changes to "all strings"
13:47:28 <planetmaker> then hit "list" and you have your original 13 strings, but showing category "all strings"
13:47:39 <TrueBrain> planetmaker: nice one :)
13:50:00 *** Dred_furst has joined #openttd
13:51:30 <TrueBrain> Belugas: YOU CHEATER! Taking hugs from petern :(
13:51:36 * TrueBrain goes sit silently in the corner
13:51:50 <planetmaker> TrueBrain, is "last changed" = "all strings" - but why then is the sorting different?
13:52:07 <TrueBrain> planetmaker: last changed is ordered on time, all strings is ordered on string-id
13:52:20 <TrueBrain> (sorting on last-changed is much slower)
13:52:23 <planetmaker> makes perfect sense
13:54:50 <planetmaker> not quite sure how I got there...
13:57:04 *** [com]buster has joined #openttd
13:57:31 *** Phoenix_the_II has joined #openttd
13:57:41 *** HerzogDeXtEr has joined #openttd
13:58:03 <planetmaker> ... I somehow managed to get a list of untranslated strings limited to showing only the last one (STR_885C_BROKEN_DOWN) - but I cannot reproduce it.
13:58:50 <[wito]> Going to get my hair cut!
14:01:08 <Belugas> TrueBrain is jealous! TrueBrain is jealous! TrueBrain is jealous! TrueBrain is jealous! TrueBrain is jealous!
14:01:38 * Belugas hugs tightly TrueBrain
14:02:41 <TrueBrain> planetmaker: you mean in the list? Go to the last string of the list and hit Current ;)
14:02:44 <TrueBrain> if that is what you mean ...
14:03:02 *** [com]buster is now known as Combuster
14:05:02 <planetmaker> TrueBrain, eh? Last string of the list? The current button is on top :)
14:05:29 <planetmaker> yeah. And pressing that doesn't change it. I arrived there again. But must be a very complicated way to get there...
14:05:31 <TrueBrain> you can still hit Edit on the last string of the list :p
14:05:49 <TrueBrain> and when you are editing the last string, and you go to List, you can press Current
14:05:58 <TrueBrain> which gives you a list with only the last element
14:06:11 <planetmaker> I have now showing: "untranslated strings", (13 strings) - list shows only STR_885C_BROKEN_DOWN - pressing current doesn't change that
14:06:15 <TrueBrain> (of course Prev shows you more :p)
14:06:19 <Belugas> "The way richk67 is treated after all his hard work isn't fair either in my opinion."
14:06:38 <planetmaker> pressing "prev" actually shows the list.
14:06:50 <TrueBrain> planetmaker: that is what I am telling you all the time! :p
14:07:00 <TrueBrain> 'current' makes the current string you are editing on top of the list
14:07:05 <TrueBrain> if that is the last item ... the list is pretty small
14:07:45 <planetmaker> TrueBrain, I don't understand.
14:08:01 <TrueBrain> click list, click Edit of STR_885C_BROKEN_DOWN, click List, click Current
14:08:13 <TrueBrain> how is your exam going? :p
14:08:52 <glx> Belugas: yeah c/p is very hard ;)
14:09:06 <EoD> new semester started and i'm feeling already busy... although i skipped one module ;)
14:09:33 *** const86 has joined #openttd
14:09:46 <planetmaker> TrueBrain, ... what does the "current" button than serve purpose-wise?
14:09:56 <TrueBrain> planetmaker: it puts the current string on top of that list
14:09:58 <planetmaker> *what purpose does the button serve?
14:10:06 <TrueBrain> say, you are browsing through the list
14:10:08 <TrueBrain> got lost completely
14:10:12 <TrueBrain> and you just want to see the current string
14:10:15 <TrueBrain> then THAT is your button
14:11:31 <petern> <p style="color:#ccc; text-align:center; font-size:12px"><br />
14:11:47 <TrueBrain> Forked: feel like testing that page I gave you on IE7 and IE8 again? See how far it works?
14:11:58 <TrueBrain> (List, Search, Edit, Prev, First, Next, Category .. all buttons :p)
14:12:20 <TrueBrain> SmatZ: mind testing it for Konqueror?
14:12:38 <planetmaker> but I tested with FF
14:12:50 <EoD> i can test it with links :)
14:13:06 <planetmaker> I can test it with safari maybe tonight.
14:13:19 <TrueBrain> planetmaker: please do :)
14:13:30 <TrueBrain> planetmaker: btw, suggestions for that Current button are welcome; I just know I was missing it :p
14:14:04 <planetmaker> well... honestly I fail to see its use so far.
14:14:19 <planetmaker> also the list page breaks are differently, if I return to the list afterwards
14:14:45 <TrueBrain> 'Current' goes to the current string, so you can start at string 2 yes, if that is what you mean
14:14:49 <TrueBrain> (making Prev show one more string)
14:15:06 <TrueBrain> I have no idea how I could represent that any better :)
14:15:10 <Forked> TrueBrain: I need linky again though
14:15:31 <planetmaker> TrueBrain, me neither right now. But so far the use of that button only leaves me more confused than without :D
14:15:42 <TrueBrain> planetmaker: so simply don't use it ;) :)
14:16:15 <planetmaker> a suggestion though: make it clickable at all times, a toggle between "current" and "all"
14:16:26 <TrueBrain> IE6 has this bug the select-box is visible in search .. lol :p
14:16:34 <planetmaker> so one can revert to the previous list view easily
14:16:39 <planetmaker> by pressing it again
14:16:45 <TrueBrain> What should that button do?!
14:16:53 <planetmaker> undo what "current" does :)
14:17:00 <TrueBrain> you clearly really really don't get it :)
14:17:09 <TrueBrain> okay, you have a list with items: 1, 2, 3, 4, 5
14:17:13 <TrueBrain> you press Edit on entry 3
14:17:17 <TrueBrain> you go to list, and hit Current
14:17:20 <TrueBrain> now the list is: 3, 4, 5
14:17:21 <Forked> TrueBrain: I -think- it works in ie7 .. but since I'm not sure how it should look :)
14:17:27 <TrueBrain> where Prev shows 1, 2, 3, 4, 5 again, and Next is disabled
14:17:40 <TrueBrain> Forked: as long as you can navigate through things
14:17:44 <TrueBrain> (Next / Prev), and search
14:17:46 <TrueBrain> it is fine by me :p
14:18:37 <TrueBrain> planetmaker: so it has NOTHING to do with 'list view' or what ever :) It is like 'Next' and 'Prev', only it puts the current string on top
14:18:39 <planetmaker> TrueBrain, I guess it needs a better name than current.
14:18:45 <TrueBrain> planetmaker: Go To Current
14:19:22 <planetmaker> well... I have the list view. I press "current" and it jumps basically to a random string on top
14:19:30 <TrueBrain> LOL! Yeah .. very random ..
14:19:34 <TrueBrain> see, the same string :p
14:20:59 <Yexo> TrueBrain: when i search for something, click edit, then next, the globally next string is shown, not the next one from the search results
14:21:09 <Yexo> is that intended or not?
14:21:16 <TrueBrain> you closed the search ;)
14:21:20 <TrueBrain> else it would be really confusing
14:21:38 <TrueBrain> (well, you didn't close the search, it did it for you :p)
14:21:56 <Yexo> well, now there is no easy way to edit all strings from a search result
14:22:05 <TrueBrain> Yexo: hit Search again and go to the next one :)
14:22:19 <TrueBrain> I don't see how I could represent such feature in a clear way, that doesn't result in 100 bug reports :)
14:22:32 <TrueBrain> (suggestions are _very_ welcome regarding navigation)
14:22:37 <Yexo> I don't see a solutino either
14:22:48 <planetmaker> TrueBrain, next global, next result?
14:23:04 <TrueBrain> planetmaker: you don't even understand the Current button .. how you think that will end? :p
14:23:31 <TrueBrain> serious, if I can't even make clear what a Current button does, I am very afraid to put two Next buttons on the same page :p
14:24:08 <planetmaker> TrueBrain, "Jump to current"
14:24:36 <TrueBrain> planetmaker: do I also need to change it to: Jump to next and Jump to previous? :)
14:24:39 <planetmaker> and / or have a line saying "current string: <xxx>"
14:24:52 <jonty-comp> javascript majicks
14:25:13 <planetmaker> TrueBrain, the page which has the "current" button has no indication what "current" actually is...
14:25:39 <TrueBrain> I expected people to notice immediatly when clicking on it :)
14:25:45 <TrueBrain> but I will think about an other naming/placing
14:26:11 <planetmaker> right next to the "category" is sufficient space for "Current string: STR_YOU_NAME_IT"
14:27:02 <glx> TrueBrain: the bottom black line is misplaced
14:27:05 <planetmaker> (only str name, not any translation or English text.
14:27:23 *** kingj is now known as KingJ
14:27:23 <TrueBrain> glx: ah, yes, I had to make those things bigger, good you reminded me :)
14:29:11 <glx> prev/first/next are not disabled immediately when you switch category
14:29:30 <glx> but they are when you ckick on them
14:29:56 <TrueBrain> I think you need to be a bit more specific, as I can't reproduce it :(
14:29:56 <glx> I select "all strings" then "untranslated strings"
14:30:13 <glx> the 15 untranslated are all visible
14:30:24 <glx> but prev/first/next are enabled
14:30:47 <TrueBrain> I restarted the service
14:31:07 <TrueBrain> oh, you mean of List?!
14:31:53 <TrueBrain> ah! That is important additional information :)
14:32:00 <glx> sorry was not explicit enough
14:34:29 <welshdragon> is there a station grf that has platforms on only one side?
14:35:22 <TrueBrain> planetmaker: current string like this?
14:35:55 <planetmaker> uohu... it breaks layout
14:36:02 <Yexo> welshdragon: yes, but I can't remember which one
14:36:21 <TrueBrain> planetmaker: ah, with very long strings ...
14:36:29 <welshdragon> there's nothing on GRFCrawler
14:37:47 <Yexo> welshdragon: canadian stations has half platforms
14:38:18 <welshdragon> hmm, won't match my UK game i'm playing currently
14:38:40 <Yexo> the "Basic platforms Set" also has some
14:39:10 <Yexo> also the US Stations Set"
14:39:29 <TrueBrain> planetmaker: grr @ fonts and Rubidium :p
14:40:04 <welshdragon> Yexo, aah, thank you
14:40:09 <planetmaker> I propose to leave out "Category: " and the | and just left align "Current String: NAME" to the button
14:40:22 <planetmaker> without spacing it out.
14:41:11 <TrueBrain> without the | it looks a bit silly
14:42:09 <TrueBrain> planetmaker: does it fit now
14:42:37 <planetmaker> this string I have, yes.
14:42:50 <TrueBrain> STR_VEHICLE_INFO_COST_MAX_SPEED_CAPACITY_CAPACITY_RUNCOST is about the longest we have anyway :)
14:43:02 <planetmaker> STR_VEHICLE_INFO_COST_MAX_SPEED_CAPACITY_CAPACITY_RUNCOST <-- that one, yes.
14:43:15 <planetmaker> Still. Better leave out "Category". It's not needed imo. It's obvious
14:43:30 <TrueBrain> and THAT he finds obvious ;)
14:43:42 <planetmaker> and it looks better without :)
14:44:59 <TrueBrain> you like this more? :)
14:45:16 <Belugas> hey TrueBrain, looks like we hit mister foobar with the same tool ;)
14:45:34 *** [com]buster has joined #openttd
14:45:37 <TrueBrain> Belugas: you send him a PM too? :p
14:45:39 <planetmaker> uhm... TrueBrain sorry, no. Then the previous one was better.
14:45:46 <TrueBrain> planetmaker: I like this more!! :)
14:46:05 <planetmaker> I like the category just to the left. Upper left is main menu always.
14:46:36 <TrueBrain> oeh, even better here :)
14:46:42 <Belugas> yup, i did :) setting the record straight about His Highness
14:47:05 <TrueBrain> Belugas: ghehe :) Maybe than FooBar learns not to say such things without knowing the facts from 2 sides ;)
14:47:08 <planetmaker> TrueBrain, but this order certainly doesn't order the important elements in a logical fashion for us rtl readers
14:47:14 <planetmaker> er... ltr readers :D
14:47:48 <planetmaker> Please, just skip the "Category" text and put it to the upper left as it was :)
14:47:48 <TrueBrain> the whole thing needs updating ...
14:47:54 <Belugas> up to the point he corrected his post, he told me. But i've not had the opportunity to verify
14:48:36 *** Klanticus has joined #openttd
14:48:38 <TrueBrain> "EDIT: Removed something that caused PM flood..." <- hahahaha :)
14:49:03 <TrueBrain> planetmaker: problem is, I am used to category select on top-right .. dunno why :p
14:49:06 *** [com]buster is now known as Combuster
14:49:53 <TrueBrain> (it might have to do most applications have it there .. but that is just my idea :p)
14:50:12 <TrueBrain> but okay ... how to fix the style of this webpage ...
14:50:35 <petern> # oooooooooooooooooooooo
14:52:24 *** pavel1269 has joined #openttd
14:58:52 <Belugas> ho... and play the two first chords of chorus from small E string to big one, in reverse stoke, in other words...
15:00:02 <planetmaker> a song! a song by Belugas! :)
15:00:20 <planetmaker> damn irc has no sound transmission (though probably nice most of the time)
15:00:48 <Belugas> naaaa... it was the chords of Lucky Man, from Emerson Lake And Palmer.
15:01:12 <planetmaker> well... but you might perform it?! :)
15:05:42 <Belugas> at work? don't have my guit around
15:05:53 <petern> i don't have my keyboard either
15:06:19 <petern> i don't think i'll be stabbing knives into it though
15:15:38 *** lewymati has joined #openttd
15:19:47 *** lewymati has joined #openttd
15:23:00 <TrueBrain> planetmaker: I redid the style a bit .. I hope this is nicer for the eye
15:25:24 <planetmaker> TrueBrain, I think that's good :)
15:26:32 <planetmaker> nice that edit/list now changes :)
15:27:32 <TrueBrain> now I wonder why there are untranslated strings in the marked list ..
15:27:36 <TrueBrain> I tell him to filter those :(
15:28:08 <planetmaker> I think that's fine
15:28:17 <planetmaker> I mean... they need attention after all :)
15:28:17 <TrueBrain> res = res.filter(case = None).exclude(marker = 0, translation = None, pending = True) <- I tell him to EXCLUDE those ..
15:28:28 <TrueBrain> yeah, but an other kind of attention; they shouldn't be in that category ..
15:28:37 <TrueBrain> and now it just annoys me it doesn't do what I tell him to :p
15:28:52 <planetmaker> TrueBrain, they're not pending?
15:29:21 <TrueBrain> and the ones who don't have a translation should be excluded!
15:29:28 <planetmaker> or is the "," meaning AND ?
15:30:20 <TrueBrain> euh ... no ... for filter it is AND, for exclude it is OR
15:37:12 <TrueBrain> so planetmaker, anything else? (besides it truly working :p)
15:37:24 *** DaleStan has joined #openttd
15:40:37 <TrueBrain> lol, dutch has a new word: "trein oders"
15:40:40 <TrueBrain> I wonder what that are :)
15:41:34 <planetmaker> TrueBrain, nothing I see right now at this moment.
15:41:37 <TrueBrain> some translated strings ..... :)
15:41:50 <planetmaker> looks like a good job to me right now :)
15:41:53 <TrueBrain> so planetmaker, you say that if I finish the true 'save' function, it is dnone? :)
15:41:57 <TrueBrain> (and it can replace WT2)
15:42:02 <planetmaker> Except comments and suggestions after 4 weeks of active usage :)
15:42:19 <planetmaker> TrueBrain, currently I tend to agree to your statement :)
15:42:24 <Yexo> TrueBrain: have you seen STR_TOWN_EXPAND_WARN_NO_ROADS ? "Het dorps bouwd geen wegen."
15:42:29 <TrueBrain> scary planetmaker :p
15:42:52 <TrueBrain> Yexo: I did notice A LOT of small inconsistancies .. '.' at end of line where english doesn't have it
15:42:54 <planetmaker> drops != town - or do I err?
15:43:12 <TrueBrain> random words translated differently for 4 strings (like train, ship, air, ..) .. then one of the 4 has an other word for the same :p
15:43:13 <Yexo> planetmaker: it's "dorp", not "dorps"
15:43:22 <TrueBrain> it is "bouwt" not "bouwd"
15:43:25 <Yexo> and it's "bouwt" instead of "bouwd"
15:43:29 <TrueBrain> "bouwd" is the worst mistake you can make :(
15:43:52 <planetmaker> Rubidium, that's what I expected it to be :)
15:44:05 <planetmaker> which translates to village.
15:44:13 <planetmaker> at least the German word.
15:44:17 <Yexo> hg.openttd.org gives a 500 error again
15:44:57 <TrueBrain> planetmaker: indeed, it translates to village .. but 'town' is a bit tricky :)
15:44:59 <Rubidium> Yexo: as long as you remember "stam + dt" is always wrong ;)
15:45:11 *** frosch123 has joined #openttd
15:45:53 * Yexo blames habell for that translation
15:46:04 <planetmaker> TrueBrain, "town" is tricky to translate into dutch? Ha, that's strange then :)
15:46:16 <TrueBrain> city and village are simple
15:46:20 <planetmaker> one should think with that many people on that little space you have a word for "town" ;)
15:46:36 <TrueBrain> Yexo: I tend to agree
15:46:38 <Yexo> but that doesn't always fit
15:46:44 <planetmaker> in the German translation we don't distinguish city and town.
15:46:58 <Rubidium> city = whichever town with city rights, the rest is village ;)
15:47:07 <Yexo> How to translate "{WHITE}...must build town first", with "{WHITE}...plaats eerst een plaats"?
15:47:07 <TrueBrain> "De plaats bouwt geen wegen" <- sounds NASTY!
15:47:52 <Rubidium> ... sticht eerst een nederzetting
15:47:55 <TrueBrain> hmm .. I guess I can add a tiny thing to WT3 which remembers where you were last :p
15:47:59 <TrueBrain> so you can continue there next time ...
15:48:09 <Yexo> Rubidium: and yet another word for the same thiing :p
15:48:24 <TrueBrain> Yexo: do you miss anything in WT3?
15:48:38 <Rubidium> as long as you don't use homonyms because that makes some people go haywire
15:48:49 <Yexo> but then it's hard to say without actually translating a bunch of strings
15:49:10 * Rubidium votes for TrueBrain becoming a Dutch translator ;)
15:49:29 <TrueBrain> Rubidium: I am dyslectic, which makes that a bit hard :p
15:49:35 <TrueBrain> 'de' and 'het' tend to be mixed up in my head :p
15:56:32 <TrueBrain> k, enough for today
15:56:37 <TrueBrain> planetmaker: once again, I thank you very much :)
15:57:00 <planetmaker> TrueBrain, my pleasure :)
15:57:46 <TrueBrain> wow, a completely normal and constructive reply from richk ...
15:57:51 <TrueBrain> I think I am going to be sick
15:57:53 <TrueBrain> time to make some food :)
15:58:13 <planetmaker> :D enjoy your food. It'd be wasted, if you throw up
15:59:56 *** subzero22 has joined #openttd
16:00:44 <subzero22> I've been searching and I can't find a page on how to make the newgrf's. can anyone point me in the right direction please
16:02:10 <DaleStan> wiki.ttdpatch.net/tiki-index.php?page=NewGraphicsSpecs
16:16:05 <Rubidium> you did the cooking? ;)
16:18:48 <Forked> I'm all out of effiency
16:24:34 <fonsinchen> so, diagonal levelling is fixed. All edge and corner cases are handled now ... :P
16:25:49 <Belugas> i did indeed, Rubidium :)
16:26:06 <planetmaker> :) sounds nice, Belugas :)
16:26:23 <planetmaker> unfortunately you reminded me, that I'm hungry... now I have to go home...
16:26:23 <Belugas> i had too much vegetables, i had to cook it in two shots ^_^
16:28:06 <fonsinchen> can I get a comment on why you persistently don't like diagonal levelling?
16:29:09 <Rubidium> the subtleties of "don't like" ;)
16:29:10 <Belugas> who said i did not like it? or do you ask for all the devs?
16:29:14 <glx> last implementation didn't work correctly (even the implementor said it)
16:29:24 <Rubidium> 1) I like the patch -> I'm interested in it
16:29:38 <glx> but IIRC nobody said he didn't like it
16:29:44 <Rubidium> 2) I don't like the patch -> I'm personally not interested in it
16:30:05 <Rubidium> 3) I don't like the patch -> it's horribly written and doesn't fit in OpenTTD
16:30:48 <fonsinchen> OK, let's take "it doesn't fit" first.
16:31:03 <fonsinchen> why is it principally different than orthogonal levelling?
16:31:19 <Rubidium> I never came further than #2 (never considered #3)
16:31:40 <fonsinchen> so you actually don't know if it fits?
16:31:45 <Belugas> hooo... the subtility of "Can I get a comment on" which turns into "Let's debate it"...
16:32:13 <fonsinchen> ok, then that's your comment. THank you, very helpful.
16:32:26 <fonsinchen> glx, I have fixed the issue with the left corner.
16:32:51 <fonsinchen> I think it was introduced when different tile heights were allowed at the corners
16:33:01 <fonsinchen> so it might not be my fault.
16:33:07 <dihedral> someone in here with the name Carsten Schnober
16:33:31 <pavel1269> lol dih? why are you searching for him? :-P
16:34:58 <Yexo> fonsinchen: my comment: I like the idea, but I'm not interested enough to invest time to review it properly
16:35:16 <Belugas> fonsinchen, don't take me seriously
16:35:24 <Yexo> mostly because reviewing that patch is difficult
16:35:56 <fonsinchen> why is it more difficult than reviewing other patches?
16:36:07 <dihedral> pavel1269, because he wrote an artikel in a german linux mag and has some openttd details wrong
16:36:14 <glx> it's difficult to review any patch
16:37:01 <fonsinchen> so then we're back to: no one can do anything and we have to wait for someone interested enough to give it a look. Great.
16:37:06 <pavel1269> dih: try forums then ;-)
16:37:14 <Yexo> any non-trivial patch is hard to review, and diagonal leveling takes some time to get used to the iterators
16:37:47 <fonsinchen> The iterators could be used in many places as IMO vey elegant replacement of the tile loop, btw.
16:37:56 <Rubidium> splitting a patch usually helps though
16:38:15 <Rubidium> i.e. one patch to introduce the iterators and rework the 'current' leveling to use it
16:38:21 <fonsinchen> come on, it's 18kb
16:38:23 <Rubidium> and then a patch to introduce the diagonal leveling
16:38:43 <fonsinchen> but ok, I can do that.
16:38:52 <Rubidium> where's that patch btw?
16:39:10 <fonsinchen> the first patch will then be like 16kb and the second one about 2
16:39:39 <fonsinchen> as diagonal levelling is trivial with those iterators.
16:39:51 <Belugas> fonsinchen, from memory, i did about 10 reviews of the patch, counting all versions.
16:39:56 <Belugas> after a while, you're bored
16:40:06 <fonsinchen> I never heard a comment from you.
16:40:21 <fonsinchen> otherwise I would have fixed whatever was wrong with it.
16:41:31 <Belugas> ok..let say all versions but yours
16:42:10 <fonsinchen> again, that's not my fault. I removed the redundant code and the monstrous macros, you know ...
16:44:41 <Rubidium> hmm... typedef enum { ... } Orientations; <- must be begun very very long ago
16:44:43 *** Azrael- has joined #openttd
16:45:28 <Belugas> DiagIterator OrthIterator : to my point of view, those shuold not be that much abbreviated
16:45:51 <fonsinchen> ok, these points are easily fixable
16:45:57 <Belugas> when you're working on the feature, it's fine, but if you do not, meaning is not evident
16:46:21 <Belugas> code style is nice sofar (reading bottom up)
16:46:27 <Rubidium> the viewport stuff uses magic numbers instead of constants
16:46:56 <Belugas> your new functions should have some coments, for our friend doxygen
16:47:22 <Rubidium> ti->tileh & 8 <- I guess there's a wrapper function for that that actually tells what it's doing ;)
16:47:49 <fonsinchen> ok, I'll take care of that.
16:48:24 <fonsinchen> Belugas, I don't understand this comment of yours: "when you're working on the feature, it's fine, but if you do not, meaning is not evident"
16:48:35 <Belugas> LEVEL_LOWER and LEVEL_RAISE : "tabs" before "="
16:48:39 <Rubidium> @@ -2158,12 +2211,20 @@ void UpdateTileSelection()
16:49:18 <fonsinchen> and it would be nice if you could decide on one style of iterators, so that I don't have to maintain both patches.
16:49:22 <Rubidium> in that chunk if (expression) { statement; } else { statement; }, not if (expression) statement; else { statement; }
16:49:31 <Belugas> i mean: put yourself on the position of someone who has not developped the code. he sees it , wonders what it stands for and he will need to search
16:49:40 <Rubidium> go for the C++ style (the rest of the code uses that too)
16:50:00 <Belugas> that's the one i picked :)
16:50:05 <CIA-9> OpenTTD: yexo * r16109 /trunk/src/ai/api/ai_order.cpp: -Fix [NoAI]: Make sure AIOrder::GetDestination always returns a tile belonging to the station
16:50:20 <Rubidium> instance variables should be referred to with this->
16:51:15 <fonsinchen> and Belugas, which one did you pick?
16:51:36 <Rubidium> + return !operator==(other);
16:52:12 <Belugas> "+ * They are equal iff all their members are." iff -> typo or anti-petern synthax? hehehe
16:52:28 <fonsinchen> it means "if and only if"
16:52:52 <Belugas> not required, if you ask me. "if" does the job fine
16:53:01 <fonsinchen> is "!operator==(other)" invalid because of coding style of for some other reason?
16:53:04 <Belugas> but that's just me and petern
16:53:13 <CIA-9> OpenTTD: frosch * r16110 /trunk/src/ (43 files in 2 dirs): -Codechange: use {CARGO} instead hardcoded cargo name (there is always something duplicated :p)
16:53:26 <Yexo> fonsinchen: I have no idea what the actual code style is, but I'd have written "return !(this == other);"
16:53:38 <Yexo> maybe it needs to be *this, but you get the point
16:53:40 <Rubidium> fonsinchen: it looks odd
16:53:43 *** Vikthor has joined #openttd
16:53:45 <TrueBrain> iff is strong then if, but iff is for people who think that every byte is one too many :p
16:54:07 <Rubidium> and when something looks odd, well... better discuss it ;)
16:54:16 <Yexo> "strong then" <- you clearly fall in that category of people :p
16:54:43 <TrueBrain> sometimes I think faster than I type :p
16:55:06 <Rubidium> I always do and thus regularly forget to type complete words
16:55:31 <Rubidium> or make a sentence that well is totally broken
16:55:32 <Belugas> on "DiagIterator::DiagIterator(TileIndex corner1, TileIndex corner2)", i would insert a line between the two if blocks
16:56:07 <Belugas> otherwise, i'll get claustrophobic
16:57:42 <CIA-9> OpenTTD: rubidium * r16111 /trunk/src/ (50 files in 3 dirs):
16:57:42 <CIA-9> OpenTTD: -Cleanup: remove some duplicate/unused strings
16:57:42 <CIA-9> OpenTTD: -Change: move a string to a more sensible location
16:57:53 <frosch123> two digits after the period :)
16:57:55 <TrueBrain> so I should only find one? :p
16:58:25 <fonsinchen> ok, I'm working on it. Thanks a lot, Belugas and Rubidium
16:58:38 <TrueBrain> fonsinchen: welcome in the world of coding-police ;)
16:58:39 <petern> Belugas, src/vehicle_cmd.cpp: * @return True ifffffff the name is unique.
16:58:52 * Belugas is wondering... if the iterators are working fine, then maybe it would be better to have like... a patch that introduces the iterators, another one who substitutes all current macros with your new ones and another one for the diag stuff itself
16:58:53 <petern> i may have been taking the piss
16:59:08 <Belugas> i call it... reactionnary!
16:59:13 <Rubidium> hmm, need to define True ;)
16:59:15 <Belugas> it was funny to see it coming ;)
16:59:48 <Belugas> have fun, fonsinchen, that's all that matters
17:00:11 <Rubidium> fonsinchen: I've only scanned the file for some common coding style thingies; haven't reviewed the code itself
17:01:01 <fonsinchen> Belugas, I can give you a patch that only introduces the iterators without the diagonal levelling
17:01:28 <Belugas> fonsinchen: if (p2 & ORIENTATION_DIAG) { ... } / if (p2 & ORIENTATION_ORTH){ ... }: why not using else? there are other possibilities?
17:01:51 <Belugas> that wold be nice, i think, fonsinchen. as Rubidium asked, i believe
17:01:56 <glx> TrueBrain: pretty status ;)
17:02:29 <Belugas> damned.. still hungry
17:02:33 <frosch123> but 4 digits of precision is really over the top :p
17:02:52 <TrueBrain> glx: like that number has any meaning what so ever :)
17:02:59 <Belugas> see what vacations do? you eat you eat and when back to work, you crave on those small lunches :(
17:03:23 <frosch123> somewhen wt2 had some "3 translators active" or "no translators active"
17:03:52 <frosch123> that might give attraction to certain languages, or maybe not
17:04:13 <TrueBrain> frosch123: so 3? :p
17:04:40 <Rubidium> frosch123: you can't really give a good number for that
17:04:47 <TrueBrain> frosch123: and maybe an idea to give an 'author' overview I guess ;)
17:04:53 <Belugas> fonsinchen: p2 can have how many possibilities as much as orientations?
17:05:05 <Rubidium> if for a long time no strings are changed it gets very low, making people assume nobody is translating it
17:05:07 <TrueBrain> although currently I have a lot of 'unknown' entries .... :(
17:05:37 <Rubidium> and if lots of people change one string and are then done with it... you have a huge number and people assume they are not needed
17:05:53 <frosch123> [19:04] <TrueBrain> frosch123: so 3? :p <- digits of precision, or translation-conscription to fill up translators?
17:06:53 <frosch123> so estimate the date of being finished by extrapolating the translations over the last 6 months?
17:06:56 <TrueBrain> frosch123: first :)
17:07:31 <frosch123> or maybe a translator is only active, if he does 5 strings per months?
17:07:45 <TrueBrain> and if a language is 'done'
17:07:51 <frosch123> or just "0 strings translated last month)
17:08:53 <frosch123> or rather "0 strings translated last month, we need your help! "
17:09:29 <TrueBrain> how about an admin option which can be turned on which adds the text: translators needed
17:09:41 *** |Jeroen| has joined #openttd
17:09:46 <frosch123> might be easier, yes :)
17:09:54 <TrueBrain> might be more consistant and avoid issues ;)
17:10:52 *** Sapakara has joined #openttd
17:12:15 *** tkjacobsen has joined #openttd
17:15:03 <TrueBrain> glx / frosch123: happy? :)
17:16:21 <TrueBrain> I also considered sorting the languages on their completeness
17:16:24 <TrueBrain> but that might be a bit silly ;)
17:16:51 <Rubidium> that makes searching languages quite hard
17:16:54 <TrueBrain> hmm .. around r10000, Esperanto was complete ... nowedays it is missing 600 strings
17:17:01 <TrueBrain> Rubidium: CTRL+F? :p
17:17:56 <frosch123> hmm, "norwegian new"? isn't bokmal and nynorsk official?
17:18:10 <Rubidium> yeah, where does it get that name from?
17:18:37 <TrueBrain> tmp$ head norwegian_nynorsk.txt
17:18:38 <TrueBrain> ##name Norwegian new
17:18:40 <planetmaker> it might be an idea to rather base activeness on revisions / translator commits not active, not time
17:18:43 <TrueBrain> where one might expect to find the 'name'
17:19:14 <Rubidium> how to add/remove cases/genders?
17:19:19 <Rubidium> how to change the plural type?
17:19:33 <TrueBrain> Rubidium: who are you asking that?
17:19:40 <planetmaker> I guess you, TrueBrain :)
17:19:47 <el_en> bokmål is a danish-like way to write norwegian. nynorsk ("newnorwegian") is an alternative, somewhat less used way to write it. not sure if the difference is purely orthographical or also manifests in speech.
17:19:47 <planetmaker> would be a good question actually :)
17:19:50 <TrueBrain> yeah, I wonder why he asks that to me :p
17:20:22 <TrueBrain> Rubidium: those settings will be in a different part of WT3, where we have to see if only admins can change it, or translators too
17:20:43 <TrueBrain> for now, it is not important, as we can do them in SVN too :p
17:21:13 <planetmaker> TrueBrain: giving access to edit genders, cases is sensible for translators, IMO
17:21:42 <Rubidium> well, changing/setting the plural type too
17:21:57 <planetmaker> eedit in this context includes adding that, too :)
17:22:13 <planetmaker> plural is just another gender for me :D
17:22:28 <planetmaker> well... partially :)
17:22:35 <TrueBrain> Rubidium: well, more the question is: isocode, ownname, name, ..
17:22:46 <Rubidium> ownname yes, rest NO WAY
17:22:58 <Rubidium> they ONLY frack it up
17:23:28 <Rubidium> like a serbian dude resetting the isocode every time
17:23:44 <Rubidium> to something we 'do not expect'
17:24:39 <planetmaker> he... do we get a translator commit today?
17:24:58 <planetmaker> I made some bad errors yesterday :)
17:28:31 * glx has 15 pending strings (and 1 untranslatable because WT2)
17:29:07 <TrueBrain> el_en: one only wonders why it is called Norwegian new, and not Norwegian (Nynorsk) (and of course, the other one not Norwegian (Bokmal))
17:29:27 * planetmaker has 66 strings in the DB, 14 thereof untranslated.
17:29:31 <Rubidium> probably because one of the translators overridden it
17:29:50 <glx> ##name is unmodifiable IIRC
17:29:52 <Rubidium> which is why I say name, isocode and the other IDs shouldn't be changed by the translators
17:30:18 <TrueBrain> glx: via SVN it should always be possible :)
17:31:07 <TrueBrain> Rubidium: k, no problem :) I just make a page where those global thingies are present, where you can, as admin, do a bit more :)
17:31:46 <Rubidium> hmm, could also be WT2 itself; it stores the name in like twenty locations and I don't know which one it flushes the file (if it does it)
17:32:10 <Rubidium> and ... it doesn't update it if it changes in SVN
17:33:39 <CIA-9> OpenTTD: translators * r16112 /trunk/src/lang/ (estonian.txt french.txt german.txt hungarian.txt italian.txt):
17:33:39 <CIA-9> OpenTTD: -Update: WebTranslator2 update to 2009-04-21 17:33:19
17:33:39 <CIA-9> OpenTTD: estonian - 13 fixed, 29 changed by kristjans (42)
17:33:39 <CIA-9> OpenTTD: french - 15 fixed by glx (15)
17:33:41 <CIA-9> OpenTTD: german - 14 fixed, 52 changed by planetmaker (66)
17:33:41 <CIA-9> OpenTTD: hungarian - 14 fixed by alyr (14)
17:33:43 <CIA-9> OpenTTD: italian - 13 fixed by lorenzodv (13)
17:34:10 <Quit> I've got a question about the dedicated server system. I put some grfs into the config under [newgrf], but it doesn't seem to load them. Actually I can't even build a train in temperate at 1960.. What's wrong?
17:34:15 <planetmaker> the German language has about 8 translators...
17:34:37 <planetmaker> Quit: do you have the grf files in the server's data directory?
17:35:11 <planetmaker> and you start a new game with the config file you edited, not another one, e.g. local to the binary?
17:35:22 <Quit> ./openttd -c openttd.cfg -D
17:35:28 <Quit> And openttd.cfg in the same directory was modified
17:35:47 <Quit> But it's not loading the grfs
17:36:20 <Quit> right now the config file is reverted
17:36:28 <TrueBrain> German 100.0 % complete (up-to-date)
17:36:47 <Rubidium> then it couldn't find the newgrfs I'd say
17:37:16 <planetmaker> TrueBrain: I very much hoped so :)
17:37:59 <TrueBrain> planetmaker: only leaves you with 91 markers ;)
17:38:04 <TrueBrain> but you can't do anything about that :)
17:38:06 <planetmaker> found some very old, very bad spelling mistakes. Obviously no one changes faces :)
17:38:34 <TrueBrain> planetmaker: although a few of them you can fix in WT2
17:38:38 <planetmaker> or those who change faces have no language ability ;)
17:38:58 <planetmaker> TrueBrain: of those markers?
17:38:59 <TrueBrain> STR_0319_PAUSED for example
17:39:06 <planetmaker> why should I fix that?
17:39:20 <TrueBrain> STR_NETWORK_LANGUAGE
17:39:20 <Quit> Shouldn't I get some information when it can't find the grf?
17:39:22 <TrueBrain> because they are WRONG :p
17:40:06 <TrueBrain> STR_0174_DISPLAY_MAP <- someone added additional text in english, but left the translations :p I doubt any language has the additional part :p
17:40:30 <Yexo> Quit: start with -d grf=4 or so
17:40:54 <frosch123> \o/ 86.0% overall status (it was 85.9 before)
17:42:05 <Quit> right now it's flooding the ssh
17:43:10 <Yexo> try a lower debug level, like grf=2
17:43:15 <glx> TrueBrain: I like the "new" search :)
17:43:32 <TrueBrain> glx: that makes me happy :)
17:45:47 <Quit> It seems like it's reading the files
17:46:01 <Quit> At least this seems to work
17:46:28 <Quit> I shouldn't have asked a windows guy to give me his config part .
17:47:18 <TrueBrain> Aquarium Supplies Export
17:47:19 <TrueBrain> Source D&B verified suppliers at HKTDC's award-winning eMarketplace
17:47:23 <planetmaker> STR_NETWORK_SERVER_REBOOT <-- has a space too much in english.txt
17:47:30 <TrueBrain> You got to love GoogleAds :p
17:47:33 <TrueBrain> (totally NOT related)
17:48:13 <planetmaker> also ... SHUTDOWN
17:51:49 <glx> Quit: hardcoded windows paths?
17:53:04 <planetmaker> Wolf01: what's up?
17:54:13 * frosch123 ponders creating a topic in suggestion forum starting with "I have a great idea!"
17:54:34 <TrueBrain> frosch123: depends on that great idea ;)
17:55:06 <Belugas> glx, maybe the directory separators? like / vs \ ?
17:55:14 <frosch123> like "Add some scenarious which you have to complete, to be able to activate certain features, like bridges over a lot of thing."
17:55:17 <planetmaker> yeah! great ideas thread! "If you have a great idea. Please put it here."
17:55:57 <Belugas> hum... like Nekobladder and his graphics thread?
17:56:10 <planetmaker> oh... how did you get that notion? :P
17:56:33 <TrueBrain> planetmaker: are you now mocking Belugas?! :P
17:56:40 <frosch123> planetmaker: Nice, I would enjoy such a topic :)
17:56:51 <Quit> It's working now, after replacing them
17:57:21 <glx> yes that was the other suggestion
17:57:34 <glx> win32 version handles both
18:18:42 <TrueBrain> to make Rubidium happy :)
18:21:49 <frosch123> only 5 genders? does that support marsians?
18:22:14 <TrueBrain> hahaha :) Why would you assume you can only have 5 genders?
18:22:27 <frosch123> because they expand dymamically :)
18:22:35 <TrueBrain> I think a more logic conclusion is that you have an empty field where you can enter a new gender .. after which there is yet an other new field where you can enter a new gender ...
18:23:26 <planetmaker> nice one, TrueBrain :)
18:24:38 <TrueBrain> I only need to work out a way so you can change genders and cases without things freaking out on next commit :p
18:24:47 <planetmaker> just an idea in order to make orientation for new translators easier: comments on the genders :)
18:25:01 <planetmaker> because, if I didn't know, I would really wonder what gender "p" is :)
18:25:30 <TrueBrain> you mean a field for translators to give a comment with a gender?
18:25:38 <TrueBrain> same for cases, I guess
18:25:47 <planetmaker> yes. just a ~5 word comment right of the genders at that page
18:26:00 <planetmaker> no other place that string / explanation is needed
18:26:09 <planetmaker> TrueBrain: yeah, probably there, too :)
18:28:02 <planetmaker> but.... German language has at least in OpenTTD no cases :P
18:28:02 <planetmaker> ... so I'm not asking for it ;)
18:58:44 *** fonsinchen1 has joined #openttd
19:13:10 *** Illegal_Alien has joined #openttd
19:13:45 <CIA-9> OpenTTD: yexo * r16113 /trunk/src/ (5 files in 2 dirs): -Feature [NoAI]: Add UseAsRandomAI as function in info.nut. When an AI returns false, it'll never be chosen as random AI.
19:21:26 <TrueBrain> what a stupid name: 'Quit' :p
19:23:11 <planetmaker> Yexo: what is the default value for that new feature?
19:23:50 <Yexo> it's for AIs like TownCars
19:24:14 <planetmaker> I suspected that... :) just checking :)
19:24:38 <planetmaker> I still like the town AI idea.
19:25:07 <planetmaker> When I recently started a small test game I was left wondering why suddenly cars were driving in that town - till I realized that I have one AI active by default: town AI :D
19:33:55 *** Yexo is now known as Guest1477
19:42:44 <fonsinchen1> coding style problems have been solved.
19:43:01 <fonsinchen1> (and this is diagonal levelling)
19:43:34 *** |Jeroen| has joined #openttd
19:52:27 <Yexo> fonsinchen1: + / 2, <- can you please not break lines halfway a computation? After an argument is fine, not halfway in it
19:55:38 <Yexo> + return (cost.GetCost() == 0) ? CMD_ERROR : cost; <- that test it not foolproof, since deleting some tiles gives you money (like removing rail tiles)
19:57:24 <Yexo> Initialize the orthogonal tile iterator; only called from constructor <- Since both the constructor and Init are very small, I would merge Init in the constructor
19:58:10 <Yexo> forget that, didn't see the second constructor
20:04:23 <Swallow> Why are you using bitflags for ORIENTATION_XX and LEVEL_XX?
20:05:10 <Swallow> A bit mask implies (to me at least) that more options can be set at the same time, but that isn't really the case here
20:11:43 *** Nite_Owl has joined #openttd
20:11:43 <fjb> I tried that cargodist patch. The results are a bit expected.
20:11:49 <Yexo> fonsinchen1: /* If TileX(current) == 0 here, the left edge of the map has been reached. <- what about the situation where the iterator starts at 0,0 ?
20:12:45 <fonsinchen1> yexo, that has been covered by current++ in the line before
20:13:01 <fjb> Uh, wwhere did the "un" go? I meant unexpected.
20:13:19 <Yexo> fonsinchen1: indeed, the "left edge" confused me
20:13:43 <fonsinchen1> and where is that line break you mentioned before?
20:14:01 <fonsinchen1> fjb, what was unexpected?
20:14:12 <TrueBrain> working on WT3 is nice .. you find tons of weird things in strgen and friends ;)
20:14:13 <Yexo> CreateEffectVehicleAbove(TileX(tile) * TILE_SIZE + TILE_SIZE <- that's the line before
20:15:12 <fjb> fonsinchen1: Cargo accumulates at unexpected places.
20:16:15 <fonsinchen1> fjb it should accumulate at the weakest points in your network
20:16:26 <fonsinchen1> or are you using transfer and unload orders?
20:16:41 <fonsinchen1> then it can accumulate anywhere as those override the cargo distribution
20:17:04 <Yexo> fonsinchen1: in inline bool operator==(const OrthogonalIterator & other) const <- it's codingstyle to add the && to the end of the line before, not to the beginning of the new line
20:17:24 <Yexo> and start the second line with 2 extra tabs, not just 1
20:18:03 <Yexo> inline bool operator==(const OrthogonalIterator & other) const <- Dunno about the space after &, I'd leave it out, but as I said, I'm not sure
20:19:33 <frosch123> no space "&other" and "*other"
20:19:41 <fjb> I did only use unload orders, no transfer and no leave empty. I had cargo queued for go via stations.
20:21:04 <fonsinchen1> fjb, unload orders are entirely enough to confuse it.
20:21:09 <CIA-9> OpenTTD: rubidium * r16114 /trunk/src/ (55 files in 4 dirs): -Cleanup: unify some more strings and remove some more unused strings
20:21:24 <fonsinchen1> unload makes it deliver cargo even if it doesn't want to
20:21:35 <SmatZ> Yexo: no space after & :)
20:21:53 <petern> what about the via stations?
20:22:14 <fonsinchen1> petern, I don't get the question
20:22:37 <fonsinchen1> and OK, I'll remove all the spaces after & ...
20:23:00 <petern> fjb wrote "i had cargo queued for go via stations"
20:23:58 <fjb> Oh, sorry, just looked at it. Not even unload. I have just orders "load one cargo till full" at the start and "go there and do what you want" orders. Some "go via" orders in between.
20:24:21 <fonsinchen1> what "go via" orders?
20:24:37 <fonsinchen1> is it allowed to load and unload at these stations?
20:24:50 <petern> it's a go via order, so no
20:24:57 <Yexo> no, a vehicle will not even stop at those stations
20:24:59 <fonsinchen1> this confuses it, too
20:25:03 <Yexo> it'll only use them as waypoint
20:25:04 <fjb> Go nonstop via that road stop.
20:25:21 <fonsinchen1> perhaps that could be fixed though
20:25:51 <fonsinchen1> I could update the capacities only when the vehicle actually starts loading/unloading
20:26:08 <fonsinchen1> can I see a savegame?
20:26:27 <Yexo> fonsinchen1: Swallow already mentioned it, but it's a bit odd to have LevelMode as a bitset
20:26:44 <Yexo> it's not like you ever want to raise and lower a tile at the same moment
20:26:45 <fjb> Yes. But my webserver is down at the moment. Where can I put it?
20:27:01 <fonsinchen1> upload it in the forum thread
20:27:07 <fonsinchen1> yexo, will be fixed
20:28:06 <fonsinchen1> ah, no, there is a reason this is a bitset
20:28:31 <fonsinchen1> the orientation is also a bitset
20:28:50 <Yexo> that's no reason for this to be a bitset
20:28:55 <fonsinchen1> and both orientation and level mode are encoded in the same parameter for CmdLevelLand
20:29:10 <fonsinchen1> so both need to be bitsets
20:29:11 <Yexo> just add a 3rd entry LEVEL_LEVEL and encode it in 2 bits
20:29:37 <fonsinchen1> then it'll still be a bitset
20:29:42 <fonsinchen1> or I don't get it.
20:32:41 <Yexo> if it's still unclear I'll write some more code
20:33:44 <fonsinchen1> what does that mode < LEVEL_END give me?
20:33:51 <Yexo> checking for valid values
20:34:09 <fonsinchen1> how could it be invalid?
20:34:27 <Yexo> a modified client can send whatever it wants to the docommands
20:34:38 *** [1]KenjiE20 has joined #openttd
20:34:38 *** KenjiE20 is now known as Guest1485
20:34:39 *** [1]KenjiE20 is now known as KenjiE20
20:34:59 <Yexo> at the start of any DoCommand function, assume every parameter to be unsafe
20:35:42 <petern> it was fun when we used to assert on it :p
20:36:28 <TrueBrain> wasn't it DV who made a 'mode' which randomly sends junk to all docommands to test them? :)
20:37:23 <Rubidium> TrueBrain: that's lame; randomly is totally pointless
20:37:35 <TrueBrain> Rubidium: it returned tons of errors and problems :)
20:37:41 <TrueBrain> made the network-code much more stable
20:37:47 <Rubidium> you need to check each and every permutation of parameters
20:38:27 <SmatZ> if there were no parameter checking in docommands, random generator would catch 99% of errors
20:38:30 <Yexo> only for else if should have {} around it
20:38:34 <Yexo> and a switch might be nicer
20:38:36 <SmatZ> but it's not the case anymore
20:38:47 <TrueBrain> SmatZ: we have grown big :)
20:38:50 <fonsinchen1> ok, a switch then
20:39:10 <Yexo> in that case you can even do without LEVEL_END, just use default: to return an error
20:40:16 <Yexo> inline DiagonalIterator & operator++() <- missing space after the second if
20:41:45 <Yexo> in DiagonalIterator::OutsideMap, why not use TileIndex operator*() instead of duplicating that code?
20:44:11 <fonsinchen1> yes, you're right.
20:45:45 <fonsinchen1> no space after & also for function declarations?
20:46:54 <fonsinchen1> inline OrthogonalIterator &operator++()
20:47:08 <fonsinchen1> ok ... if you like it that way.
20:53:31 <TrueBrain> and it turns out I need to do a lot more for WT3 than I was hoping for .... string validation is going to be a bitch, and requires more data :(
20:54:09 <petern> grammar and spelling checking's a bitch too
20:54:52 <el_en> makes one think how wise was it to stick to a proprietary translation system.
20:54:57 <Belugas> so much that i'd run home
20:55:02 <Belugas> in fact, i'll run home
20:55:14 <TrueBrain> el_en: what do you mean?
20:55:42 <petern> i've seen other peoples web translators
20:56:02 <TrueBrain> (I only know the PHP one .. and that is not a 'web' translator .. it uses CVS :p)
20:56:44 <el_en> TrueBrain: if the localization was done through some "normal" method such as gettext, there'd be plenty of tools for translating and proofreading... and no TrueBrain spending time on WT3.
20:56:47 <TrueBrain> petern: if you remember .. I am seriously wondering how others approached this problem :)
20:56:59 <TrueBrain> el_en: point me to one gettext webtranslator :)
20:57:31 <TrueBrain> (btw, OpenTTD uses things that GetText doesn't support, and which is what is making my job so much harder ;))
20:58:22 <el_en> TrueBrain: launchpad.net
20:59:37 *** [com]buster has joined #openttd
20:59:50 <TrueBrain> stats page looks the same :p
21:00:51 <TrueBrain> searching is totally borked :) Already getting 'invalid' pages :)
21:01:01 <petern> afaik most translation systems only deal with static text with the occasional format string thrown in
21:01:20 <fjb> Hm, how do I make a for loop with a shell script?
21:01:21 <TrueBrain> el_en: it looks a lot like WT2
21:01:32 <TrueBrain> fjb: for i in `ls`; do echo $i; done
21:01:43 <el_en> petern: well yes, OTTD's system with gender-and-such support is cool, but wasn't there initially.
21:01:59 <TrueBrain> el_en: more the problem is we use stuff like {STRING} and {COMPANY}
21:02:13 <TrueBrain> gettext is not really friendly towards such stuff :) (although not impossible)
21:02:21 <TrueBrain> anyway, WT3 will also support gettext :)
21:02:26 <TrueBrain> (for openttd.org translation)
21:02:56 <el_en> gettext wouldn't recognize them as variables, that's true.
21:03:58 <fjb> TrueBrain: I want some arbitrary number, not counting real (or virtual) world things like files in a directory.
21:04:22 <TrueBrain> fjb: impossible in bash; so use 'seq' if you want to fake it
21:04:31 <petern> for i in {1..5}; do echo $i; done
21:04:57 <TrueBrain> maybe I shouldn't have used 'bash' in that sentence :)
21:04:59 <TrueBrain> fair enough petern ;)
21:05:25 <petern> you mean impossible in a cross-shell compatible script :)
21:05:38 *** [com]buster is now known as Combuster
21:05:47 <petern> although being shell, using seq is perfectly reasonable
21:06:02 <fjb> Ok, something that works in sh, csh or tcsh. Even bash would be ok. :-)
21:06:14 <petern> for i in `seq 1 5`; do echo $i; done
21:06:50 <petern> (incidentally is it possible to stop MB using ` instead of '? :p)
21:07:04 *** E5|padshance has joined #openttd
21:07:42 <SmatZ> all useful commands start with "g" at non-linux systems :-D
21:08:04 <fjb> Not really... gtar is a pain.
21:08:29 <SmatZ> fjb: but then it will hardly be portable
21:08:45 <petern> wonder why 127.0.0.1 needs a translation... :/
21:08:50 <E5|padshance> anyone here can explain me what is bananas? (dont answer "its a fruit")
21:09:11 <fjb> I just need to deal with my 150 gpt partitions.
21:09:34 <Sacro> E5|padshance: it's a fruit
21:09:43 <Sacro> E5|padshance: it's a herb
21:09:47 <fjb> 127.0.0.1 = where all the kewl stuff is :-)
21:10:11 *** NightKhaos has joined #openttd
21:10:21 <TrueBrain> E5|padshance: try typing bananas.openttd.org
21:11:04 <fjb> Oh, gpt has a limit of 128 partitions.
21:25:33 *** KenjiE20 is now known as Guest1489
21:25:33 *** KenjiE20 has joined #openttd
21:32:18 <fjb> seq is really doing what I need. Thank you.
21:33:19 <TrueBrain> welcome in the wonderful world of shell scripting :)
21:33:26 <TrueBrain> tons of small tools that do tons of small things ...
21:33:40 <TrueBrain> using a lot of resources ... ;)
21:34:32 *** thingwath has joined #openttd
21:34:59 <CIA-9> OpenTTD: rubidium * r16115 /trunk/src/ (strgen/strgen.cpp table/strgen.h): -Change: make strgen able to 'export' the important command and plural information so external tools can easily get that information instead of needing manual updating
21:37:53 <fjb> I'm not using real scripts, tcsh's foreach command and seq is all I need.
21:41:32 <CIA-9> OpenTTD: rubidium * r16116 /trunk/src/table/strgen.h: -Fix (r16115): note to self: copy the right subversion config file from 'the other' computer otherwise it won't do what you expect it to do, like automatically setting svn:eol-style and svn:keywords.
21:43:48 *** fonsinchen has joined #openttd
21:44:29 <welshdragon> Rubidium, fail :P
22:14:35 *** TheMask96 has joined #openttd
22:20:44 <welshdragon> i just fatal error'd OpenTTD with Infrastructure Sharing Beta 2
22:21:40 *** Combuster has joined #openttd
22:22:40 <fjb> Did the infrastructure share you?
22:23:47 <Aali> I wasn't aware that we had released a beta2
22:25:11 <welshdragon> aah, beta 1, my mistake
22:29:53 *** Brianetta has joined #openttd
22:30:41 <SmatZ> welshdragon: another case of demolishing rail belonging to two players at once?
22:30:58 <welshdragon> SmatZ, more than likely
22:32:50 <SmatZ> welshdragon: seems it was caused by either building or demolishing a depot
22:33:07 <welshdragon> i didn't demolish a depot
22:35:04 <Aali> either way, IS 2.0 beta1 has a bunch of trunk bugs, you should really use the latest version
22:35:44 <SmatZ> there was a bug allowing you to destroy others' tunnels and bridges
22:35:59 <Aali> not to mention the memory leaks
22:36:31 <SmatZ> openttd-is2/src/infrastructure.h:53: warning: inline function ‘bool CompanySharingSettingsEntry::Equals(CompanySharingSettingsEntry*)’ used but never defined
22:36:47 <SmatZ> and then it fails to link to it
22:36:52 <SmatZ> maybe it should be un-inlined
22:42:47 *** Simplicity has joined #openttd
22:43:40 <Simplicity> i was wondering if there where any openttd officials here, i could talk with ..
22:46:21 <SmatZ> all officials are hiding
22:46:32 <SmatZ> they may reply if you ask
22:46:41 <SmatZ> but won't if you don't ask
22:48:20 <welshdragon> Aali / SmatZ i would play IS 2.0 latest beta, i just can't code to make my own win32 binary
22:48:41 <SmatZ> welshdragon: I can't help :(
22:50:32 <Aali> welshdragon: well, the latest beta is beta1, you'd have to get it from the repo
22:50:48 <Aali> we should really get beta2 ready though :P
22:51:38 <welshdragon> yes, you should ;)
23:31:32 *** Polygon has joined #openttd
23:34:57 <CIA-9> OpenTTD: translators * r16117 /trunk/src/lang/ (french.txt german.txt hungarian.txt italian.txt):
23:34:57 <CIA-9> OpenTTD: -Update: WebTranslator2 update to 2009-04-21 23:34:40
23:34:57 <CIA-9> OpenTTD: french - 1 changed by glx (1)
23:34:57 <CIA-9> OpenTTD: german - 6 changed by planetmaker (6)
23:34:57 <CIA-9> OpenTTD: hungarian - 1 fixed by alyr (1)
23:34:59 <CIA-9> OpenTTD: italian - 2 fixed by lorenzodv (2)
23:41:13 <CIA-9> OpenTTD: rubidium * r16118 /trunk/src/ (167 files in 9 dirs): -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
23:46:34 *** KingJ is now known as kingj
continue to next day ⏵