Cache unable to open file for writing: /srv/www/vhosts/webster.openttdcoop.org/cache/fe6e77be591115b82f6b4bf83f6be823.cache #openttdcoop IRC webstuff - IRC Log Viewer
Config
Log for #openttd on 9th October 2006:
Times are UTC Toggle Colours
00:00:46  <Bjarni> hehe, that survey reminds me of when the company that produces the mars bars made a "scientific" test of their product and made 10 people eat a mars bar each day for half a year. None of them died, so their product prolongs user's expected life
00:00:59  <lws1984> hehe
00:01:45  <Bjarni> then a newspaper wrote "recent research indicates that eating chocolate prolongs life" or something like that
00:02:05  <Bjarni> it could be right
00:02:19  <Bjarni> but it's impossible to tell from that test
00:02:58  <Bjarni> goodnight
00:03:07  <ln-> gn
00:03:09  <lws1984> gnight Bjarni
00:03:21  <Bjarni> I expect you to be busy all night posting stuff that I can actually use when I wake up
00:03:27  <lws1984> yay!
00:03:28  <lws1984> it works!
00:03:30  <Bjarni> like served breakfast
00:03:36  <lws1984> got pas the stdio.h now!
00:03:36  <lws1984> :D
00:03:47  <Bjarni> nice
00:03:59  <Bjarni> then you only got 2 hours until compilation is done
00:04:01  <lws1984> thanks for all your help
00:04:02  <lws1984> :p
00:04:04  <lws1984> 2 hours?
00:04:08  <lws1984> you're  joking, right?
00:04:11  <lws1984> *please say yes&
00:04:24  <Bjarni> actually I think it might be more like 10-20 minutes on that CPU
00:04:36  <Bjarni> but it's just a guess
00:04:49  <lws1984> :p
00:04:51  <lws1984> thanks anyway
00:05:06  <Bjarni> time it
00:05:13  <Bjarni> and tell me the result some other time
00:05:21  *** Bjarni [~Bjarni@0x50a46c16.virnxx14.adsl-dhcp.tele.dk] has quit [Quit: zzz]
00:25:44  <lws1984> oh for god's sake.. .I think Bjarni might have been right, been 32 minutes now
00:27:56  <ln-> what's your processor?
00:28:45  <lws1984> PowerPC G3, 600Mhz
00:28:45  <lws1984> :p
00:32:24  <lws1984> oh, it finsihed
00:32:31  <lws1984> at 34:21 minutes
00:41:12  *** scrooge [~balli@dsl-196-36.hive.is] has quit [Quit: Konversation terminated!]
00:45:50  *** Eggman891 [Eggman-UK-@88-111-32-185.dynamic.dsl.as9105.com] has quit [Quit: Bai2u]
01:45:44  <lws1984> heh.. any devs awake?
01:45:53  <lws1984> got a compiling issue
01:47:41  <DaleStan> lws1984: It usually helps to ask the actual question; a non-dev may know the answer.
01:47:55  <lws1984> ah, true
01:48:03  <lws1984> well, i'm trying to compile the nightly
01:48:10  <lws1984> and I get this error:
01:48:17  <lws1984> make: *** [.OSX/music/qtmidi.o.ppc] Error 1
01:57:29  <ln-> that's not the error.
02:00:39  <DaleStan> lws1984: You'll have to provide an earlier line.
02:01:20  <lws1984> well there a lot for that function
02:01:41  <lws1984> damn.. looks like I need all the SDK's after all
02:02:04  <lws1984> figured it out, it's looking for a QuickTime SDK file that isn't there
02:02:15  <lws1984> note to self: tell Bjarni that I needed a lot of the SDK's
02:30:47  *** Eddi|zuHause2 [~johekr@p54B763DC.dip.t-dialin.net] has joined #openttd
02:37:12  *** Eddi|zuHause [~johekr@p54B75892.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
02:42:37  *** Sionide [~sphinx@cpc1-norw5-0-0-cust493.pete.cable.ntl.com] has quit [Ping timeout: 480 seconds]
02:47:24  *** glx [glx@bny93-6-82-245-156-124.fbx.proxad.net] has quit [Quit: bye]
02:53:30  <Serriaromeo_> lws1984 once you have it all figured out,  make a note on the forum with what you had to do to get all to work,  :-)
02:53:52  <lws1984> aye, I will
02:54:59  <Serriaromeo_> just don't forget to change that obscure setting the source that tells to actully compile and not to mess with your head :-)
02:55:05  <Serriaromeo_> in the source
02:56:07  <Serriaromeo_> nite all
02:56:49  <lws1984> hehe
02:56:51  <lws1984> gnight
03:48:37  *** roboman [~Leo@c211-30-116-5.carlnfd2.nsw.optusnet.com.au] has quit [Read error: Connection reset by peer]
03:50:02  *** roboboy [~Leo@c211-30-116-5.carlnfd2.nsw.optusnet.com.au] has joined #openttd
03:53:07  *** Nigel [~Nigel@202-154-149-160.ubs-dynamic.connections.net.nz] has joined #openttd
03:54:30  *** Nigel_ [~Nigel@202-154-149-160.ubs-dynamic.connections.net.nz] has joined #openttd
03:55:37  *** Nigel [~Nigel@202-154-149-160.ubs-dynamic.connections.net.nz] has quit [Read error: Connection reset by peer]
03:56:00  *** Nigel_ is now known as Nigel
04:14:47  *** Sionide [~sphinx@cpc1-norw5-0-0-cust493.pete.cable.ntl.com] has joined #openttd
04:15:25  *** Wolfy [~wolf@h33083.upc-h.chello.nl] has joined #openttd
04:18:04  *** Wolfenstiejn [~wolf@h33083.upc-h.chello.nl] has quit [Read error: Connection reset by peer]
04:18:10  *** Mucht|zZz [~Mucht@chello080109200215.3.sc-graz.chello.at] has quit [Read error: Connection reset by peer]
04:18:16  *** Mucht|zZz [~Mucht@chello080109200215.3.sc-graz.chello.at] has joined #openttd
04:50:32  *** KUDr [KUDr@mazanec1.netbox.cz] has quit [Ping timeout: 480 seconds]
05:25:34  *** blackis [~blackis@bebis.csbnet.se] has joined #openttd
05:50:43  *** lws1984 [~lwslade@ip68-9-157-1.ri.ri.cox.net] has quit [Quit: leaving]
05:58:34  *** Trenskow [~outlet@85.218.142.227] has joined #openttd
06:11:41  *** XeryusTC [~irc@cc480157-b.sneek1.fr.home.nl] has joined #openttd
06:14:58  *** ThePizzaKing [~thepizzak@c211-28-156-50.eburwd2.vic.optusnet.com.au] has joined #openttd
06:18:22  *** _smeding [~roysmedin@c514451cb.cable.wanadoo.nl] has joined #openttd
06:26:08  *** ThePizzaKing_ [~thepizzak@c211-28-156-50.eburwd2.vic.optusnet.com.au] has joined #openttd
06:33:18  *** ThePizzaKing [~thepizzak@c211-28-156-50.eburwd2.vic.optusnet.com.au] has quit [Ping timeout: 480 seconds]
06:36:42  *** Trenskow [~outlet@85.218.142.227] has quit [Quit: Read error: Connection reset by sortepeer]
06:38:02  *** Tron_ [~tron@p54A3FA65.dip.t-dialin.net] has joined #openttd
06:44:16  *** Tron [~tron@p54A3F347.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
06:48:54  *** Tron_ is now known as Tron
07:08:12  *** Zr40 [~Zirconium@zr40.xs4all.nl] has joined #openttd
07:08:58  *** KUDr [KUDr@mazanec1.netbox.cz] has joined #openttd
07:09:22  *** _smeding [~roysmedin@c514451cb.cable.wanadoo.nl] has quit [Quit: You have the urge to do some accounting...]
07:30:46  *** Osai [~Osai@p54B36A8B.dip.t-dialin.net] has joined #openttd
07:39:00  *** TinoM| [~Tino@i5387E4A8.versanet.de] has joined #openttd
07:45:48  *** Bjarni [~Bjarni@0x50a46c16.virnxx14.adsl-dhcp.tele.dk] has joined #openttd
07:45:50  *** mode/#openttd [+o Bjarni] by ChanServ
07:46:11  *** Tino|Home [~Tino@i5387DB44.versanet.de] has quit [Ping timeout: 480 seconds]
07:55:34  <Darkvater> morning
08:02:37  <Bjarni> morning Darkvater
08:05:47  <Darkvater> Bjarni: r6698 you should call that 'codechange' not cleanup as it changes actual code and (can) introduce bugs
08:06:47  <Darkvater> which it actually did since 1. you can get out-of-bounds access to the array since you don't check the type and 2. 0x10 is Veh_Train
08:07:35  <Darkvater> of course 1.) is invalid if v->type is safeguarded against earlier, higher up in the function
08:07:40  <Darkvater> something I can't check based on the diff
08:11:10  <Bjarni> hmm
08:11:11  *** TinoM|Mobil [~tino@VPNPOOL01-0496.UNI-MUENSTER.DE] has joined #openttd
08:11:36  <Bjarni> switch (v->type) {
08:11:37  <Bjarni> ...
08:11:39  <Bjarni> default: NOT_REACHED();
08:11:46  <Bjarni> first thing in that function
08:12:28  <Bjarni> sure if you disable asserts, it can go wrong, but odds are that we will notice this in the nightly builds long before a release
08:12:43  <Bjarni> hmm
08:12:55  <Bjarni> wouldn't hurt to add return there, just in case
08:13:10  <Bjarni> even though I have no idea how it should be activated
08:14:01  <Darkvater> if it's checked before in that function it's good
08:14:20  <Darkvater> it's not a user-function so you can safely assume that once it's ok, it won't go wrong
08:14:36  <Darkvater> if _and only if_ all user input is properly guarded
08:15:18  <Bjarni> the vehicle will stay the same all the way though the function (no replace or anything) and naturally they can't change type in that function either
08:16:55  <Darkvater> then don't do anything
08:20:13  <Bjarni> I tend to add "default: NOT_REACHED();" everywhere where it should not be reached. It's such a simple addition and you never know what it might catch
08:21:25  <Darkvater> that's what the macro is for isn't it?
08:23:28  <Bjarni> yeah, it is :)
08:23:48  <Bjarni> I thought of something. Writing the changelog for 0.5.0 will take ages
08:24:05  <Bjarni> and it will be rather big
08:24:17  <Darkvater> with the added advantage that for windows it also adds assume(0), which will produce faster code
08:24:37  *** lolman [~d445e7e2@mail.thegrebs.com] has joined #openttd
08:24:46  <lolman> Morning :)
08:24:48  <Bjarni> I think it's a good task for lolman
08:24:57  <lolman> What's a good task?
08:25:06  <Bjarni> [10:23:48] 	<Bjarni>	I thought of something. Writing the changelog for 0.5.0 will take ages
08:25:06  <Bjarni> [10:24:05] 	<Bjarni>	and it will be rather big
08:25:17  <lolman> Ack
08:25:29  <Bjarni> hehe
08:25:40  <lolman> What are the benefits :-D
08:25:58  <Bjarni> it's not like who wants to do it the most, only who wants to least not do it
08:26:29  <lolman> Yeah, I can see it being an awfully nasty thing to have to do
08:26:33  <Bjarni> 	<lolman>	What are the benefits :-D <-- it's obvious for me... I don't have to do it :P
08:26:41  <lolman> And will I have time between all the Defcon?
08:27:05  <Darkvater> writing the changelog will actually be not that hard
08:27:21  <Bjarni> no, it's just boring to read though that long log
08:27:28  <Darkvater> you just have to write down all the new features since 0.4.7 and fixes since May
08:27:43  <Bjarni> are you sure it's not 0.4.5?
08:27:49  <Darkvater> (non-regression fixes)
08:28:01  <lolman> I thought 0.4.7 had a complete changelog Bjarni?
08:28:05  <Bjarni> and check if the fixes aren't mentioned in the changelogs for 0.4.6-0.4.8
08:28:07  <Darkvater> let's see
08:28:17  <Darkvater> Bjarni: " and fixes since May"
08:28:37  <Darkvater> yea, 0.4.5
08:28:52  <lolman> Okies
08:28:59  <Bjarni> it would be more like everything since 0.4.5 excluding the stuff mentioned in the 0.4.[678] changelogs
08:29:06  <Bjarni> you don't have to do it right now
08:29:10  <Bjarni> we are not releasing
08:29:13  <lolman> Now, do I sign meself up to it?
08:29:34  <Darkvater> Bjarni: yes those are the features since 0.4.5 and fixes since May
08:29:35  <Bjarni> actually it was just something I said as a nice greeting :p
08:29:51  <lolman> LOL
08:30:14  <Bjarni> I knew you would say that
08:30:16  <lolman> I'd actually be up for it, would give me something to do :P
08:30:33  *** KUDr [KUDr@mazanec1.netbox.cz] has quit [Ping timeout: 480 seconds]
08:30:39  <Bjarni> well, if you really wants to do it, then go ahead
08:30:51  <lolman> I await 0.5.0 ;-)
08:31:07  <Bjarni> read the log for each commit since 0.4.5 and figure if it needs to be in the changelog
08:32:36  <lolman> Need to get a copy of the changelog first, I'm at Sixth Form :P
08:33:09  <Darkvater> lolman: http://svn.openttd.org
08:33:19  <lolman> Darkvater, found it ;-)
08:35:13  <lolman> I can see this being a long job lol
08:35:50  <Bjarni> hence my remark about telling that this task will take ages
08:36:13  <lolman> Yes
08:37:02  * lolman wonders what he's let himself in for
08:38:13  <Bjarni> you made me do less work, which is good enough for me ;)
08:38:33  <lolman> Haha
08:46:19  *** Progman [~progman@p5091FA3C.dip.t-dialin.net] has joined #openttd
08:49:03  <Bjarni> lolman: I think it would be best if you stop at a good number like revision 7000 (we will have reached that one long before you are done) and then we can commit a changelog as it is and then we can update it each say 500 revisions so it will not be a huge task again
08:49:17  <Bjarni> because right now it's such a big task that we don't want to do it :p
08:49:27  <lolman> Okies
08:50:06  *** lolman [~d445e7e2@mail.thegrebs.com] has quit [Quit: http://thegrebs.com/oftc/ (EOF)]
08:50:44  *** lolman [~d445e7e2@mail.thegrebs.com] has joined #openttd
08:50:54  <lolman> Damn school connection
08:50:59  <lolman> lol
08:51:16  <Bjarni> heh
08:51:53  <lolman> what rev is 0.4.5, 0.4.7 and 0.4.8?
08:52:03  <Bjarni> there is another thing, that's funny here. I just gave you the task for fun. I didn't think you would actually do it :)
08:52:19  <Darkvater> lolman: look in the tags/ section
08:52:30  <Bjarni> http://svn.openttd.org/cgi-bin/trac.cgi/browser/tags
08:52:45  <lolman> Thanks :)
08:55:22  <Bjarni> we already committed more since 0.4.5 than we did between 0.3.4 and 0.4.5
08:56:19  <lolman> Yep lol
09:09:39  *** dp- [~dp@p54B2E0F0.dip.t-dialin.net] has joined #openttd
09:11:06  *** lolman [~d445e7e2@mail.thegrebs.com] has quit [Quit: http://thegrebs.com/oftc/ (EOF)]
09:16:27  *** dp-_ [~dp@p54B2E6CE.dip.t-dialin.net] has quit [Ping timeout: 480 seconds]
09:20:31  *** Rens2Sea [~Rens2Sea@213.211.185.168] has joined #openttd
09:25:32  *** Tron_ [YYLgaCau@nat-1.rz.uni-karlsruhe.de] has joined #openttd
09:28:19  <peter1138> 09:25 <@Darkvater> with the added advantage that for windows it also adds assume(0), which will produce faster code
09:28:35  <peter1138> Darkvater: is it important that code that's going to crash is faster? ;p
09:30:33  <Darkvater> peter1138: of course :)
09:31:43  <Darkvater> peter1138: assume(0) just skips generating a conditional for the default case (or where you put it), thus saving codesize. If properly safeguarded against higher up it is indeed faster
09:32:29  <Darkvater> gaaaah wtf stupid windows
09:32:30  <Tron_> there's no conditional for the default case
09:32:43  <Tron_> at most it's an unconditional jump, if it isn't just a fallthrough
09:32:48  *** eQualizer [~lauri@dyn15-55.dsl.spy.dnainternet.fi] has quit [Read error: Connection reset by peer]
09:32:57  <Darkvater> I delete 2 files they go into the recycle bin, then I delete another one and it's delete forever
09:33:00  <Darkvater> hurray :s
09:33:11  <Darkvater> Tron_: unconditinal then :)
09:49:45  <peter1138> morning Tron_
10:02:06  <Darkvater> bbl
10:07:01  *** Belugas_Gone [~Jfranc@216.191.111.226] has quit [Ping timeout: 480 seconds]
10:18:20  *** Belugas_Gone [~Jfranc@216.191.111.226] has joined #openttd
10:18:21  *** mode/#openttd [+o Belugas_Gone] by ChanServ
10:20:44  *** ChrisM87 [~ChrisM@p54AC6097.dip.t-dialin.net] has joined #openttd
10:45:18  *** Frostregen [~sucks@dslb-084-058-132-084.pools.arcor-ip.net] has quit [Read error: Connection reset by peer]
10:59:11  *** lolman [~d445e7e2@mail.thegrebs.com] has joined #openttd
10:59:24  <lolman> Ello again :)
10:59:42  *** Turski [~tarmo@dsl-kpogw1-fe21df00-2.dhcp.inet.fi] has joined #openttd
10:59:58  <Bjarni> hi lolman
11:00:12  <Bjarni> it's nice to see that you read though the first 500 revisions :)
11:00:28  <lolman> Bjarni: lmao
11:00:43  *** TinoM|Mobil [~tino@VPNPOOL01-0496.UNI-MUENSTER.DE] has quit [Remote host closed the connection]
11:17:37  *** lolman [~d445e7e2@mail.thegrebs.com] has quit [Quit: http://thegrebs.com/oftc/ (EOF)]
11:27:38  *** Mucht|zZz [~Mucht@chello080109200215.3.sc-graz.chello.at] has quit [Quit: I'll be back!]
11:39:43  *** Trenskow [~outlet@85.218.142.227] has joined #openttd
11:51:47  *** Progman [~progman@p5091FA3C.dip.t-dialin.net] has quit [Remote host closed the connection]
12:05:38  *** eQualizer [~lauri@dyn15-55.dsl.spy.dnainternet.fi] has joined #openttd
12:17:06  *** izhirahi1er [~izhirahid@squareroot.divisionbyzero.net] has joined #openttd
12:18:53  *** izhirahider [~izhirahid@izhirahider.user.oftc.net] has quit [Ping timeout: 480 seconds]
12:19:13  *** Empero [empero@b-222-156.cable.kpy.customers.dnainternet.fi] has quit [Ping timeout: 480 seconds]
12:20:47  *** scia [~scia@AveloN.xs4all.nl] has joined #openttd
12:22:58  *** Empero [empero@b-222-156.cable.kpy.customers.dnainternet.fi] has joined #openttd
12:40:50  *** ThePizzaKing_ is now known as ThePizzaKing
12:52:14  *** Trenskow [~outlet@85.218.142.227] has quit [Quit: Read error: Connection reset by sortepeer]
12:52:36  *** glx [glx@bny93-6-82-245-156-124.fbx.proxad.net] has joined #openttd
12:52:37  *** mode/#openttd [+v glx] by ChanServ
12:53:45  *** Spoco [Spoco@dsl-083-102-036-228.lohjanpuhelin.fi] has joined #openttd
12:55:38  *** Neonox [~Neonox@ip-80-226-229-91.vodafone-net.de] has joined #openttd
13:06:47  *** Renegade2 [~Renegade@ACB1BFC7.ipt.aol.com] has joined #openttd
13:06:51  <Renegade2> hi
13:08:38  *** Zahl [~SENFGURKE@dslb-082-083-253-131.pools.arcor-ip.net] has joined #openttd
13:09:05  <Renegade2> question: I'm trying to install the linux version, and it complains about needing libSDL; I could install SDL-devel and dependencies through YaST just fine, however, I just want to run a dedicated server, all I could possibly see would be console output - do I even need libSDL, or can I just force install?
13:09:11  *** Trenskow [~outlet@85.218.142.227] has joined #openttd
13:11:55  *** Progman [~progman@p5091FA3C.dip.t-dialin.net] has joined #openttd
13:12:50  <Bjarni> if you want to install the dedicated server only, you should not need SDL
13:13:10  <Bjarni> make sure that you actually got the dedicated server binary ;)
13:13:58  <Renegade2> I was gonna do openttd -D; there is a seperate package for dedicated servers?
13:15:34  <glx> Renegade2: what did you download ?
13:16:16  <Renegade2> openttd-0.4.8-1.i586.rpm from a random googled FTP server - was the only suse package I found
13:17:57  <glx> hmm this file is not an "official" build :)
13:18:24  <Renegade2> I am aware of that...but there is no official suse package, and I just hate compiling
13:18:51  * Bjarni will not recommend running software of unknown origin
13:19:18  <glx> but it should work with openttd -D
13:19:54  <glx> if not you'll just need libSDL binaries
13:20:06  <glx> as you don't compile
13:20:11  <Renegade2> guessed so, but now you sparked my interest...is there a seperate binary available especially made for dedicated servers?
13:20:26  <Bjarni> yeah
13:20:47  <Bjarni> they are compiled with the flag DEDICATED set
13:21:01  <Bjarni> skipping all video and sound code
13:21:06  <Bjarni> or rather, most of it
13:21:25  <Bjarni> the plan is to make it skip all of it
13:21:29  <glx> but only for nightly builds it seems
13:21:42  <Renegade2> so basically, they omit the dependency for video/sound libs and set -D as default?
13:21:44  <Bjarni> hmm
13:22:03  <Bjarni> yeah, for some reason we never made dedicated server binaries in releases
13:22:08  <Bjarni> don't ask me why :)
13:22:26  <Renegade2> so there is no grave difference in performance and/or optimization?
13:22:30  <Bjarni> Renegade2: something like that
13:22:46  <glx> Renegade2: dedicated builds still need -D but SDL dependancy is gone
13:23:16  *** mikk36 [mikk36@pc44.host1.starman.ee] has quit [Read error: Connection reset by peer]
13:23:42  <Renegade2> hmm. I'll just try it by force. give me a second...
13:23:46  *** mikk36 [~mikk35@pc147.host4.starman.ee] has joined #openttd
13:24:13  <Bjarni> right now dedicated servers do calculate some window drawing data (the windows are never drawn though), but the plan is to skip that for dedicated server binaries and then they really will be faster
13:25:45  <Renegade2> hmm...now do I need to upload the graphics files to the server, or will -D not check for them?
13:26:11  <glx> you still need graphics files and sample.cat
13:26:13  <Bjarni> that's also a planned feature: eliminate the need for the grf files since they are actually not used
13:26:23  <Bjarni> they just need to be there
13:26:27  <Renegade2> so all I need lies in future versions?
13:26:40  <Bjarni> now you get it :)
13:26:52  *** TinoM [~Tino@i5387E3D5.versanet.de] has joined #openttd
13:26:56  * Renegade2 cures the present
13:27:01  <Renegade2> curses, even
13:27:25  <glx> sample.cat can be an empty file though
13:27:44  <Darkvater> damn, took a long time to get back :O
13:28:19  <Bjarni> hi Darkvater
13:28:35  *** TinoM| [~Tino@i5387E4A8.versanet.de] has quit [Ping timeout: 480 seconds]
13:30:47  <Bjarni> Renegade2: it's not top priority as it is right now
13:30:57  <Bjarni> Darkvater: btw how is it going with your path patch?
13:31:04  <Renegade2> well, as long as it works
13:33:27  <roboboy> since when cant we refit planes to cargo
13:33:44  <glx> depends of cargo type
13:34:02  <roboboy> i want to refit to coal
13:36:27  <Darkvater> Bjarni: what ARE you talking about?
13:36:32  * Darkvater whistles innocently
13:36:55  <Bjarni> thought so
13:36:59  <Darkvater> I don't like the way my path-patch took so I donnu if it'll ever be finished
13:37:46  <Bjarni> then I see no reason to make the makefile rewrite wait for it. We will think of something else to make the bundle use the right paths anyway
13:38:01  <Bjarni> like using path stuff from the trunk ;)
13:38:45  <Darkvater> I never said for the rewrite to wait for it
13:38:59  <Darkvater> just TL thought so and I couldn't persuade him
13:39:13  <Bjarni> no, I decided to do so because it sounded promising and just what I needed
13:43:15  *** Rens2Sea is now known as Rens2EveOnline
13:44:50  <peter1138> afternoon
13:45:02  *** Trenskow [~outlet@85.218.142.227] has quit [Quit: Read error: Connection reset by sortepeer]
13:45:08  <Darkvater> eya
13:45:43  <Born_Acorn> Hello y'all
13:47:25  <Renegade2> heh
13:47:32  <peter1138> mr chris jones
13:47:46  <Renegade2> no -D without libSDL
13:47:54  <Bjarni> oh mr Jones is back
13:48:41  <peter1138> heh, prissi's code style is ... strange
13:49:03  <Bjarni> it's ... different ... from what we usually do
13:49:06  <Darkvater> it's simutrans-style ^
13:49:11  <peter1138> o_O
13:49:30  <Darkvater> I just love how simutrans code has german and english mixed
13:49:44  <Darkvater> sometimes even within the same functions...variable names, comments, etc *D
13:49:47  <peter1138> heh
13:50:32  <roboboy> gnight
13:50:42  *** roboboy is now known as robobed
13:51:01  <Bjarni> we should do that as well as it obviously makes the passenger destination stuff work better
13:51:04  * Bjarni hides
13:51:26  <peter1138> could be worse
13:51:32  <Bjarni> yeah
13:51:34  <peter1138> could be strange danishified-english
13:51:50  <Bjarni> it could be a mix of Engrish and French
13:52:29  <Bjarni> <peter1138>	could be strange danishified-english <-- actually that would be an improvement over Germanified-English
13:52:32  * peter1138 splits up his newgrf bollocks
13:52:41  <Bjarni> as Danish and English are closer than English and German
13:52:52  <peter1138> hmm, technically i don't need a savegame bump...
13:53:01  <Born_Acorn> Passenger and Mail destinations would be the coolies.
13:53:02  <Bjarni> btw did simutrans release source code?
13:53:15  <peter1138> i don't think so
13:53:23  <peter1138> "some" ottd developers have access
13:53:26  <peter1138> apparently
13:53:30  <Bjarni> yeah
13:53:35  <peter1138> how many of them are active, who knows
13:54:04  <Bjarni> I wondered several times about making an OSX port, but in the end, I always just sticked to OTTD
13:54:13  <Darkvater> 'stuck'
13:54:15  <Darkvater> not sticked
13:54:32  <Bjarni> it's your fault
13:54:41  <Bjarni> you tried to set me in SimuTrans comment mode
13:54:43  <Bjarni> :p
13:54:48  <ln-> english and german mixed is still better than hungarian notation!
13:55:17  <Bjarni> or a mix of English and Japanese
13:56:02  <Born_Acorn> The worst is Japanese and Korean!
13:56:14  <ln-> but an OSX port of it nowadays exists?
13:56:37  <Bjarni> they made an OSX port of SimuTrans?
13:56:44  <Bjarni> I don't think so
13:56:49  <Bjarni> not the last time I checked
13:57:22  <peter1138> i dislike their 128x128 graphics pack
13:57:29  <peter1138> it's so... inconsistent
13:57:31  <Bjarni> they need me to do it and as I just said, I didn't do it
13:57:43  <peter1138> heh, they have a beos version
13:57:47  <peter1138> who uses beos? :p
13:58:00  <Bjarni> hmm
13:58:11  <ln-> peter1138: w-ber does.
13:58:12  <Bjarni> BeOS... is that big or little endian?
13:58:30  <peter1138> x86, so...
13:58:36  <peter1138> or is it multiplatform?
13:58:36  <Bjarni> ok
13:58:51  <peter1138> heh, i've not played simutrans since the hajo days
13:59:21  * Born_Acorn is a little endian.
13:59:28  <Born_Acorn> I open my eggs on the little end!
14:00:04  <Renegade2> those server ip configuration things...is it important those are ip #s, or  can I put domains as well?
14:00:06  <ln-> Bjarni: http://forum.simutrans.com/index.php/topic,3145.0.html
14:00:29  <Darkvater> Renegade2: domain's good
14:00:43  <Eddi|zuHause2> <ln-> english and german mixed is still better than hungarian notation! <- did you mean polish notation?
14:01:34  <glx> Renegade2: [servers] section is only used by client
14:02:05  <Renegade2> talking about [network] server_bind_ip and connect_to_ip
14:02:28  <glx> server_bind_ip can be let to 0.0.0.0
14:02:37  <Renegade2> k
14:02:54  <glx> and connect_to_ip is used by client
14:03:15  <Darkvater> o_O excel......
14:03:19  <Renegade2> so I'm setting stuff I don't need...k
14:03:28  <Darkvater> crappy program thinks it can do regular expressions
14:04:08  <Darkvater> apparently putting a '*' as first character functions as some kind of a wildcard in the replace window o_O
14:04:43  <Bjarni> Darkvater: btw I tried to remove the void casts from some of the free() calls and it went ok, so I committed it. Then MSVS fucked up, so now we know why they were there ;)
14:05:45  <Darkvater> the void was only there to get rid of the 'const' warnings
14:06:07  <Renegade2> dbg: Cannot open savegame for saving/loading.
14:06:07  <Renegade2> Error: network savedump failed
14:06:07  <Renegade2> openttd: openttd.c:76: error: Assertion `0' failed.
14:06:07  <Renegade2> Aborted
14:06:10  <Renegade2> ouch
14:06:22  <Renegade2> wild guess: permission problem?
14:06:28  <glx> probable
14:06:29  <Bjarni> but MSVS showed those warnings and failed to compile because they are set to treat warnings as errors
14:06:57  *** Ammler [~Ammler@190-180.2-85.cust.bluewin.ch] has joined #openttd
14:07:03  <Bjarni> ln-: thanks. I see that they only did it for intel macs as they didn't bother to solve the endian issue or something like that ;)
14:08:38  <Darkvater> Bjarni: which msvs was that, where and which errors?
14:09:23  <glx> was const warnings
14:09:39  <peter1138> Renegade2: needs access to save/autosave/network_server.tmp
14:09:41  <peter1138> (or something)
14:10:04  <Bjarni> http://www.tt-forums.net/viewtopic.php?t=27645
14:10:09  <Bjarni> for Darkvater
14:10:15  <Renegade2> then that folder not being there probably is a problem
14:10:57  <Darkvater> ok firstly
14:11:02  *** Ammler [~Ammler@190-180.2-85.cust.bluewin.ch] has quit []
14:11:03  <Darkvater> warning C4090: 'function' : different 'const' qualifiers
14:11:05  <Darkvater> just as I said
14:11:18  <Darkvater> and secndly, which I have also expressed heavily in my email to you
14:11:23  <Darkvater> Why in the world did somebody throw around a three-deep pointer for anyways? Might be better to strip off the excess pointers and only throw around the one you're using
14:11:56  <Bjarni> that will not do
14:12:48  <Darkvater> yes it will
14:12:49  <Darkvater> ..
14:12:49  <Bjarni> because when I use realloc, the pointer might point to a different location afterwards, so I need a pointer to the array pointer
14:13:11  <Bjarni> and the last * is because the array data is pointers
14:13:57  <peter1138> there's another ***
14:14:05  <peter1138> station_cmd.c:static void FindRoadStopSpot(bool truck_station, Station* st, RoadStop*** currstop, RoadStop** prev)
14:14:08  <peter1138> :)
14:14:23  <Bjarni> Vehicle * is the data in the array, ** is the pointer to the data, and *** is the pointer to the pointer to the array
14:14:58  <Bjarni> if I only use **, I can't return where the function might have moved to if realloc moved it
14:15:09  <Bjarni> I tried that after you mailed me... it simply didn't work
14:15:29  <peter1138> actually you can
14:15:43  <Bjarni> how?
14:15:54  <peter1138> return it instead of returning void
14:15:55  <Bjarni> the arguments are two arrays, so I can't use the return value
14:16:45  <peter1138> huh?
14:16:51  <peter1138> which function are you talking about here?
14:16:52  <Bjarni> if I only had to return one pointer, then I would have used the return value
14:17:34  <peter1138> also
14:17:41  <peter1138> hmm
14:17:46  <Bjarni> BuildDepotVehicleList()
14:17:59  <Bjarni> sometimes the last array is NULL and sometimes two arrays are in use
14:18:14  <Bjarni> for the latter, I can't just use the return value
14:19:13  <Bjarni> besides I don't think it's that bad. Sure you have to think about it for a moment, but if you understands pointers, it's not that tricky
14:19:15  <Bjarni> and it works
14:19:33  <peter1138> well anyway
14:19:37  <peter1138> who's gonna get 6700
14:19:55  <Bjarni> the tricky part is that the array data is pointers, so it generate an extra *
14:20:17  <Bjarni> 	<peter1138>	who's gonna get 6700 <-- somebody with commit access, I presume ;)
14:20:36  *** Osai [~Osai@p54B36A8B.dip.t-dialin.net] has quit [Quit: Osai]
14:20:41  <Bjarni> I will be really surprised if it's not somebody with commit access
14:20:51  *** Mucht [~Mucht@chello080109200215.3.sc-graz.chello.at] has joined #openttd
14:21:56  <peter1138> shouldn't we give commit access to everyone?
14:22:11  <peter1138> then we can have cool and exciting features like customizable faces
14:23:30  <Bjarni> that is what jez requested
14:28:42  <CIA-1> Darkvater * r6699 /trunk/readme.txt: -Fixed translator link in readme
14:28:45  <Darkvater> fuck
14:29:04  *** Mucht is now known as Mucht|zZz
14:29:08  <peter1138> hmm?
14:29:38  *** jonty_comp [~Jonty@88-107-59-75.dynamic.dsl.as9105.com] has joined #openttd
14:36:00  *** valhalla1w [~valhallas@a62-251-30-68.adsl.xs4all.nl] has joined #openttd
14:36:00  *** valhallasw [~valhallas@a62-251-30-68.adsl.xs4all.nl] has quit [Read error: Connection reset by peer]
14:38:12  *** Trenskow [~outlet@85.218.142.227] has joined #openttd
14:38:29  <Born_Acorn> The fixed link must have been "fuck", which is a strange URL.
14:39:22  <peter1138> fuck://off.com/
14:40:23  <Darkvater> sweet, a new KioSlave ^_^
14:41:20  <peter1138> ottd://somenightlyserver:3979/company1
14:42:00  <Darkvater> that'd be easily codable for windows
14:42:23  <peter1138> o_O
14:43:25  *** Trenskow [~outlet@85.218.142.227] has quit [Quit: Read error: Connection reset by sortepeer]
14:43:46  <Born_Acorn> heh, you click on the link and you join the server. I like it!
14:44:18  <Darkvater> I think it's even only a few registry settings
14:45:07  <CIA-1> peter1138 * r6700 /branches/bridge/ (81 files in 9 dirs): [bridge] - Sync with r6215:6300 from trunk
14:45:45  <peter1138> oh yes, i'm working. yes. that's it.
14:51:16  <Born_Acorn> Yay Bridge BRach
14:51:18  <Born_Acorn> *Branh
14:51:21  <Born_Acorn> *Branch
14:51:24  <peter1138> give it up
14:51:37  <Born_Acorn> Get it on down now
14:51:41  <peter1138> i wonder what was left to do in it
14:52:03  <Born_Acorn> Only the Tronmeister knows that.
14:52:19  <Born_Acorn> Note to Self: Stop adding meister to peoples nicknames.
14:56:13  *** jonty_comp [~Jonty@88-107-59-75.dynamic.dsl.as9105.com] has quit [Ping timeout: 480 seconds]
14:57:13  <peter1138> yes sir Born_Acornmeister sir
15:02:26  <Darkvater> exit
15:02:28  <Darkvater> eek
15:02:30  <peter1138> no
15:02:30  <Darkvater> hehe
15:02:32  <peter1138> i don't want to
15:02:40  *** lws1984 [~lwslade@ip68-9-157-1.ri.ri.cox.net] has joined #openttd
15:02:44  <Darkvater> one exit too much ;p
15:02:47  <CIA-1> peter1138 * r6701 /branches/bridge/ (94 files in 9 dirs): [bridge] - Sync with r6300:6400 from trunk
15:11:06  <Renegade2> I still get that "network savedump failed" error...-_-
15:11:12  *** scia [~scia@AveloN.xs4all.nl] has quit [Read error: Connection reset by peer]
15:12:37  <Renegade2> I've looked at the permissions, re-uploaded the graphics/cat, even put a valid network_server.tmp from an earlier local lan game up there...nothing. as soon as I join, the server crashes
15:13:10  <Renegade2> the only thing left is letting the world write to the savegames
15:13:40  <peter1138> hmm
15:13:46  <Darkvater> what user is running the game?
15:13:53  <Renegade2> a "because: ..." part in error messages would be greatly appreciated in the future...
15:14:03  <Renegade2> an extra user called "openttd"
15:14:04  <peter1138> how about trying to save the game manually?
15:14:07  <Renegade2> heh
15:14:16  <Renegade2> nobody's in there
15:14:36  <Darkvater> so can this extra 'openttd' user write/read to/from that dir?
15:14:49  <peter1138> you can save from the server's console
15:14:53  <Renegade2> it's owned by him, and user is set to rwx...so yeah
15:15:01  <Darkvater> did you actually try?
15:15:25  <Renegade2> since I touch'd the original network_server.tmp, yes
15:16:10  <Darkvater> if the world can write does it work then?
15:16:21  *** Rens2EveOnline is now known as Rens2Sea
15:16:21  <Darkvater> cause if it wrks then, the fault is all on your side
15:16:26  <Renegade2> save 1
15:16:26  <Renegade2> Saving map...
15:16:26  <Renegade2> dbg: Cannot open savegame for saving/loading.
15:16:26  <Renegade2> SaveMap failed
15:16:30  *** scrooge [~balli@dsl-196-36.hive.is] has joined #openttd
15:16:38  <Renegade2> that was user only
15:16:50  <peter1138> so... got enough diskspace?
15:16:52  <peter1138> or quota space...
15:16:55  <Renegade2> yes.
15:17:05  *** TinoM| [~Tino@i5387E3D5.versanet.de] has joined #openttd
15:17:10  <Renegade2> I'll try "dangerous" chmods now
15:17:26  <Darkvater> just run openttd as root
15:17:29  <peter1138> hehe
15:17:29  <Darkvater> it deserves it ^_^
15:17:58  <Eddi|zuHause2> have you checked the permissions on the directory?
15:18:36  <Renegade2> I'd rather not have to explain to my host why the server got 0wn3d through port 3979...
15:18:38  <Renegade2> drwxr-xr-x  2 openttd users 1.0K Oct  9 16:11 autosave
15:19:01  <glx> and save ?
15:19:09  <Renegade2> same, all the same
15:19:35  <Darkvater> << going home :)
15:20:23  <Eddi|zuHause2> << going out
15:21:00  *** Tino|Home [~Tino@i5387DA42.versanet.de] has joined #openttd
15:21:22  <Renegade2> hmm...can I relocate the save folder?
15:21:42  *** lolman [~admin@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has joined #openttd
15:21:44  <glx> where is it now?
15:23:05  <Renegade2> .... /usr/share/openttd/save, where the rpm installed it; I suspect maybe /usr/share/ being owned by root is making problems...although I, as that same user, can work in the directory just fine
15:23:47  <Renegade2> (and it is set to rwx for all now)
15:24:13  *** TinoM [~Tino@i5387E3D5.versanet.de] has quit [Ping timeout: 480 seconds]
15:25:46  *** TinoM| [~Tino@i5387E3D5.versanet.de] has quit [Ping timeout: 480 seconds]
15:25:48  <Renegade2> something tells me I'll end up running the server as root...and I'm not sure I like that
15:25:49  <CIA-1> peter1138 * r6702 /branches/bridge/ (127 files in 12 dirs): [bridge] - Sync with r6400:6500 from trunk
15:27:55  <lolman> Hmm, by dad must trust me a lot...
15:27:58  <lolman> my*
15:28:08  <peter1138> hmm?
15:28:22  <lolman> He's paying for his telly and internet through my bank account :-\
15:28:31  <peter1138> bzzzt
15:28:45  <peter1138> what you actually mean is: you must trust your dad a lot...
15:28:51  <lolman> Well both lol
15:29:08  <lolman> I don't want my credit rating fried, and he doesn't want his telly cutting off
15:29:36  <Renegade2> hmmm...not even root is helping...something's very wrong here
15:30:21  <peter1138> so it's not permissions... heh
15:30:29  <peter1138> readonly fs? heh
15:30:36  <peter1138> oh no
15:30:40  <peter1138> you already changed it
15:30:44  <Renegade2> indeed
15:31:48  <glx> try to compile it yourself then
15:33:08  <Renegade2> that'll require millions of depencies...but I could take a look at the source and at least see what openttd.c:76 actually says
15:33:09  <blathijs> Renegade2: Are you sure it tries to save to that directory?
15:33:24  <Renegade2> well...where else would it save?
15:33:43  <blathijs> Renegade2: It's not so bad with dependencies, you can probably get away with just SDL
15:33:53  <blathijs> though zlib would be a good idea too
15:34:10  <glx> SDL is not needed for a server
15:34:20  <glx> so you only need zlib and libpng
15:34:45  <blathijs> libpng is only for screenshots, so not needed either
15:34:54  <blathijs> and zlib is not required, though recommended
15:35:02  <glx> better for savegames
15:35:34  <peter1138> especially for a server ;p
15:35:45  <Renegade2> fine, I'll try it :P
15:35:46  <peter1138> uncompressed savegames sent over the network? yum
15:37:03  *** Tino|Home [~Tino@i5387DA42.versanet.de] has quit [Ping timeout: 480 seconds]
15:40:03  <CIA-1> peter1138 * r6703 /branches/bridge/ (98 files in 5 dirs): [bridge] - Sync with r6500:6600 from trunk
15:42:05  <Renegade2> do I have to/can I ./configure anything?
15:42:32  <Renegade2> ah, see it already
15:43:28  <Renegade2> I knew why I didn't want to do this -_-
15:43:36  <Renegade2> configure doesn't even run
15:45:37  <blathijs> We have configure these days?
15:45:53  <Renegade2> # This 'configure' script is a very easy wrapper around 'make updateconf'
15:45:53  <Renegade2> #  It allows cross-compilers to do their job much more easy.
15:47:31  <glx> just type "make DEDICATED:=1"
15:47:37  <glx> no need to configure
15:47:48  <peter1138> blathijs: yeah, but the one in 0.4.8 is... dodgy
15:48:12  <Renegade2> of for christ's sake
15:48:29  <peter1138> heh
15:48:33  <blathijs> Renegade2: We are actually working on a more standard configure system I think
15:48:43  <blathijs> s/We/Somebody/
15:48:45  <Renegade2>  says goddamn host didn't even install a compiler up there
15:48:50  <peter1138> hehe
15:48:55  * Renegade2 checks
15:49:29  <peter1138> i wish i knew where someone hid the turbo button
15:50:38  <Renegade2> -_- no compiler up there
15:51:01  <Renegade2> something tells me I should just let go.
15:52:10  <peter1138> :(
15:52:21  *** KUDr [KUDr@mazanec1.netbox.cz] has joined #openttd
15:52:35  <peter1138> try an official build?
15:52:54  <Renegade2> there is none for suse
15:53:02  <peter1138> hmm, only a deb
15:53:18  <peter1138> there's a nightly...
15:53:19  *** jonty-comp [Jonty@88-107-63-84.dynamic.dsl.as9105.com] has joined #openttd
15:54:56  *** Trenskow [~outlet@85.218.142.227] has joined #openttd
15:56:18  *** TinoM [~Tino@i5387D7BA.versanet.de] has joined #openttd
15:57:10  *** Neonox [~Neonox@ip-80-226-229-91.vodafone-net.de] has quit [Quit: bin wech....]
15:58:41  <CIA-1> peter1138 * r6704 /branches/bridge/ (87 files in 3 dirs): [bridge] - Sync with r6600:6700 from trunk
16:02:30  *** lolman [~admin@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has quit []
16:04:21  *** TinoM [~Tino@i5387D7BA.versanet.de] has quit [Ping timeout: 480 seconds]
16:12:47  <Renegade2> oh well...I'll try this again tomorrow...thanks all who tried to help me...
16:13:05  *** Renegade2 [~Renegade@ACB1BFC7.ipt.aol.com] has quit [Quit:  mumblemuble save problems my ass]
16:15:18  *** tokai [~tokai@p54B807D5.dip0.t-ipconnect.de] has joined #openttd
16:15:19  *** mode/#openttd [+v tokai] by ChanServ
16:21:05  *** Sacro [~ben@adsl-83-100-201-180.karoo.KCOM.COM] has joined #openttd
16:37:32  *** Trenskow [~outlet@85.218.142.227] has quit [Quit: Read error: Connection reset by sortepeer]
16:38:14  *** xyz [~ss@MTL-ppp-145272.qc.sympatico.ca] has joined #openttd
16:43:22  *** Osai [~Osai@p54B36A8B.dip.t-dialin.net] has joined #openttd
16:44:56  <CIA-1> peter1138 * r6705 /branches/bridge/ (misc.c openttd.c saveload.c): [bridge] Move the savegame changes up to version 37, and make it keep the ownership of canals, for compatibility with trunk.
16:51:08  <Born_Acorn> Whenever will the Bridges be finished? :(
16:52:42  <hylje> i was about to ask the same thing
16:55:30  *** Zr40_ [~Zirconium@zr40.xs4all.nl] has joined #openttd
16:56:01  <peter1138> when the bugs are fixed
16:56:10  <hylje> how buggy is it
17:01:11  *** Zr40 [~Zirconium@zr40.xs4all.nl] has quit [Ping timeout: 480 seconds]
17:01:30  *** Osai [~Osai@p54B36A8B.dip.t-dialin.net] has quit [Quit: Osai]
17:01:30  <Born_Acorn> Where are the bugs?
17:02:28  *** lws1984 [~lwslade@ip68-9-157-1.ri.ri.cox.net] has quit [Ping timeout: 480 seconds]
17:08:18  <peter1138> i've got one assertion so far
17:08:35  *** lws1984 [~lwslade@ip68-9-157-1.ri.ri.cox.net] has joined #openttd
17:11:16  *** DJ_Mirage [~martijn@biggetje.xs4all.nl] has joined #openttd
17:16:11  *** Wolf01 [~wolf01@host38-232-dynamic.2-87-r.retail.telecomitalia.it] has joined #openttd
17:16:53  <Wolf01> hi
17:22:51  *** Belugas_Gone [~Jfranc@216.191.111.226] has quit [Ping timeout: 480 seconds]
17:24:26  *** Trenskow [~outlet@85.218.142.227] has joined #openttd
17:24:53  <Darkvater> welcome slaves
17:25:34  *** Belugas_Gone [~Jfranc@216.191.111.226] has joined #openttd
17:25:36  *** mode/#openttd [+o Belugas_Gone] by ChanServ
17:26:08  <peter1138> mr vater
17:26:12  <peter1138> mr gone
17:26:33  <Darkvater> eheh
17:26:38  <Darkvater> <switch>
17:27:02  <peter1138> hmm?
17:27:14  <Born_Acorn> hmm.
17:27:28  <peter1138> argh
17:27:32  <Born_Acorn> argh?
17:27:35  <peter1138> debugging vehicle position hash :P
17:28:35  <Darkvater> argh
17:28:40  <Darkvater> that's...horrid
17:29:24  *** scia [~scia@AveloN.xs4all.nl] has joined #openttd
17:31:11  *** Progman [~progman@p5091FA3C.dip.t-dialin.net] has quit [Remote host closed the connection]
17:33:10  *** BJH2 [~chatzilla@e176101042.adsl.alicedsl.de] has joined #openttd
17:34:49  <peter1138> Darkvater: got a bridge that can be deleted with vehicles on it
17:35:00  <Darkvater> wrong z-height?
17:35:00  <peter1138> (in the bridge branch)
17:35:19  <peter1138> it doesn't check z height, as the vehicle's tile is actually the bridge ramp
17:35:43  <peter1138> voodoo magic involved
17:36:00  <Darkvater> but x_pos, y_pos and z_pos are correct
17:36:06  <peter1138> yeah
17:37:52  *** Zaviori [~Zavior@d195-237-7-157.elisa-laajakaista.fi] has quit [Ping timeout: 480 seconds]
17:39:15  *** Trenskow [~outlet@85.218.142.227] has quit [Quit: Read error: Connection reset by sortepeer]
17:40:28  <Tron_> the same logic as for tunnels should work
17:42:06  <Wolf01> peter1138, are you working on the bridge branch?
17:43:09  <peter1138> crap
17:43:17  <peter1138> i just made changes to the wrong directory :)
17:43:55  <peter1138> Tron_: *nod*
17:47:06  *** jonty-comp [Jonty@88-107-63-84.dynamic.dsl.as9105.com] has quit [Ping timeout: 480 seconds]
17:52:01  <Darkvater> he peter1138 you were talking about prissi coding style, right? Indeed strange :)
17:52:13  <Darkvater> for(  i=0;  i<st->num_connections;  i++  ) { << never seen this form
17:53:20  *** Rens2Sea is now known as Rens2Doom
17:53:34  <peter1138> yeah
17:53:37  <peter1138> exactly that line :)
17:53:51  <Darkvater> :)
17:55:53  *** KUDr [KUDr@mazanec1.netbox.cz] has quit [Ping timeout: 480 seconds]
17:57:02  *** Trenskow [~outlet@85.218.142.227] has joined #openttd
18:03:05  <peter1138> weird
18:03:12  <peter1138> it's "forgetting" vehicles are on it
18:03:31  <Darkvater> the alzheimer-bridge
18:08:53  <peter1138> ah
18:09:01  <peter1138> i think it's a fatal flaw in its design
18:09:19  <peter1138> (and the same applies to tunnels... so why don't they break?
18:11:17  <Wolf01> bacause in tunels the train is already on the ground
18:11:23  <Darkvater> isn't bridges only that the x/y/z positions are correct and the veh railstatus says it's tunnel/brdige?
18:11:45  <peter1138> ahhhh
18:11:58  <peter1138> tunnels do check every tile inbetween...
18:12:00  <peter1138> hmm
18:12:11  *** KUDr [KUDr@mazanec1.netbox.cz] has joined #openttd
18:12:11  <Darkvater> well yes, you DO need to do that
18:12:18  <Darkvater> cause it's all black-hole
18:12:20  <Darkvater> hiya KUDr
18:12:24  <KUDr> hi
18:12:32  *** lolman [~admin@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has joined #openttd
18:13:34  <peter1138> Darkvater: this bridge code only checks the endpoints
18:13:45  <peter1138> on the basis that the v->tile will be one of them
18:13:51  <lolman> Damnit!
18:13:57  <Darkvater> hmm are you in the right branch?
18:14:02  <lolman> Left the changelog I'd done some work on at home :P
18:14:05  <lolman> School*
18:14:06  <lolman> lol
18:14:11  <Darkvater> I would be sure Tron would've coded that properly
18:14:12  <peter1138> but it checks it using the vehicle position hash, which is updated with v->x_pos & y_pos
18:14:20  <peter1138> it works for short bridges
18:14:35  <Darkvater> hmm
18:14:40  <peter1138> when the vehicles are in the middle, it's out of range of the hash for the endpoints
18:14:47  <Darkvater> so why would it fail for long br..
18:14:50  <Darkvater> hehe
18:15:58  <Darkvater> so the hash is sought with v->tile
18:16:37  <Darkvater> I think there's no other solution then to search the whole length of the bridge like with tunnels
18:16:40  <peter1138> indeed
18:17:22  <peter1138> hmm
18:17:27  <peter1138> find vehicle between is pointless to use
18:17:35  *** KritiK [~Maxim@ppp85-140-192-20.pppoe.mtu-net.ru] has joined #openttd
18:17:59  <peter1138> hmm
18:18:01  <peter1138> i think
18:19:25  <peter1138> it loops all vehicles and checks their x_pos & y_pos are between the tiles
18:19:33  <peter1138> whereas we can just compare v->tile...
18:19:44  <peter1138> for the endpoints
18:19:44  <peter1138> hmm
18:21:11  <hylje> you actually work with bridges! *applause*
18:23:10  * lolman kicks self
18:23:19  *** lolman [~admin@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has left #openttd [self kick]
18:23:20  <Darkvater> peter1138: he, yeah, you only need to know if a vehicle is *on* a bridge, right?
18:23:24  *** lolman [~admin@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has joined #openttd
18:23:26  <lolman> :P
18:24:08  <peter1138> yeah
18:24:16  <peter1138> actually that would work with tunnels too
18:24:59  *** jonty-comp [Jonty@88-107-63-84.dynamic.dsl.as9105.com] has joined #openttd
18:25:05  <lolman> jonty-comp, ello
18:25:12  <Darkvater> so why did we not do this before?
18:25:14  <jonty-comp> Hey lolman
18:25:14  <Darkvater> what's the catch?
18:26:21  *** xyz [~ss@MTL-ppp-145272.qc.sympatico.ca] has left #openttd []
18:27:11  <peter1138> well
18:27:20  <peter1138> the catch so far is i can't think of a good name for the function...
18:27:56  <lolman> What does said function do? :P
18:28:06  <peter1138> althoguh it's only used by bridges & tunnels, so i could just modify FindVehicleBetween()
18:29:05  <Darkvater> FindVehicleOnBridge/ FindVehicleInTunnel
18:29:26  <Darkvater> no, that's gay
18:29:52  <peter1138> heh
18:30:03  <Darkvater> you have to be careful with tunnels though
18:30:36  <Darkvater> normally v->tile is the tunnel entrance but if you reverse a vehicle midway, it's tunnel exit (eg v->tile doesn't flip_
18:30:41  <Darkvater> _messy_
18:32:23  *** scrooge [~balli@dsl-196-36.hive.is] has quit [Ping timeout: 480 seconds]
18:37:36  <Darkvater> ok, gotta go.. ice hockey :D
18:38:21  *** MaulingMonkey_iBook [~panda@ip72-197-231-130.sd.sd.cox.net] has joined #openttd
18:39:29  <peter1138> doesn't matter if you check both ends
18:45:22  *** Tron_ [YYLgaCau@nat-1.rz.uni-karlsruhe.de] has quit [Quit: Leaving]
18:48:23  *** scrooge [~balli@dsl-196-36.hive.is] has joined #openttd
18:49:03  *** Zr40_ [~Zirconium@zr40.xs4all.nl] has quit [Ping timeout: 480 seconds]
18:56:56  *** lolman [~admin@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has quit []
19:17:32  *** |Jeroen| [~jeroen@dD5E03E97.access.telenet.be] has joined #openttd
19:24:29  *** TinoM [~Tino@i5387E924.versanet.de] has joined #openttd
19:25:59  *** Frostregen [SADDAM@dslb-084-058-177-201.pools.arcor-ip.net] has joined #openttd
19:27:31  *** lws1984 [~lwslade@ip68-9-157-1.ri.ri.cox.net] has quit [Quit: Lost terminal]
19:34:55  <CIA-1> peter1138 * r6706 /branches/bridge/tunnelbridge_cmd.c: [bridge] - Fix issue where (long) bridges could be removed with vehicles still on them
19:35:32  *** lws1984 [~lwslade@ip68-9-157-1.ri.ri.cox.net] has joined #openttd
19:35:52  *** Rens2Doom is now known as Rens2EveOnline
19:37:16  *** Nigel [~Nigel@202-154-149-160.ubs-dynamic.connections.net.nz] has quit [Ping timeout: 480 seconds]
19:37:35  <Bjarni> lws1984: did you get your own binary to work at an acceptable speed?
19:37:52  <lws1984> Bjarni: aye, it works perfectly when I compile it myself
19:37:58  <Bjarni> weird
19:38:03  *** KUDr [KUDr@mazanec1.netbox.cz] has quit [Ping timeout: 480 seconds]
19:38:09  <lws1984> aye, well, it's not too much of a hassle to compile myself
19:38:12  <Bjarni> the nightly builds works perfectly normal here
19:38:15  <lws1984> only takes about 45 minutes or so
19:38:37  <Bjarni> will it take 45 minutes to update and compile each day?
19:38:49  <Bjarni> or was it including setting up stuff?
19:39:01  <glx> I guess only if window.h or english.txt are changed :)
19:39:27  <lws1984> well, 45 minutes was the original one
19:39:28  * Bjarni got a modified english.txt and window.h in his local copy
19:39:37  <lws1984> i'd guess that upgrading will take less time
19:39:54  <Bjarni> you can try to write "time make" next time
19:40:17  <Bjarni> and it will tell you how long it took when it's done and some info about how the CPU was used
19:40:27  <glx> lws1984: easy to check: svn up -r 6699 && time make
19:40:27  <lws1984> ah, interetsting
19:40:29  <lws1984> thanks
19:40:40  <lws1984> glx: don't feel like compiling now :p
19:40:43  <lws1984> thanks, knew that
19:44:31  *** Belugas_Gone is now known as Belugas
19:52:57  *** Sacro [~ben@adsl-83-100-201-180.karoo.KCOM.COM] has quit [Quit: Leaving]
19:56:29  *** Sacro [~ben@83.100.229.102] has joined #openttd
20:00:29  *** scia [~scia@AveloN.xs4all.nl] has quit [Read error: Connection reset by peer]
20:00:39  *** Belugas is now known as Belugas_Gone
20:01:40  *** lws1984 [~lwslade@ip68-9-157-1.ri.ri.cox.net] has quit [Quit: doctors! old magazines! long waits! etc.!]
20:01:46  *** jonty-comp [Jonty@88-107-63-84.dynamic.dsl.as9105.com] has quit [Quit: In Soviet Russia, IRC quits you!]
20:10:00  *** mikk36 [~mikk35@pc147.host4.starman.ee] has quit [Quit: The pedestrian had no idea which way to run as I ran over him.]
20:13:12  *** BJH2_ [~chatzilla@e176097181.adsl.alicedsl.de] has joined #openttd
20:15:17  *** mikk36 [mikk36@pc104.host1.starman.ee] has joined #openttd
20:15:58  *** BJH2 [~chatzilla@e176101042.adsl.alicedsl.de] has quit [Ping timeout: 480 seconds]
20:16:59  <CIA-1> bjarni * r6707 /trunk/ (aircraft_gui.c lang/english.txt train_gui.c window.h):
20:16:59  <CIA-1> -Feature: [build aircraft window] added buttons to view propeller planes, jet planes or helicopters
20:16:59  <CIA-1> -Codechange: the build aircraft window now generates 3 malleced lists and displays based on those list
20:16:59  <CIA-1>  This is preparation for sorting aircraft
20:17:18  <hylje> zomg
20:17:19  <hylje> features
20:17:30  <hylje> and bridges are one revision closer to trunk!1
20:19:30  <Bjarni> zomg?
20:20:20  <Bjarni> I create a really useful feature and then you say zomg?
20:20:27  <hylje> yes
20:20:31  <hylje> shocked-zomg
20:20:51  <Bjarni> wtf does zomg mean?
20:21:12  <Born_Acorn> It originates from mis-spelling of "omg"
20:21:30  <Born_Acorn> It caught on.
20:21:41  <Bjarni> so not only is it a stupid thing to say, it's also mistyped
20:21:44  <hylje> although z is nowhere near o
20:22:20  *** DJ_Mirage [~martijn@biggetje.xs4all.nl] has quit [Quit: Probably doing something else]
20:23:09  <Born_Acorn> Actually, Bjarni, that's a really good feature. I'll actually get the latest rev and compile to enjoy it's handiness.
20:24:23  <Born_Acorn> /suckup
20:24:28  <Born_Acorn> :p
20:24:29  <Bjarni> it was actually somewhat tricky to code, but I like the result
20:24:49  <Born_Acorn> (no, but really, it's cool)
20:25:27  <Bjarni> if there are jet planes in the list, then they will be displayed when it's opened. If not, then it's propeller planes. If it's a helicopter only airport, then it opens with helicopters and disables the other two buttons
20:26:56  <Bjarni> in theory it should disable the helicopter button if it's a plane only airport, but I didn't find a plane only airport to test on :p
20:27:07  *** Turski [~tarmo@dsl-kpogw1-fe21df00-2.dhcp.inet.fi] has quit [Quit: Lost terminal]
20:28:37  *** Progman [~progman@p5091FA3C.dip.t-dialin.net] has joined #openttd
20:30:19  <Born_Acorn> That makes sense, since helictopters can really land anywhere. (Especially any airfield. :p)
20:31:15  <Bjarni> well, the airport code supports making helicopter free airports, so I wrote code to handle this event
20:31:30  <Bjarni> it's just 3 lines
20:34:04  *** Osai [~Osai@p54B36A8B.dip.t-dialin.net] has joined #openttd
20:35:15  *** Spoco [Spoco@dsl-083-102-036-228.lohjanpuhelin.fi] has quit []
20:40:35  <Wolf01> 'night all
20:40:39  *** Wolf01 [~wolf01@host38-232-dynamic.2-87-r.retail.telecomitalia.it] has quit []
20:42:04  *** Brianetta [~brian@82-39-52-234.cable.ubr03.benw.blueyonder.co.uk] has joined #openttd
20:44:49  <scrooge> hylje: try writing omg in uppercase, and accidentally place your pinky on the z instead of shift
20:45:44  <hylje> oh well :)
20:45:58  <scrooge> ;)
20:46:24  <scrooge> i was thinking how stupid this zomg thing was the other day until i realized this
20:47:35  * Bjarni got a key between shift and z
20:47:50  <Sacro> | \
20:48:02  <Bjarni> actually it's <
20:48:04  <hylje> ><| key actually
20:48:06  <scrooge> \me to
20:48:10  <scrooge> hummz...
20:48:12  * scrooge to
20:48:17  <scrooge> ahh, it's like this
20:48:18  <Bjarni> *too
20:48:24  <scrooge> never used irc before ;)
20:48:32  <Bjarni> we can see that :p
20:48:42  <SpComb> yomg
20:48:48  <Bjarni> y?
20:48:49  <hylje> xomg!
20:48:54  <SpComb> yomg!
20:48:57  <Bjarni> ok, I'm out of here
20:49:02  <Bjarni> the channel went crazy again
20:49:04  <hylje> ha
20:49:11  <hylje> you will be assimilated ~xomg!
20:49:12  <SpComb> <omg
20:49:21  <SpComb> j00 < omg
20:49:40  <SpComb> 1 will hAx00r j00
20:49:44  <SpComb> hmm
20:49:52  <SpComb> why did I hit the right moues button there?
20:49:52  <Sacro> :o øµg
20:50:00  <SpComb> oh well, at least I didn't have to decide
20:50:14  <hylje> Sacro: omg ~xomg
20:50:20  <SpComb> ü
20:50:30  <SpComb> µ°µ
20:50:45  <hylje> üomg!
20:51:23  <Sacro> æchoo!
21:03:56  * Bjarni just sorted his aircraft build list
21:04:03  *** KUDr [KUDr@mazanec1.netbox.cz] has joined #openttd
21:10:14  <Eddi|zuHause2> err... my ü key is nowhere near any key in "OMG"
21:10:34  <Eddi|zuHause2> (neither is z)
21:19:16  *** MaulingMonkey_iBook [~panda@ip72-197-231-130.sd.sd.cox.net] has quit [Quit: MaulingMonkey_iBook]
21:19:35  *** PandaMojo [~chatzilla@ip72-197-231-130.sd.sd.cox.net] has quit [Quit: Chatzilla 0.9.74 [Firefox 1.5.0.7/2006090918]]
21:29:01  *** Sacro_ [~ben@83.100.229.102] has joined #openttd
21:29:01  *** Sacro [~ben@83.100.229.102] has quit [Read error: Connection reset by peer]
21:30:28  <CIA-1> bjarni * r6708 /trunk/ (aircraft_gui.c lang/english.txt):
21:30:28  <CIA-1> -Feature: [build aircraft window] added sort options to the list
21:30:28  <CIA-1> -Fix r6707: solved an issue where scrollcount was not always set correctly
21:31:23  <Bjarni> Born_Acorn: now is the time to get the source and really enjoy the new feature when building aircraft :)
21:31:32  <Born_Acorn> yay!
21:31:52  *** Sacro_ is now known as Sacro
21:32:07  <Eddi|zuHause2> NewAircraftListFilterSorting! ;)
21:32:44  <Bjarni> you want to filter as well?
21:32:56  <Bjarni> on top of the 3 type buttons?
21:35:11  *** |Jeroen| [~jeroen@dD5E03E97.access.telenet.be] has quit [Ping timeout: 480 seconds]
21:36:00  *** XeryusTC [~irc@cc480157-b.sneek1.fr.home.nl] has quit [Quit: So Long, and Thanks for All the Fish]
21:41:21  *** BJH2_ [~chatzilla@e176097181.adsl.alicedsl.de] has quit [Quit: ChatZilla 0.9.61 [Mozilla rv:1.7.12/20050915]]
21:42:21  <CIA-1> bjarni * r6709 /trunk/train_gui.c:
21:42:21  <CIA-1> -Fix r6679: [build train window] solved an issue that could lead to trailing empty blocks in the list array
21:42:21  <CIA-1>  Since they were freed with the rest of the array, it only meant that we wasted a few bytes (max 16) while the window were open and we didn't leak memory
21:45:27  <Eddi|zuHause2> no, i meant those buttons with "Filter"
21:48:28  <Bjarni> ...
21:48:45  <Bjarni> you mean you just named a feature I already coded something else or ?
21:49:27  <Eddi|zuHause2> yes ;)
21:49:34  <Bjarni> damn you :P
21:52:33  <Bjarni> 		case 5: /* increase int */
21:52:34  <Bjarni> 			mod = _ctrl_pressed? 5 : 10;
21:52:34  <Bjarni> 			goto do_change_service_int;
21:52:34  <Bjarni> 		case 6: /* decrease int */
21:52:34  <Bjarni> 			mod = _ctrl_pressed?- 5 : -10;
21:52:34  <Bjarni> do_change_service_int:
21:52:44  <Bjarni> let's just say that I have seen nicer code
21:52:57  <Bjarni> goto from one condition to another one
21:54:08  *** ThePizzaKing [~thepizzak@c211-28-156-50.eburwd2.vic.optusnet.com.au] has quit [Ping timeout: 480 seconds]
21:55:18  <Bjarni> goodnight
21:55:20  *** Bjarni [~Bjarni@0x50a46c16.virnxx14.adsl-dhcp.tele.dk] has quit [Quit: Leaving]
21:55:31  <Sacro> :o OH NOES...GOTOS
22:00:24  <Brianetta> Functionally identical to a break.
22:00:34  <Brianetta> Probably compiles to the same code.
22:09:41  *** ChrisM87 [~ChrisM@p54AC6097.dip.t-dialin.net] has quit [Remote host closed the connection]
22:09:57  *** Trenskow [~outlet@85.218.142.227] has quit [Quit: Read error: Connection reset by sortepeer]
22:14:36  *** lolman [~admin@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has joined #openttd
22:15:21  <lolman> Oh Noes...
22:15:54  <Darkvater> peter1138: we don't have a vehicle hash based on tile do we?
22:16:33  <Darkvater> peter1138: would save some FOR_ALL_VEHICLE loops like in r6706
22:17:24  <Darkvater> (*num_planes)      = 0; << *num_planes = 0 doesn't work anymore or what?
22:20:16  *** lws1984 [~lwslade@ip68-9-157-1.ri.ri.cox.net] has joined #openttd
22:21:45  *** blackis [~blackis@bebis.csbnet.se] has quit [Quit: blackis]
22:22:50  <Sacro> lws1984!
22:23:33  <lws1984> Sacro!
22:24:53  *** Rens2EveOnline is now known as Rens2Sea
22:27:44  *** Progman [~progman@p5091FA3C.dip.t-dialin.net] has quit [Remote host closed the connection]
22:31:57  *** Rens2Sea [~Rens2Sea@213.211.185.168] has quit []
22:36:18  *** lws1984 is now known as lws|Busy
22:39:38  *** lolman [~admin@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has quit []
22:43:36  *** Osai is now known as Osai^zZz
22:45:46  *** KritiK [~Maxim@ppp85-140-192-20.pppoe.mtu-net.ru] has quit [Quit: Leaving]
22:48:42  <pv2b> Darkvater: you never know what operator precedence C has. maybe someone thought C might think *a = 0; is equivalent to *(a = 0);
22:57:53  *** tokai|ni [~tokai@p54B83F30.dip0.t-ipconnect.de] has joined #openttd
22:59:44  <Sacro> night all
23:00:05  *** Sacro [~ben@83.100.229.102] has quit [Remote host closed the connection]
23:01:36  *** tokai [~tokai@p54B807D5.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
23:19:07  *** lws|Busy [~lwslade@ip68-9-157-1.ri.ri.cox.net] has quit [Ping timeout: 480 seconds]
23:23:26  *** DaleStan_ [~Dale@74.132.200.55] has joined #openttd
23:24:08  *** Frostregen [SADDAM@dslb-084-058-177-201.pools.arcor-ip.net] has quit [Ping timeout: 480 seconds]
23:29:47  *** DaleStan [~Dale@74.132.200.55] has quit [Ping timeout: 480 seconds]
23:32:05  *** scrooge [~balli@dsl-196-36.hive.is] has quit [Quit: Konversation terminated!]
23:38:22  *** lws|Busy [~lwslade@ip68-9-157-1.ri.ri.cox.net] has joined #openttd
23:55:10  *** DaleStan_ is now known as DaleStan
23:56:38  *** Brianetta [~brian@82-39-52-234.cable.ubr03.benw.blueyonder.co.uk] has quit [Quit: Tschüß]
23:58:25  *** glx [glx@bny93-6-82-245-156-124.fbx.proxad.net] has quit [Quit: bye]

Powered by YARRSTE version: svn-trunk