IRC logs for #openttd on OFTC at 2008-03-25
        
        
        
            ⏴ go to previous day
00:00:03  <jez9999> i dont mean autoreplace i mean CmdDepotMassAutoReplace
 
00:00:18  <jez9999> i guess you're running out of params tho, i mean you already used p2
 
00:00:30  <jez9999> and p1 is vehicle type
 
00:03:30  *** SpComb^ has joined #openttd
 
00:11:37  *** ben_goodger has joined #openttd
 
00:15:14  *** ThePizzaKing has joined #openttd
 
00:15:20  <Bjarni> there is a total of 64 bits in p1 and p2
 
00:15:39  <Bjarni> if needed we can skip the vehicle type
 
00:15:52  <Bjarni> and figure it out based on depot type
 
00:26:38  <jez9999> so we have a plan then? :-)
 
00:32:54  *** ben_goodger has joined #openttd
 
00:51:40  *** mrfrenzy has joined #openttd
 
01:35:09  *** Eddi|zuHause2 has joined #openttd
 
01:48:26  *** Digitalfox has joined #openttd
 
03:41:07  *** gfldex_ has joined #openttd
 
03:47:46  *** RamboRonny has joined #openttd
 
03:47:50  *** RamboRonny is now known as Aerandir
 
03:52:45  *** roboman has joined #openttd
 
04:00:27  *** Osai^zZz`off is now known as Osai
 
04:18:31  *** roboboy has joined #openttd
 
04:25:36  *** RamboRonny has joined #openttd
 
04:25:37  *** RamboRonny is now known as Aerandir
 
04:28:44  *** HerzogDeXtEr has joined #openttd
 
04:42:03  *** Osai is now known as Osai`off
 
05:18:12  *** DaleStan has joined #openttd
 
05:40:34  *** Poopsmith has joined #openttd
 
06:28:42  *** einKarl has joined #openttd
 
06:45:44  *** RamboRonny has joined #openttd
 
06:45:44  *** RamboRonny is now known as Aerandir
 
06:47:19  *** RamboRonny has joined #openttd
 
06:48:15  *** RamboRonny is now known as Aerandir
 
06:51:38  *** dR3x4cK has joined #openttd
 
07:33:33  *** RamboRonny has joined #openttd
 
07:45:08  *** Aerandir has joined #openttd
 
07:53:58  *** thgergo has joined #openttd
 
08:04:54  *** Progman has joined #openttd
 
08:30:51  *** stillunknown has joined #openttd
 
08:37:13  *** GoneWacko has joined #openttd
 
08:43:44  *** thgerg1 has joined #openttd
 
08:45:46  <CIA-1> OpenTTD: miham * r12408 /trunk/src/lang/ (11 files): (log message trimmed)
 
08:45:46  <CIA-1> OpenTTD: -Update: WebTranslator2 update to 2008-03-25 09:44:24
 
08:45:46  <CIA-1> OpenTTD: brazilian_portuguese - 1 fixed by fukumori (1)
 
08:45:46  <CIA-1> OpenTTD: bulgarian - 1 fixed by thetitan (1)
 
08:45:46  <CIA-1> OpenTTD: catalan - 8 fixed by arnaullv (8)
 
08:45:48  <CIA-1> OpenTTD: czech - 1 fixed by Hadez (1)
 
08:45:48  <CIA-1> OpenTTD: french - 8 fixed by glx (8)
 
08:53:18  *** Wezz6400 has joined #openttd
 
08:58:22  <Poopsmith> evening peter1138 ;)
 
09:57:32  *** roboboy has joined #openttd
 
09:58:51  *** Phoenix_the_II has quit IRC
 
09:59:27  *** thgergo has joined #openttd
 
10:09:46  *** Rexxars has joined #openttd
 
10:13:04  *** UserError has joined #openttd
 
10:25:10  *** Aerandir has joined #openttd
 
10:32:54  *** Vikthor has joined #openttd
 
10:58:29  *** Phoenix_the_II has joined #openttd
 
10:58:47  *** Ridayah has joined #openttd
 
11:14:42  *** thgerg1 has joined #openttd
 
11:56:55  *** Brianetta has joined #openttd
 
12:09:58  <CIA-1> OpenTTD: truebrain * r12409 /branches/noai/src/ (squirrel.hpp squirrel_class.hpp squirrel_helper.hpp):
 
12:09:58  <CIA-1> OpenTTD: [NoAI] -Add: allow an AdvancedMethod which gives you complete control over the param handling from a call from SQ
 
12:09:58  <CIA-1> OpenTTD: [NoAI] -Fix: many stack-cleanup fixes; this makes the stack in multiple calls not to overflow
 
12:10:30  <CIA-1> OpenTTD: peter1138 * r12410 /trunk/src/ (6 files): -Codechange: abstract out the test for catenary on electric rails
 
12:13:12  <CIA-1> OpenTTD: truebrain * r12411 /branches/noai/ (55 files in 5 dirs):
 
12:13:12  <CIA-1> OpenTTD: [NoAI] -Change [API CHANGE]: order of params of CargoIncome is changed
 
12:13:12  <CIA-1> OpenTTD: [NoAI] -Change [API CHANGE]: AIList.Valuate is changed; it now works on any normal function and removes the need for _valuator.[ch]pp.
 
12:13:12  <CIA-1> OpenTTD:  Please check documentation how to alter your AI to work with this commit, or check the changes in regression.
 
