IRC logs for #openttd on OFTC at 2008-11-12
            
00:03:20 *** [alt]buster has joined #openttd
00:03:20 *** [com]buster has quit IRC
00:03:22 *** [alt]buster is now known as [com]buster
00:10:27 *** Chrill has quit IRC
00:12:43 *** Vikthor has quit IRC
00:13:56 *** fonso has left #openttd
00:22:01 *** NukeBuster has quit IRC
00:23:50 *** HerzogDeXtEr has joined #openttd
00:30:20 *** Sacro has joined #openttd
00:32:54 *** Eddi|zuHause has quit IRC
00:33:12 *** Eddi|zuHause has joined #openttd
00:36:39 *** welshdragon has quit IRC
00:37:19 *** Sacro has quit IRC
00:49:14 *** Sacro has joined #openttd
00:53:52 *** TinoM has quit IRC
00:54:33 *** Yeggstry is now known as Yeggzzz
01:01:04 *** stillunk1own has quit IRC
01:02:14 *** Andel has joined #openttd
01:05:53 <Antdovu> patch working :)
01:06:13 *** mikegrb has quit IRC
01:14:51 *** mikegrb has joined #openttd
01:15:28 *** HerzogDeXtEr1 has joined #openttd
01:17:56 *** roboboy has joined #openttd
01:22:06 *** HerzogDeXtEr has quit IRC
01:22:47 *** benjamin_ has joined #openttd
01:25:08 *** benjamingoodger is now known as Guest2820
01:25:08 *** benjamin_ is now known as benjamingoodger
01:28:21 *** Guest2820 has quit IRC
01:37:19 *** Phoenix_the_II has joined #openttd
01:38:49 *** PhoenixII has quit IRC
01:42:36 *** Char has quit IRC
01:42:43 *** Kommer_ has joined #openttd
01:42:43 *** Kommer is now known as Guest2826
01:42:43 *** Kommer_ is now known as Kommer
01:44:31 *** Guest2826 has quit IRC
01:45:22 *** Dred_furst has joined #openttd
01:49:31 *** Dred_furst has quit IRC
01:55:31 *** roboboy has quit IRC
01:57:06 *** Fuco has quit IRC
02:02:26 *** KritiK has quit IRC
02:08:16 *** benjamingoodger has quit IRC
02:10:13 *** Antdovu has quit IRC
02:27:09 *** [alt]buster has joined #openttd
02:27:09 *** [com]buster has quit IRC
02:27:12 *** [alt]buster is now known as [com]buster
02:28:33 *** De_Ghosty has joined #openttd
02:48:56 *** Yexo has quit IRC
03:02:12 *** glx has quit IRC
03:07:06 *** gauthier has quit IRC
03:13:34 *** Singaporekid has joined #openttd
03:15:11 *** Bergee has joined #openttd
03:22:22 *** gauthier__ has joined #openttd
03:22:24 *** gauthier__ is now known as gauthier
03:29:17 *** [alt]buster has joined #openttd
03:29:17 *** [com]buster has quit IRC
03:29:20 *** [alt]buster is now known as [com]buster
03:48:43 *** roboboy has joined #openttd
04:02:32 *** elmex_ has joined #openttd
04:05:53 *** DephNet[Paul] has quit IRC
04:06:32 *** DephNet[Paul] has joined #openttd
04:07:34 *** elmex has quit IRC
04:07:35 *** elmex_ is now known as elmex
04:11:05 *** [alt]buster has joined #openttd
04:11:05 *** [com]buster has quit IRC
04:11:08 *** [alt]buster is now known as [com]buster
04:55:06 *** gauthier has quit IRC
04:58:33 *** vraa has joined #openttd
04:59:21 <vraa> hello
04:59:46 <vraa> i am trying to get some AI's working in openttd, i am on mac os x 10.5, i have downloaded a nightly build, r14575. i created a dir called "ai" and put in a few .tar files
05:00:06 <Aali> you need a noai build for that
05:00:10 <vraa> i pushed "`" key and brought down console, i typed "list_ai" and it said back "Error: command or variable not found"
05:00:35 <Aali> noai is not in trunk yet, its a separate branch
05:00:49 <vraa> http://www.openttd.org/en/download-noai <-- is that a proper place to download it from?
05:01:10 <Aali> that seems about right, yes
05:01:48 <vraa> okay thanks, let me test it out
05:02:08 *** Sacro has quit IRC
05:02:35 <vraa> excellent, where should i submit crash reports?
05:02:44 <vraa> i typed "start_ai wrightai" and it crashed
05:03:34 <Aali> what did it tell you? was it an assert?
05:03:37 <vraa> i just tried admiralai and it creashed again
05:03:49 <vraa> i am not sure, let me pastebin a crash log
05:04:32 <vraa> http://pasternak.superalloy.nl/pastes/1058
05:06:15 <Aali> that looks like something you'd want to report as a bug, yes :)
05:06:27 <Aali> bugs.openttd.org
05:06:28 <vraa> i'm not sure how to go about that process, do you guys use trac?
05:08:54 <vraa> do crashes on non-windows not product a crash.log and crash.dmp file?
05:09:09 <Aali> nope
05:11:47 <vraa> is it possible i am doing something else wrong? are all AI's broken with the NoAI build?
05:13:30 <Aali> its probably an OS X issue
05:13:36 <vraa> oh
05:13:41 <Aali> afaik, none of the devs have OS X to test on
05:13:46 <vraa> oh that sucks
05:14:00 <vraa> well, let me go to my desktop :(
05:14:18 <vraa> http://bugs.openttd.org/task/2405
05:16:31 <Aali> ah, its actually crashing in the freetype lib
05:16:42 <Aali> so you might want to look into that
05:16:55 <vraa> how did you find that out?
05:17:18 <Aali> FT_RoundFix is a freetype function ;)
05:24:15 <Aali> further investigation shows that SIGABRT is caused by OS X when its not able to find a library
05:24:31 *** mucht_work has quit IRC
05:24:35 <Aali> so, you're probably just missing the freetype libs
05:25:08 <vraa> i am going to download and play on my windows computer instead
05:25:16 <vraa> if osx wants to be a crybaby, let it
05:31:05 <vraa> can i only run 1 AI at a time?
05:34:07 *** [alt]buster has joined #openttd
05:34:07 *** [com]buster has quit IRC
05:34:10 *** [alt]buster is now known as [com]buster
05:37:16 *** Frostregen has joined #openttd
06:16:44 *** [alt]buster has joined #openttd
06:16:44 *** [com]buster has quit IRC
06:16:47 *** [alt]buster is now known as [com]buster
06:17:59 *** roboboy has quit IRC
06:20:09 *** roboman has joined #openttd
06:21:17 *** sigmund_ has joined #openttd
06:23:06 *** sigmund has quit IRC
06:45:08 <Eddi|zuHause> you can run 1 AI per AI player
06:57:52 *** [alt]buster has joined #openttd
06:57:52 *** [com]buster has quit IRC
06:57:55 *** [alt]buster is now known as [com]buster
07:17:14 *** rubyruy has quit IRC
07:23:47 *** rubyruy has joined #openttd
07:31:12 *** FloSoft has joined #openttd
07:45:24 *** rubyruy has quit IRC
07:48:14 *** TinoM has joined #openttd
07:58:06 *** rubyruy has joined #openttd
08:03:51 *** Frostregen has quit IRC
08:18:29 *** mikl has joined #openttd
08:20:50 *** mucht_work has joined #openttd
08:21:15 *** paul_ has joined #openttd
08:23:31 *** paul_ has quit IRC
08:23:50 *** paul_ has joined #openttd
08:25:16 *** DephNet[Paul] has quit IRC
08:33:24 *** ecke has quit IRC
08:41:01 *** [alt]buster has joined #openttd
08:41:01 *** [com]buster has quit IRC
08:41:04 *** Zahl has joined #openttd
08:41:04 *** [alt]buster is now known as [com]buster
08:48:45 *** ecke has joined #openttd
09:05:46 *** Singaporekid has quit IRC
09:11:06 *** Char has joined #openttd
09:11:30 <planetmaker> [06:16] <Aali> afaik, none of the devs have OS X to test on <--- untrue.
09:11:50 <planetmaker> and good morning #openttd :)
09:16:44 <Rubidium> oh... if someone wants to 'quote' me, then 'quote' me and don't guess what I might have said
09:20:46 <petern> hmm?
09:21:33 <Rubidium> petern: looks very much like something I said, but it misses a few nuances
09:27:04 *** [com]buster has quit IRC
09:34:44 <Aali> planetmaker: hence the "afaik", i was not sure of that :)
09:36:36 *** fonso has joined #openttd
09:41:14 <planetmaker> Aali: how else should they provide OS-X binaries?
09:41:38 <planetmaker> @seen Bjarni
09:41:38 <DorpsGek> planetmaker: Bjarni was last seen in #openttd 4 days, 12 hours, 13 minutes, and 35 seconds 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
09:43:54 <petern> you don't need OS X to provide OS X binaries
09:44:06 <petern> i can't remember the last time bjarni actually tested something ;)
09:44:44 *** Doorslammer has joined #openttd
09:45:37 <planetmaker> petern: I know, and I know you don't produce them this way. But to properly support it, it usually requires one dev to have that operating system - at least for the OS-specific issues.
09:45:53 *** Zahl_ has joined #openttd
09:46:26 *** Zahl has quit IRC
09:46:26 *** Zahl_ is now known as Zahl
09:52:11 *** Vikthor has joined #openttd
09:52:47 *** ecke has quit IRC
09:53:06 *** Antdovu has joined #openttd
09:55:21 <petern> planetmaker, not really, it just needs someone to test.
09:55:44 <planetmaker> hm... yeah. But way easier, if the person to test it, is yourself.
09:56:02 <planetmaker> (= the person who writes the patch)
09:57:11 * petern ponders resyncing railtypes.hg
09:57:20 <planetmaker> :)
09:57:28 <petern> hmm, only 44 changesets
09:58:59 *** davis-- has joined #openttd
10:01:22 <fonso> I still think that diagonal levelling is very useful, especially for large maps where you might want to lay long stretches of diagonal rail. Still, no one has commented. See FS#2320 and FS#730
10:03:49 * davis-- hi
10:04:51 <Antdovu> why was it rejected?
10:04:52 <planetmaker> petern: jumping onto the trains with 'look at this patch': maybe you want to re-consider the newgrf-gui http://bugs.openttd.org/task/2195 :)
10:05:27 <planetmaker> last thing I did was fixing the one-off error and updating it. But as far as I'm aware it still applies smoothyl to current trunk.
10:06:01 <fonso> No one rejected the diagonal levelling patch. At least I haven't heard of it.
10:06:33 <fonso> It seems I just can't get anyone to take a look at it.
10:07:20 <planetmaker> no comment != no look :)
10:07:28 <Antdovu> all the devs are busy learning macedonian ;)
10:07:46 <fonso> so what should I do? It has been around for some months now.
10:08:34 *** Korenn has joined #openttd
10:09:04 <Antdovu> unfortunately I have no idea, I started with patches just a few days ago
10:09:14 *** davis-- is now known as davis
10:09:19 *** davis is now known as davis-
10:17:40 <Aali> diagonal levelling can wait, i really want to see newgrf-gui in trunk, though
10:18:29 <Aali> its so much better than the old gui
10:23:37 *** Zahl_ has joined #openttd
10:23:37 *** Zahl has quit IRC
10:23:37 *** Zahl_ is now known as Zahl
10:23:42 <Antdovu> how do they conflict?
10:24:18 <Aali> they take up devs precious time ;)
10:24:31 <planetmaker> :)
10:27:00 <Antdovu> by the way, I managed to make my company info save/load patch (almost) fully functional
10:33:34 <Antdovu> should it save the company password?
10:35:03 *** Brianetta has joined #openttd
10:37:37 <davis-> hm
10:39:08 *** Yexo has joined #openttd
10:40:55 *** mikl has quit IRC
10:43:20 <Antdovu> Yexo: should saving company info also save the password?
10:44:33 <Yexo> I don't think so
10:44:39 <Yexo> besides, you can already set a default password
10:45:12 <Yexo> is it even possible to save the password?
10:45:46 <Antdovu> I could always capture it when the user finishes typing it :P
10:46:01 <Antdovu> not sure otherwise
10:46:05 <Yexo> that is certainly a bad idea
10:46:19 <Antdovu> yeah, would be a bit of a hack...
10:49:36 *** murr4y has quit IRC
10:49:37 *** rubyruy has quit IRC
10:52:32 <Yexo> livery[i].colour1 = t1; <- I suggest you call a DoCommand that does the same, because this won't work in multiplayer
10:53:37 <Antdovu> that is a local variable
10:53:57 <Antdovu> I load &verify the file before docommandp
10:54:25 <Yexo> ah, I see
10:57:46 <Antdovu> any other possibly bad parts?
10:57:55 <Yexo> not that I see
10:58:01 <Yexo> looks like a nice patch
10:58:17 *** fonso has left #openttd
10:59:50 <Antdovu> well, it would probably have to get rid of sstream, fstream & string usage, wouldn't it?
11:00:04 <Yexo> yeah, that would be best
11:00:49 *** Vikthor has quit IRC
11:00:50 <Antdovu> fortunately that wouldn't be too difficult
11:01:11 <Antdovu> what about the general file format it uses for saving?
11:02:07 *** sulai has joined #openttd
11:03:55 *** sulai has quit IRC
11:08:25 *** [com]buster has joined #openttd
11:17:30 *** Char has quit IRC
11:19:20 *** davis- has quit IRC
11:22:19 *** davis has joined #openttd
11:23:34 *** Gekz has joined #openttd
11:23:47 *** Gekz has left #openttd
11:24:18 *** Gekz has joined #openttd
11:28:32 <Yexo> SmatZ: Why did you move FS#2404 to NoAI? The report is also valid for trunk
11:31:29 *** [alt]buster has joined #openttd
11:31:56 *** [com]buster has quit IRC
11:31:56 *** [alt]buster is now known as [com]buster
11:33:42 *** xerxesdaphat has joined #openttd
11:36:29 *** roboman has quit IRC
11:41:59 *** rubyruy has joined #openttd
11:50:11 *** Rexxie has joined #openttd
11:53:05 *** Rexxars has quit IRC
12:17:12 *** Aylomen has joined #openttd
12:38:22 *** welshdragon has joined #openttd
12:40:46 *** Doorslammer has quit IRC
12:43:51 *** Gekz has quit IRC
12:45:52 *** Tefad has quit IRC
12:47:47 *** Fuco has joined #openttd
12:48:16 *** Gekz has joined #openttd
12:48:57 *** huset has joined #openttd
12:48:59 <huset> morning.
12:49:03 *** huset is now known as china
12:49:11 <china> i think i have a simple one
12:49:37 <china> i use the same trucks for oil as for fuel oil, right?
12:50:15 <Yexo> that depends on the newgrf you use, but most probably yes
12:50:22 <china> oh, ok.
12:50:27 *** Tefad has joined #openttd
12:51:09 *** stillunknown has joined #openttd
12:51:19 <china> it doesnt seem to work. :3
12:51:46 <Yexo> did you refit the truck? What vehicle newgrf are you using?
12:51:55 <china> oh, i have to refit it? :o
12:52:05 *** Mortal has joined #openttd
12:52:06 <Yexo> yep
12:52:38 <china> but when its in the depot, i cant click the refit button
12:53:12 <Yexo> again, what vehicle newgrf are you using? ie are you sure the truck is refittable to fuel oil?
12:53:22 <china> let's see
12:53:32 <china> (im new to this, hold on)
12:54:11 <china> ottdc_grfpack_7.2.tar.bz2
12:54:16 <china> could that the be right answer? :3
12:54:26 <Yexo> that is a pack that contains a lot of newgrfs
12:54:47 <china> oh, ok.
12:54:57 <china> when i open the newgrf setting, i have alot of them added.
12:54:59 <Yexo> in game, the 3rd button of the main toolbar, there is "NewGRF settings" under there
12:55:00 <Yexo> try that
12:55:14 <Yexo> what openttd version are you using?
12:55:20 <Yexo> 0.6.3 or a nightly?
12:55:22 <china> 0.6.3
12:55:33 <Yexo> what truck are you trying to refit?
12:55:43 <china> volvo oil tanker
12:55:46 <china> to fuel oil.
12:57:53 * china has no idea.
12:57:59 <Yexo> what industry newgrf are you using?
12:58:20 <china> i can see that under the newgrf setting, right?
12:58:32 <Yexo> yes
12:58:40 <Yexo> I suspect Pikka basic industries, is that correct?
12:58:48 <china> yes
12:58:53 <china> v1.311
12:59:44 <Yexo> can you try starting a new game with only PBS and LV4 loaded?
12:59:53 <Yexo> the volvo is refitteble to fuel oil here
13:00:10 <Yexo> btw, can you refit the volvo to other cargo types or not at all?
13:00:17 *** rubyruy has quit IRC
13:00:25 <china> not at al
13:00:28 <china> all*
13:00:40 <Yexo> and you are sure it is stopped in the depot?
13:00:58 <china> how does one start a single game (i have a multiplayer server up right now) with only pbs and lv4? :<
13:01:02 <china> let's see.
13:01:12 <Yexo> go to the main menu, and remove all other newgrfs there
13:01:15 <china> yep, it's even telling me its waiting in depoo.
13:01:16 <Yexo> then start a singleplayer game
13:02:10 <Yexo> http://wiki.openttd.org/wiki/images/7/7d/Refit_ship.png <- and you are using the correct button?
13:02:18 <china> in a singleplayer game, i cant change it either.
13:02:28 <china> yep
13:02:31 <china> it's faded
13:03:43 <china> i applyed pikkas durig the single player game, and it still didnt work.
13:04:03 <china> +n
13:04:10 <Yexo> you should never change newgrfs during a game, that can give all kinds of probolems
13:05:07 <china> oh, ok.
13:06:07 <Yexo> I have no idea what your problem can be, as it works here
13:06:26 <china> ok
13:06:26 <china> well
13:06:30 <china> the server as it is works
13:06:34 <china> so i guess ill leave it
13:09:31 *** [com]buster has quit IRC
13:09:52 *** Andel has left #openttd
13:10:53 <china> i just recently realized that i could use my old server for openttd
13:10:56 <china> and its awesome.
13:12:12 *** Antdovu has quit IRC
13:12:47 * china love trucks
13:28:39 *** lobster_MB has quit IRC
13:29:52 <Brianetta> trucks
13:29:58 <Brianetta> I find them hard to like
13:30:04 <Brianetta> mainly because I dislike them IRL
13:32:22 <china> :)
13:32:27 <china> well
13:32:41 <china> its something special with filling a map with thousand of them
13:33:27 <china> tho, i remember when i played singleplayer some year ago
13:33:47 <china> and built train connection on every single industry on a 2048^2 map
13:34:02 <china> and played in hi-speed, and the map looked like a cpu. :P
13:34:45 *** Fuco has quit IRC
13:37:49 *** glx has joined #openttd
13:37:49 *** ChanServ sets mode: +v glx
13:39:19 *** davis is now known as davis-
13:40:54 <xerxesdaphat> anybody familiar with the new conditional order jumps?
13:43:17 <china> Yexo: i just got a tonne of problem
13:43:29 <china> the place that im leaving oil at is maxing, and i cant send it away :<
13:43:34 <china> no it doesnt accept oil no more
13:43:36 <china> noooooo
13:43:41 * china screams
13:43:59 <Yexo> then send your oil to another industry
13:44:14 <Yexo> xerxesdaphat: what do you want to know?
13:44:58 <china> aha
13:45:02 <china> now i know
13:45:14 <china> some veichles doesnt support refitting
13:45:16 <china> i solved it
13:45:17 <china> whohoo!
13:45:48 <xerxesdaphat> Yexo: having a little trouble understanding how it's supposed to work
13:45:55 *** Vikthor has joined #openttd
13:46:01 <xerxesdaphat> i've got a little shunter train taking coal and dropping it off for transfer
13:46:41 <xerxesdaphat> the behaviour i want is for it to wait until there's more than 50% full, then skip to the next order where it leaves the station and transfers the coal
13:46:43 *** lobster_MB has joined #openttd
13:47:05 <Yexo> currently that is not possible
13:47:11 <xerxesdaphat> ah ok
13:47:15 <Yexo> conditional orders are only checked after the current order is done
13:47:17 <xerxesdaphat> how is it intended to be used?
13:47:35 <xerxesdaphat> i found pretty scant information on teh wiki (expected, considering it's so new)
13:48:19 <Yexo> http://www.openttdcoop.org/blog/2008/10/20/complex-orders-and-improved-s-bahn-concept/ <- nice article explaining one of the possible uses
13:48:38 <arachnid> You could make it do an ordinary 'load', and loop until it's >50% full. :P
13:48:57 <xerxesdaphat> hmm
13:49:23 <Eddi|zuHause> imho, the behaviour should be changed, that when, after processing conditional orders, you end up at the same order, the train should not start
13:49:52 <arachnid> Eddi|zuHause: That would be an improvement. In fact, why restrict it to only conditional orders?
13:49:54 <Eddi|zuHause> arachnid: that will not work, as the train will leave the station after each load operation, and then has to turn back
13:50:06 <arachnid> Eddi|zuHause: That's what I was suggesting. :P
13:50:16 <arachnid> I didn't say it was a _good_ idea.
13:50:28 <arachnid> Although I'm not positive it's a bad one.
13:52:56 *** welshdragon has quit IRC
13:53:09 <xerxesdaphat> haha
13:53:19 <xerxesdaphat> now the silly thing is popping in and out of a depot at lightspeed
13:54:38 <Brianetta> Is there some kind of rule that all news articles placed on the www.openttd.org fornt page must contain the word "today"?
13:55:18 <xerxesdaphat> Brianetta: the admin has his mail feed piped through a grep/awk filter which scans for the word `Today'
13:55:26 <xerxesdaphat> he hasn't upgraded to gmail's labels yet
13:56:13 <china> oh shoot
13:56:58 <china> "Production last month: 835,000 litres of fuel oil (16% transported)"
13:57:03 <china> maybe it's time for a new train.
13:57:05 <china> ..
13:57:14 *** Swallow has joined #openttd
14:03:40 <china> what kind of industry takes on plastic?
14:03:42 <china> never seen it before.
14:07:49 <Swallow> You're using PBI?
14:08:44 <Eddi|zuHause> the factory in that case
14:09:16 <Eddi|zuHause> steel, plastic and lumber, i believe
14:11:02 <china> oh, ok.
14:13:08 <ln-> what a useful spanish course on youtube, "El techo está aislado con fibra de vidrio.", "Muchos metales están en la tabla periódica."
14:13:35 <china> :D
14:17:48 <ln-> "Superman es el hombre de acero."
14:19:42 <keyweed> very useful phrase. you never know when you run into superman
14:20:48 <ln-> or when you need to discuss about the insulation of the roof.
14:21:30 <arachnid> So, are any ottd devs around to give me a hint on where to start looking if I want to write a tool that loads a savefile and generates a (max. zoom) image of the whole map (then quits)?
14:21:42 <arachnid> I'm sure I'll find the necessary bits eventually, but a hint would be really nice. :)
14:24:39 <davis-> poke some of the @
14:25:58 * arachnid pokes Belugas DorpsGek orudge petern ru
14:26:02 <arachnid> er, Rubidium
14:26:08 <arachnid> How's that? :P
14:26:41 <Belugas> mmh?
14:26:56 <davis-> :o
14:27:02 <arachnid> < arachnid> So, are any ottd devs around to give me a hint on where to start looking if I want to write a tool that loads a savefile and generates a (max. zoom) image of the whole map (then quits)?
14:27:09 <arachnid> < arachnid> I'm sure I'll find the necessary bits eventually, but a hint would be really nice. :)
14:27:09 <keyweed> now you've done it. you woke a dev
14:27:12 * keyweed hides.
14:27:23 <arachnid> keyweed: Indeed. Avenge me if I perish.
14:29:05 <davis-> and the dev fell asleep again
14:29:10 <arachnid> :/
14:29:16 <Belugas> frankly, i am not in the mood of teaching the internals of the game, for starters
14:29:33 <Belugas> then, add to the fact i'm quite buzy working at work,
14:29:39 <arachnid> I don't require a tutorial - I was just hoping for a pointer.
14:29:48 <Belugas> makes it really hard for me to help you
14:29:49 <arachnid> Even finding main() in the source is enough of a pain.
14:30:10 <planetmaker> openttd.cpp
14:30:19 * Belugas would check the files baring the name of the section you want to work on
14:30:58 <arachnid> planetmaker: Just found that, actually. I presume ttd_main is called by some bootstrap infrastructure somewhere.
14:31:21 <arachnid> Belugas: It's not really a specific section, though. Never mind.
14:31:47 *** Dred_furst has joined #openttd
14:32:05 <planetmaker> arachnid: depends upon what you want to do. If you want to get the minimap you might want to search for exactly that: grep -Ri "minimap" *
14:32:24 <arachnid> Not the minimap - I want to render the real map.
14:32:27 <planetmaker> otherwise search e.g. for screenshot.
14:32:47 <planetmaker> (just random guesses)
14:32:58 <arachnid> I doubt any existing screenshot functionality will be especially helpful - I want to write a standalone tool that loads a savegame and renders the entire thing at the point the game was saved
14:33:10 <arachnid> But at least I can follow things through from ttd_main
14:33:20 <planetmaker> I don't say you should use that procedure. But those might tell you exactly what you need to know.
14:33:28 <Belugas> gosh... that would not be just a simple tool...
14:33:31 <arachnid> What would you suggest?
14:34:03 <Belugas> you need to know the map array, you need to know the grf loading, the rendering etc etc...
14:34:08 <arachnid> Belugas: Depends how the source is structured - hence my question. In principle, it could be as simple as instantiating a 'game' instance of some sort, telling it to load a save, then asking it to render a given region. But I don't know how the source is structured
14:34:08 <Belugas> have fun!
14:34:16 <planetmaker> a wrapper for a stripped-down or command-line driven Openttd which just outputs an image file - a screenshot
14:34:21 <arachnid> Isn't the point of encapsulation to abstract that?
14:34:42 <arachnid> planetmaker: That's more or less what I'm talking about - using ottd source, just not a full ottd client.
14:34:55 <Belugas> hint hint hint -> OpenTTD is only recently been added a C++ layer
14:35:01 <Belugas> mostly, it is a C code app
14:35:10 <arachnid> Fine with me. You can have encapsulation without OO :)
14:35:18 <planetmaker> well. But it wouldn't hurt to just take the client, add a command line parameter and then use that to open a specific save and dump a screen shot.
14:35:24 <Rubidium> openttd -g <savegame> and an a script with screenshot\nquit ?
14:35:37 <planetmaker> something like that ^^ :)
14:35:41 <Rubidium> maybe with screento <location>
14:36:14 <arachnid> And I can script that in a manner that captures the entire map?
14:36:15 * Rubidium notes that any of the before mentioned console commands could be ficticious
14:37:07 <Rubidium> oh, the whole map
14:37:10 <Rubidium> that's even easier
14:37:16 <Rubidium> no need to scroll, just screenshot big
14:37:16 <arachnid> Glad to hear it. How? :)
14:37:33 <arachnid> okay
14:37:46 <arachnid> I'm certainly not adverse to a solution that doesn't require any coding. ;)
14:37:53 <arachnid> s/adverse/averse/
14:39:02 <planetmaker> arachnid: you could 'just' add a command line option like --giant-screen which calls the giant screen proc and exits the game.
14:39:51 <arachnid> planetmaker: Is it possible to pass a script of console commands from the command line already?
14:39:51 *** SpComb^ has joined #openttd
14:40:27 <arachnid> hm, slight problem with this, of course, is that it's liable to have issues running on a server, unless I want to run an X server just to keep it happy.
14:40:37 <Rubidium> arachnid: not from the console
14:40:54 <arachnid> Okay. Guess coding is inevitable, then.
14:40:59 <Rubidium> though... in scripts a on_dedicated.scr with screenshot big <newline> quit
14:41:06 <Rubidium> and then openttd -g <savegame -D
14:41:18 <arachnid> hm, okay
14:41:25 <SpComb^> hmm, dedicated server screenshots?
14:41:28 <arachnid> And that ought to avoid the headless issue, too
14:42:30 * Rubidium again notes that it might not work; have no way of actually testing it right now
14:43:42 <arachnid> Still, something to try. Thanks. :)
14:45:19 *** Progman has joined #openttd
14:46:30 *** nekx has joined #openttd
14:47:11 *** Phoenix_the_II has quit IRC
14:47:17 *** Phoenix_the_II has joined #openttd
14:50:49 <petern> urghel
14:50:55 <SpComb> the OpenTTD code doesn't really abstract very much away
14:51:30 <SpComb> but you can build it with SDL, run a dedicated server, enable the blitter on the command line, and then use the screenshot command
14:54:00 <arachnid> SpComb: Do you know if Rubidium's suggestion will work?
14:54:15 <arachnid> And if so, where does OTTD look for the 'scripts' directory?
14:54:23 <arachnid> It doesn't appear to exist by default.
14:54:31 <SpComb> never touched any OpenTTD scripts
14:55:24 <arachnid> And when you say "enable the blitter on the command line", do you mean the ottd command line, or the OS command line?
14:56:59 <SpComb> OpenTTD
14:57:08 <SpComb> the dedicated server normally runs a null blitter
14:57:21 <arachnid> I see
14:57:30 <arachnid> Do you know what the command is to enable the blitter?
14:57:47 *** Progman has quit IRC
14:58:09 *** vraa has quit IRC
14:58:13 <SpComb> no, look at --help
15:04:28 <arachnid> Hm. Any idea where ottd puts its screenshots by default? :)
15:05:30 <arachnid> Everything seems to go fine except I can't find it.
15:08:48 <davis-> uhm
15:08:52 <china> in the new openttd (0.6.3) with PBI and all that.
15:09:10 <china> can i use the power station more then shipping coal to it?
15:09:11 <china> :<
15:11:29 *** mortal` has joined #openttd
15:11:57 <arachnid> Hm. So the script runs, I get no error message, but I can't find a screenshot anywhere, either
15:12:45 *** Mortal is now known as Guest2902
15:12:45 *** mortal` is now known as mortal
15:15:54 *** benjamingoodger has joined #openttd
15:18:37 *** Guest2902 has quit IRC
15:23:59 <arachnid> Bah :/
15:24:04 *** gregor has joined #openttd
15:28:11 <Eddi|zuHause> arachnid: in ~/.openttd or in My Documents\OpenTTD
15:28:32 <arachnid> Hm, nothing in ~/.openttd, either
15:28:39 <Eddi|zuHause> alternatively, wherever it finds the .cfg
15:29:29 <arachnid> Hm. If I insert printfs in MakeScreenshot, they never even get called.
15:31:16 <arachnid> Ditto if I run it in gdb and set a breakpoint on MakeScreenshot
15:34:21 <SpComb> set a breakpoint in console_cmds then
15:34:42 <arachnid> Looking at the code in screenshot.cpp, I'm guessing it doesn't get a chance to draw before the 'quit' command is run
15:35:28 <arachnid> Hah. Now it segfaults. :P
15:36:02 <arachnid> In Blitter_32bppOptimized::Draw
15:44:30 <arachnid> Line 166 of 32bpp_optimized.cpp, not that that tells me much since all the locals have been optimised away
15:44:43 <arachnid> I'm guessing it's trying to draw to something that doesn't exist due to the dedicated server thing
15:51:10 <SmatZ> arachnid: a crash in clan trunk?
15:52:43 <SmatZ> arachnid: the output buffer is probably too small, or you have incorrectly set width,height or pitch
15:53:00 <SmatZ> size of buffer has to be at least height * pitch * 4 (for 32bpp blitters)
15:53:20 <arachnid> I'm not modifying the source in any way
15:53:28 <arachnid> Just telling it to screenshot when using the 'dedicated' video driver
15:54:05 <arachnid> Just compiled in SDL support, but now it complains it can't find a video device when starting up. Not sure if it's possible to start it using SDL without trying to use a video device.
15:54:15 <SmatZ> I guess the video driver hasn't been initialized, the spriteloader doesn't know you are using 32bpp blitter, or whatever :)
15:54:21 <arachnid> yeah :/
15:54:32 *** mikl has joined #openttd
15:54:34 <SmatZ> SDL_VIDEODRIVER=aalib bin/openttd
15:54:36 <SmatZ> or so :)
15:54:51 <Aali> damn highlight :(
15:54:58 <arachnid> Doesn't seem to change anything
15:55:48 <arachnid> But thanks for the place to start looking :)
16:00:13 *** rubyruy has joined #openttd
16:00:21 * arachnid recompiles with aalib support
16:00:42 <Aali> oh come on, did you have to say that?
16:00:54 <arachnid> heh
16:00:58 <Aali> :P
16:01:06 <arachnid> If sdl had a 'null' driver option, I'd happily use that
16:01:27 <Aali> guess i should change that highlight rule to match whole words only
16:02:00 <Aali> arachnid: chances are, with a null driver you wont be able to get a screenshot anyway
16:02:30 <arachnid> Aali: Well, I'm hoping I dont' get an ascii art screenshot with the aalib driver
16:02:34 <arachnid> I suspect it only affects the output
16:02:37 <Aali> heh
16:02:46 <arachnid> As opposed to the ttd null driver, which causes the aforementioned segfault. :)
16:02:47 <Aali> IIRC, its just a filter
16:03:02 <arachnid> Oh dear lord. I now have a running aalib version of openttd
16:03:05 <Aali> as in, its applied after all drawing is done
16:03:11 <arachnid> yeah
16:03:29 <petern> it's not very playable
16:03:33 <arachnid> (And yeah, it just looks like random dots and dashes
16:03:33 <petern> even with a very large terminal
16:04:17 <arachnid> indeed
16:05:03 <arachnid> And still no sign of my screenshot
16:06:49 <arachnid> :(
16:07:01 *** Zahl_ has joined #openttd
16:07:15 *** Batti5 has joined #openttd
16:07:23 <SmatZ> [16:54:51] <Aali> damn highlight :( <== :-D
16:08:36 <Yexo> SmatZ: can you move FS#2404 back to trunk?
16:08:38 <Aali> awesome..
16:09:30 <arachnid> In fact, I don't get a screenshot even if I ask for one in the dedicated console
16:09:45 <SmatZ> Yexo: why?
16:09:56 <Yexo> because it's not specific for NoAI
16:10:22 <glx> arachnid: did you specified a blitter?
16:10:40 <arachnid> glx: yup
16:14:21 *** Zahl has quit IRC
16:14:21 *** Zahl_ is now known as Zahl
16:17:06 *** Vikthor has quit IRC
16:17:21 <SmatZ> arachnid: I can't reproduce the crash... "bin/openttd -D -b 32bpp-optimized", screenshot, no crash
16:18:15 *** Vikthor has joined #openttd
16:18:19 <arachnid> What renderer are you using, though?
16:19:25 <SmatZ> arachnid: -D implies -v dedicated I think
16:19:46 <arachnid> Hm
16:19:50 <arachnid> Where does it put the screenshot
16:20:01 <SmatZ> in ~/.openttd/
16:20:02 <arachnid> I'm running the same command and getting no output I can find anywhere
16:20:04 <arachnid> :(
16:21:18 <SmatZ> arachnid: reading readme.txt could help you, too
16:22:36 <arachnid> Specifically?
16:24:16 <SmatZ> 4.2) OpenTTD directories
16:24:42 <arachnid> I know _about_ ~/.openttd (though note that section is only talking about where it finds .grf etc files)
16:26:33 * Belugas would try running the game with the gui and request a screenshot, see if does produce one at the expected locations
16:26:43 <Belugas> just in case...
16:26:44 <arachnid> I'm doing all this on a headless server. :)
16:28:06 <Belugas> Headless chickens
16:28:16 <Belugas> Dance in Circles,
16:28:25 <Belugas> THEY THE BLESSED!
16:28:43 <Belugas> Mand and wife,
16:28:50 <Belugas> undressed by all
16:28:59 <Belugas> They grafted trunks
16:29:11 <Belugas> in heat posseesssessssesesesed
16:31:55 <Qball> ?
16:33:33 <Eddi|zuHause> yes, i do think he is possessed ;)
16:34:16 <Qball> Can I poke him?
16:34:48 *** Zorni has joined #openttd
16:34:51 <Belugas> naaaa... it's the music... it has rhytm... the rythm of the heat! hem... no, actually, it's family and the fishing net...
16:35:06 <Qball> Belugas: you are in heat?
16:35:57 <Belugas> no
16:36:06 <Belugas> the rythm is heat
16:36:10 <Qball> just checking
16:39:10 <arachnid> Hah
16:39:19 <arachnid> Now I can get a screenshot, but it's always of nothing but ocean.
16:39:51 *** Zorn has quit IRC
16:40:17 <arachnid> If I ask for a standard (instead of big) screenshot, I get this: http://crushinator.notdot.net/temp/screenshot.png
16:40:21 <arachnid> Despite passing -g (savegame)
16:41:44 *** |Jeroen| has joined #openttd
16:41:45 <glx> full of ocean could mean loading failed
16:43:44 <Eddi|zuHause> e.g. compiled without zlib support
16:43:59 <arachnid> I was initially trying with Tutorial.sav
16:44:07 <Eddi|zuHause> or wrong savegame version
16:45:00 * arachnid reconfigures and recompiles with explicit --with-zlib
16:46:22 <Eddi|zuHause> starting with -d 3 could tell you more about what's going on ;)
16:46:38 <arachnid> Except that aalib overwrites everything in the terminal
16:48:49 *** Dred_furst has quit IRC
16:49:03 *** Brianetta has quit IRC
16:50:10 <arachnid> Ah, logs go to stderr. :)
16:50:17 *** frosch123 has joined #openttd
16:52:27 <Eddi|zuHause> i figure that aalib cannot recognise the graphical text properly, so everything is unreadable ;)
16:53:34 <arachnid> heh
16:53:36 <arachnid> yup
16:53:57 <arachnid> I think it's actually just taking the screenshot before it loads stuff
16:54:08 <arachnid> Because the logs say the save loads fine, and include stuff about vehicle routing
16:54:16 <arachnid> And the aalib output differs depending on what savefile I load
16:55:09 <arachnid> But there's no 'sleep' console command (at least, not a documented one)
16:55:22 *** Qball has quit IRC
16:58:17 *** |Jeroen| has quit IRC
16:58:36 <Eddi|zuHause> well, could you try putting the load command in the script?
16:58:54 <Eddi|zuHause> or just writing the screenshot command in the console after you loaded the game?
17:02:14 *** nicfer has joined #openttd
17:02:19 *** De_Ghosty has quit IRC
17:02:28 *** De_Ghosty has joined #openttd
17:04:43 <nicfer> one question, will be removed the realistic train aceleration?
17:05:21 <petern> try phrasing that in english
17:05:54 <benjamingoodger> petern: don't be cruel
17:13:00 <china> how many veichles does openttd support?
17:15:06 <FauxFaux> Thousands.
17:15:35 <benjamingoodger> ...by design
17:15:53 <benjamingoodger> in practise it is limited by your computer's memory and CPU, particularly for trains
17:16:05 *** Hirundo has joined #openttd
17:16:29 <china> i have 2600 trucks now
17:16:32 <FauxFaux> I believe I've been in a game with a thousand trains before.
17:16:33 <FauxFaux> <3
17:16:35 <china> and i dont want it to end. :)
17:16:44 <FauxFaux> Iirc something is limited at 5000.
17:16:51 <china> oh, ok
17:17:11 <china> im really surprised that my old p3 server does the huge maps without any trouble
17:17:11 <benjamingoodger> is it a binary power?
17:17:41 <china> and im starting on the zellepiners
17:17:44 <china> zeppeliners*
17:18:17 * china sends gigatons of coal
17:18:33 <china> the funny thing is, the game is starting to get very realistic money-wise
17:18:46 <benjamingoodger> oh?
17:18:53 <china> i used to work with higher impoexpo treatys, and i can see the connection. ;)
17:19:17 <benjamingoodger> ah
17:20:01 <nicfer> more than 9000?
17:21:11 <benjamingoodger> that's "petagrams" btw :P
17:22:06 *** Swallow has quit IRC
17:22:17 *** Hirundo is now known as Swallow
17:22:49 <Eddi|zuHause> china: i believe the limit is 5000 vehicles per type (truck, train, aircraft, ship)
17:22:51 <SmatZ> nicfer: no, it won't be removed. Why should it?
17:23:15 <Eddi|zuHause> SmatZ: because it uses the dreaded r-word :p
17:23:24 <SmatZ> ah... so a joke :)
17:24:37 <china> ok
17:24:41 <china> the zeppeliners sucked
17:24:45 <china> they cant go +
17:24:46 <china> :<
17:25:13 <china> they loose 40.000 on the little way to the coal mine, and get payed in hald.
17:25:14 <china> -d+f
17:26:04 <china> make that 90.000
17:26:45 <benjamingoodger> hmm
17:26:52 <benjamingoodger> I think they're more for passengers :)
17:27:03 <gregor> is it possible to cheat on ottd, e.g. getting much money?
17:27:35 <china> benjamingoodger: well, there is a modell thats exclusively for coal
17:27:54 <benjamingoodger> gregor: press ctrl-alt-c and read it thoroughly
17:27:57 <china> tho refittable to all but passengers
17:28:08 <benjamingoodger> unfortunately it comes only in £10,000,000 amounts
17:28:15 <nicfer> SmatZ: because it's... *realistic*
17:28:18 *** Purno has joined #openttd
17:28:48 <benjamingoodger> china: ah.... I've not done a great deal with air in ttd. I can't seem to make the buggers turn a profit
17:29:23 <china> same here
17:29:28 <china> :<
17:30:14 <benjamingoodger> it should be renamed "train tycoon deluxe"
17:30:47 <nicfer> well, the best option would be to let newgrf designers define the acceleration
17:31:11 *** Antdovu has joined #openttd
17:31:47 <benjamingoodger> nicfer: the best option is to let designers specify the properties of their engines and allow the system to do it for them
17:37:12 *** fonso has joined #openttd
17:41:07 <gregor> Also possible to build many vehicles at one time?
17:41:52 <Belugas> no. one at a time, only
17:42:50 *** welshdragon has joined #openttd
17:49:42 *** welshdragon has quit IRC
17:50:13 *** welshdragon has joined #openttd
17:51:19 *** welshdragon has joined #openttd
17:51:31 *** welshdragon-pc has quit IRC
18:04:58 *** welshdragon has quit IRC
18:05:04 *** welshdragon has joined #openttd
18:19:12 *** eQualizer has quit IRC
18:23:34 *** Wolf01 has joined #openttd
18:23:46 <Wolf01> hello
18:24:44 *** NukeBuster has joined #openttd
18:25:44 *** mortal is now known as Guest2925
18:25:46 *** mortal has joined #openttd
18:26:25 *** sigmund has joined #openttd
18:28:11 *** sigmund_ has quit IRC
18:32:52 *** Guest2925 has quit IRC
18:36:42 *** FloSoft` has joined #openttd
18:40:51 *** FloSoft has quit IRC
18:42:04 *** Fuco has joined #openttd
18:43:48 *** mortal is now known as Guest2926
18:43:49 *** mortal has joined #openttd
18:48:05 *** mortal is now known as Guest2929
18:48:08 *** mortal has joined #openttd
18:49:42 *** ecke has joined #openttd
18:49:54 *** Guest2926 has quit IRC
18:53:36 *** Mark has quit IRC
18:54:52 *** Guest2929 has quit IRC
18:55:01 *** ecke has quit IRC
19:00:09 *** mortal is now known as Guest2931
19:00:12 *** mortal has joined #openttd
19:01:54 <ln-> end of discussion
19:04:47 *** dih is now known as dihedral
19:05:07 *** nicfer has quit IRC
19:05:51 *** [com]buster has joined #openttd
19:06:40 <ln-> Wolf01: do you need to say 'night every time you leave?
19:07:26 *** Guest2931 has quit IRC
19:07:55 <Wolf01> I'm used to greet when I enter or leave a channel, and 'night stays for good night
19:08:05 <dihedral> ln-: some people have the politeness to
19:08:22 <dihedral> and if it are people who actually hang around here more often, it's quite nice
19:08:32 <dihedral> shows a social side ;-)
19:08:41 *** Qball has joined #openttd
19:09:01 <ln-> dihedral: but if everyone did that, it would generate a lot of noise.
19:09:31 *** Swallow has quit IRC
19:09:48 <ln-> i mean, if everyone did that every time they join or leave.
19:09:51 <dihedral> ln- if you comment each time it's more annoying than Wolf01 greeting
19:09:52 *** Hirundo has joined #openttd
19:09:53 *** Hirundo is now known as Swallow
19:10:54 <ln-> i'm an annoying person.
19:11:31 <Aali> well, this not an off-topic channel, idle conversation does not belong here (technically)
19:11:38 <Aali> *this is
19:12:38 <Aali> and announcing your arrival/departure is usually not okay on IRC anyways
19:13:06 <dihedral> Aali, it depends who and where
19:13:12 <Aali> and how :)
19:13:19 <dihedral> i.e. if yorick does it, it's not ok
19:13:31 <Aali> automated scripts are lame
19:13:36 <glx> but it's yorick ;)
19:13:38 <dihedral> it's not automated
19:13:42 <Aali> i know
19:13:48 <Antdovu> this message is automated
19:13:56 <ln-> politeness is fine, but when exactly the same strings are used each and every time, it's more like an automated reflex than a polite greeting.
19:13:57 <dihedral> and when Wolf01 does it... heck - he's been around for a long time
19:14:08 <Aali> if it had been, it wouldn't be in a grey area
19:14:20 <Aali> but i say it is, and we should allow it :P
19:14:23 <dihedral> and ln- constantly having nothing better to say than all his wining about that someone is doing something that does not match his liking....
19:14:36 <dihedral> that is more annoying than Wolf01's tendency to greet
19:15:28 <Belugas> FAR MORE
19:15:40 <Belugas> farth more
19:16:17 <ln-> hell
19:16:19 <ln-> o
19:17:49 *** ecke has joined #openttd
19:17:57 <ln-> may i add that i have absolutely nothing else to complain about things Wolf01 has done or said.
19:18:23 <dihedral> you should have less to moan about in general :-P
19:18:26 *** eQualizer has joined #openttd
19:18:48 <dihedral> to me the nick 'ln' does not represent anything else than complaints and unhelpful chatter
19:18:49 <Belugas> dih: empty barrels are the loudest ;)
19:19:00 <dihedral> :-P
19:19:14 <Belugas> to me, the nick ln is on ignore. and life is sweet and kind
19:19:33 *** ln- is now known as ln
19:19:59 *** Yeggzzz has quit IRC
19:20:03 <ln> dihedral: thanks, i appreciate that.
19:21:05 <dihedral> ln: that was a subtle hint - you might wanna work on your attitude :-P
19:21:24 <dihedral> and if your attitude is a lot brighter generally, then you might want to share that with us :-P
19:21:37 * dihedral give ln a hug :-P
19:22:24 <ccfreak2k> Hey
19:22:29 <ccfreak2k> I just thought I'd tell you guys that I'm here.
19:22:38 <ccfreak2k> And that I'm going to go to other channels now.
19:22:52 <Antdovu> can't handle a little man love?
19:23:14 <ln> dihedral: my attitude is far from perfect in general, too, but over here it's shaped by the fact that nothing on-topic i say makes any difference.
19:23:17 <dihedral> ccfreak2k, now you just do that to annoy people, and that is not fun
19:23:20 <dihedral> nor genuine
19:23:22 <ccfreak2k> It is for me.
19:23:31 <ln> ccfreak2k: thank you for letting us know. see you soon again!
19:24:19 *** Yeggstry has joined #openttd
19:25:18 *** Deathmaker has joined #openttd
19:25:29 <ln> hello
19:27:11 * benjamingoodger rejoins conversation
19:27:25 <benjamingoodger> *blink*
19:27:29 * ln welcomes benjamingoodger back to conversation
19:28:03 <benjamingoodger> why, thank you, ln! how polite. if more people were that polite, we'd all be better off
19:29:14 <benjamingoodger> hmm
19:29:30 <ln> we sure would! now, would you like to have a cup of tea?
19:29:33 * dihedral extends his ignorelist a little :-P
19:29:41 <benjamingoodger> reading up at the top, it really irritates me when people to tell me I have an attitude problem
19:29:59 <Antdovu> ln: what about biscuits?
19:30:04 <benjamingoodger> what they're actually saying is that they dislike my personality, and would like me to change it, rather than just learning to tolerate it
19:30:04 <dihedral> benjamingoodger, nobody's even talking to you!
19:30:13 <dihedral> at least not up there
19:30:24 <benjamingoodger> dihedral: I'm "sympathising"
19:30:36 <benjamingoodger> it's a new concept I have been introduced to recently, that I am trialling
19:30:47 <dihedral> lol
19:31:51 <benjamingoodger> ln: I apologise for not replying earlier. I try to avoid caffeine, but would be delighted with a glass of fruit juice. may I offer you a garibaldi?
19:32:08 *** Fuco has quit IRC
19:33:05 <benjamingoodger> hmm
19:33:09 <benjamingoodger> I'm about to be flamed, aren't I
19:34:05 <Antdovu> they are boiling inside
19:34:11 <ln> benjamingoodger: a glass of fruit juice will be sent directly you in a bottle by the sea.
19:34:11 <Antdovu> trying to make tea
19:34:56 <benjamingoodger> ln: ah, Royal Mail. excellent, I shall await its arrival within six to eight months
19:36:35 <china> yep
19:36:37 <china> thats it
19:36:43 <china> the vechicle limit is 5000
19:36:47 <china> at least per type
19:36:55 <china> 5000 coal trucks
19:37:05 <ln> china: dear sir, you have forgotten to use an apostrophe in your phrase "thats it".
19:37:10 <china> ~10 thats minus.
19:37:40 <china> `, or '?
19:37:47 <dihedral> , <- komma
19:37:57 <ln> china: '
19:38:02 <dihedral> that,s <- looks very wrong
19:38:04 <china> ah, thank you.
19:38:08 <dihedral> and ln: you've dont it again
19:38:25 <Belugas> -t+e
19:38:43 <china> i really need to learn things like that.
19:38:50 <dihedral> and also, ln, you forgot an entire word in you last full sentence
19:38:56 <china> the ' and the to the ` fo da shizzle.
19:39:38 <benjamingoodger> ¬.¬
19:39:42 <ccfreak2k> china, 5000 trucks per train.
19:39:44 <ccfreak2k> ?
19:40:05 <china> no, 5000 trucks per map, 5000 trains, 5000 airvechicelslslc, and so on.
19:40:06 <benjamingoodger> you could barely build a station big enough throughout the whole map
19:42:00 <dihedral> china, what version are you playing?
19:42:13 <china> latest, with newgrf stuff thingy
19:42:17 <dihedral> and are those vehicles actually moving
19:42:22 <china> yes
19:42:25 <dihedral> latest is not a correct answer
19:42:29 <china> oh
19:42:30 <china> hold on.
19:42:37 <china> 0.6.3
19:42:52 <dihedral> stable build, would you care to try it with a nightly?
19:43:00 <china> with a what?
19:43:10 <dihedral> visit openttd.org
19:43:10 <china> i struggled all night to get my server up
19:43:13 <china> ok
19:43:26 <dihedral> in the upper left corner of the page you have 'download stable' and 'download nightly'
19:43:40 <china> oh!
19:44:21 <Antdovu> nightly means that you may play it only at night
19:44:29 <china> o,o
19:44:30 <dihedral> actually
19:44:31 <dihedral> dont
19:44:35 <dihedral> 5000 is correct
19:44:36 <dihedral> [20:44] <dihedral> !rcon patch max_trains
19:44:36 <dihedral> [20:44] <Mrs_Console> dihedral: Current value for 'max_trains' is: '500' (min: 0, max: 5000)
19:45:15 <china> the money counter is going bananas, though
19:45:16 <Aali> is that a hard limit?
19:45:22 <china> that may be something somebody should fix
19:45:27 <dihedral> Aali, no idea
19:45:35 <Aali> probably not
19:45:37 <dihedral> china, it's not broken
19:45:39 <china> all the five thousand coal trucks is actually being used at the moment
19:45:41 <china> well
19:45:51 <dihedral> and that is 5k per company
19:45:51 <china> it gives all kinds of numbers in periods
19:45:54 <china> and ######
19:45:56 <dihedral> per vehicle type
19:46:32 <dihedral> well - then take a screenshot, and upload it with a sav game to bugs.openttd.org ;-)
19:46:47 <china> will do
19:46:49 <china> thanks
19:47:34 <china> $840,501,822
19:47:39 <china> i wonder what the top record is
19:48:16 <dihedral> thats just 420 pounds sterling....
19:48:18 <dihedral> :-P
19:48:34 <dihedral> 420 mio :-P
19:48:39 <china> ,/.
19:48:45 <china> UK uses . right?
19:48:53 <dihedral> as what?
19:48:54 <china> and , for decimals
19:48:59 <dihedral> no
19:49:05 <china> to separate zeroes in greater numbers
19:49:06 <dihedral> , for thousands and . for decimals
19:49:09 <china> whatever the word may be
19:49:10 <china> ah.
19:49:17 <benjamingoodger> actually it's spaces for thousands now
19:49:23 <dihedral> is it?
19:49:28 <dihedral> when was that changed?
19:49:30 <benjamingoodger> e.g. 77 888 999.2
19:49:33 <benjamingoodger> er
19:49:47 <benjamingoodger> it's one of those things that's only officially true
19:49:56 <china> i dont really know how it works here in sweden, but i use . for thousands (or spaces) and , for decimal
19:49:58 <dihedral> it was , when i had to write invoices last time
19:50:00 <benjamingoodger> commas for thousands are still used informally
19:50:02 *** Batti5 has left #openttd
19:50:17 <benjamingoodger> china: I'm planning to move to sweden ^^
19:50:21 <china> a piece of the swedish mouth2mouth language is to actually say "two comma five" for 2,5, for instance.
19:50:25 <china> benjamingoodger: do you need an apartment?
19:50:26 <dihedral> very nice country indeed
19:50:42 <benjamingoodger> it won't be for a few years
19:50:47 <dihedral> hehe
19:50:50 <china> im moving after the new year has passed.
19:50:50 <china> ok
19:50:52 <benjamingoodger> I'm going to university first ^^
19:51:03 <china> where do you live now?
19:51:04 <dihedral> benjamingoodger, where to in that big country
19:51:13 <benjamingoodger> china: in the US and UK, we say "two point five" (2.5)
19:51:21 <benjamingoodger> I live in the UK
19:51:25 <china> i have apartments in both sweden and UK, and im selling both of to move to either japan or vegas.
19:51:28 <china> :>
19:51:31 <china> ok
19:51:33 <china> ooh.
19:51:38 <benjamingoodger> dihedral: dunno, norrkoping looks nice though
19:51:45 <dihedral> :-)
19:51:52 <Aali> benjamingoodger: welcome to the neighbourhood
19:52:04 <dihedral> "i cannot remember the town name, something with ...oping" :-P
19:52:06 <china> benjamingoodger: i have an ap. at earls court in london.
19:52:09 <china> haha
19:52:14 <china> norrkoping is nice
19:52:16 <benjamingoodger> Aali: you live in norrkoping?
19:52:19 <china> im in vaxjo right now.
19:52:21 <Aali> i do
19:52:24 <benjamingoodger> aha
19:52:25 <china> Aali: hej!
19:52:34 <benjamingoodger> yes, what he said
19:52:36 <dihedral> i spent 6 months near vetlanda
19:52:39 <Aali> china: Hej svej leverpastej!
19:52:44 <dihedral> holsby to be precise
19:52:53 <ln> hej, här kan man använda "ö" också, utf-8 säger topicen.
19:53:02 <china> whh!
19:53:09 <dihedral> lol
19:53:27 <benjamingoodger> hürråh
19:53:45 <china> by the way, you swedes who wanna be professional in openttd - litterally - i have some books you should read
19:53:49 * china just came from the library
19:53:56 <benjamingoodger> heheh
19:54:15 <dihedral> ln- you do realize that you are encouraging people to speak a different langauage in this channel?
19:54:22 <china> gunnar bjrksten - lnsamhet och likviditet & rolf back - marknadsfring
19:54:23 <china> :>
19:54:34 <benjamingoodger> dihedral: I shouldn't think he cares too much
19:55:02 <dihedral> benjamingoodger, ln is the one to complain as soon as someone speaks another language usually
19:55:02 <ln> dihedral: maybe, but the topic doesn't say anything about a preferred language.
19:55:03 <Eddi|zuHause> nobody here cares about this english only rule :p
19:55:27 <dihedral> Eddi|zuHause, no of course not - just ln complaining is what i was getting at :-P
19:55:30 <Eddi|zuHause> a rule does not need to be in the topic
19:55:32 <china> oh crap
19:55:34 <dihedral> quite ironic actually
19:55:35 <china> i made a big doodoo.
19:55:52 <Eddi|zuHause> go to the toilet next time
19:55:56 <china> i built a big ass airport, and then i accidently removed it. guess what the town people say when im trying to build it now. :(
19:56:13 <benjamingoodger> vere, fakte ni ne devas koni kiun lingvon ni parolas
19:56:16 <Aali> thats why god invented bribing
19:56:28 <china> doesnt work on small ass cities. :(
19:56:40 <Eddi|zuHause> build trees
19:56:42 <benjamingoodger> china: plant colossal numbers of trees
19:56:47 <Aali> thats why ottd's slightly flawed game mechanics invented treebribing
19:56:56 <benjamingoodger> heheheh
19:57:06 <ln> dihedral: do you feel uneasy or confused about "different languages"?
19:57:11 <china> that works?
19:57:12 <china> :o
19:57:19 <china> haha
19:57:20 <dihedral> ln: i feel uneasy about you!
19:57:24 <china> i had no idea of that
19:57:26 <benjamingoodger> :D
19:57:37 <china> i have been playing for years and years, and i didnt have any idea of it. ;)
19:58:09 <benjamingoodger> currently it's a toss-up between canterbury and sweden...I may end up living in both
19:58:16 <Aali> killing trees make them sad, planting trees can make them semi-happy again
19:58:23 <Aali> so you can always build stations
19:58:32 <dihedral> Aali, semi-happy = good...
19:58:44 <dihedral> that is the best standing you'll get for planting trees
19:58:45 <benjamingoodger> canterbury is unpolluted and wealthy, but sweden is the nearest equivalent to a socialist paradise in my view
19:58:48 <Eddi|zuHause> i know that either the original TT box or the manual said something about building trees around your stations, but it was extremely vague
19:59:05 <benjamingoodger> dihedral: that's good enough to build stuff...
19:59:07 <Aali> dihedral: indeed, which isn't perfect, but enough for building stations
19:59:31 <dihedral> yep
19:59:34 <dihedral> :-P
19:59:54 <dihedral> just cannot remove a church with it :-P
19:59:55 *** NukeBuster has quit IRC
20:00:00 <Prof_Frink> Of course, it's easier in multiplayer.
20:00:14 <Prof_Frink> You can treebribe with one free tile and a friend.
20:00:20 *** NukeBuster has joined #openttd
20:00:32 *** Wolfolo|AWAY has joined #openttd
20:00:32 *** Wolf01 is now known as Guest2940
20:00:32 *** Wolfolo|AWAY is now known as Wolf01
20:00:45 <dihedral> hello Wolf01
20:00:58 <Wolf01> :|
20:01:20 <benjamingoodger> *blink*
20:01:23 <dihedral> ;-)
20:02:08 <Wolf01> I greet only when I enter or leave, not when my connection is reset by power faults
20:02:09 *** M4rk has joined #openttd
20:02:15 *** M4rk is now known as Mark
20:02:23 <Prof_Frink> benjamingoodger: Don't blink.
20:02:37 <benjamingoodger> Prof_Frink: don't quote doctor who
20:02:38 <Prof_Frink> Don't look away, don't turn around, and don't blink.
20:02:44 <benjamingoodger> FAIL
20:02:47 <benjamingoodger> :D
20:03:31 <Antdovu> don't run around and desert me ;)
20:03:40 <benjamingoodger> hm?
20:04:07 <Belugas> don't talk to strangers
20:04:17 * dihedral hugs Belugas
20:04:41 *** M4rk has joined #openttd
20:04:54 * Belugas searches that Ronnie James Dio song
20:05:04 <Antdovu> Never gonna make you cry
20:05:42 <benjamingoodger> ho hum
20:05:58 <benjamingoodger> gah...
20:06:03 <benjamingoodger> why can't I write longer chapters?
20:06:10 <Belugas> found it!!
20:06:31 <Belugas> yeah for phone's 4gig ^_^
20:06:42 *** Guest2940 has quit IRC
20:08:01 <Eddi|zuHause> Prof_Frink: count the shadows
20:08:03 *** M4rk is now known as Mark_
20:08:23 *** Purno has quit IRC
20:08:24 <Prof_Frink> Eddi|zuHause: 3.
20:09:09 <Prof_Frink> Belugas: Are you my mummy?
20:10:04 <benjamingoodger> ¬.¬
20:10:14 <benjamingoodger> I told you not to quote doctor who :P
20:10:45 <china> bah
20:10:53 <china> how big fuck loads of trees does the town want :<
20:11:08 <benjamingoodger> an area about 6x6 squares is my choice
20:11:11 *** Mark has quit IRC
20:11:32 <china> i just spent 100 grand on covering the whole town with trees
20:11:33 <china> :<
20:11:51 <Eddi|zuHause> china: you have to make sure that there are no trees on those tiles already
20:12:18 <china> which tiles?
20:12:27 <Eddi|zuHause> the tiles where you build the trees
20:12:46 *** Mark_ is now known as Mark
20:13:24 <china> it worked!
20:13:26 <china> span.
20:13:28 <china> spanx*
20:13:50 <china> i really, really hate trees.
20:15:02 <Antdovu> idea: "areas" in addition to actual towns/cities, etc that would not have any buildings or roads
20:16:26 <Antdovu> but act just like them otherwise
20:16:40 <china> :>
20:17:02 <Eddi|zuHause> i have no idea what you just said
20:17:12 <benjamingoodger> yes
20:17:14 <benjamingoodger> neither do I
20:17:29 <Antdovu> kind of a rural area?
20:18:12 <Antdovu> it has a name & most other attributes of a town but no buildings
20:18:35 <Antdovu> and no roads
20:18:50 <Eddi|zuHause> in what way would that be an addition to gameplay?
20:19:21 <Antdovu> possible to play without any towns?
20:19:24 <benjamingoodger> it would make things less realistic!
20:19:54 <Eddi|zuHause> Antdovu: how about just destroying everything in the town? people do that often enough...
20:19:54 * china builds an interstellar line
20:20:14 <china> is it just me? or is 100+ station lines with kilometer long trains just ..awesome.
20:20:28 <benjamingoodger> no, no
20:20:31 <benjamingoodger> it is awesome
20:21:32 <Antdovu> Eddi|zuHause: you would have to keep destroying everything
20:21:48 <benjamingoodger> Antdovu: just build over the entire town
20:21:54 <Eddi|zuHause> no, when you destroy the central road tile, they don't rebuild it
20:22:18 <Prof_Frink> Eddi|zuHause: I thought you had to leave the tile, but block it in so it can't expand
20:22:33 <Belugas> Prof_Frink, i doubt i'm a mummy, even more yours. But... in Egypt, where the chains are on...
20:22:36 <Antdovu> I am pretty sure I have done that plenty of times without
20:23:00 <Antdovu> it still grows back if you just erase it
20:23:16 *** Fuco has joined #openttd
20:23:27 <china> what's your personal record on a single train's profit?
20:23:45 <Antdovu> inflation...
20:24:06 <china> :D
20:24:19 <china> hey
20:24:20 <Prof_Frink> china: Buffer overflow.
20:24:49 <china> im new to this thing, so: i have a train line that closes in a circle. it contains over 100 stations. do i dare to use two trains on the same line?
20:25:05 <Antdovu> I wouldn't do that
20:25:06 <china> if one gets holded, will the otherone kill it from behind eventually?
20:25:08 <china> ok
20:25:13 <Antdovu> I build 1 train per game max
20:25:24 <china> per -game-? :D
20:25:38 <benjamingoodger> china: signals are the key to this sort of thing
20:25:42 <Antdovu> a bus as well if I am feeling adventurous
20:25:53 <china> benjamingoodger: how does one use signals on a single track - i have never tried it.
20:25:59 <china> Antdovu: haha, killer. :)
20:26:48 <benjamingoodger> you just put them at the entrance and exit to each station
20:26:54 <china> oh,
20:26:57 <china> ooh!
20:27:01 <benjamingoodger> it might be very inefficient
20:27:05 <benjamingoodger> but the trains will not collide.
20:27:06 <china> it will work like a wall, i guess
20:27:25 <benjamingoodger> yes, they won't cross the signals whatsoever
20:28:02 <china> though
20:28:07 <china> if the rhytm will be un-even
20:28:13 <china> they will eventually tail each other
20:28:26 <Eddi|zuHause> you can use a timetable
20:28:29 <china> and train number two will get 0 passengers
20:28:33 <china> a what. :o
20:28:33 <glx> <Antdovu> Eddi|.zuHause: you would have to keep destroying everything <-- just remove the road tile under town name
20:28:54 <china> oh shit this train is a moneymaker.
20:28:55 <china> :D
20:29:07 <Eddi|zuHause> glx: that's what i said, but they wouldn't believe me... ;)
20:29:11 <benjamingoodger> "tidsplan"
20:29:44 <china> OH
20:29:45 <china> god.
20:29:46 <benjamingoodger> that way they all stay in sync
20:29:56 <china> i found the transparency for trees
20:29:58 *** Dred_furst has joined #openttd
20:30:02 <china> god, thank you for development.
20:30:03 <benjamingoodger> :)
20:30:08 <glx> Eddi|zuHause: but we know what we are talking about ;)
20:30:47 <Eddi|zuHause> i don't know what i'm talking about, i just repeat random phrases that i picked up in this channel
20:30:52 <Eddi|zuHause> like babyottd :p
20:31:11 <benjamingoodger> glx: if you remove the central road tile, but nothing else, does the town continue growing?
20:31:31 <glx> no it can't grow if there's no road under town name
20:32:12 <Eddi|zuHause> benjamingoodger: the town growth algorithm goes from the central road tile along the roads until it finds a place that has no house/road yet. if the road tile is destroyed, it will always fail to find such a place
20:32:35 <benjamingoodger> ah
20:32:41 <china> holy cow what a moneymaker
20:33:04 <china> 140-200k per station
20:33:05 <benjamingoodger> is this affected by installing a new-style bus/tram station on that tile?
20:33:10 <china> and its not even 30 seconds between
20:33:16 <china> thats a good one so early in the game.
20:33:18 <china> whohoo
20:33:26 <benjamingoodger> passagerare enbart?
20:33:52 <Eddi|zuHause> benjamingoodger: i'd say no.
20:34:01 * benjamingoodger hopes to learn swedish by reverse-engineering the output of google translate
20:34:20 <china> benjamingoodger: yes.
20:34:27 <benjamingoodger> china: amazing
20:34:32 <Aali> err
20:34:34 <Antdovu> I suggest you learn reverse polish notation ;)
20:34:37 <benjamingoodger> I can't do passenger services correctly :P
20:34:42 <china> though, im noticing the passenger rate is going down
20:34:42 <Aali> i've seen towns grow out from nothing
20:34:52 <china> so the high profit is temporary
20:34:56 <benjamingoodger> hmm
20:35:05 <Aali> the only way to stop it is to buy some land under the sign
20:35:23 <Aali> 5x5 tiles should be enough
20:35:38 <china> steven seagal on tv. <3
20:35:50 <benjamingoodger> china: the passenger number is proportional to the proximity (nearness) of passenger-creating buildings
20:36:04 <benjamingoodger> try moving your stations toward the city centre if possible
20:36:09 <china> the biggest station (both train, bus and helicopter pad) has 2400 people
20:36:22 <china> and the town aint that big
20:36:25 <benjamingoodger> alternatively, you could try integrating the train system with a bus network
20:36:31 <china> :)
20:37:39 *** Sacro has joined #openttd
20:38:30 *** Gekz has quit IRC
20:39:05 *** Korenn has quit IRC
20:39:07 *** Mark has quit IRC
20:39:27 <china> end of year
20:39:32 <china> four million profit for the train.
20:39:35 <china> not bad.
20:39:37 <benjamingoodger> :)
20:39:42 <benjamingoodger> wait
20:39:44 <benjamingoodger> what currency is that?
20:39:47 <china> dollars
20:39:50 <benjamingoodger> aha
20:39:53 <benjamingoodger> good
20:40:02 <benjamingoodger> I thought you were going to say 4 million SEK :P
20:40:28 <Eddi|zuHause> game balance is quite far off...
20:41:34 <china> balance?
20:43:37 <Eddi|zuHause> exactly :p
20:43:57 <Antdovu> yeah, we need a year 2008 mod -- your company value can only go down
20:44:09 <china> :D
20:44:12 <Antdovu> but you will be able to apply for a bailout
20:44:13 <china> well
20:44:20 <china> i have many ideas to put in here
20:44:40 <china> i would like to see more options around the borrowing bit
20:44:44 <china> like differ interests
20:44:49 <china> financial crisis
20:44:53 <china> presidential changes
20:44:55 <china> :D
20:46:23 *** Deathmaker has quit IRC
20:46:57 *** Progman has joined #openttd
20:47:52 *** Hirundo has joined #openttd
20:48:58 *** Swallow has quit IRC
20:49:05 *** Hirundo is now known as Swallow
20:50:32 <china> is zeppeliners worth the money for passengers?
20:50:47 <china> 30 passengers per $790,000
20:50:51 <Antdovu> no, you can shoot them down with a shotgun
20:50:52 <china> quite expencive.
20:51:24 <Sacro> Antdovu: flaming arrow is prettier
20:51:29 *** KritiK has joined #openttd
20:51:44 <Antdovu> depends on the local customs
20:52:16 <china> btw
20:52:18 <Antdovu> in some places people just trough a bunch of perl at them
20:52:22 <Antdovu> throw*
20:52:27 <benjamingoodger> heheh
20:52:30 <china> i have sent all my trucks to depos, since i want to remove everyone of them
20:52:42 <china> is there a better way then clicking delete in every depot?
20:52:57 <Antdovu> click "sell all" in every depot
20:53:16 <china> it's alot of depots :<
20:53:26 <Antdovu> shouldn't have built that many :P
20:53:57 *** M4rk has joined #openttd
20:54:02 *** M4rk is now known as Mark
20:54:13 *** Mark has quit IRC
20:55:27 *** Mark has joined #openttd
20:55:30 *** Mark is now known as M4rk
20:55:32 *** M4rk is now known as Mark
20:55:37 <benjamingoodger> ¬.¬
20:56:18 <Aali> vehicle console commands is your friend
20:57:26 <ln> hello to everyone who has joined while i was away
20:57:39 <Aali> 'road all sell', and poof, they're gone
20:57:56 <Aali> disclaimer: requires a patched client :)
20:59:48 *** helb has quit IRC
21:00:39 <china> bah
21:00:45 <china> i overdid it
21:00:48 <china> im redooing the map
21:01:54 *** gauthier__ has joined #openttd
21:01:56 *** gauthier__ is now known as gauthier
21:03:48 *** mrfrenzy has joined #openttd
21:05:26 *** elmex has quit IRC
21:06:50 *** ma_ has joined #openttd
21:07:40 *** Frostregen has joined #openttd
21:08:35 *** nekx has quit IRC
21:12:40 <Belugas> marphffff...
21:13:00 <Belugas> et re merde
21:16:13 <Vikthor> Is it possible to set vehicle capacity to zero using either callback 36 or 15?
21:16:59 <frosch123> yes, 15
21:17:56 <frosch123> see serbian tram set, which offers refitting a tram with an additional trailer
21:20:38 <Vikthor> Ok, I will take a look, because for me when I try to set capacity of first vehicle to zero after a refit, it gets stuck on the last cargo type and capacity it was before the refit
21:26:45 *** sigmund_ has joined #openttd
21:28:26 *** sigmund has quit IRC
21:30:59 <frosch123> hmm, ok, my hint was wrong
21:31:12 <frosch123> the non-present trailer also has a capacity
21:31:47 <china> mrfrenzy: o/
21:33:40 <Wolf01> 'night to all but ln ;)
21:33:46 <frosch123> night Wolf01
21:33:51 *** Wolf01 has quit IRC
21:34:02 <frosch123> Vikthor: I am a bit tired currently, but the code looks buggy :)
21:34:56 <Vikthor> hmm shall I try to file a bug report?
21:34:57 <frosch123> i.e. when cb 15 returns 0, the capacity is not added to the total capacity, but the capacity of the articulated part stays with its previous value
21:35:32 <Vikthor> yeah, thats exactly wthat is happening with my grf
21:38:08 <mrfrenzy> hi china ;)
21:42:27 <Qball> china where?
21:42:40 <china> Qball: what?
21:42:44 <frosch123> Vikthor: I guess the bug applies to road vehicles and trains. Ships and aircraft should work. Though it is not very useful for them :)
21:42:45 <china> mrfrenzy: :>
21:42:55 <Qball> aah nickname
21:44:01 <Vikthor> frosch123: Shall I file a bug or you will handle it right away?
21:44:09 <china> mrfrenzy: you sneaky bastard.
21:44:18 <china> du bara sitter och vntar p stlar ju
21:44:24 * china anvnder alla pengar hela tiden
21:44:25 *** mortal` has joined #openttd
21:44:49 *** mortal is now known as Guest2953
21:44:49 *** mortal` is now known as mortal
21:44:51 <frosch123> Vikthor: I guess I can handle it tomorrow
21:45:31 <Vikthor> so no need for a bug report, or shall I file anyway to increase your count of closed bugs ? :)
21:45:40 <Antdovu> Δεν καταλαβαίνω τι λέτε
21:47:31 *** rubyruy has quit IRC
21:47:39 *** rubyruy has joined #openttd
21:47:49 <Prof_Frink> Eddi|zuHause: OK, the town where I demolished all the roads near the centre has rebuilt and is expanding, the town where I put diagonal track around the centre tile but left that there is dying.
21:48:39 <frosch123> Vikthor: If you can compile, you might want to test http://devs.openttd.org/~frosch/diffs/FixZeroCapacity.diff
21:49:11 <china> how can i get a steel mill that "currently doesnt accept iron ore" to accept iron ore again?
21:49:13 <frosch123> Though I have no clue, why that test was added in the first place
21:49:14 <china> :<
21:49:16 <china> thats the only reason i get.
21:49:16 <Vikthor> Yes I can, I will try it
21:49:42 <frosch123> china: by reading the "readme" of the industry grf you are using
21:50:17 *** Sacro has quit IRC
21:50:39 *** davis- is now known as dAvis-
21:51:39 *** Guest2953 has quit IRC
21:52:51 *** Aylomen has quit IRC
21:54:37 *** fonso has left #openttd
21:57:23 *** FloSoft` has quit IRC
21:58:08 *** Neo__ has joined #openttd
21:59:49 * Belugas goes out of the office, to see NIN!
21:59:51 <Belugas> big night
21:59:54 <Belugas> see yu all
21:59:57 *** Sacro has joined #openttd
21:59:59 <frosch123> night Belugas
22:00:01 <ln> bye, Belugas
22:00:06 <ln> hello, Sacro
22:00:12 * frosch123 should also leave
22:00:12 <Sacro> hi ln
22:00:18 <frosch123> night
22:00:21 <Vikthor> night
22:00:22 <ln> night, frosch123
22:00:27 *** frosch123 has quit IRC
22:00:53 *** Swallow has quit IRC
22:05:17 <gregor> http://paste.openttd.org full of spam :/
22:07:24 <Eddi|zuHause> so what?
22:07:27 <Antdovu> The connection was refused when attempting to contact paste.openttd.org.
22:12:09 *** DASPRiD has joined #openttd
22:12:16 *** KritiK has quit IRC
22:12:23 *** Neo__ has left #openttd
22:12:34 <DASPRiD> hey, can someone help me with grf here?
22:12:54 <Aali> no
22:13:32 <dAvis-> lol
22:13:58 <Antdovu> enlarge your cHaR* today!
22:14:10 <Aali> you think thats funny?
22:14:15 <Antdovu> no :(
22:14:25 <Aali> with the information he provided, there's no way i could help him
22:14:34 <Aali> Antdovu: not you
22:15:11 <DASPRiD> I just need some help regarding the code of grfcodec
22:15:45 <Aali> just ask what you want to ask
22:16:46 <Eddi|zuHause> no need to ask, we are clearly psychic enough to find that out on our own
22:16:51 <DASPRiD> well I have multiple questions, first is: outbufsize = 0L + sx * sy + 8; // what does the 0L in this equatation mean?
22:17:02 <DASPRiD> Eddi|zuHause, kewl :X
22:17:42 <Eddi|zuHause> means that the constant 0 is to be treated as a long int
22:17:46 <Osai> j
22:17:52 <Aali> ^ what he said
22:17:58 <Antdovu> k
22:18:22 <DASPRiD> Eddi|zuHause, ah so... when translating that to a high level language, i can just skip the "0L +" ?
22:19:05 <Yexo> maybe, but it might be an obscure way to cast sx * sy before multiplying
22:19:12 <Eddi|zuHause> i'm not even sure that this code does what this person wanted it to do
22:19:23 <Eddi|zuHause> but yeah, i'd just cast sx and sy
22:19:34 <DASPRiD> Eddi|zuHause, well, grfcodec works, doesnt it? ;)
22:19:48 <Eddi|zuHause> that might as well just be a coincidence :p
22:20:00 <DASPRiD> hehe
22:20:06 <Eddi|zuHause> like, a compiler specific interpretation of the code
22:20:31 <Eddi|zuHause> but i'm not that deep in the c specification to really decide that
22:20:47 <DASPRiD> probably DaleStan knows :x
22:21:02 <Ammler> grfcodec isn't the only software, which can read grfs, btw.
22:21:14 <Ammler> maybe you should also take a look to openttd source :P
22:21:14 <Antdovu> in c it would definitely be done with long integers from 0L on
22:22:04 <Eddi|zuHause> Antdovu: well, if i were to evaluate that expression, i'd have a sum with 3 operands, where the first one is long, and the others get cast to long
22:22:27 <Antdovu> that's how I see it as well
22:22:31 <Eddi|zuHause> but the cast of the operand sx*sy would be done a posteriori
22:22:41 *** ecke has quit IRC
22:23:03 <Antdovu> that's probably intentions vs code?
22:23:08 <Eddi|zuHause> so i sx and sy were 8 bit, the result of the 8 bit operation may overflow before being cast to long
22:23:17 <DASPRiD> probably i should just try to understand what http://www.ttdpatch.net/grfcodec/grf.html describes :)
22:24:06 <Eddi|zuHause> but really, i don't know the C specification that well
22:24:17 *** ecke has joined #openttd
22:24:25 <Antdovu> try it?
22:24:37 *** KritiK has joined #openttd
22:24:45 <Eddi|zuHause> did you listen to anything i said?
22:25:02 <Eddi|zuHause> the compiler could still just coincidently do things correctly
22:25:15 <DASPRiD> i listened! :x
22:25:27 <Eddi|zuHause> i was talking to Antdovu :p
22:25:30 <Antdovu> that is just a simple example of a very important detail
22:25:48 <Antdovu> I am sure it would be done correctly in any reasonable compiler
22:26:19 <Eddi|zuHause> Antdovu: large portions of the C specification just say "the behaviour in that case is undefined"
22:26:47 *** [com]buster has quit IRC
22:26:56 *** [com]buster has joined #openttd
22:27:00 <Eddi|zuHause> which tells the compiler builder: "you can do whatever you like here." (in most cases, that are parts where optimisations can be done)
22:27:48 <Eddi|zuHause> and one such optimisations might be, if the "strict" code would say:
22:28:03 <Eddi|zuHause> 1) calculate 15 bit result of 8bit*8bit operation
22:28:21 <Eddi|zuHause> 2) clear out top 7 bits to 8bit again
22:28:26 <Eddi|zuHause> 3) cast to 32bit
22:28:37 <Eddi|zuHause> the optimisation here could be to leave out step 2
22:28:54 <ln> 00:23 < Eddi|zuHause> so i sx and sy were 8 bit, the result of the 8 bit operation may overflow before being cast to long <--- let's not forget about the term integer promotion
22:29:10 <Eddi|zuHause> but i need to say again, i don't know what the specification says
22:30:43 <Antdovu> Integer Promotions Integer types smaller than int are promoted when an operation is performed on them. If all values of the original type can be represented as an int, the value of the smaller type is converted to an int; otherwise, it is converted to an unsigned int.
22:31:56 <Antdovu> => 0L is useless
22:40:55 *** Char has joined #openttd
22:42:54 *** mortal has quit IRC
22:52:58 *** Brianetta has joined #openttd
23:03:05 *** PhoenixII has joined #openttd
23:03:54 *** Chrill has joined #openttd
23:03:54 *** Phoenix_the_II has quit IRC
23:04:15 *** glx|away has joined #openttd
23:04:15 *** ChanServ sets mode: +v glx|away
23:06:02 *** tokai has quit IRC
23:07:42 *** SpComb^ has quit IRC
23:07:45 *** SpComb^ has joined #openttd
23:08:02 *** tokai has joined #openttd
23:08:02 *** ChanServ sets mode: +v tokai
23:09:36 *** glx has quit IRC
23:10:01 *** [com]buster has quit IRC
23:19:16 *** glx|away is now known as glx
23:25:07 *** Progman has quit IRC
23:26:27 *** gregor has quit IRC
23:28:15 *** Bergee has quit IRC
23:31:44 *** Bergee has joined #openttd
23:32:26 *** snorre has quit IRC
23:32:35 <Ammler> why does the "Heavy Equipment Set" not work in ttdpatch?
23:36:10 <Ammler> I hope it is not something like the issue with opengfx some time ago...
23:43:09 *** Brianetta has quit IRC
23:46:20 *** Vikthor has quit IRC
23:48:38 *** Mark has quit IRC
23:54:26 *** stillunknown has quit IRC