IRC logs for #openttd on OFTC at 2011-03-05
00:01:02 *** supermop has quit IRC
00:17:06 *** supermop has joined #openttd
00:21:28 *** Fuco has quit IRC
00:36:09 <alluke_> wooooou wooooou
00:43:08 *** Biolunar has quit IRC
00:43:30 *** Pikka has joined #openttd
00:55:33 *** alluke_ has quit IRC
00:57:02 *** Devroush has quit IRC
01:02:06 *** Fast2 has quit IRC
01:07:45 *** zodttd has quit IRC
01:08:43 *** Brianetta has quit IRC
01:12:38 *** Phoenix_the_II has quit IRC
01:13:32 *** KenjiE20 has quit IRC
01:32:09 <CIA-11> OpenTTD: glx * r22191 /trunk/projects/ (3 files): -Fix: make sure table/settings.h is generated with MSVC2010, also fix a warning in version project
01:33:53 <supermop> interesting spam
01:38:09 *** roboboy has joined #openttd
01:38:21 *** devilsadvocate has quit IRC
01:40:13 *** DanMacK has quit IRC
01:42:04 *** devilsadvocate has joined #openttd
01:49:49 *** Zuu has joined #openttd
01:55:28 *** KritiK has quit IRC
02:03:50 *** devilsadvocate has quit IRC
02:06:19 *** pugi has quit IRC
02:23:06 *** Krusen has quit IRC
02:27:13 *** devilsadvocate has joined #openttd
02:35:01 *** DanMacK has joined #openttd
03:00:18 *** andythenorth has joined #openttd
03:03:31 *** andythenorth has quit IRC
03:08:09 *** DanMacK has quit IRC
03:21:25 *** Pikka has quit IRC
03:26:40 *** rhaeder1 has joined #openttd
03:31:46 *** rhaeder has quit IRC
03:57:29 *** avdg has left #openttd
04:05:03 *** glx has quit IRC
04:14:29 *** Dreamxtreme has quit IRC
04:16:32 *** nicfer has joined #openttd
04:16:59 <nicfer> hi everyone awake
04:18:31 <Markk> Good evening to you sir/madam.
04:19:14 *** Chrill has joined #openttd
04:19:36 *** Dreamxtreme has joined #openttd
04:42:53 *** Lakie has quit IRC
04:50:26 *** avdg has joined #openttd
04:56:55 *** mynetdude has joined #openttd
04:56:58 <mynetdude> aha
04:57:56 <Markk> Yep :)
04:59:17 *** andythenorth has joined #openttd
05:00:50 <mynetdude> would there be any way or how about would it be easy to create a free for all play in OTTD? Like be able to setup your own towns, industries, etc and without money?
05:01:25 <mynetdude> I also noticed I read somewhere that the stable release 1.0.5 allows you to build under tracks, I have not been able to get htis to work
05:01:31 <mynetdude> htis/this
05:08:31 <nicfer> which grfs can I use for a passenger network game?
05:21:51 <avdg> mynetdude: you may not know the differences it made
05:23:22 <mynetdude> I'm sorry, what do you mean avdg?
05:23:56 <avdg> without that change, you couldn't build nearly anything, if you know what I mean
05:25:07 <mynetdude> no I don't know
05:25:33 <mynetdude> but I had the impression you could build under tracks does that mean without a bridge?
05:27:41 <avdg> you can still build bridgeramps
05:28:39 <mynetdude> yes I know you can build bridge/ramps but I was actually hooping to be able to build under tracks actually
05:28:47 <mynetdude> hooping/hoping
05:28:57 *** grzywacz has quit IRC
05:29:23 <avdg> well, the current model is already much better then the old one
05:29:26 <mynetdude> avdg but every time I do, it tells me "track in the way" or "you must remove track"
05:30:11 * mynetdude wants to start with a blank map like SimCity and I want to build all my indds, towns, etc
05:30:13 <avdg> you mean buildings and stuff?
05:30:27 <avdg> indeed thats not possible :p
05:30:34 <mynetdude> ah :(
05:30:36 <mynetdude> too bad
05:30:54 <avdg> its 1 step closer to lazyness :p
05:31:03 <mynetdude> what do you mean?
05:31:20 *** Chrill has quit IRC
05:31:36 <avdg> not cleaning up stuff before building new stuff
05:32:03 <mynetdude> avdg oh you mean OTTD development?
05:32:11 <avdg> nah, ingame
05:34:28 <mynetdude> oh, clean up what? I'm not sure what you're talking about there's nothing to clean up, yeah sure there's always tons of improvising as you continue to build
05:35:34 <mynetdude> well personally I'd rather start with a blank map and play free for all without the game $$$
05:35:47 <avdg> nvm
05:35:56 <mynetdude> or at least be allowed to start with 2 towns, and 2 matching industries
05:41:06 *** supermop has quit IRC
05:41:21 *** andythenorth has quit IRC
05:56:01 *** Eddi|zuHause has quit IRC
05:56:17 *** Eddi|zuHause has joined #openttd
06:09:39 <mynetdude> have you ever seen 2 trains either opposing directions or same direction use the same platform at the same time at the same station in real life?
06:11:42 <avdg> yes, in the netherlands
06:12:05 <avdg> but their you have crosses between "sections" of a platform
06:25:37 *** nicfer has quit IRC
06:28:10 *** andythenorth has joined #openttd
06:36:15 *** andythenorth has quit IRC
06:47:50 *** andythenorth has joined #openttd
06:48:18 <andythenorth> hello
06:51:01 *** sla_ro|master has joined #openttd
06:51:09 <sla_ro|master> hello
06:51:21 <sla_ro|master> im running a server and i want to know where can i get a irc bot for it ?
06:51:34 <sla_ro|master> i like more remote control from irc
06:55:39 *** PeterT has quit IRC
06:56:01 *** PeterT has joined #openttd
06:56:56 <Rubidium> ap+?
06:57:05 <sla_ro|master> ?
06:57:15 <Rubidium> but that is known to not work with all versions of OpenTTD
06:57:26 <sla_ro|master> i have latest stable for windows
06:58:16 <Rubidium> that definitely makes setting up ap+ a lot harder
06:58:43 <sla_ro|master> whats ap+ ?
06:59:35 <Rubidium> something that bridges OpenTTD and IRC, which was what you were asking for, right?
06:59:46 <sla_ro|master> yep
06:59:54 <sla_ro|master> i need something to access on rcon my server
06:59:56 <sla_ro|master> from irc
07:02:34 <sla_ro|master> btw.. i tried to make a connection to server on tcp with the port of server and tried to send "rcon pass "command"" but not worked..
07:06:01 <Rubidium> that won't work; that connection only allows those rcons after it's being fully logged in to the server
07:06:17 <sla_ro|master> ok
07:06:20 <Rubidium> and it's a somewhat binary format
07:07:03 <Rubidium> in the 1.1 release candidates/betas there's a port especially for bots that is simpler with respect to logging in and such
07:07:08 <sla_ro|master> eh.. i had send text to server
07:07:17 <sla_ro|master> ok
07:07:23 <Rubidium> but that protocol is also binary
07:07:53 <sla_ro|master> mIRC can convert text to binary, i was making the bot on mirc
07:14:04 * avdg wants to end the spamwar with
07:21:59 <avdg> it should block anonymous users creating these pages
07:22:21 *** Kurimus has joined #openttd
07:25:58 <Rubidium> and with these you mean "any", right?
07:26:17 <avdg> hopefully
07:26:22 <avdg> I've tested it locally
07:26:35 <avdg> actually, against this one
07:27:36 <avdg> logged in users can still create such pages, if that was your question
07:28:59 <Rubidium> but does it block just the creation of any page for anonymous people?
07:29:11 <avdg> nope
07:29:17 <sla_ro|master> where can i get expected packet for activetcl?
07:29:37 <avdg> its regex controlled
07:30:24 <Rubidium> well, for some reason those pages don't trigger the spam word list or the spam ip list
07:31:04 <avdg> yeah, and recaptcha doesn't work well
07:31:21 <Rubidium> it doesn't work for humans trying to enter them
07:32:39 *** Cybertinus has joined #openttd
07:33:20 <avdg> well, I hope that "botnet" doesn't change there way they form titles
07:33:31 <avdg> if they do, then we have to fight back
07:36:59 *** JOHN-SHEPARD has joined #openttd
07:57:21 <andythenorth> funding FIRS industries is very expensive :o
07:58:46 *** Alberth has joined #openttd
07:58:46 *** ChanServ sets mode: +o Alberth
08:06:50 *** elmz has joined #openttd
08:11:35 <planetmaker> moin
08:15:50 *** andythenorth has quit IRC
08:18:36 *** roboboy has quit IRC
08:27:25 *** KouDy has joined #openttd
08:30:01 *** ar3k has joined #openttd
08:30:06 *** ar3k is now known as ar3kaw
08:37:12 *** Progman has joined #openttd
08:43:20 *** Wolf01 has joined #openttd
08:48:21 <Wolf01> hello
08:48:59 <CIA-11> OpenTTD: rubidium * r22192 /trunk/projects/openttd_vs80.sln: -Fix (r22188): MSVC 2005 64 bits didn't build settings(gen), and as such compilation failed
08:49:08 <__ln__> hello citizen of berlusconia
09:02:10 *** pugi has joined #openttd
09:10:33 *** HerzogDeXtEr has joined #openttd
09:17:20 *** mynetdude has quit IRC
09:17:22 *** HerzogDeXtEr1 has quit IRC
09:18:55 *** mynetdude has joined #openttd
09:19:51 *** amkoroew has joined #openttd
09:30:30 *** JOHN-SHEPARD has quit IRC
09:32:49 <Terkhen> good morning
09:38:49 <planetmaker> hm... where's the NewObjects GUI?
09:39:40 <Alberth> landscape afaik
09:39:49 <planetmaker> there's no landscape_gui.cpp
09:40:41 <planetmaker> he, but an object_gui.cpp :-)
09:41:15 <Alberth> I just reached that conclusion too :)
09:42:23 <planetmaker> as usual: asking helped to find it oneself :-) Thanks
09:48:46 *** krinn has quit IRC
09:51:41 *** andythenorth has joined #openttd
09:53:18 *** ecke has joined #openttd
09:53:28 <andythenorth> hello
09:53:47 <planetmaker> moin andythenorth
09:54:44 <andythenorth> what are we doing?
09:55:23 <CIA-11> OpenTTD: planetmaker * r22193 /trunk/src/cheat_gui.cpp: -Fix: Invalidate the object build window when using the date cheat
09:55:33 <planetmaker> cheating ^
09:58:30 <Terkhen> hi andythenorth
10:04:32 *** Hirundo has quit IRC
10:05:03 *** Hirundo has joined #openttd
10:09:58 *** |Jeroen| has joined #openttd
10:10:15 *** Yexo has quit IRC
10:11:04 *** Yexo has joined #openttd
10:11:04 *** ChanServ sets mode: +o Yexo
10:12:17 <CIA-11> OpenTTD: rubidium * r22194 /trunk/src/table/ (7 files): -Codechange: use the defaults feature of settingsgen to remove the need to state the "default" value for all items
10:13:27 <CIA-11> OpenTTD: rubidium * r22195 /trunk/ -Fix (r22188): make sure makedep picks up the newly generated settings.h so settings.cpp gets recompiled when needed
10:16:42 *** Fast2 has joined #openttd
10:21:01 <CIA-11> OpenTTD: rubidium * r22196 /trunk/src/table/ (7 files): -Codechange: use default values for the from and to of savegame versions as well
10:21:50 *** tokai|mdlx has joined #openttd
10:24:58 *** tokai|noir has quit IRC
10:46:14 *** Pikka has joined #openttd
10:48:03 <CIA-11> OpenTTD: rubidium * r22197 /trunk/src/table/ (8 files):
10:48:03 <CIA-11> OpenTTD: -Cleanup: remove the distinction between conditional and non-conditional
10:48:03 <CIA-11> OpenTTD: settings; with default from and to savegame versions all can be conditional.
10:48:03 <CIA-11> OpenTTD: They previously were as well; the non-conditional ones were macros of the
10:48:03 <CIA-11> OpenTTD: conditionals with to/from saveload versions hardcoded
10:49:27 *** tycoondemon has joined #openttd
10:56:35 *** michi_cc has quit IRC
11:01:01 *** MinchinWeb has joined #openttd
11:02:29 <MinchinWeb> is this the IRC channel to ask for help to create your own town list?
11:07:19 <Rubidium> there are at least some that can help you with it (or give you clues)
11:07:36 <Rubidium> though I'm not aware whether there is a channel really dedicated to town lists
11:07:57 *** roboboy has joined #openttd
11:10:14 <planetmaker> MinchinWeb: have a look at existing projects, like
11:11:07 <Alberth> or
11:11:39 <planetmaker> any of those, yes :-)
11:11:59 <Ammler> swisstowns needs bash, that might be not start friendly
11:12:19 <planetmaker> Ammler: the others need bash + mingw :-P
11:12:33 <Ammler> dutchtowns is nml only
11:12:42 <planetmaker> oh, right :-)
11:13:00 <Alberth> Ammler: could 'compiler' also remove issues when its deletes the url with the error?
11:13:11 <Alberth> or copy the text into the issue or so?
11:13:49 <Ammler> yes, I would like that, at least a part of the error log like first 100 lines
11:14:13 *** DJNekkid has quit IRC
11:15:03 *** DJNekkid has joined #openttd
11:15:09 <Ammler> current redmine isn't able to update issues with REST API, but newer will
11:15:47 <MinchinWeb> I was looking at the central page you mentioned and it suggested coming over to IRC...
11:15:52 <Ammler> but they are committing a log mercurial patches right now, so it is not that easy to update my mq right now ;-)
11:16:04 <Ammler> s/a log/a lot/
11:16:05 <MinchinWeb> I'll look at the Swiss names...
11:16:53 <Ammler> MinchinWeb: which OS do you work with?
11:16:56 <CIA-11> OpenTTD: rubidium * r22198 /trunk/src/ (5 files in 3 dirs): -Codechange: make some constants name more explicit
11:17:52 <MinchinWeb> I'm running Windows 7
11:17:59 <Ammler> if it is windows and you don't know bash, you should rather check projects without bash
11:18:06 <Ammler> like dutchtowns
11:20:50 <MinchinWeb> I can follow the Dutch project a lot better...
11:21:39 <MinchinWeb> So if I create a .NML file (which appears to be a text file), how do I turn that into a .GRF to use with the game?
11:22:13 <planetmaker> by using nmlc to compile it into a grf
11:22:18 *** DoubleYou has quit IRC
11:22:28 <planetmaker>
11:22:29 <Eddi|zuHause> MinchinWeb: download the nml compiler.
11:23:54 *** PierreW has quit IRC
11:23:57 *** PierreW has joined #openttd
11:24:18 <MinchinWeb> do I need to install Python? or is the nml compiler self contained?
11:24:28 <planetmaker> woah... DutchTowns has the grf in the repo and no license :S
11:24:38 <Terkhen> :(
11:24:50 <planetmaker> MinchinWeb: you need to install everything which is explained in the getting started section
11:25:10 <planetmaker> though there's a windows installer... let me search
11:25:33 <planetmaker>
11:25:45 <planetmaker> that should work mostly out of the box, I think
11:26:38 <MinchinWeb> ok, I'll play with it for a couple days and see how far I get
11:26:51 <MinchinWeb> Is there a suggested minimum number of names to provide?
11:27:31 <planetmaker> there is... the number of possible towns is limited by the amount of names you can provide
11:28:09 <planetmaker> so for a low amount it may fail to generate many on a big map... how many? a few dozen at least, I think; I know not the exact numbers
11:28:55 <MinchinWeb> so if you run out of names, does the map generator just stop adding towns?
11:29:29 <avdg> it seems it does here
11:29:51 <avdg> + that it iterates slower here
11:29:57 <planetmaker> MinchinWeb: it does, yes
11:30:08 <MinchinWeb> Ok, good to know
11:30:31 <MinchinWeb> is there somewhere I can download an offline version of the NML documentation?
11:30:55 *** perk11 has joined #openttd
11:31:36 <planetmaker> MinchinWeb: nml comes with documentation
11:31:50 <planetmaker> isn't there some in the zip?
11:31:51 *** KenjiE20 has joined #openttd
11:32:50 <MinchinWeb> no, just an EXE and 6 PYD files, so unless it generates the documentation when you run it or something
11:34:16 <planetmaker> I really don't know what it generates. If not, then get the usual version from , unzip and you'll find the documentation in the docs dir
11:34:43 <CIA-11> OpenTTD: rubidium * r22199 /trunk/src/table/ (9 files): -Cleanup-ish: replace the shortcut macros for (gui)flags with their more clearly named (longer) constant names
11:35:27 *** ctibor has quit IRC
11:35:29 *** ctibor has joined #openttd
11:36:40 <MinchinWeb> OK, I'll play with it and see what I can get. Thanks so much
11:37:18 *** Krusen has joined #openttd
11:38:52 <planetmaker> you're welcome
11:40:53 *** Brianetta has joined #openttd
11:54:30 <peter1138>
11:56:25 *** tokai|noir has joined #openttd
11:56:58 *** michi_cc has joined #openttd
11:56:58 *** ChanServ sets mode: +v michi_cc
11:57:25 *** Brianetta has quit IRC
12:02:11 *** tokai|mdlx has quit IRC
12:02:12 *** Pikka has quit IRC
12:02:48 *** Fuco has joined #openttd
12:04:00 <Terkhen> you can't kill nightmares, it will come back somehow
12:13:01 *** DanMacK has joined #openttd
12:14:32 <planetmaker> can someone verify that is not an installer for OpenTTD which comes with documentation / readme / license?
12:14:47 *** fonsinchen has joined #openttd
12:14:59 *** Chris_Booth has joined #openttd
12:15:30 <DanMacK> Hey all
12:15:37 <Terkhen> planetmaker: let me check
12:15:47 <planetmaker> hi DanMacK
12:15:56 *** welshdragon has quit IRC
12:16:12 <Alberth> DanMacK: all sends you his greetings
12:16:33 *** welshdragon_ has joined #openttd
12:16:55 *** Phoenix_the_II has joined #openttd
12:17:17 <MinchinWeb> Ok another question - how do you get a GRFID?
12:18:11 <planetmaker> choose one. Just don't use one which is being used by another
12:18:18 <planetmaker> There's unfortunately no comprehensive list
12:18:39 <Yexo> planetmaker: are you sure it's an installer at all?
12:18:47 <planetmaker> The usual guide is to use something like your initials and then a grf-specific number. Like 0 for your first grf
12:18:59 <Yexo> looks like a zip with a (renamed) openttd.exe inside
12:19:00 <planetmaker> Yexo: I don't know at all what it is. I suspect it's a plain binary without anything extra
12:19:01 <Terkhen> planetmaker: since it triggers a No available language packs error, I doubt it is even an installer
12:19:17 <planetmaker> ok. Then I'll tell him about the rules :-). Thanks
12:19:44 <MinchinWeb> Planetmaker: is the GRFID alphanumeric or hex?
12:19:59 <Alberth> hex
12:20:36 <Alberth> although you can make an alphanumeric grfid using hex as well :)
12:23:25 <Eddi|zuHause> MinchinWeb: it's basically 4 letters, but can also be a 4-byte-number
12:23:50 <planetmaker> MinchinWeb: it's anything which goes as 4-bytes
12:24:52 <Eddi|zuHause> MinchinWeb: the convention was to use your initials and then a number determining which of your grfs it is, and which version. but the version thing is obsolete meanwhile
12:26:12 *** alluke has joined #openttd
12:32:04 <MinchinWeb> So can you have a string of as many hex 'characters' as you want or are you limited to three (and exactly three)?
12:32:56 <planetmaker> a grfID is exactly 4 bytes
12:33:09 <planetmaker> not more. not less
12:35:07 <alluke> shit
12:35:12 <alluke> i accidentally gravedug
12:35:27 *** KouDy has quit IRC
12:35:27 <planetmaker> you can always delete your postings
12:35:34 <planetmaker> if no one answered (yet)
12:35:35 <alluke> dunno is it necessary
12:35:42 <alluke>
12:35:53 <planetmaker> depends on the kind of day Hyronymus had
12:36:47 *** KouDy has joined #openttd
12:36:56 *** Chillosophy has joined #openttd
12:42:20 *** andythenorth_ has joined #openttd
12:42:49 *** MinchinWeb has quit IRC
12:42:59 *** Strid_ has quit IRC
12:43:15 *** Strid_ has joined #openttd
12:43:50 <DanMacK> Hey Andy
12:45:41 *** andythenorth has quit IRC
12:45:46 <planetmaker> alluke: that's not a grave dig
12:45:49 <planetmaker> that's adding content
12:45:52 <alluke> ah
12:45:53 <alluke> ok
12:46:01 <alluke> i thought so because the last post was old
12:46:53 <Yexo> it doesn't matter if the last post is old as long as you add something useful to the topic, which you clearly did
12:46:56 <alluke> does.@user have any effect
12:56:05 *** Fast2 has quit IRC
13:01:18 *** valhallasw has joined #openttd
13:01:50 *** FloSoft has quit IRC
13:01:51 *** FloSoft has joined #openttd
13:02:00 *** fonsinchen has quit IRC
13:05:46 *** hoax has quit IRC
13:05:47 *** hoax has joined #openttd
13:08:55 <alluke> i think rivers and lighthouses should be able to build in-game
13:15:21 <planetmaker> alluke: thanks for the translation. I guess there are now enough to warrant a new release with translation updates
13:15:42 <alluke> no
13:15:44 <alluke> np*
13:18:14 <alluke> is it possible to add ore roadtypes like nutracks
13:18:26 <alluke> more*
13:19:13 <andythenorth_> no
13:19:16 <planetmaker> there are no road types yet
13:19:16 <andythenorth_> maybe one day
13:19:24 <andythenorth_> it's too hard for me
13:19:26 <alluke> ok
13:19:33 <alluke> screw it
13:19:33 <andythenorth_> no-one else wants to work on it :D
13:19:40 <alluke> :D
13:19:53 <alluke> why dont you put up recruit topic
13:20:19 <Alberth> alluke: that is called 'suggestion forum' :p
13:20:33 <alluke> okay
13:21:04 <planetmaker> everyone is free to work on that feature s/he likes
13:21:37 <planetmaker> or come here and ask for suggestions of what <whoever> would like to see most urgently in the game and s/he could grind his/her teeth on
13:21:51 <Terkhen> features like this one would be made faster if we used conscription
13:22:12 <planetmaker> "conscription"?
13:22:38 <Alberth> first make a new feature before allowed to play :)
13:22:47 <planetmaker> like announce "we want features a) b) and c)"?
13:22:50 *** KouDy has quit IRC
13:23:09 <Terkhen> forced recruitment for working in features
13:23:23 <planetmaker> hm... :-P
13:23:29 *** Adambean has joined #openttd
13:23:35 <planetmaker> s/military service/openttd coding service/? ;-)
13:23:43 <Terkhen> :)
13:23:55 <Alberth> I have some doubt it would be productive :p
13:24:02 <planetmaker> at your service, general Terkhen :-P
13:24:12 <Terkhen> probably as productive as forced military service was
13:24:20 <planetmaker> hehe, yeah
13:24:25 <Terkhen> :P
13:24:59 * Alberth played with DB3 while in military service :)
13:26:38 <planetmaker> ;-)
13:26:50 * planetmaker made the first experience with how to behave as BOFH there
13:27:30 * planetmaker was having fun sending shut-down messages to all repair workshops in the evenings to rush their daily reports :-P
13:28:06 <Alberth> :D
13:28:24 <Alberth> hmm, how to get the next value of an iterator in Python?
13:28:37 *** SirSquidness has quit IRC
13:31:15 *** ^Spike^ has quit IRC
13:32:03 *** ^Spike^ has joined #openttd
13:35:54 *** dfox has joined #openttd
13:39:03 *** dfox_ has joined #openttd
13:39:03 *** dfox has quit IRC
13:40:52 *** alluke has quit IRC
13:40:55 *** luckz has quit IRC
13:41:09 *** alluke has joined #openttd
13:41:53 *** XeryusTC has quit IRC
13:42:14 <alluke> shit
13:42:18 <alluke> did anyone message it
13:42:20 <alluke> me
13:42:33 *** XeryusTC has joined #openttd
13:42:43 <Terkhen> @logs
13:42:43 <DorpsGek> Terkhen:
13:46:14 <planetmaker> alluke: you can get an update with your translation now from bananas
13:47:03 <andythenorth_> Alberth: did you get an answer to your python question?
13:48:24 <Alberth> no, but I created a solution with try/except:
13:48:42 *** Chris_Booth has quit IRC
13:49:54 <andythenorth_> Alberth: some people think the try, then say sorry route is wrong :)
13:50:04 <alluke> ok
13:50:11 <andythenorth_> there is actually a valid argument that it is wrong
13:50:16 <andythenorth_> and a valid argument that it isn't :P
13:51:18 <Alberth> I agree it is wrong, but I don't know how to test for the end otherwise :(
13:51:41 <andythenorth_> so you can't do a 'for i in' here?
13:52:27 <Eddi|zuHause> Alberth: what's wrong with .next()?
13:52:47 <Alberth> no, I want to get new lines at several points in the program
13:53:00 <Alberth> Eddi|zuHause: does that not throw exceptions?
13:53:23 <Alberth> otherwise nothing probably
13:53:26 <Eddi|zuHause> it throws StopIteration if it's the last item
13:53:44 <Alberth> one further, but yeah :)
13:53:56 <Alberth> I don't want that
13:55:52 <Eddi|zuHause> so what exactly are you trying to do=
13:56:27 <Alberth> parse a diff
13:57:01 <alluke>
13:57:16 <Alberth> ie look for +++ and ---, then for @@ then read some lines, and repeat either @@ or +++/---
13:57:49 <Eddi|zuHause> and what speaks against making a real parser with ply?
13:58:08 <Alberth> non context freeness ?
13:58:27 <Eddi|zuHause> what's not context free there?
13:58:50 <Alberth> that's the point, it isn't
13:58:51 *** Fast2 has joined #openttd
13:59:18 <Alberth> also, a real parser is overkill for the simple line-based format
13:59:46 <CIA-11> OpenTTD: smatz * r22200 /trunk/src/order_cmd.cpp: -Fix (r21642): removing a station order could stop when removing first automatic order
13:59:48 <Eddi|zuHause> i'm still not sure what you need "unget" for
14:00:41 *** DorpsGek has joined #openttd
14:00:41 *** ChanServ sets mode: +o DorpsGek
14:01:29 <Alberth> at the end, I don't know whether I will get a @@ or a new ++/--- until I have read the line. But then jumping back to point that deals with it breaks, as you cannot read that line any more
14:02:05 <Eddi|zuHause> aha, so you need a lookahead line
14:02:24 <Alberth> hmm, perhaps @@ always comes immediately after the previous chunk ?
14:03:09 <Eddi|zuHause> so you need separate top() and pop() functions
14:03:29 <Alberth> what are those?
14:03:56 <Alberth> oh, some alternative look-ahead probably :)
14:03:59 <Eddi|zuHause> those are "stack" functions
14:04:19 <Eddi|zuHause> top() looks at the topmost element of the stack, without removing it
14:04:23 <Alberth> a single line should be sufficient :)
14:04:28 <Eddi|zuHause> and pop() looks at the element and removes it
14:05:12 <Alberth> yes, that would be a valid solution too
14:05:29 <Eddi|zuHause> so you need a wrapper around the file-iterator that stores the last line, and in the code you use different functions depending on wether you know you'll never need the line again, or whether you want to keep it
14:06:16 <Eddi|zuHause> you skip the dubious "unget" function
14:07:39 <Alberth> look ahead is also possible, but it costs 2 calls to remove unwanted lines
14:08:04 <Alberth> while 'unget' is only used once you have found the line you want to keep.
14:08:25 <Eddi|zuHause> yes, the extra call is swapped
14:09:07 <Eddi|zuHause> currently you call "unget" when you want to keep a line, in the other case you call "pop" when you want to not keep it
14:11:03 <Eddi|zuHause> gtg
14:11:24 <Alberth> bye
14:13:49 *** glx has joined #openttd
14:13:49 *** ChanServ sets mode: +v glx
14:29:08 *** Krusen^ has joined #openttd
14:33:01 *** Krusen has quit IRC
14:33:50 *** Krusen has joined #openttd
14:34:25 *** Fast2 has quit IRC
14:35:20 *** ar3kaw has quit IRC
14:37:15 *** Krusen^ has quit IRC
14:38:32 *** frosch123 has joined #openttd
14:39:00 <alluke> whats the party square grf
14:43:23 *** fjb is now known as Guest3651
14:43:24 *** fjb has joined #openttd
14:43:45 *** fonsinchen has joined #openttd
14:49:09 *** roboboy has quit IRC
14:49:09 *** perk11 has quit IRC
14:50:27 *** Guest3651 has quit IRC
14:52:45 *** fonsinchen has quit IRC
14:55:11 *** andythenorth_ has quit IRC
14:59:44 *** luckz has joined #openttd
15:08:48 *** snorre has joined #openttd
15:14:50 <Zuu> alluke: Possible a statue/park replacement.
15:15:03 <Zuu> It was probably for wwottgd(2)
15:16:35 <Zuu> wwottdgd*
15:17:27 <dihedral> yep - right on
15:17:50 <dihedral> i think it replaced the fountain though ;-)
15:19:44 *** alluke has quit IRC
15:31:43 *** andythenorth has joined #openttd
15:41:34 *** Adambean has quit IRC
15:42:13 *** perk11 has joined #openttd
15:54:20 *** Phoenix_the_II has quit IRC
15:54:21 *** Phoenix_the_II has joined #openttd
15:54:50 *** mynetdude has quit IRC
15:55:05 *** mynetdude has joined #openttd
16:02:33 *** ar3k has joined #openttd
16:02:36 *** ar3k is now known as ar3kaw
16:04:58 *** Zuu has quit IRC
16:06:27 *** Brianetta has joined #openttd
16:08:45 *** Wilberforce has joined #openttd
16:12:33 <Eddi|zuHause> i have a sociological survey for you: (don't answer in here!, to not spoil the results, send a query) how many lives does a cat have?
16:25:23 <Eddi|zuHause> (so far, one message received. will leave this question open 24 hours)
16:29:45 <Wilberforce> Erm, seriously??
16:29:54 <Eddi|zuHause> yes, it's an experiment.
16:30:20 <Wilberforce> M'kay...
16:31:43 *** supermop has joined #openttd
16:32:11 <supermop> good morning
16:32:50 *** andythenorth has quit IRC
16:35:07 <Terkhen> hi supermop
16:35:09 <DanMacK> Morning yourself
16:35:40 <supermop> how is everyone?
16:36:27 <Terkhen> fine, thanks :)
16:37:17 <supermop> goog good
16:37:21 <supermop> *good
16:38:45 <planetmaker> hi supermop
16:43:10 <supermop> hi planetmaker
16:43:26 <supermop> my grf is more or less working now!
16:43:44 <supermop> with just a couple exceptions, but I have a work around
16:50:33 *** ctibor has quit IRC
16:50:52 *** ctibor has joined #openttd
16:54:38 *** alluke has joined #openttd
16:54:41 <alluke>
16:56:40 <Alberth> posting random urls from youtube?
16:57:15 <planetmaker> that's good news, supermop :-)
16:57:23 <alluke> hehe
16:57:25 <alluke> is it bad
16:57:48 <frosch123> Alberth: maybe we should ban * :)
16:58:11 <Alberth> :D
16:59:17 <supermop> yep
16:59:49 <Alberth> alluke: it is not so useful, I am not clicking that link without knowing what it is about.
17:00:09 <alluke> im not forcing anyone to click them
17:00:30 <Alberth> pity, isn't it frosch123? :p
17:00:43 <planetmaker> alluke: but it's not well-received to post links here without reason or description
17:00:58 <alluke> hmm
17:00:59 <planetmaker> this is also not the random funny youtube video channel
17:01:05 <alluke> ok
17:01:12 <Alberth> alluke: I also don't post patches without describing what it does
17:01:36 <alluke> well thats different thing imo
17:02:09 <planetmaker> how so?
17:02:28 <alluke> you need to install them
17:02:38 <planetmaker> no
17:02:42 <alluke> and they work different
17:02:43 <Alberth> my main point is that you should always make it easy for your audience
17:02:45 <planetmaker> We read them usually
17:03:18 <Alberth> alluke: ok, posting a pdf url then?
17:03:26 <Alberth> or an image url?
17:03:30 <alluke> ?
17:03:32 <alluke> why
17:03:49 <alluke> and usually you can read the conctent from the url
17:04:23 <Alberth> haha Z36KFNLLj2w is very clear of course :p
17:04:24 <alluke> like
17:04:52 <alluke> unless its 23166666645457.png
17:05:33 <planetmaker> which is the form of every youtube url
17:05:43 *** Lakie has joined #openttd
17:05:54 <Terkhen> meh
17:06:01 <alluke> yeye i got you
17:06:28 *** alluke has quit IRC
17:06:35 <planetmaker> hehe
17:06:44 *** alluke has joined #openttd
17:08:07 <supermop> so Nutracks, and other rail grfs seem to usually use RAIL as one of the types, and i cannot change that like the other types
17:08:37 <supermop> so i need to just have people use an older grf i made along with this one
17:08:53 <planetmaker> supermop: you could - when RAIL is used - override additionally also the default depot via replace(xxxx, ...)
17:08:59 <supermop> or, add some code to this one to also replace the default
17:09:05 <supermop> yeah
17:09:06 <planetmaker> easy to do :-) ^
17:09:14 <supermop> so need to figure that one out
17:09:15 <supermop> but
17:09:22 <planetmaker> look for replace command
17:09:30 <supermop> I want to make it changable by parameter
17:09:41 <planetmaker> yes, so?
17:10:06 <supermop> currently, if you use both my old and new grfs, depot style gets more modern as speed increases
17:10:18 <Lakie> planetmaker: am I right in thinking (o)ttd(p) adds roughly a year either way to vehicle introduction dates?
17:10:22 <supermop> but the RAIL depot is also modern
17:10:49 <supermop> so i need a way for people to control the appereance of the RAIL depot
17:11:14 <supermop> so they do not get metal sheds in 1830, or brick in 2100 unless the want it
17:11:17 <planetmaker> Lakie: iirc it's two years
17:11:27 <Lakie> Oh, ok
17:11:35 <planetmaker> unless it's 2 years after game start (openttd) or two years after 1920 (ttdp) - all iirc
17:12:03 <Lakie> Ok, thanks. :)
17:15:47 * Eddi|zuHause remembers the time when the start year thing wasn't implemented and you occasionally only had half the wagons
17:16:31 <Lakie> Heh, sounds painful,
17:17:22 <Eddi|zuHause> like you build an oil line, and then shockingly notice that you don't have any oil wagons
17:21:05 *** APTX has quit IRC
17:21:09 *** APTX has joined #openttd
17:21:25 <Alberth> sounds like me, playing with a non-standard industry set, and discovering I didn't load a different vehicle set :p
17:22:49 *** Alberth has left #openttd
17:23:25 *** Alberth has joined #openttd
17:23:25 *** ChanServ sets mode: +o Alberth
17:38:59 <supermop> in .se rails, do the depots change graphics at a certain year, or do they keep the style they were built with?
17:40:20 <planetmaker> depots once built keep their look
17:40:38 <planetmaker> but the look of depots differ between early and modern versions
17:40:48 <supermop> ok
17:41:12 <supermop> i want to do that, then have a parameter to force all default depots to a certain style
17:42:05 <planetmaker> well... if you only replace the default depots, that doesn't work, they have no build date. Only railtype depots have
17:42:20 <supermop> ah ok
17:42:30 <supermop> so just the force parameter
17:43:23 *** perk111 has joined #openttd
17:43:24 <planetmaker> well. SER has the introduction date for modern stuff. And by default it only uses railtype depots for RAIL and ELRL as it completely re-defines those railtypes
17:44:07 <planetmaker> And it replaces the default depots by either the old or the modern type - depending upon the starting year
17:45:00 <supermop> ah, so it uses start year instead of build year
17:47:40 <planetmaker> for the replacement: yes.
17:48:07 <supermop> hm
17:48:52 <supermop> i also notice i could not replace the track planning depot
17:49:07 <planetmaker> but usually the railtypes way should also work for the RAIL and ELRL types
17:49:15 *** perk11 has quit IRC
17:49:16 <supermop> so i guess i should add default replacements for monorail and mag
17:49:19 <supermop> yeah?
17:49:23 <planetmaker> the latter is using the monorail or maglev. Dunno which
17:49:34 <planetmaker> hehe :-)
17:49:40 <supermop> i think it is using monorail
17:50:15 <supermop> i am also going to try adding back in conditional support for other sets now that i have sorted out most of the basics
17:51:01 <planetmaker> :-) Well, you basically add support for railtypes, not individual sets :-)
17:51:39 <planetmaker> <-- non-comprehensive list
17:53:13 <supermop> yeah, at first i tried to address all of those, but it didn't work
17:53:42 <planetmaker> does it now? ;-)
17:53:48 <supermop> yexo was saying that it wouldn't be able to support more than 16 types, even if less than 16 were active at anyone time
17:54:03 <planetmaker> and can you replace the depot for RAIL and ELRL when you load SER instead of NuTracks?
17:54:35 <supermop> i havent tried with ser in a few days, i had some wierd problems last time
17:54:42 <supermop> but it might work now
17:54:55 <supermop> i will try after work today
17:55:00 <planetmaker> weired problems like what?
17:55:22 <supermop> it was not working in the same way that nutracks was not working
17:55:37 <supermop> but now that i have (maybe) fixed that part
17:55:52 <supermop> it might work on ser
17:56:13 <supermop> does ser define all 16 possible types?
17:56:51 <planetmaker> no. It only defines RAIL and ELRL
17:58:52 <supermop> ok
17:59:05 <supermop> so you can use it with other sets
18:00:13 <CIA-11> OpenTTD: rubidium * r22201 /trunk/projects/generate: -Fix (r22188): make sure generate.vbs generates the same as generate
18:00:59 <CIA-11> OpenTTD: rubidium * r22202 /trunk/ (14 files in 3 dirs): -Codechange: make MusicFileSettings a proper citizen of the client settings
18:05:53 *** Brianetta has quit IRC
18:15:40 *** |Jeroen| has quit IRC
18:19:19 *** ar3kaw has quit IRC
18:23:19 *** Westie has quit IRC
18:25:08 *** Westie has joined #openttd
18:25:41 *** amkoroew1 has joined #openttd
18:27:55 <CIA-11> OpenTTD: frosch * r22203 /trunk/src/newgrf.cpp: -Doc: Document 'override_features'.
18:28:22 <CIA-11> OpenTTD: planetmaker * r22204 /trunk/src/ (newgrf_object.h table/pricebase.h): -Change: Make the base costs for building and demolishing NewObjects also local to the individual NewGRFs
18:28:37 <supermop> back in a bit
18:28:55 *** supermop has left #openttd
18:29:28 <frosch123> bah, cookies can become quite lame, when they get moist
18:29:34 <planetmaker> :-P
18:29:40 <planetmaker> but them into the oven
18:29:51 <planetmaker> especially the chocolate ones ;-)
18:29:53 <frosch123> hmm, might be a try
18:29:55 <Alberth> eat them faster :)
18:30:25 <planetmaker> install a planetmaker. Cookies then never last long ;-)
18:30:59 *** amkoroew has quit IRC
18:31:17 <Prof_Frink> Or give them to me. I will dispose of them appropriately.
18:31:55 <Sacro> Evening all
18:32:01 <Sacro> anoter day out seeing Richard Stallman
18:32:30 <frosch123> planetmaker: i have heard britains think the moon is made of cheese. but what planets are made of cookies?
18:32:52 * Prof_Frink pokes GNU/Sacro
18:33:05 <planetmaker> oh, I'm sure there are many ;-)
18:33:14 <planetmaker> especially those planets which I make ;-)
18:33:24 <planetmaker> though they might also consist of cake
18:34:12 <Prof_Frink> I mean, we already have planets made of nougat and caramel.
18:34:25 <Sacro> Prof_Frink: indeed
18:34:27 <perk111> really?
18:34:36 <Sacro> I accidently said Linux User Group
18:34:40 <Sacro> rather than GNU/Linux
18:36:16 <Prof_Frink> "That's what they're called, you silly beard."
18:42:21 * DanMacK enjoys planets made of nougat and caramel
18:50:12 <planetmaker> and even a whole milkyway ;-)
18:50:39 *** mynetdude has quit IRC
18:51:56 <Terkhen> <-- did we already had one of these claims this year?
18:54:27 <__ln__> Terkhen: no, it was end of last year.
18:56:22 <Terkhen> hmm... either they are getting more frequent or I am better informed now
18:56:53 * planetmaker guesses the latter
18:57:08 <Alberth> nasa needs money more urgently :)
18:58:06 <frosch123> maybe they could sell doctors' degrees
18:58:52 * planetmaker doubts they make too much money on such claims
18:58:55 <avdg> nasa gets payed by the goverment, so I wonder why?
18:59:19 <Terkhen> because the government is not as generous as they would like
18:59:22 <planetmaker> well, also government agencies need to apply for money in the senate. So to speak
18:59:31 <Eddi|zuHause> the highest chance to find "extraterrestrial" life is in garbage circling in earth orbit.
19:00:43 <planetmaker> :-P
19:01:00 <frosch123> [19:29] <planetmaker> but them into the oven <- they were quite fine after that btw :)
19:01:02 <__ln__> that's the ISS
19:01:12 * planetmaker would guess it's quickest found on either Europa, Mars or Titan
19:01:27 <planetmaker> maybe Enceladus
19:01:38 <Rubidium> pff... it all depends on your point of view ;)
19:01:41 <frosch123> it is said there is life in europe
19:02:14 <planetmaker> mind the ending - only in German there's no difference between Europa and Europe ;-)
19:02:29 <Rubidium> if you're a, for us, alien then it's probably easier to find "extraterrestrial" life in your own planet's orbit ;)
19:02:47 *** ar3k has joined #openttd
19:02:49 *** ar3k is now known as ar3kaw
19:03:30 <Rubidium> you mean that rock is a motor cycle?
19:04:43 <Terkhen> in spanish both of them are called "Europa"
19:05:31 <planetmaker> yeah, in German, too ;-)
19:09:05 <Rubidium> I guess I should ask: which Europa? The continent, moon, island, planetoid, motor cycle, rocket, village (x6), movie (x2), magazine, or mythological figure
19:10:19 <planetmaker> the latter surely was or is extraterrestrial ;-)
19:11:11 <Eddi|zuHause> it's a quite plausible idea that the greek/roman gods were actually aliens
19:11:26 <Rubidium> stargate! ;)
19:12:16 <Eddi|zuHause> those were usually egyptian gods
19:12:26 <Rubidium> true
19:12:41 <Rubidium> regardless, it's the same concept
19:23:50 *** Chris_Booth has joined #openttd
19:33:56 *** michi_cc has quit IRC
19:33:58 *** michi_cc has joined #openttd
19:33:58 *** ChanServ sets mode: +v michi_cc
19:41:45 *** alluke has quit IRC
19:55:45 *** Alberth has left #openttd
19:57:56 *** Pulec has joined #openttd
20:03:15 *** Krusen has quit IRC
20:03:53 *** Krusen has joined #openttd
20:05:55 *** supermop_ has joined #openttd
20:26:55 *** Xaroth has quit IRC
20:30:07 *** Xaroth has joined #openttd
20:38:49 *** Lakie has quit IRC
20:39:11 *** Lakie has joined #openttd
20:47:16 *** Zuu has joined #openttd
21:24:54 *** KouDy has joined #openttd
21:26:15 *** elmz has quit IRC
21:31:57 *** KritiK has joined #openttd
21:32:50 *** fjb has quit IRC
21:39:05 *** alluke has joined #openttd
21:45:23 *** alluke has quit IRC
21:45:27 *** Macha has joined #openttd
21:45:34 *** Macha has left #openttd
21:45:56 *** alluke has joined #openttd
21:52:58 <CIA-11> OpenTTD: rubidium * r22205 /trunk/src/ (5 files): -Codechange: replace magic number with constant
22:03:07 *** KritiK has quit IRC
22:04:43 *** fjb has joined #openttd
22:11:38 *** Brianetta has joined #openttd
22:14:29 <Terkhen> good night
22:14:51 <supermop_> good night
22:16:12 *** Fast2 has joined #openttd
22:30:59 <Wolf01> 'night
22:31:03 *** Wolf01 has quit IRC
22:31:34 *** Zuu has quit IRC
22:32:12 *** ecke has quit IRC
22:35:35 *** sla_ro|master has quit IRC
22:39:58 <supermop_> alright
22:40:16 <supermop_> uploaded a sort-of working version of my grf to the forums
22:41:27 <alluke> locanian?
22:42:02 <supermop_> nope
22:42:22 <alluke> what then
22:42:38 <supermop_> It is a depot replacement set
22:42:47 <alluke> ah that
22:49:15 <alluke> np: e-rotic - gotta get it groovin
22:55:09 *** valhallasw has quit IRC
23:02:52 *** DDR has joined #openttd
23:04:00 *** zodttd has joined #openttd
23:19:06 *** Chris_Booth has quit IRC
23:22:57 *** alluke has quit IRC
23:23:29 *** frosch123 has quit IRC
23:31:57 *** elmz has joined #openttd
23:32:11 *** Pikka has joined #openttd
23:33:48 *** ar3kaw has quit IRC
23:34:04 *** glevans2 has quit IRC
23:38:11 *** supermop_ has quit IRC
23:41:48 *** Kurimus has quit IRC
23:44:15 *** Progman has quit IRC
23:49:08 *** glevans2 has joined #openttd