Config
Log for #openttd on 26th May 2013:
Times are UTC Toggle Colours
00:09:11  *** KritiK [~Maxim@0001264a.user.oftc.net] has quit [Quit: Leaving]
00:18:01  *** Samu [~oftc-webi@157.38.54.77.rev.vodafone.pt] has quit [Quit: Page closed]
00:28:40  *** DDR [~chatzilla@d154-5-157-16.bchsia.telus.net] has quit [Ping timeout: 480 seconds]
00:30:18  *** HerzogDeXtEr1 [~Flex@i59F6BDC7.versanet.de] has joined #openttd
00:33:49  *** HerzogDeXtEr [~Flex@89.246.174.11] has quit [Read error: Operation timed out]
00:34:23  *** DDR [~chatzilla@d154-5-157-16.bchsia.telus.net] has joined #openttd
00:50:08  *** pugi [~pugi@host-091-097-010-209.ewe-ip-backbone.de] has quit []
00:52:36  *** DDR [~chatzilla@d154-5-157-16.bchsia.telus.net] has quit [Ping timeout: 480 seconds]
01:16:22  *** Progman_ [~progman@p57A1B494.dip0.t-ipconnect.de] has joined #openttd
01:23:48  *** Progman [~progman@p57A1B17D.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds]
01:23:59  *** Progman_ is now known as Progman
01:41:59  *** _aD [quadra@0001362b.user.oftc.net] has quit [Ping timeout: 480 seconds]
01:42:54  *** Progman [~progman@p57A1B494.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
02:10:56  *** cyph3r [~Miranda@ip-213-220-193-253.net.upcbroadband.cz] has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
02:38:42  *** HellTiger [~HellTiger@43-54.61-188.cust.bluewin.ch] has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
02:47:54  *** Biolunar_ [~mahdi@blfd-5d823649.pool.mediaWays.net] has joined #openttd
02:51:17  *** glx [glx@000128ec.user.oftc.net] has quit [Quit: Bye !]
02:53:10  *** Biolunar__ [~mahdi@blfd-4db0f853.pool.mediaWays.net] has quit [Read error: Operation timed out]
03:06:56  *** HerzogDeXtEr1 [~Flex@i59F6BDC7.versanet.de] has quit [Read error: Connection reset by peer]
03:25:16  *** DDR [~chatzilla@d108-180-70-43.bchsia.telus.net] has joined #openttd
03:40:37  *** DarkAceZ [~BillyMays@50.107.54.92] has quit [Read error: Operation timed out]
03:46:23  *** DarkAceZ [~BillyMays@50.107.54.92] has joined #openttd
04:29:28  *** user54367644 [~user@1.244.108.19] has joined #openttd
04:49:18  *** user54367644 [~user@1.244.108.19] has quit [Quit: user54367644]
04:56:02  *** Eddi|zuHause [~johekr@p57BD581E.dip0.t-ipconnect.de] has quit []
05:46:34  *** JdGordon| [~jonno@CPE-124-179-27-16.lns6.ken.bigpond.net.au] has quit [Ping timeout: 480 seconds]
06:07:38  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
06:09:19  *** KouDy [~KouDy@188.75.190.58] has quit []
06:10:58  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
06:18:21  *** KouDy [~KouDy@188.75.190.58] has quit [Quit: Leaving.]
06:20:20  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
06:38:12  *** valhallasw [~valhallas@ip4daa59e3.direct-adsl.nl] has joined #openttd
07:00:42  *** _aD [quadra@81.2.77.131] has joined #openttd
07:01:13  *** _aD is now known as Guest6658
07:06:59  *** Eddi|zuHause [~johekr@p57BD5B43.dip0.t-ipconnect.de] has joined #openttd
07:08:56  *** Devroush [~dennis@dD5765BAC.access.telenet.be] has joined #openttd
07:16:54  *** Pensacola [~quassel@h220216.upc-h.chello.nl] has joined #openttd
07:23:07  *** Alberth [~hat3@a82-95-164-127.adsl.xs4all.nl] has joined #openttd
07:23:11  *** mode/#openttd [+o Alberth] by ChanServ
07:28:12  <Terkhen> good morning
07:35:01  <Alberth> morning Terkhen
07:37:40  *** KouDy [~KouDy@188.75.190.58] has quit [Remote host closed the connection]
07:39:33  <Rubidium> moin
07:39:41  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
07:44:04  *** DDR [~chatzilla@d108-180-70-43.bchsia.telus.net] has quit [Quit: DDR is not Dance Dance Revolution.]
07:52:46  *** chester_ [~chester@128-68-180-36.broadband.corbina.ru] has joined #openttd
08:01:33  *** Pensacola [~quassel@h220216.upc-h.chello.nl] has quit [Remote host closed the connection]
08:18:12  *** sla_ro|master [~sla.ro@89.137.75.224] has joined #openttd
08:31:46  *** pugi [~pugi@host-091-097-184-013.ewe-ip-backbone.de] has joined #openttd
08:35:43  *** Elukka [~Elukka@a91-152-213-89.elisa-laajakaista.fi] has joined #openttd
08:35:46  *** Wolf01 [~wolf01@95.233.3.31] has joined #openttd
08:35:50  <Wolf01> moin
08:46:31  <Alberth> moin
08:46:46  *** KouDy [~KouDy@188.75.190.58] has quit [Remote host closed the connection]
08:57:19  *** Progman [~progman@p57A1B494.dip0.t-ipconnect.de] has joined #openttd
08:58:59  *** oskari89 [oskari89@62-241-226-106.bb.dnainternet.fi] has joined #openttd
08:59:30  *** KouDy [~KouDy@188.75.190.58] has joined #openttd
08:59:33  *** JVassie [JVassie@2.27.99.135] has joined #openttd
08:59:40  <JVassie> aloha
08:59:51  <JVassie> apparently OFTC has banned mibbit
09:02:28  <JVassie> anyone around to answer a (hopefully) simple question about minGW setup on win 7 pls?
09:02:59  <JVassie> my windows user name originally had no spaces in it
09:03:18  <JVassie> however upon getting a new pc, i forgot all about mingw and created the user accoutn with a space
09:03:35  <JVassie> this seems to cause some issues with installing libraries etc for mingw
09:04:03  <JVassie> i have tried renaming my windows account and restarting, however reinstalling mingw still creates a home directory with a space in it
09:06:10  <Rubidium> JVassie: is that home directory in your "my documents"? Then changing "my documents"' path might work
09:06:30  <Alberth> do you have a link to some oftc message about it?
09:06:33  <JVassie> C:/MinGW/msys/1.0/home
09:06:45  <JVassie> is where the home directory is created
09:07:28  <JVassie> Alberth, i tried twice to connect to oftc using chat applet on forums, and then twice again from mibbits website, both gave a message about being banned, 1 sec ill grab it
09:07:49  <JVassie> irc.oftc.net: Closing Link: ircip2.mibbit.com (Banned)
09:07:53  <JVassie> for example
09:08:02  <JVassie> irc.oftc.net: Closing Link: ircip3.mibbit.com (Banned)
09:08:03  <JVassie> etc
09:10:23  <JVassie> I would have thought changing username and restarting would fix it
09:10:26  <JVassie> but apprently not :(
09:11:54  <Alberth> my guess is that you have a username configured in mingw at install time
09:12:00  <Alberth> can you add another user?
09:12:13  <Alberth> (in mingw)
09:12:22  <JVassie> err, not sure how, can try to i guess
09:12:31  <Alberth> usually with an 'adduser' command
09:12:37  <JVassie> http://sourceforge.net/projects/mingw/files/Installer/mingw-get-inst/mingw-get-inst-20120426/
09:12:41  <Alberth> or 'useradd' :)
09:12:43  <JVassie> ive been starting from that 'each' time
09:13:49  <Alberth> I don't know much about mingw; I run Linux natively
09:14:51  <JVassie> hmm
09:15:05  <JVassie> think it best to create a new windows account
09:15:16  <JVassie> i notice it hasnt renamed my 'users' folder for example
09:15:27  <Alberth> given that oftc has no official news item about it, my guess is that they are fighting a spam attack
09:16:20  <JVassie> will brb
09:16:24  <Alberth> :)
09:16:25  *** JVassie [JVassie@2.27.99.135] has quit []
09:18:15  *** roadt [~roadt@60.168.90.245] has joined #openttd
09:23:28  *** JVassie [JVassie@2.27.99.135] has joined #openttd
09:23:50  *** valhallasw [~valhallas@ip4daa59e3.direct-adsl.nl] has quit [Read error: Connection reset by peer]
09:23:55  <JVassie> new windows user account
09:24:01  <JVassie> lets hope that solves it :)
09:25:25  <Alberth> just install Linux ;p
09:25:43  <JVassie> a trial for another day i think
09:25:54  <JVassie> having linux on a seperate partition would be nice i guess
09:27:54  <JVassie> woo
09:28:03  <JVassie> i have a home directory with no spaces!
09:29:36  *** valhallasw [~valhallas@ip4daa59e3.direct-adsl.nl] has joined #openttd
09:37:21  *** Guest6658 is now known as _aD
09:37:39  <TinoDidriksen> No need for separate partitions; just use VirtualBox.
09:38:17  <_aD> that's a nasty bug in mingw
09:38:20  <JVassie> i shall investigate
09:39:31  <TinoDidriksen> _aD, not just MinGW. Very few build systems handle paths with spaces in them.
09:39:38  *** frosch123 [~frosch@frnk-590ffca7.pool.mediaWays.net] has joined #openttd
09:40:00  <_aD> Sounds like that part of computing is stuck in 1985
09:40:51  <_aD> much like my attempts to play OpenTTD
09:40:59  <TinoDidriksen> It's not trivial to handle spaces everywhere. Correct escaping and quoting can get really messy.
09:41:08  <_aD> I learn something or improve a method and start again...
10:03:28  *** JVassie [JVassie@2.27.99.135] has quit []
10:13:23  <Alberth> _aD: the most important point is to have fun playing the game
10:20:18  <_aD> and I'm certainly doing that
10:26:20  *** FLHerne [~quassel@dsl-217-155-24-22.zen.co.uk] has joined #openttd
10:46:28  *** KritiK [~Maxim@0001264a.user.oftc.net] has joined #openttd
11:13:53  *** roadt [~roadt@60.168.90.245] has quit [Ping timeout: 480 seconds]
11:23:46  *** roadt [~roadt@114.96.142.39] has joined #openttd
11:32:00  *** gelignite [~gelignite@i528C31A0.versanet.de] has joined #openttd
11:33:33  *** Supercheese [~Password4@76.178.163.204] has quit [Read error: Connection reset by peer]
11:34:02  *** Supercheese [~Password4@76.178.163.204] has joined #openttd
11:41:32  *** ntoskrnl [~not@a91-153-231-146.elisa-laajakaista.fi] has joined #openttd
11:41:32  *** LunaVorax [~LunaVorax@ABordeaux-651-1-226-186.w83-193.abo.wanadoo.fr] has quit [Read error: Connection reset by peer]
12:04:14  *** Ristovski [~rafael@78.157.7.34] has joined #openttd
12:16:06  *** glx [glx@000128ec.user.oftc.net] has joined #openttd
12:16:09  *** mode/#openttd [+v glx] by ChanServ
12:36:36  *** HellTiger [~HellTiger@43-54.61-188.cust.bluewin.ch] has joined #openttd
13:12:02  *** Chrill [~chrischri@c83-253-84-230.bredband.comhem.se] has joined #openttd
13:25:51  *** FLHerne [~quassel@dsl-217-155-24-22.zen.co.uk] has quit [Ping timeout: 480 seconds]
13:32:55  *** FLHerne [~quassel@dsl-217-155-24-22.zen.co.uk] has joined #openttd
13:38:43  *** valhallasw [~valhallas@ip4daa59e3.direct-adsl.nl] has quit [Read error: Operation timed out]
13:39:42  *** valhallasw [~valhallas@ip4daa59e3.direct-adsl.nl] has joined #openttd
14:03:26  *** HerzogDeXtEr [~Flex@i59F6BDC7.versanet.de] has joined #openttd
14:13:08  *** Chrill [~chrischri@c83-253-84-230.bredband.comhem.se] has quit [Ping timeout: 480 seconds]
14:13:23  *** lugo [lugo@000189e6.user.oftc.net] has quit [Remote host closed the connection]
14:26:17  *** Eddi|zuHause [~johekr@p57BD5B43.dip0.t-ipconnect.de] has quit []
14:27:23  *** valhallasw [~valhallas@ip4daa59e3.direct-adsl.nl] has quit [Ping timeout: 480 seconds]
14:29:52  *** lugo [lugo@apple.bnc4free.com] has joined #openttd
15:19:33  *** Alice3 [~Alice@cpc18-grim14-2-0-cust478.12-3.cable.virginmedia.com] has joined #openttd
15:24:06  *** TrueBrain [~truebrain@ip82-139-82-247.lijbrandt.net] has quit [Quit: reboot]
15:33:12  *** valhallasw [~valhallas@88.128.80.6] has joined #openttd
15:33:26  *** TrueBrain [~truebrain@ip82-139-82-247.lijbrandt.net] has joined #openttd
15:50:58  *** Zuu [~Zuu@h-114-141.a98.priv.bahnhof.se] has joined #openttd
16:07:03  *** valhallasw [~valhallas@88.128.80.6] has quit [Ping timeout: 480 seconds]
16:16:17  *** valhallasw [~valhallas@5070A0D5.static.ziggozakelijk.nl] has joined #openttd
16:26:20  *** mode/#openttd [-b *!~oftc-webi@242.59.37.188.rev.vodafone.pt] by DorpsGek
16:28:56  *** ntoskrnl [~not@a91-153-231-146.elisa-laajakaista.fi] has quit [Ping timeout: 480 seconds]
16:36:44  *** scshunt [~scshunt@00017de0.user.oftc.net] has joined #openttd
16:43:28  *** FLHerne [~quassel@dsl-217-155-24-22.zen.co.uk] has quit [Ping timeout: 480 seconds]
16:43:46  *** Xaroth [~Xaroth@00017153.user.oftc.net] has joined #openttd
16:45:19  *** Xaroth_ [~Xaroth@254-058-128-083.dynamic.caiway.nl] has quit [Ping timeout: 480 seconds]
17:19:25  *** valhallasw [~valhallas@5070A0D5.static.ziggozakelijk.nl] has quit [Remote host closed the connection]
17:26:47  *** FLHerne [~quassel@dsl-217-155-24-22.zen.co.uk] has joined #openttd
17:44:01  *** valhallasw [~valhallas@5070A0D5.static.ziggozakelijk.nl] has joined #openttd
17:45:17  <DorpsGek> Commit by translators :: r25286 trunk/src/lang/gaelic.txt (2013-05-26 17:45:10 UTC)
17:45:18  <DorpsGek> -Update from WebTranslator v3.0:
17:45:19  <DorpsGek> gaelic - 46 changes by GunChleoc
17:46:52  <Zuu> As it is quiet here, to replace my system SSD disk with a larger one, is using dd from a Linux live CD enough, or is there a reson to go with something else? (the system SSD is used by Windows which IIRC just uses one big partion that spanns the whole disk)
17:50:35  <Alberth> dd would also set partition sizes, and/or disk sizes, wouldn't it?
17:51:12  <Alberth> in particular, to the old values
17:51:45  <Zuu> Hmm, yes, so I would need to extend the partion afterwards using GParted, so as it seems to be able to copy partions, I should maybe try with that first. And of course think twice before wiping my system disk. :-)
17:52:23  <Alberth> I do that every 6 months  while switching to the next Fedora Release :)
17:53:06  <Zuu> Well, with Linux it is easy as there is no mechanism trying to stop you from copy it. With windows some DRM may try to kick you for upgrading your PC.
17:53:37  <Alberth> yes, commercial software is soooo nice to use ;p
17:56:47  <Zuu> I could of course mount eg C:\Users on the new disk or so, but its easiest to have the largest one for generic stuff and have as few specialized partions as possible.
17:57:39  <Alberth> I do have a /home partition so I don't need to copy my user data each time
18:01:06  <Mazur> SAme with /usr/local
18:03:34  <Alberth> Good point, although in my case, I have no custom system-wide installed software
18:09:14  <Mazur> I put all the stuff I use frmo outside the depositories there.
18:09:28  <Mazur> Like openttd.
18:09:35  <Alberth> :)
18:09:37  <Mazur> Several versions, in fact.
18:09:49  <Mazur> nightly and testing.
18:09:55  <Alberth> I only have stuff in repositories :)
18:10:49  <Mazur> Most of the stuff I used to have to put there, like xv, elm, and other thingies, have by now been included, to hte need is lesser.
18:11:21  <Alberth> yeah, standard package managers are very complete nowadays
18:11:30  <Mazur> There's no subsitute for elm in working on a sequential mail file.
18:12:13  <Alberth> that is a text-oriented client, isn't it?
18:12:38  <Alberth> I have been using pine for a long time, which is also text-based and simple and fast
18:13:30  <Alberth> but it failed at some point, and I use thunderbird since then
18:14:03  <Zuu> Possible at HTML based emails? :-)
18:14:27  <Alberth> html based emails are broken by concept :p
18:15:19  <Alberth> in particular when the software creating them does not follow the RFC for it, and only generate the html version, instead of both html and a text version
18:15:29  <Zuu> Well, it is half broken as most things don't work in Outlook as in web browsers. However, it is quite useful to highlight parts of your email with a colour etc.
18:17:16  <Zuu> Eg, if you ever tried to craft a HTML email by hand to be received by Outlook receivers, you'll feel some pain. :-)
18:18:32  <Alberth> I only write plain text stuff, eg .rst files
18:20:13  <Mazur> Alberth, I used to use elm to find and fix broken headers in plain mail files.
18:35:50  *** Chrill [~chrischri@c83-253-84-230.bredband.comhem.se] has joined #openttd
18:45:30  *** DarkAce-Z [~BillyMays@50.107.54.92] has joined #openttd
18:46:22  *** DarkAceZ [~BillyMays@50.107.54.92] has quit [Read error: Operation timed out]
19:10:44  <_aD> I've had plenty of multi-part emails with a text/plain part and nothing in it
19:10:54  <_aD> the heretics!
19:23:48  <DorpsGek> Commit by frosch :: r25287 /trunk/src (61 files in 5 dirs) (2013-05-26 19:23:42 UTC)
19:23:49  <DorpsGek> -Codechange: Keep a reference to the WindowDesc in the Window after construction.
19:24:17  <DorpsGek> Commit by frosch :: r25288 /trunk/src (window.cpp window_gui.h) (2013-05-26 19:24:11 UTC)
19:24:18  <DorpsGek> -Codechange: No need to copy the WindowDesc flags if the WindowDesc is directly accessible.
19:24:43  <DorpsGek> Commit by frosch :: r25289 /trunk/src (5 files) (2013-05-26 19:24:37 UTC)
19:24:44  <DorpsGek> -Codechange: Store width of statusbar and main toolbar directly in the WindowDesc.
19:25:07  <DorpsGek> Commit by frosch :: r25290 /trunk/src (56 files in 5 dirs) (2013-05-26 19:25:01 UTC)
19:25:08  <DorpsGek> -Add: Assign string names to notable windows.
19:27:28  <DorpsGek> Commit by frosch :: r25291 /trunk (11 files in 3 dirs) (2013-05-26 19:27:22 UTC)
19:27:29  <DorpsGek> -Add: WindowDesc ability to load and store information in a config file.
19:27:50  <DorpsGek> Commit by frosch :: r25292 /trunk/src (3 files in 2 dirs) (2013-05-26 19:27:44 UTC)
19:27:51  <DorpsGek> -Feature: Save stickyness of windows when Ctrl+Clicking the sticky button.
19:29:48  <DorpsGek> Commit by frosch :: r25293 /trunk (7 files in 3 dirs) (2013-05-26 19:29:43 UTC)
19:29:49  <DorpsGek> -Add: GUI sprite for default window size button.
19:30:13  <DorpsGek> Commit by frosch :: r25294 /trunk/src (34 files in 4 dirs) (2013-05-26 19:30:07 UTC)
19:30:14  <DorpsGek> -Feature: Add another button to window title bars to resize the window to its default size.
19:30:38  <DorpsGek> Commit by frosch :: r25295 /trunk/src (3 files in 2 dirs) (2013-05-26 19:30:31 UTC)
19:30:39  <DorpsGek> -Feature: Allow saving window sizes as default sizes.
19:32:59  <Supercheese> Ooooh, I hope that feature is what I think it is
19:34:14  <Rubidium> available in your stable openttd in like a year ;)
19:34:21  <Supercheese> Haha, stable
19:34:26  <Supercheese> I haven't run stables in years
19:34:46  <Supercheese> But anyway, \o/
19:34:47  <frosch123> well, not sure whether it will ever hit chillpp
19:36:56  *** Chrill [~chrischri@c83-253-84-230.bredband.comhem.se] has quit [Ping timeout: 480 seconds]
19:37:04  <Supercheese> I also haven't used that in years :P
19:37:06  <V453000> which thing? :)
19:39:41  <Supercheese> I just received a request; I'm wondering if I should just do as requested or if there would be a better solution: http://www.tt-forums.net/viewtopic.php?f=26&t=56780&p=1079027#p1079027
19:41:12  <Alberth> how would setting the price solve that?
19:41:32  <Supercheese> It seems to be related to TownCars AI parameters: http://www.tt-forums.net/viewtopic.php?f=65&t=42393#p773540
19:41:38  <Supercheese> "Only build zero price RVs" and such
19:42:38  <Supercheese> It might be better to instead set zero capacity, or something
19:42:56  <V453000> randomize cargo capacity?
19:42:57  <V453000> :>
19:43:03  <Supercheese> -_-
19:43:13  <Alberth> still, if you change the newgrf property, it changes for all players, wouldn't it?
19:43:13  <V453000>  /nutjobs are silent
19:43:35  <Alberth> V453000: thanks for the merger link
19:43:37  <Supercheese> The AI parameters are set on a per-AI basis, no?
19:43:55  <V453000> you are welcome :P writing that page took a while so might as well use it :)
19:44:03  <Supercheese> I think he wants one AI to have different parameters such that it builds emergency vehicles, whereas others don't
19:44:36  <Alberth> that would seem to be his intention, I agree :)
19:45:17  <Alberth> wouldn't it be easier to change the AI itself?
19:45:40  <Supercheese> Not for me, as I am not the AI author :P
19:45:51  <Alberth> no idea what you can query about a vehicle though :(
19:45:52  <Supercheese> But yeah, that would allow for more elegant solutions
19:46:43  <Alberth> V453000: I bookmarked it, so when I have a tricky merge thingie, I'll have a closer look :)
19:47:25  <V453000> obviously it does include the complicated ones, but it explains the very most basic logic too
19:47:27  <Supercheese> Oh $%&#, I readied an update to Eyecandy RVs a while ago and forgot to post it
19:47:36  <Supercheese> whoops
19:48:33  <Alberth> my concept of 'complicated' is not very related to your concept of 'complicated' :p
19:48:44  <Supercheese> Well at least now I can try to fill that request
19:48:54  <Alberth> Supercheese:  :)
19:49:06  <Zuu> Supercheese: If you want to change something about TownCars AI, you can ask me. If you want to change StreetTraffic, you need to find the author af that fork.
19:49:29  <Supercheese> I'm still not sure what the best solution path is
19:50:00  <V453000> of course Alberth, that is why I mention the basic logic :) because that is what helps
19:50:48  <Alberth> at least it helps to understand the remainder of the page :p
19:51:13  <V453000> well that too :)
19:51:24  <Supercheese> The suggestion of increasing purchase cost to  would allow parameters to select AIs to: build Cars only, build Cars+EVs, but there'd be no way to specify building EVs only
19:51:40  *** flaa [~flaa@89.100.79.103] has joined #openttd
19:51:47  <Alberth> Supercheese: imho, changing the AI would be the clean solution, but I don't know whether you can express in the AI code what you want
19:52:29  <Supercheese> A paramter to reduce capacities to zero has similar problems
19:52:32  <Supercheese> parameter*
19:53:20  <Alberth> yeah, solving it in newgrf is the wrong solution
19:53:58  *** cyph3r [~Miranda@ip-213-220-193-253.net.upcbroadband.cz] has joined #openttd
19:54:17  <Supercheese> Hmmm :S
19:54:48  <DorpsGek> Commit by zuu :: r25296 /trunk/src (15 files in 6 dirs) (2013-05-26 19:54:43 UTC)
19:54:49  <DorpsGek> -Feature: Goals can now have a progress text and/or be marked as completed.
19:57:47  <Alberth> Supercheese: if you want to stick with costs to select cars, I would think an AI can query the price, and compare with any value
19:58:31  <Alberth> so give each group a unique price, and let the AI author handle the selection?
19:59:07  <Supercheese> That seems so... hard-coded and non-generic :S
19:59:14  <Supercheese> unflexible
20:00:16  <Alberth> it's not less flexible than currently :p     but yeah, there is ample room for further improvement :p
20:01:58  <frosch123> feature day :)
20:04:24  <Alberth> :)
20:07:01  <Alberth> Supercheese: then perhaps feed the AI with a list of vehicle names? http://noai.openttd.org/api/trunk/classAIEngine.html  suggests you can query it
20:10:44  <Alberth> good night
20:10:54  <Supercheese> 'night
20:11:49  *** Alberth [~hat3@a82-95-164-127.adsl.xs4all.nl] has left #openttd []
20:17:13  <DorpsGek> Commit by frosch :: r25297 trunk/src/window.cpp (2013-05-26 20:17:07 UTC)
20:17:14  <DorpsGek> -Fix (r25291): 32bit compilation.
20:18:13  *** KouDy [~KouDy@188.75.190.58] has quit [Remote host closed the connection]
20:23:12  <__ln__> i really liked all the references to the past in the new star trek.
20:24:04  <frosch123> yeah, proper version control
20:32:44  *** Chrill [~chrischri@c83-253-84-230.bredband.comhem.se] has joined #openttd
20:32:53  *** Chrill` [~chrischri@c83-253-84-230.bredband.comhem.se] has joined #openttd
20:32:58  *** Chrill` [~chrischri@c83-253-84-230.bredband.comhem.se] has quit []
20:36:40  *** HerzogDeXtEr [~Flex@i59F6BDC7.versanet.de] has quit [Read error: Connection reset by peer]
20:41:12  <__ln__> also the less obvious ones, like the blonde girl
20:46:52  *** Chrill [~chrischri@c83-253-84-230.bredband.comhem.se] has quit []
20:56:41  <Zuu> Hmm, if a script calls a DoCommand in world gen (in exec mode), it will return the same value as calling the method in TestMode,
20:58:54  *** Ristovski [~rafael@78.157.7.34] has quit [Quit: Leaving]
21:00:40  <Zuu> The issue is that the way return values are returned from C++ functions back to Squirrel is based upon that the script get suspended by throwing a specific class. If said class is not throw, test mode behaviour is implied.
21:05:44  *** SpComb^_ [terom@zapotek.paivola.fi] has joined #openttd
21:06:38  <Zuu> hmm, solving this is quite complicated so I make a ticket of it.
21:06:48  *** SpComb [terom@zapotek.paivola.fi] has quit [Read error: Connection reset by peer]
21:07:10  *** valhallasw [~valhallas@5070A0D5.static.ziggozakelijk.nl] has quit [Ping timeout: 480 seconds]
21:10:11  <Wolf01> 'night
21:10:16  *** Wolf01 [~wolf01@0001288e.user.oftc.net] has quit [Quit: Once again the world is quick to bury me.]
21:15:36  *** DarkAce-Z is now known as DarkAceZ
21:16:31  <__ln__> well spotted
21:24:08  <Zuu> I noticed it when trying to speed up my script that creates 5000 goals.
21:24:49  <frosch123> wasn't the command execution on game start broken anyway?
21:25:01  <Zuu> That script also set the progress status which for some strange reason only worked for the first goal. (later I now know, that is because GSGoal::New always returns 0 in world gen.
21:25:20  <frosch123> i.e. the first sleep resp. command execution would start the game
21:25:39  <Zuu> First sleep starts the game. That is by design.
21:25:50  <frosch123> yeah, but first command also does
21:25:52  <Zuu> First do command do not start the game.
21:25:53  <frosch123> afaik
21:26:11  <frosch123> don't commands imply a sleep?
21:26:32  <Zuu> At least the world gen dialog is still showing and progressing (quite slowly as I use a debug build)
21:26:46  <frosch123> ok, maybe it was fixed :)
21:27:37  <Zuu> One easy way to fix the above bug is to re-introduce the bug that the game starts when you issue a DoCommand. :-)
21:28:01  <frosch123> :p
21:28:01  <Zuu> That is probably just a one-liner.
21:28:25  <Zuu> Fixing it without doing that is quite a bit harder as it introduce a third return path from the method.
21:30:23  <Zuu> Eg. override the return value by the API method (and use the value pushed to the stack using the callback), but don't suspend the script. I could possible hack something togeather by introducing a new class that is thrown in world gen and catch it at some apporite place without throwing it up further.
21:31:07  <Zuu> However, it is also nice if that catch location is not an internal part of Squirrel.
21:31:42  <frosch123> well, maybe the command could be issued differently
21:31:56  *** Eddi|zuHause [~johekr@p57BD5B43.dip0.t-ipconnect.de] has joined #openttd
21:32:00  <frosch123> during world gen it does not necessarily have to suspend the script
21:32:18  <frosch123> the command does not need sending over netowrk, but could be executed directly
21:33:33  *** roadt [~roadt@114.96.142.39] has quit [Ping timeout: 480 seconds]
21:36:15  <Zuu> All APIs that call a DoCommand are currently implemented so that they don't return the return value from the Squirrel DoCommand helper method. That helper only returns if the command succeded or not. The return value to the squirrel script is pushed into the stack and then the script is suspended by throwing an exception. Thus, a fix that involves returning the return value back to the API method means changing a lot of API methods.
21:37:20  <APTX> does that mean exceptions do standard behaviour?
21:37:38  <Zuu> yes
21:37:43  <APTX> funny
21:38:12  *** Dr_Tan [~nat@00179a279bbd.click-network.com] has joined #openttd
21:39:02  <Zuu> Dig into src/script/api/script_object.cpp:301 if you want to see it.
21:39:50  <frosch123> night
21:39:54  *** frosch123 [~frosch@frnk-590ffca7.pool.mediaWays.net] has quit [Remote host closed the connection]
21:40:02  <Zuu> Here is the call from one API method: http://paste.openttdcoop.org/show/2295/
21:44:01  *** sla_ro|master [~sla.ro@89.137.75.224] has quit []
21:44:58  *** Nat_aS [~nat@00179a279bbd.click-network.com] has quit [Ping timeout: 480 seconds]
21:48:54  <Terkhen> good night
21:54:05  *** Progman [~progman@p57A1B494.dip0.t-ipconnect.de] has quit [Remote host closed the connection]
21:59:38  *** HellTiger_ [~HellTiger@43-54.61-188.cust.bluewin.ch] has joined #openttd
22:06:08  *** HellTiger [~HellTiger@43-54.61-188.cust.bluewin.ch] has quit [Ping timeout: 480 seconds]
22:06:41  *** Elukka [~Elukka@a91-152-213-89.elisa-laajakaista.fi] has quit []
22:08:32  *** tokai|mdlx [~tokai@port-92-195-22-137.dynamic.qsc.de] has joined #openttd
22:09:22  *** oskari89 [oskari89@62-241-226-106.bb.dnainternet.fi] has quit []
22:12:28  *** guru3 [~guru3@000128ea.user.oftc.net] has quit [Ping timeout: 480 seconds]
22:12:47  *** guru3 [~guru3@000128ea.user.oftc.net] has joined #openttd
22:14:31  *** tokai|noir [~tokai@00012860.user.oftc.net] has quit [Ping timeout: 480 seconds]
22:23:45  *** flaa [~flaa@89.100.79.103] has quit [Quit: leaving]
22:26:55  *** kais58_ [~kais58@cpc2-cwma8-2-0-cust293.7-3.cable.virginmedia.com] has joined #openttd
22:28:38  *** kais58 [~kais58@cpc2-cwma8-2-0-cust293.7-3.cable.virginmedia.com] has quit [Ping timeout: 480 seconds]
22:37:11  *** kais58_ is now known as kais58|AFK
22:37:13  *** guru3 [~guru3@000128ea.user.oftc.net] has quit [Ping timeout: 480 seconds]
22:37:17  *** guru3_ [~guru3@90-224-111-173-no225.tbcn.telia.com] has joined #openttd
22:44:02  *** Alice3 [~Alice@cpc18-grim14-2-0-cust478.12-3.cable.virginmedia.com] has quit []
22:53:38  *** guru3_ [~guru3@90-224-111-173-no225.tbcn.telia.com] has quit [Read error: Connection reset by peer]
22:57:52  *** Devroush [~dennis@dD5765BAC.access.telenet.be] has quit []
22:57:54  *** guru3 [~guru3@000128ea.user.oftc.net] has joined #openttd
23:00:32  *** FLHerne [~quassel@dsl-217-155-24-22.zen.co.uk] has quit [Remote host closed the connection]
23:04:47  *** Zuu [~Zuu@h-114-141.a98.priv.bahnhof.se] has quit [Ping timeout: 480 seconds]
23:09:38  *** KritiK [~Maxim@0001264a.user.oftc.net] has quit [Quit: Leaving]
23:22:17  *** chester_ [~chester@128-68-180-36.broadband.corbina.ru] has quit [Quit: Leaving.]

Powered by YARRSTE version: svn-trunk