12:16:41  <CIA-1> OpenTTD: truebrain * r12412 /branches/noai/src/ai/api/ (ai_base.hpp ai_bridgelist.hpp): [NoAI] -Fix: three functions missed documentation
 
12:19:23  *** Slowpoke has joined #openttd
 
12:20:54  <CIA-1> OpenTTD: truebrain * r12413 /branches/noai/src/ai/api/ (12 files): [NoAI] -Remove: removed the last traced of the old obsolete Valuator system (this includes the ugly GetListName(), so Morloth should be happy ;))
 
12:29:19  <CIA-1> OpenTTD: truebrain * r12414 /branches/noai/bin/ai/wrightai/main.nut: [NoAI] -Fix r12411: make WrightAI to work again with new Valuator system
 
12:31:04  <Gekz> so I can stay my current age but skip the cruft of the next two decades
 
12:32:03  <Gekz> maybe 0.6.0 will be out in 2 decades :P
 
12:32:06  <Patrick`> to pplay ottd better?
 
12:32:38  <Gekz> They kept rickrolling me!
 
12:34:07  *** stillunknown has joined #openttd
 
12:38:33  *** stillunk1own has joined #openttd
 
13:02:31  *** dR3x4cK has joined #openttd
 
13:04:01  <larsemil> Gekz: there alot of bugs in the beta? i had none in two finnished games
 
13:06:16  *** joachim has joined #openttd
 
13:08:27  <joachim> is there any way to set waiting time at signals before reversing, or disable reversing?
 
13:11:04  <Sacro> larsemil: bugs.openttd.org
 
13:11:07  <joachim> Sacro: care to enlighten me?
 
13:11:23  <Sacro> joachim: i don't recall how to do it ><
 
13:12:08  <larsemil> Sacro: does that mean 220 bugs until 0.6.0
 
13:13:12  *** frosch123 has joined #openttd
 
13:13:37  <Rubidium> larsemil: not all of those 220 are bugs
 
13:15:06  <larsemil> looks like 0.6.0 would come closer
 
13:20:32  <Sacro> most are feature requests
 
13:25:04  <Belugas> who? what? when? why?
 
13:26:40  <Tefad> i can't get bugs. working
 
13:26:49  *** Aerandir has joined #openttd
 
13:29:28  <keyweed_> judging from the list of bugs, openttd is going better then my work project :(
 
13:32:57  *** Tino|R152 has joined #openttd
 
14:07:23  <CIA-1> OpenTTD: glx * r12415 /branches/noai/Makefile.src.in: [NoAI] -Fix: ignore .hpp.sq to avoid problems with deps
 
14:09:09  *** killertester has joined #openttd
 
14:09:48  *** lobster has joined #openttd
 
14:13:27  *** killertester has left #openttd
 
14:13:29  *** killertester has joined #openttd
 
14:13:32  *** killertester has left #openttd
 
14:17:17  *** Osai`off is now known as Osai
 
14:19:17  <yorick> darm lobster, he bit me again! lobster [~michielbi@86.89.201.189] has quit [Quit: AS A VAGINA ONCE SAID: <yorick> SOMEONE BAN HIM]
 
14:43:02  *** stillunknown has joined #openttd
 
14:54:12  <CIA-1> OpenTTD: glx * r12416 /branches/0.6/src/oldloader.cpp:
 
14:54:12  <CIA-1> OpenTTD: [0.6] -Backport from trunk (r12399, r12401):
 
14:54:12  <CIA-1> OpenTTD: - Fix: loading of TTD savegames (r12399, r12401)
 
15:11:16  <yorick> I'm compiling the second part of Flags In Client List now
 
15:15:24  *** egladil has joined #openttd
 
15:39:25  <yorick> someone broke brazilian_portuguese again
 
15:42:43  *** Dominik has joined #openttd
 
15:49:54  <yorick> lets see if I can get glx to look at my second patch, still FS#1866 :)
 
16:01:15  *** dR3x4cK has joined #openttd
 
16:07:30  *** ben_goodger has joined #openttd
 
16:07:51  *** Dominik has joined #openttd
 
16:08:26  <DaleStan> Dominik: It's on my DOS CD, I believe. If I can find it.
 
16:10:08  <Eddi|zuHause2> "Adlib"... i haven't heard that name in a decade or so...
 
16:10:18  <Dominik> DaleStan: thanks for the file
 
16:10:46  <Eddi|zuHause2> ever since most games were based on windows
 
16:10:57  <Dominik> this might be the only feasible way to get ttd music on the DS :)
 
16:11:20  <Eddi|zuHause2> so games did not need their own sound and graphics drivers anymore
 
16:11:26  <Eddi|zuHause2> everything was based on directx
 
16:12:09  <Eddi|zuHause2> (this is one of the best things that windows introduced)
 
16:13:46  *** UserErr0r has joined #openttd
 
16:17:33  <peter1138> Isn't it still midi, just optimised for adlib?
 
16:18:23  <Dominik> peter1138: i'm not sure yet what adlib format looks like. but i just found out that scummvm can play adlib on the ds.
 
16:19:11  <Dominik> should be possible for openttd as well then
 
16:25:10  <peter1138> Hmm, I thought scummvm had its own synthesiser.
 
16:26:11  *** ben_goodger has joined #openttd
 
16:27:13  *** NukeBuster has joined #openttd
 
16:35:57  <joachim> wait_for_pbs_path says min:2, max: 100
 
