Back to Home / #openttd / 2014 / 05 / Prev Day | Next Day
#openttd IRC Logs for 2014-05-07

---Logopened Wed May 07 00:00:00 2014
---Logclosed Wed May 07 08:28:47 2014
---Logopened Wed May 07 08:28:52 2014
08:28-!-mikegrb [~mikegrb@mikegrb.netop.oftc.net] has joined #openttd
08:28-!-Irssi: #openttd: Total of 130 nicks [5 ops, 0 halfops, 2 voices, 123 normal]
08:31-!-Irssi: Join to #openttd was synced in 143 secs
08:31-!-supermop [~daniel_er@d110-33-172-120.sun801.vic.optusnet.com.au] has quit [Quit: supermop]
08:39-!-Samu [~oftc-webi@po2-84-90-120-62.netvisao.pt] has quit [Quit: Page closed]
08:46-!-gelignite [~gelignite@i5387A44A.versanet.de] has joined #openttd
09:12-!-kais58__3 is now known as kais58|AFK
09:29-!-kais58|AFK is now known as kais58__3
09:38-!-ABCRic [~ABCRic@a79-169-2-218.cpe.netcabo.pt] has joined #openttd
09:41-!-fjb [~frank@000158aa.user.oftc.net] has joined #openttd
09:41<fjb>Moin.
09:44<__ln___>guten moin
09:45<Eddi|zuHause>that doesn't work
09:45-!-gelignite [~gelignite@i5387A44A.versanet.de] has quit [Quit: http://bit.ly/nkczDT]
09:45<Eddi|zuHause>that's like saying "good jour"
09:46<Eddi|zuHause>mixing two different languages
09:47<__ln___>i think the word "two" is from norse, and "different" and "languages" are from french/latin.
09:48<Eddi|zuHause>that may be true, but there are situations where loanwords or foreign words will not be (genrally) accepted
09:56<Eddi|zuHause>the word "two" is most likely from anglian (danish) or saxon (low german) anyway, norse came into the english mix rather late, i presume people used numbers before that :p... in northern germany saying "zwo" instead of "zwei" is very common
09:57<Eddi|zuHause>but numbers are difficult, because they are rather similar in most european languages
09:57<Eddi|zuHause>it's hard to tell where it really came from
10:00<__ln___>probably an ancient emperor told his scientists to invent mathematics, then waited for a few turns, and so numbers were invented.
10:05<Eddi|zuHause>i haven't done that in quite a while
10:08-!-xT2 [~ST2@bl20-225-46.dsl.telepac.pt] has quit [Read error: Connection reset by peer]
10:09-!-ST2 [~ST2@bl20-225-46.dsl.telepac.pt] has joined #openttd
10:33-!-slaca [~slaca@178-164-217-21.pool.digikabel.hu] has joined #openttd
10:38-!-Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
10:51-!-Guest9685 is now known as Airwave
11:07-!-Brumi [~quassel@78-131-41-191.pool.digikabel.hu] has joined #openttd
11:20-!-ST2 [~ST2@bl20-225-46.dsl.telepac.pt] has quit [Read error: Connection reset by peer]
11:20-!-ST2 [~ST2@bl20-225-46.dsl.telepac.pt] has joined #openttd
11:42-!-TheMask96 [martijn@sloth.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
11:45-!-kais58__4 [~kais58@cpc3-cwma7-2-0-cust221.7-3.cable.virginm.net] has joined #openttd
11:46-!-kais58__3 [~kais58@cpc3-cwma7-2-0-cust221.7-3.cable.virginm.net] has quit [Ping timeout: 480 seconds]
11:47-!-TheMask96 [martijn@pride.vhost.ne2000.nl] has joined #openttd
11:54-!-Progman [~progman@p57A199A5.dip0.t-ipconnect.de] has joined #openttd
11:57-!-Brumi [~quassel@78-131-41-191.pool.digikabel.hu] has quit []
12:37-!-Pensacola [~quassel@h220216.upc-h.chello.nl] has joined #openttd
12:39-!-guru3 [~guru3@000128ea.user.oftc.net] has joined #openttd
12:39-!-Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has joined #openttd
12:39-!-mode/#openttd [+o Alberth] by ChanServ
12:41-!-retro|cz [~retro@ip-89-176-82-80.net.upcbroadband.cz] has quit [Ping timeout: 480 seconds]
13:00-!-oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has joined #openttd
13:05-!-valhallasw [~valhallas@5070A0D5.static.ziggozakelijk.nl] has joined #openttd
13:08-!-Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
13:16-!-frosch123 [~frosch@frnk-5f747e41.pool.mediaWays.net] has joined #openttd
13:19-!-glx [~glx@000128ec.user.oftc.net] has joined #openttd
13:19-!-mode/#openttd [+v glx] by ChanServ
13:24-!-Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
13:37<George>Hi
13:37<George>how to check in NML are houses drawn transperent or not?
13:39<@planetmaker>NewGRFs don't allow to check for that, generally
13:39<@planetmaker>Transparency means that the building sprite is palette-converted to transparent. Invisible means they're not drawn
13:40<@planetmaker>That's also a thing which cannot be added to checked for. Such check would destroy (desync) multiplayer immediately
13:43<@planetmaker>the sprite layout block knows also the property always_draw: 1 or 0. Those buildings sprites with always_draw: 1 will be drawn in invisible mode, too.
13:43<@planetmaker>see also http://newgrf-specs.tt-wiki.net/wiki/NML:Spritelayout
13:46<@DorpsGek>Commit by translators :: r26569 /trunk/src/lang (8 files) (2014-05-07 17:45:48 UTC)
13:46<@DorpsGek>-Update from WebTranslator v3.0:
13:46<@DorpsGek>english_AU - 1 changes by mrtux
13:46<@DorpsGek>english_US - 1 changes by Supercheese
13:46<@DorpsGek>french - 57 changes by glx
13:46<@DorpsGek>german - 5 changes by planetmaker
13:46<@DorpsGek>korean - 1 changes by telk5093
13:46<@DorpsGek>lithuanian - 3 changes by
13:46<@DorpsGek>luxembourgish - 51 changes by Phreeze
13:46<@DorpsGek>russian - 1 changes by KorneySan
13:46-!-Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
13:47-!-Guest9825 [~jrambo@77-46-208-101.dynamic.isp.telekom.rs] has quit [Quit: Leaving]
13:49<George>planetmaker: I want a sprite that is drawn only when a building is transparent
13:49<George>how to do that?
13:49<@planetmaker>won't happen
13:49<@planetmaker>you don't do that
13:49<@DorpsGek>Commit by rubidium :: r26570 trunk/src/lang/russian.txt (2014-05-07 17:49:22 UTC)
13:49<@DorpsGek>-Fix: WT3 validation issue
13:49<@planetmaker>Generally: do not worry *at all* about transparent mode - it's nothing for a NewGRF author to mind
13:49<frosch123>George: you draw the sprite below another one
13:50<frosch123>set the sprite to not be affected by transparancy
13:50<frosch123>while the other remains affected
13:50<@planetmaker>What you should think a bit about is the invisible mode as you need to decide which ones should still be drawn
13:50<@planetmaker>Mind that it's used to avoid blocking views
13:51<@planetmaker>thus a skyscraper set to always_draw would be abusing the always_draw system, breaking the usability
13:52<@planetmaker>generally I draw the terrain ground sprite and the house outline ground sprite
13:52<George>spritelayout Statue_of_Lenin_layout {
13:52<George> ground {
13:52<George> sprite: (terrain_type == TILETYPE_SNOW ? Statue_of_Lenin_ground_snowed_sprite : Statue_of_Lenin_ground_sprite);
13:52<George> }
13:52<George> childsprite {
13:52<George> sprite: ground_sign_tourists_sprite;
13:52<George> always_draw: 1;
13:52<George> }
13:52<George> childsprite {
13:52<George> sprite: (terrain_type == TILETYPE_SNOW ? Statue_of_Lenin_ground_snowed_sprite : Statue_of_Lenin_ground_sprite);
13:52<George> always_draw: 0;
13:52<George> }
13:52<George>Did I understand you right?
13:53<George>the sign would be visible in transperent mode only
13:54<@planetmaker>yeah, like that
13:54<@planetmaker>though I'd do it different then
13:54<George>how?
13:54<@planetmaker>first groundsprite is the groundsprite with the sign
13:55<@planetmaker>and then the building sprite including the ground (again), overdrawing the sign again
13:55<@planetmaker>thus declare it part of the building itself. But that's just semantics and personal preference
13:55<@planetmaker>not better, not worse
13:56<George>the sign does not cover 100% of a ground area
13:57<@planetmaker>well, thus making the ground again part of the building, too
13:57<@planetmaker>but as said, doesn't matter
13:57<@planetmaker>George, and re http://users.informatik.uni-halle.de/~krause/var4X_weight.patch (FS#6004): dunno what others think of it
13:58<George>ask them&?
14:00*Alberth has no thoughts
14:01-!-Pensacola [~quassel@h220216.upc-h.chello.nl] has quit [Remote host closed the connection]
14:01*planetmaker had none so far either
14:05-!-jrambo [~jrambo@77-46-208-101.dynamic.isp.telekom.rs] has joined #openttd
14:07-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has joined #openttd
14:07<Wolf01>hello o/
14:11<George>planetmaker: this line forces nmlc error sprite: (terrain_type == TILETYPE_SNOW ? Statue_of_Lenin_ground_snowed_sprite : Statue_of_Lenin_ground_sprite);
14:12<George>all parts should be integer
14:12<George>how to make the right check in sprite layout?
14:13<@planetmaker>sprite: statue_snow.png
14:18<@planetmaker>hide_sprite: terrain == TILE_TYPE_SNOW
14:18<@planetmaker>} { ... (other conditions)
14:18<@planetmaker>mind that TILE_TYPE_SNOW is the same as desert
14:18<@planetmaker>so check for climate, too
14:18<George>is there a variable for current climate?
14:18<George>climate=CLIMATE_ARCTIC ?
14:18<@Alberth>hello Sir W
14:18<@planetmaker>yeah
14:30<George>http://paste.openttdcoop.org/show/3301/
14:30<George>this is what I got
14:30<George>Do I understand you right
14:33<@planetmaker>looks good to me
14:33-!-SkeedR [~SkeedR@cpc4-wolv15-2-0-cust60.wolv.cable.virginm.net] has joined #openttd
14:34-!-SkeedR is now known as Guest9852
14:35<George>not in game
14:35<George>have to look more
14:35-!-Guest9852 is now known as SkeedR
14:35<George>now I have to go
14:35<George>thank for help
14:44-!-chrswk [~chrswk@213.188.53.45] has quit [Read error: Connection reset by peer]
14:45-!-HerzogDeXtEr [~flex@i59F6A0C6.versanet.de] has quit [Read error: Connection reset by peer]
14:46-!-HerzogDeXtEr [~flex@i59F6A0C6.versanet.de] has joined #openttd
15:19-!-KritiK [~Maxim@0001264a.user.oftc.net] has joined #openttd
15:40-!-Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has joined #openttd
15:42-!-Alberth [~hat@2001:981:c6c5:1:be5f:f4ff:feac:e11] has left #openttd []
15:43<George>how to get cargo_type if you know cargo_id (cargo classes) only?
15:44<George>It's a house cargo_production CB. (cargo_type * 256) + amount
15:44<George>can I write something like return (TOUR * 256) + 1 ?
15:48<frosch123>i think so
15:49<George>BTW, does 0x20FF in Called multiple times until 0x20FF is returned. have some name, like CB_RESULT_NOPRODUCTION or something like that?
16:04-!-Progman [~progman@p57A199A5.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
16:09-!-lofejndif [~lsqavnbok@enjolras.gtor.org] has joined #openttd
16:09<frosch123>planetmaker: any suggestion for a name? CB_RESULT_HOUSE_NO_MORE_PRODUCTION or CB_RESULT_HOUSE_NO_MORE_CARGOS ?
16:27-!-Stimrol [~Stimrol@46-239-219-51.tal.is] has quit [Quit: ZNC - http://znc.in]
16:27-!-HerzogDeXtEr1 [~flex@i59F6ABC5.versanet.de] has joined #openttd
16:31-!-Supercheese_ [~oftc-webi@50-37-101-52.mscw.id.frontiernet.net] has joined #openttd
16:33-!-Supercheese_ [~oftc-webi@50-37-101-52.mscw.id.frontiernet.net] has quit []
16:33-!-HerzogDeXtEr [~flex@i59F6A0C6.versanet.de] has quit [Ping timeout: 480 seconds]
16:36-!-Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
16:39-!-Brumi [~quassel@78-131-41-191.pool.digikabel.hu] has joined #openttd
16:49-!-sla_ro|master [slamaster@95.76.164.39] has quit []
16:50-!-Midnightmyth [~quassel@93-167-84-102-static.dk.customer.tdc.net] has quit [Ping timeout: 480 seconds]
16:50-!-oskari89 [oskari89@83-102-63-32.bb.dnainternet.fi] has quit []
16:51-!-HerzogDeXtEr1 [~flex@i59F6ABC5.versanet.de] has quit [Quit: Leaving.]
17:01-!-valhallasw [~valhallas@5070A0D5.static.ziggozakelijk.nl] has quit [Quit: leaving]
17:33-!-Stimrol [~Stimrol@46-239-219-51.tal.is] has joined #openttd
17:34<@planetmaker>frosch123, which CB / CB-result?
17:35<frosch123>cargo_production
17:35<frosch123>https://newgrf-specs.tt-wiki.net/wiki/NML:Houses#House_callbacks
17:35<frosch123>it should be similar to CB_RESULT_NO_MORE_ARTICULATED_PARTS
17:36<frosch123>and similar to the industry cb results, which all go like CB_RESULT_IND_xxx
17:36<@planetmaker>ah, indeed that should get a value. CB_RESULT_HOUSE_NO_MORE_PRODUCTION sounds good
17:37<@planetmaker>but the other suggestion is just as fine... don't know. NO_PRODUCTION reflects better the callback name
17:37<@planetmaker>CB_RESULT_HOUSE_NO_CARGO_PRODUCTION?
17:37<frosch123>yup, i am going for that
17:38<frosch123>err, i mean: i am going for CB_RESULT_HOUSE_NO_MORE_PRODUCTION
17:38<frosch123>it is not about no production, but like the artic callback about ending the loop
17:38<@planetmaker>ok :)
17:41-!-Flygon_ is now known as Flygon
17:44-!-slaca [~slaca@178-164-217-21.pool.digikabel.hu] has quit [Quit: Távozom]
17:54-!-DanMacK [~androirc@23-248-154-247.tpia.execulink.com] has joined #openttd
17:54<DanMacK>@seen andythenorth
17:54<@DorpsGek>DanMacK: andythenorth was last seen in #openttd 1 day, 0 hours, 7 minutes, and 41 seconds ago: <andythenorth> bye
17:57-!-LSky [~LSky@5ED4B2EA.cm-7-5c.dynamic.ziggo.nl] has quit []
17:59-!-Samu [~oftc-webi@po2-84-90-120-62.netvisao.pt] has joined #openttd
18:00<Wolf01>'night
18:00-!-Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
18:01<Samu>doing pointless stuff again: http://imgur.com/xEXYScH
18:06-!-SkeedR [~SkeedR@cpc4-wolv15-2-0-cust60.wolv.cable.virginm.net] has quit [Quit: SkeedR]
18:07<Samu>i dont even know if this would work with the proper signals
18:10-!-DanMacK [~androirc@23-248-154-247.tpia.execulink.com] has quit [Remote host closed the connection]
18:18-!-strohalm [~smoofi@80.84.212.31] has quit [Quit: just quited]
18:18-!-strohalm [~smoofi@80.84.212.31] has joined #openttd
18:32-!-Guest9704 [~lol@vpn.blackhat.enterprises] has quit [Remote host closed the connection]
18:33<frosch123>night
18:33-!-frosch123 [~frosch@frnk-5f747e41.pool.mediaWays.net] has quit [Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn]
18:42-!-lofejndif [~lsqavnbok@82JAAEKMI.tor-irc.dnsbl.oftc.net] has quit [Quit: gone]
18:43-!-Brumi [~quassel@78-131-41-191.pool.digikabel.hu] has quit []
18:50-!-Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Quit: Leaving]
18:52-!-Myhorta [~Myhorta@00018fad.user.oftc.net] has joined #openttd
18:55-!-yorick [~yorick@ip51cd0513.speed.planet.nl] has quit [Remote host closed the connection]
18:59-!-KWKdesign [~KWKdesign@pool-108-52-130-213.phlapa.fios.verizon.net] has quit [Ping timeout: 480 seconds]
19:00-!-KWKdesign [~KWKdesign@pool-108-52-130-213.phlapa.fios.verizon.net] has joined #openttd
19:39-!-Samu [~oftc-webi@po2-84-90-120-62.netvisao.pt] has quit [Quit: Page closed]
19:39-!-ABCRic [~ABCRic@a79-169-2-218.cpe.netcabo.pt] has quit [Ping timeout: 480 seconds]
19:46-!-montalvo [~montalvo@88-105-85-3.dynamic.dsl.as9105.com] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
20:21-!-Hazzard [~quassel@c-67-174-253-44.hsd1.ca.comcast.net] has joined #openttd
20:26-!-KritiK [~Maxim@0001264a.user.oftc.net] has quit [Quit: Leaving]
20:31-!-pthagnar [~pthagnar@cpc7-pres17-2-0-cust28.18-3.cable.virginm.net] has quit [Quit: Leaving]
20:31-!-Myhorta [~Myhorta@00018fad.user.oftc.net] has quit [Ping timeout: 480 seconds]
20:51-!-fjb is now known as Guest9879
20:51-!-fjb [~frank@000158aa.user.oftc.net] has joined #openttd
20:55-!-Guest9879 [~frank@000158aa.user.oftc.net] has quit [Read error: Connection reset by peer]
20:56-!-Snail [~jacopocol@cpe-74-73-132-105.nyc.res.rr.com] has joined #openttd
21:10-!-Snail [~jacopocol@cpe-74-73-132-105.nyc.res.rr.com] has quit [Quit: Snail]
22:06<kiz>does anyone know why infrastructure maintenance is not on by default? Do the costs eventually get out of hand?
22:14-!-abchirk_ [~abchirk@p57A085EF.dip0.t-ipconnect.de] has joined #openttd
22:22-!-Jomann [~abchirk@p57A093DE.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
22:26-!-efess [~Efess@c-50-169-48-221.hsd1.ct.comcast.net] has quit [Ping timeout: 480 seconds]
22:30-!-glx [~glx@000128ec.user.oftc.net] has quit [Quit: Bye]
22:34-!-MJP [~mjp@hq.z77.fr] has quit [Ping timeout: 480 seconds]
22:39-!-lugo [lugo@apple.bnc4free.com] has quit [Quit: I'm using a Free IRC Bouncer from BNC4FREE - http://bnc4free.com/]
22:40-!-lugo [lugo@192.249.56.28] has joined #openttd
23:00-!-Snail [~jacopocol@cpe-74-73-132-105.nyc.res.rr.com] has joined #openttd
23:07-!-Dan9550 [~dan9550@66.238-27-211.dynamic.dsl.mel.iprimus.net.au] has joined #openttd
23:18-!-KWKdesign [~KWKdesign@pool-108-52-130-213.phlapa.fios.verizon.net] has quit [Ping timeout: 480 seconds]
23:19-!-KWKdesign [~KWKdesign@108.52.130.213] has joined #openttd
23:23-!-Snail [~jacopocol@cpe-74-73-132-105.nyc.res.rr.com] has quit [Quit: Snail]
23:25-!-zeknurn [~sup@hd9483b0c.seveveb.dyn.perspektivbredband.net] has quit [Ping timeout: 480 seconds]
23:53-!-tokai|mdlx [~tokai@port-92-195-125-173.dynamic.qsc.de] has joined #openttd
23:59-!-tokai|noir [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
---Logclosed Thu May 08 00:00:03 2014