Back to Home / #openttd / 2015 / 05 / Prev Day | Next Day
#openttd IRC Logs for 2015-05-27

---Logopened Wed May 27 00:00:04 2015
00:56-!-Eddi|zuHause [] has quit []
00:56-!-Eddi|zuHause [] has joined #openttd
01:48-!-jaydodge1975 [] has joined #openttd
01:55-!-Pikka [] has joined #openttd
02:00-!-jaydodge1975 [] has left #openttd []
02:06-!-andythenorth [] has joined #openttd
02:09-!-sla_ro|master [slamaster@] has joined #openttd
02:13*andythenorth has probably finished vomiting now
02:13<andythenorth>also a bonus
02:13<Pikka>that's definitely a good thing
02:14<andythenorth>seems better
02:14<andythenorth>all things consdered
02:14<andythenorth>FIRS Ports eh
02:15<Pikka>does it?
02:16<andythenorth>think so
02:16*andythenorth should code ‘level up’ for supplies
02:17<andythenorth>looks like a day in bed for me, owing to gastric reasons
02:17<Pikka>as long as you have a computer in reach, no reason not to have FIRS all fixed up by tonight, right?
02:17<andythenorth>by lunchtime probably
02:17<andythenorth>totally 2.0
02:17<Pikka>then you can make a start on roadtypes
02:18<andythenorth>done by teatime
02:24-!-sla_ro|master [slamaster@] has quit []
02:30-!-roidal [] has joined #openttd
02:34-!-wicope [] has joined #openttd
02:36-!-Ketsuban [~ketsuban@] has joined #openttd
02:40*andythenorth makes pixels
02:40<andythenorth>Pikka: have you worded then?
02:40<Pikka>the uni words? yes
02:40<Pikka>the industry words, not yet.
02:43<andythenorth>one thing at a time
02:43<andythenorth>or two
02:45<andythenorth>silos at the grain mill eh?
02:51-!-Celestar [] has joined #openttd
03:00-!-Celestar [] has quit [Ping timeout: 480 seconds]
03:09-!-|Truth| [~|Truth|] has quit [Read error: Connection reset by peer]
03:11-!-Celestar [] has joined #openttd
03:33-!-sla_ro|master [slamaster@] has joined #openttd
03:34-!-JacobD88 [] has joined #openttd
03:58-!-urdh [] has quit [Quit: boom]
04:05-!-Celestar [] has quit [Quit: Leaving.]
04:06-!-Celestar [] has joined #openttd
04:06-!-JacobD88 [] has quit [Quit: JacobD88]
04:08-!-urdh [] has joined #openttd
04:16-!-sla_ro|master [slamaster@] has quit []
04:28-!-andythenorth [] has quit [Ping timeout: 480 seconds]
04:30-!-andythenorth [] has joined #openttd
05:06-!-sim-al2 [~chatzilla@2602:306:cdd9:e4c0:90eb:5a64:3b1d:8dc0] has quit [Ping timeout: 480 seconds]
05:44-!-Pikka2 [] has joined #openttd
06:13-!-JezK [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has quit [Quit: :q!]
06:23-!-Celestar [] has quit [Remote host closed the connection]
06:23-!-Celestar [] has joined #openttd
06:29-!-andythenorth [] has quit [Quit: andythenorth]
06:36-!-Celestar [] has quit [Ping timeout: 480 seconds]
06:40-!-Celestar [] has joined #openttd
07:02-!-andythenorth [] has joined #openttd
07:19-!-sla_ro|master [slamaster@] has joined #openttd
07:31-!-Pikka [] has quit [Quit: Leaving]
07:39-!-peter1138 [] has quit [Remote host closed the connection]
07:39-!-peter1138 [~petern@2a02:cb0:1138:2::210] has joined #openttd
07:44-!-wicope [] has quit [Remote host closed the connection]
07:51-!-glevans2 [~glevans2@] has quit [Ping timeout: 480 seconds]
07:52-!-glevans2 [~glevans2@] has joined #openttd
08:03-!-glevans2 [~glevans2@] has quit [Ping timeout: 480 seconds]
08:05-!-glevans2 [~glevans2@] has joined #openttd
08:35-!-smoke_fumus [~smoke_fum@] has joined #openttd
09:34-!-andythenorth [] has quit [Quit: andythenorth]
09:44<supermop>some day i hope to play Eddi|zuHause 's train set
09:59<Eddi|zuHause>'t hold your breath
10:22-!-shirish [~quassel@] has joined #openttd
10:28-!-shirish_ [~quassel@] has joined #openttd
10:35-!-shirish [] has quit [Ping timeout: 480 seconds]
10:41-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
10:41-!-mode/#openttd [+o Alberth] by ChanServ
10:42-!-supermop [] has quit [Ping timeout: 480 seconds]
10:42-!-wicope [] has joined #openttd
10:49-!-shirish_ [~quassel@] has quit [Quit: - Chat comfortably. Anywhere.]
10:49-!-shirish [~quassel@] has joined #openttd
10:54-!-kamnet [] has joined #openttd
10:55<kamnet>Any NFO ninjas hiding in here?
10:55<@Alberth>we probably wouldn't know, would we? :)
10:55<kamnet>Well, I'm assuming an NFO ninja would know if they're hiding here.
10:56<@Alberth>true, but if he told you, he wouldn't be hiding :)
10:56<@Alberth>but there is very little nfo talk here, in general
10:57<kamnet>Not anymore, no. but if I were to need his or her assistance, how else would I know?
10:58<kamnet> Well fiddle-faddle. i was hoping to get an answer today.
10:58<@Alberth>in general, you don't know, until you get an answer
11:06<kamnet> Meh. Guess I'll go post it.
11:07<@Alberth>probably a good idea
11:15-!-Celestar [] has quit [Remote host closed the connection]
11:15-!-Progman [] has joined #openttd
11:20<@Alberth>kamnet: euhm sure you posted in the right forum?
11:21<kamnet>Did I? Hm good question. Lemmie go look.
11:22<kamnet>Well, of course I didn't! Why would I do that?
11:23-!-solatis [~user@] has quit [Read error: Connection reset by peer]
11:25<@Alberth>but if that's all, my guess is that you can simply delete the nfo
11:26<@Alberth>the 8 action is identification of the grf, and the A action is 'replace a TTD sprite'
11:31<kamnet>AH! Now I think I got it.
11:32<kamnet>So I should be able to replace 2 * 5 0A 01 12 2D 04 with 2 * 4 01 04 01 02, yes?
11:32<@Alberth>it's Graphics Development instead of OpenTTD Development ?
11:33<kamnet>*headdesk* Lord help me. I'm not having a good day today.
11:33<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.
11:34<@Alberth>as for your suggestion, don't know. My Ninja-ness of action 1 is less than present, unfortunately :(
11:34<kamnet>well I guess I could just try it. What's the worst that can happen?
11:34<@Alberth>crash of openttd, probably
11:34<@Alberth>but that's not a real problem
11:35<kamnet>As long as it doesn't activate Skynet
11:35<@Alberth>we hope that every time :)
11:35<Eddi|zuHause>you should never be able to crash openttd with a newgrf
11:36<Eddi|zuHause>kamnet: maybe you should look at m4nfo for station making, and then just put the sprites in there
11:38<kamnet>I'd consider it if I was going to do anything more than just convert this one over
11:39<Eddi|zuHause>that is really the same effort
11:40<Eddi|zuHause>turning the actionA into an action1 is the least of your problems...
11:40<Eddi|zuHause>because an unused action1 really does nothing at all.
11:41<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
11:47<kamnet>*grumbles* Yeah... arglebargle.
11:47<kamnet>alright bbiab
12:02-!-andythenorth [] has joined #openttd
12:05<@Alberth>hi hi
12:06<kamnet>Good afternoon
12:06<kamnet>Or evening
12:10-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
12:15-!-TheMask96 [] has joined #openttd
12:22-!-frosch123 [] has joined #openttd
12:28<frosch123>kamnet: <- the grf2nfo is useless, you can only reuse the sprites, nothing of the nfo. start from scratch :)
12:29<kamnet>This may be more of a headache than I want right now :D
12:33-!-roidal [] has quit [Quit: WeeChat 1.1.1]
12:39-!-urdh_ [] has joined #openttd
12:45-!-HerzogDeXtEr [~flex@] has joined #openttd
12:51<frosch123>None does not compare with None, right?
12:51<frosch123>so, None sucks, i need some NO_PARAMETER
12:56-!-glx [] has joined #openttd
12:56-!-mode/#openttd [+v glx] by ChanServ
12:58<@Alberth>None == None gives True
12:58-!-tokai|mdlx [] has joined #openttd
12:59<frosch123>oh, it does?
13:00<@Alberth>maybe you are confused with NaN? :)
13:01<@Alberth>as None is a singleton, you're recommended to use None is None
13:02<frosch123>well, i am comparing lists
13:02<frosch123>and some members may be None
13:04-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
13:05<@Alberth>[0, None] == [None, None] is False
13:06<@Alberth>or pair-wise: for a, b in zip([0, None], [None, None]): if a == b: ...
13:12<frosch123> <- ok, that leaves only the ugly ternary :)
13:14<@Alberth>can't you do that in the bottom hunk?
13:15<frosch123>it uses the base_cmd inbetween
13:15-!-kamnet [] has quit [Quit: So long, and thanks for all the SQUID]
13:16<frosch123>and it needs to compare literal with get_translated_cmd
13:16<frosch123>hmm, though one could remove the entire if think
13:16<frosch123>and always compare per element
13:17<@Alberth>I'd rewrite to explicit loops with an 'if', or insert a function in it
13:19-!-FLHerne [] has joined #openttd
13:26-!-shirish_ [~quassel@] has joined #openttd
13:28-!-liq3 [] has quit []
13:30<frosch123> <- now the diff is unreadable though :p
13:33-!-shirish [] has quit [Ping timeout: 480 seconds]
13:34-!-Biolunar_ [] has quit [Quit: Yo.]
13:35<@Alberth>since the length of both lists matches:
13:35<@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
13:35<@Alberth>otherwise seems fine
13:37<frosch123>weird stuff :)
13:37<@Alberth>bit of functional programming :)
13:38<frosch123>but i cannot get the "i" for the position
13:38<@Alberth>ha! for i, (base_name, lng_name) in enumerate(zip(base_info.commands, lng_info.commands)): ...
13:38<Eddi|zuHause>for i, (a, b) in enumerate(zip(x,y))
13:38<frosch123>2i, (base_name, lng_name) in enumerate(zip())" <- are you sure?
13:39<frosch123>isn't that a bit silly? :p
13:40<@Alberth>for i, base_lng in enumerate(zip(base_info.commands, lng_info.commands)): base_name, lng_name = base_lng; ... :p
13:41<frosch123>it's as magic as c++'s template selection
13:42<Eddi|zuHause>i don't understand your problem
13:42<@Alberth>it's just 2 function-calls nested
13:42<frosch123>that's not the problem :)
13:43<frosch123>the weirdness is the left side of the "="
13:43<frosch123>assining nested touples to single variables
13:44<Eddi|zuHause>i do that all the time in CETS
13:44<@Alberth>well, you can unpack as a next statement if you like
13:44<frosch123>no, it's fine, it's just magic that it works
13:44<@Alberth>but unpacking and packing is very common Python idiom
13:45<andythenorth>weird the first time you see it
13:45*andythenorth has learnt to trust the magic :P
13:45<@Alberth>in time, you'll miss it in other languages :)
13:47<frosch123>i doubt that
13:47<frosch123>dynamically typed languages remain terrible
13:48<@Alberth>oh, the number of times I have wanted to do unpacking in Java or C++.... :)
13:48<frosch123>due to the lack of proper syntax checks at compilation
13:49<@Alberth>I run a lot of pylint and friends on Python code
13:49-!-FLHerne [] has quit [Ping timeout: 480 seconds]
13:49<@Alberth>unfortunately, pylint crashes on the newgrf_info file
13:52<frosch123> <- that reduces it to the additional language pragmas
13:53<@DorpsGek>Commit by translators :: r27293 /trunk/src/lang (62 files in 2 dirs) (2015-05-27 19:53:35 +0200 )
13:53<@DorpsGek>-Update from WebTranslator v3.0:
13:53<@DorpsGek>traditional_chinese - 4 changes by siu238X
13:53<@DorpsGek>danish - 4 changes by beruic
13:54<V453000>watup humanz
13:54<V453000>0 desyncs frosch :)
13:54<frosch123>magic :) two translators change 62 files :p
13:54<frosch123>V453000: play more :p
13:55<V453000>I actually built so much shit lately that
13:55<V453000>I cant even think of more improvements in openttd anymore
13:55<V453000>for the time being
13:55*andythenorth can
13:55<andythenorth>want a list?
13:55<V453000>I dont mean functional and feature wise andy
13:55<V453000>just "what more can you build with the current shit"
14:03<@Alberth>frosch123: ponhg7ag6 looks fine
14:11-!-peter1138 [~petern@2a02:cb0:1138:2::210] has quit [Remote host closed the connection]
14:11-!-peter1138 [~petern@2a02:cb0:1138:2::210] has joined #openttd
14:12<frosch123>Alberth: the stuff in language_info is actually only used when creating a new translation, right?
14:13<@Alberth>and for listing available languages, and probably for sanity checking
14:13<frosch123>well, but it does not enforce the plural form, or the case/gender names
14:14<@Alberth>ah, could be, I was lenient for the newgrf author :)
14:14<frosch123>well, it would also involve some tricky conversions :p
14:14<frosch123>so, possibly we also just store the other pragmas?
14:14<@Alberth>hmm, perhaps language deductions from filename or so, for game scripts
14:15<frosch123>i.e. allow any ##pragma for the openttd project type?
14:15<@Alberth>and keep language_info ?
14:16<frosch123>well, we need that nevertheless
14:16<@Alberth>yesterday you proposed to read it from file
14:16<frosch123>but if eints would just preserve the ##pragmas we do not have to validate them before commit
14:16<frosch123>so, eints does not be up-to-date on edge
14:16<frosch123>it only needs to know the languages at all
14:16<frosch123>but not all the details
14:17<@Alberth>sounds fair enough, I have no use for currencies etc
14:17<frosch123>[20:16] <Alberth> yesterday you proposed to read it from file <- yes, i would still like to see that
14:17<@Alberth>k, but only read a subset
14:17<@Alberth>would be fine
14:17<@Alberth>and then assume any other ##thingie is comment
14:18<frosch123>eints likely needs: name, ownname, isocode, plural, grflangid, gender, case
14:18<frosch123>it does not need: textdir, digisep, digitsepcur, decimalsep, winlangid
14:19<frosch123>it also only needs plural, gender and case for new translations
14:19<@Alberth>I even wonder about ownname, but possible
14:19<frosch123>which would never be the case in the case of openttd
14:19<frosch123> <- well, ownname looks pretty :p
14:20<@Alberth>quite :)
14:34-!-andythenorth [] has quit [Quit: andythenorth]
14:47-!-andythenorth [] has joined #openttd
14:51-!-andythenorth [] has quit []
14:52-!-Zuu [] has joined #openttd
14:55-!-urdh is now known as Guest6608
14:55-!-urdh_ is now known as urdh
14:56-!-andythenorth [] has joined #openttd
14:58-!-urdh [] has quit [Quit: boom]
14:58-!-urdh [] has joined #openttd
15:11-!-Wolf01 [] has joined #openttd
15:11<Wolf01>hi hi
15:12<Wolf01>today performance: outstanding; mood: appalling; I should fix it
15:14<andythenorth>:) even
15:27-!-Alberth [~alberth@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
15:33<V453000>frosch123: I think the railtype bridge overlays for reserved tracks are misaligned by a few pixels ... I dont think it is newgrf problem
15:34<V453000>it should be 3px to the left
15:34<V453000>at x1
15:35<V453000>on sloped tracks without bridges it is fine
15:36<V453000>hm, or is purr wrong?
15:38*andythenorth hates slow compiles :(
15:39<andythenorth>I have a LESS compile for a UI that takes 4 seconds :(
15:39<andythenorth>so boring
15:42<frosch123>V453000: the railtype sprites are drawn in the exact same position
15:42<frosch123>one is track+underlay, the other is only track
15:50<V453000>ok so my bridge overlays are moved
15:50<V453000>thats shit
15:50<V453000>basically means the bridge heads they are aligned against are wrong XD
15:51<V453000>... btw both should be track + sprite?
15:53<frosch123>"+ sprite"?
15:53<frosch123>both are sprites, yes :p
15:57<V453000>k. :D
15:57<V453000>anyway, gnight
15:57<V453000>moar research later
16:05-!-smoke_fumus [~smoke_fum@] has quit [Ping timeout: 480 seconds]
16:15*andythenorth ponders
16:15<andythenorth>FIRS builders yard is meh
16:18-!-shirish_ [~quassel@] has quit [Remote host closed the connection]
16:24<andythenorth>FIRS uses tile location checks
16:24<andythenorth>which iirc, means no terraforming to build the industry
16:27<andythenorth>which might be why FIRS industries are so much less evenly distributed than default industries
16:29<andythenorth>the ‘flat space’ OpenTTD setting has no effect when FIRS is used
16:31-!-sim-al2 [] has joined #openttd
16:38-!-andythenorth [] has quit [Quit: andythenorth]
16:45-!-Zuu [] has quit [Quit: Leaving]
16:59-!-sla_ro|master [slamaster@] has quit []
17:04<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?
17:06-!-Klanticus [~quassel@] has quit [Ping timeout: 480 seconds]
17:07<frosch123>it is
17:07-!-Progman [] has quit [Remote host closed the connection]
17:09<Wolf01>nighty night
17:09-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
17:17-!-Biolunar [] has joined #openttd
17:19-!-kais58__ [] has quit [Ping timeout: 480 seconds]
17:22-!-wicope [] has quit [Remote host closed the connection]
18:20-!-frosch123 [] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
18:26-!-Tirili [] has joined #openttd
18:45-!-Pereba [~UserNick@] has quit [Quit: I'm using a Free mIRC alternative -]
18:48-!-Tirili [] has quit [Quit: ChatZilla [SeaMonkey 2.33.1/20150410200411]]
18:54-!-Tirili [] has joined #openttd
19:01-!-Netsplit <-> quits: Kurimus, CosmicRay, efess, dihedral, zeknurn, JGR, @Terkhen, Pikka2, Rejf, luaduck
19:01-!-|Terkhen| [] has joined #openttd
19:02-!-dihedral [~dih@] has joined #openttd
19:02-!-efess [~Efess@] has joined #openttd
19:02-!-Kurimus [~stabbity@] has joined #openttd
19:02-!-Netsplit over, joins: zeknurn
19:02-!-JGR [~JGR@] has joined #openttd
19:03-!-luaduck [] has joined #openttd
19:06-!-Rejf [] has joined #openttd
19:08-!-HerzogDeXtEr [~flex@] has quit [Quit: Leaving.]
19:14-!-CosmicRay [] has joined #openttd
19:39-!-Tirili [] has quit [Quit: ChatZilla [SeaMonkey 2.33.1/20150410200411]]
19:50-!-FLHerne [] has joined #openttd
19:54-!-TheDude [] has quit [Quit: bye]
20:33-!-Pikka [] has joined #openttd
20:34-!-TheDude [] has joined #openttd
20:42-!-Mek_ [] has quit [Ping timeout: 480 seconds]
20:49-!-JezK [~jez@2407:7800:400:107f:3db5:daca:8457:e66a] has joined #openttd
20:57-!-Mek [] has joined #openttd
21:33-!-glx [] has quit [Quit: Bye]
21:38-!-Pikka [] has quit [Ping timeout: 480 seconds]
21:44-!-FLHerne [] has quit [Quit: There's a real world out here!]
22:10-!-liq3 [] has joined #openttd
22:17-!-supermop [] has joined #openttd
22:52-!-Biolunar_ [] has joined #openttd
22:59-!-Biolunar [] has quit [Ping timeout: 480 seconds]
23:34-!-Extrems [] has quit [Read error: Connection reset by peer]
23:49-!-Pikka [] has joined #openttd
---Logclosed Thu May 28 00:00:05 2015