IRC logs for #openttd on OFTC at 2010-04-22
⏴ go to previous day
00:11:00 *** [com]buster has joined #openttd
00:11:04 *** [com]buster is now known as Combuster
01:12:50 *** [com]buster has joined #openttd
01:12:53 *** [com]buster is now known as Combuster
01:37:05 *** Dred_furst has joined #openttd
01:54:52 *** [com]buster has joined #openttd
01:54:56 *** [com]buster is now known as Combuster
02:05:38 *** Dreamxtreme has joined #openttd
02:36:52 *** [com]buster has joined #openttd
02:36:56 *** [com]buster is now known as Combuster
03:37:52 *** [com]buster has joined #openttd
03:37:56 *** [com]buster is now known as Combuster
04:41:14 *** devilsadvocate has joined #openttd
04:56:05 *** Eddi|zuHause has joined #openttd
05:02:38 *** robotboy has joined #openttd
06:02:41 *** r0b0tb0y has joined #openttd
06:04:06 *** einKarl has joined #openttd
06:36:09 <Rubidium> good morning, how art thou today?
06:53:29 *** Cybertinus has joined #openttd
06:53:41 *** [com]buster has joined #openttd
06:59:56 *** [com]buster is now known as Combuster
07:02:48 *** robotboy has joined #openttd
07:16:31 *** [com]buster has joined #openttd
07:16:35 *** [com]buster is now known as Combuster
07:17:24 *** JVassie_ has joined #openttd
07:20:48 *** mrruben5 has joined #openttd
07:21:13 *** devilsadvocate has quit IRC
07:38:18 <DorpsGek> andythenorth: Error: Something in there wasn't a valid number.
07:38:40 <peter1138> * is a valid number? :D
07:48:18 <Mazur> Which OpenTTD auto updater works on Unix?
07:49:30 <planetmaker> it requires a shell, most probably a bash
07:49:50 <planetmaker> so it should also work on linux and OSX
07:50:36 <Mazur> It is, however, conspicuously absent from the indicated place: svn://svn.openttd.org/tools/autostart
07:55:27 <Terkhen> openttdcoop, not openttd
07:58:21 *** [com]buster has joined #openttd
07:58:25 *** [com]buster is now known as Combuster
08:00:47 <Mazur> It does indeed seem to work a little better that way.
08:02:55 *** r0b0tb0y has joined #openttd
08:11:11 <Ammler> Mazur: feel free to commit patches or whatever, no idea, how it works on other systems with other servers...
08:13:25 <Mazur> If ever I need to do that, you will of course be informed.
08:14:21 <Mazur> For now I just want to make a script to get into a coop gsame and automagically do all the prerequisites as necessary.
08:16:27 <Ammler> it still breaks with newgrfs...
08:26:43 *** r0b0tb0y has joined #openttd
08:33:52 *** last_evolution has joined #openttd
09:00:30 *** [com]buster has joined #openttd
09:00:34 *** [com]buster is now known as Combuster
09:19:52 <Rubidium> but... svn over http caused lighty to break
09:20:18 <TrueBrain> lucky it is over apache :p
09:20:54 <Rubidium> yeah,now it may not matter that much anymore
09:21:27 <Ammler> he, another advantage of the trac version is that you can link to a certain line
09:22:03 <Rubidium> oh yes, people are complaining about seeing the IPv6 logo "extra" when they don't use IPv6
09:22:11 <Ammler> osai should make you a nicer trac logo
09:23:04 <TrueBrain> haha, it is always shown .. who breaks it :p
09:23:22 <Rubidium> either nginx fcgi or I did
09:24:37 <Ammler> can't remember seeing that, so souldn't be long broken :-)
09:25:35 <TrueBrain> your memory is indeed our method of determining length of brokeness :p
09:26:11 <Ammler> I never saw that before :-P
09:26:18 <peter1138> your length is indeed our method of determining brokenness of memory
10:02:20 *** [com]buster has joined #openttd
10:08:33 *** [com]buster is now known as Combuster
10:41:14 *** Biolunar has joined #openttd
10:48:29 *** KenjiE20 has joined #openttd
10:48:39 *** devilsadvocate has joined #openttd
10:56:17 *** zodttd2 has joined #openttd
11:15:51 *** last_evolution has quit IRC
11:22:36 *** oskari89 has joined #openttd
11:35:09 *** Adambean has joined #openttd
11:36:01 *** blathijs_ has joined #openttd
12:05:11 *** [com]buster has joined #openttd
12:05:15 *** [com]buster is now known as Combuster
12:25:37 <Cadde> Please help me grasp this right. If i make a class in C# whose only purpose is to act as an int and my idea of how to do this is: [public static implicit operator MyInt(int i) { return i; }
12:25:47 <Cadde> How should i go at making it actually work
12:26:02 <Cadde> since i get stack overflow errors (for obvious reasons)
12:26:35 <blathijs_> Is there any reason to assume anyone here knows C# ? :-)
12:26:38 *** blathijs_ is now known as blathijs
12:26:39 <Sacro> wha? the point of that being?
12:26:55 <Sacro> blathijs: i'm yet to discover if anyone here knows C! :)
12:26:59 <Cadde> No but i assume C and C# are the same but possibly different on these two subjects ;)
12:27:17 <Sacro> Cadde: what would be the point?
12:27:37 <Cadde> Sacro: The point would be to have other functionality assigned with it.
12:27:47 <Cadde> Not to mention it is inherited
12:28:10 <Sacro> why not just use an int?
12:28:24 <Cadde> The question is HOW not WHY i would though. If you have another solution that does the same thing then please tell me =)
12:28:39 <Cadde> Sacro: Because i can't ok? I just can't
12:29:36 <Cadde> I just need to make it work
12:29:38 <Eddi|zuHause> <Cadde> No but i assume C and C# are the same <-- yeah, the same like a motorbike and a helicopter...
12:30:07 <Eddi|zuHause> they both have an engine and run on fuel...
12:30:09 <Cadde> Eddi|zuHause: A motorbike flies for a while if you want it to
12:30:54 <Cadde> I still would very much like to hear about a solution to the problem.
12:31:02 <Cadde> How do i make an int class.
12:31:26 <Eddi|zuHause> but you are in a very wrong place to get this answer
12:31:45 <Cadde> Eddi|zuHause: Doesn't hurt to try
12:31:54 <Eddi|zuHause> what i mean is: you are just asking a biker gang how to build a helicopter
12:32:29 <Cadde> Fine... I'll go look someplace else...
12:34:52 <Sacro> Cadde: ##csharp on freenode
12:38:19 *** lewymati has joined #openttd
13:07:20 *** [com]buster has joined #openttd
13:07:23 *** [com]buster is now known as Combuster
13:22:08 *** rhaeder has joined #openttd
13:41:16 <planetmaker> I'm quite sure though that he's missing my point there...
13:41:34 <planetmaker> or don't I understand him?
13:45:08 <Eddi|zuHause> i definitely don't understand either of you...
13:47:54 *** r0b0tb0y has joined #openttd
13:49:28 *** [com]buster has joined #openttd
13:49:50 *** [com]buster is now known as Combuster
13:51:43 *** theholyduck has joined #openttd
13:53:53 *** devilsadvocate has quit IRC
13:57:46 *** Coco-Banana-Man has joined #openttd
14:17:55 *** welterde has joined #openttd
14:20:02 *** welterde has joined #openttd
14:31:18 *** [com]buster has joined #openttd
14:37:30 *** [com]buster is now known as Combuster
14:43:34 *** Eddi|zuHause2 has joined #openttd
14:47:55 *** robotboy has joined #openttd
14:50:25 *** Eddi|zuHause2 is now known as Eddi|zuHause
14:58:08 *** ChanServ sets mode: +v tokai
15:03:23 *** theholyduck has joined #openttd
15:10:00 *** WizzleBLincoln has left #openttd
15:10:42 *** Wizzleby has joined #openttd
15:13:06 *** Combuster has joined #openttd
15:35:03 *** Combuster has joined #openttd
15:51:26 *** Doorslammer has joined #openttd
15:55:54 *** Combuster has joined #openttd
15:57:16 *** KenjiE20 has joined #openttd
16:25:02 *** Progman has joined #openttd
16:43:32 *** Eddi|zuHause2 has joined #openttd
16:50:52 *** lobster has joined #openttd
16:57:08 *** |Jeroen| has joined #openttd
16:59:00 *** Eddi|zuHause2 is now known as Eddi|zuHause
16:59:48 *** Grelouk has joined #openttd
17:00:45 <Turgid> Wow I just noticed the Improved Loading Algorithm option. That should be default!
17:07:07 <james> Are there any limits on the type of object a vector can contain?
17:07:17 <Turgid> Well it was turned off for me...
17:07:18 *** james is now known as Guest911
17:07:24 <Guest911> vector<string> works, but vector<MyClass> doesn't
17:08:41 <__ln__> what is "doesn't work"?
17:09:08 <Guest911> When I compile, I get a very long error message
17:09:32 <Terkhen> Guest911: the message will tell you what happens
17:13:21 *** [com]buster has joined #openttd
17:15:12 *** Polygon has joined #openttd
17:16:55 *** [com]buster is now known as Combuster
17:27:22 <CIA-6> OpenTTD: smatz * r19693 /trunk/src/network/ (core/tcp_game.h network_server.cpp): -Codechange: split STATUS_INACTIVE to two states
17:28:29 <SmatZ> STATUS_INACTIVE and STATUS_NEWGRFS_CHECK
17:28:40 <SmatZ> the message looked strange
17:28:50 <SmatZ> split STATUS_INACTIVE to STATUS_INACTIVE and STATUS_NEWGRFS_CHECK
17:28:51 *** Andel is now known as Guest913
17:28:51 *** _Andel_ is now known as Andel
17:29:00 <SmatZ> doesn't even look like a sentence
17:35:07 *** Combuster has joined #openttd
17:40:06 *** Guest913 is now known as Andel
17:45:29 <CIA-6> OpenTTD: translators * r19694 /trunk/src/lang/ (greek.txt luxembourgish.txt norwegian_nynorsk.txt polish.txt):
17:45:29 <CIA-6> OpenTTD: -Update from WebTranslator v3.0:
17:45:29 <CIA-6> OpenTTD: greek - 8 changes by vesnikos
17:45:29 <CIA-6> OpenTTD: luxembourgish - 1 changes by Phreeze
17:45:29 <CIA-6> OpenTTD: norwegian_nynorsk - 1 changes by 2rB
17:45:31 <CIA-6> OpenTTD: polish - 16 changes by xine
17:55:20 *** Absolutis has joined #openttd
17:57:04 <Turgid> I wish there was a "load some" order. I don't want them to leave empty, but I don't necessarily want them to wait for a full load. This is probably not a common problem though.
17:57:43 *** devilsadvocate has joined #openttd
17:58:43 <peter1138> well you can use timetabling to make them wait a little bit, but...
18:00:53 <Turgid> Yeah that's what I've done, it's better than nothing.
18:02:35 <Turgid> Of course then if there does happen to be a full load, they wait around in the station for awhile before delivering it.
18:07:04 *** Barbaar has joined #openttd
18:07:12 *** Barbaar was kicked by DorpsGek (Wrong channel. Retry in #openttdcoop.)
18:10:46 <Eddi|zuHause> hm... what a rare sight nowadays :p
18:19:43 *** Rhamphoryncus has joined #openttd
18:19:51 <james_> Can class MyClass contain vector<MyClass>?
18:21:15 <Yexo> not sure, but it can contain a vector<MyClass*>
18:22:17 * SmatZ wonders why is there std::move
18:22:27 <SmatZ> when there could be something like "operator <-"
18:26:08 <james_> I can't get it to work with vector<MyClass*> either
18:27:42 *** KenjiE20 has joined #openttd
18:28:00 <james_> I have in the header class MyClass { public: vector<MyClass> myvector; };
18:28:32 <james_> Then, in a method of MyClass, "MyClass m; myvector.push_back(m);"
18:29:51 <Rubidium> no copy constructor?
18:32:17 <james_> Putting "MyClass m; myvector.push_back(m);" in a constructor is silly, but I haven't put it in a constructor
18:32:52 <SmatZ> james_: what does the compiler say?
18:33:19 <SmatZ> something about recursive template instantiation?
18:34:25 *** ajmiles has joined #openttd
18:34:59 <CIA-6> OpenTTD: rubidium * r19695 /trunk/src/network/network_server.cpp: -Fix: leaking a file descriptor
18:36:48 <james_> I don't see anything on template or instantiation, but I do see something about copy constructors
18:40:54 *** theholyduck has joined #openttd
19:01:27 *** ajmiles has joined #openttd
19:04:54 *** lewymati has joined #openttd
19:08:00 *** ajmiles2 has joined #openttd
19:09:28 <james_> I declared an fstream in the header!
19:17:05 *** [com]buster has joined #openttd
19:23:08 *** [com]buster is now known as Combuster
19:31:47 <__ln__> oh my, i thought it ceased to exist over 20 years ago, but now it's here.
19:41:38 <Eddi|zuHause> and it took you two months to come up with this joke?
19:41:50 <CIA-6> OpenTTD: terkhen * r19696 /trunk/src/terraform_gui.cpp: -Fix [FS#3781]: Avoid showing building toolbars behind the main toolbar when the "Link landscape toolbar" setting is active.
19:46:34 *** JostVice has joined #openttd
19:47:43 <JostVice> sup guys, just discovered the awesome world of openttd and i'm struggling with a problem. is it possible to connect a train station to a city with a bus station? orders of train and bus at that station should be 'transfer'?
19:47:56 <JostVice> i guess the idea also translates to boats and planes
19:48:04 <Eddi|zuHause> JostVice: yes and no
19:48:29 <Eddi|zuHause> transfers can only work one way, so you can transfer people from the bus to train, or from train to bus, but not both
19:49:43 <JostVice> ummmm so what would be the ideal thing
19:49:46 <Eddi|zuHause> JostVice: in the order window, you have options for "load" and "unload", set this to "transfer and leave empty"
19:50:18 <Eddi|zuHause> the train station should accept passengers, and the busses should be set to transfer
19:50:28 <__ln__> Eddi|zuHause: i don't pay attention to people who don't talk, usually
19:50:54 <Eddi|zuHause> no, only bus should use transfer at the train station
19:51:10 <Eddi|zuHause> all other orders should be normal (or full load)
19:51:57 <JostVice> i'm supposed to connect with bus train stations that aren't directly in the center of the city?
19:52:10 <JostVice> I mean, the stations have no passenger, when the city has 4k+
19:52:48 <Eddi|zuHause> works great at airports as well
19:52:53 <OwenS> Or, as we (#openttdcoop'ers) often do, trams to trains to main station
19:53:05 <JostVice> so the transfer thing is to transfer from something to something else, I understand it for cargo and that because it is one way, but with passengers
19:53:12 <JostVice> for example, a bus that goes to a dock that goes to a oil rig
19:53:38 <OwenS> JostVice: "Transfer and take cargo" means pickup and don't unload. "Transfer and leave empty" means "Leave cargo here, don't pick anything up"
19:53:39 <Eddi|zuHause> JostVice: it's a technical problem
19:53:41 <JostVice> haha im still learning trains, I can only do 1 way trains (signal are a mindfuck for me )
19:54:04 <Eddi|zuHause> keep on learning :=)
19:54:14 *** [com]buster has joined #openttd
19:54:21 <JostVice> i've been seeing the different examples on the wiki
19:54:27 <JostVice> you guys build mad stuff
19:54:46 <JostVice> oh well, I have to wait for the authorities to let me build a bus stop...
19:57:22 <JostVice> the only tihng that matters to improve a city's rating is to plant trees? do the different actions in a city (like the build buildings, etc) help it?
19:58:37 <OwenS> JostVice: yes. Bribes work well if not discovered. Good stations help also
19:59:48 <JostVice> i'm unsure about bribing
20:00:08 *** [com]buster is now known as Combuster
20:10:58 *** KritiK_ has joined #openttd
20:16:38 *** KritiK_ is now known as KritiK
20:18:47 <Rhamphoryncus> It's far easier to ruin your reputation than to recover it. Often I build local bus service in a city just to get my reputation up, because I play to later build a rail line near it (which will destroy trees)
20:25:50 <JostVice> so bus should be set to transfer and leave empty? because i think my bus is taking the people he comes with, leaving none for the train...
20:26:41 <Eddi|zuHause> that is the problem why you can't have two way transfers, busses just pick up the passengers they just dropped off
20:28:45 *** frosch123 has joined #openttd
21:10:57 <lxnt> I have a question so dumb it's not even on the wiki. Excuse me. Is there any method to push up the industry rating (% transported).
21:11:30 <lxnt> I made a test map, and no matter what I do, oil stays on 67%, iron ore ate 84%.
21:11:41 <lxnt> ( with identical transport)
21:12:40 <SmatZ> still have train loading, use newest train model available, use newly built engines, build statue in town
21:13:53 <SmatZ> %transported is something different :)
21:14:34 <lxnt> I suspect statue will only raise the "local rating of transport service" (in the station info), no?
21:15:23 <lxnt> I thought the faster you load stuff into transport, the higher the %transported, but it apparently does not work like that.
21:15:28 <SmatZ> station rating affects %transported
21:17:29 *** Brianetta has joined #openttd
21:20:56 <lxnt> hm. rereading the game mechanics page for the n+1th time yields the idea that at least in case of one station per industry, %transported can not rise above station rating for the cargo type.
21:27:30 *** Nite_Owl has joined #openttd
21:39:51 <Eddi|zuHause> hm... sometimes news are funny... "google streetview cars accused of wardriving" :p
21:40:04 <Sacro> they are collecting MAC addresses
21:46:30 *** Brianetta is now known as Brianetta-moving
21:46:49 *** Brianetta has joined #openttd
21:47:14 *** Brianetta-moving has quit IRC
21:48:35 <Eddi|zuHause> Sacro: the news reads like the main concern are the SSIDs, which may contain names and personal data
21:50:30 *** KenjiE20 has joined #openttd
21:51:00 <Sacro> Eddi|zuHause: serves people right for broadcasting that
21:53:24 <Eddi|zuHause> no, it's not. for people who expect their WLAN not to broadcast beyond 500m... the neighbours likely already know the name, it's written on the door as well...
22:04:15 *** Nite_Owl_ has joined #openttd
22:05:30 *** Nite_Owl_ is now known as Nite_Owl
22:48:44 *** KenjiE20 has joined #openttd
22:49:14 *** Coco-Banana-Man has quit IRC
23:01:13 *** Dreamxtreme has joined #openttd
23:12:19 *** ProfFrink has joined #openttd
23:15:10 *** ProfFrink is now known as Prof_Frink
23:21:36 * andythenorth has never really understood the blanket objection to global variables. They produce real working code that can be understand.
23:21:41 <andythenorth> and the occasional cluster fuck
23:26:26 <Eddi|zuHause> the main argument against global variables is the lack of flexibility
23:26:59 <Eddi|zuHause> when you want to extend your program to use different contexts
23:27:49 <Eddi|zuHause> when you are sure you'll never need that flexibility, global variables are fine
23:37:30 <Rhamphoryncus> That and "action at a distance"
23:38:27 <Rhamphoryncus> If all your state is passed via arguments then it's much easier to understand what that state is
23:39:04 <Rhamphoryncus> If you use globals then there's no limit on your state
23:59:08 *** JVassie has joined #openttd
continue to next day ⏵