Log for #openttd on 26th December 2010:
Times are UTC Toggle Colours
00:02:20  *** Kurimus [] has quit [Ping timeout: 480 seconds]
00:02:50  *** Kurimus [] has joined #openttd
00:03:56  <ccfreak2k> Eddi|zuHause, a bit late but:
00:03:57  <ccfreak2k> <AforAnonymous> "sich erschrecken" is actually not really correct but commonly used, it should be expanded  to "sich selbst erschrecken" or "sich selbst erschrocken haben", depending on tense
00:05:43  <ccfreak2k> <AforAnonymous> normally you say "Ich habe mich erschrocken"
00:05:44  <ccfreak2k> <AforAnonymous> to describe that you got frightened/shocked for a moment
00:06:30  <ccfreak2k> <AforAnonymous> well
00:06:30  <ccfreak2k> <AforAnonymous> actually
00:06:30  <ccfreak2k> <AforAnonymous> that's also not quite correct
00:08:57  *** `Fuco` [~dota.keys@] has quit [Read error: Connection reset by peer]
00:09:23  *** Fuco [~dota.keys@] has joined #openttd
00:11:10  <Eddi|zuHause> ccfreak2k: that may all be true, but it has nothing to do with the question.
00:11:36  <ccfreak2k> Yeah he realized that.
00:12:17  *** xand [] has quit [Remote host closed the connection]
00:12:20  *** xand [] has joined #openttd
00:12:57  *** dfox [] has quit [Ping timeout: 480 seconds]
00:19:48  *** Chillosophy [] has quit []
00:19:54  *** roboboy [] has joined #openttd
00:33:18  *** roboboy [] has quit [Ping timeout: 480 seconds]
00:36:24  *** Devroush [] has quit []
00:41:28  *** Markavian [] has quit [Ping timeout: 480 seconds]
00:43:56  *** Markavian [] has joined #openttd
00:51:42  *** KouDy [~KouDy@] has joined #openttd
00:57:02  *** Progman [] has quit [Remote host closed the connection]
00:57:08  *** KritiK [] has quit [Quit: Leaving]
00:59:59  *** bryjen [] has quit [Quit: Leaving]
01:02:52  *** KouDy1 [~KouDy@] has joined #openttd
01:05:17  *** pugi [] has quit [Quit: I reject your reality and substitute my own]
01:06:28  *** KouDy1 [~KouDy@] has quit [Read error: Connection reset by peer]
01:08:44  *** KouDy1 [~KouDy@] has joined #openttd
01:09:13  *** KouDy [~KouDy@] has quit [Ping timeout: 480 seconds]
01:09:51  *** retro [] has joined #openttd
01:13:14  *** jpx_ [] has quit [Ping timeout: 480 seconds]
01:13:43  *** roboboy [] has joined #openttd
01:16:30  *** retro [] has left #openttd []
01:21:56  <Wolf01> 'night
01:22:03  *** Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
01:23:22  *** Kurimus [] has quit []
01:25:58  *** KenjiE20 [~KenjiE20@] has quit [Quit: WeeChat 0.3.3]
01:31:32  *** KouDy1 [~KouDy@] has quit [Quit: Leaving.]
01:33:02  *** Eddi|zuHause2 [] has joined #openttd
01:33:03  *** Eddi|zuHause [] has quit [Remote host closed the connection]
01:39:50  *** retro [] has joined #openttd
01:44:40  *** Biolunar [] has quit [Remote host closed the connection]
01:47:55  *** retro [] has left #openttd []
02:06:17  *** Fuco [~dota.keys@] has quit [Ping timeout: 480 seconds]
02:10:01  *** clum [~clum@] has quit [Quit: Leaving]
02:24:25  *** JVassie_ [~James@] has quit [Ping timeout: 480 seconds]
02:40:16  *** roboboy [] has quit [Ping timeout: 480 seconds]
02:52:39  *** Eddi|zuHause3 [] has joined #openttd
02:56:21  *** Eddi|zuHause2 [] has quit [Ping timeout: 480 seconds]
02:57:46  *** Eddi|zuHause4 [] has joined #openttd
02:57:51  *** Eddi|zuHause3 [] has quit [Read error: Connection reset by peer]
03:11:46  *** Eddi|zuHause4 [] has quit [Remote host closed the connection]
03:12:13  *** Eddi|zuHause4 [] has joined #openttd
03:33:38  *** DJNekkid [] has joined #openttd
03:33:47  <DJNekkid> hi all, i know its very late, and xmas and all
03:35:14  <DJNekkid> but is it a known bug that new railtypes wont show up with the option "show building tools when no suitable vehicles are available" turned on?
03:40:00  *** Eddi|zuHause [] has joined #openttd
03:40:09  *** Eddi|zuHause4 [] has quit [Read error: Connection reset by peer]
03:48:58  *** a1270 [] has joined #openttd
04:09:02  *** Wizzleby [] has joined #openttd
04:10:53  *** glx_ [glx@2a01:e35:2f59:c7c0:e871:6436:dfed:2f80] has quit [Quit: bye]
04:15:42  *** Eddi|zuHause2 [] has joined #openttd
04:15:44  *** Eddi|zuHause [] has quit [Read error: Connection reset by peer]
04:52:42  *** kamnet [] has quit [Quit: ajax IRC Client]
05:42:41  *** Chris_D [] has joined #openttd
05:51:21  <Chris_D> When you start a new game, how much should one care about subsidies? I've noticed that subsidies are usually onlly for resources that are relativley close to each other but the general "Pro-Tip" from wikis and guids are that the longer the haul of cargo the more €€€ you get. This leavs me confused, why bother with subsidies then?
05:56:02  *** Eddi|zuHause2 [] has quit [Remote host closed the connection]
05:56:18  *** Eddi|zuHause2 [] has joined #openttd
06:24:28  *** nicfer [~nicfer@] has quit [Read error: Connection reset by peer]
06:44:42  *** theholyduck [] has quit [Read error: Connection reset by peer]
06:50:32  <ccfreak2k> Because you get more money than you would if they weren't subsidized.
06:53:00  <CIA-2> OpenTTD: rubidium * r21641 /trunk/src/gfx.cpp: -Fix (r21639): ofcourse MSVC wants to have something to warn about
06:57:05  *** Eddi|zuHause2 [] has quit [Remote host closed the connection]
06:57:32  *** Eddi|zuHause2 [] has joined #openttd
07:41:24  *** Eddi|zuHause2 [] has quit [Remote host closed the connection]
07:41:34  *** Eddi|zuHause2 [] has joined #openttd
08:38:55  *** Eddi|zuHause2 is now known as Eddi|zuHause
08:42:51  *** Alberth [] has joined #openttd
08:42:55  *** mode/#openttd [+o Alberth] by ChanServ
08:47:44  *** Kurimus [] has joined #openttd
08:48:33  <Terkhen> good morning
08:49:41  *** Markavian [] has quit [Ping timeout: 480 seconds]
08:58:03  *** Markavian [] has joined #openttd
08:59:24  *** IchGuckLive [] has joined #openttd
08:59:37  <IchGuckLive> Good morning to all of you
09:00:09  <IchGuckLive> Can i see the tile influence of a city , to build trees for better mood
09:01:30  <Alberth> tile influence?  what is that?
09:01:43  *** Tennel [] has joined #openttd
09:01:56  <IchGuckLive> tile's controled by the city goverment
09:03:02  <IchGuckLive> "xou cant build here city does not allow it " so there has to be a Border between the citys ,can i see this ?
09:03:09  *** Tennel [] has quit []
09:03:23  <Alberth> I was checking :)
09:03:23  <Eddi|zuHause> IchGuckLive: use the ? tool, it says "local authority: XYZ"
09:03:33  <CIA-2> OpenTTD: rubidium * r21642 /trunk/src/ (10 files in 2 dirs):
09:03:33  <CIA-2> OpenTTD: -Feature: concept of automatic station orders; add stub orders for intermediate
09:03:33  <CIA-2> OpenTTD: stations and remove them when not visiting them anymore. This allows you to see
09:03:33  <CIA-2> OpenTTD: what trains visit a station without actually having to order a vehicle to stop
09:03:33  <CIA-2> OpenTTD: at all stations. Based on patch by fonsinchen
09:04:02  *** Tennel [] has joined #openttd
09:04:21  <Eddi|zuHause> \o/
09:04:51  <IchGuckLive> thanks Eddi|zuHause
09:05:25  <IchGuckLive> this is nice feture so you can find trains that are wobbelingf around the map
09:05:37  <Rubidium> breaking fonsinchen's patch once more...
09:06:41  <IchGuckLive> is there a date when a new relese 1.0.6 is released  or eben 1.1.0
09:06:54  <IchGuckLive> offical ones
09:07:24  <IchGuckLive> with debian packeges -> ubuntu
09:08:21  <IchGuckLive> with all this automatics includet it even can be named to 2.0
09:09:18  <IchGuckLive> ok meal is ready got to go By till later
09:09:24  *** IchGuckLive [] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100423140709]]
09:26:29  <Alberth> oh noes, my bug got fixed!  :p
09:29:26  *** Markavian [] has quit [Ping timeout: 480 seconds]
09:31:41  *** Cybertinus [] has joined #openttd
09:34:58  *** Progman [] has joined #openttd
09:41:18  *** |Jeroen| [] has joined #openttd
09:49:04  *** Markavian [] has joined #openttd
09:49:58  <Zuu> Alberth: Yea, that's terrible :-)
09:53:46  *** snorre [] has joined #openttd
09:54:55  <Mazur> It's a bugslife/
09:55:01  <Mazur> It's a bugs life.
10:02:13  *** ctibor|spi [~quassel@] has joined #openttd
10:04:52  *** tokai|noir [] has joined #openttd
10:07:19  *** ctibor [~quassel@] has quit [Ping timeout: 480 seconds]
10:10:53  *** tokai|mdlx [] has quit [Ping timeout: 480 seconds]
10:28:42  *** JVassie_ [~James@] has joined #openttd
10:56:34  <SpComb> curiouser and curioser
11:03:29  *** Zuu [] has quit [Ping timeout: 480 seconds]
11:10:30  *** Fuco [~dota.keys@] has joined #openttd
11:14:58  *** fonsinchen [] has joined #openttd
11:20:18  *** Devroush [] has joined #openttd
11:22:00  <Rubidium> fonsinchen: <- MSVC 64 bits complains about that. I reckon that MapSize() returns a size_t (= long) and when casting that to uint (= int) that means that it's implicitly truncating (which is what MSVC warns about)
11:23:19  *** Brianett1 [] has quit [Quit: TschÌß]
11:24:27  <fonsinchen> I should probably cast it explicitly then. There can't be that many stations, so the number of destinations is limited.
11:25:35  *** jpx_ [] has joined #openttd
11:32:25  *** Chris_D [] has quit [Quit: ajax IRC Client]
11:32:26  *** ZirconiumX [] has joined #openttd
11:32:55  <ZirconiumX> Hello?
11:34:03  <Terkhen> hi
11:34:18  <ZirconiumX> hello Terkhen, how are you?
11:35:04  <Terkhen> fine, I guess
11:35:11  <Terkhen> you?
11:35:36  <ZirconiumX> Listening to tunes on my iPod Shuffle I got for christmas, but fine
11:38:35  *** KenjiE20 [~KenjiE20@] has joined #openttd
11:39:00  *** Tennel [] has quit [Quit: Verlassend]
11:39:01  <fonsinchen> oh, you've committed auto-orders. Nice
11:40:23  *** |Jeroen| [] has quit [Remote host closed the connection]
11:40:25  *** Fuco [~dota.keys@] has quit [Quit: Quit]
11:45:41  <ZirconiumX> What's everyone currently doing?
11:46:05  <ZirconiumX> Probably quite a lot
11:50:59  <KenjiE20> or as little as possible
11:51:47  <ZirconiumX> Heh, I'm just randomly browsing the forums, so I don't blame you...
11:54:42  <KenjiE20> new Doctor Who game installed
11:54:47  * KenjiE20 vanishes
11:54:50  <ZirconiumX> heh
11:58:57  *** frappa [] has joined #openttd
12:01:17  *** ZirconiumX [] has quit [Quit: ajax IRC Client]
12:01:35  <frappa> hi
12:01:53  *** DayDreamer [~DayDreame@] has joined #openttd
12:02:20  <frappa> I am having problems with OpenTTD. The game is hanging at autosave.
12:03:22  <frappa> I am using version 1.0.4 on a Mac.
12:03:43  *** Dreamxtreme [~Dre@] has quit [Quit: IRC is just multiplayer notepad]
12:06:57  <Alberth> 1.0.4 at a Mac? that sounds like a non-official build
12:08:11  <Alberth> perhaps you should try to re-create the problem on 1.1.0 beta1 (which does exists for Mac as official build)
12:08:37  <Alberth> also, hanging, how?
12:18:39  <frappa> CT-magazine was distributing this version
12:20:33  <frappa> Hanging: do you know the "beachball"on a Mac? It is turnung eternally.
12:21:11  <frappa> And in the menu-bar: application not responding
12:21:30  <Alberth> sure, but does it use CPU, does it do disk activity?
12:22:03  <Alberth> afaik we did not provide that binary, no idea where they got that program from
12:22:44  <frappa> No disk-activity
12:23:30  <frappa> You would adivize installing an other version?
12:24:13  * Rubidium advices to install the latest and greatest Mac OS X 10.3
12:24:20  <Alberth> I'd try 1.1.0 beta 1. It is the newest version, we take bug reports on it
12:24:31  <frappa> BTW - the problem only occurs when I am playing with downloaded AIs.
12:24:44  <Alberth> ah
12:24:56  <Rubidium> that one broken AI I presume :)
12:25:12  <Alberth> there are a few that have eat CPU time for breakfast
12:25:42  <frappa> I tried different ones, it happens with a lot of them
12:25:57  <frappa> Are there so many broken AIs?
12:26:33  <Rubidium> frappa: you're using RoadRunner AI I presume
12:26:48  <frappa> Yes indeed
12:26:49  <Alberth> AIs cost CPU time, so a lot, especially with bigger maps, and if you have several running
12:27:01  <Rubidium> Alberth: but AIs shouldn't hang OpenTTD completely
12:27:03  <frappa> and Ronje om de kerk
12:27:15  <frappa> rondje (sorry)
12:27:29  <Rubidium> except (as far as I am aware) RoadRunner AI in pre 1.1.0 OpenTTD
12:27:33  <Alberth> don't know how fast an Apple is, now very fast I bet
12:27:39  <Alberth> s/now/not/
12:27:45  <frappa> Maybe I never waited long enough?
12:28:06  <Rubidium> Alberth: no hardware is fast enough for an infinite loop
12:28:15  <frappa> but after 5 min or so - I decided to quit ;-)
12:30:14  <Alberth> Rubidium: true
12:30:59  <frappa> Then I will try without "RoadRunner" and if that does not help anstall the other version.
12:31:09  <frappa> THX for the help
12:31:40  <frappa> install
12:37:50  <fonsinchen> rondje does all kinds of evil things, too.
12:38:03  <fonsinchen> that's basically its design.
12:38:58  <fonsinchen> Even if it's not responsible for your problem I wouldn't play with it.
12:41:12  <frappa> IC
12:41:50  <frappa> Is there a list of "trustworthy" AIs?
12:44:21  <frappa> and can I get rid of an AI in a saved game?
12:45:17  <frappa> what really sucks is that my saved games ar unusuable because of the hanging.
12:45:21  *** andythenorth [] has joined #openttd
12:45:29  <andythenorth> morningz
12:45:34  <andythenorth> or afternoonz evens
12:47:00  *** frappa [] has quit [Quit: Bye for now!]
12:47:14  <andythenorth> did santa bring any ponies?
12:47:16  *** frappa [] has joined #openttd
12:49:46  <Alberth> lower the number of AIs, then use 'stop_ai <company number>'  iirc
12:50:14  *** frappa [] has quit []
12:50:30  *** frappa [] has joined #openttd
12:53:48  *** perk11 [~perk11@] has joined #openttd
12:55:35  <CIA-2> OpenTTD: rubidium * r21643 /trunk/src/vehicle.cpp: -Fix (r21642): crash when a train with no orders (or actually no order list) stops at a station
12:57:25  <Alberth> hmm, what use are fast train engines if the wagons are the limiting factor?
12:58:01  <Rubidium> they are of no or little use for those wagons
12:58:34  <Rubidium> which means that the engines are developped/meant for express stuff and not transporting cattle
13:03:34  <Alberth> ah, indeed. Removing the cargo restrictions gave mew a list of fast passenger/mail wagons.
13:04:06  *** frappa [] has quit [Quit: Bye for now!]
13:08:14  *** Yexo [] has joined #openttd
13:08:17  *** mode/#openttd [+o Yexo] by ChanServ
13:09:47  *** Biolunar [] has joined #openttd
13:18:45  *** DayDreamer [~DayDreame@] has quit [Read error: Connection reset by peer]
13:22:09  *** perk11 [~perk11@] has quit [Read error: Connection reset by peer]
13:22:49  *** KritiK [] has joined #openttd
13:23:23  *** perk11 [~perk11@] has joined #openttd
13:25:47  *** frappa [] has joined #openttd
13:25:47  <CIA-2> OpenTTD: rubidium * r21644 /trunk/src/ (order_base.h order_cmd.cpp vehicle_base.h vehicle_gui.cpp): -Change: keep showing "No orders" when the order list is filled with only automatic orders
13:28:57  *** perk111 [~perk11@] has joined #openttd
13:29:06  *** Adambean [] has joined #openttd
13:34:25  *** perk11 [~perk11@] has quit [Ping timeout: 480 seconds]
13:40:47  *** frappa [] has quit [Quit: Bye for now!]
13:51:13  *** glx [glx@2a01:e35:2f59:c7c0:6d:9df:1091:cc9a] has joined #openttd
13:51:16  *** mode/#openttd [+v glx] by ChanServ
13:54:43  *** frappa [] has joined #openttd
14:06:00  *** andythenorth [] has quit [Ping timeout: 480 seconds]
14:17:42  *** Dreamxtreme [~Dre@] has joined #openttd
14:29:38  *** Fast2 [] has joined #openttd
14:37:02  *** frappa [] has quit [Quit: Bye for now!]
14:50:26  *** __ln__ [] has quit [Ping timeout: 480 seconds]
14:52:42  *** Zuu [] has joined #openttd
15:06:16  *** Markavian [] has quit [Ping timeout: 480 seconds]
15:20:05  *** DayDreamer [~DayDreame@] has joined #openttd
15:26:18  *** LadyHawk- [] has joined #openttd
15:26:22  *** fanioz [~fanioz@] has joined #openttd
15:27:03  *** a1270 [] has quit [Ping timeout: 480 seconds]
15:27:18  *** Andel [] has quit [Ping timeout: 480 seconds]
15:27:25  *** a1270 [] has joined #openttd
15:28:02  *** LadyHawk [] has quit [Read error: Connection reset by peer]
15:28:03  *** LadyHawk- is now known as LadyHawk
15:32:56  *** fanioz_ [~fanioz@] has joined #openttd
15:40:08  *** fanioz [~fanioz@] has quit [Ping timeout: 480 seconds]
15:45:10  *** Fast2 [] has quit [Ping timeout: 480 seconds]
15:45:53  *** KouDy [~KouDy@] has joined #openttd
15:49:16  *** Andel [] has joined #openttd
15:58:06  *** andythenorth [] has joined #openttd
15:59:22  *** andythenorth [] has quit []
16:00:59  *** Wolf01 [] has joined #openttd
16:01:38  <Wolf01> hello
16:06:46  *** nicfer [~nicfer@] has joined #openttd
16:07:18  <nicfer> 1.1.0-beta1 is very glitchy right now?
16:07:25  <nicfer> as it's said
16:14:40  <lugo> help us in finding that out :P , i didn't get it to crash yet
16:18:11  <Eddi|zuHause> you can't properly play multiplayer because of the version string
16:18:24  <Eddi|zuHause> no other urgent bugs that i know of
16:21:55  *** fonsinchen [] has quit [Quit: Konversation terminated!]
16:22:05  *** fonsinchen [] has joined #openttd
16:25:24  *** Eddi|zuHause2 [] has joined #openttd
16:25:24  *** Eddi|zuHause [] has quit [Read error: Connection reset by peer]
16:25:59  *** KouDy [~KouDy@] has quit [Ping timeout: 480 seconds]
16:29:23  *** Eddi|zuHause2 is now known as Eddi|zuHause
16:39:25  *** KouDy [~KouDy@] has joined #openttd
17:47:08  *** pugi [] has joined #openttd
17:47:37  <CIA-2> OpenTTD: alberth * r21645 /trunk/src/core/smallmap_type.hpp: -Doc: Document SmallPair and SmallMap template parameters.
17:48:00  *** ZirconiumX [] has joined #openttd
17:49:07  <ZirconiumX> Hello, anybody?
17:53:07  *** andythenorth [] has joined #openttd
17:53:14  <ZirconiumX> Alberth, or someone?
17:53:28  <Alberth> I am not here :)
17:53:34  <ZirconiumX> hello
17:53:55  <Alberth> hai
17:54:03  <ZirconiumX> If number of errors equals stupidity, than
17:54:13  <ZirconiumX> *puts on dunce hat*
17:54:34  <ZirconiumX> I have an error on the supersimpleAI
17:54:57  <ZirconiumX> but to solve that, I need to ask you a question
17:55:27  <Alberth> you know that in IRC, it is normal just to dump any question on the channel?
17:55:40  <ZirconiumX> For a start, do you put tile index (tiletoplace) in the prams
17:55:44  <Alberth> no need to find a person alive, or announce that you are going to ask a question.
17:55:47  <ZirconiumX> *params
17:56:21  <Alberth> what function? do you have code in a pastebin somewhere?
17:56:23  <ZirconiumX> I'm just a bit cautious, because someone went and leeched my computer while I was on IRC
17:56:41  <ZirconiumX>
17:56:42  <Markk> As the main rule in this kind of channels: Don't ask about asking, just ask. :)
17:56:56  <ZirconiumX> that is my current main.nut
17:57:01  <Alberth> at worst you don't get an answer :)
17:57:35  <ZirconiumX> do I put
17:57:44  <Alberth> inclusive the messed-up layout?
17:58:35  <ZirconiumX>
17:58:45  <ZirconiumX> that or keep as is
17:58:56  <ZirconiumX> sorry, I'm not 'tidy'
17:59:58  <ZirconiumX> also, do the tile have to be in Hex
18:00:03  <ZirconiumX> with brackets
18:00:21  <ZirconiumX> Inclusive the messed up layout
18:00:37  <Alberth> perhaps mibpaste is very broken (it seems that way)
18:00:52  <ZirconiumX> why?
18:01:11  <Alberth> everything is flushed to the left here
18:01:28  <ZirconiumX>
18:01:51  <ZirconiumX> we read left to right, so yes that is correct
18:01:52  <Eddi|zuHause> use a real pastebin that uses monospace fonts...
18:02:41  <Alberth>   has lots of curly brackets
18:02:50  <ZirconiumX> OK
18:03:11  <Alberth>  <-- the fedora linux pastebin, perhaps that one works better?
18:03:15  *** andythenorth [] has quit [Quit: andythenorth]
18:03:24  <ZirconiumX>
18:04:01  <Alberth> what are you doing?
18:04:18  <ZirconiumX> just looked, mibpaste is totally ****** up
18:04:39  <Alberth> yep, I agree on that :)
18:04:42  <ZirconiumX> an ai to build a road from (30,15), to (30,30)
18:04:51  <ZirconiumX> HUGE spaces
18:05:31  <ZirconiumX> Alberth, what is the format for tile locations?
18:05:56  * Alberth looks for the NoAI docs
18:06:18  <ZirconiumX> the 0xB1A5B1A5, or (30,15)
18:06:31  <ZirconiumX> I have the Doxygen in a window
18:07:03  <ZirconiumX> next time you see the person who does this, ask them to implement a search function
18:07:17  <ZirconiumX> AFAIK it doesn't say
18:08:14  <glx> use AIMap::GetTileIndex()
18:08:50  *** andythenorth [] has joined #openttd
18:08:59  <ZirconiumX> Do I put that in value 'start' and then use that value to get the road built
18:09:23  <Alberth> glx: thanks
18:09:58  <Alberth> indeed    TileIndex AIMap::GetTileIndex (uint32 x, uint32 y)        constructs a TileIndex from a pair of (x, y)
18:09:59  <ZirconiumX> *ahem* Do I put that in value 'start' and then use that value to get the road built
18:10:13  <glx> AIRoad::BuildRoadFull() requires TileIndex, so give it TileIndex :)
18:11:09  <Alberth> wow, a single function to build a piece of road :)
18:11:36  <ZirconiumX> meh, you know it says that squirrel is like C
18:11:44  <ZirconiumX> my dad says it's pascal
18:12:41  <Alberth> it needs a start TileIndex, and an end TileIndex, so    start = AIMap::GetTileIndex(30, 15); end = AIMap::GetTileIndex(30, 30); AIRoad::BuildRoadFull(start, end);
18:13:06  <Alberth> then your dad has forgotten that pascal uses BEGIN ... END   instead of { and }   :)
18:13:30  <Alberth> also, squirrel is object-oriented, and that was invented after Pascal :)
18:13:50  <glx> AIRoad::BuildRoadFull(AIMap::GetTileIndex(30, 15), AIMap::GetTileIndex(30, 30)); works too
18:14:55  *** andythenorth [] has quit [Quit: andythenorth]
18:15:06  <Alberth> glx: do you happen to know the tile highlighting code?
18:16:04  <Alberth> in particular, useful better ways to refactor it to?
18:16:41  <ZirconiumX> *prepares to give alberth, and glx a big hug*
18:17:04  <glx> Alberth: no, sorry
18:17:20  *** fjb is now known as Guest2358
18:17:21  *** fjb [] has joined #openttd
18:17:24  <ZirconiumX> *grrrr
18:17:44  <Alberth> glx: nobody seems to know that part :p
18:18:50  <ZirconiumX>
18:18:55  <ZirconiumX> is my main.nut
18:19:43  <Alberth> it needs curly brackets, and a function to call
18:20:02  <Alberth> also each statement needs a ;  at the end, it is not Python :p
18:20:43  <ZirconiumX> Well, I can use UNIX
18:20:55  <Alberth> look at some other ai, for example the test-ai I posted a link to.
18:21:05  <Alberth> you have to stick to that syntax
18:22:08  *** KouDy [~KouDy@] has quit [Read error: Connection reset by peer]
18:23:23  <ZirconiumX> BRB, need to update API
18:23:48  <ZirconiumX> 0.7 API isn't user-friendly
18:24:19  *** Guest2358 [] has quit [Ping timeout: 480 seconds]
18:26:14  <ZirconiumX>
18:26:37  <ZirconiumX> is the new main.nut, that's *still* causing problems
18:26:46  <ZirconiumX> 3/7
18:26:51  <ZirconiumX> is the problem
18:27:13  <ZirconiumX> a bracket-related problem
18:27:27  *** TrueBrain [~patric@] has quit [Ping timeout: 480 seconds]
18:28:19  <ZirconiumX> the only solution I find in my mind breaks all barriers
18:28:25  *** Eddi|zuHause2 [] has joined #openttd
18:29:02  <ZirconiumX> AIRoad()::BuildRoadFull
18:29:25  <ZirconiumX> which won't get anywhere, will it Alberth?
18:30:40  <ZirconiumX> Ahem
18:31:45  <ZirconiumX> dead topic, shucks
18:32:47  <glx> parenthesis for function calls
18:33:20  <ZirconiumX> they have them
18:33:49  <glx> no I see only curly in your paste
18:34:36  *** Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
18:34:57  <glx> and you don't define Start() function
18:35:33  <Alberth> perhaps use a saner font in your browser and/or editor?
18:35:36  <ZirconiumX> Is there a way to terminate the AI from inside?
18:35:58  <Alberth> programming is very hard if you don't see the difference between { and (
18:36:00  <glx> yes just return from Start()
18:36:25  <glx> <-- use this as basis
18:36:26  <ZirconiumX> *tell that to the guys wh made that font for the AI debug
18:36:41  <glx> it uses the font you selected :)
18:37:28  <Alberth> also, AI debug only shows code, it does not allow you to enter code there, you have an editor for that, which no doubt has font settings
18:38:17  <ZirconiumX> so what your saying is if it shows a bracket-type one switch until it is happy?
18:39:02  <Alberth> trial and error is one way, a faster way is to look at the example, and do what happens there
18:40:51  *** Eddi|zuHause2 is now known as Eddi|zuHause
18:42:23  <glx> <-- I think it's better to read all these pages in the right order :)
18:45:40  <ZirconiumX> Just a quick note, is GetAPIVersion() the correct one to call, and should it be 1.0 or "1.0"
18:45:49  <CIA-2> OpenTTD: translators * r21646 /trunk/src/lang/ (10 files): (log message trimmed)
18:45:49  <CIA-2> OpenTTD: -Update from WebTranslator v3.0:
18:45:49  <CIA-2> OpenTTD: croatian - 2 changes by VoyagerOne
18:45:49  <CIA-2> OpenTTD: english_US - 2 changes by Rubidium
18:45:49  <CIA-2> OpenTTD: finnish - 2 changes by jpx_
18:45:50  <ZirconiumX> because that is breaking the code
18:45:51  <CIA-2> OpenTTD: greek - 91 changes by fumantsu
18:45:51  <CIA-2> OpenTTD: hungarian - 2 changes by IPG
18:47:02  <Alberth> look in to NoAI docs, check whether it expects a string or a number.
18:47:37  <Alberth> I don't know such things either, I never seriously programmed an AI
18:48:05  <Alberth>  <-- correct curly brackets and parentheses, but no doubt stuff is missing.
18:48:53  <Zuu> API doc for AIInfo::GetAPIVersion:
18:49:46  <Zuu> ZirconiumX: before the AIInfo::GetAPIVersion on that page you see that AIs should return a string.
18:50:02  <glx> string AIInfo::GetAPIVersion     (          )       <-- it's clear :)
18:50:05  <ZirconiumX> so in ""
18:50:23  <Zuu> So in "" yes
18:50:41  <Zuu> Also see the notes for the function in the API docs regarding on what to include in the API version.
18:50:49  <ZirconiumX> good to have someone like you around
18:52:26  <Zuu> thanks, but even if I've been writing quite a bit OpenTTD AI code, I still have to look up details like this in the API docs.
18:53:27  <ZirconiumX>
18:53:35  <ZirconiumX> is now current main.nut
18:53:38  *** Eddi|zuHause [] has quit [Remote host closed the connection]
18:53:59  *** Eddi|zuHause [] has joined #openttd
18:54:39  <Zuu> looks good. your Save stub should return an empty table in order to fullfill the mininmum requirements of a Save function.
18:55:05  <ZirconiumX> meh, console may be broken
18:55:21  <ZirconiumX> 10/12 end of statement
18:55:24  <ZirconiumX> error
18:55:42  <glx> parenthesis
18:55:47  <glx> you used curly
18:55:49  <Zuu> Oh, you've used {} brackets instead of () brackets.
18:56:05  <glx> same for line 12 and 13
18:57:14  <Alberth> Zuu: () are called parentheses, instead of brackets
18:57:17  <ZirconiumX>
18:57:30  <ZirconiumX> is now current main.nut
18:57:39  <ZirconiumX> rINFINITY
18:57:44  <Zuu> Alberth: Oh, though they were all bracktes of different styles.
18:58:20  <Alberth> that holds indeed for the other brackets, just not for ( and )
18:58:54  *** frappa [] has joined #openttd
18:59:08  <ZirconiumX> still spitting out it's dummy
18:59:20  <Zuu> Swedish use the equivivalent of parantheses for both () and []. {} are called bird wings :-)
18:59:36  <ZirconiumX> 10/12 end of statement expected
18:59:36  <glx> Save() is wrong I think
19:00:28  <ZirconiumX> it's in the AIRoad::S()etCurrentRoadType
19:00:43  <Zuu> IIRC to return an empty table this code: "return {};" can be used.
19:01:00  <glx> oh it's . not :: :)
19:01:54  <Alberth> Zuu: nice name, much better than 'curly bracket' :)
19:02:41  <Eddi|zuHause> why can not all people be pragmatic like the germans, and call objects by what they really are? "runde klammern", "eckige klammern" and "geschweifte klammern"?
19:02:50  <glx> function calls use ".", function declarations use "::"
19:03:24  <Zuu> eg AIRoad.SetCurrentRoadType(AIRoad.ROADTYPE_ROAD)
19:03:42  <Zuu> You also miss "AIRoad."  before ROADTYPE_ROAD
19:04:17  <ZirconiumX>
19:05:00  <ZirconiumX> Shall we have a joke, it's not racist (IMO)
19:05:02  <Alberth> Eddi|zuHause: heftklammen :)
19:05:10  *** frappa [] has quit [Quit: Bye for now!]
19:05:14  <ZirconiumX> Imagine you're Hitler ok
19:05:21  <ZirconiumX> Knock Knock
19:05:29  *** frappa [] has joined #openttd
19:05:29  <ZirconiumX> Who's there?
19:05:41  <ZirconiumX> Eye Maj
19:05:49  <ZirconiumX> Eye Maj Who
19:06:06  <ZirconiumX> Hitler wasn't very happy after that
19:06:14  <ZirconiumX> (I'm a Jew)
19:06:18  <Eddi|zuHause> "knock knock" jokes are completely unknown in germany.
19:06:45  <ZirconiumX> 29/2 expression expected
19:07:03  <Eddi|zuHause> and they kinda lose their point if you don't know the sound of the words...
19:07:05  <ZirconiumX> ok....
19:07:38  <ZirconiumX>  { is that line
19:07:44  <ZirconiumX> soooo close
19:07:54  <ZirconiumX> delete that line?
19:08:17  <ZirconiumX> sorry
19:08:19  <ZirconiumX> }
19:08:23  <Eddi|zuHause> so... what actually WAS the joke?
19:09:00  <ZirconiumX> Hitler hated jew's, so calling the Fuhrer a Jew doesn't make him happy
19:09:52  *** LordAro [] has joined #openttd
19:10:02  <ZirconiumX> Mr. Aro!
19:10:05  <LordAro> moin :)
19:10:06  <Eddi|zuHause> ZirconiumX: having more } than { will certainly not work
19:10:23  <ZirconiumX> nope, evening
19:10:36  <LordAro> i've been following your conversation (on the logs)
19:10:44  <LordAro> it makes interesting reading ;)
19:10:48  <Alberth> we need your help!
19:10:52  <Eddi|zuHause> "moin" does NOT stand for "morning"
19:11:05  <ZirconiumX> I have multiple Identities, one of which is OTTDmaster
19:11:35  <LordAro> yes, the AI known as Gamma gives it away really ;)
19:11:48  <LordAro> Alberth: me? what with?
19:12:01  <ZirconiumX> heh. ONE LINE from freedom
19:12:35  <ZirconiumX> nope, not one line
19:12:39  <Alberth> your knowledge of AIs and Squirrel of course
19:12:40  <ZirconiumX> one million
19:13:04  <ZirconiumX> UGH
19:13:14  <ZirconiumX> how do you define an index
19:13:24  <Eddi|zuHause> your skills of handling a kid who thinks he can tell phonetic jokes over IRC?
19:13:25  <ZirconiumX> in SQ
19:14:29  <LordAro> index? a tileIndex?
19:14:34  <ZirconiumX> nope
19:15:30  <Zuu> good LordAro is here with his Squirrel expertise so I can retire to my C++ programming. :-)
19:15:44  <ZirconiumX>
19:16:01  <ZirconiumX> the // ones are the indexes in question
19:16:19  <ZirconiumX> the Tile index has been sorted
19:17:23  * fjb wonders why american kids are thinking Hitler is funny.
19:17:42  <ZirconiumX> iI'm not american
19:18:28  <LordAro> Zuu: you are far more experienced than me - see one of my first posts! -->
19:21:08  <fjb> Oh, British.
19:21:14  * fjb wonders even more.
19:21:31  <Rubidium> fjb: don't mention the war!
19:21:38  <Zuu> Yea, but that post is a year old, so now you can entitle yourself an experienced AI programmer. :-)
19:22:06  * fjb hates war.
19:22:28  <LordAro> ZirconiumX: use "local" before the variable
19:23:00  <LordAro> (no, it didn't take me that long to work it out, i was just trying to find something on the wiki about it ;) )
19:23:44  <ZirconiumX> MORE errors *feels small*
19:23:57  <ZirconiumX> D:
19:25:03  <LordAro> well come on then, stop complaining about the fact that you've got errors, and just say what they are ;)
19:25:09  <ZirconiumX> local.start requires IDENTIfier
19:25:32  <Zuu> should be "local start"
19:25:46  <LordAro> Zuu got there first :)
19:25:54  <Ammler> fjb: you should be able to make fun about everyone
19:25:56  <Zuu> Eg "local start = 0"
19:26:01  <Zuu> ;
19:26:29  <ZirconiumX> :D
19:26:32  <ZirconiumX> done
19:26:40  <Ammler> (or else don't do it at all)
19:26:48  <ZirconiumX> it's only took three hours
19:27:04  <CIA-2> OpenTTD: rubidium * r21647 /trunk/src/lang/greek.txt: -Fix: failure of WT3 to properly validate some string...
19:27:51  <LordAro> Rubidium: what is wrong with WT3? it keeps doing that... (as i'm sure you've noticed :D)
19:27:52  <fjb> Ammler: Being able to make ist is one think. But I still wonder why some people finde a totally unfunny person funny.
19:28:12  <Ammler> Rubidium: maybe you should comment the issue about MP and beta1 on the news or link to forums
19:29:22  <ZirconiumX> I'm going to move onto a curve *cue dramatic music*
19:29:26  <Ammler> fjb: I assume, it is satire, isn't?
19:30:03  <ZirconiumX> I renounce that joke, it was one I found on the TT-Forums, don't blame me
19:30:12  <Rubidium> LordAro: it's validation of strings isn't 100% correct, i.e. it allows more than is actually allowed
19:30:16  <fjb> Ammler: It didn't sound like satire, more like an unreflected kids joke.
19:31:51  <Ammler> ah, the hitler joke was here, I didn't get that :-)
19:32:19  <Alberth> quite likely, nobody did
19:32:20  <ZirconiumX> Sorry
19:32:49  <ZirconiumX> I didn't mean to offend anybody
19:33:03  <fjb> Ammler: You didn't really miss anything.
19:33:08  <Rubidium> Ammler: yeah, guess we should. Don't have time for that anymore though in the next few hours. Maybe planetmaker has some time?
19:33:42  <Ammler> I guess, he isn't around...
19:39:43  <ZirconiumX> I've cheated, but I made a rectangle using Gamma
19:39:47  <ZirconiumX> :)
19:40:03  <LordAro> well done :)
19:40:21  <Alberth> in just a little over 3 hours
19:40:30  <ZirconiumX> I'll send you the main.nut and info.nut if you wish
19:41:18  <Alberth> not needed, I am sure I can figure it out when I want to build road
19:41:23  <ZirconiumX> I've cheated in that the corner's been made by the roads overlapping, but anyway
19:41:45  <Alberth> check the BuildRoad function
19:41:50  <ZirconiumX> I was thinking about Mr. Aro.
19:42:01  <Alberth> oh, sorry
19:42:17  <ZirconiumX> I know, but I need to rest my head, and make a note
19:42:48  <LordAro> # 2010-12-04 18:21:45 <@Alberth> <--- I got it for christmas :D
19:43:05  <Alberth> ah, reading material!
19:43:15  <Alberth> do you like it?
19:43:31  <LordAro> :D yep! about 30 pages in so far :) :)
19:43:35  <LordAro> lol
19:44:10  <LordAro> certainly better than anything i've come across online
19:44:23  <Alberth> ah, I mostly skipped the introduction chapters :)
19:44:43  <Alberth> LordAro: you get the quality you pay for :)
19:44:54  <ZirconiumX> My reading material was mainly in the form of AIRoad::BuildRoadFull(AIMap::GetTileIndex(30, 15), AIMap::GetTileIndex(30, 30));
19:45:01  <ZirconiumX> sorry
19:45:11  <ZirconiumX>
19:45:20  <ZirconiumX> the concorde haynes manual
19:45:26  <ZirconiumX> As you do
19:45:54  <LordAro> Alberth: thats funny, because it says you should read the beginning again, even if you skip it to start with ;)
19:46:29  <ZirconiumX> Oh, and the nearest I've got to C is csh
19:46:37  <Alberth> I support that advice fully, I just don't always follow it ;)
19:46:44  <LordAro> :)
19:46:46  <ZirconiumX> UNIX for dummies in the local library!
19:46:59  <ZirconiumX> :)
19:47:07  *** TrueBrain [~patric@] has joined #openttd
19:47:14  <ZirconiumX> Hello
19:47:22  <LordAro> ZirconiumX: actually, the closest you've probably got to C[++] is probbaly squirrel ;)
19:47:38  <LordAro> evenin' TrueBrain
19:48:07  <ZirconiumX> *hates the fact that the good Lord is correct*
19:48:31  * LordAro wonders if anyone (like Yexo, wink, wink) has had a look at ATTDebug -
19:48:50  <ZirconiumX> Love to, but can't
19:48:54  <ZirconiumX> MAc
19:49:06  <Alberth> LordAro: In the days that I bought the book, I was programming C++ daily :)
19:49:40  <LordAro> i guess it was probably ok for you to skip certain bit then :)
19:50:07  <LordAro> ZirconiumX: what stops you?
19:51:39  <ZirconiumX> It's a goddamn patch
19:51:44  <ZirconiumX> is what
19:52:05  <ZirconiumX> It takes an hour to compile, and
19:52:29  <ZirconiumX> as planetmaker knows it's not always straightforward
19:53:06  <LordAro> an hour?! how old is your pc? or are macs like that anyway?
19:53:41  <ZirconiumX> a good 8/9 years, 1Ghz, that's all
19:54:23  <Alberth> good night
19:54:32  <ZirconiumX> new macs are 3.2Ghz
19:54:38  <ZirconiumX> night night
19:55:30  *** Alberth [] has left #openttd []
19:58:17  <LordAro> even my _ancient_ 450MHz can compile in under 30mins (that said, it was before the introduction of ICU, don't know how that would affect it)
19:59:13  <ZirconiumX> Let's have a game of top trumps
19:59:23  <ZirconiumX> get your computer facts ready
19:59:52  <ZirconiumX> ready?
20:00:02  <ZirconiumX> current computer
20:00:39  <ZirconiumX> USB ports excluding additional ones from splitters etc.
20:00:40  *** a1270 [] has quit [Quit: Leaving]
20:00:44  <ZirconiumX> you?
20:01:14  <ZirconiumX> three
20:01:19  *** frappa [] has quit [Quit: Bye for now!]
20:01:23  <LordAro> can't - no admin access
20:01:34  <LordAro> plus i'd just cheat ;)
20:01:37  <ZirconiumX> count on your comp
20:01:43  <ZirconiumX> I don't care
20:02:19  <nicfer> are there compilers that can use multiple cores for speeding up the job?
20:02:29  <ZirconiumX> yes
20:02:45  <ZirconiumX> there's a command for make that does it
20:02:56  <ZirconiumX> Except I have one core
20:02:58  <fonsinchen> -j<number>
20:03:03  <ZirconiumX> so that's useless
20:04:16  <ZirconiumX> Memory?
20:04:31  <ZirconiumX> just 256 MB
20:04:38  <nicfer> I've got 2gb :D
20:04:52  <glx> 4GB here
20:04:57  <ZirconiumX> L2 Cache?
20:05:10  <ZirconiumX> 256 KB
20:05:35  <glx> 2*512KB
20:05:44  <ZirconiumX> OMG
20:05:50  *** fanioz__ [~fanioz@] has joined #openttd
20:06:13  <LordAro> ah! fanioz! another fellow NoAI writer :)
20:06:17  <ZirconiumX> can you burn a CD-R or CD-RW
20:06:33  <glx> DVD-RW and dual layer :)
20:06:36  <ZirconiumX> Yes
20:06:42  <ZirconiumX> DVD read
20:07:07  <LordAro> blueray writer! :p
20:07:09  <LordAro> kidding :)
20:07:15  <ZirconiumX> Size of screen
20:07:23  <LordAro> 1024x768 :(
20:07:24  <glx> LordAro is rich :)
20:07:27  <ZirconiumX> there's a computer that can do that you know
20:07:29  <nicfer> 1600*900
20:07:32  <glx> 1680*1050
20:07:44  <LordAro> glx: note the "kidding" ;)
20:07:54  <ZirconiumX> Res of 1024 x 768
20:08:22  <LordAro> i should have said something else ridiculous, like HVD writer :D
20:08:28  <ZirconiumX> SATA?
20:08:33  <ZirconiumX> nothing
20:08:38  <nicfer> blu-ray discs have mandatory drm encoding right?
20:08:46  <ZirconiumX> macs hate SATA
20:09:05  <glx> not the new ones
20:09:29  <glx> I think they stopped using SCSI a long time ago
20:09:45  <ZirconiumX> Parallel SCSI
20:09:54  <ZirconiumX> Not Supported :(
20:10:21  <glx> I have PATA and SATA
20:10:32  <ZirconiumX> I think I have the ace here
20:10:40  <ZirconiumX> Firewall
20:11:03  <ZirconiumX> ready,
20:11:06  <ZirconiumX> steady
20:11:16  <ZirconiumX> Nope, nothing
20:11:22  <ZirconiumX> *bluffs*
20:11:41  <glx> I could use nforce firewall :)
20:11:59  <ZirconiumX> Graphics card
20:12:07  <glx> GTS 450
20:12:29  <ZirconiumX> NVIDIA GeForce4 MX
20:12:38  <ZirconiumX> VRAM of that card
20:12:50  *** fanioz_ [~fanioz@] has quit [Ping timeout: 480 seconds]
20:12:59  <ZirconiumX> 32MB
20:13:10  <nicfer> facetime is an apple-exclusive gimmick?
20:13:21  * LordAro nods
20:13:25  <ZirconiumX> yup
20:13:43  <ZirconiumX> How do you get that action thing
20:13:52  <ZirconiumX> that Lord Aro did
20:13:54  <nicfer> so, no facetime for linux or win
20:14:08  <ZirconiumX> no(t yet)
20:14:14  <LordAro> type "/me" before the coment
20:14:15  <glx> it's just a phone call with webcam nicfer :)
20:14:32  <glx> IIRC
20:14:33  <nicfer> well, it's not even a standard AFAIK
20:14:34  <ZirconiumX> What did apple do with MobileMe?
20:14:59  <ZirconiumX> put it on windows
20:15:11  <ZirconiumX> Itunes
20:15:14  <ZirconiumX> Windows
20:15:30  <ZirconiumX> need more examples?
20:15:38  <ZirconiumX> the MAgic mouse
20:15:41  <ZirconiumX> Windows
20:15:57  <ZirconiumX> The first mouse
20:16:02  <ZirconiumX> Windows
20:16:09  <ZirconiumX> anything else
20:16:25  <ZirconiumX> so eventually it will come to windows
20:16:49  <Eddi|zuHause> is that one of those jokes again?
20:17:03  * ZirconiumX realises that you can't get facetime on a mac
20:17:13  <glx> use skype :)
20:17:13  <ZirconiumX> no
20:17:26  <ZirconiumX> Skype's going
20:17:41  * LordAro reminds everyone he hates Apple, macs, Steve Jobs, and anything else to do with it ;)
20:18:06  <glx> everything starting with "i" ;)
20:18:39  * ZirconiumX Reminds everyone that I hate Microsoft, PC's, Bill Gates and everything else to do with it :P
20:18:43  <Eddi|zuHause> EiPott :p
20:18:53  <Terkhen> meh
20:18:59  <Terkhen> not this again
20:19:11  <ZirconiumX> Going to go
20:19:20  <LordAro> bye :)
20:19:23  <ZirconiumX> see ya'll if/when I do
20:19:34  <Eddi|zuHause> is that a threat?
20:19:51  * ZirconiumX opens door and leaves, cursing at Bill gates
20:19:52  <ZirconiumX> no
20:19:58  *** ZirconiumX [] has quit [Quit: ajax IRC Client]
20:20:51  <LordAro> What's the coding style 'stance' on very long if statements?
20:21:11  <glx> depends
20:21:32  <LordAro> normally ;)
20:21:47  <Eddi|zuHause> i'd make a line break before the operator
20:25:09  <LordAro> Eddi: are you sure? because doesn't ;)
20:26:31  <glx> as I said, depends :)
20:27:47  <LordAro> ok then, would this be ok? :
20:29:22  <Eddi|zuHause> LordAro: i am not involved in deciding the code style ;)
20:30:38  *** fonsinchen [] has quit [Ping timeout: 480 seconds]
20:32:12  <Ammler> LordAro: if I compare that, you miss at least one more indent
20:32:17  <Ammler> (tabs)
20:34:02  <LordAro> try the raw version:
20:34:17  <Ammler> yes, only one tag
20:34:20  <Ammler> tab*
20:35:00  <Ammler> which would imply it is content _in_ the if clause, not still continue the if
20:35:13  <LordAro> on the second line? according to my computer there is only 1
20:35:40  <Ammler> yeah, which is wrong, count the tabs from your hg link
20:36:42  *** jpx_ [] has quit [Ping timeout: 480 seconds]
20:37:21  <LordAro> ah, i see. so there should be 3?
20:37:32  *** Fast2 [] has joined #openttd
20:38:49  *** jpx_ [] has joined #openttd
20:39:13  <glx> in this case we align with spaces
20:40:07  <LordAro> how many?
20:40:09  <glx> as many tabs as before the if, then spaces so AIXXX are aligned
20:41:43  *** fonsinchen [] has joined #openttd
20:43:07  <glx> but as it's your own code, you can use your own style :)
20:43:29  <LordAro> i like to use as close to ottd as possible ;)
20:44:48  <Ammler> he, I just compared the styles, but one tab would make it look like code in the tab, that seemed wrong.
20:45:04  <Eddi|zuHause> [making line breaks after the operator basically goes against anything my higher education taught me]
20:45:22  <LordAro> ah, but 4 spaces, is the same as 1 tab in notepad++
20:45:45  <Eddi|zuHause> LordAro: the point about "alignment with spaces" is that tab-width is not the same in every editor
20:45:59  <LordAro> true that :)
20:46:08  <glx> tab for indentation, spaces for aligning ;)
20:46:13  <Eddi|zuHause> LordAro: so when someone edits with tabwidth 2, he must get the same alignment.
20:46:45  <LordAro> anyone know how to change tab size in notepad++? :)
20:47:03  <Eddi|zuHause> ... now i know what fjb means when he says "there are too many incompetent idiots in the german forum"
20:47:19  <fjb> :-)
20:47:20  <Ammler> shouldn't matter, if you use tabs only for indents
20:47:28  *** SmatZ [] has joined #openttd
20:47:32  <glx> LordAro: in preferences, it's configurable by language
20:48:37  <fjb> Eddi|zuHause: How did you come to that conclusion?
20:48:41  <Eddi|zuHause> seriously... "the freight multiplier probably increases profit"?
20:49:32  <LordAro> glx: got it, 6 is more normal, isn't it?
20:49:46  <glx> I always use 4 :)
20:50:01  <glx> but some prefer 8
20:50:41  <Ammler> the web viewers have mostly 8
20:50:51  <Ammler> or is that a local setting?
20:51:09  <Eddi|zuHause> 8 is usually the "original" tab width...
20:51:18  <LordAro> 8 it is then :)
20:51:33  <Eddi|zuHause> but really: it should work with all tabwidths
20:51:40  <glx> hg viewer uses 8 except for the first tab :)
20:52:36  <Ammler> trac uses 2
20:53:01  <Ammler> which is very few
20:53:07  *** nicfer [~nicfer@] has quit [Quit: Leaving.]
20:53:12  <Eddi|zuHause> i like tabwidth 2
20:53:44  <Ammler> I use 2, if I ident with spaces :-)
20:53:57  <glx> that's the advantage of tabs, everyone can see code with it's preferences
20:54:53  <Ammler> the problem is, if editor does convert tabs to spaces :-P
20:55:13  <LordAro> that could get annoying...
20:55:40  <Ammler> needed for python, afaik
20:56:02  <glx> blame the editor
20:56:17  <Eddi|zuHause> python condones the use of tabs altogether
20:56:40  <Eddi|zuHause> but otherwise they are interpreted as 8 spaces
20:56:51  <Ammler> glx: of course it is a setting, so you can only blame the user ;-)
20:57:50  <Eddi|zuHause> the problem is teaching the editor different contexts
20:58:02  <Ammler> Eddi|zuHause: and then the lovely Makefile, which even don't work at all with spacesw
20:58:23  <glx> tabs are part of Makefile format :)
20:58:37  <Eddi|zuHause> i think for kate you can put config files into the working directory
20:58:55  <Ammler> then nml should do that :-P
21:01:01  <Ammler> ah no, nml again does use tabs :-)
21:05:33  <Yexo> LordAro: I haven't looked at it yet, I simply didn't find the time
21:14:32  <Eddi|zuHause> "seine Verlobte Maria [...] auf einmal in anderen UmstÀnden ist - ohne dass er selbst damit etwas zu tun hatte. Sie erzÀhlt etwas von einem geheimnisvollen Mann, der ihr erschienen sei und ihr die Geburt eines Sohnes angekÌndigt habe, der vom Heiligen Geist stamme. Das glauben ihr allerdings weder Josef noch ihre Eltern noch irgendjemand sonst in Nazaret..."
21:16:41  *** rhaeder [] has quit [Quit: Leaving.]
21:22:31  *** Brianetta [] has joined #openttd
21:24:42  *** Fast2 [] has quit [Ping timeout: 480 seconds]
21:25:23  <fjb> Eddi|zuHause: People are not that stupid, even not back then in ancient times. :-)
21:25:51  <Xaroth> Yexo: ever considered an IDE for newgrf development? :o
21:26:22  <fjb> Eclipse NewGRF plugin... :-)
21:26:29  <Xaroth> nah
21:26:36  <Xaroth> something standalone
21:27:03  <Eddi|zuHause> what would be the sense in inventing Yet Another IDE just for one esoteric language?
21:27:04  <Xaroth> would be stupid having to download dozens of MB for eclipse, just for a 'simple' IDE
21:27:26  <Xaroth> Eddi|zuHause: stimulating development of newgrfs
21:27:37  <Eddi|zuHause> yyy
21:27:42  <Eddi|zuHause> erghs
21:27:49  <Eddi|zuHause> Xaroth: actually, there is grfmaker already
21:28:08  *** ABCRic [] has joined #openttd
21:28:39  <fjb> A "simple" IDe is calles editor.
21:29:09  <Rubidium> tikiwiki!
21:29:21  <Eddi|zuHause> fjb: for certain values of "Integrated"? ;)
21:29:34  <Ammler> isn't grfmaker a IDE?
21:29:35  <Rubidium> direct access to the specs, and it even has versioning
21:29:52  <Xaroth> Rubidium: no automated compiles tho
21:29:59  <Xaroth> and not that good on the debugging front :P
21:30:12  <Xaroth> though code hilighting can be built in...
21:42:09  <Terkhen> I did NML highlighting for Notepad++
21:49:05  *** SmatZ [] has quit [Remote host closed the connection]
21:56:40  <Eddi|zuHause> # when you're alone, silence is all you know
21:56:48  <Eddi|zuHause> # when you're alone, silence is all you see
21:56:48  <Eddi|zuHause> # when you're alone, silence is all you'll be
22:03:34  *** ABCRic_ [] has joined #openttd
22:04:02  *** ABCRic is now known as Guest2374
22:04:03  *** ABCRic_ is now known as ABCRic
22:05:43  <Xaroth> Rubidium: any chance the admin port can get the current list of loaded newgrfs? :o
22:08:00  <Rubidium> rcon gamelog?
22:08:38  *** Guest2374 [] has quit [Ping timeout: 480 seconds]
22:09:30  *** LordAro [] has quit [Quit: ajax IRC Client]
22:13:19  <Xaroth> Rubidium: that's as useful as having to rcon the client list.. but it could work i suppose
22:17:17  <Rubidium> it's true that it's not that useful, as in easy to parse, for admins. But I'm wondering what information to send and whether it's really useful or not
22:19:02  <Xaroth> its useful for verification
22:19:34  <Xaroth> I'll see if I can brush off my almost non-existant C knowledge to make a patch
22:21:59  *** Eddi|zuHause2 [] has joined #openttd
22:22:00  *** Eddi|zuHause [] has quit [Read error: Connection reset by peer]
22:22:14  *** andythenorth [] has joined #openttd
22:22:44  <Rubidium> Xaroth: but then you'd probably want something like grfid and md5 checksum
22:22:56  <Rubidium> and also stuff like the parameters
22:23:16  <Rubidium> though stuff gets complicated when compatible NewGRFs are loaded
22:23:34  <Rubidium> do you want to know what NewGRFs should've been loaded or what NewGRF is loaded
22:23:59  <Rubidium> although... that might not really be important since you can't start a server with a compatible NewGRF
22:24:25  * Xaroth nods
22:24:31  <Rubidium> meaning there isn't that much verification of NewGRFs you can do, besides assume the loaded game is the correct game
22:24:33  <Ammler> does the gamelog show the parameters?
22:24:37  <Xaroth> id, md5 and name
22:24:44  <Xaroth> with parameters, but at bare minimum those 3
22:25:49  <Rubidium> I'm wondering how useful the name is for verification
22:26:06  <Rubidium> but then there is always a name as the server can't start with missing NewGRFs
22:26:14  <Ammler> also useful could be, if the newgrf is available from bananas
22:26:33  <Rubidium> Ammler: that requires the server to do a lookup with bananas
22:26:46  <Ammler> e.g. if you like to make something like openttdlib
22:26:47  <Rubidium> which incredibly increases the complexity of the query
22:27:04  <Xaroth> no, checking bananas is not something the server should do
22:28:45  *** andythenorth [] has quit [Quit: andythenorth]
22:30:35  *** andythenorth [] has joined #openttd
22:30:49  <Ammler> Rubidium: it might be useful also for the MP lobby
22:31:14  <z-MaTRiX> hey-ho
22:31:28  <z-MaTRiX> fear not santa is here
22:31:41  <Ammler> so you could see, which servers aren't able to join also if you sync with bananas
22:32:01  <Rubidium> that just makes stuff too complex and adds a massive amount of corner cases
22:33:46  <Rubidium> didn't mb like promise a release of some his NewGRFs at Christmas?
22:34:05  <Ammler> yes, newships afaik
22:34:11  <Xaroth> hrnf
22:34:22  <Xaroth> problem with a gazillion source files
22:34:37  <Xaroth> finding the right bit is sometimes like finding a needle in a stack of needles..
22:34:58  <Ammler> grep...
22:35:04  <Rubidium> you're looking for the network admin bit, right?
22:35:11  <Xaroth> no, i know where that is :P
22:35:26  <Xaroth> network_admin.*
22:35:37  <Xaroth> and tcp_admin.h for some things here and there
22:36:30  *** fanioz__ [~fanioz@] has quit [Ping timeout: 480 seconds]
22:37:15  <Wolf01> I have a train which loads at station A and delivers to B, C and D. Station B does need too much cargo: A->B A->C A->D A->C A->D seem a bit too repetitive to me, could it be handled with conditional orders? If so, what is the best condition to use?
22:37:31  <Wolf01> *station B doesn't
22:37:36  <Xaroth> I'm trying to locate a good (read: best) way to get information about loaded newgrfs
22:38:04  <Rubidium> (new)grf config
22:38:19  <Xaroth> Rubidium: in the code :P
22:38:43  <Xaroth> << trying to build a patch
22:40:07  <Rubidium> those are search hints...
22:40:12  <Xaroth> ah
22:40:25  <Xaroth> found it :)
22:40:34  * Xaroth hugs Rubidium
22:41:27  *** __ln__ [] has joined #openttd
22:42:38  <andythenorth> any ponies
22:42:38  <andythenorth> ?
22:43:38  *** fanioz [~fanioz@] has joined #openttd
22:45:02  *** fonsinchen [] has quit [Remote host closed the connection]
22:46:03  <andythenorth> no ponies :P
22:46:41  *** fanioz [~fanioz@] has quit [Read error: Connection reset by peer]
22:47:15  *** Eddi|zuHause2 is now known as Eddi|zuHause
22:49:46  *** andythenorth [] has quit [Read error: Connection reset by peer]
22:52:10  *** Fast2 [] has joined #openttd
22:52:13  *** Eddi|zuHause [] has quit [Remote host closed the connection]
22:53:02  *** Eddi|zuHause [] has joined #openttd
22:53:55  <__ln__> what to do when power through ups is less reliable than without an ups?
22:54:18  <Xaroth> don't use UPS?
22:54:34  <__ln__> that's what i ended up doing
22:56:11  <Ammler> __ln__: then it is broken?
22:56:28  <Ammler> it needs power for some minutes (to shutdown)
22:58:27  *** a1270 [] has joined #openttd
22:58:28  <__ln__> the strangest thing is that it's only broken occassionally, and it's not about the battery.
23:00:00  <z-MaTRiX> ups is cool
23:00:24  <z-MaTRiX> (if not made in china )
23:00:25  <z-MaTRiX> :)
23:00:42  <z-MaTRiX> i have designed ups too
23:03:38  *** DayDreamer [~DayDreame@] has left #openttd []
23:15:22  *** Eddi|zuHause2 [] has joined #openttd
23:16:56  *** Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
23:22:46  <z-MaTRiX> h
23:25:42  *** dfox [] has joined #openttd
23:27:02  <Wolf01> mmh, MB started to spawn like a mushroom in OTTD forums, especially in the suggestions one
23:30:43  <Zuu> It's always as laughtable when you manage to terminate a while loop with a ; so the loop becomes an infinite loop :-)
23:33:11  *** Eddi|zuHause2 [] has quit [Remote host closed the connection]
23:42:14  *** ABCRic [] has left #openttd []
23:43:02  *** JVassie_ [~James@] has quit [Ping timeout: 480 seconds]
23:45:49  *** Adambean [] has quit [Quit: Gone fishing]
23:48:38  *** Eddi|zuHause2 [] has joined #openttd

Powered by YARRSTE version: svn-trunk