16:36:07  <joachim> not possible to set it to 255 for no reversal?
 
16:39:19  <hylje> 0 would be a ideal magic value for "never"
 
17:05:01  *** mikegrb is now known as cover_sheet
 
17:06:42  *** cover_sheet is now known as B_Lumbergh
 
17:07:36  *** B_Lumbergh is now known as mikegrb
 
17:11:56  *** ben_goodger has joined #openttd
 
17:17:19  *** Maedhros has joined #openttd
 
17:27:48  *** jez is now known as jez9999
 
17:37:03  *** Prof_Frink has joined #openttd
 
17:39:57  *** raimar3 has joined #openttd
 
17:41:07  *** Digitalfox has joined #openttd
 
17:42:03  <Eddi|zuHause2> joachim: did you try it?
 
17:45:18  *** Vikthor has joined #openttd
 
17:46:15  *** ChanServ sets mode: +o Bjarni
 
17:49:33  *** ben_goodger has joined #openttd
 
18:01:29  <Eddi|zuHause2> joachim: i meant 255
 
18:10:22  <Bjarni> ln: I'm still not sure what you meant by that?
 
18:10:58  <joachim> Eddi|zuHause2: ah, then it gets set to 100
 
18:12:00  <Eddi|zuHause2> "Heidi" is not exactly a common male name ;)
 
18:13:46  *** ben_goodger has joined #openttd
 
18:13:48  <Digitalfox> yeah.. I was just seeing why r12417 wasn't announce :\
 
18:13:54  <Bjarni> Eddi|zuHause2: yet a whole lot of males might pay attention to Heidi
 
18:14:00  <dih> Bjarni: did you look at mac pasting text with command + v?
 
18:14:20  <Bjarni> people expect me to do a whole lot of stuff at once
 
18:14:36  <dih> unless you define 'at once' as during the past 5 months
 
18:14:42  <dih> then... hmm... perhaps :-P
 
18:14:59  <dih> no - i just wanted to know if that was touched before i tried it again :-)
 
18:15:07  <dih> did not mean to hassle you with it
 
18:15:15  <Eddi|zuHause2> just allocate a second instance of yourself, and assign it to execute on the second core
 
18:15:22  <Bjarni> at once as in "while I'm overburdened with other stuff"
 
18:16:00  <Bjarni> Eddi|zuHause2: hehe... the problem is that the human body is single cored
 
18:16:06  <Bjarni> but there is a solution to that problem
 
18:16:12  * Bjarni goes to look for Heidi
 
18:19:23  <nicfer> I want too toyland into rich's patch :(
 
18:19:58  *** |Jeroen| has joined #openttd
 
18:20:30  <peter1138> That doesn't make sense.
 
18:20:54  <Rubidium> but we need those batteries in the real world too!
 
18:21:01  <nicfer> candfloss for the win!
 
18:21:15  <Eddi|zuHause2> for when Heidi does not find a Bjarni?
 
18:21:58  <Bjarni> actually I once found a Heidi
 
18:22:03  <nicfer> also would be good to see sugar in the map
 
18:22:19  <Bjarni> that wasn't pleasant :(
 
18:22:51  <Eddi|zuHause2> Zehn zahme Ziegen zogen zehn Zentner Zucker zur zeitzer Zuckerfabrik
 
18:23:10  <jez9999> how's it going Bjarni
 
18:23:32  <Bjarni> I haven't found a new Heidi yet
 
18:23:54  <dih> take yorick for the time being
 
18:24:32  <Bjarni> now that's a lame action
 
18:24:41  <Bjarni> not to mention reason for doing so
 
18:24:55  <fjb> Eddi|zuHause2: Why do the goats take sugar to the sugar refinary?
 
18:25:22  <dih> so they can take their own milk back to the kids?
 
18:25:33  <Eddi|zuHause2> fjb: in an alternate version they take it to the train instead
 
18:25:55  <fjb> Thar would be more reasonable.
 
18:27:08  <Bjarni> jez9999: if you meant how it's going with the coding then I got as far as opening the source
 
18:27:20  <jez9999> i meant more generally :-)
 
18:27:26  <Bjarni> and realising how to make the "all or nothing" thing
 
18:27:38  <Bjarni> <jez9999> i meant more generally :-) <-- ahhh
 
18:28:02  <Bjarni> that's how I  feel right now :)
 
18:31:09  <peter1138> HAPPY BOYS AND HAPPY GIRLS WILL BE
 
18:31:55  <fjb> They will be if somebody ports YAPP to the latest trunk.
 
18:33:48  * fjb is fighting with bacula right now. SO no time fpr porting anything.
 
18:33:49  <dih> is that a line from startsky and hutch?
 
18:34:31  <fjb> Bacula has a higher importance right now.
 
18:36:14  <Belugas> not Scotch.,, Scott...
 
18:39:14  <dih> my friends got a girlfriend and he hates that bich...
 
18:40:06  <dih> your young enough to know that song
 
18:42:18  <Belugas> maybe i am, but i've got way too much names in this little head of mine
 
18:42:49  <Belugas> plus, i'm deeply in to Queensryche, MindCrime II, right now...
 
18:43:23  <Belugas> someone else crept in, i need to be alone
 
18:44:18  <ln> Bjarni: i'm not a customer of Sampo Bank (thank god), but in the first paragraph you should be laughing at "successfully completed" and "minor problems".
 
