IRC logs for #openttd on OFTC at 2008-12-05
⏴ go to previous day
00:16:50 *** [alt]buster has joined #openttd
00:16:53 *** [alt]buster is now known as [com]buster
00:33:07 *** Eddi|zuHause has joined #openttd
00:33:52 *** sigmund has joined #openttd
00:46:14 *** DASPRiD is now known as DASPRiD|off
00:52:40 *** StarLionIsaac has joined #openttd
01:01:47 <ccfreak2k> This was as the year turned over in a network game.
02:00:45 * Belugas puts on Rammstein - Spielhur
02:00:56 <Belugas> just to keep himself awake
02:07:55 <Eddi|zuHause> i know you french speakers have a thing with 'h's, but you probably meant a "Spieluhr" ;)
02:09:25 <glx> 'h's are often useless :)
02:10:48 <Eddi|zuHause> unspoken 'h's in german are typically an indicator for long vowels
02:11:57 <Eddi|zuHause> the reverse of that is: 'h's that are not after a vowel are typically spoken
02:12:26 <glx> yes in 'ch' they have a use
02:13:47 <Eddi|zuHause> hm, those are special letter combinations, like the greek-derived 'ph'. those are special anyway
02:15:33 <Eddi|zuHause> what i meant were standalone 'h's
02:23:33 <Belugas> ooops.... i guess i read the title with half awaken eyes :S
02:24:31 <Belugas> When saying "Hello", it does not sound like "Hhhhhhrrrrrello" to me... maybe it's not just the french, but the english too ;)
02:24:47 <Belugas> so... maybe it's just a german thing ^_^ after all
02:30:08 <Belugas> life is so boring sometimes...
02:31:03 <murr4y> life is what you make it
02:31:40 <murr4y> for me, life is a never-ending journy towards ETERNAL EVILNESS
02:33:29 <Belugas> ho... and add my wife to it too hehe
02:34:05 <Belugas> even worse then the R-word
02:34:29 <Belugas> lucky for me, no snow staying on the ground yet
02:34:51 <murr4y> i love snow; the winter is coming like it or not right, so i just accept it and enjoy its good sides
02:35:05 <murr4y> as i said, it is what you make it :>
02:35:10 <Belugas> a merchant i need to change from one processor to a new one, plus verification of a bug that occured on a test site
02:35:42 <Belugas> murr4y, you do not live in quebec. you do not know what snow is
02:35:53 <Belugas> i've spent 18 hours last winter, shoveling
02:36:13 <murr4y> i live in northern norway, i know very good what it is :p
02:36:41 <murr4y> only thing i have to shovel is my car ^^
02:38:57 <Belugas> norway... yeah, i guess you would have as much as us...
02:41:11 <murr4y> looks like you're the one who could learn a bit about what snow can be :)
02:42:06 <murr4y> the view from my room:
02:42:30 <murr4y> that's near the end of november
02:42:39 <murr4y> our first snowfall, came really late
02:43:01 <murr4y> but don't come here and say that's not really beautiful :)
02:49:45 <Belugas> looks pretty much like in here, apart from the fact we still have not yet received snow that lasts, which is strange for this time of the year
02:50:07 <Belugas> note that some parts of quebec are already pretty much all white
02:50:41 <Belugas> MOntreal is on the south border of Quebec, so weather is more... hem...
02:51:12 <Belugas> ok... one customer happy..let's find out about #2
03:08:40 *** FloSoft has joined #openttd
03:21:35 <Belugas> can't think straigh anymore
03:24:49 <murr4y> let's cross our fingers, and hope you'll wake up to some snow shovelling tomorrow :>
04:19:08 *** roboboy has joined #openttd
04:22:49 <NoPride> anyone here can help me out with openttd dedicated server
05:22:41 *** DaleStan_ is now known as DaleStan
05:24:24 *** Sacro| is now known as Sacro
05:29:07 *** Zealotus has joined #openttd
05:34:10 *** De_Ghosty has joined #openttd
05:42:25 *** De_Ghosty has joined #openttd
06:14:15 *** Singaporekid has joined #openttd
06:16:41 *** Prof_Frink has joined #openttd
06:18:29 <NoPride> anyone here can help me out with openttd dedicated server
06:40:04 *** DephNet[Paul] has joined #openttd
07:01:04 <DorpsGek> Sacro: Bjarni was last seen in #openttd 3 weeks, 6 days, 9 hours, 33 minutes, and 1 second ago: <Bjarni> <ln-> well, good to see you back amongst the healthy, in any case. <-- sort off.... I'm totally tired and I missed everything at uni this week
07:20:22 *** roboboy has joined #openttd
07:36:38 *** rubyruy has joined #openttd
07:55:39 *** roboboy has joined #openttd
08:03:36 *** Alberth has joined #openttd
08:13:25 *** DASPRiD|off is now known as DASPRiD
08:32:53 *** DephNet[Paul] has joined #openttd
08:48:26 <planetmaker> hm... is it true that articulated vehicles can only use drive-through road stops?
09:13:56 <planetmaker> hm... interesting :)
09:38:48 *** DaleStan_ has joined #openttd
09:38:48 *** DaleStan is now known as Guest535
09:38:49 *** DaleStan_ is now known as DaleStan
09:39:14 <Alberth> Found a feature; negative clearing costs are colored red in the landarea info window, which is incorrect. I can see two approaches to solve this, either by some local tweak in that part of the code, or by introduction of a {COST} currency in the string system. What would be the preferred solution here?
09:47:15 *** lobster_MB has joined #openttd
09:49:52 *** [alt]buster has joined #openttd
09:49:55 *** [alt]buster is now known as [com]buster
10:13:34 *** George_ has joined #openttd
10:18:12 <Korenn> DaleStan: are you still working on that industry grf I posted about? Because if not, I'll have to advertize to find someone else.
10:19:09 <petern> the cargo grf should be available now, btw
10:19:31 <DaleStan> Not lately; Real Life got in the way just after I started, and hasn't let go. I'm still hoping it'll let go in the near future, but it hasn't happened yet.
10:20:20 <Eddi|zuHause> another poor soul lost to that horrible desease of "real life" ...
10:20:28 <Korenn> petern: yeah it is, thanks
10:20:49 <Korenn> DaleStan: that's fine, I'm not asking if it's done, just if it's still being worked on or not :)
10:21:38 <Korenn> I realize the holidays are coming up so expectations are low
10:22:10 <DaleStan> It's still relatively high on my list of things to do, just not tops.
10:22:49 <petern> hmm, does windows task scheduler keep a log file?
10:22:57 <petern> it says a task can't run, but i can't see why :o
10:24:05 <Eddi|zuHause> no idea, i have never used it
10:27:10 <petern> don't see anything in event log
10:27:22 *** stillunknown has joined #openttd
10:31:15 *** lobster_MB has joined #openttd
10:56:55 <yorick> is it me or could CargoList caches overflow
11:10:03 *** roboboy has joined #openttd
11:17:33 <yorick> argh, 3 times WITH!!!!! in one suggestion
11:20:33 <Eddi|zuHause> well... when the person cannot type...
11:22:22 <Alberth> or copy/pastes a word what he believes is a correct translation....
11:23:10 <yorick> what kind of language has "!" as part of a word?
11:24:49 *** lobster_MB has joined #openttd
11:25:17 *** Vikthor has joined #openttd
11:38:24 <Eddi|zuHause> yorick: it's an automatic replacement, when someone mistypes "with", it gets replaced by that...
11:40:20 *** ChanServ sets mode: +v tokai
11:55:20 *** roboboy has joined #openttd
12:18:46 *** lobster_MB has joined #openttd
12:23:09 <petern> Eddi|zuHause: unfortunately, whit is actually a word :p
12:23:49 <Eddi|zuHause> but i suppose that it is too uncommon in the forum :p
12:28:19 *** Progman has joined #openttd
12:29:57 *** NukeBuster has joined #openttd
12:39:56 <petern> i have that filter turned off anyway
12:58:54 <petern> heh, double tracks in one go... such an *original* suggestion...
12:59:15 <yorick> and he couldn't find anything similar
12:59:35 <petern> doesn't mean there isn't :)
13:00:35 <Eddi|zuHause> i want a LLL_RRR mainline in one go!
13:00:59 <Eddi|zuHause> and automatically include load balancers!
13:01:18 <yorick> and WITH!!!! switches!
13:01:46 <Eddi|zuHause> actually, i have never even used either...
13:06:35 *** Dr_B_Ching has joined #openttd
13:10:43 *** ChanServ sets mode: +v tokai
13:12:00 <SpComb> In Soviet Russia, OpenTTDLib hates YOU!
13:12:04 <SpComb> owait, that's what you said
13:12:46 <Gekz> In soviet russia, you get destroyed by OpenTTDLib
13:13:00 <SpComb> no, the you always has to go at the end
13:14:05 <yorick> in Soviet Russia, the end always has to go at the you!
13:15:12 <gynter> There is no soviet russia
13:15:35 <yorick> in Soviet Russia, there is no you.
13:16:15 <gynter> Wrong, I was born before the collapse
13:17:20 <yorick> in Soviet Russia, the collapse was born before you.
13:19:03 *** Dr_B_Ching has joined #openttd
13:25:18 *** De_Ghosty has joined #openttd
13:26:38 <yorick> what does int result do in void VehiclePayment(Vehicle *front_v)
13:28:30 *** Ridayah has joined #openttd
13:30:27 *** HerzogDeXtEr has joined #openttd
13:32:23 <Fangor> hmm, I have little problem if anyone care to help :=)
13:32:31 <gynter> hmh, why doesn't my server send response?
13:32:43 <yorick> because it's not in soviet russia?
13:32:59 <gynter> you keep repeating yourself
13:33:06 <Fangor> its about building railway, really simple problem that you prob can figure out in 1 sec :P
13:33:32 *** De_Ghosty has joined #openttd
13:33:36 <yorick> Fangor: don't ask to ask, just ask
13:33:54 <Fangor> I wanna build 1 railway between 2 stations with 2 trains on it but I cant figure out the trafic lights on the side track
13:34:03 <Fangor> see, real simple noobish question :P
13:34:14 <yorick> and what can't you figure out
13:34:23 <gynter> dont use any singnals, see what happens
13:35:04 <Fangor> well, the trains crash
13:35:14 <yorick> what version are you using?
13:36:46 <petern> they're called signals, not traffic lights. you can most likely find simple signalling guides
13:37:16 <Fangor> petern, sorry. yeah I've searched them but no one goes over what I need :(
13:37:22 <Fangor> atleast I have not found any
13:37:28 *** Terkhen has joined #openttd
13:37:31 <yorick> then what's your problem?
13:38:56 <Aali> Fangor: place a signal whereever a train may wait and dont ever build two-way signals unless you know what you're doing
13:39:05 <Aali> you'll figure it out eventually
13:39:23 <Fangor> I might be dumb, but I just spend the last 2 hrs doing it :/
13:40:27 *** HerzogDeXtEr1 has joined #openttd
13:41:04 <Fangor> Like I wanna build I basic everyday railroad line, 2 stations 1 track, one sidetrack for train to wait, 2 trains but the with all combinations I've tried it always ends up in a jam
13:43:11 <yorick> -------------------,-----------------,--------==============,--============--------,---
13:43:34 <yorick> =<- train, -<- rail ,<- signal
13:44:36 <mrfrenzy> yorick: you should have a single two-way signal at each end of the 1-way track
13:44:55 <Fangor> Cant I do it with 2 way tracks?
13:45:12 <yorick> 2-way tracks with more than 1 train will always jam
13:45:39 <Fangor> ah ok, even with a sidetrack for the other train to wait on?
13:45:59 <yorick> but the sidetrack needs to be long enough
13:46:14 <yorick> and then you still only have 1-way signals
13:46:16 <Fangor> ok, how long? My is just about the lenght of the train
13:46:54 <mrfrenzy> I mean't one two-way signal at each end of the two-way track
13:47:08 <mrfrenzy> then at each ends you need to have two one-way tracks, one in each direction
13:47:17 <mrfrenzy> so trains can wait there until the 2-way track is clear
13:48:33 <Fangor> thx for helping a noob :P
13:49:05 <yorick> stop hating yourself...
13:49:45 <mrfrenzy> it's quite common for people to say noob when they mean beginner
13:52:23 <Spoons> Eeew, turn around at station enabled.
13:55:54 <gynter> Hmm my server still doesn't like OTTD_PACKET_UDP_QUERY_SERVER
13:56:07 <gynter> it sends the data, but doens't get anything back
13:56:44 <gynter> $changed = stream_select($read, $write = NULL, $except = NULL, 0); this part returns false
14:02:05 <DASPRiD> gynter, that can be. is the socket blocked or unblocked?
14:02:55 <DASPRiD> or well, more, blocking or non-blocking ;)
14:03:36 <DASPRiD> gynter, you could describe your problem a bit more and probably show some source?
14:03:37 <gynter> stream_set_blocking($this->fp, false);
14:03:47 <gynter> Im using OpenTTDLib from rev 9000
14:04:40 <gynter> Haven't modifide OpenTTDLib
14:04:58 <DASPRiD> hm well you have a timeout of 0
14:05:08 <DASPRiD> which means, when there are no data on the socket at the moment, it directly returns false
14:06:04 <DASPRiD> anyway, there's a huge "warning" oh php.net/socket_select about setting a timeout of 0 ;)
14:06:20 <DASPRiD> your timeout should be at least 200,000 microseconds
14:06:47 <DASPRiD> $changed = stream_select($read, $write = NULL, $except = NULL, 0)
14:07:48 <DASPRiD> btw, what exacly are you trying to archive
14:07:52 <DASPRiD> query server information?
14:08:28 <gynter> $changes checks only if theres data in stream to process
14:08:45 <DASPRiD> you could also use fread() :x
14:09:46 <gynter> line 187 is the receive part
14:11:32 <DASPRiD> so its only called once?
14:12:05 <gynter> until it has data in it
14:12:17 <DASPRiD> i would just use fread
14:12:30 <DASPRiD> then it returns as soon as data are there
14:12:46 <DASPRiD> and in case of EOF, it returns without result
14:12:56 <gynter> $data = fread($this->fp, SEND_MTU);
14:13:23 <DASPRiD> yeah as i said, JUST the fread ;)
14:14:44 <gynter> var_dump($data) returns string(0) ""
14:14:49 *** Fantasya has joined #openttd
14:17:56 <gynter> Might the sent packed be wrong?
14:27:11 <yorick> when calculating a feeder share, is the age of the cargo used instead of the time it took someone to get it there?
14:29:22 <mrfrenzy> yorick: it's always the time from pickup to delivery that is payed for
14:29:33 <mrfrenzy> if you let it rot at some transfer station you will have to pay for it
14:30:04 <yorick> so the days_in_transit is reset?
14:31:44 <yorick> "pay transfer vehicle for only the part of transfer it has done: ie. cargo_loaded_at_xy to here", but the whole time seems to be used
14:32:22 <gynter> thats odd, the packed whats sent has lenght 4
14:32:41 <yorick> did you include the size byte?
14:33:05 <gynter> it "should" work with that afaik
14:36:17 <gynter> hmh, with my own written code, its 3, but still no answer
14:52:39 *** XeryusTC is now known as Xeryus|bnc
15:04:27 <gynter> I have no idea what I'm doing wrong
15:04:46 <gynter> data should move correcty since i can get servers data via game
15:11:43 <gynter> I was sending wrong packet size, now i get blocked error :P
15:25:22 <gynter> nevermind, got it working, thanks everyone
15:27:44 *** Celestar has joined #openttd
15:27:44 *** ChanServ sets mode: +o Celestar
15:29:09 *** HerzogDeXtEr has joined #openttd
15:29:51 <Celestar> Rubidium: well, took the ICE to Paris. Will take the TGV back tomorrow
15:29:58 <Celestar> ICE at 320km/h is pretty pretty awesome.
15:30:18 <Celestar> Thanks to our incapable goverments, the Track from Frankfurt to the Border sucks ass
15:31:29 * Rubidium didn't consider the Shinkansen pretty pretty awesome; it was all very quiet and uneventfull, even when passing stations at 300+ km/h
15:31:48 <Celestar> From an enviromental point of view, the train was horrible of course.
15:31:59 <Celestar> load factor of around 10%
15:33:01 <Splex> i was on the shanghai maglev once... 450km/h
15:33:38 <Splex> that was 2005, but when i went on it again in 06, they only went up to 350... top speed is 500, but i don't think they go that fast these days
15:34:10 <Celestar> Splex: they don't run 500km/h because it'd save them like 10 seconds on that short route :D
15:34:22 <Splex> and... surely more costly
15:34:45 <Splex> was pretty crazy going 450 though
15:35:39 <gynter> yeh, last year longest maglev arrival delay was 6 seconds
15:37:02 <Celestar> we had 20 minutes of delay yesterday
15:40:14 <Celestar> Rubidium: the thing is, the ICE can't go 320km/h in germany.
15:40:40 <Celestar> it sometimes goes up to 300km/h in Frankfurt-Stuttgart and Nuremburg-Ingolstadt, but only if it is delyed
15:42:22 <gynter> what happens if PACKET_UDP_CLIENT_GET_LIST sice exceeds the MTU?
15:43:10 <yorick> you'd need some more than 11 clients
15:43:45 <yorick> there are no clients in PACKET_UDP_CLIENT_GET_LIST
15:44:36 <gynter> according to network/core/udp.h
15:45:08 <yorick> it only sends the first 300-something
15:45:44 <DorpsGek> yorick: An error has occurred and has been logged. Please contact this bot's administrator for more information.
15:46:33 *** yorick was kicked by DorpsGek (I'm not stupid)
15:46:52 <yorick> why did I expect that?
15:47:08 <benjamingoodger> because you're not stupid either?
15:50:13 <yorick> he does not get kicked and I did
15:50:52 <Eddi|zuHause> that seems completely fair to me...
15:55:08 *** sigmund_ has joined #openttd
15:55:12 *** ChanServ sets mode: +v tokai
15:58:14 *** Dr_B_Ching has joined #openttd
16:02:16 *** Terkhen has joined #openttd
16:06:14 <Celestar> do we have any naming convention for static members of a class?
16:08:20 <Celestar> Rubidium: fine my be, but we cannot access them using this->, of course
16:08:46 <Celestar> hm ... we could prefix them with "_" only since they are, in essence, a global variable, aren't they?
16:09:19 <Rubidium> NameOfClass::variable
16:12:00 <Celestar> Rubidium: no it's not possible :P
16:12:31 <Celestar> gives a compiler error
16:12:57 <Celestar> yeah, cuz I've been st00pid
16:13:02 <Rubidium> then it isn't a static variable
16:14:17 <Celestar> should also change the declaration, not only definition :P
16:16:49 *** paul_ is now known as DephNet[Paul]
16:17:14 *** DephNet[Paul] has joined #openttd
16:20:11 *** Dred_furst has joined #openttd
16:23:59 <Celestar> where did I fsck up the saveload in cargodest :P
16:27:27 <glx> Celestar: trunk SAVEGAME_VERSION is 103
16:28:12 <Fantasya> general motors going to bankrupt
16:29:01 <Fantasya> 2.5million workers will lose the job
16:29:28 <Eddi|zuHause> hm... general motors owns NBC, and NBC shows Heroes... this is going to be trouble...
16:29:30 <Fantasya> world beautiful, by the way
16:31:02 <Fantasya> beautiful day, yorick
16:31:07 <Celestar> glx: yeah, seems so ;)
16:31:07 <Eddi|zuHause> they had that coming anyway...
16:31:16 <Celestar> glx: I just to find out where I have to raise it in cargodest :P
16:31:38 <Eddi|zuHause> they would have had that 5 years earlier, but they had to cover that up with a war...
16:31:42 <yorick> Fantasya: your crisis was already there
16:31:51 <Celestar> glx: I'm wondering whether I should put the cargodest revision to 255, so that I don't have that problem all the time.
16:32:34 * yorick points out to Celestar that there is such a thing as merge to trunk :)
16:32:35 <glx> use a #define CARGODEST_VERSION = SAVEGAME_VERSION + 1
16:32:40 <Fantasya> but she dont want to stop. she still coming :]
16:32:40 <Eddi|zuHause> Celestar: the MiniIN had a versioning system for that :)
16:33:15 <glx> Eddi|zuHause: a nasty one :)
16:33:27 <Eddi|zuHause> well, but it did work ;)
16:33:30 <Celestar> glx: is there anything wrong with setting it to 255? :P
16:33:42 <yorick> except for you can't bump it?
16:34:42 <Celestar> but having a handful of revisions in between could be helpful (=
16:35:50 <Eddi|zuHause> two ahead should usually suffice to maintain compatibility for trunk and limited compatibility in the branch
16:36:12 <Celestar> Rubidium: do we have any guildelines for that?
16:36:56 <Eddi|zuHause> i still think the minor version should be used for patched builds
16:37:11 <glx> no minor version should never be used
16:37:17 <Eddi|zuHause> and trunk would refuse to load games with a minor version > 0
16:37:21 <Celestar> I think we should have a branch suffix.
16:38:43 <yorick> Celestar: hg already has unique revisions for each branch
16:38:58 *** Singaporekid has joined #openttd
16:38:59 <Celestar> yorick: savegame revisions
16:39:10 <Eddi|zuHause> yorick: but you can't use those for savegame versions
16:39:27 <yorick> you can't use a string either
16:40:23 *** HerzogDeXtEr has joined #openttd
16:40:42 *** HerzogDeXtEr has joined #openttd
16:45:52 <yorick> I don't know if it even fixes anything
16:46:45 <yorick> you're the cargopacket expert :)
16:47:09 <Celestar> yorick: what is it supposed to fix? :P
16:47:26 <Rubidium> what is what supposed to fix?
16:48:36 <yorick> in case of multiple transfers, it uses only the time the transfer took instead of the whole journey for calculating the share
16:48:50 <yorick> (Rubidium has me on ignore :p)
16:49:04 <Celestar> Rubidium: the link yorick posted
16:49:41 <Rubidium> he's on ignore because he's annoying 99% of the time I'm reading this channel
16:50:44 <Celestar> but theoretically, there' nutting wrong with setting the saveload revision to like 200 in a "branch"
16:50:58 <Rubidium> oh... he has actually found a way to make FS#2427 even worse ;)
16:51:56 <yorick> it is actually part of the fix
16:52:07 <yorick> but, yes, it makes it worse
16:52:29 <Celestar> and what's wrong with your diff to 2427?
16:53:14 <yorick> read the comments there...
16:53:53 <Celestar> oh man, I'm on something that is (apparently) a 56k line...
16:54:25 <Celestar> maybe I should hijack a better one :P
16:54:34 <Eddi|zuHause> as long as it's the most expensive line you ever had... :p
16:54:49 <yorick> don't they have global wifi in Paris?
16:55:06 <Celestar> it either doesn't have any signal here, or it doesn't work :P
16:55:17 *** Xeryus|bnc is now known as XeryusTC
16:55:41 <Celestar> Rubidium: seems the entire partial payment system needs a bit o'thinking, doesn't it?
16:55:58 * yorick points out he's working on it
16:56:23 <yorick> aali and pm even more :)
16:56:27 <Eddi|zuHause> i'm of the opinion that waiting times on stations should not be considered
16:56:54 <Eddi|zuHause> possibly by having station expansion buildings like waiting halls and warehouses for certain cargo
16:57:06 <Rubidium> it's fine as it is... but as soon as people are going to move cargo from one company to another you'll end up with lots of trouble
16:57:13 <Celestar> Eddi|zuHause: not at the origin station, but in between they should be.
16:57:36 <Celestar> Rubidium: yes, for the moment.
16:57:44 <yorick> I'm of the opinion that the profit will be devided between the shareholders
16:57:45 <Rubidium> which isn't solvable without enormously exploding the size of the cargo packets
16:58:15 <Eddi|zuHause> you need a feeder share value for each company, or not?
16:58:26 <SmatZ> why should company A take cargo dropped by company B?
16:58:33 <Rubidium> as basically each cargopacket would become a list of "origin + destination + time travelled + vehicle + company" for each leg
16:58:44 <Eddi|zuHause> SmatZ: different local and long distance companies?
16:58:47 <yorick> the idea is to make a List with vehicles and shares
16:58:51 <Eddi|zuHause> happens a lot in reality
16:58:59 <SmatZ> Eddi|zuHause: the R word :)
16:59:22 <Eddi|zuHause> no, i deliberately used a different r word ;)
16:59:41 <Celestar> Rubidium: /me considers that too much
16:59:59 <Celestar> the word "overengineered" comes to my mind :P
17:00:18 <Eddi|zuHause> anyway, connecting established networks is of big gameplay value with cargodest
17:01:24 <Celestar> it will be more so with v2 :D
17:02:31 <Eddi|zuHause> Celestar: but the waiting time is the biggest problem for distributing a fair feeder share value
17:02:44 <Rubidium> the other thing that can be done is letting passengers and stuff pay for each leg of their route, but then you can very easily boost your profits
17:02:48 <Eddi|zuHause> otherwise you could calculate each leg individually
17:02:52 <Eddi|zuHause> and just add up the values
17:03:15 <Celestar> Rubidium: yes, hence I have been reluctant do so
17:03:23 <planetmaker> SmatZ: a very usual behaviour in passanger transport :)
17:03:26 <SmatZ> Rubidium: if company B takes cargo dropped by company A, the company A will pay company B current value... but then company A will have less profit
17:03:27 <yorick> Rubidum: you only need the vehicleid and share-value for each company
17:03:32 * planetmaker waves good evening to all
17:04:03 <Celestar> good evening from France, planetmaker :D
17:04:16 <Rubidium> SmatZ: I've said that before too, in e.g. FS#2427
17:04:19 <planetmaker> You must be really adicted, Celestar ;)
17:04:21 <yorick> he's abusing someones dailup
17:04:41 <Celestar> planetmaker: no, it's just raining and I'm waiting for dinner time :D
17:04:52 * Rubidium isn't waiting for dinner time
17:05:06 *** |Jeroen| has joined #openttd
17:05:50 <Eddi|zuHause> Rubidium: that can be solved by taking only the "effective distance" into account, so if the passenger would go from A(0,0) to C(0,10) and you transport him via B(5,5), the feeder share at B would be calculated as if it was at B'(0,5). so transporting people backwards would actually cost you money
17:06:41 <Celestar> Eddi|zuHause: you mean projecting all intermediate points onto the line [A,C] ?
17:06:52 <Celestar> hm . interesting concept
17:07:54 <planetmaker> Eddi|zuHause: I don't think it's a terribly useful concept.
17:08:08 <planetmaker> Just consider to play with the landscape and going around a mountain range
17:08:43 <planetmaker> Rather like DB does: if you take the longer route between A and B, you pay more...
17:09:28 <planetmaker> no no. I never use that word.
17:09:29 <Eddi|zuHause> planetmaker: that is exactly the point that rubidium was trying to avoid
17:09:55 <Eddi|zuHause> you can too easily boost your money by just shoveling the passengers to the other end of the map
17:10:21 <planetmaker> Eddi|zuHause: my approach is not to pay when you intermediately drop the cargo. All payment is done upon final delivery
17:10:39 <thingwath> if there is no other way, they have to go to the other end of the map and pay for it :-)
17:10:39 <planetmaker> And then calculate effective travel time --> all get less, if they carry it in circles.
17:10:40 <Celestar> that is what happens now.
17:11:25 <Eddi|zuHause> planetmaker: but that requires keeping a reference to all vehicles that carried the cargo
17:11:30 <planetmaker> Celestar: doesn't happen now. You get an approx. share when you transfer cargo. The final vehicle gets the difference between paid transfer money and actual payment
17:11:33 <Eddi|zuHause> in each cargo packet
17:11:35 <planetmaker> Eddi|zuHause: yes
17:11:47 <planetmaker> I am aware of it. That's the backdraw...
17:11:50 *** Progman_ has joined #openttd
17:12:00 <Eddi|zuHause> i don't think that would be terribly effective. plus what do you do with invalid references?
17:12:18 <planetmaker> you mean invalide vehicle IDs? Ignore.
17:12:28 *** Progman__ has joined #openttd
17:12:35 <planetmaker> meaning: don't consider when handing out money
17:12:45 <Eddi|zuHause> like when you sell a vehicle, and build another one? do they get the old ID?
17:14:20 <Eddi|zuHause> you can't cycle through each cargo packet each time you sell a vehicle
17:14:25 <planetmaker> That might indeed have interesting side effects. But they could - in principle - be taken care of.
17:14:36 <planetmaker> Then we don't use vehicleID, but companyID
17:14:55 <planetmaker> vehicles need income.
17:15:07 <Eddi|zuHause> that's what is exactly the current problem ;)
17:15:30 <yorick> if someone sells a vehicle, it does not need income
17:16:02 <planetmaker> But you don't want to attribute the money to another vehicle either.
17:17:32 <yorick> if someone sells a vehicle, just give money to the company
17:19:33 *** Progman__ is now known as Progman
17:20:37 *** Celestar has joined #openttd
17:20:37 *** ChanServ sets mode: +o Celestar
17:28:07 *** frosch123 has joined #openttd
17:34:55 *** stillunknown has joined #openttd
17:35:24 *** Brianetta has joined #openttd
17:39:23 *** Progman_ has joined #openttd
17:44:48 *** Progman_ is now known as Progman
17:47:12 *** Progman has joined #openttd
17:53:38 *** Brianetta has joined #openttd
18:02:16 <CIA-1> OpenTTD: rubidium * r14656 /trunk/src/ (fileio.cpp fios.cpp): -Change: replace instances of x & S_IFREG with S_ISREG(x) as S_IFREG can be 0 on some platforms.
18:06:20 <petern> there's only one letter between 'em
18:07:13 <Belugas> or eleven... depends how you count them ;)
18:32:03 *** XeryusTC is now known as Xeryus|bnc
18:33:34 *** Xeryus|bnc is now known as XeryusTC
18:34:15 <Belugas> hehehe really tired... Receviving an email starting with FYI. Read it as "Fuck You Idiots"
18:34:51 <benjamingoodger> that is the traditional meaning, yes...
18:35:21 <benjamingoodger> FYI: "you're an idiot and I resent having to remind you of this"
18:35:27 <planetmaker> have a good night Belugas :)
18:35:46 <planetmaker> Sounds like you need to call one or two buddies and order a round of cold beer or alike
18:38:52 *** XeryusTC is now known as Xeryus|bnc
18:44:11 *** Xeryus|bnc is now known as XeryusTC
18:45:21 <CIA-1> OpenTTD: translators * r14657 /trunk/src/lang/ (7 files in 2 dirs): (log message trimmed)
18:45:21 <CIA-1> OpenTTD: -Update: WebTranslator2 update to 2008-12-05 18:44:56
18:45:21 <CIA-1> OpenTTD: afrikaans - 5 fixed by burgerd (5)
18:45:21 <CIA-1> OpenTTD: icelandic - 13 fixed by scrooge (13)
18:45:21 <CIA-1> OpenTTD: latvian - 101 fixed by Wersoo (101)
18:45:22 <CIA-1> OpenTTD: lithuanian - 4 fixed, 293 changed by linasmi (297)
18:45:24 <CIA-1> OpenTTD: malay - 40 fixed by Syed (40)
18:56:14 *** Brianetta has joined #openttd
19:01:22 *** paul_ is now known as DephNet[Paul]
19:01:50 *** DephNet[Paul] has joined #openttd
19:04:26 *** DephNet[Paul] has joined #openttd
19:19:16 *** DephNet[Paul] has joined #openttd
19:20:10 *** De_Ghosty has joined #openttd
19:27:34 *** Yorick is now known as yorick
19:29:06 *** mrfrenzy has joined #openttd
19:33:39 *** grumbel has joined #openttd
19:59:09 <svippery> So I pop in to see if anything is new, but apparently not.
19:59:15 *** svippery is now known as svip
20:02:37 *** XeryusTC is now known as Xeryus|bnc
20:03:29 <yorick> or I just forget to define pools
20:03:37 <yorick> why are they called "old", btw?
20:05:25 *** Xeryus|bnc is now known as XeryusTC
20:22:32 <Eddi|zuHause> because there are supposed to be new ones
20:28:45 <gynter> why I get blocking error when communicating with masterserver?
20:28:57 <gynter> but only if mtu is bigger than real packet size
20:29:18 *** De_Ghosty has joined #openttd
20:30:09 <gynter> blocking is set to true
20:31:06 <svip> I haven't played this game in half a year, any new significant features since then?
20:31:08 *** XeryusTC is now known as Xeryus|bnc
20:32:45 <Sacro> Rubidium: do you want ArchLinux packages?
20:34:40 <svip> But but... it had colours before!
20:35:04 <svip> Or did they change all the colours (e.g. invert them)?
20:35:16 *** Xeryus|bnc is now known as XeryusTC
20:35:32 <Eddi|zuHause> no, there are no new features since half a year ago
20:35:47 <Eddi|zuHause> except maybe "advanced settings"
20:36:11 <Eddi|zuHause> that is clearly the most significant feature
20:36:19 <planetmaker> Eddi|zuHause: yapp?
20:36:39 <Eddi|zuHause> nah... how can that tiny thing be significant?
20:36:53 <Eddi|zuHause> oh... and the earring bug is still not fixed...
20:36:54 <planetmaker> hm... probably you're right.
20:37:13 <planetmaker> and renaming player to company.
20:37:28 <Eddi|zuHause> that's clearly a huge indicator that nothing significant could have happened
20:37:44 <planetmaker> people are as bored as the devs.
20:39:58 <yorick> svip: they made it possible to play dos grfs with windows grfs combined
20:40:27 *** De_Ghosty has joined #openttd
20:40:41 <Eddi|zuHause> yeah, that's exactly it
20:41:02 *** Terkhen has joined #openttd
20:41:30 <Eddi|zuHause> oh... and there's this insignificant hg branch going on... but i forgot why people even wanted that feature...
20:41:43 <yorick> infrastructure sharing
20:44:27 <planetmaker> I've seen no AI for long either
20:44:30 *** XeryusTC is now known as Xeryus|bnc
20:47:24 *** Xeryus|bnc is now known as XeryusTC
20:49:42 *** Nite_Owl has joined #openttd
20:50:28 *** De_Ghosty has joined #openttd
20:50:46 <Belugas> [15:37] <Eddi|zuHause> oh... and the earring bug is still not fixed... <-- well... minds are really hard to bug fix...
21:10:14 <yorick> is there any pow function in C?
21:10:41 <Belugas> [15:38] <planetmaker> people are as bored as the devs. <-- another explanation: devs (at least me) are too busy with the insanity called R
21:11:23 <yorick> like the one in math.h?
21:14:53 <glx> but using float math is not welcome in a multiplatform program
21:17:33 <glx> well it's usually not a problem, but as OTTD requires every client do the exact same things, rounding errors can be a problem
21:17:59 *** DephNet[Paul] has joined #openttd
21:21:38 <yorick> my oldpool doesn't like me :(
21:21:56 <yorick> glx: pow isn't necessarily float math
21:22:56 <glx> double pow(double, double)
21:23:18 <thingwath> pow makes sense even for natural numbers :-)
21:25:11 <Eddi|zuHause> but that needs a completely different implementation
21:25:51 <Eddi|zuHause> basically, you do square-and-multiply instead of reducing it to e-functions
21:28:02 <yorick> oldpool.h:125, expression index < this->GetSize() failed
21:29:06 <yorick> on creating a new pool item
21:31:07 <glx> you don't use the right method probably
21:31:20 <yorick> what method should I use?
21:34:44 <yorick> CargoShareInfo *csi = new CargoShareInfo();
21:36:23 <glx> did you check CargoShareInfo::CanAllocateItem() before?
21:37:03 <glx> doesn't mean you can add an item
21:41:26 *** rubyruy has joined #openttd
21:46:09 <yorick> undefined reference to `PoolItem<CargoShareInfo, unsigned int, &(_CargoShareInfo_pool)>::CanAllocateItem(unsigned int)'
21:49:58 <yorick> ah, I forgot adding a block to start with
21:50:09 <yorick> but I still can't use CanAllocateItem :/
21:50:11 <glx> beacuse all PoolItems have static bool CanAllocateItem(uint count = 1);
21:51:05 <yorick> but why isn't it in mine?
21:55:47 <yorick> m, I did not even call it with an int
21:57:52 <yorick> wait, could it be that I have to include oldpool_func.h?
22:00:35 <glx> needed for allocation tto
22:01:48 <yorick> that could explain something :p
22:07:53 *** George_ has joined #openttd
22:08:27 *** George_ has joined #openttd
22:08:59 *** George_ has joined #openttd
22:09:28 *** George_ has joined #openttd
22:12:41 *** XeryusTC is now known as Xeryus|bnc
22:14:30 *** Xeryus|bnc is now known as XeryusTC
22:23:41 *** [com]buster has joined #openttd
22:37:00 *** XeryusTC is now known as Xeryus|bnc
22:38:51 *** Xeryus|bnc is now known as XeryusTC
22:47:02 <CIA-1> OpenTTD: rubidium * r14658 /trunk/src/settings_gui.cpp: -Change: allow changing town names when there are no towns in the scenario yet.
22:47:47 <Eddi|zuHause> interesting feature
22:48:14 <Eddi|zuHause> anyone seen my DVD marker?
22:48:38 <benjamingoodger> yeah, I borrowed it yesterday
22:48:48 <Rubidium> between your poptarts wrappers?
22:49:08 <benjamingoodger> I left it sellotaped to the back of your monitor for a joke
22:49:10 <Eddi|zuHause> you mean the printouts of my diploma thesis draft
22:50:19 <Rubidium> did you actually succeed in creating a draft?
22:50:46 <Eddi|zuHause> i did write a few words down per chapter
22:51:18 <Eddi|zuHause> i have till monday to send it to my professor
22:55:13 <Eddi|zuHause> cool i actually found it...
23:05:28 *** XeryusTC is now known as Xeryus|bnc
23:06:54 *** Yeggstry has joined #openttd
23:07:07 *** Xeryus|bnc is now known as XeryusTC
23:37:26 *** stillunknown has joined #openttd
23:48:12 *** Celestar has joined #openttd
23:48:12 *** ChanServ sets mode: +o Celestar
23:50:28 *** Yeggstry is now known as Yeggzzz
23:54:43 <Eddi|zuHause> it's the frenchman
23:55:35 <Eddi|zuHause> hm, i don't think i'm allowed to send in my diploma thesis in french...
23:55:57 <Eddi|zuHause> i believe the rules said german or english
23:56:47 <Gekz> I'm pretty sure in Australia it's whatever language you please, as long as there is a translator available
continue to next day ⏵