IRC logs for #openttd on OFTC at 2015-05-27
            
00:05:14 *** JacobD88 has joined #openttd
00:07:10 *** JacobD88 has quit IRC
00:09:18 *** Biolunar has joined #openttd
00:11:44 *** sla_ro|master has quit IRC
01:18:23 <Eddi|zuHause> dear mr. munroe. you forgot doctor horrible. how could you!
01:23:29 *** FLHerne has quit IRC
02:03:44 *** LadyHawk has joined #openttd
02:11:59 *** supermop has joined #openttd
02:20:17 *** liq3 has joined #openttd
02:26:38 *** Pikka has joined #openttd
03:18:50 <supermop> this little aerotrain wont drive into the station
03:24:58 <Pikka> why not?
03:27:51 *** JezK has joined #openttd
03:38:03 <Eddi|zuHause> probably wrong railtype
03:38:14 <Eddi|zuHause> or stale reservation
03:42:48 <supermop> nah checked all that
03:43:28 <supermop> even demo'ed and rebuilt the station throat as is, and next train of timetable had the same issue
03:44:48 <supermop> so there are two platforms, with a 'waypoint' station in front
03:44:55 <Eddi|zuHause> so how exactly do you expect us to give you better answers than a magic 8 ball with this information?
03:45:13 <supermop> idk where to put a save game
03:45:17 <Eddi|zuHause> oh. waypoint. no that doesn't work
03:45:45 <Eddi|zuHause> the pathfinder will stop at finding a path to the waypoint, and ignore that the platform behind it is occupied
03:45:58 <supermop> hmm
03:46:00 <supermop> well
03:46:06 <supermop> heres the thing
03:46:36 <supermop> when its just a double slip before two platforms, both with the same waypoint in front, it works
03:47:15 <Eddi|zuHause> you could try entry/exit signals, if the junction is not complicated
03:47:29 <Eddi|zuHause> then the reservation state of the platform is irrelevant
03:47:29 <supermop> but, when one edge of the double slip has an extra feather on it to a non destination platform it will not
03:47:56 <supermop> so if first row is [1][2][2]
03:48:09 <Eddi|zuHause> you know you can make screenshots, right?
03:48:16 <supermop> haha
03:59:28 *** DDR has quit IRC
04:05:46 *** glx has quit IRC
04:38:07 *** shirish has joined #openttd
04:45:07 *** shirish has quit IRC
04:54:12 *** Biolunar_ has joined #openttd
05:01:13 *** Biolunar has quit IRC
05:51:29 *** solatis has joined #openttd
05:51:30 *** Pikka has quit IRC
05:56:48 <solatis> hmmm when using FIRS, there are certain industries that increase production rate when you deliver cargos to it. for example, the Port accepts goods and alcohol, and produces engineering supplies
05:57:10 <solatis> now, this Port increases production twice or quadruple when you deliver some of its cargos
05:57:44 <solatis> does that mean that, even if i deliver thousands and thousands of cargos to a Port in a 3 month period, it will be remain capped at, say, a production of 500 a month?
06:56:01 *** Eddi|zuHause has quit IRC
06:56:15 *** Eddi|zuHause has joined #openttd
07:48:06 *** jaydodge1975 has joined #openttd
07:55:46 *** Pikka has joined #openttd
08:00:15 *** jaydodge1975 has left #openttd
08:06:01 *** andythenorth has joined #openttd
08:09:52 *** sla_ro|master has joined #openttd
08:11:06 <Pikka> exactly
08:13:24 <andythenorth> yes
08:13:35 * andythenorth has probably finished vomiting now
08:13:38 <andythenorth> also a bonus
08:13:55 <Pikka> that's definitely a good thing
08:14:15 <andythenorth> seems better
08:14:22 <andythenorth> all things consdered
08:14:50 <andythenorth> FIRS Ports eh
08:15:58 <Pikka> does it?
08:16:19 <andythenorth> think so
08:16:44 * andythenorth should code ‘level up’ for supplies
08:17:09 <andythenorth> looks like a day in bed for me, owing to gastric reasons
08:17:32 <Pikka> as long as you have a computer in reach, no reason not to have FIRS all fixed up by tonight, right?
08:17:41 <andythenorth> by lunchtime probably
08:17:47 <andythenorth> totally 2.0
08:17:59 <Pikka> then you can make a start on roadtypes
08:18:59 <andythenorth> done by teatime
08:24:36 *** sla_ro|master has quit IRC
08:30:51 *** roidal has joined #openttd
08:34:41 *** wicope has joined #openttd
08:36:47 *** Ketsuban has joined #openttd
08:40:10 * andythenorth makes pixels
08:40:30 <andythenorth> Pikka: have you worded then?
08:40:40 <Pikka> the uni words? yes
08:40:45 <Pikka> the industry words, not yet.
08:43:15 <andythenorth> one thing at a time
08:43:17 <andythenorth> or two
08:45:02 <andythenorth> silos at the grain mill eh?
08:51:19 *** Celestar has joined #openttd
09:00:53 *** Celestar has quit IRC
09:09:12 *** |Truth| has quit IRC
09:11:40 *** Celestar has joined #openttd
09:33:32 *** sla_ro|master has joined #openttd
09:34:21 *** JacobD88 has joined #openttd
09:58:19 *** urdh has quit IRC
10:05:59 *** Celestar has quit IRC
10:06:04 *** Celestar has joined #openttd
10:06:08 *** JacobD88 has quit IRC
10:08:07 *** urdh has joined #openttd
10:16:30 *** sla_ro|master has quit IRC
10:28:39 *** andythenorth has quit IRC
10:30:36 *** andythenorth has joined #openttd
11:06:53 *** sim-al2 has quit IRC
11:44:00 *** Pikka2 has joined #openttd
12:13:13 *** JezK has quit IRC
12:23:52 *** Celestar has quit IRC
12:23:55 *** Celestar has joined #openttd
12:29:54 *** andythenorth has quit IRC
12:36:38 *** Celestar has quit IRC
12:40:28 *** Celestar has joined #openttd
13:02:47 *** andythenorth has joined #openttd
13:19:18 *** sla_ro|master has joined #openttd
13:31:44 *** Pikka has quit IRC
13:39:05 *** peter1138 has quit IRC
13:39:07 *** peter1138 has joined #openttd
13:44:01 *** wicope has quit IRC
13:51:42 *** glevans2 has quit IRC
13:52:35 *** glevans2 has joined #openttd
14:03:38 *** glevans2 has quit IRC
14:05:29 *** glevans2 has joined #openttd
14:35:58 *** smoke_fumus has joined #openttd
15:34:33 *** andythenorth has quit IRC
15:44:52 <supermop> some day i hope to play Eddi|zuHause 's train set
15:59:28 <Eddi|zuHause> don
15:59:31 <Eddi|zuHause> 't hold your breath
16:22:04 *** shirish has joined #openttd
16:28:16 *** shirish_ has joined #openttd
16:35:08 *** shirish has quit IRC
16:41:34 *** Alberth has joined #openttd
16:41:34 *** ChanServ sets mode: +o Alberth
16:42:19 *** supermop has quit IRC
16:42:43 *** wicope has joined #openttd
16:49:23 *** shirish_ has quit IRC
16:49:42 *** shirish has joined #openttd
16:54:57 *** kamnet has joined #openttd
16:55:07 <kamnet> Any NFO ninjas hiding in here?
16:55:29 <Alberth> we probably wouldn't know, would we? :)
16:55:50 <kamnet> Well, I'm assuming an NFO ninja would know if they're hiding here.
16:56:28 <Alberth> true, but if he told you, he wouldn't be hiding :)
16:56:57 <Alberth> but there is very little nfo talk here, in general
16:56:59 <kamnet> Not anymore, no. but if I were to need his or her assistance, how else would I know?
16:58:03 <kamnet> Well fiddle-faddle. i was hoping to get an answer today.
16:58:28 <Alberth> in general, you don't know, until you get an answer
17:06:40 <kamnet> Meh. Guess I'll go post it.
17:07:23 <Alberth> probably a good idea
17:15:31 *** Celestar has quit IRC
17:15:58 *** Progman has joined #openttd
17:20:19 <Alberth> kamnet: euhm sure you posted in the right forum?
17:21:39 <kamnet> Did I? Hm good question. Lemmie go look.
17:22:39 <kamnet> Well, of course I didn't! Why would I do that?
17:23:00 *** solatis has quit IRC
17:25:46 <Alberth> but if that's all, my guess is that you can simply delete the nfo
17:26:19 <Alberth> the 8 action is identification of the grf, and the A action is 'replace a TTD sprite'
17:31:15 <kamnet> AH! Now I think I got it.
17:32:02 <kamnet> So I should be able to replace 2 * 5 0A 01 12 2D 04 with 2 * 4 01 04 01 02, yes?
17:32:37 <Alberth> it's Graphics Development instead of OpenTTD Development ?
17:33:07 <kamnet> *headdesk* Lord help me. I'm not having a good day today.
17:33:34 <kamnet> I'm trying to distract myself, really. My cat injured himself last night andd he can't be seen by a doctor until tomorrow.
17:34:06 <Alberth> as for your suggestion, don't know. My Ninja-ness of action 1 is less than present, unfortunately :(
17:34:09 <Alberth> :(
17:34:30 <kamnet> well I guess I could just try it. What's the worst that can happen?
17:34:47 <Alberth> crash of openttd, probably
17:34:53 <Alberth> but that's not a real problem
17:35:05 <kamnet> As long as it doesn't activate Skynet
17:35:21 <Alberth> we hope that every time :)
17:35:30 <Eddi|zuHause> you should never be able to crash openttd with a newgrf
17:36:41 <Eddi|zuHause> kamnet: maybe you should look at m4nfo for station making, and then just put the sprites in there
17:38:30 <kamnet> I'd consider it if I was going to do anything more than just convert this one over
17:39:10 <Eddi|zuHause> that is really the same effort
17:40:07 <Eddi|zuHause> turning the actionA into an action1 is the least of your problems...
17:40:42 <Eddi|zuHause> because an unused action1 really does nothing at all.
17:41:48 <Eddi|zuHause> all the other station infrastructure, like categorizing it into the GUI, defining a spritelayout, making it compatible with railtypes, etc. is not in the old .exe
17:47:06 <kamnet> *grumbles* Yeah... arglebargle.
17:47:10 <kamnet> alright bbiab
18:02:24 *** andythenorth has joined #openttd
18:05:37 <Alberth> hi hi
18:05:50 <andythenorth> o/
18:06:43 <kamnet> Good afternoon
18:06:45 <kamnet> Or evening
18:10:47 *** TheMask96 has quit IRC
18:15:21 *** TheMask96 has joined #openttd
18:22:00 *** frosch123 has joined #openttd
18:26:09 <Alberth> o/
18:26:51 <frosch123> hoi
18:28:29 <andythenorth> quak
18:28:34 <frosch123> kamnet: http://www.tt-forums.net/viewtopic.php?f=26&t=62069 <- the grf2nfo is useless, you can only reuse the sprites, nothing of the nfo. start from scratch :)
18:29:12 <kamnet> This may be more of a headache than I want right now :D
18:33:47 *** roidal has quit IRC
18:39:52 *** urdh_ has joined #openttd
18:45:01 *** HerzogDeXtEr has joined #openttd
18:51:48 <frosch123> None does not compare with None, right?
18:51:57 <frosch123> so, None sucks, i need some NO_PARAMETER
18:56:02 *** glx has joined #openttd
18:56:02 *** ChanServ sets mode: +v glx
18:58:33 <Alberth> ?
18:58:46 <Alberth> None == None gives True
18:58:56 *** tokai|mdlx has joined #openttd
18:59:45 <frosch123> oh, it does?
19:00:04 <Alberth> maybe you are confused with NaN? :)
19:01:28 <Alberth> as None is a singleton, you're recommended to use None is None
19:02:20 <frosch123> well, i am comparing lists
19:02:28 <frosch123> and some members may be None
19:04:01 *** tokai|noir has quit IRC
19:05:14 <Alberth> [0, None] == [None, None] is False
19:06:22 <Alberth> or pair-wise: for a, b in zip([0, None], [None, None]): if a == b: ...
19:12:03 <frosch123> https://paste.openttdcoop.org/pvqtvtuku?/pvqtvtuku <- ok, that leaves only the ugly ternary :)
19:14:46 <Alberth> can't you do that in the bottom hunk?
19:15:50 <frosch123> it uses the base_cmd inbetween
19:15:52 *** kamnet has quit IRC
19:16:04 <frosch123> and it needs to compare literal with get_translated_cmd
19:16:46 <frosch123> hmm, though one could remove the entire if think
19:16:50 <frosch123> and always compare per element
19:17:14 <Alberth> I'd rewrite to explicit loops with an 'if', or insert a function in it
19:19:06 *** FLHerne has joined #openttd
19:26:20 *** shirish_ has joined #openttd
19:28:20 *** liq3 has quit IRC
19:30:43 <frosch123> https://paste.openttdcoop.org/pguqqq4ko?/pguqqq4ko <- now the diff is unreadable though :p
19:33:03 *** shirish has quit IRC
19:34:23 *** Biolunar_ has quit IRC
19:35:42 <Alberth> since the length of both lists matches:
19:35:42 <Alberth> for base_name, lng_name in zip(base_info.commands, lng_info.commands): if base_name is not None: base_name = base_name.get_translated_cmd(); # similar with lng_name
19:35:49 <Alberth> otherwise seems fine
19:37:15 <frosch123> weird stuff :)
19:37:52 <Alberth> bit of functional programming :)
19:38:05 <frosch123> but i cannot get the "i" for the position
19:38:19 <Eddi|zuHause> enumerate(zip(blah))
19:38:49 <Alberth> ha! for i, (base_name, lng_name) in enumerate(zip(base_info.commands, lng_info.commands)): ...
19:38:51 <Eddi|zuHause> for i, (a, b) in enumerate(zip(x,y))
19:38:55 <frosch123> 2i, (base_name, lng_name) in enumerate(zip())" <- are you sure?
19:39:14 <frosch123> isn't that a bit silly? :p
19:40:10 <Eddi|zuHause> why?
19:40:56 <Alberth> for i, base_lng in enumerate(zip(base_info.commands, lng_info.commands)): base_name, lng_name = base_lng; ... :p
19:41:05 <frosch123> it's as magic as c++'s template selection
19:42:30 <Eddi|zuHause> i don't understand your problem
19:42:44 <Alberth> it's just 2 function-calls nested
19:42:56 <frosch123> that's not the problem :)
19:43:06 <frosch123> the weirdness is the left side of the "="
19:43:41 <frosch123> assining nested touples to single variables
19:44:03 <Eddi|zuHause> i do that all the time in CETS
19:44:10 <Alberth> well, you can unpack as a next statement if you like
19:44:32 <frosch123> no, it's fine, it's just magic that it works
19:44:34 <Alberth> but unpacking and packing is very common Python idiom
19:45:00 <andythenorth> weird the first time you see it
19:45:11 * andythenorth has learnt to trust the magic :P
19:45:25 <Alberth> in time, you'll miss it in other languages :)
19:47:48 <frosch123> i doubt that
19:47:59 <frosch123> dynamically typed languages remain terrible
19:48:14 <Alberth> oh, the number of times I have wanted to do unpacking in Java or C++.... :)
19:48:15 <frosch123> due to the lack of proper syntax checks at compilation
19:49:33 <Alberth> I run a lot of pylint and friends on Python code
19:49:34 *** FLHerne has quit IRC
19:49:47 <Alberth> unfortunately, pylint crashes on the newgrf_info file
19:52:42 <frosch123> https://paste.openttdcoop.org/ponhg7ag6?/ponhg7ag6 <- that reduces it to the additional language pragmas
19:53:42 <DorpsGek> Commit by translators :: r27293 /trunk/src/lang (62 files in 2 dirs) (2015-05-27 19:53:35 +0200 )
19:53:43 <DorpsGek> -Update from WebTranslator v3.0:
19:53:44 <DorpsGek> traditional_chinese - 4 changes by siu238X
19:53:45 <DorpsGek> danish - 4 changes by beruic
19:54:24 <V453000> watup humanz
19:54:28 <V453000> 0 desyncs frosch :)
19:54:33 <frosch123> magic :) two translators change 62 files :p
19:54:46 <frosch123> V453000: play more :p
19:54:53 <V453000> XD
19:54:56 <V453000> cant
19:55:16 <V453000> I actually built so much shit lately that
19:55:24 <V453000> I cant even think of more improvements in openttd anymore
19:55:25 <V453000> for the time being
19:55:29 * andythenorth can
19:55:32 <andythenorth> want a list?
19:55:47 <V453000> I dont mean functional and feature wise andy
19:55:55 <V453000> just "what more can you build with the current shit"
20:03:27 <Alberth> frosch123: ponhg7ag6 looks fine
20:11:15 *** peter1138 has quit IRC
20:11:16 *** peter1138 has joined #openttd
20:12:30 <frosch123> Alberth: the stuff in language_info is actually only used when creating a new translation, right?
20:13:15 <Alberth> and for listing available languages, and probably for sanity checking
20:13:35 <frosch123> well, but it does not enforce the plural form, or the case/gender names
20:14:14 <Alberth> ah, could be, I was lenient for the newgrf author :)
20:14:33 <frosch123> well, it would also involve some tricky conversions :p
20:14:53 <frosch123> so, possibly we also just store the other pragmas?
20:14:54 <Alberth> hmm, perhaps language deductions from filename or so, for game scripts
20:15:05 <frosch123> i.e. allow any ##pragma for the openttd project type?
20:15:43 <Alberth> and keep language_info ?
20:16:00 <frosch123> well, we need that nevertheless
20:16:14 <Alberth> yesterday you proposed to read it from file
20:16:15 <frosch123> but if eints would just preserve the ##pragmas we do not have to validate them before commit
20:16:32 <frosch123> so, eints does not be up-to-date on edge
20:16:39 <frosch123> it only needs to know the languages at all
20:16:42 <frosch123> but not all the details
20:17:03 <Alberth> sounds fair enough, I have no use for currencies etc
20:17:05 <frosch123> [20:16] <Alberth> yesterday you proposed to read it from file <- yes, i would still like to see that
20:17:23 <Alberth> k, but only read a subset
20:17:35 <Alberth> would be fine
20:17:54 <Alberth> and then assume any other ##thingie is comment
20:18:33 <frosch123> eints likely needs: name, ownname, isocode, plural, grflangid, gender, case
20:18:47 <frosch123> it does not need: textdir, digisep, digitsepcur, decimalsep, winlangid
20:19:04 <frosch123> it also only needs plural, gender and case for new translations
20:19:04 <Alberth> I even wonder about ownname, but possible
20:19:12 <frosch123> which would never be the case in the case of openttd
20:19:48 <frosch123> https://translator.openttdcoop.org/languages <- well, ownname looks pretty :p
20:20:10 <Alberth> quite :)
20:34:26 *** andythenorth has quit IRC
20:47:01 *** andythenorth has joined #openttd
20:51:31 *** andythenorth has quit IRC
20:52:49 *** Zuu has joined #openttd
20:55:05 *** urdh is now known as Guest6608
20:55:05 *** urdh_ is now known as urdh
20:56:23 *** andythenorth has joined #openttd
20:58:19 *** urdh has quit IRC
20:58:28 *** urdh has joined #openttd
21:11:11 *** Wolf01 has joined #openttd
21:11:25 <Wolf01> hi hi
21:12:42 <Wolf01> today performance: outstanding; mood: appalling; I should fix it
21:14:29 <andythenorth> L)
21:14:31 <andythenorth> :) even
21:27:47 *** Alberth has left #openttd
21:33:34 <V453000> frosch123: I think the railtype bridge overlays for reserved tracks are misaligned by a few pixels ... I dont think it is newgrf problem
21:34:19 <V453000> it should be 3px to the left
21:34:22 <V453000> at x1
21:35:28 <V453000> https://dl.dropboxusercontent.com/u/20419525/reserved_bridges.png
21:35:48 <V453000> on sloped tracks without bridges it is fine
21:36:31 <V453000> hm, or is purr wrong?
21:38:50 * andythenorth hates slow compiles :(
21:39:05 <andythenorth> I have a LESS compile for a UI that takes 4 seconds :(
21:39:07 <andythenorth> so boring
21:42:13 <frosch123> V453000: the railtype sprites are drawn in the exact same position
21:42:20 <frosch123> one is track+underlay, the other is only track
21:50:23 <V453000> ok so my bridge overlays are moved
21:50:24 <V453000> hm
21:50:26 <V453000> thats shit
21:50:42 <V453000> basically means the bridge heads they are aligned against are wrong XD
21:51:17 <V453000> ... btw both should be track + sprite?
21:53:40 <frosch123> "+ sprite"?
21:53:54 <frosch123> both are sprites, yes :p
21:57:16 <V453000> k. :D
21:57:19 <V453000> anyway, gnight
21:57:30 <V453000> moar research later
22:05:46 *** smoke_fumus has quit IRC
22:15:17 * andythenorth ponders
22:15:23 <andythenorth> FIRS builders yard is meh
22:18:40 *** shirish_ has quit IRC
22:24:39 <andythenorth> hmm
22:24:46 <andythenorth> FIRS uses tile location checks
22:24:57 <andythenorth> which iirc, means no terraforming to build the industry
22:27:33 <andythenorth> which might be why FIRS industries are so much less evenly distributed than default industries
22:29:06 <andythenorth> the ‘flat space’ OpenTTD setting has no effect when FIRS is used
22:31:59 *** sim-al2 has joined #openttd
22:38:21 *** andythenorth has quit IRC
22:45:23 *** Zuu has quit IRC
22:59:36 *** sla_ro|master has quit IRC
23:04:50 <frosch123> Error: {G=..} may only be used for the default string (that is, without case extension) <- someone knows whether that is true, and if why?
23:06:47 *** Klanticus has quit IRC
23:07:21 <frosch123> it is
23:07:46 *** Progman has quit IRC
23:09:01 <Wolf01> nighty night
23:09:09 *** Wolf01 has quit IRC
23:17:05 *** Biolunar has joined #openttd
23:19:53 *** kais58__ has quit IRC
23:21:44 *** wicope has quit IRC