18:45:28  * yorick gives dih a clout round the head with a fresh copy of HydraIRC
 
18:48:49  <dih> no - the 'clout around the head with ~' was lame
 
18:49:17  * yorick slaps dih with a fresh copy of HydraIRC
 
18:49:22  <Sacro> dih: he tells me every day
 
18:50:05  <Sacro> he says "man i really gotta lose my chick in the worst kinda way"
 
18:50:21  <Sacro> Belugas: alice in wonderland?
 
18:51:05  <dih> please make your selection followed by the pound sign now
 
18:52:44  <Sacro> dih: yes, that pisses me off
 
18:54:35  <jez9999> im getting a cost of 0 as the CommandCost from a depot upgrade
 
18:54:36  <Belugas> GOD Damn the pusher man!
 
18:54:40  <jez9999> when i dont think i should be
 
18:54:56  <Belugas> whenI don't think, i am not
 
19:01:27  <peter1138> YOU THINK I'D CRUMBLE?
 
19:02:38  <Sacro> YOU THINK I'D LAY DOWN AND CRY
 
19:04:55  <jez9999> Bjarni: have a Q about your code
 
19:04:56  <Wolf01> there's a way to revert a commit?
 
19:05:47  <Bjarni> so I don't have a question about it ;)
 
19:06:07  <jez9999> vehicle.cpp line 1772
 
19:06:14  <jez9999> you always set cost = CommandCost();
 
19:06:33  <jez9999> shouldn't that be inside the flags & DC_EXEC block?  if you're querying the cost, you dont want to set it to 0?
 
19:06:37  <jez9999> or is there a reason you did that
 
19:07:42  <Wolf01> thank you yorick, I thought it was that way, but I was not sure if it was the right way :P
 
19:08:50  <yorick> Belugas explained it to Ammler once
 
19:09:09  *** MDGrein has joined #openttd
 
19:09:49  <yorick> Ammler asked how to revert commits, openttdcoop grfpack commit 70 or something
 
19:10:31  <yorick> what's with Sacro now?
 
19:11:16  * peter1138 was... shock horror... away from the computer.
 
19:11:18  <yorick> yes, Sacro revert --revision 70 && Sacro commit "-revert revsion 70"
 
19:12:33  <Bjarni> jez9999: w_rear = NULL; <-- this is my line 1772
 
19:12:53  <Bjarni> I presume that we aren't looking at the same version of the file
 
19:13:31  <jez9999> it's near the end of the CmdDepotMassAutoReplace function
 
19:15:07  <peter1138> ROBERT DE NIRO'S WAITING
 
19:15:29  <yorick> ooh...I know that name
 
19:17:02  * Belugas is tempted to go banana but resists the temptation
 
19:17:30  * yorick waves imaginary banana at belugas
 
19:17:34  <Belugas> as the distorsion is such a sweet sound for me...
 
19:17:46  <peter1138> bananaramamamamamaa
 
19:18:10  <Belugas> eyes are not the only scary pasrt of it
 
19:21:44  *** Frostregen_ has joined #openttd
 
19:22:15  <Bjarni> <jez9999> or is there a reason you did that <-- read the comments... I wrote them for a reason ;)
 
19:22:27  <Bjarni> however I think I will change this
 
19:22:35  <Bjarni> since it would appear that it matters to you
 
19:27:24  *** Frostregen_ is now known as Frostregen
 
19:27:42  <jez9999> Bjarni: i dont understand those comments, they're too concise
 
19:28:21  <jez9999> you saying some GRF sets replace 1 wagon with 2 wagons?
 
19:29:40  <jez9999> when the player drags the track conversion tool over nothing but depots with trains in, i need to return a cost
 
19:29:44  <jez9999> if not, an error gets displayed
 
19:30:12  <jez9999> i could return the cost i will actually make the command charge, which is track conversion charge only (not train conversion charge)
 
19:30:32  <jez9999> but that would look a bit silly, it will say 'estimated cost 300' or something and actually it'll cost 200,000 with train conversion included
 
19:30:47  <jez9999> so if they only select depots with trains in i wanted to return the full cost including train upgrades
 
19:31:31  <jez9999> of course this means i need CmdDepotMassAutoReplace to a) give me an 'all or nothing' replacement and b) tell me the cost ahead of time
 
19:33:08  <Sacro> peter1138: talking italian
 
19:33:33  * Sacro was putting stuff in his new bread maker
 
19:35:36  <fjb> What are the trrains upgraded to?
 
19:36:16  <jez9999> first compatible train
 
19:36:40  <fjb> And if there is no compatible train?
 
19:37:05  * Sacro fires up his space shuttle
 
19:41:03  <fjb> What happens, when the unelectrified rail is upgraded to electrified rail. Is then every steam or diesel engine in that depot converted to an electric engine?
 
