Config
Log for #openttd on 17th January 2012:
Times are UTC Toggle Colours
00:09:35  *** Eddi|zuHause [~johekr@p54B751F9.dip.t-dialin.net] has joined #openttd
00:10:43  *** JefferyT [~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] has joined #openttd
00:10:45  <JefferyT> Check out this viral video http://bit.ly/x5JHCf
00:10:45  *** JefferyT [~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] has left #openttd []
00:10:49  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has quit [Quit: So long and thanks for all the fish...]
00:11:06  <Eddi|zuHause> is a "viral video" a "video contaminated with a virus"?
00:12:51  *** JefferyT [~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] has joined #openttd
00:12:53  <JefferyT> Check out this viral video http://bit.ly/x5JHCf
00:12:53  *** JefferyT [~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] has left #openttd []
00:15:01  *** JefferyT [~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] has joined #openttd
00:15:03  <JefferyT> Check out this viral video http://bit.ly/x5JHCf
00:15:03  *** JefferyT [~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] has left #openttd []
00:15:42  <Eddi|zuHause> any op feeling responsible?
00:17:15  *** JefferyT [~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] has joined #openttd
00:17:17  <JefferyT> Check out this viral video http://bit.ly/x5JHCf
00:17:17  *** JefferyT [~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] has left #openttd []
00:18:10  <__ln__> all the ops are probably still watching the viral video
00:19:29  *** JefferyT [~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] has joined #openttd
00:19:31  <JefferyT> Check out this viral video http://bit.ly/x5JHCf
00:19:31  *** JefferyT [~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] has left #openttd []
00:20:01  *** mode/#openttd [+o glx] by DorpsGek
00:20:07  *** Ropeburn [568e4206@ircip2.mibbit.com] has joined #openttd
00:20:09  <Ropeburn> ?
00:20:22  <Ropeburn> hallo?
00:20:42  *** mode/#openttd [+b *!~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net] by glx
00:20:52  *** mode/#openttd [-o glx] by DorpsGek
00:21:05  <Ropeburn> ooh, it is all kicking off now :O
00:21:27  <__ln__> you're jumping into conclusions
00:21:46  <Ropeburn> whome?
00:23:13  *** pugi [~pugi@host-091-097-182-174.ewe-ip-backbone.de] has quit []
00:23:27  <Ropeburn> Sooooo. anything interesting?
00:23:55  *** Ropeburn [568e4206@ircip2.mibbit.com] has quit []
00:23:55  <__ln__> fourier integrals
00:24:04  <__ln__> too slow
00:34:45  *** valhallasw [~valhallas@193.52.24.37] has quit [Ping timeout: 480 seconds]
00:45:29  *** Brianetta [~brian@188-220-91-30.zone11.bethere.co.uk] has quit [Quit: TschÌß]
00:56:24  *** Simon [~chatzilla@S010600259c415685.no.shawcable.net] has joined #openttd
00:56:56  *** Simon is now known as Guest24236
00:57:40  <Guest24236> Hi, quick question (newbie here) is it possible to play multiplayer with cargodist between two clients that are the same version?
00:58:42  <Yexo> yes
01:00:34  *** glevans2 [~glevans2@75-141-134-16.dhcp.mdfd.or.charter.com] has quit [Quit: Leaving.]
01:04:59  *** glevans2 [~glevans2@75-141-134-16.dhcp.mdfd.or.charter.com] has joined #openttd
01:06:43  <Guest24236> Cool, thanks
01:13:45  *** Progman [~progman@p57A1B96E.dip.t-dialin.net] has quit [Remote host closed the connection]
02:05:08  *** NOUK [~KEM@ALyon-158-1-77-203.w90-29.abo.wanadoo.fr] has quit [Ping timeout: 480 seconds]
02:10:36  *** LordPixaII [~pixa@85.210.73.168] has joined #openttd
02:10:50  *** Mek [~quassel@marijnalexwedding.com] has quit [Remote host closed the connection]
02:10:50  *** Mek [~quassel@marijnalexwedding.com] has joined #openttd
02:12:05  *** KritiK [~Maxim@89-178-180-201.broadband.corbina.ru] has quit [Quit: Leaving]
02:12:50  *** KingPixaIII [~pixa@85.210.74.26] has joined #openttd
02:15:36  *** KingPixaIII_ [~pixa@85.210.76.32] has joined #openttd
02:16:38  *** Pixa [~pixa@79-68-100-196.dynamic.dsl.as9105.com] has quit [Ping timeout: 480 seconds]
02:18:43  *** LordPixaII [~pixa@85.210.73.168] has quit [Ping timeout: 480 seconds]
02:21:24  *** KingPixaIII [~pixa@85.210.74.26] has quit [Ping timeout: 480 seconds]
02:34:04  <Eddi|zuHause> random idea: when cloning a vehicle that isn't available anymore, buy the vehicle that this vehicle is set to be autoreplaced to
02:36:26  <kais58> or if a vehicle is set to be autoreplaced and you clone it, you clone it post upgrade?
02:38:01  <Eddi|zuHause> kais58: i could pause the game, set autoreplace, clone, unset autoreplace, and not have the vehicle replced
02:39:48  <Eddi|zuHause> kais58: i would get all the benefits of cloning (shared/copied orders, group membership, vehicle numbering, ...)
02:44:46  *** tparker [~tparker@beacon.prkr.us] has quit [Remote host closed the connection]
02:54:03  <kais58> I mea the cloned version is the one after the upgrade
02:54:20  <kais58> regardless of the state of the original
03:16:21  *** glx [glx@2a01:e35:2f59:c7c0:e1ea:35fa:7e40:386b] has quit [Quit: bye]
03:32:41  *** tparker [~tparker@2600:3c03::f03c:91ff:fe93:9541] has joined #openttd
03:32:50  *** Lakie [~Lakie@host81-141-98-103.wlms-broadband.com] has quit [Quit: Sleep.]
04:24:35  *** kkb110 [~kkb110@cpe-69-203-124-125.nyc.res.rr.com] has quit [Ping timeout: 480 seconds]
04:35:04  *** kkb110 [~kkb110@cpe-69-203-124-125.nyc.res.rr.com] has joined #openttd
05:20:01  *** supermop_ [~daniel_er@cpe-67-243-25-39.nyc.res.rr.com] has quit [Quit: supermop_]
05:35:55  *** DayDreamer [~DayDreame@ip-86-49-59-25.net.upcbroadband.cz] has joined #openttd
05:37:37  *** DayDreamer [~DayDreame@ip-86-49-59-25.net.upcbroadband.cz] has left #openttd []
05:56:01  *** Eddi|zuHause [~johekr@p54B751F9.dip.t-dialin.net] has quit []
05:56:17  *** Eddi|zuHause [~johekr@p54B740FB.dip.t-dialin.net] has joined #openttd
06:13:07  *** Netsplit synthon.oftc.net <-> graviton.oftc.net quits: Hawson, Rubidium, Noldo
06:19:08  *** mode/#openttd [+o Rubidium] by ChanServ
06:19:08  *** Netsplit over, joins: Hawson, Rubidium, Noldo
06:24:39  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
06:39:28  *** kkb110 [~kkb110@cpe-69-203-124-125.nyc.res.rr.com] has quit [Remote host closed the connection]
06:40:56  *** kkb110 [~kkb110@cpe-69-203-124-125.nyc.res.rr.com] has joined #openttd
06:47:41  *** JVassie [~James@2.25.196.63] has joined #openttd
06:50:40  *** Cybertinus [~Cybertinu@tunnel3304.ipv6.xs4all.nl] has joined #openttd
06:55:06  *** MJP [~TdlQ@hq.z77.fr] has joined #openttd
06:56:44  *** kkb110 [~kkb110@cpe-69-203-124-125.nyc.res.rr.com] has quit [Remote host closed the connection]
06:57:20  *** kkb110_ [~kkb110@cpe-69-203-124-125.nyc.res.rr.com] has joined #openttd
07:12:15  *** JVassie [~James@2.25.196.63] has quit [Ping timeout: 480 seconds]
07:29:04  *** TGYoshi [~TGYoshi@86.81.146.146] has joined #openttd
07:33:56  *** TGYoshi_ [~TGYoshi@86.81.146.146] has joined #openttd
07:37:57  *** TGYoshi [~TGYoshi@86.81.146.146] has quit [Ping timeout: 480 seconds]
07:47:49  *** sla_ro|master [~slaco@95.76.26.172] has joined #openttd
08:05:00  *** Progman [~progman@p57A1B8D5.dip.t-dialin.net] has joined #openttd
08:13:52  *** MJP [~TdlQ@hq.z77.fr] has quit [Ping timeout: 480 seconds]
08:15:40  *** KouDy [~KouDy@188.75.190.58] has quit [Ping timeout: 480 seconds]
08:20:08  *** pugi [~pugi@host-091-097-181-149.ewe-ip-backbone.de] has joined #openttd
08:26:53  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
08:34:11  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has joined #openttd
08:34:17  *** Prof_Frink [~proffrink@5e06d2be.bb.sky.com] has quit [Ping timeout: 480 seconds]
08:34:49  *** ModumSonus [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has joined #openttd
08:35:03  *** ModumSonus [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has quit []
08:36:16  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has quit [Remote host closed the connection]
08:36:45  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has joined #openttd
08:39:45  *** TrueBrain [~patric@ip82-139-89-237.lijbrandt.net] has quit [Ping timeout: 480 seconds]
08:52:59  *** pugi [~pugi@host-091-097-181-149.ewe-ip-backbone.de] has quit []
08:53:45  *** EyeMWing [~Wing@c-68-33-226-154.hsd1.va.comcast.net] has quit [Ping timeout: 480 seconds]
08:56:33  *** mahmoud [~KEM@ALyon-158-1-77-203.w90-29.abo.wanadoo.fr] has joined #openttd
08:57:33  *** Neon [~Neon@dslb-094-219-000-203.pools.arcor-ip.net] has joined #openttd
09:02:09  *** EyeMWing [~Wing@c-68-33-226-154.hsd1.va.comcast.net] has joined #openttd
09:05:55  *** Elukka [Elukka@78-27-90-104.bb.dnainternet.fi] has joined #openttd
09:19:43  *** Brianetta [~brian@188-220-91-30.zone11.bethere.co.uk] has joined #openttd
09:20:30  *** andythenorth [~Andy@cpc23-aztw25-2-0-cust33.aztw.cable.virginmedia.com] has joined #openttd
09:23:08  *** Progman [~progman@p57A1B8D5.dip.t-dialin.net] has quit [Remote host closed the connection]
09:23:30  *** andythenorth [~Andy@cpc23-aztw25-2-0-cust33.aztw.cable.virginmedia.com] has quit []
09:23:35  *** Progman [~progman@p57A1B8D5.dip.t-dialin.net] has joined #openttd
09:26:04  *** Progman [~progman@p57A1B8D5.dip.t-dialin.net] has quit [Remote host closed the connection]
09:26:36  *** Progman [~progman@p57A1B8D5.dip.t-dialin.net] has joined #openttd
09:34:16  *** andythenorth [~Andy@cpc23-aztw25-2-0-cust33.aztw.cable.virginmedia.com] has joined #openttd
09:38:34  *** andythenorth [~Andy@cpc23-aztw25-2-0-cust33.aztw.cable.virginmedia.com] has quit []
09:40:08  *** TrueBrain [~patric@ip82-139-89-237.lijbrandt.net] has joined #openttd
09:40:12  *** andythenorth [~Andy@cpc23-aztw25-2-0-cust33.aztw.cable.virginmedia.com] has joined #openttd
09:46:00  <andythenorth> hmm
09:47:24  <brendan10211> hrmmm
09:47:58  <andythenorth> exactly
09:48:03  <peter1138> no
09:48:26  <andythenorth> inexactly?
09:49:08  <brendan10211> what?
09:49:12  <brendan10211> since when?
09:49:17  <brendan10211> Always
09:49:55  * andythenorth is bidding to redefine 'sledgehammer -> nut'
09:50:46  <brendan10211> sledgehammer ~> nut
09:53:35  <appe_> sleeedgehammer
09:53:40  <appe_> badum budum bumbumbom
09:54:00  *** glevans2 [~glevans2@75-141-134-16.dhcp.mdfd.or.charter.com] has quit [Ping timeout: 480 seconds]
09:54:10  <appe_> np: peter gabriel - sledgehammer
09:54:46  <peter1138> np: richard harris - macarthur park
09:55:27  <brendan10211> ok
09:57:34  <Elukka> http://www.youtube.com/watch?v=gh4zvQfDhi0&ob=av2e
10:04:00  *** glevans2 [~glevans2@75-141-134-16.dhcp.mdfd.or.charter.com] has joined #openttd
10:04:14  <peter1138> nice
10:09:37  *** Progman [~progman@p57A1B8D5.dip.t-dialin.net] has quit [Remote host closed the connection]
10:10:05  *** Progman [~progman@87.161.184.213] has joined #openttd
10:20:50  *** pjpesdfsdfs [ade6a119@ircip3.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
10:31:35  *** andythenorth [~Andy@cpc23-aztw25-2-0-cust33.aztw.cable.virginmedia.com] has quit [Quit: andythenorth]
10:47:09  *** Devroush [~dennis@178-119-153-135.access.telenet.be] has joined #openttd
10:49:27  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has quit [Quit: So long and thanks for all the fish...]
10:53:17  *** Scuddles [~notme@cm82.epsilon82.maxonline.com.sg] has joined #openttd
10:58:48  *** sla_ro|master [~slaco@95.76.26.172] has quit [Quit: Sla Mutant Co-Op for Renegade - coming back soon]
11:02:00  *** DDR_ [~chatzilla@142.179.78.88] has quit [Quit: ChatZilla 0.9.88 [Firefox 9.0.1/20111221202647]]
11:10:32  *** welshdragon [~mark-oftc@static.209.236.9.176.clients.your-server.de] has left #openttd []
11:12:49  *** welshdragon [~mark-oftc@static.209.236.9.176.clients.your-server.de] has joined #openttd
11:15:05  *** xiong [~xiong@76-218-102-28.lightspeed.sntcca.sbcglobal.net] has joined #openttd
11:16:15  <xiong> A couple of years ago, when I first installed OpenTTD, it ate 100% CPU as soon as started. It hasn't done that in a long time and I'm ashamed to say I can't recall the fix.
11:16:54  <xiong> Now I've got the chillpack version going and it eats CPU, too; I'm hoping it's the same fix... if I could figure out what that was.
11:26:22  *** KingPixaIII_ is now known as Pixa
11:27:01  <xiong> Ah. Well, if anyone else has the same issue: This is related to sound (which I'd rather not have anyway); launch $ openttd -snull
11:27:11  <xiong> pulseaudio stinks.
11:27:27  <xiong> I can't imagine how I remembered.
11:47:19  *** Neon [~Neon@dslb-094-219-000-203.pools.arcor-ip.net] has quit [Quit: Python is way too complicated... I prefer doing it quickly in C.]
11:50:37  <blathijs> xiong: Just to prevent (possibly) incorrect assumptions: Did you consider pulseaudio might just allows you to smell what ALSA really smells like?
11:50:43  <blathijs> Or SDL, for that matter
11:51:54  <xiong> Um, this is all uncharted waters for me. I very rarely turn on computer sound at all, for any purpose. I live a very quiet life, probably drive most people nuts. I go a weekend, no teevee, no radio.
11:52:33  <xiong> I do talk to myself! :)
11:53:09  <blathijs> :-)
11:54:18  <xiong> I'll bet if I got OTTD sound working I'd hear steam whistles and banjos. That would be fine... if they were steam whistles and banjos instead of a cheesy little laptop speaker pretending.
11:54:37  <blathijs> headphones? :-)
11:55:05  <xiong> Sorry.
11:56:44  <xiong> My neighbors think I'm dead. I do nothing to upset their assumptions.
11:57:03  <blathijs> lol
11:57:17  <xiong> BTW, chillpack is... *very* interesting.
11:58:14  <blathijs> What's chillpack?
11:58:49  <planetmaker> it's the most popular existing patchpack for OpenTTD at the moment
11:58:49  <Elukka> chill's patchpack
11:59:06  <planetmaker> which we even compile on our CF ;-)
11:59:11  <blathijs> Ah, right :-)
12:00:41  <Elukka> i think i'll become a convert if he finds the time to update it to a more recent revision...
12:38:42  *** KouDy [~KouDy@188.75.190.58] has quit [Quit: Leaving.]
13:06:52  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
13:07:54  <cornjuliox> chillpack?
13:07:56  <cornjuliox> link?
13:11:53  <Yexo> see development section of the forums
13:12:47  *** APTX [APTX@89-78-217-144.dynamic.chello.pl] has quit [Remote host closed the connection]
13:12:53  *** APTX [APTX@89-78-217-144.dynamic.chello.pl] has joined #openttd
13:38:08  *** SpComb [terom@zapotek.paivola.fi] has quit [Ping timeout: 480 seconds]
14:14:25  *** SpBot_ [spbot@skrblz.fixme.fi] has joined #openttd
14:14:29  *** SpComb^_ [terom@zerg.fixme.fi] has joined #openttd
14:14:31  *** SpComb^ [terom@zerg.fixme.fi] has quit [Read error: Connection reset by peer]
14:14:38  *** SpBot [spbot@skrblz.fixme.fi] has quit [Read error: Connection reset by peer]
14:23:59  *** Knogle_ [knogle@1604ds5-soeb.0.fullrate.dk] has joined #openttd
14:27:28  *** Neon [~Neon@dslb-094-219-000-203.pools.arcor-ip.net] has joined #openttd
14:40:19  *** tokai|mdlx [~tokai@port-92-195-113-221.dynamic.qsc.de] has joined #openttd
14:42:25  *** Knogle_ is now known as Knogle
14:46:08  *** tokai|noir [~tokai@port-92-195-124-243.dynamic.qsc.de] has quit [Ping timeout: 480 seconds]
15:02:02  *** Snor [~Snor@cpc14-brad19-2-0-cust173.barn.cable.virginmedia.com] has quit [Read error: Connection reset by peer]
15:02:23  *** Snor [~Snor@cpc14-brad19-2-0-cust173.barn.cable.virginmedia.com] has joined #openttd
15:06:54  *** SpComb [terom@zapotek.paivola.fi] has joined #openttd
15:07:49  *** DayDreamer [~DayDreame@ip-86-49-59-25.net.upcbroadband.cz] has joined #openttd
15:09:41  *** DayDreamer [~DayDreame@ip-86-49-59-25.net.upcbroadband.cz] has left #openttd []
15:10:59  *** Stimrol [~oftc@dsl-149-87-36.hive.is] has joined #openttd
15:17:57  *** TWerkhoven [~twerkhove@cpc3-linl7-2-0-cust522.sgyl.cable.virginmedia.com] has joined #openttd
15:18:59  *** TWerkhoven2 [~twerkhove@cpc3-linl7-2-0-cust522.sgyl.cable.virginmedia.com] has joined #openttd
15:25:07  *** iddqd [no.dongs@dhcp-077-251-045-037.chello.nl] has quit [Ping timeout: 480 seconds]
15:26:22  *** TWerkhoven [~twerkhove@cpc3-linl7-2-0-cust522.sgyl.cable.virginmedia.com] has quit [Ping timeout: 480 seconds]
15:26:22  *** iddqd [no.dongs@dhcp-077-251-045-037.chello.nl] has joined #openttd
15:34:27  *** iddqd [no.dongs@dhcp-077-251-045-037.chello.nl] has quit [Ping timeout: 480 seconds]
15:38:55  * kais58 high 5's heffer for pushing the build to updates-testing, just need to wait for it to filter down to updates now...
15:44:03  *** supermop [~daniel_er@rrcs-72-43-171-87.nyc.biz.rr.com] has joined #openttd
16:09:57  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has joined #openttd
16:21:26  <Belugas> i'm bored.. "you have to do this".  "i'm doing that for customer xyz". "Do this, it's more important".  "Are you going to tell customer xyz i cannot work on his stuff?"  "No, you'll do it"
16:21:30  <Belugas> yeah right...
16:21:46  <brendan10211> ok
16:22:12  * planetmaker hugs Belugas
16:22:35  <Belugas> frrrrrffrrrrr
16:23:13  <brendan10211> ok
16:23:36  *** supermop [~daniel_er@rrcs-72-43-171-87.nyc.biz.rr.com] has quit [Quit: supermop]
16:23:53  *** Stimrol [~oftc@dsl-149-87-36.hive.is] has quit [Quit: Leaving]
16:25:21  <planetmaker> brendan10211 is a bot
16:25:30  <brendan10211> ok
16:25:31  <brendan10211> nope
16:25:32  <brendan10211> soryr
16:25:35  <brendan10211> sorry
16:25:49  <brendan10211> im just bored, and have nothing to say
16:25:57  <brendan10211> i guess i just shouldnt say it
16:26:43  <Belugas> ok
16:26:54  <planetmaker> :-)
16:33:03  *** TWerkhoven2 is now known as TWerkhoven
16:34:33  *** [1]Mark [~Mark@5ED06D58.cm-7-1b.dynamic.ziggo.nl] has joined #openttd
16:34:34  *** Mark is now known as Guest24305
16:34:34  *** Guest24222 is now known as Mark
16:39:30  *** Guest24305 [~Mark@5ED06D58.cm-7-1b.dynamic.ziggo.nl] has quit [Ping timeout: 480 seconds]
16:50:41  *** Mark is now known as Guest24311
16:50:42  *** [1]Mark is now known as Mark
16:57:20  *** frosch123 [~frosch@frnk-4d00b6d1.pool.mediaWays.net] has joined #openttd
17:19:59  *** sla_ro|master [~slaco@95.76.26.172] has joined #openttd
17:22:22  *** APTX_ [APTX@89-78-217-144.dynamic.chello.pl] has joined #openttd
17:26:34  *** Prof_Frink [~proffrink@5e06d2be.bb.sky.com] has joined #openttd
17:27:40  <CIA-1> OpenTTD: rubidium * r23817 /trunk/ (4 files in 2 dirs): (log message trimmed)
17:27:40  <CIA-1> OpenTTD: -Fix [FS#4962]: desync due to different NewGRF version. So reduce the chance
17:27:40  <CIA-1> OpenTTD: that it happens significantly with betas/RCs/nightlies by doing the same as is
17:27:40  <CIA-1> OpenTTD: done for stable releases: check the NewGRF version of server vs client.
17:27:40  <CIA-1> OpenTTD: Previously this check was not done for nightlies/betas/RCs due to missing
17:27:41  <CIA-1> OpenTTD: versioning information in the source tarballs, but they have that for a while
17:27:43  <CIA-1> OpenTTD: now. So just force the NewGRF version check for all versions, and remove the
17:28:57  *** APTX [APTX@89-78-217-144.dynamic.chello.pl] has quit [Ping timeout: 480 seconds]
17:29:13  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has quit [Remote host closed the connection]
17:29:47  *** |Jeroen| [~jeroen@d5152B25B.access.telenet.be] has joined #openttd
17:34:32  *** MJP [~TdlQ@hq.z77.fr] has joined #openttd
17:39:00  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has joined #openttd
17:41:27  *** valhallasw [~valhallas@193.52.24.37] has joined #openttd
17:47:10  *** Chris_Booth [~chatzilla@client-86-23-3-138.brhm.adsl.virginmedia.com] has joined #openttd
17:48:42  *** kais58 [~kais58@cpc2-cwma8-2-0-cust293.7-3.cable.virginmedia.com] has quit [Remote host closed the connection]
17:57:47  *** Alberth [~hat@a82-95-164-127.adsl.xs4all.nl] has joined #openttd
17:57:50  *** mode/#openttd [+o Alberth] by ChanServ
18:03:59  *** APTX [APTX@89-78-217-144.dynamic.chello.pl] has joined #openttd
18:06:44  *** andythenorth [~Andy@cpc23-aztw25-2-0-cust33.aztw.cable.virginmedia.com] has joined #openttd
18:06:50  <Alberth> hi andy
18:07:20  <andythenorth> hola
18:08:48  *** TWerkhoven [~twerkhove@cpc3-linl7-2-0-cust522.sgyl.cable.virginmedia.com] has quit [Ping timeout: 480 seconds]
18:08:53  <Alberth> what's the state of the idea of using m4?
18:10:30  *** APTX_ [APTX@89-78-217-144.dynamic.chello.pl] has quit [Ping timeout: 480 seconds]
18:11:25  <Terkhen> hello
18:12:01  <Chris_Booth> anyone seen mrsmatz pm or amm1er?
18:14:57  *** Chris_Booth[ph] [~chrisboot@client-86-23-3-138.brhm.adsl.virginmedia.com] has joined #openttd
18:16:50  <andythenorth> Alberth: the m4 looks interesting
18:16:54  *** Chris_Booth[ph]_ [~chrisboot@213.205.232.95] has joined #openttd
18:16:56  *** Stimrol [~Stimrol@dsl-149-87-36.hive.is] has joined #openttd
18:17:13  <andythenorth> the example you pasted (imho) heads towards being a complete generator
18:17:21  <andythenorth> which is more than I need I think ;)
18:17:52  *** Chris_Booth is now known as Guest24325
18:17:52  *** Chris_Booth[ph]_ is now known as Chris_Booth
18:17:59  <andythenorth> I decided that arbitrary scalability of the number of trailers was overkill
18:17:59  <Alberth> I was quite clueless what you actually needed :)
18:18:38  <andythenorth> indeed
18:19:30  <Alberth> I think it is a step forward w.r.t. cpp. Whether it is enough is another matter.
18:19:53  <andythenorth> might be too much even
18:20:13  <Alberth> One further step could be to write a code generator in Python, or even to add a front-end to NML
18:20:16  <andythenorth> I think that mostly substituting constants is the safer route for sanity
18:20:43  <Eddi|zuHause> my generator has an "arbitrary" number of trailers, but always in the form AB*C, which is sufficient to cover most MUs and also steam engines with tenders
18:21:23  <Alberth> Eddi|zuHause: more than that would become too confusing, I'd say
18:22:09  <Eddi|zuHause> i have two or three cases where it's not sufficient, for that i introduced the concept of "custom" callbacks, where i include a manually written pnml file
18:22:53  *** Chris_Booth [~chrisboot@213.205.232.95] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
18:22:57  *** Chris_Booth[ph]_ [~chrisboot@client-86-23-3-138.brhm.adsl.virginmedia.com] has joined #openttd
18:23:03  <andythenorth> I am going to do something bonkers - and write a dumb code generator in a web framework
18:23:18  <andythenorth> this is not a wise idea, but will amuse me
18:23:26  <andythenorth> but first, toddler -> bath
18:23:49  *** Chris_Booth[ph] [~chrisboot@client-86-23-3-138.brhm.adsl.virginmedia.com] has quit [Read error: No route to host]
18:23:49  *** Chris_Booth[ph]_ is now known as Chris_Booth[ph]
18:25:05  *** Guest24325 [~chatzilla@client-86-23-3-138.brhm.adsl.virginmedia.com] has quit [Ping timeout: 480 seconds]
18:25:30  *** TomyLobo2 [~foo@p4FC231F1.dip.t-dialin.net] has joined #openttd
18:27:59  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has quit [Read error: Connection reset by peer]
18:28:22  <Eddi|zuHause> anyone notice the irony in "unlocked achievement: locked"? :p
18:31:20  *** TomyLobo [~foo@p54947740.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
18:31:20  *** TomyLobo2 is now known as TomyLobo
18:33:24  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has joined #openttd
18:33:52  <frosch123> what are you playing?
18:34:27  <Alberth> a NoGo script with achievements perhaps? :)
18:34:44  <Eddi|zuHause> i'm reading the forum
18:37:13  <frosch123> i am generating maps
18:38:24  *** FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has joined #openttd
18:38:39  *** glx [glx@2a01:e35:2f59:c7c0:81ee:948e:5c4f:5eaf] has joined #openttd
18:38:43  *** mode/#openttd [+v glx] by ChanServ
18:39:42  *** Wolf01 [~wolf01@host101-141-dynamic.31-79-r.retail.telecomitalia.it] has joined #openttd
18:40:29  <Wolf01> evenfog
18:41:24  *** Muxy [~Muxy@main.goulp.net] has joined #openttd
18:41:32  *** Chris_Booth[ph] [~chrisboot@client-86-23-3-138.brhm.adsl.virginmedia.com] has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
18:41:39  <Muxy> hello guys
18:44:04  <Muxy> i have Rubidium & TrueBrain
18:44:07  <Muxy> nice
18:46:10  <CIA-1> OpenTTD: frosch * r23819 /trunk/src/town_cmd.cpp: -Fix [FS#4951]: Removal of towns with 0 population failed during map generation.
18:46:12  <CIA-1> OpenTTD: translators * r23818 /trunk/src/lang/ (11 files): (log message trimmed)
18:46:12  <CIA-1> OpenTTD: -Update from WebTranslator v3.0:
18:46:12  <CIA-1> OpenTTD: belarusian - 1 changes by KorneySan
18:46:12  <CIA-1> OpenTTD: finnish - 7 changes by jpx_
18:46:12  <CIA-1> OpenTTD: french - 110 changes by OliTTD
18:46:13  <CIA-1> OpenTTD: german - 1 changes by NG
18:46:16  <CIA-1> OpenTTD: italian - 7 changes by lorenzodv
18:48:26  <CIA-1> OpenTTD: rubidium * r23820 /trunk/src/lang/slovenian.txt: -Fix (r23818): WT3 validation failure
18:48:27  <Muxy> ok last point : i would like to use the CLIEN_JOIN message to trigger a welcome message with chat. This message is sent when the ClientSocket has a status who does bot allow chat sending.
18:52:23  *** Scuddles [~notme@cm82.epsilon82.maxonline.com.sg] has quit [Read error: Connection reset by peer]
18:53:20  <Muxy> and from the bot side i will never know (time only if no disconnect) if the  client has a STATUS_ACTIVE.
18:54:15  *** Muxy [~Muxy@main.goulp.net] has quit [Quit: PACKET_CLIENT_QUIT]
18:54:56  <Eddi|zuHause> did i miss one half of the conversation or is this really just incoherent babble?
18:55:23  <Yexo> you probably missed FS#4973
18:55:46  <Eddi|zuHause> @fs 4973
18:55:46  <DorpsGek> Eddi|zuHause: http://bugs.openttd.org/task/4973
18:55:58  <Alberth> 'missed' is somewhat of an over estimation :)
18:57:56  <andythenorth> tieske100 redeemed themselves
18:57:58  <andythenorth> with a thanks
18:59:29  *** Brianett1 [~brian@188-220-91-30.zone11.bethere.co.uk] has joined #openttd
19:06:18  *** HerzogDeXtEr1 [~Flex@i59F6DA27.versanet.de] has joined #openttd
19:08:36  *** Brianetta [~brian@188-220-91-30.zone11.bethere.co.uk] has quit [Remote host closed the connection]
19:08:46  *** Brianett1 is now known as Brianetta
19:13:30  *** HerzogDeXtEr [~Flex@i59F6CCE1.versanet.de] has quit [Ping timeout: 480 seconds]
19:19:50  *** EyeMWing [~Wing@c-68-33-226-154.hsd1.va.comcast.net] has quit [Read error: Connection reset by peer]
19:20:05  *** EyeMWing [~Wing@c-68-33-226-154.hsd1.md.comcast.net] has joined #openttd
19:31:18  *** |Jeroen| [~jeroen@d5152B25B.access.telenet.be] has quit [Quit: oO]
19:33:46  *** JVassie [~James@2.25.196.63] has joined #openttd
19:37:22  *** valhalla1w [~valhallas@193.52.24.37] has joined #openttd
19:38:32  *** valhallasw [~valhallas@193.52.24.37] has quit [Ping timeout: 480 seconds]
19:41:58  *** KritiK [~Maxim@95-26-194-171.broadband.corbina.ru] has joined #openttd
19:47:21  *** supermop [~daniel_er@rrcs-72-43-171-87.nyc.biz.rr.com] has joined #openttd
19:57:56  *** TWerkhoven [~twerkhove@cpc3-linl7-2-0-cust522.sgyl.cable.virginmedia.com] has joined #openttd
19:58:15  *** TWerkhoven [~twerkhove@cpc3-linl7-2-0-cust522.sgyl.cable.virginmedia.com] has quit [Read error: Connection reset by peer]
19:58:36  *** TWerkhoven [~twerkhove@cpc3-linl7-2-0-cust522.sgyl.cable.virginmedia.com] has joined #openttd
19:59:58  *** pjpe [ade6a119@ircip1.mibbit.com] has joined #openttd
20:01:49  *** _mj [~me@dslb-188-097-249-230.pools.arcor-ip.net] has joined #openttd
20:02:57  <_mj> hi, I came here with a specific problem a few days ago, maybe somebody can try to help me now (now that my code is updated to compile against the recent ottd version)
20:03:22  <_mj> it was about the CommandCost object with isn't correctly initialized for no apparent reason
20:10:57  <Eddi|zuHause> No Question - No Code - No Help
20:12:33  <Eddi|zuHause> http://eqi.org/images/no-shoes-no-shirt-no-service_1.jpg
20:12:47  <Rubidium> what? Are you telling what TB's new projects are going to be?
20:12:53  <Rubidium> NoQu
20:12:59  <Eddi|zuHause> haha :)
20:13:52  <Rubidium> oh shit...
20:13:55  <Rubidium> No Qubicles ;)
20:14:40  <Eddi|zuHause> and "NoCo" is where you first remove all code from the repo, and start implementing from scratch? :)
20:15:23  <Alberth> or No Company :p
20:15:36  <Rubidium> so a better scenario editor
20:15:57  <Eddi|zuHause> "do you want to send all your data to mozilla?"
20:16:02  <Eddi|zuHause> i guess rather not...
20:16:17  *** TheMask96 [~martijn@envy.vhost.ne2000.nl] has quit [Ping timeout: 480 seconds]
20:18:32  <_mj> code: http://pastebin.com/pBy7EyqX
20:19:00  <_mj> question: why isn't loc_cost initialized like the other two instances of CommandCost ?
20:20:36  *** FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has quit [Remote host closed the connection]
20:21:08  *** TheMask96 [~martijn@lust.vhost.ne2000.nl] has joined #openttd
20:21:28  *** Jogio [~5080f68b@101.haydn.openttdcoop.org] has joined #openttd
20:22:09  <Alberth> why are you reading from a NULL reference ?    (it seems)
20:22:19  <Jogio> good evening "_"
20:22:36  <Alberth>  CommandCost(ExpensesType ex_t, const Money &cst)
20:23:03  <_mj> :O, wait a second
20:23:53  <Alberth> evenink Jogio
20:24:09  <_mj> was it always this way ? it doesn't make any sense, the way I have done it
20:25:02  <Rubidium> what (optimisation) compile flags do you use?
20:25:18  <_mj> enable-debug=3
20:25:23  <_mj> ah
20:25:39  <Alberth> Since r22629
20:26:21  <Jogio> I have to thank someone but first I have to read my emails
20:27:05  <Rubidium> yeah, the 0 is probably the culprit
20:27:47  <_mj> -march=prescott -O2 -pipe -fomit-frame-pointer
20:28:19  <_mj> I need to check at which game version this problem occured first for me, but that way it looks nonsensical, thanks for pointing this out
20:28:26  *** FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has joined #openttd
20:28:45  <_mj> I assumed it was expecting a money value not a reference
20:29:14  <Rubidium> it's always initialised with a cost of 0
20:29:26  <Rubidium> unless you pass a Cost
20:29:47  <Jogio> thanks Rubidium, finally I can change things in translation now :-)
20:29:49  <Alberth> that was my idea too when I first saw your code, but it did not make sense in the debugger under that assumption :)
20:33:04  <_mj> is 'Money m = 0;' ok to do ?
20:33:11  *** Dozzer_X [~Dozzer@109.100.115.64] has joined #openttd
20:33:27  <Yexo> in C++ I'd expect "Money m(0);"
20:34:03  <APTX> both can work
20:34:35  <Rubidium> but there's no reason to add it to the parameters of CommandCost
20:35:02  <Dozzer_X> How can I stop the tram sounds? I already deactivated SFX...
20:35:10  *** FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has left #openttd []
20:35:23  <Yexo> you can mute sounds from the second-right button in the main toolbar
20:38:23  <_mj> hm, unfortunately the problem keeps reoccuring. I tried initializing the money value as '= 0' as 'm(0)' and with just 'Money m', and I finally left it out altogether
20:38:36  <_mj> but the loc_cost value looks very messed up, still
20:38:59  <_mj> I also tried using the debug function from the game and it produces the same number as gdb shows
20:42:05  *** ricky26 [~quassel@80.83.125.94] has joined #openttd
20:42:37  <Rubidium> if I copy just the three CommandCosts, then it works fine
20:43:18  <Rubidium> do you have a full diff?
20:43:43  <Yexo> _mj: did you also try "CommandCost cc(EXPENSES_NEW_VEHICLES);"?
20:45:10  <_mj> Yexo: I tried it just now, cc is still initialized correctly without the 0
20:45:19  <_mj> Rubidium, I have, let me quick upload it
20:46:05  <Dozzer_X> <@Yexo> you can mute sounds from the second-right button in the main toolbar >> The second-right button is the news button
20:46:32  <Yexo> ok, "some button near the right end of the main toolbar" :p
20:46:58  *** Chris_Booth [~chatzilla@client-86-23-3-138.brhm.adsl.virginmedia.com] has joined #openttd
20:47:28  <Dozzer_X> right end > Music (MSX - deactivated), news and help
20:47:48  <Yexo> click the "Sound/music" button
20:48:02  <Yexo> a window opens were you can set "music volume" and "effects volume"
20:48:03  <Rubidium> but 1e verdieping = 2nd floor
20:48:04  *** Illegal_Alien [~Illegal_A@ip4da39612.direct-adsl.nl] has joined #openttd
20:48:12  <Yexo> set the second one to "Min"
20:49:27  *** kais58 [~kais58@cpc2-cwma8-2-0-cust293.7-3.cable.virginmedia.com] has joined #openttd
20:54:06  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has quit [Remote host closed the connection]
20:54:08  <_mj> Rubidium: http://cip.uni-trier.de/~schmidt/all.diff   << took a little bit because (this time) I wanted to make sure that it compiles against the newest trunk version
20:54:36  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has joined #openttd
20:55:14  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has quit [Read error: Connection reset by peer]
20:55:43  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has joined #openttd
20:58:43  *** DDR [~DDR@142.179.78.88] has joined #openttd
20:58:53  <Yexo> _mj: how to trigger that function?
20:59:13  <Dozzer_X> Cheats don't work for me btw
20:59:31  <Yexo> Dozzer_X: "don't work" is too vague
20:59:39  <Yexo> do you know how to open the cheat window?
20:59:46  <Dozzer_X> CTRL ALT C
20:59:48  <Dozzer_X> I suppose
20:59:51  <Yexo> yes
20:59:54  <Dozzer_X> It worked for me in november
20:59:58  <Yexo> try ctrl+alt+meta+c if that doesn't work
21:00:02  <_mj> Yexo: its a bit complicated, sry. I should just upload my savegame too, it is set up for this
21:00:03  <Dozzer_X> META?
21:00:09  <Yexo> windows-key
21:00:12  <Dozzer_X> Oh
21:00:25  <Dozzer_X> It worked, thanks
21:00:50  <Yexo> in that case you have some other software installed that catches the ctrl+alt+c shortcut before openttd gets it
21:01:09  <_mj> Yexo: http://cip.uni-trier.de/~schmidt/devtest.sav  << I use this save game
21:01:40  <_mj> for checking I use gdb and set a breakpoint with:  "b aaa_template_vehicle_func.cpp:623"
21:02:24  <Yexo> loc_cost looks empty as expected for me
21:02:41  <Rubidium> if I add a few printfs like printf("val: %i\n", (int)loc_cost.GetCost());
21:02:52  <Rubidium> all the command costs have 0 cost
21:03:15  <_mj> this is what I tried too
21:04:31  <Rubidium> and expenses type is 1
21:05:06  <_mj> you're right, maybe it is just in gdb
21:05:26  <_mj> what I tried before was DEBUG, not printf, it gave me the same output as gdb iirc
21:05:55  *** FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has joined #openttd
21:06:38  *** pugi [~pugi@host-091-097-181-149.ewe-ip-backbone.de] has joined #openttd
21:06:49  <Rubidium> even in gdb it looks right to me
21:07:14  <Eddi|zuHause> must be solar flares
21:07:20  <Eddi|zuHause> aurora borealis
21:07:22  <_mj> hm and succeeded is 1
21:08:45  <andythenorth> "python is so fun"
21:08:49  *** FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has left #openttd []
21:08:53  <_mj> what is my gdb doing :/ but thanks for your help, I think I can assume that it is treated right within the game
21:08:59  *** brendan10211 [~brendan10@cpe-069-134-169-113.nc.res.rr.com] has quit [Quit: So long and thanks for all the fish...]
21:09:41  <Rubidium> try a different version of the compiler?
21:10:16  <_mj> uh, its gentoo, gcc always takes so long to compile ^^
21:10:25  <_mj> I am using 4.5.3 right now
21:10:53  <Yexo> CommandCost aa(EXPENSES_NEW_VEHICLES, 0); <- why doesn't that trigger at least a warning?
21:12:21  <CIA-1> OpenTTD: rubidium * r23821 /trunk/src/network/network_command.cpp: -Fix-ish: when replaying a command log, ignore the command limit
21:13:11  <CIA-1> OpenTTD: rubidium * r23822 /trunk/src/ (company_cmd.cpp network/network_internal.h): -Fix-ish: when replaying make sure companies get created even if their creating client doesn't exist during the replay
21:16:39  *** Dozzer_X [~Dozzer@109.100.115.64] has quit [Ping timeout: 480 seconds]
21:16:52  <_mj> Yexo: because the reference is set as const ? When I make a little test program its the same - as long as the ref is const
21:17:12  <_mj> if it isn't it's an error to give 0 as argument where a ref is expected
21:18:34  <michi_cc> No, passing 0 is totally fine here as Money has an constructor that takes an int64. As it isn't declared as 'explicit', the compiler will just construct a temporary Money with value 0.
21:27:27  *** Knogle [knogle@1604ds5-soeb.0.fullrate.dk] has quit []
21:31:56  * andythenorth lol
21:31:58  <andythenorth> http://213.133.67.181:8192/zz_dangerous_things/tt_foundry/sets/BANDIT/render_trucks
21:32:16  <andythenorth> I have built a dumb object database for trucks, and am rendering the defines out :P
21:32:26  <andythenorth> which is more work than other methods, but amuses me
21:34:27  <Alberth> having fun in what you do is the key part :)
21:39:31  <andythenorth> it uses some python: http://paste.openttdcoop.org/show/949/
21:39:39  <andythenorth> which no-one but me will probably understand :P
21:40:06  <andythenorth> and a template (unfinished): http://paste.openttdcoop.org/show/950/
21:40:16  <andythenorth> which renders out html that I paste into a local file
21:40:28  <andythenorth> this is all very silly
21:40:57  <andythenorth> the makefile could curl the text and write it locally when run
21:41:04  <valhalla1w> andythenorth: you could user the a = b = c python idiom to clarify the first line in the loop
21:41:11  <valhalla1w> -r
21:41:39  <valhalla1w> and use "THIS_TRAILER_%i_ID" % j
21:41:44  <valhalla1w> instead of the str(j) concatenation
21:41:46  <andythenorth> true
21:41:53  <andythenorth> I never grok the % implementation though
21:42:01  <andythenorth> so I build big clunky concatenations
21:42:32  <valhalla1w> %i = int(val), %s = str(val), %r = repr(val), %f = float(val), and the rest is just standard printf stuff?
21:42:46  <andythenorth> yup
21:42:53  <appe_> http://gyazo.com/bfdfa8b215425914069f735977670b8c
21:42:54  <appe_> eeh..
21:42:56  <andythenorth> just my brain never got it somehow
21:43:03  <andythenorth> the a = b = c is nice
21:43:22  <andythenorth> switched that in
21:43:51  <valhalla1w> is id() a string or an int?
21:43:57  <andythenorth> it's a call
21:44:01  <Alberth> valhalla1w: %s works for anything that has a str()
21:44:06  <andythenorth> the call returns a string
21:44:25  <SpComb> you can't `"foo" + 5`
21:44:59  <valhalla1w> Alberth: I know. Why?
21:45:39  <Alberth> %i = int(val)   %f = float(val)    <-- %s also works
21:46:39  <Alberth> andythenorth: id() returns an int here
21:46:59  <andythenorth> interesting
21:46:59  <valhalla1w> Alberth: for ints and floats specifically: yes
21:47:45  <Alberth> for anything that has str(), ie a class with C.__str__(self)  too :)
21:48:09  <andythenorth> http://213.133.67.181:8192/zz_dangerous_things/tt_foundry/sets/BANDIT/vehicle_storage/hackler_BB/title_or_id
21:48:12  <SpComb> very few types don't have a __str__
21:48:19  <valhalla1w> again, yes - but if you want a number, you should use a number format, not a string format
21:49:26  * SpComb requests GPL source from andythenorth
21:49:28  * Alberth only uses %d or %f for special formatting, as in %02d or %.2f
21:49:44  <andythenorth> SpComb: for...?  :)
21:50:08  <SpComb> the bit where it says "Source available on request"!
21:50:09  <Alberth> andythenorth: just send him everything to be safe :)
21:50:36  *** _mj [~me@dslb-188-097-249-230.pools.arcor-ip.net] has quit [Quit: _mj]
21:50:39  <andythenorth> SpComb: I should remove that :)
21:50:44  <andythenorth> and link the repos
21:50:47  <valhalla1w> Alberth: as long as you don't do it for {SQL, popen, etc}, it's probably fine ;-)
21:51:21  <Wolf01> 'night
21:51:25  *** Wolf01 [~wolf01@host101-141-dynamic.31-79-r.retail.telecomitalia.it] has quit [Quit: Once again the world is quick to bury me.]
21:51:37  <Alberth> hmm, too fast for me :)
21:51:48  <Alberth> anyways, time to go too, bye
21:51:55  <valhalla1w> Alberth: and of course, using %i and %f helps to communicate what you expect
21:52:01  *** FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has joined #openttd
21:52:10  <valhalla1w> anyway, good night.
21:52:27  <SpComb> %(foo)d
21:53:12  <valhalla1w> SpComb: I only do that with the evil antipattern "%(foo)i" % locals()
21:53:13  <Alberth> SpComb that's Python3, isn't it?
21:53:21  <valhalla1w> nope
21:53:32  <SpComb> str.format is like {foo:d} or something esoteric
21:53:45  <SpComb> you have to go click through about five links in the online docs to figure out the format
21:53:46  <valhalla1w> >>> "%(foo)i"%  { 'foo': 10}
21:53:46  <valhalla1w> '10'
21:53:56  <SpComb> and then reverse-engineer a couple examples if you want to do stuff like zero-padding
21:54:05  <Alberth> oh dictionaries. I remember now, never used that
21:54:22  <valhalla1w> >>> "%(foo)09i"%  { 'foo': 10}
21:54:23  <valhalla1w> '000000010'
21:54:31  *** Alberth [~hat@a82-95-164-127.adsl.xs4all.nl] has left #openttd []
21:54:44  <valhalla1w> and if you want spaces instead, you can actually just use a space instead of the 0
21:54:56  <SpComb> >>> "{foo:09d}".format(foo=10)
21:54:56  <SpComb> '000000010'
21:55:07  * valhalla1w shudders
21:55:12  <valhalla1w> why did they change the format?!
21:55:16  <SpComb> .format is nice otherwise, though
21:55:54  <SpComb> >>> "{foo.__class__}".format(foo=10)
21:55:54  <SpComb> "<type 'int'>"
21:55:58  <SpComb> you've always needed it
21:56:07  <welshdragon> can I remove the limit for the distance a town is permitted near the edge?
21:56:11  <SpComb> okay, bad example :)
21:56:16  <valhalla1w> SpComb: oh, that is actually sort of nice
21:56:22  <valhalla1w> real templating
21:56:28  <SpComb> sans loops or conditionals
21:57:09  <valhalla1w> and functions
21:57:19  <valhalla1w> AttributeError: 'test' object has no attribute 'a()'
21:57:21  <valhalla1w> -_-'
21:57:36  <SpComb> you can fake it with [...] :)
21:58:05  <valhalla1w> err?
21:58:43  <SpComb> __getitem__
21:59:14  <valhalla1w> I could make a property out of it, but that's not really the point, right?
21:59:30  *** KouDy [~KouDy@188.75.190.58] has quit [Quit: Leaving.]
22:02:42  <Yexo> welshdragon: only by modifying the source code
22:02:48  <Yexo> town_cmd.cpp:TownCanBePlacedHere
22:05:26  <welshdragon> right
22:06:34  <andythenorth> ho ho ho
22:06:37  <andythenorth> my system works
22:06:43  <andythenorth> what larks
22:07:01  <andythenorth> all I have to do is put a web form on the front, and you can edit your own BANDIT :P
22:08:57  *** Jogio [~5080f68b@101.haydn.openttdcoop.org] has quit [Quit: Page closed]
22:14:53  <andythenorth> good night
22:14:54  *** andythenorth [~Andy@cpc23-aztw25-2-0-cust33.aztw.cable.virginmedia.com] has quit [Quit: andythenorth]
22:19:08  *** TGYoshi_ [~TGYoshi@86.81.146.146] has quit [Quit: Popidopidopido]
22:19:57  <Terkhen> good night
22:21:03  *** JVassie [~James@2.25.196.63] has quit [Read error: Connection reset by peer]
22:24:03  *** JVassie [~James@2.25.196.63] has joined #openttd
22:32:14  *** JVassie [~James@2.25.196.63] has quit [Ping timeout: 480 seconds]
22:32:19  *** DDR [~DDR@142.179.78.88] has quit [Remote host closed the connection]
22:33:26  *** Progman [~progman@87.161.184.213] has quit [Remote host closed the connection]
22:46:21  *** kais58_ [~kais58@cpc2-cwma8-2-0-cust293.7-3.cable.virginmedia.com] has joined #openttd
22:48:17  *** kais58 [~kais58@cpc2-cwma8-2-0-cust293.7-3.cable.virginmedia.com] has quit [Ping timeout: 480 seconds]
22:50:49  *** kais58_ is now known as kais58
22:52:10  *** Illegal_Alien [~Illegal_A@ip4da39612.direct-adsl.nl] has quit [Quit:  HydraIRC -> http://www.hydrairc.com <- Nine out of ten l33t h4x0rz prefer it]
22:54:46  *** Zeknurn` [~Zeknurn@hd9483b0c.seveveb.dyn.perspektivbredband.net] has joined #openttd
22:55:22  *** Zeknurn` [~Zeknurn@hd9483b0c.seveveb.dyn.perspektivbredband.net] has quit []
22:56:09  *** Cybertinus [~Cybertinu@tunnel3304.ipv6.xs4all.nl] has quit [Remote host closed the connection]
22:56:51  <kais58> TrueBrain: could you help fix/merge my accounts on the site, it's borked for me?
22:58:12  *** FLHerne [~francis_h@dsl-217-155-24-22.zen.co.uk] has left #openttd []
22:58:17  <TrueBrain> ugh, I should remove the merge stuff; it is very old
23:00:08  <kais58> I still don't have, my account set up right from that, I seem to remember I put my email in wrong from the merge and so can't get acces to my account now
23:00:23  <TrueBrain> I can check tomorrow; to tired now
23:00:33  <TrueBrain> but it will be the last account I look into :P
23:00:33  <kais58> ok, thanks
23:01:03  *** mib_tg9fo1 [44311796@ircip4.mibbit.com] has joined #openttd
23:01:34  *** mib_tg9fo1 [44311796@ircip4.mibbit.com] has quit []
23:04:55  *** pjpe [ade6a119@ircip1.mibbit.com] has quit [Quit: http://www.mibbit.com ajax IRC Client]
23:09:17  *** DDR [~chatzilla@142.179.78.88] has joined #openttd
23:13:25  *** valhalla1w [~valhallas@193.52.24.37] has quit [Ping timeout: 480 seconds]
23:13:47  *** Chris_Booth [~chatzilla@client-86-23-3-138.brhm.adsl.virginmedia.com] has quit [Quit: ChatZilla 0.9.88 [Firefox 10.0/20120111092507]]
23:16:39  *** MJP [~TdlQ@hq.z77.fr] has quit [Ping timeout: 480 seconds]
23:24:48  *** Devroush [~dennis@178-119-153-135.access.telenet.be] has quit []
23:25:05  *** TWerkhoven [~twerkhove@cpc3-linl7-2-0-cust522.sgyl.cable.virginmedia.com] has quit [Quit: He who can look into the future, has a brighter future to look into]
23:28:11  *** frosch123 [~frosch@frnk-4d00b6d1.pool.mediaWays.net] has quit [Remote host closed the connection]
23:59:59  *** sla_ro|master [~slaco@95.76.26.172] has quit [Quit: Sla Mutant Co-Op for Renegade - coming back soon]

Powered by YARRSTE version: svn-trunk