Log for #openttd on 12th September 2006:
Times are UTC Toggle Colours
00:00:17  <Bjarni> <Tuck>	ó Ò <-- I thought the same thing... no wonder they had a lot of crashes in that era
00:00:45  <Tuck> xD
00:02:53  *** grimrc [] has quit [Quit: cya]
00:03:44  <Bjarni> the day the most people died in the Vietnam war was the day when a plane on the deck of a carrier malfunctioned and fired a rocket into another plane, that was under repairs for massive fuel leaks
00:04:39  *** Torm [] has joined #openttd
00:04:41  <Bjarni> that incident alone killed more people than anything else in that war
00:04:57  <Bjarni> gives new meaning to friendly fire
00:05:25  <Torm> hey all :)
00:05:53  <Bjarni> time to go to bed
00:06:01  <Bjarni> the Australians show up from tomorrow
00:06:34  <Bjarni> Torm: can you tell me the right lotto numbers? :)
00:06:48  <Torm> 42
00:06:54  <Torm> thats the only one you need
00:07:13  <Bjarni> you know what would be funny?
00:07:15  *** Tobin [] has joined #openttd
00:07:31  <Bjarni> if you just said a series of random numbers and they come out as winning numbers
00:07:51  <Bjarni> damn, now Tobin showed up
00:07:56  <Bjarni> now I really have to go to bed
00:08:03  <Tobin> Yup.
00:08:09  <Tobin> Why are you still awake?
00:08:11  <Bjarni> I'm being flooded with people from the future
00:08:35  <Bjarni> <Tobin>	Why are you still awake? <-- long story
00:08:43  <Bjarni> I didn't go to bed
00:08:45  <Bjarni> hmm
00:08:50  <Bjarni> it was not that long after all
00:15:57  <Bjarni> goodnight
00:15:58  *** Bjarni [] has quit [Remote host closed the connection]
00:18:03  <Eddi|zuHause2> everybody knows that the lotto numbers are 4,8,15,16,23,42 ;)
00:20:44  <Eddi|zuHause2> (one might actually wonder how that 42 got in there ;))
00:26:33  <glx> hmm I know these numbers... :P
00:35:44  <Brianetta> autopilot 2.0 has been released.
00:35:49  <Brianetta> Go, my peers, review.
00:39:24  <Brianetta> That was a lukewarm reception.
00:40:08  <Eddi|zuHause2> all you have here are nightcrawlers and australians... what do you expect? ;)
00:40:39  <Brianetta> applause
00:40:45  <Brianetta> I certainly expected a murmur from glx
00:41:01  <glx> just a question :)
00:41:08  <glx> is it win32 compatible?
00:41:13  <Brianetta> Probably.
00:41:29  <Brianetta> That needs testing
00:42:22  <Eddi|zuHause2> the question is not if the autopilot is compatible with the win32 version, but if the win32 version is compatible with the autopilot ;)
00:42:35  <glx> mine is :)
00:42:51  <Brianetta> Eddi: They needed to converge and make compromises
00:43:17  <Brianetta>
00:47:55  *** BFM [] has joined #openttd
00:50:32  <Nigel> anyone know if the UK industries set is meant to work with openttd?
00:50:42  <Brianetta> It doesn't
00:50:49  <Brianetta> That feature is unwritten
00:51:19  <Belugas_Gone> it has started... but it is soooooooooooooooooooooooooooooooo sllllllllllllllllllllllooooooooooooooooowwwwwwwwwwwwwwwwwww
00:51:57  <Belugas_Gone> by the way, it was meant to work with TTDPatch ;)
00:55:53  <glx> Brianetta: why does it show me openttd help at start ?
00:56:02  <Brianetta> er
00:56:19  <Brianetta> Are you using a release or a nightly?
00:56:48  <glx> self compiled 6442
00:56:52  <Brianetta> um.
00:57:23  <Brianetta> Windows or Linux?
00:57:27  <glx> windows
00:57:42  <glx> and the console works well :)
00:57:56  <Brianetta> OK, which command made it do help?
00:58:02  <glx> openttd -h
00:58:23  <Brianetta> oh, that
00:58:28  <Brianetta> yeah (:
00:58:32  <ln-> what kind of a question is that? "windows or linux"? as if those were the only platforms.
00:58:38  <Brianetta> That's to populate the OTTD substitution variable
00:59:00  <Brianetta> ln-: They are the only two that glx is likely to be testing
00:59:22  *** Ammler_ [] has quit [Quit: Konversation terminated!]
00:59:37  <Brianetta> /msg sandbox revision
00:59:42  <Brianetta> It's to do that
01:00:21  <Brianetta> You can also put OTTD into the motd1,2,3
01:00:27  <Brianetta> although it's a tad pointless
01:00:57  <glx> Autopilot engaged
01:00:57  <glx> Starting new game named ''
01:00:57  <glx> Landscape is normal
01:00:57  <glx> Map is 256 tiles north to south by 256 tiles east to west
01:00:57  <glx> Starting year is
01:00:59  <glx> can't read "::max_companies": no such variable
01:01:14  <Brianetta> Hmmm.
01:02:19  <Brianetta> autopilot.tcl line 283
01:02:21  <Brianetta> I bet you
01:02:53  *** Nigel [~Nigel@] has quit [Read error: Connection reset by peer]
01:03:52  <Brianetta> Does server_info work from console?
01:03:52  <glx> while executing
01:03:52  <glx> "for {set i 1} {$i <= $::max_companies} {incr i} {
01:03:52  <glx>       set ::mainloop::company($i) {none {} 0 0 0 0 0 0 0 0}
01:03:52  <glx>    }"
01:04:08  <Brianetta> Yes, it failes there
01:04:14  <Brianetta> autopilot.tcl line 283 is where that variable is set
01:04:33  <glx> server_info
01:04:33  <glx> Current/maximum clients:     0/10
01:04:33  <glx> Current/maximum companies:   0/ 8
01:04:33  <glx> Current/maximum spectators:  0/10
01:05:01  <Brianetta> There's your problem
01:05:16  <Brianetta> Three spaces between companies: and 0/8
01:05:21  <Brianetta> Mine only put sout two
01:06:01  <Brianetta> actually, that should work, it masks for two digits
01:06:31  <Brianetta> Have you set max_companies in the config?
01:07:00  <glx> yes
01:07:08  <Brianetta> What have you set it to?
01:07:09  *** Tuck [] has quit []
01:07:25  <glx> 8
01:07:31  <Brianetta> That's the default
01:07:34  <glx> yes
01:07:46  <Brianetta> You cuold try removing that line
01:07:52  <Brianetta> I'm not sure why it failed, though
01:08:00  <Brianetta> and it's 2:10am
01:08:05  <Brianetta> and I have work tomorrow
01:08:37  <glx> hmm wait I know why it fails :)
01:09:03  <glx> openttd -h exits after showing the help text so the server is not running :)
01:09:03  <Brianetta> You do?
01:09:10  <Brianetta> erm
01:09:34  <Brianetta> no
01:09:58  <Brianetta> That's run with exec.  The main server instance is running with spawn.
01:10:07  <Brianetta> If it had closed, the autopilot would have shut down.
01:10:31  <Brianetta> Anyway, it's gone bed time.
01:10:45  <Brianetta> If you get it going, let me know.  I'll be about tomorrow.
01:10:54  *** Brianetta [] has quit [Quit: Tschüß]
01:18:36  *** BJH2_ [] has quit [Quit: ChatZilla 0.9.61 [Mozilla rv:1.7.12/20050915]]
01:22:33  *** Progman [] has quit [Ping timeout: 480 seconds]
01:39:45  *** Tobin [] has quit [Quit: Tobin]
01:48:22  *** Nigel [~Nigel@] has joined #openttd
02:07:16  *** Torm [] has quit [Read error: Connection reset by peer]
02:15:58  *** Osai [] has joined #openttd
02:19:48  *** lws1984 [] has quit [Quit: hehe, alter]
02:21:30  *** Osai^zZz [] has quit [Ping timeout: 480 seconds]
02:21:46  *** mikk36[EST] [] has joined #openttd
02:28:27  *** mikk36 [] has quit [Ping timeout: 480 seconds]
02:31:52  *** lws1984 [] has joined #openttd
02:40:45  *** Nigel [~Nigel@] has quit [Ping timeout: 480 seconds]
02:42:47  *** Nigel_ [~Nigel@] has joined #openttd
02:42:54  *** Nigel_ is now known as Nigel
02:49:04  *** PandaMojo [] has quit [Quit: Sleep]
02:49:16  *** BFM [] has quit [Quit: Chatzilla 0.9.75 [Firefox]]
02:50:50  *** DaleStan_ [~Dale@] has joined #openttd
02:54:57  *** DaleStan [~Dale@] has quit [Ping timeout: 480 seconds]
03:04:04  *** DaleStan [~Dale@] has joined #openttd
03:08:47  *** DaleStan_ [~Dale@] has quit [Ping timeout: 480 seconds]
03:14:52  *** lws1984 [] has quit [Quit: Life. That pesky time inbetween naps.]
03:18:02  *** glx [] has quit [Quit: Bye]
03:23:27  *** Wolfenstiejn [] has joined #openttd
03:23:47  *** Wolfy [] has quit [Read error: Connection reset by peer]
03:29:20  *** Nigel [~Nigel@] has quit [Ping timeout: 480 seconds]
03:36:08  *** DaleStan_ [~Dale@] has joined #openttd
03:39:35  *** DaleStan [~Dale@] has quit [Ping timeout: 480 seconds]
03:39:35  *** DaleStan_ is now known as DaleStan
03:50:08  *** Progman [] has joined #openttd
04:25:07  *** KUDr_wrk [~KUDr@] has quit [Ping timeout: 480 seconds]
04:28:52  *** mikk36[EST] is now known as mikk36
04:34:58  *** Serriaromeo [] has quit [Ping timeout: 480 seconds]
04:35:14  *** UserError [] has joined #openttd
04:42:14  *** blathijs_ [] has joined #openttd
04:42:36  *** Rubidium_ [] has joined #openttd
04:42:43  *** UserErr0r [] has quit [Ping timeout: 480 seconds]
04:44:17  *** blathijs [] has quit [Ping timeout: 480 seconds]
04:44:19  *** Rubidium [] has quit [Ping timeout: 480 seconds]
04:48:38  *** Smoky555 [] has joined #openttd
04:48:58  *** robobed [] has joined #openttd
04:49:51  *** robobed is now known as roboboy
04:49:53  <roboboy> hello
05:07:21  *** guru3 [] has quit [Read error: Connection reset by peer]
05:07:26  *** guru3 [] has joined #openttd
05:26:17  *** ThePizzaKing [] has joined #openttd
05:27:04  <roboboy> hello
05:27:30  <roboboy> ive noticed you havent been on Quakenet lately
05:28:31  <roboboy> hello
05:28:37  <roboboy> !stats
05:28:38  <_42_> roboboy:
05:28:56  <SpComb> Logs:
05:28:56  <roboboy> !logs
05:29:48  *** Tobin [] has joined #openttd
05:37:30  <ThePizzaKing> roboboy: Are you talking to me?
05:37:40  <roboboy> yep
05:37:48  <roboboy> or i was trying ot
05:38:03  <ThePizzaKing> hehehe
05:38:48  <roboboy> i have an irc bot
05:39:01  <ThePizzaKing> Is it as cool as fishbot?
05:39:23  <roboboy> it was in here last night or sunday night but DV decided we only needed one bot in here
05:39:31  <roboboy> yep
05:39:40  <roboboy> its in my Quakenet channel
05:39:49  <roboboy> and #openttdcoop
05:39:55  * ThePizzaKing decides to have a look
05:40:04  <roboboy> it will be even better next week
05:44:19  *** Tobin [] has quit [Quit: Tobin]
05:47:05  *** Nigel [~Nigel@] has joined #openttd
05:48:23  *** Guest56 [] has joined #openttd
05:51:17  *** Zaviori [] has joined #openttd
05:51:18  *** Zavior [] has quit [Read error: Connection reset by peer]
05:51:24  *** Zavior [] has joined #openttd
05:52:22  *** Gonozal_VIII [] has quit [Ping timeout: 480 seconds]
05:56:43  *** Guest56 is now known as Gonozal_VIII
05:59:25  *** XeryusTC [] has joined #openttd
06:10:05  *** Tron_ is now known as Tron
06:13:38  <peter1138> morning
06:14:08  <roboboy> hello
06:14:18  <peter1138> adsl :D
06:28:49  *** Zaviori [] has quit [Read error: Connection reset by peer]
06:28:49  *** Zavior [] has quit [Read error: Connection reset by peer]
06:30:40  *** Torm [] has joined #openttd
06:34:02  *** Vizzerdrix [] has joined #openttd
06:38:08  *** Sako [] has quit [Ping timeout: 480 seconds]
06:41:39  *** Greeny [] has quit [Ping timeout: 480 seconds]
06:42:57  *** scia [] has joined #openttd
06:48:15  *** Sionide [] has quit [Quit: /quit]
07:07:56  <mikk36> so, peter1138 ?
07:08:07  <mikk36> i'm on cable... 2/0.25 :P
07:08:19  <mikk36> at least the latency is good, speed is... what it is :/
07:09:26  *** Trenskow [~outlet@] has joined #openttd
07:09:48  <peter1138> 8/0.5, supposedly
07:10:07  <peter1138> not seen more than 240KB/s yet though
07:11:24  <mikk36> lol
07:14:04  <Nigel> 240KB/s = 2mbit
07:18:05  <peter1138> yeah
07:18:17  <peter1138> well it's synced at 8128/448 Kbps
07:19:45  *** dp- [] has joined #openttd
07:20:13  <Prof_Frink> peter1138: where the fuck's my fucking broadband?
07:20:44  <peter1138> i ate it
07:22:28  <Prof_Frink> you must have shat it out by now
07:24:23  <peter1138> uh huh
07:26:45  *** dp-_ [] has quit [Ping timeout: 480 seconds]
07:29:03  *** Progman [] has quit [Quit: Progman]
07:29:11  *** Progman [] has joined #openttd
07:35:34  *** scia [] has quit [Quit: Lost terminal]
07:46:35  *** Progman [] has quit [Remote host closed the connection]
08:17:03  *** Neonox [] has joined #openttd
08:25:31  *** e1ko [] has joined #openttd
08:26:54  *** TinoM [] has joined #openttd
08:32:55  *** Trenskow [~outlet@] has quit [Ping timeout: 480 seconds]
08:40:26  *** Neonox [] has quit [Quit: muss wech]
08:42:25  *** Ammler [] has joined #openttd
08:43:49  <Nigel> !stats
08:43:51  <_42_> Nigel:
08:44:51  <peter1138> ah, bjarni is the noisiest...
08:45:33  <Nigel> you can access it?
08:45:49  <peter1138> the stats? yes.
08:48:12  <Nigel> werid, it doesn't like me
08:56:33  *** AsterixMG [] has joined #openttd
08:56:36  <AsterixMG> hi @all
09:12:57  *** jez [] has joined #openttd
09:13:17  <jez> The 'autorenew months' patch text in the config dialog isn't clear enough as to what a negative number of months will do
09:13:37  <jez> it seems to default to 6 now instead of -6, which makes me think that positive numbers now renew a vehicle before its expiry date
09:23:52  *** Tron_ [] has joined #openttd
09:26:30  *** Rens2Sea [~Rens2Sea@] has joined #openttd
09:28:20  *** Tron [] has quit [Ping timeout: 480 seconds]
09:29:56  *** KUDr_wrk [~KUDr@] has joined #openttd
09:31:59  *** Brianetta [] has joined #openttd
09:32:22  * Brianetta thumps his chest and climbs the Empire State Building
09:34:44  <jez> know anything about the autorenew months patch?
09:35:42  <SpComb> Logs:
09:35:42  <Torm> !logs
09:35:53  *** Eddi|zuHause2 [] has quit [Ping timeout: 480 seconds]
09:36:24  <Torm> !seen JohnUK89
09:36:25  <_42_> Torm, JohnUK89 (~JohnUK89@ was last seen quitting #openttd 4 days 15 hours 52 minutes ago (07.09. 17:43) stating "Ping timeout: 480 seconds" after spending 1 hour 36 minutes there.
09:43:42  <Rubidium_> Brianetta: that starting_date -> starting_year conversion happened in revision 5915 (same with restart_date) in trunk and in MiniIN at revision 5980.
09:44:12  <Brianetta> Rubidium_: Both are supported, are they not?
09:44:42  <jez> somebody pointed me to a site that had documentation of the OpenTTD a while ago
09:44:47  <jez> can anyone remember the URL?
09:44:58  <jez> it had a listing of variables and stuff in the source
09:45:10  <Rubidium_> no, you have to use _year after (and for) 5915, and _date before 5915
09:45:30  *** Rubidium_ is now known as Rubidium
09:45:45  <Brianetta> That's lame
09:47:00  <Rubidium> keeping _date, which does exactly the same as _year seems not a good idea in my opinion
09:47:11  <Brianetta> I just checked my openttd.cfg
09:47:23  <Brianetta> openttd has added the _year ones, but left the _date ones in
09:47:35  <Brianetta> I think that changing it was a daft idea
09:47:49  <Rubidium> it doesn't remove stuff it doesn't recognise (anymore)
09:48:02  <Brianetta> It shouldn't not recognise that
09:48:18  <Brianetta> It should recognise it as an old option, read it, and write out the new one instead.
09:48:44  <Brianetta> Since somebody felt that it was OK to change it, they should have implemented a mechanism to help old openttd.cfg files stay good
09:50:20  <Rubidium> it should already have existed a long time, as there were more conversions that were even uglier, as they gave warnings when starting the game
09:50:54  <Brianetta> Yes indeed, my nightly's config file, used without change, suddenly shanges the start year from 1922 to 1950, and then saves this incorrect value
09:51:20  <Brianetta> It's a damned good job none of the devs here code like that as part of their job
09:51:55  <Brianetta> There *should* be a warning
09:52:03  <Brianetta> It should have been handled
09:55:46  <Brianetta> Oh, it was you
09:55:50  * Brianetta read the log
09:55:55  <Brianetta> You should hang your head in shame.
09:56:11  <Rubidium> the problem with being backward compatible with changes in the configfile is that there is no notion of versioning in them
09:56:40  <Brianetta> Then either keep a record of old settings which are deprecated, or don't change anything.
09:57:02  <Brianetta> Simply using a new default value to replace an older setting is brain dead.
09:57:30  <Rubidium> the problem with that is that you have to keep the deprecated value also in memory (for any next revision of OTTD)
09:57:55  <Brianetta> No, you can write the old value with the new setting and remove it from the config.
09:58:03  <peter1138> hmm?
09:58:28  <Brianetta> peter1138: We're discussing the renaming of openttd.cfg keys
09:58:28  <Rubidium> Brianetta: you need a global variable for reading the ini-settings, which you cannot free
09:58:43  <jez> somebody pointed me to a site that had documentation of the OpenTTD a while ago
09:58:43  <Brianetta> Rubidium: Perhaps changing that can be your next commit.
09:58:44  <jez> can anyone remember the URL?
09:58:53  <jez> damn this is annoying
09:59:08  <Darkvater> jez: no we do not
09:59:12  <Darkvater> jez: don't you mean the wiki?
09:59:18  <Brianetta> Since it's in a fixed global structure, perhaps you shouldn't have started renaming keys in it.
09:59:32  <Darkvater> Rubidium: perhaps the best thing is, is to just comment out unused keys?
09:59:56  <Darkvater> but then again, I'm not sure how those are distinguished cause if the value hasn't changed it's treated essentially the same
09:59:59  <Brianetta> Not unused keys, Darkvater, just known keys that have been renamed
10:00:00  <jez> Darkvater: no... there was another site :-\
10:00:13  <Darkvater> Brianetta: put a sock in it. Just open your config and delete the old setting instead of bitching around
10:00:16  <Brianetta> starting_date -> starting_year, et
10:00:26  <Rubidium> jez:
10:00:40  <jez> ah yes that's it
10:00:44  <Brianetta> Darkvater: I hadn't been aware this had changed.
10:00:56  <Brianetta> It's not like the game gives a warning.
10:01:30  <Rubidium> but does it if it can't find an openttd.cfg?
10:01:35  <Darkvater> well now you are, aren't you?
10:01:55  <Brianetta> Yes.  *I* can work around this bug.
10:02:03  <Brianetta> Now you should tell the rest of the world.
10:02:44  <jez> ugh, there're no docs on this macro
10:02:57  <Brianetta> jez: There's no design either, so I should't worry.
10:03:16  <Darkvater> and no, your criticism is not valid (at least partly) because this is a beta. Or do you think office/photoshop or any other professional program releases beta builds to users and then fix every little in-between-development changes so it works flawlessly?
10:03:21  <Darkvater> no they don't
10:03:31  <jez> #define SDTG_VAR(name, type, flags, guiflags, var, def, min, max, interval, str, proc)\
10:03:46  <jez> flags, guiflags, var, interval, str, proc
10:03:50  <jez> i dunno what all those do
10:04:24  <Rubidium> jez: look at SettingDescBase in settings.h
10:04:30  <Brianetta> Darkvater: It's only a beta now?  Crumbs, after the way this project has been scared to break trunk you'd have to forgive people for thinking that nightlies were meant to be stable.
10:04:56  <Darkvater> Brianetta: was it ever final?
10:05:13  <Brianetta> Perhaps when 0.5 comes out it'll handle loading 0.4.* openttd.cfg files properly?
10:05:27  <Brianetta> Somehow I think it wouldn't if I hadn't kicked off.
10:05:28  <Darkvater> nobody says or has said nightlies were stable ever, even the website has a disclaimer
10:06:02  <jez> hmm
10:06:28  <Brianetta> I've maintained for a long time that nightlies shouldn't be regarded as stable, and you know this.
10:06:31  *** Sacro [~ben@adsl-213-249-247-87.karoo.KCOM.COM] has joined #openttd
10:07:01  <Brianetta> It's the entire reason my nightly server was discontinued
10:07:10  *** Belugas_Gone [~Jfranc@] has quit [Ping timeout: 480 seconds]
10:09:46  *** Belugas_Gone [~Jfranc@] has joined #openttd
10:09:49  *** mode/#openttd [+o Belugas_Gone] by ChanServ
10:11:12  <SpComb> Logs:
10:11:12  <Sacro> !logs
10:12:09  *** Bjarni [] has joined #openttd
10:12:10  *** mode/#openttd [+o Bjarni] by ChanServ
10:19:17  *** Tron [] has joined #openttd
10:23:52  *** Torm [] has quit [Ping timeout: 480 seconds]
10:24:48  <peter1138> mr Tron
10:25:03  <Tron> hm
10:32:29  *** Bjarni [] has quit [Quit: Leaving]
10:38:06  <jez> NetworkPacketSend
10:38:10  <jez> ^ where does that get defined
10:41:37  <peter1138> it doesn't
10:42:08  <CIA-2> Darkvater * r6443 /trunk/docs/ (landscape.html landscape_grid.html): -Fix (r6001): Please update the documentation if you mess with the _m[] bits!
10:42:43  <peter1138> yay for crappy commit messages ;P
10:43:05  * Darkvater goes and picks up a trout
10:43:05  <jez> peter1138: erm, so how does the code compile and link?
10:43:15  <Darkvater> jez: *magic*
10:43:26  <peter1138> 08network_data.h:#define DEF_CLIENT_SEND_COMMAND(type) void NetworkPacketSend_ ## type ## _command(void)
10:43:30  <peter1138> err, -08
10:43:35  <peter1138> DEF_CLIENT_SEND_COMMAND(foo)
10:43:36  <peter1138> becomes
10:43:44  <peter1138> NetworkPacketSend_foo_command(void)
10:43:50  <Darkvater> jez: just do a search for 'networkpacketsend' in the source
10:43:54  <jez> i did
10:44:02  <jez> it's only referenced, never defined
10:44:12  <Darkvater> I don't think you really did
10:44:23  <Darkvater> cause then you would've seen what peter1138 here above has pasted
10:44:35  <jez> ah i see, i didn't see the void and ()
10:44:43  <jez> got it now
10:45:16  <jez> that said, isn't it defined to do nothing?
10:45:43  <peter1138> nope
10:45:51  <peter1138> it's used with { ... }, not ;
10:46:32  <jez> ah
10:46:37  <peter1138> Darkvater: good news, my adsl is now active, and i have next week off work
10:47:03  <peter1138> bad news, my folks are coming up next week and i'll be doing house/garden stuff
10:48:08  <Darkvater> peter1138: that's good news as well, probably not for you though
10:48:16  <Darkvater> you'll be dead tired next week ;p
10:50:26  <jez> anyone know why they've gone to the effort of making macros like DEF_CLIENT_SEND_COMMAND and SEND_COMMAND instead of just using regular functions?
10:50:32  <jez> i must be missing something
10:50:47  <Darkvater> ask TrueLight
10:51:25  <Darkvater> I would say it saved on typing, although I cannot say I agree
10:52:56  <peter1138> might be to allow easier changes... dunno
10:53:14  <AsterixMG> darkvater, if you got some time, can you give me a comment on this:
10:53:55  *** Eddi|zuHause2 [] has joined #openttd
10:56:15  <Darkvater> AsterixMG: you delete the stats window when you close the station window, right?
10:56:50  <AsterixMG> darkvater no, it stays open then, its only deleted if the station gets deleted
10:57:12  <AsterixMG> you think it should close when the stationwindow gets closed?
10:57:32  <Darkvater> donnu
10:57:46  <Darkvater> make a choice on where you put the *
10:58:23  *** Mucht|work [~mucht@] has joined #openttd
10:58:41  <peter1138> after the space
10:59:24  <Darkvater> why did you put the extra saveload loop for vehicle_stats? If you plug it into the statiion struct it's done automatcailly
11:00:25  <Darkvater> don't dereference Station *st at the top of StationStatsWndProc
11:00:47  <Darkvater> you only need it for WE_PAINT (just pass w there) and WE_CLICK
11:01:20  <Darkvater> ShowStationStatsWindow
11:01:25  <Darkvater> +	Window *w;
11:01:25  <Darkvater> +
11:01:25  <Darkvater> +	w = AllocateWindowDescFront(&_station_view_stats, st->index);
11:01:27  <Darkvater> one line
11:01:31  <Darkvater> +		const byte color = st->owner;
11:01:31  <Darkvater> +		/* Oil-rigs have no owner, set caption-bar-colour to owner colour if no oil-rig */
11:01:34  <Darkvater> +		if (color != OWNER_NONE) w->caption_color = color;
11:01:37  <Darkvater> ???
11:01:44  <Darkvater> if (st->owner != OWNER_NONE) ....
11:03:15  <Darkvater> const stringarray[STS_VEH_TYPE_COUNT] = { << make this into static const
11:03:39  <Darkvater> +const bool show_average = w->custom[0]; << never do this, we do not dereference w->custom directly
11:03:58  <Darkvater> and what's up with these const non-pointer variables?
11:04:07  <Darkvater> I've seen bjarni do it as well...
11:04:40  <peter1138> DrawStationStatWindow needs consts
11:05:01  *** Trenskow [~outlet@] has joined #openttd
11:05:17  <peter1138> Darkvater: have you ever looked at other projects' source code? e.g. the linux kernel?
11:05:21  <peter1138> it's disgusting :)
11:05:58  <Darkvater> I'd prefer not to
11:06:00  <AsterixMG> hmm, the coding-style says use const if possible
11:06:07  <Darkvater> had a look at simutrans and still have nightmares
11:07:22  <Darkvater> AsterixMG: for pointers, yes. But for simple in-place variables it's not much use
11:07:56  <AsterixMG> good to know, saves some typing ;)
11:08:24  <Darkvater> hmm, I think
11:08:25  <Darkvater> yes
11:08:28  <Darkvater> it's foodtime
11:14:30  <peter1138> food!
11:18:53  <Gonozal_VIII> all your food is belong to me
11:19:38  <Eddi|zuHause2> *are
11:21:29  <Gonozal_VIII> <-- ^^
11:27:08  <Brianetta> autopilot works on 0.4.8, but obviously isn't capable of producing company information without the players command.
11:28:14  <Brianetta> I might recommend that users overload that response with a simpler one giving the company count alone.
11:30:09  <AsterixMG> Darkvater, about the saving: what do you mean by "plug it into the station struct"?  i did the same as what is done with the goods-entrys, which is a struct within the station-struct, too
11:31:11  <jez> Does the 'map' that gets sent by the server to the client on connect also contain information on the existing companies?
11:35:47  *** TinoM| [] has joined #openttd
11:42:10  <Brianetta> jez: Yes
11:42:19  <Brianetta> It is basically a streamed saved game
11:42:33  <jez> great
11:42:37  <jez> o well
11:42:47  <roboboy> hello
11:42:54  <Brianetta> roboboy (:
11:43:08  *** TinoM [] has quit [Ping timeout: 480 seconds]
11:43:40  *** Smoky555 [] has quit [Read error: Connection reset by peer]
11:47:06  <peter1138> s/basically//
11:47:26  * peter1138 wonders what jez is upto
12:00:50  <Sacro> peter1138: dunno, but it seems interesting
12:03:24  *** PandaMojo [] has joined #openttd
12:04:58  *** Trenskow [~outlet@] has quit [Quit: Read error: Connection reset by sortepeer]
12:14:42  <Brianetta> jez is deathmatching
12:14:54  <Brianetta> The first public 0.4.8 server with autopilot 2
12:16:52  *** Torm [] has joined #openttd
12:19:10  *** ThePizzaKing [] has quit [Ping timeout: 480 seconds]
12:19:42  *** stefanbeton [stefan@] has joined #openttd
12:19:49  <stefanbeton> hi
12:20:30  <stefanbeton> i install openttd and sound efects don't work
12:20:35  <stefanbeton> why?
12:20:54  <stefanbeton> help me pleas
12:21:22  <Torm> are you using it on linux or windows?
12:21:30  <stefanbeton> windows
12:21:38  <Torm> hmm, unsure then
12:21:44  <Torm> i use it on linux
12:21:51  <stefanbeton> ok
12:21:53  <Torm> hang around, a windows user should be around
12:21:58  <Eddi|zuHause2> stefanbeton: you have the file?
12:21:59  <stefanbeton> ok
12:22:04  <stefanbeton> yes
12:22:09  <Eddi|zuHause2> that contains all sounds
12:22:27  <stefanbeton> is in openttd/data/
12:22:38  <Eddi|zuHause2> what file size does it have?
12:22:46  <stefanbeton> just a moment
12:23:14  <stefanbeton> 1,608,618 bytes
12:23:18  <stefanbeton> 1.53 mb
12:23:27  <Eddi|zuHause2> that seems correct
12:23:41  <stefanbeton> music work fine
12:23:53  <stefanbeton> but sound efects no
12:24:08  <stefanbeton> sound efects volume = maxim
12:24:12  <Eddi|zuHause2> that is... really strange...
12:24:35  <stefanbeton> i know...
12:24:54  <Eddi|zuHause2> on windows, all things are supposed to magically work
12:25:04  <Eddi|zuHause2> if they don't, i have no clue how to repair...
12:25:11  <stefanbeton> i like the game .... but i like much more with sound
12:25:43  <stefanbeton> i have audigy 2 sound card
12:25:53  <Frostregen> hmm, me too, but it works
12:25:57  <Eddi|zuHause2> that should not matter...
12:25:58  <stefanbeton> and onboard ac'97 sound card
12:26:13  <Eddi|zuHause2> if DirectX recognizes the sonudcard
12:26:15  <Frostregen> same, but disabled in bios
12:26:19  <Eddi|zuHause2> it should all work
12:26:45  <stefanbeton> yes sound card work very well
12:27:00  <stefanbeton> winamp etc...
12:27:25  <stefanbeton> i install and uninstall but no efect
12:27:47  <Eddi|zuHause2> did you try to plug the speaker in the other sound card, and see if the sound comes there?
12:27:51  <Frostregen> maybe some windows-volume setting? wave / midi is separated
12:28:18  <stefanbeton> i will try
12:28:55  <Eddi|zuHause2> hm... but "wave" should be the same thing that winamp uses...
12:29:27  <Frostregen> maybe
12:29:46  <Frostregen> but it has its own volume-bar
12:29:57  <Frostregen> i don't know if they are synced
12:30:28  <Eddi|zuHause2> no, they are plugged "in series"
12:30:39  <Frostregen> and perhaps the music is just way louder than sound effects
12:30:48  <Frostregen> ok
12:32:16  <Torm> if you go to the installation directory and type openttd.exe --help it'll give you a list of sound devices you can use
12:32:19  *** tokai [] has joined #openttd
12:32:21  *** mode/#openttd [+v tokai] by ChanServ
12:32:37  <Torm> List of video drivers:
12:32:38  <Torm>        sdl: SDL Video Driver
12:32:38  <Torm>       null: Null Video Driver
12:32:38  <Torm>  dedicated: Dedicated Video Driver
12:32:38  <Torm> List of sound drivers:
12:32:39  <Torm>        sdl: SDL Sound Driver
12:32:40  <Torm>       null: Null Sound Driver
12:32:42  <Torm> List of music drivers:
12:32:44  <Torm>    extmidi: External MIDI Driver
12:32:46  <Torm>       null: Null Music Driver
12:33:58  <stefanbeton> ok
12:34:03  <stefanbeton> thank you
12:34:18  <stefanbeton> i will try
12:38:15  *** blackis [] has joined #openttd
12:38:18  <roboboy> gnight
12:38:34  <roboboy> freenode is stupid
12:38:58  <roboboy> its a hell of a job to get robobot working properly on it
12:39:06  <roboboy> so that pms will work
12:39:14  *** roboboy is now known as robobed
12:39:19  <Brianetta> sandbox was OK
12:39:25  <Brianetta> Just needed its nick registering
12:39:30  * robobed folds out of the cupboard
12:39:59  <robobed> would you mind helping me set it up tomorrow
12:40:32  *** stefanbeton [stefan@] has quit [Read error: Connection reset by peer]
12:40:33  <robobed> but with robobot to identify you have to send the pm
12:41:26  <robobed> so you have to get its nick registered then allowe non registered users to send it pms
12:42:14  <peter1138> heh
12:42:39  <robobed> thats the biggest pron=blem
12:42:51  <robobed> ^problem
12:44:11  <Brianetta> Jez just realised that deathmatch isn't his scene
12:45:40  *** DaleStan [~Dale@] has quit [Ping timeout: 480 seconds]
12:47:09  *** Turski [] has joined #openttd
12:48:37  <Sacro> ooh deathmatch
12:49:15  *** Spoco [] has joined #openttd
12:51:22  *** jez [] has quit [Ping timeout: 480 seconds]
13:04:36  *** dariius [~dariius@] has joined #openttd
13:05:01  *** Zavior [] has joined #openttd
13:05:04  *** Torm [] has quit [Quit: adios!]
13:05:39  *** Ammler_ [] has joined #openttd
13:08:48  *** BJH2 [] has joined #openttd
13:10:50  *** Ammler [] has quit [Ping timeout: 480 seconds]
13:12:58  *** Belugas_Gone is now known as Belugas
13:13:10  <Belugas> hello
13:13:17  <Sacro> hey Belugas
13:15:14  *** lws1984 [] has joined #openttd
13:30:44  <Belugas> hello Sacro :)
13:30:54  <Belugas> morning lws1984
13:33:23  * tokai pokes Belugas
13:35:42  *** smeding [] has joined #openttd
13:37:59  * Belugas Belugas just awakes... not quite there yet...
13:38:23  * Sacro goes for a shower
13:40:38  *** Rens2Sea is now known as Rens2W
13:41:20  *** Rens2W is now known as Rens2AFK
13:42:18  <Brianetta> Everybody on my Deathmatch server is being cooperative and polite
13:42:24  <hylje> what the
13:42:39  <Brianetta> "Can you move that bridge?" "Oh, you want to make a tunnel there?" "Yes, please" "No problem."
13:45:13  *** glx [] has joined #openttd
13:45:13  *** mode/#openttd [+v glx] by ChanServ
13:48:34  *** Guest56 [] has joined #openttd
13:54:38  *** Gonozal_VIII [] has quit [Ping timeout: 480 seconds]
13:56:55  *** Guest56 is now known as Gonozal_VIII
13:57:01  <peter1138> heh
14:03:06  <Brianetta> Now they're informing each other about jams
14:03:17  <Brianetta> I'd expect them to be attempting to *cause* jams
14:03:31  <Brianetta> Absolutely nobody has drowned a vehicle
14:03:42  <Brianetta> Two trains crashed, but htat was user error
14:03:52  <Brianetta> This is no deathmatch
14:04:00  *** e1ko [] has quit [Quit: Chatzilla 0.9.67+ [SeaMonkey 1.0.4/2006072904]]
14:04:01  <Brianetta> This is just regular OpenTTD
14:05:36  <tokai> OpenTTD != QuakeWorld ;)
14:05:58  <hylje> make the MOTD say "stop being sissies, this is motherfucking deathmatch in my SERVER!
14:06:01  <hylje> "
14:06:05  <Brianetta> heheh
14:06:15  <Brianetta> "Contenders... READY!!!"
14:06:45  <tokai> actaully its nice to have some game you can actually play completly cooperative... usually network games are the exact opposite.
14:08:45  <Brianetta> tokai: A reason why people liked my nightly
14:08:58  <Brianetta> Competition was encouraged.  Only antisocial behaviour was discouraged.
14:09:35  <Brianetta> As an example, buying land around te end of a player's network to prevent expansion was regarded antisocial, whereas competing for the same coal mines was not.
14:10:05  <Brianetta> I had emails from angry players.  "He stole my cargo.  Kick him off."
14:10:20  <glx> that's the game :)
14:10:21  <Brianetta> I'd email them back - "It's not your cargo.  You're just bidding to transport it somewhere."
14:10:36  *** e1ko [] has joined #openttd
14:10:49  <Brianetta> I do plan to run a real r again
14:10:53  <Brianetta> a real server
14:10:56  <tokai> Brianetta: uhm.. well :)
14:10:59  <hylje> the current is a toy?
14:11:04  <Brianetta> Deathmatch is a bit
14:11:11  <Brianetta> It just runs in my flat
14:11:18  <Brianetta> My nightly was a serious server
14:11:22  <tokai> doesn't productivity of an industry increases when more stuff from it gets transported? :)
14:11:54  <Brianetta> tokai: Yes, but you'd be surprised how infrequently players compete for it.  In fact, if you look in the openttd wiki multiplayer rules page,
14:12:09  <Brianetta> you'll see that competition for a source of cargo is discouraged.
14:12:19  <hylje> so if two players compete for one, say, coal mine
14:12:35  <hylje> it increases production faster than if it has a monopoly
14:13:20  <Brianetta>
14:13:24  <Brianetta> Look at the fourth point
14:13:31  <Brianetta> "Follow the rules set down by the server owner. These may include no 'industry stealing' where one player starts a more competitive route than another."
14:13:39  <Brianetta> This is, in fact, the majority of cases.
14:15:05  <hylje> people like to just build a route and be done with it
14:15:14  <hylje> they dont like to get starved
14:15:48  *** grimrc [] has joined #openttd
14:16:19  <Brianetta> yeah
14:16:38  <Brianetta> So, once 0.5 is out, we'll see "Brianetta's Standard" to replace "Brianetta's Nightly"
14:17:11  <Brianetta> It'll be full UKRS, new stations, viaducts, UK HOVs and planeset.
14:17:31  <Brianetta> Its supporting web site will be back, and it'll be a lot more static than before.
14:18:51  <peter1138> heh
14:19:11  <peter1138> UKRS :D
14:19:21  <hylje> whats so :D in ukrs
14:19:38  <Brianetta> British trains, man
14:20:08  <Brianetta> Standard 5s and Bombardier Voyagers
14:20:15  *** DaleStan [~Dale@] has joined #openttd
14:21:37  <Brianetta> [14:20] <rachel> Tom: I have to go now
14:21:38  <Brianetta> [14:20] <rachel> Tom: have a nice time
14:21:38  <Brianetta> [14:21] <rachel> Tom: was nice to ply with you!
14:21:43  <Brianetta> Deathmatch to the end.  Rawr!
14:23:03  <glx> Brianetta: still a bug for ".*\r" and ".*\n" :(
14:23:11  *** WolfAngel [] has joined #openttd
14:26:41  * peter1138 accidentally updates the 2cc patch, whilst at work
14:26:48  <Brianetta> glx: Your fix isn't good
14:26:55  <glx> but it worked
14:26:59  <Brianetta> peter1138: Work steals copyright!  Argh!
14:27:05  <Brianetta> glx: Only for Windows
14:27:08  <peter1138> what work don't know ...
14:27:12  <Brianetta> I don't want two versions
14:27:20  <Brianetta> Linux sends a lone \n when you hit enter
14:27:29  <Brianetta> Windows sends a \r\n
14:27:42  <Brianetta> Your patch made it do command\r\r
14:27:52  <Brianetta> which entered a second, null command for every real one
14:29:23  <peter1138> Command = Command.Replace("\r\n", "\n"); // C# sucks, honest...
14:30:23  <Brianetta> Apparently, the Windows openttd requires \r to terminate commands
14:30:42  <Brianetta> The linux one works with either, so 2.0.1 terminates all its own commands with \r now
14:31:07  <peter1138> o_O
14:31:12  <Brianetta> but the commands that the user types in at the keyboard apparently don't work unless you change the \r\n to \r\r
14:31:21  <hylje> i smell a WTF
14:31:22  <Brianetta> According to glx
14:31:30  <glx> expect doc says \n is not guaranted to work
14:31:52  <Brianetta> It's ascii 13
14:31:58  <Brianetta> It's just a character
14:32:09  <Brianetta> and it works with openttd in Linux, as does ascii 10
14:32:45  <Brianetta> Since in every case that you changed it was in exp_send, where expect types these characters into the application, it isn't up to Expect to understand it.
14:33:35  <Brianetta> The one where you mapped \n to \r confused me, because you were performing that replace on the user's keyboard input
14:34:12  <Brianetta> The same input that would be sent directly to openttd if autopilot didn't exist
14:42:34  *** Tobin [] has joined #openttd
14:43:46  <glx> I just made a quick test (displayed the pattern matched with a puts), and ".*\n" is the one used for windows
14:45:52  <Brianetta> So that's what the user entered
14:46:00  <Brianetta> and should be what goes into the application
14:46:25  <glx> yes but \n doesn't work in exp_send for windows
14:46:31  <Brianetta> .*\n will match .*\r\n
14:46:42  <Brianetta> glx, that sentence is loonty
14:46:52  <glx> no I added this case before the \n case
14:46:54  <Brianetta> Are you saying exp_send isn't capable of sending a \n
14:47:17  <Brianetta> or are you saying that openttd isn't capable of accepting it as newline?
14:47:17  <hylje> arrr
14:47:34  <hylje> miniin still crashes when removing a track which has a train coming
14:47:51  <Brianetta> hylje: The train would have crashe danyway
14:50:34  <hylje> normally the train just stop.
14:50:37  <hylje> +s
14:53:34  <grimrc> trains should crash more easily, shouldn't they?
14:53:54  <Sacro>  yes
14:54:11  <grimrc> and they should be harder to turn around
14:54:20  <Sacro> impossible
14:54:23  <Sacro> to turn around
14:54:43  <Sacro> 1
14:55:09  <grimrc> well, what about the insides of depots and stations?
14:55:27  <Sacro> depot yes, station no
14:55:28  <grimrc> I suppose you don't need the reverse icon then
14:55:48  <Sacro> actually, depot no
14:55:59  <Sacro> the only way is to build a turntable, or a triangle
14:56:15  <grimrc> Sacro: you can't see the insides of a depot (might have a turn-table, though it'd be bigger then)
14:57:44  <Brianetta> Turntable only turns a loco around
14:57:45  <Brianetta> not a train
14:57:49  <Sacro> well im all for ditching 1 square depots
14:58:03  <Sacro> Brianetta: you can turn a whole train around... it just takes a while!
14:58:13  <grimrc> that'd be cool - you turn the train around, but the carriages are in reverse order
14:58:21  *** DaleStan_ [~Dale@] has joined #openttd
14:58:41  <grimrc> you might want to unlink the train so your passenger carriages are before other ones though
14:58:42  <Sacro> have a run around, and head of back the other way
14:59:11  <grimrc> these changes would add a lot to gameplay
14:59:39  <Sacro> yes
14:59:50  <Sacro> along with proper signalling, and realisting deceleration
15:00:34  *** Spoco- [] has joined #openttd
15:02:30  *** DaleStan [~Dale@] has quit [Ping timeout: 480 seconds]
15:02:31  <grimrc> doesn't realistic acceleration cover deceleration too?
15:02:36  <Sacro> no
15:02:54  <grimrc> I don't know much about train signalling
15:02:54  <Sacro> at a red signal, or track end, a train can stop in under 1 square
15:03:53  *** Spoco [] has quit [Ping timeout: 480 seconds]
15:06:02  *** jonty-comp [] has joined #openttd
15:06:31  <grimrc> should there be any 'extern' declarations, instead of 'VARDEF' declarations?
15:08:46  <peter1138> we should avoid extern and VARDEF
15:09:21  <peter1138> Sacro: it does cover it, if you ask the train to stop on a clear stretch of track
15:09:36  <grimrc> well, everyone knows global variables are to be avoided
15:10:11  <peter1138> grimrc: yes, but better to define it properly
15:10:35  <grimrc> I can't tell the difference
15:11:08  <peter1138> how about: variables.h is a crock of shit
15:11:22  <grimrc> I'm just moving 'static Pixel _cursor_backup[64 * 64];  ---- to gfx.h
15:11:37  <Sacro> peter1138: yes, thats quite nice, even more so when you get a 20 long wood train to stop downhill!
15:11:46  <grimrc> as in, the whole idea of a 'variable.h' is crazy?
15:11:47  <Brianetta> variables.h is a container of powerful fertilizer
15:11:48  <Sacro> but trains shouldnt emergancy stop for a red signal
15:12:18  <peter1138> hmm, what needs the backup cursor outside of gfx.c?
15:12:23  <grimrc> Sacro: unrealistically emergency stop?
15:12:30  <Brianetta> successfully
15:12:36  <Brianetta> They should certainly try
15:12:57  <grimrc> peter1138: my new patch to draw several cursor sprites, so you can see large chunks of a train when you drag with ctrl key
15:13:21  <glx> and it's not in gfx.c ?
15:13:39  *** Rens2AFK is now known as Rens2Sea
15:13:42  <Sacro> grimrc: yes, trains should decelerate from the previous yellow signal, and if the red is too close it'll slam on, but not generally stop in time
15:14:14  <Brianetta> It would certainly give players cause to think about realistic signal block lengths
15:14:24  <grimrc> glx: no; I build a cursor sprite of trains, and as I add each wagon, I test if I would over-run the current buffer; then I can put an ellipsis or something at the end to denote 'more wagons'
15:14:35  <Brianetta> The current practice of four or more blocks per train would die sharply
15:15:06  <grimrc> (cursor sprite array of train wagons)
15:15:18  <Sacro> Brianetta: yes, no more signals every single square
15:15:44  <grimrc> (cursor sprite array of pointers to train wagons) hehe
15:16:51  <grimrc> (and their individual offsets)
15:18:39  <grimrc> I've got it working; it adds wagon sprites till the buffer would be full (one buffer for all the screen space used; not individual buffers); I haven't added an ellipsis though; maybe later
15:19:40  <peter1138> i hate that... signals on every or every other tile...
15:20:51  <Sacro> peter1138: well people should have to leave a fair bit of space for trains to decelerate
15:21:04  <grimrc> I've added 'Sprite *sprite2[MAX_CURSOR_SPRITES]' and 'Point sprite2_offs[(same)]' to 'struct CursorVars', leaving the old 'Sprite *sprite' intact; I wonder if I should remove that and rely totally on the array
15:21:32  <peter1138> Sacro: people'll also complain that we're forcing things on them ;)
15:21:53  <Sacro> peter1138: as opposed to them forcing things onto the brakes
15:22:25  <grimrc> could be a patch
15:22:31  <grimrc> patch setting
15:22:54  <Sacro> yeah it will be
15:23:18  <glx> Brianetta: from exp_send doc on ActiveState: Characters are sent immediately, although programs with line-buffered input will not read the characters until a return character is sent. A return character is denoted "\r".
15:25:07  <Brianetta> So you're saying that the program with line-buffered input (openttd) will not read the characters until a return character is sent?
15:25:16  <Brianetta> Surely the user sent a return character?
15:25:16  <glx> yes
15:25:36  <Brianetta> But that didn't work?
15:25:59  <Brianetta> autopilot does nothing to it
15:26:15  <Brianetta> It sends the command, in its entirety, to openttd
15:26:35  <glx> only ".*\n" is matched
15:26:36  <Brianetta> including the return characters
15:26:43  <Brianetta> .* means ANYTHING
15:26:48  <Brianetta> including more \ns and \r
15:27:03  <glx> but there is no \r in the line
15:27:17  <Brianetta> So the user never tpyed \r ?
15:27:23  <glx> never
15:27:38  <Brianetta> So, how on Earth does the user manage to type commands in when autopilot isn't there?
15:27:48  <Brianetta> Or does that not work with your patch?
15:33:25  *** Rens2Sea is now known as Rens2EveOnline
15:39:24  * Brianetta tentatively prods glx
15:39:59  <glx> ?
15:40:22  <hylje> tentacles
15:40:26  <Brianetta> Does your patched openttd accept user commands?
15:40:45  *** Ammler_ is now known as Ammler
15:40:51  <glx> yes as the non patched openttd does
15:41:14  <Brianetta> Something doesn't add up
15:45:05  *** Osai [] has quit [Quit: Osai]
15:45:55  <Brianetta> If the user never typed \r, then openttd shouldn't accept the command
15:46:11  <Brianetta> unless they did type \r really, or openttd accepts a \n instead
15:48:33  <Brianetta> glx: Does autopilot work OK if the user presses Ctrl+M instead of the enter key?
15:49:24  <glx> yes it does
15:49:35  <Brianetta> What about Ctrl+J ?
15:49:38  <Eddi|zuHause2> i was under the impression that Ctrl+M gets interpreted the same as Enter long before it reaches the application
15:50:01  <glx> ctrl+J fails
15:50:33  <Brianetta> If Ctrl+M is being interpreted as Enter before reaching the application, then it's before exp_send
15:50:41  <Brianetta> which is what sends characters to the application
15:50:49  <Brianetta> exp_send does nothing to the characters it sends
15:51:06  <glx> ctrl+J fails in openttd too
15:51:31  *** Tobin [] has quit [Quit: Tobin]
15:51:35  <Brianetta> which is what makes it different to he Linux one
15:51:56  <Brianetta> So what's eating the Ctrl+M, and inserting a Ctrl+J?
15:52:12  <Brianetta> Ctrl+M = \r, Ctrl+J = \n
15:53:05  *** Mucht|work [~mucht@] has quit [Quit: Konversation terminated!]
15:53:22  *** scia [] has joined #openttd
15:53:48  <Brianetta> glx: Something to try which should be cross-platform compatible, and less work for Tcl than string map
15:54:10  <Brianetta> Remove lines 346. 347. 348
15:54:15  <glx> parentheses and send \r at the end ?
15:54:27  <Brianetta> erm
15:54:30  <Brianetta> nearly
15:54:57  <Brianetta> After line 347 (which was 350) add the next line:
15:55:06  <Brianetta> exp_send "\r"
15:55:27  <Brianetta> Actually, all those exp_sends should have -i $::ds
15:55:41  <glx> I though that too but was unsure :)
15:55:45  <Brianetta> so try that first, it might fix it
15:55:56  <Brianetta> There's only one spawn ID
15:56:03  <Brianetta> but it's never a bad idea to remain explicit
15:58:29  <Brianetta> That solution works, although it certainly does add an extra enter to the Linux one
16:00:06  *** Tron [] has quit [Read error: Connection reset by peer]
16:00:17  *** Tron [] has joined #openttd
16:02:01  <Brianetta> If you still need to send an additional \r in your copy then we're just going to have to live with an expensive string map
16:02:46  <glx> it works with the extra "\r"
16:03:01  <Brianetta> but not without
16:03:07  <glx> exact
16:03:11  <Brianetta> OK, string map here we go )-:
16:03:24  <Brianetta> I suppose use_console can be turned off fairly easily
16:03:30  <Brianetta> or commands can just not be typed in
16:03:30  <glx> why not use parentheses ? that works too with them
16:03:39  <Brianetta> explain
16:04:12  <glx> -re "(.*)\n" {
16:04:13  <glx>                exp_send  -i $::ds "$expect_out(1,string)\r"
16:04:13  <glx>             }
16:04:13  <glx>
16:04:29  <Brianetta> because that sends the \n
16:04:39  <Brianetta> which the Linux one can see
16:05:56  <Brianetta> -re ".*\n" {
16:05:57  <Brianetta>    exp_send -i $::ds [string map {"\n" "\r"} $expect_out(0,string)]
16:05:57  <Brianetta> }
16:06:04  <glx> the parentheses do the same as string map
16:06:16  <Brianetta> No, they don't
16:06:18  <Brianetta> That appends \r
16:06:47  <Brianetta> Oh, you're using a regexp atom
16:07:47  <glx> yes
16:08:00  <Brianetta> All right, I'll use that
16:08:06  <Brianetta> even though it's ugly (:
16:10:44  <glx> it should be more efficient than string map :)
16:10:55  <Brianetta> yes, just
16:11:12  <Brianetta> because it's already a regexp
16:11:23  <Brianetta> although now it's slightly more complex
16:14:12  <Brianetta> Right
16:14:14  <Brianetta> 2.02
16:14:16  <Brianetta> 2.0.2
16:14:24  <Brianetta> Second bugfix release
16:14:54  <glx> now every windows users will be happy :)
16:14:59  <Brianetta> Almost
16:15:03  <Brianetta> Some will be too timid
16:15:44  <Brianetta> Imagine how Vista would react to installing ActiveTcl, running an unsigned app from a forum, then allowing a bunch of scripts to run a game server?
16:17:07  <glx> Sacro: you have Vista beta, right?
16:22:49  *** Wolf01 [] has joined #openttd
16:23:18  <Wolf01> hi
16:24:02  *** |Jeroen| [] has joined #openttd
16:26:07  *** ChrisM87 [] has joined #openttd
16:26:15  <Brianetta> hi Wolf01
16:26:16  *** Rens2EveOnline is now known as Rens2Sea
16:26:29  <Brianetta>
16:29:05  <peter1138> update the title :)
16:29:12  <Brianetta> Oh yeah (:
16:29:33  <Brianetta> ta
16:29:58  <Brianetta> It goes!
16:30:03  <Brianetta> It goes vroom!
16:30:48  <Sacro> glx: i have Vista Beta and RC1
16:31:13  <glx> Sacro: nice so you can try autopilot with it :)
16:31:15  *** UserErr0r [] has joined #openttd
16:31:23  <Brianetta> Your mission, should you choose to accept it, is to have a go with autopilot on that.
16:32:33  <Sacro> i unfortunatly have no system :(
16:32:53  * Brianetta blinks
16:33:09  <Sacro> i only have my laptop now, and it refuses to let me even install XP
16:33:21  <Brianetta> Sensible laptop.
16:33:41  <Sacro> yeah, even though it has a licence for home
16:33:41  *** Trenskow [~outlet@] has joined #openttd
16:35:25  *** tokai [] has quit [Ping timeout: 480 seconds]
16:36:55  *** UserError [] has quit [Ping timeout: 480 seconds]
16:37:31  *** UserError [] has joined #openttd
16:39:45  *** UserErr0r [] has quit [Ping timeout: 480 seconds]
16:44:51  *** Brianetta [] has quit [Quit: Tschüß]
17:04:17  *** DaleStan_ is now known as DaleStan
17:22:13  *** scia_ [] has joined #openttd
17:29:05  *** scia [] has quit [Ping timeout: 480 seconds]
17:35:15  *** DJ_Mirage [] has joined #openttd
17:42:57  <CIA-2> miham * r6444 /trunk/lang/ (catalan.txt turkish.txt):
17:42:57  <CIA-2> WebTranslator2 update to 2006-09-12 19:42:24
17:42:57  <CIA-2> catalan - 1 fixed, 37 changed by arnaullv (38)
17:42:57  <CIA-2> turkish - 1 fixed by jnmbk (1)
17:43:44  <MiHaMiX> Total I18N status: 94% - 4737 bad strings out of 78996 strings
17:45:27  *** JonA [] has joined #openttd
17:47:54  *** Brianetta [] has joined #openttd
17:49:32  <izhirahider> is that good?
17:51:55  <MiHaMiX> izhirahider: well, yesterday it was only 93%
18:08:12  <izhirahider> that's nice
18:11:29  *** jez [] has joined #openttd
18:11:41  <jez> Having set a password for a company on a multiplayer game, can you remove it?
18:11:49  <Rexxie> is there no way to replace electric trains with other electric trains?
18:12:24  <hylje> it is
18:12:28  <hylje> look at the bottom
18:12:50  <Belugas> Why do birds suddenly appear every time you are near?
18:12:59  <Rexxie> I'm talking about the "replace vehicles" dialog, it will only let me convert electric trains to diesel ones
18:13:22  <hylje> it does let you replace el-el
18:13:31  <hylje> look at the bottom, theres a subtle button there
18:13:52  <Rexxie> aah
18:13:55  <Rexxie> nicely hidden that :)
18:14:45  <Rexxie> thanks :)
18:15:05  <Brianetta> jez: There are ways, but they're crap
18:15:16  *** Rens2Sea is now known as Rens2EveOnline
18:17:13  *** Tron [] has quit [Quit: Leaving]
18:27:55  *** Ajcon [~ajcon2@] has joined #openttd
18:28:06  *** lws1984 [] has quit [Quit: Bye!]
18:53:35  *** Belugas [~Jfranc@] has quit [Ping timeout: 480 seconds]
19:01:54  *** lws1984 [] has joined #openttd
19:05:07  *** Belugas_Gone [~Jfranc@] has joined #openttd
19:05:08  *** mode/#openttd [+o Belugas_Gone] by ChanServ
19:06:50  *** Belugas_Gone is now known as Belugas
19:31:50  *** Sacro [~ben@adsl-213-249-247-87.karoo.KCOM.COM] has quit [Ping timeout: 480 seconds]
19:38:13  *** Rens2EveOnline is now known as Rens2Sea
19:40:58  *** scia [] has joined #openttd
19:41:43  *** Sacro [~ben@adsl-83-100-237-195.karoo.KCOM.COM] has joined #openttd
19:47:50  *** scia_ [] has quit [Ping timeout: 480 seconds]
19:50:17  *** Vizzerdrix [] has quit [Quit: See you!]
20:02:01  *** scia [] has quit [Quit: Lost terminal]
20:06:21  *** jonty-comp [] has quit [Quit: Never look down on someone unless you're helping them up.]
20:06:22  *** Trenskow [~outlet@] has quit [Read error: Connection reset by peer]
20:07:46  *** AsterixMG [] has quit [Quit: ChatZilla 0.9.61 [Mozilla rv:1.7.12/20050915]]
20:12:24  *** Trenskow [~outlet@] has joined #openttd
20:14:32  *** KritiK [] has joined #openttd
20:17:07  *** Trenskow [~outlet@] has quit []
20:19:50  *** DJ_Mirage [] has quit [Quit: Probably doing something else]
20:20:47  <Belugas> !seen Maedhros
20:20:47  <_42_> Belugas, Maedhros ( was last seen quitting #openttd 1 day 3 hours 47 minutes ago (11.09. 16:33) stating "Quit: leaving" after spending 8 hours 14 minutes there.
20:21:40  <peter1138> hmm
20:24:11  *** Osai [] has joined #openttd
20:24:43  *** Trenskow [~outlet@] has joined #openttd
20:25:40  *** Trenskow [~outlet@] has quit []
20:25:46  *** Trenskow [~outlet@] has joined #openttd
20:27:13  <peter1138> getting ~ 540KB/s now
20:28:06  <Sacro> peter1138: git :p
20:28:18  <Sacro> thats 4MB/s ?
20:28:26  *** Turski [] has quit [Quit: Lost terminal]
20:28:43  *** TinoDidri [] has joined #openttd
20:29:02  *** Jezral [] has quit [Read error: Connection reset by peer]
20:30:09  <peter1138> dunno
20:30:15  <peter1138> service is 8mbps, so...
20:30:22  <Sacro> well im on 2.5 and i get around 250k flat out
20:30:54  * Prof_Frink fucking kills peter1138
20:31:01  * Prof_Frink steals his broadband
20:33:17  * hylje throws a chair at Prof_Frink
20:33:46  *** TinoDidri is now known as Jezral
20:34:30  *** Nigel [~Nigel@] has quit [Ping timeout: 480 seconds]
20:34:33  * Belugas sends flowers to Prof_Frink and hylje, whistling "Love Is All Yo Need"
20:35:10  * hylje takes up a flower dress and starts throwing flowers around
20:35:18  <hylje> ^____________________^
20:35:24  <Eddi|zuHause2> All Your Broadband Are Belong To Ua
20:35:35  <hylje> you have no chance to download
20:35:36  <Eddi|zuHause2> *s
20:35:59  *** smeding [] has quit [Remote host closed the connection]
20:36:15  *** Ajcon [~ajcon2@] has quit [Quit: ( :: NoNameScript 4.02 :: )]
20:38:55  <Prof_Frink> Eddi|zuHause2: I don't care, I'm escaping anyway
20:41:13  * Sacro escapes Prof_Frink
20:41:24  <Sacro> a </Prof_Frink> should do the trick!
20:42:01  <Prof_Frink> no, that closes me
20:42:09  <Sacro> ah well, does the job
20:42:10  *** TinoDidri [] has joined #openttd
20:42:13  <Prof_Frink> \Prof_Frink would be escaped
20:42:32  <Prof_Frink> or possibly \P\r\o\f\_\F\r\i\n\k
20:42:45  <Prof_Frink> depending how thoroughly you want me escaped
20:43:03  *** Jezral [] has quit [Read error: Connection reset by peer]
20:44:02  <Sacro> very thoroughly
20:45:15  <Prof_Frink> Well, you might want to escape the backslashes as well then
20:45:56  <Sacro> but then i cancel them out :(
20:47:30  *** Spoco- [] has quit []
20:50:32  *** TinoDidri is now known as Jezral
20:54:29  <Prof_Frink> Sacro: you've clearly never scp'd something with spaces in
20:55:03  <Sacro> Prof_Frink: i have actually
20:55:04  <peter1138> hehe
20:55:10  <Sacro> grr, yet ANOTHER cctv message
20:55:18  <Sacro> and that camera isnt even connected ><
20:58:31  *** Belugas is now known as Belugas_Gone
21:05:43  *** TinoDidri [] has joined #openttd
21:05:43  *** Jezral [] has quit [Read error: Connection reset by peer]
21:05:47  *** TinoDidri is now known as Jezral
21:10:42  <peter1138> ~ 640 KB/s :D
21:10:59  <Prof_Frink> cock.
21:11:05  *** DaleStan_ [~Dale@] has joined #openttd
21:14:10  *** Sacro [~ben@adsl-83-100-237-195.karoo.KCOM.COM] has quit [Quit: Leaving]
21:14:42  *** DaleStan [~Dale@] has quit [Ping timeout: 480 seconds]
21:15:19  *** |Jeroen| [] has quit [Remote host closed the connection]
21:15:44  *** DaleStan_ is now known as DaleStan
21:21:00  *** Progman [] has joined #openttd
21:23:19  *** TinoDidri [] has joined #openttd
21:23:19  *** Jezral [] has quit [Read error: Connection reset by peer]
21:23:23  *** TinoDidri is now known as Jezral
21:26:10  *** WolfAngel [] has quit [Quit: YES I'M SURE!]
21:26:44  *** Eddi|zuHause2 [] has quit [Remote host closed the connection]
21:29:07  *** Eddi|zuHause [] has joined #openttd
21:32:46  <Eddi|zuHause> just great... KDE fixed, but Kaffeine/xine broken ;p
21:34:42  <mikk36> pwnt
21:35:16  <Eddi|zuHause> i am slowly going towards a running system ;)
21:35:50  <Eddi|zuHause> but with a Lipschitz-constant >= 1 that is not going to converge :p
21:39:49  *** Trenskow [~outlet@] has quit [Quit: Read error: Connection reset by sortepeer]
21:41:05  *** Osai is now known as Osai^zZz
21:46:15  *** Trenskow [~outlet@] has joined #openttd
21:48:22  *** Prof_Frink [] has quit [Ping timeout: 480 seconds]
21:48:40  *** lws1984 [] has quit [Quit: Tacos! :D]
21:48:49  *** Prof_Frink [] has joined #openttd
21:48:50  *** e1ko [] has quit [Quit: Chatzilla 0.9.67+ [SeaMonkey 1.0.4/2006072904]]
21:49:36  *** Guest56 [] has joined #openttd
21:53:52  *** Empero [] has quit [Ping timeout: 480 seconds]
21:54:31  *** Gonozal_VIII [] has quit [Ping timeout: 480 seconds]
21:57:56  *** Guest56 is now known as Gonozal_VIII
21:58:23  *** blackis [] has quit [Quit: blackis]
21:59:59  *** TinoM| [] has quit [Quit: Verlassend]
22:03:12  *** Rexxie [] has quit [Quit: edgepro: Sanity is a full time job.]
22:06:30  *** ChrisM87 [] has quit [Remote host closed the connection]
22:13:24  *** eper [] has joined #openttd
22:14:16  *** Ammler [] has quit [Remote host closed the connection]
22:14:33  <eper> Brianetta, if that autopilot does half the features the readme says it does, then thats an excellent piece of work :]
22:15:24  <Brianetta> ta
22:15:33  <Brianetta> it does, at least half,a nd more than half the time
22:15:37  <Brianetta> !fish
22:15:43  <Brianetta> hmm, no autopilots in here
22:15:48  <glx> lol
22:16:08  <Brianetta> glx: I mentioned you on our blog
22:16:26  <eper> dunno why but my server always seems to have players on
22:17:23  <eper> might spawn a few more box can handle a fair few
22:19:07  <eper> hmm like the red dwarf quote for fish
22:20:22  <Brianetta> (:
22:20:30  <Brianetta> Just a demo of how easy it is to add commands
22:20:51  <Brianetta> I'm about to check autopilot in to an svn repository
22:22:43  <Brianetta> Committed revision 1.
22:22:47  <Brianetta> Woohoo!
22:26:53  *** XeryusTC [] has quit [Quit: So Long, and Thanks for All the Fish]
22:29:38  <Wolf01> 'night all
22:29:45  *** Wolf01 [] has quit []
22:31:32  <glx> Brianetta: nice :)
22:35:28  *** Rens2Sea [~Rens2Sea@] has quit []
22:36:30  <glx> a suggestion: make the join/left/rename language dependant
22:37:01  <glx> +detection :)
22:41:07  <Brianetta> It's something I am aware of
22:41:24  <Brianetta> detection is bad, there are hundreds of languages, and openttd supports about half of them
22:42:09  <Brianetta> I might break it out into a mini-language file
22:42:20  <Brianetta> which a user can translate by copying the strings from their language file
22:42:33  <Brianetta> I *could* do that myself, but I don't want to maintain it
22:42:35  *** lws1984 [] has joined #openttd
22:43:26  <glx> just add that in lang_*.tcl, so if someone wants his language supported, he adds it
22:43:37  <Brianetta> Yeah, I could
22:43:54  <Brianetta> but I don't assume that the language of autopilot and the labguage of openttd must match
22:44:24  <glx> right
22:44:39  <glx> anyway openttd language is readable in openttd.cfg
22:44:40  <Brianetta> and they have to be translated not just well, but identically to the openttd source
22:48:17  <Eddi|zuHause> you could just take the strings from lang/*.txt
22:48:40  <Brianetta> yes, I could
22:48:58  <Brianetta> [23:42] <Brianetta> which a user can translate by copying the strings from their language file
22:48:58  <Brianetta> [23:42] <Brianetta> I *could* do that myself, but I don't want to maintain it
22:49:03  <glx> maybe you could get the current language in cfg, change it to english, start the server and put it back
22:49:18  <Brianetta> I can't
22:49:24  <Brianetta> openttd reads the config file itself
22:49:31  <Brianetta> and autopilot never writes to it
22:50:13  <glx> or we could add a command to change the language from console :)
22:50:37  <Brianetta> We could, yes
22:50:57  <Brianetta> Not sensible, but totally doable
22:53:32  *** Serriaromeo [] has joined #openttd
22:53:55  *** eper [] has quit []
23:04:40  *** Tobin [] has joined #openttd
23:08:32  *** Progman [] has quit [Remote host closed the connection]
23:13:12  *** Tobin [] has quit [Quit: Tobin]
23:14:04  <Brianetta> glx: Do you have ssh?
23:14:13  <glx> I have putty
23:14:18  <Brianetta> hmm
23:14:26  <Brianetta> Have a look at svn over ssh on the web
23:14:49  <Brianetta> If you can do it with putty, get in touch tomorrow and I'll look at getting you svn access to autopilot
23:14:57  <Brianetta> Right now, I'm off to bed
23:15:02  <glx> good night
23:15:06  <Brianetta> night
23:15:13  *** Brianetta [] has quit [Quit: Tschüß]
23:16:55  *** Trenskow [~outlet@] has quit [Quit: Read error: Connection reset by sortepeer]
23:27:56  *** lws1984 [] has quit [Quit: Bye]
23:36:10  *** Zavior [] has quit [Ping timeout: 480 seconds]
23:43:49  *** jez [] has quit [Read error: Connection reset by peer]
23:53:25  *** Frostregen_ [] has joined #openttd
23:59:17  *** Frostregen [] has quit [Ping timeout: 480 seconds]
23:59:36  *** Frostregen_ is now known as Frostregen

Powered by YARRSTE version: svn-trunk