19:43:44  <Sacro> peter1138: i want more lyrics :(
 
19:44:13  <peter1138> WHEN THE FIRST CUP OF COFFEE TASTES LIKE WASHING UP
 
19:45:12  <Prof_Frink> It means you've mistaken fairy for nescafe again.
 
19:45:37  <Sacro> i've had lemon tea before :(
 
20:01:49  <dih> toet - that sounds rude ^^
 
20:02:33  <yorick> in dutch, its the car horn sound
 
20:03:33  <Belugas> # We circle around each other waiting for reaction
 
20:03:37  <dih> i will f<toet> you up, bitch
 
20:04:11  <yorick> nah, it's <piep> for the <beep> sound
 
20:04:59  <AndreR> i have soundbut no music inopenttd
 
20:05:01  <yorick> congratulations, proceed
 
20:05:20  <yorick> have you copies the gm dir?
 
20:05:23  <dih> andyou miss some spacesin your sencances dont younow?
 
20:05:50  <yorick> you need external midi, I believe
 
20:06:22  * yorick feels sorry for the ubuntu dev's, so many questions, I assume ;(
 
20:07:03  <dih> AndreR to get music running you need the TTD gm dir from the windows version
 
20:07:14  <Dominik> AndreR: install timidity and it should vwork i think
 
20:07:31  <AndreR> and i have installed timidity via synaptic
 
20:08:07  <yorick> even if you don't have music, is that a big problem?
 
20:08:18  <peter1138> The music smells after the first play.
 
20:08:23  <peter1138> Also, timidity smells.
 
20:08:50  <AndreR> i love this oldstyle music
 
20:09:12  <AndreR> i also have a hughe collection of old *.mod-files
 
20:09:18  <yorick> play it in a midi player ;)
 
20:09:35  <AndreR> i want to use theinternal jukebox ;)
 
20:09:38  <Dominik> AndreR: does it work when you play it externally with the command  timidity gm_tt00.gm
 
20:09:56  <jez9999> Bjarni: any idea how quickly you can make CmdDepotMassAutoReplace return the correctly estimated cost?
 
20:10:58  <Bjarni> now I just need to figure out why it started to assert
 
20:11:03  <Dominik> AndreR: what does "openttd --help" say about your music drivers?
 
20:11:34  <AndreR>    extmidi: External MIDI Driver
 
20:11:54  <Dominik> hmm, that looks good.
 
20:12:25  <Dominik> sorry, i'm out of ideas :(
 
20:14:16  <AndreR> i have to start the music by hand ;)
 
20:14:45  <AndreR> but ok... i have to watch house and monk now
 
20:17:06  <jez9999> Bjarni: it doesnt do it now as it always returns 0
 
20:24:22  <dih> he asked for a 13 but they drew a 31...
 
20:24:24  <jez9999> or do you mean 'now... in the version on my machine'?
 
20:29:16  <ln> Bjarni: what kind of partitioning does an external FW drive require in order to be bootable by a mac?
 
20:33:37  *** ben_goodger has joined #openttd
 
20:43:31  * jez9999 is away eating supper
 
20:45:11  *** roboboy has joined #openttd
 
20:49:57  *** thgergo has joined #openttd
 
20:56:40  *** Tekky_ is now known as Tekky
 
20:56:53  <fjb> No, either a warning that JavaScript is sweitched off or an empty page.
 
20:58:45  *** dR3x4cK has joined #openttd
 
21:03:38  *** planetmaker has joined #openttd
 
21:05:41  * Sacro flips switches in his shuttle
 
21:06:30  <Bjarni> <ln> Bjarni: what kind of partitioning does an external FW drive require in order to be bootable by a mac? <-- err... I never really thought about that. I just plug them in and ask disk utilities to format it and give me one big HFS+ partition and then everything is fine
 
21:07:02  <Sacro> where is the ABORT light...
 
21:07:43  *** icone__ has joined #openttd
 
21:13:23  *** UserError has joined #openttd
 
21:18:37  <Sacro> right, H2 and engines on
 
21:19:20  <ln> Bjarni: i'd like to experiment with linux on PPC using that external disc.
 
21:19:39  <ln> but let's say i just partition it on linux and see if it'll boot or not.
 
21:20:03  <Bjarni> considering you plan to format it anyway worst case is that it fails to boot
 
21:20:27  <Bjarni> but AFAIK firewire isn't any harder to get bootable on mac than internal HDs
 
21:20:42  <ln> this disk was pre-formatted in HFS+, btw.
 
21:21:33  <Bjarni> I got HFS+ preformatted disks too
 
21:21:45  <Bjarni> I recommend reformatting them anyway
 
21:21:59  *** geekNerd has joined #openttd
 
21:22:07  <Bjarni> and scan for bad blocks
 
21:23:09  <ln> i connected it to my linux-PC with firewire, and the whole system crashed immediately.
 
21:23:47  <ln> then i connected it with USB, and it worked better, but GRUB said "Harddisk error", perhaps because the disc doesn't have a valid DOS-style partition table.
 
21:26:16  <glx> hmm ln, does 32bpp works for you on PPC?
 
21:34:51  <jez9999> Bjarni: what was that comment earlier about CmdDepotMassAutoReplace returning the correctly estimated cost?
 
21:38:04  *** lobster_ has joined #openttd
 
21:38:58  <Bjarni> I don't care for the old comments
 
21:39:08  <Bjarni> I replaced them in my working copy ;)
 
21:39:37  *** geekNerd has joined #openttd
 
21:41:24  <peter1138> Sacro polished his rocket.
 
21:42:09  <Sacro> hmm, my mission timer has underflowed
 
21:42:17  <Sacro> and is now counting down from 99:59
 
21:42:45  <fjb> Where is the Sacro missing timer?
 
21:42:48  <Bjarni> it took you that long to launch your shuttle?
 
21:43:23  <Bjarni> did you get any on your keyboard/monitor?
 
21:44:17  <Bjarni> you mean you left everything in your underwear???
 
21:44:41  <Sacro> oh, i'm not going to the moon ><
 
