IRC logs for #openttd on OFTC at 2012-01-17
            
00:09:36 *** Eddi|zuHause has joined #openttd
00:10:44 *** JefferyT has joined #openttd
00:10:46 <JefferyT> Check out this viral video http://bit.ly/x5JHCf
00:10:46 *** JefferyT has left #openttd
00:10:50 *** brendan10211 has quit IRC
00:11:07 <Eddi|zuHause> is a "viral video" a "video contaminated with a virus"?
00:12:52 *** JefferyT has joined #openttd
00:12:54 <JefferyT> Check out this viral video http://bit.ly/x5JHCf
00:12:54 *** JefferyT has left #openttd
00:15:02 *** JefferyT has joined #openttd
00:15:04 <JefferyT> Check out this viral video http://bit.ly/x5JHCf
00:15:04 *** JefferyT has left #openttd
00:15:42 <Eddi|zuHause> any op feeling responsible?
00:17:16 *** JefferyT has joined #openttd
00:17:18 <JefferyT> Check out this viral video http://bit.ly/x5JHCf
00:17:18 *** JefferyT has left #openttd
00:18:11 <__ln__> all the ops are probably still watching the viral video
00:19:30 *** JefferyT has joined #openttd
00:19:32 <JefferyT> Check out this viral video http://bit.ly/x5JHCf
00:19:32 *** JefferyT has left #openttd
00:19:59 *** DorpsGek sets mode: +o glx
00:20:08 *** Ropeburn has joined #openttd
00:20:09 <Ropeburn> ?
00:20:22 <Ropeburn> hallo?
00:20:40 *** glx sets mode: +b *!~jefft@pool-72-71-225-27.cncdnh.east.myfairpoint.net
00:20:49 *** DorpsGek sets mode: -o glx
00:21:06 <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 has quit IRC
00:23:27 <Ropeburn> Sooooo. anything interesting?
00:23:56 *** Ropeburn has quit IRC
00:23:56 <__ln__> fourier integrals
00:24:04 <__ln__> too slow
00:34:46 *** valhallasw has quit IRC
00:45:29 *** Brianetta has quit IRC
00:56:25 *** Simon 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:43 <Yexo> yes
01:00:34 *** glevans2 has quit IRC
01:05:00 *** glevans2 has joined #openttd
01:06:43 <Guest24236> Cool, thanks
01:13:45 *** Progman has quit IRC
02:05:09 *** NOUK has quit IRC
02:10:36 *** LordPixaII has joined #openttd
02:10:50 *** Mek has quit IRC
02:10:50 *** Mek has joined #openttd
02:12:06 *** KritiK has quit IRC
02:12:50 *** KingPixaIII has joined #openttd
02:15:36 *** KingPixaIII_ has joined #openttd
02:16:39 *** Pixa has quit IRC
02:18:44 *** LordPixaII has quit IRC
02:21:24 *** KingPixaIII has quit IRC
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:02 <Eddi|zuHause> kais58: i could pause the game, set autoreplace, clone, unset autoreplace, and not have the vehicle replced
02:39:49 <Eddi|zuHause> kais58: i would get all the benefits of cloning (shared/copied orders, group membership, vehicle numbering, ...)
02:44:47 *** tparker has quit IRC
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:22 *** glx has quit IRC
03:32:42 *** tparker has joined #openttd
03:32:50 *** Lakie has quit IRC
04:24:36 *** kkb110 has quit IRC
04:35:05 *** kkb110 has joined #openttd
05:20:02 *** supermop_ has quit IRC
05:35:56 *** DayDreamer has joined #openttd
05:37:37 *** DayDreamer has left #openttd
05:56:02 *** Eddi|zuHause has quit IRC
05:56:18 *** Eddi|zuHause has joined #openttd
06:13:03 *** Rubidium has quit IRC
06:13:03 *** Noldo has quit IRC
06:13:03 *** Hawson has quit IRC
06:19:02 *** Hawson has joined #openttd
06:19:02 *** Rubidium has joined #openttd
06:19:02 *** Noldo has joined #openttd
06:19:06 *** ChanServ sets mode: +o Rubidium
06:24:39 *** KouDy has joined #openttd
06:39:29 *** kkb110 has quit IRC
06:40:56 *** kkb110 has joined #openttd
06:47:42 *** JVassie has joined #openttd
06:50:40 *** Cybertinus has joined #openttd
06:55:06 *** MJP has joined #openttd
06:56:45 *** kkb110 has quit IRC
06:57:21 *** kkb110_ has joined #openttd
07:12:16 *** JVassie has quit IRC
07:29:05 *** TGYoshi has joined #openttd
07:33:57 *** TGYoshi_ has joined #openttd
07:37:58 *** TGYoshi has quit IRC
07:47:50 *** sla_ro|master has joined #openttd
08:05:01 *** Progman has joined #openttd
08:13:53 *** MJP has quit IRC
08:15:41 *** KouDy has quit IRC
08:20:09 *** pugi has joined #openttd
08:26:53 *** KouDy has joined #openttd
08:34:12 *** brendan10211 has joined #openttd
08:34:18 *** Prof_Frink has quit IRC
08:34:50 *** ModumSonus has joined #openttd
08:36:16 *** brendan10211 has quit IRC
08:36:45 *** brendan10211 has joined #openttd
08:39:46 *** TrueBrain has quit IRC
08:53:00 *** pugi has quit IRC
08:53:46 *** EyeMWing has quit IRC
08:56:33 *** mahmoud has joined #openttd
08:57:34 *** Neon has joined #openttd
09:02:10 *** EyeMWing has joined #openttd
09:05:55 *** Elukka has joined #openttd
09:19:44 *** Brianetta has joined #openttd
09:20:30 *** andythenorth has joined #openttd
09:23:09 *** Progman has quit IRC
09:23:30 *** andythenorth has quit IRC
09:23:36 *** Progman has joined #openttd
09:26:05 *** Progman has quit IRC
09:26:37 *** Progman has joined #openttd
09:34:17 *** andythenorth has joined #openttd
09:38:35 *** andythenorth has quit IRC
09:40:08 *** TrueBrain has joined #openttd
09:40:12 *** andythenorth has joined #openttd
09:46:00 <andythenorth> hmm
09:47:24 <brendan10211> hrmmm
09:47:58 <andythenorth> exactly
09:48:04 <peter1138> no
09:48:26 <andythenorth> inexactly?
09:49:09 <brendan10211> what?
09:49:13 <brendan10211> since when?
09:49:17 <brendan10211> Always
09:49:56 * andythenorth is bidding to redefine 'sledgehammer -> nut'
09:50:46 <brendan10211> sledgehammer ~> nut
09:53:35 <appe_> sleeedgehammer
09:53:41 <appe_> badum budum bumbumbom
09:54:01 *** glevans2 has quit IRC
09:54:10 <appe_> np: peter gabriel - sledgehammer
09:54:47 <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:01 *** glevans2 has joined #openttd
10:04:15 <peter1138> nice
10:09:38 *** Progman has quit IRC
10:10:06 *** Progman has joined #openttd
10:20:50 *** pjpesdfsdfs has quit IRC
10:31:36 *** andythenorth has quit IRC
10:47:10 *** Devroush has joined #openttd
10:49:27 *** brendan10211 has quit IRC
10:53:17 *** Scuddles has joined #openttd
10:58:49 *** sla_ro|master has quit IRC
11:02:01 *** DDR_ has quit IRC
11:10:32 *** welshdragon has left #openttd
11:12:49 *** welshdragon has joined #openttd
11:15:06 *** xiong 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:55 <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:02 <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 has quit IRC
11:50:38 <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:19 <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:15 <blathijs> What's chillpack?
11:58:49 <planetmaker> it's the most popular existing patchpack for OpenTTD at the moment
11:58:50 <Elukka> chill's patchpack
11:59:06 <planetmaker> which we even compile on our CF ;-)
11:59:12 <blathijs> Ah, right :-)
12:00:42 <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 has quit IRC
13:06:52 *** KouDy has joined #openttd
13:07:55 <cornjuliox> chillpack?
13:07:57 <cornjuliox> link?
13:11:53 <Yexo> see development section of the forums
13:12:48 *** APTX has quit IRC
13:12:54 *** APTX has joined #openttd
13:38:09 *** SpComb has quit IRC
14:12:49 <Belugas> hello
14:13:48 *** Devedse has joined #openttd
14:14:26 *** SpBot_ has joined #openttd
14:14:29 *** SpComb^_ has joined #openttd
14:14:31 *** SpComb^ has quit IRC
14:14:39 *** SpBot has quit IRC
14:24:00 *** Knogle_ has joined #openttd
14:27:29 *** Neon has joined #openttd
14:40:19 *** tokai|mdlx has joined #openttd
14:42:25 *** Knogle_ is now known as Knogle
14:46:08 *** tokai|noir has quit IRC
15:02:02 *** Snor has quit IRC
15:02:24 *** Snor has joined #openttd
15:06:55 *** SpComb has joined #openttd
15:07:50 *** DayDreamer has joined #openttd
15:09:42 *** DayDreamer has left #openttd
15:10:59 *** Stimrol has joined #openttd
15:17:58 *** TWerkhoven has joined #openttd
15:19:00 *** TWerkhoven2 has joined #openttd
15:25:08 *** iddqd has quit IRC
15:26:23 *** TWerkhoven has quit IRC
15:26:23 *** iddqd has joined #openttd
15:34:28 *** iddqd has quit IRC
15:38:56 * 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:04 *** supermop has joined #openttd
16:09:58 *** brendan10211 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:14 <brendan10211> ok
16:23:37 *** supermop has quit IRC
16:23:53 *** Stimrol has quit IRC
16:25:22 <planetmaker> brendan10211 is a bot
16:25:30 <brendan10211> ok
16:25:32 <brendan10211> nope
16:25:33 <brendan10211> soryr
16:25:35 <brendan10211> sorry
16:25:50 <brendan10211> im just bored, and have nothing to say
16:25:58 <brendan10211> i guess i just shouldnt say it
16:26:44 <Belugas> ok
16:26:54 <planetmaker> :-)
16:33:04 *** TWerkhoven2 is now known as TWerkhoven
16:34:33 *** [1]Mark has joined #openttd
16:34:34 *** Mark is now known as Guest24305
16:34:34 *** Guest24222 is now known as Mark
16:39:31 *** Guest24305 has quit IRC
16:50:42 *** Mark is now known as Guest24311
16:50:42 *** [1]Mark is now known as Mark
16:57:21 *** frosch123 has joined #openttd
17:20:00 *** sla_ro|master has joined #openttd
17:22:23 *** APTX_ has joined #openttd
17:26:35 *** Prof_Frink 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:42 <CIA-1> OpenTTD: versioning information in the source tarballs, but they have that for a while
17:27:44 <CIA-1> OpenTTD: now. So just force the NewGRF version check for all versions, and remove the
17:28:58 *** APTX has quit IRC
17:29:14 *** brendan10211 has quit IRC
17:29:48 *** |Jeroen| has joined #openttd
17:34:33 *** MJP has joined #openttd
17:39:01 *** brendan10211 has joined #openttd
17:41:28 *** valhallasw has joined #openttd
17:47:11 *** Chris_Booth has joined #openttd
17:48:42 *** kais58 has quit IRC
17:57:48 *** Alberth has joined #openttd
17:57:48 *** ChanServ sets mode: +o Alberth
18:03:59 *** APTX has joined #openttd
18:06:45 *** andythenorth has joined #openttd
18:06:51 <Alberth> hi andy
18:07:20 <andythenorth> hola
18:08:49 *** TWerkhoven has quit IRC
18:08:54 <Alberth> what's the state of the idea of using m4?
18:10:31 *** APTX_ has quit IRC
18:11:26 <Terkhen> hello
18:12:02 <Chris_Booth> anyone seen mrsmatz pm or amm1er?
18:14:57 *** Chris_Booth[ph] has joined #openttd
18:16:51 <andythenorth> Alberth: the m4 looks interesting
18:16:55 *** Chris_Booth[ph]_ has joined #openttd
18:16:56 *** Stimrol has joined #openttd
18:17:14 <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:53 *** Chris_Booth is now known as Guest24325
18:17:53 *** 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:18:00 <Alberth> I was quite clueless what you actually needed :)
18:18:39 <andythenorth> indeed
18:19:31 <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:14 <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:10 <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 has quit IRC
18:22:58 *** Chris_Booth[ph]_ has joined #openttd
18:23:04 <andythenorth> I am going to do something bonkers - and write a dumb code generator in a web framework
18:23:19 <andythenorth> this is not a wise idea, but will amuse me
18:23:26 <andythenorth> but first, toddler -> bath
18:23:50 *** Chris_Booth[ph] has quit IRC
18:23:50 *** Chris_Booth[ph]_ is now known as Chris_Booth[ph]
18:25:06 *** Guest24325 has quit IRC
18:25:30 *** TomyLobo2 has joined #openttd
18:28:00 *** brendan10211 has quit IRC
18:28:22 <Eddi|zuHause> anyone notice the irony in "unlocked achievement: locked"? :p
18:31:20 *** TomyLobo has quit IRC
18:31:21 *** TomyLobo2 is now known as TomyLobo
18:33:25 *** brendan10211 has joined #openttd
18:33:53 <frosch123> what are you playing?
18:34:27 <Alberth> a NoGo script with achievements perhaps? :)
18:34:45 <Eddi|zuHause> i'm reading the forum
18:37:13 <frosch123> i am generating maps
18:38:25 *** FLHerne has joined #openttd
18:38:40 *** glx has joined #openttd
18:38:40 *** ChanServ sets mode: +v glx
18:39:43 *** Wolf01 has joined #openttd
18:40:29 <Wolf01> evenfog
18:41:24 *** Muxy has joined #openttd
18:41:33 *** Chris_Booth[ph] has quit IRC
18:41:40 <Muxy> hello guys
18:44:04 <Muxy> i have Rubidium & TrueBrain
18:44:07 <Muxy> nice
18:46:11 <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:13 <CIA-1> OpenTTD: translators * r23818 /trunk/src/lang/ (11 files): (log message trimmed)
18:46:13 <CIA-1> OpenTTD: -Update from WebTranslator v3.0:
18:46:13 <CIA-1> OpenTTD: belarusian - 1 changes by KorneySan
18:46:13 <CIA-1> OpenTTD: finnish - 7 changes by jpx_
18:46:13 <CIA-1> OpenTTD: french - 110 changes by OliTTD
18:46:14 <CIA-1> OpenTTD: german - 1 changes by NG
18:46:16 <CIA-1> OpenTTD: italian - 7 changes by lorenzodv
18:48:27 <CIA-1> OpenTTD: rubidium * r23820 /trunk/src/lang/slovenian.txt: -Fix (r23818): WT3 validation failure
18:48:28 <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:24 *** Scuddles has quit IRC
18:53:21 <Muxy> and from the bot side i will never know (time only if no disconnect) if the client has a STATUS_ACTIVE.
18:54:16 *** Muxy has quit IRC
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:59 <Alberth> 'missed' is somewhat of an over estimation :)
18:57:56 <andythenorth> tieske100 redeemed themselves
18:57:59 <andythenorth> with a thanks
18:59:29 *** Brianett1 has joined #openttd
19:06:18 *** HerzogDeXtEr1 has joined #openttd
19:08:36 *** Brianetta has quit IRC
19:08:47 *** Brianett1 is now known as Brianetta
19:13:30 *** HerzogDeXtEr has quit IRC
19:19:50 *** EyeMWing has quit IRC
19:20:06 *** EyeMWing has joined #openttd
19:31:19 *** |Jeroen| has quit IRC
19:33:46 *** JVassie has joined #openttd
19:37:22 *** valhalla1w has joined #openttd
19:38:33 *** valhallasw has quit IRC
19:41:59 *** KritiK has joined #openttd
19:47:21 *** supermop has joined #openttd
19:57:57 *** TWerkhoven has joined #openttd
19:58:36 *** TWerkhoven has joined #openttd
19:59:58 *** pjpe has joined #openttd
20:01:50 *** _mj has joined #openttd
20:02:58 <_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:58 <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:48 <Rubidium> what? Are you telling what TB's new projects are going to be?
20:12:53 <Rubidium> NoQu
20:13:00 <Eddi|zuHause> haha :)
20:13:52 <Rubidium> oh shit...
20:13:56 <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:24 <Alberth> or No Company :p
20:15:37 <Rubidium> so a better scenario editor
20:15:58 <Eddi|zuHause> "do you want to send all your data to mozilla?"
20:16:02 <Eddi|zuHause> i guess rather not...
20:16:18 *** TheMask96 has quit IRC
20:18:32 <_mj> code: http://pastebin.com/pBy7EyqX
20:19:01 <_mj> question: why isn't loc_cost initialized like the other two instances of CommandCost ?
20:20:36 *** FLHerne has quit IRC
20:21:09 *** TheMask96 has joined #openttd
20:21:28 *** Jogio 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:04 <_mj> :O, wait a second
20:23:54 <Alberth> evenink Jogio
20:24:10 <_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:19 <_mj> enable-debug=3
20:25:24 <_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:06 <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:27 *** FLHerne has joined #openttd
20:28:46 <_mj> I assumed it was expecting a money value not a reference
20:29:15 <Rubidium> it's always initialised with a cost of 0
20:29:27 <Rubidium> unless you pass a Cost
20:29:48 <Jogio> thanks Rubidium, finally I can change things in translation now :-)
20:29:50 <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 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:03 <Dozzer_X> How can I stop the tram sounds? I already deactivated SFX...
20:35:10 *** FLHerne has left #openttd
20:35:23 <Yexo> you can mute sounds from the second-right button in the main toolbar
20:38:24 <_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:37 <_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 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:44 <Yexo> _mj: did you also try "CommandCost cc(EXPENSES_NEW_VEHICLES);"?
20:45:11 <_mj> Yexo: I tried it just now, cc is still initialized correctly without the 0
20:45:20 <_mj> Rubidium, I have, let me quick upload it
20:46:06 <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:59 *** Chris_Booth has joined #openttd
20:47:28 <Dozzer_X> right end > Music (MSX - deactivated), news and help
20:47:49 <Yexo> click the "Sound/music" button
20:48:03 <Yexo> a window opens were you can set "music volume" and "effects volume"
20:48:04 <Rubidium> but 1e verdieping = 2nd floor
20:48:05 *** Illegal_Alien has joined #openttd
20:48:12 <Yexo> set the second one to "Min"
20:49:27 *** kais58 has joined #openttd
20:54:07 *** brendan10211 has quit IRC
20:54:09 <_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:37 *** brendan10211 has joined #openttd
20:55:44 *** brendan10211 has joined #openttd
20:58:43 *** DDR 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:32 <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:52 <Yexo> yes
20:59:54 <Dozzer_X> It worked for me in november
20:59:59 <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:10 <Yexo> windows-key
21:00:13 <Dozzer_X> Oh
21:00:26 <Dozzer_X> It worked, thanks
21:00:51 <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:42 <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:16 <_mj> this is what I tried too
21:04:32 <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:56 *** FLHerne has joined #openttd
21:06:39 *** pugi has joined #openttd
21:06:50 <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:23 <_mj> hm and succeeded is 1
21:08:45 <andythenorth> "python is so fun"
21:08:50 *** FLHerne has left #openttd
21:08:54 <_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:09:00 *** brendan10211 has quit IRC
21:09:41 <Rubidium> try a different version of the compiler?
21:10:17 <_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:12 <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:40 *** Dozzer_X has quit IRC
21:16:53 <_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 has quit IRC
21:31:56 * andythenorth lol
21:31:59 <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:27 <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:12 <valhalla1w> -r
21:41:39 <valhalla1w> and use "THIS_TRAILER_%i_ID" % j
21:41:45 <valhalla1w> instead of the str(j) concatenation
21:41:47 <andythenorth> true
21:41:54 <andythenorth> I never grok the % implementation though
21:42:01 <andythenorth> so I build big clunky concatenations
21:42:33 <valhalla1w> %i = int(val), %s = str(val), %r = repr(val), %f = float(val), and the rest is just standard printf stuff?
21:42:47 <andythenorth> yup
21:42:54 <appe_> http://gyazo.com/bfdfa8b215425914069f735977670b8c
21:42:55 <appe_> eeh..
21:42:56 <andythenorth> just my brain never got it somehow
21:43:04 <andythenorth> the a = b = c is nice
21:43:23 <andythenorth> switched that in
21:43:52 <valhalla1w> is id() a string or an int?
21:43:58 <andythenorth> it's a call
21:44:01 <Alberth> valhalla1w: %s works for anything that has a str()
21:44:07 <andythenorth> the call returns a string
21:44:25 <SpComb> you can't `"foo" + 5`
21:45:00 <valhalla1w> Alberth: I know. Why?
21:45:40 <Alberth> %i = int(val) %f = float(val) <-- %s also works
21:46:40 <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:46 <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:13 <SpComb> very few types don't have a __str__
21:48:20 <valhalla1w> again, yes - but if you want a number, you should use a number format, not a string format
21:49:27 * SpComb requests GPL source from andythenorth
21:49:29 * Alberth only uses %d or %f for special formatting, as in %02d or %.2f
21:49:45 <andythenorth> SpComb: for...? :)
21:50:08 <SpComb> the bit where it says "Source available on request"!
21:50:10 <Alberth> andythenorth: just send him everything to be safe :)
21:50:37 *** _mj has quit IRC
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 has quit IRC
21:51:37 <Alberth> hmm, too fast for me :)
21:51:49 <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:02 *** FLHerne has joined #openttd
21:52:10 <valhalla1w> anyway, good night.
21:52:28 <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:47 <valhalla1w> >>> "%(foo)i"% { 'foo': 10}
21:53:47 <valhalla1w> '10'
21:53:57 <SpComb> and then reverse-engineer a couple examples if you want to do stuff like zero-padding
21:54:06 <Alberth> oh dictionaries. I remember now, never used that
21:54:23 <valhalla1w> >>> "%(foo)09i"% { 'foo': 10}
21:54:23 <valhalla1w> '000000010'
21:54:32 *** Alberth 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:17 <SpComb> .format is nice otherwise, though
21:55:55 <SpComb> >>> "{foo.__class__}".format(foo=10)
21:55:55 <SpComb> "<type 'int'>"
21:55:58 <SpComb> you've always needed it
21:56:08 <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:17 <valhalla1w> SpComb: oh, that is actually sort of nice
21:56:23 <valhalla1w> real templating
21:56:29 <SpComb> sans loops or conditionals
21:57:10 <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 has quit IRC
22:02:43 <Yexo> welshdragon: only by modifying the source code
22:02:49 <Yexo> town_cmd.cpp:TownCanBePlacedHere
22:05:27 <welshdragon> right
22:06:34 <andythenorth> ho ho ho
22:06:38 <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 has quit IRC
22:14:53 <andythenorth> good night
22:14:55 *** andythenorth has quit IRC
22:19:09 *** TGYoshi_ has quit IRC
22:19:58 <Terkhen> good night
22:21:04 *** JVassie has quit IRC
22:24:04 *** JVassie has joined #openttd
22:32:15 *** JVassie has quit IRC
22:32:19 *** DDR has quit IRC
22:33:27 *** Progman has quit IRC
22:46:22 *** kais58_ has joined #openttd
22:48:18 *** kais58 has quit IRC
22:50:50 *** kais58_ is now known as kais58
22:52:11 *** Illegal_Alien has quit IRC
22:54:55 *** Zeknurn` has joined #openttd
22:56:10 *** Cybertinus has quit IRC
22:56:52 <kais58> TrueBrain: could you help fix/merge my accounts on the site, it's borked for me?
22:58:12 *** FLHerne has left #openttd
22:58:17 <TrueBrain> ugh, I should remove the merge stuff; it is very old
23:00:09 <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:34 <TrueBrain> but it will be the last account I look into :P
23:00:34 <kais58> ok, thanks
23:01:04 *** mib_tg9fo1 has joined #openttd
23:04:56 *** pjpe has quit IRC
23:09:17 *** DDR has joined #openttd
23:13:26 *** valhalla1w has quit IRC
23:13:48 *** Chris_Booth has quit IRC
23:16:39 *** MJP has quit IRC
23:24:49 *** Devroush has quit IRC
23:25:06 *** TWerkhoven has quit IRC
23:28:12 *** frosch123 has quit IRC
23:59:59 *** sla_ro|master has quit IRC