21:44:50  * Sacro wanted to do an Apollo launch
 
21:45:00  <Bjarni> they didn't reach the moon either
 
21:45:36  <Bjarni> Sacro: what are you doing?
 
21:45:45  <Bjarni> playing with NASA recruitment software?
 
21:45:47  <Sacro> Bjarni: Space Shuttle Mission 2007
 
21:45:55  <Sacro> though i also like Orbiter, that has NASSP
 
21:48:58  * SpComb played with it a year ago
 
21:49:05  <SpComb> PITA to configure, but good features
 
21:49:46  <fjb> Yes, figuring out the configuration is quite some work.
 
21:50:15  <SpComb> more backup software needs an option to compress the backup data, I usually get > 50% compression ratios with bacula
 
21:51:14  <CIA-1> OpenTTD: skidd13 * r12419 /trunk/src/ (road_cmd.cpp road_func.h road_map.h): -Cleanup: of the internal road-piece building and removing.
 
21:51:25  <CIA-1> OpenTTD: maedhros * r12417 /trunk/src/ (lang/icelandic.txt strgen/strgen.cpp strings.cpp): -Fix: Add a new plural rule for Icelandic.
 
21:51:40  <CIA-1> OpenTTD: maedhros * r12420 /trunk/src/strings.cpp: -Cleanup: Fix the indentation, improve a variable name, and add a NOT_REACHED to DeterminePluralForm.
 
21:51:54  <Maedhros> ooh err, CIA returns
 
21:51:54  <CIA-1> OpenTTD: glx * r12418 /branches/0.6/src/lang/ (11 files):
 
21:51:54  <CIA-1> OpenTTD: [0.6] -Backport from trunk (r12408):
 
21:51:54  <CIA-1> OpenTTD: - Language updates (r12408)
 
21:52:20  <peter1138> Randomised commits :D
 
21:52:44  <jez9999> Bjarni: so are you planning on committing the new autoreplace code soon?
 
21:52:46  *** joachim has joined #openttd
 
21:52:55  <fjb> As long as the repository is not randomized...
 
21:53:56  <fjb> SpComb: The only thing that bugs me about bacula is that the metadata is not encrypted.
 
21:54:35  <fjb> And not only there I would gess.
 
21:58:25  <CIA-1> OpenTTD: bjarni * r12421 /trunk/src/ (autoreplace_cmd.cpp command.cpp vehicle.cpp):
 
21:58:25  <CIA-1> OpenTTD: -Feature: [autoreplace] the autoreplace button in train depots will now also replace wagons even if they aren't connected to a locomotive
 
21:58:25  <CIA-1> OpenTTD:  fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits)
 
21:58:25  <CIA-1> OpenTTD:  Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits)
 
21:58:33  <Bjarni> jez9999: that will be $200
 
21:59:18  <Bjarni> that's the price it would be if I did it professionally and with the time I spent doing it
 
21:59:31  <Bjarni> it might even be a bit more
 
21:59:59  <Bjarni> I wouldn't get the cash personally though :(
 
22:00:15  <jez9999> my company are idiots who waste money on MS shit
 
22:01:31  <jez9999> in fact, do you work at my company?  heh
 
22:01:52  <Bjarni> what is "your" company? :)
 
22:02:23  <SmatZ> by ohloh.net, OTTD is worth $ 1,941,150 :-)
 
22:03:36  <jez9999> i think it would kinda suck if openttd didnt use the original gfx by default
 
22:03:40  <Bjarni> Our prime goal is to generate tangible benefits for our customer's businesses <-- I don't think you can find a company saying the opposite :D
 
22:03:45  <jez9999> those new hi-res ones just dont feel the same
 
22:04:00  <Patrick`> new graphics would mean it was redistributable without f*cking around!
 
22:04:01  <jez9999> dont give me the cartoony/cute feeling
 
22:04:07  <jez9999> yeah but they would look different!
 
22:04:09  <Patrick`> as in, ottd finally gets legitimacy as an OSS
 
22:04:18  <Patrick`> you can always drop in the data files yourself afterwards
 
22:04:31  <jez9999> cant we make new graphics that are very similar to the originals?  it's the totally different look i dont like :-)
 
22:04:49  <Patrick`> we'll just tell our hard working volunteers that they're shit and should redo it for you
 
22:05:29  <jez9999> funny how many people use 'shit' as an adjective nowadays
 
22:05:38  <AndreR> i just want to know if there is a better way to play the musik under linuxas with timidity
 
22:05:40  <jez9999> the dictionary insists it's a noun, and says 'shitty' is the adjective
 
22:05:54  <AndreR> because i have only 630 MHz
 
22:07:18  <jez9999> now this is where my hatrid of c++ comes in again
 
22:07:27  <jez9999> i have a std::list, and need to make sure i kill it off without leaking memory
 
22:07:35  <jez9999> alas, it does contain pointers :-(
 
22:08:14  <SmatZ> destructor will handle all the allocated memory
 
22:08:30  <jez9999> but the memory of the contained objects?
 
22:09:36  <SmatZ> I don't know, I don't use STL
 
22:09:45  <SmatZ> but I doubt it will free() it
 
22:09:47  <jez9999> im holding Vehicle **s
 
22:09:53  <jez9999> they're arrays of Vehicles
 
22:10:05  <jez9999> so there's two things that need freeing, the array and the objects
 
22:10:06  <glx> usual way is loop over the list to delete
 
22:10:08  <jez9999> not sure about either :-\
 
22:10:20  <SmatZ> don't use std::list, use normal array
 
22:12:10  <jez9999> std::list is way easier
 
22:12:24  <jez9999> and i do iterate over it, so i guess i can try and delete stuff for each iteration
 
22:12:34  <jez9999> trouble is in c++ figuring out what i need to delete
 
22:13:02  <glx> you need to delete all stuff you allocated
 
22:13:14  * fjb prefers Eiffel for reasons like this.
 
22:13:19  <Bjarni> it's as simple as that
 
22:14:12  <fjb> An advanced objectoriented programming language.
 
22:15:30  <Bjarni> jez9999: look at CmdDepotMassAutoReplace() (I know you already have). It starts by creating a list and just before return it frees it. The trick now is that it can't return without hitting the free() and because of that it will not leak memory
 
22:15:39  <jez9999> it looks like the only things i need to delete are the two returned lists from BuildDepotVehicleList
 
22:15:44  <Sacro> why delete... just wander off
 
22:16:06  <Bjarni> Sacro: C++ lacks a garbage collector
 
22:16:50  <fjb> How about using boehm-gc?
 
22:16:54  <jez9999> it free()s a Vehicle**
 
22:17:00  <jez9999> so it doesnt actually delete the Vehicle?
 
22:18:32  <jez9999> and at the end, do i need to delete my std::list?
 
22:18:41  <jez9999> glx: wha?  no it's not.
 
22:19:14  <jez9999> a struct is "have 100 bytes of mem?  here's how you interpret it"
 
22:21:46  <glx> struct members are public by default, class members are private by default
 
22:22:00  <Bjarni> jez9999: are you thinking of an array?
 
22:22:19  <jez9999> i am thinking of a struct
 
22:22:35  * fjb offers you a fresh set of almost 500Gb pseudo random data. Only availlable till tomorrow.
 
22:22:45  <Bjarni> a struct and a class is the same except for the default public/private stuff
 
22:22:58  <jez9999> really?  sounds like c++ is dumber than i thought then
 
22:23:02  <jez9999> in c# a struct is very limited
 
22:23:17  <jez9999> and as far as i can remember it is literally a container in C
 
22:23:17  <Bjarni> why should the struct be limited?
 
22:23:22  <jez9999> so C++ must make some weird amendments
 
22:23:31  <glx> C++ structs are an extension of C structs
 
22:23:34  <jez9999> because it's intended to be a data holder, not do anything with the data
 
22:23:38  <Bjarni> a struct can be used as a container just like in C
 
22:23:43  <SmatZ> jez9999: get used to it
 
22:23:55  <Bjarni> but you can add member functions and stuff to them if you like
 
22:23:57  <jez9999> do i need to delete my std::list after finishing with it?
 
22:24:06  <Maedhros> only if you created it with new
 
22:24:38  <Maedhros> then it'll be allocated on the stack and so it'll be freed when it goes out of scope
 
22:25:15  <Bjarni> jez9999: basically this is how C++ works and it's great if you can figure out how to use it... so you just have to accept it
 
22:25:39  <jez9999> i do accept it, doesnt stop me wishing C# had come first
 
22:26:09  <jez9999> it was so funny in one interview
 
22:26:10  <Bjarni> complains about our coding and programming languages will be accepted on the 29th of February only
 
22:26:19  <jez9999> i went to a defence company, Thales group
 
22:26:49  <jez9999> And during the interview there was lots of c++, i'd already told the guy from the recruitment agency i didnt like c++
 
22:26:59  <jez9999> and i said at one point 'it's basically a hack on top of c'
 
22:27:08  <jez9999> the interviewer just stared at me, he really loved c++ :-)
 
22:27:42  <glx> yeah use c# in missile embedded controllers
 
22:27:51  <jez9999> use c+= and you get a memory leak
 
22:28:07  <Bjarni> because you hire real coders
 
22:28:15  <jez9999> ah well im a fake coder
 
22:28:18  <Bjarni> and real program planners
 
22:28:34  <glx> c++ doesn't leak if you use it right
 
22:28:47  <jez9999> that's what they say about condoms
 
22:29:19  <Bjarni> are you trying to get the trunk dirty?
 
22:31:08  <jez9999> i think i've basically got my patch working ok
 
22:31:32  <jez9999> a few tweaks, but once the autoreplace stuff is done it will do a decent autoconversion
 
22:33:36  <Bjarni> I just coded all the autoreplace stuff you asked for
 
22:39:40  <jez9999> but really do you think you might get it done any time soon?
 
22:41:02  <henkie> can i transfer money in a multiplayer game?
 
22:42:20  <henkie> which menu? i cannot seem to find it
 
22:43:57  <Bjarni> <jez9999> but really do you think you might get it done any time soon? <--- it works like we talked about yesterday
 
22:44:05  <Bjarni> what else do you expect me to do???
 
22:44:25  <jez9999> i dont quite understand you?  yesterday we came up with several improvements :-)
 
22:44:53  <DorpsGek> Bjarni: Commit by bjarni :: r12421 /trunk/src (3 files) (2008-03-25 21:58:13 UTC)
 
22:44:54  <DorpsGek> Bjarni: -Feature: [autoreplace] the autoreplace button in train depots will now also replace wagons even if they aren't connected to a locomotive
 
22:44:55  <DorpsGek> Bjarni:   fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits)
 
22:44:56  <DorpsGek> Bjarni:   Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits)
 
22:45:11  <Bjarni> isn't this basically what we talked about?
 
22:45:23  <jez9999> ohh you mean you werent joking
 
22:45:54  * Bjarni slaps jez9999 really hard
 
22:45:55  <jez9999> and i've now introduced a bug somehow where it upgrades track even if you havent got the money :-\
 
22:46:18  <jez9999> Bjarni: sorry, im just used to assuming people on irc are telling me BS
 
22:46:22  <jez9999> it's more often the truth
 
22:46:32  <Bjarni> bully jez9999 for as long as you can take it
 
22:46:57  *** dih was kicked by DorpsGek (spammer)
 
22:47:08  * ben_goodger slaps jez9999 also
 
22:47:16  <dih> kick the one who gave the order
 
22:47:17  <Maedhros> autorejoin should get you a kickban :-P
 
22:47:19  <jez9999> ben_goodger: go invent another popular web browser
 
22:47:50  <ben_goodger> jez9999: I plan to invent the web's replacement, actually
 
22:49:22  *** Osai is now known as Osai^zZz
 
22:51:53  <jez9999> ok this is dumb but...  any idea how i could manage to break things so that a command is always executed, even if it takes you into the red? :-)
 
22:52:38  <Maedhros> have you added anything to notest in command.cpp?
 
22:52:54  <dih> now that would be a nice feature
 
22:53:38  <dih> at 10 x loan interest :-P
 
22:53:49  <jez9999> Maedhros: ahhhhh yes i did :-)
 
22:53:56  <michi_cc> you might want to visit the forums
 
22:54:02  <michi_cc> have fun and good night :)
 
22:54:19  *** dih is now known as anhedral
 
22:54:30  <jez9999> hmm, i do want my command to be able to return an estimation value higher than the actual cost
 
22:54:36  <jez9999> adding to notest allows both
 
22:54:40  <jez9999> any way to just add the one?
 
22:54:51  <Maedhros> michi_cc: awesome :)
 
22:55:36  <Maedhros> jez9999: not without modifying some of the command code, no
 
22:55:43  <jez9999> if you try and convert several depots with trains in, it gives the estimated cost of converting all
 
22:56:03  <jez9999> but when doing it, it will return a drastically lower cost (only the cost of upgrading the track)
 
22:56:18  <jez9999> would some subtle modifying of the command code be ok?
 
22:56:31  *** Osai^zZz is now known as Osai^zZz`off
 
22:56:55  <jez9999> i need a var like testallowhigherestimate
 
23:07:40  <jez9999> it just does a slightly different assertion
 
23:10:13  <jez9999> wow if all this autoreplace stuff is done this patch could be perfect
 
23:10:32  <jez9999> wont have the GUI that some people want but i think that sounds a bit overcomplex anyway
 
23:10:38  <jez9999> first compatible train should do
 
23:11:22  *** egladil has joined #openttd
 
23:26:25  <fjb> r12421 with YAPP 0.5 and paxdest 273 is cooking. :-)
 
23:27:49  <fjb> I should release a fjbin. :-)
 
23:30:33  <Zuu> Hi, I've got asked to add a function to OpenTTDAutoUpdate that enables people to update but not play. And I'm abit divided, because while that might be usefull for some, I think that will put unnecessary high load on the web server which have to be payed for.
 
23:30:38  <CIA-1> OpenTTD: glx * r12422 /branches/noai/src/ai/api/ai_abstractlist.cpp: [NoAI] -Fix (r12411): unicode compilation was broken
 
23:31:46  <Zuu> In theroy there could be a program that updates to latest nightly every night for every user, but that would be quite not so good I think, since there woud be lot of unnecessary downloads.
 
23:33:23  *** planetmaker is now known as pm_away
 
23:34:18  *** XeryusTC is now known as Xeryus|bnc
 
23:35:53  *** Vikthor has joined #openttd
 
23:37:09  *** Ammller has joined #openttd
 
23:41:46  <jez9999> has someone broken openttd?
 
23:41:57  <jez9999> when i try to compile, i get "Error	1	error PRJ0019: A tool returned an error code from "Generating brazilian_portuguese language file"	langs
 
23:43:20  <jez9999> it just pops up that error again
 
23:44:27  <glx> it doesn't stop compilation for me
 
23:44:37  <glx> it just skips languages compilation
 
23:44:43  <jez9999> hmm oh it's still compiling
 
23:46:24  <jez9999> but then i get 'rebuild all failed'
 
23:46:29  <jez9999> it doesnt let me debug, it wont generate the exe
 
23:46:49  <glx> ========== Build: 2 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 
23:47:08  <jez9999> VS won't let you debug
 
23:47:17  <jez9999> although that's true, VS doesnt start the executable
 
23:48:24  <jez9999> even if i run the exe manually, i get an error about invalid language packs
 
23:50:54  <jez9999> so i have to delete all the lngs except english?
 
23:50:55  <Belugas> exclude brazilian_protuguese from the lang project. it works
 
23:57:38  *** Digitalfox has joined #openttd
 
23:58:14  * Digitalfox says Hi yo Belugas :) But sends a Portuguese dictionary to him =0
 
23:58:51  * Digitalfox now needs a English dictionary :(
 
23:59:04  <Belugas> going back to real life ;)
 
23:59:56  <Digitalfox> life @ life sounds fun =0
 
continue to next day ⏵