IRC logs for #openttd on OFTC at 2012-08-08
            
00:07:22 <drac_boy> guess so
00:39:10 *** Devroush has quit IRC
00:48:47 *** Biolunar has quit IRC
01:08:13 <nicfer> glx, yes I'm following http://wiki.openttd.org/Compiling_on_MinGW
01:13:03 <glx> the errors are strange
01:18:01 <nicfer> the configuring continues however
01:22:42 *** ivan` has quit IRC
01:26:31 *** ivan` has joined #openttd
01:26:39 *** Frankr has quit IRC
01:34:46 *** Mazur has quit IRC
01:38:29 *** LordPixaII has joined #openttd
01:38:29 *** Pixa has quit IRC
01:40:06 *** neofutur has joined #openttd
01:41:27 <neofutur> hi all, since luukland will stop operating i ve setup my open citybuilder server on a dedicated server using the city builder patch
01:41:46 <neofutur> the server is working, but i also need a patched client to use it ?
01:42:17 <neofutur> i understand the server have to be patched, but ewhy a default 1.2.1 client couldnt connect and use it ?
01:43:37 <neofutur> ( I used http://www.tt-forums.net/viewtopic.php?f=33&t=57138 )
01:50:12 <neofutur> no way to use a city builder server with the default binary ?
01:50:21 <neofutur> only people able to patch and compile can use it ?
02:14:47 *** pugi_ has joined #openttd
02:20:44 *** pugi has quit IRC
02:20:46 *** pugi_ is now known as pugi
02:24:34 *** drac_boy has left #openttd
02:33:43 *** Mazur has joined #openttd
02:35:43 *** pugi has quit IRC
02:35:53 <neofutur> I could build the server on gento but on ubuntu i get a linking error building the client :
02:35:56 <neofutur> http://p.gw.gd/index.php/view/52a1f871
02:36:39 <neofutur> ( on ubuntu LTS )
02:46:06 *** roadt has quit IRC
02:50:45 *** glx has quit IRC
02:52:35 *** KouDy has joined #openttd
02:53:11 *** valhallasw has quit IRC
02:54:35 *** roadt has joined #openttd
03:16:25 <neofutur> ok i could fix it, the makefile was not lookingfor the good libicu* in /usr/local , using the old ones in /usr/lib
03:57:51 * neofutur playing his first city builder game on his own server
04:09:16 *** Chrill has quit IRC
04:16:02 *** HerzogDeXtEr1 has joined #openttd
04:20:59 *** DOUK has joined #openttd
04:21:41 *** HerzogDeXtEr has quit IRC
04:27:48 *** mahmoud has quit IRC
04:56:02 *** Eddi|zuHause has quit IRC
04:56:17 *** Eddi|zuHause has joined #openttd
05:06:13 <Rubidium> neofutur: the game state in OpenTTD is too big to be send every tick, or to be updated every few ticks. Imagine downloading a savegame every tick. So OpenTTD makes the server and all clients perform the same tasks by only sending the user initiated commands. If a patch changes anything that modifies the logical program flow of the game state, then both sides need to be the same
05:17:09 *** Prof_Frink has quit IRC
05:31:27 *** KouDy1 has joined #openttd
05:37:09 *** KouDy has quit IRC
05:56:24 *** sla_ro|master has joined #openttd
05:59:04 *** ludde has joined #openttd
06:06:50 *** Supercheese has joined #openttd
06:10:11 *** Rhamphoryncus has joined #openttd
06:11:43 *** nicfer has left #openttd
06:28:48 <planetmaker> moin
06:28:53 <Supercheese> Salve
06:29:21 <planetmaker> neofutur: if you want citybuilder with default client, then I suggest to implement that via game script
06:29:49 <planetmaker> It's feasible and there are even some game scripts to a similar end around which could possibly be something to get started from
06:32:45 <planetmaker> neofutur: http://bananas.openttd.org/en/gs/ there's already 3 dealing with town growth to some extent
06:36:06 *** Warod has quit IRC
06:36:43 *** Defaultti has quit IRC
06:39:48 *** ludde has quit IRC
06:45:08 *** ludde has joined #openttd
06:45:58 *** Pixa has joined #openttd
06:50:15 *** KingPixaIII has joined #openttd
06:51:04 *** LordPixaII has quit IRC
06:54:59 *** Pixa has quit IRC
07:07:39 *** telanus has joined #openttd
07:21:11 <NGC3982> neofutur: city builder game?
07:21:40 * NGC3982 googles.
07:21:46 <NGC3982> C*, G*.
07:49:28 *** Defaultti has joined #openttd
07:50:02 *** Warod has joined #openttd
07:53:51 *** cyph3r has joined #openttd
07:59:41 *** roadt has quit IRC
08:02:19 *** valhallasw has joined #openttd
08:05:52 *** Supercheese has quit IRC
08:45:33 *** FLHerne has joined #openttd
08:49:25 *** pugi has joined #openttd
09:13:07 *** TGYoshi has joined #openttd
10:02:07 *** roadt has joined #openttd
10:06:21 *** Elukka has joined #openttd
10:24:37 *** drac_boy has joined #openttd
10:24:51 <drac_boy> hi
10:29:23 *** tycoondemon has quit IRC
10:31:35 <FLHerne> drac_boy: Hi :-)
10:32:01 <drac_boy> how're you FLHerne? any new tiles yet? :p
10:32:05 <drac_boy> heh heh
10:47:32 *** perk11 has joined #openttd
10:50:00 <drac_boy> hi perk11
10:50:11 <perk11> drac_boy: hi
10:51:29 *** Timberdragon has joined #openttd
10:52:45 <drac_boy> how're you?
10:57:46 <Timberdragon> Hi guys, I'm keen to work on a 32bit base set for OTTD however ive spent the last week reading the forums and wiki and i seem to be chasing my tail through a mixture of outdated and inccorect information... is there a single absolute source for information regarding building base sets and graphic formats for the current 1.2.* version of the game?
10:58:32 <planetmaker> Timberdragon: the single important information is: 32bpp is not treated different from 8bpp
10:58:55 <planetmaker> you need 8bpp and you can supply in the same package also 32bpp for the sprites
10:59:03 <planetmaker> by the same means virtually
10:59:49 <Timberdragon> yes, i intend to just down sample from the full 32bit versions, but i find all the info confusing
11:00:51 <Timberdragon> im not a fly by nighter i contributed to the opensource project BOSwars massively and im really keen to make a nice set for OTTD
11:01:07 <planetmaker> if you want to create anything 32bpp: just make a normal (8bpp) newgrf. And supply the 32bpp sprites within that newgrf as alternatives to the 8bpp sprites
11:01:41 <planetmaker> I'd like to refer you to ogfx+trains as newgrf example
11:01:51 <Timberdragon> Is the primary tool still the grfcodec?
11:01:58 <planetmaker> you can use that.
11:02:07 <planetmaker> My recommendation is to write in NML, though instead of NFO
11:02:29 <Timberdragon> do you know of any GUI's for either of those by anychance?
11:02:37 <planetmaker> ogfx-trains and zbase are both written in NML
11:02:55 <planetmaker> newgrfs are programmed. It's not just imaged attached to existing objects
11:03:13 <planetmaker> http://newgrf-specs.tt-wiki.net/wiki/NML:Main
11:04:42 <V453000> NML is very easy programming :) even I managed to learn that :p
11:04:49 <V453000> somewhat anyway
11:05:01 <drac_boy> :p
11:05:32 <drac_boy> I'm sticking to nfo for a reason but then thats to our own ways tho :)
11:05:52 *** tycoondemon has joined #openttd
11:06:20 <Timberdragon> :) im not a programmer either but i learned to hackishly use LUA for the other project, can i start with the standard base set and edit the grphics/details without building the files from scratch?
11:06:55 <planetmaker> you can start with the standard base set and just add 32bpp sprites to it. Yes
11:07:14 <Ammler> doesn't zbase exactly this?
11:07:57 <planetmaker> Which basically is what zbase, too: http://dev.openttdcoop.org/projects/zbuild http://bundles.openttdcoop.org/zbuild/push/LATEST/
11:11:51 <Timberdragon> Is zbase the project to combine all the exisiting 32bit works into 1 file?
11:18:55 <FLHerne> Timberdragon: Not really, it's a project to make a complete 32bpp baseset, ignoring all existing graphics :P
11:20:05 <FLHerne> Apparently licensing issues keep getting in the way when trying to sort out the existing ones...
11:20:20 <Timberdragon> yes i understand
11:22:25 <Timberdragon> i recall now, zbase is controlled pretty much by a single person. i recall reading the forum post, it was the reason i thought of doing a seperate base set
11:22:50 <Timberdragon> i wasnt blown away by what i seen there
11:23:05 <Timberdragon> unlike some of the original 32bit graphics
11:23:25 <FLHerne> At least it'll get done :P
11:23:40 <Timberdragon> perhaps :)
11:24:07 <FLHerne> Zephyris did a lot of the current 8bpp graphics, IIRC
11:24:31 <Timberdragon> for the default opengfx set?
11:25:08 <Timberdragon> if so that kind of makes sence as the 32bit still look a bit 8bittish to me that is all
11:25:53 <FLHerne> Indeed. I think he's trying to do it in the same style
11:26:02 <V453000> that is just because he doesnt use many colours in there. Uses 32bpp colours which arent in 8bpp but the variety is not there
11:26:04 <planetmaker> Timberdragon: Zephyris provided 70% of the 8bpp graphics. He'll get done the 32bpp, too
11:26:16 <V453000> I believe he will change some things in the future :)
11:26:35 <planetmaker> goal for now is: get it done, working. Beautification is for then
11:26:49 <V453000> ^ :)
11:27:35 <Timberdragon> im not having a go at the guy, i think the 8bit set is fantastic and true to the original game. I also understand what he says about "getting it done" and sorting out the details later
11:28:00 <planetmaker> the problem with the existing 32bpp graphics is: *someone* has to sort through. All I always got was "it's basically done", but... nothing I could work with other than I'd have to look at everything myself, too
11:28:23 <planetmaker> as such nothing was really done there
11:28:39 <planetmaker> and each and everything needs checking for the licenses and available models, too
11:29:21 <planetmaker> anyway, that's all beside the point :-)
11:29:28 <FLHerne> Presumably any other 32bpp baseset could use exactly the same NML as zbase, given they'd have the same sprites etc?
11:29:50 <planetmaker> yes, of course. You'll have to adjust all your offsets though, of course, too
11:30:03 <Timberdragon> i understand totally. I'm very good at getting things done however my filing systems suck hard and im not very good at saving sources, hence the reason i would just prefer to work on a stand alone set X)
11:30:15 <planetmaker> except if you do it like Zephyris who alignes the sprites mostly such that offsets are all 0
11:31:13 <planetmaker> well, please do, Timberdragon :-)
11:31:38 <planetmaker> if you like, I'd also be happy to provide you the same technical facilities as to Zephyris' base set
11:31:41 <V453000> you can always provide those sprites/models to anything else in the end
11:32:33 <Timberdragon> plantmaker: you may live to regret the technical assistance offer X)
11:32:46 <Timberdragon> ..and my spelling sucks X)
11:33:34 <Timberdragon> please if you guys have a minute check out boswars dot org for some of my other work
11:33:53 <planetmaker> Timberdragon: technical assistence doesn't include the programming ;-) I'm busy enough, I'm afraid, with 1.5 base sets at my hand
11:34:24 <Timberdragon> yeah i understand
11:34:35 <planetmaker> but it includes the setup of a repository so that the DevZone could - if you use it - build your your base sets on a somewhat daily basis, too
11:35:21 <Timberdragon> ill see if i can get going before i trouble you for that service
11:35:45 <planetmaker> easiest approach probably is to
11:35:48 <planetmaker> - clone opengfx
11:35:56 <planetmaker> - start adding your new sprites to it
11:36:01 <Timberdragon> that is what i am thinking
11:36:28 <planetmaker> the alternative is to make NewGRFs
11:36:52 <planetmaker> which intially might give "better" (in the sense of complete and easier usable) results
11:37:42 <planetmaker> like a newgrf only replacing landscape (tiles, foundations, water...). another all infrastructure (road, rail, bridges, stations), a third rail vehicles, fourth road vehicles, ...
11:37:49 <planetmaker> would not be really more complicated
11:38:18 <planetmaker> and give easier the rewarding "success!" feeling when one part is finished. And when users then will jump to use it - with what ever other graphics they use
11:38:35 <planetmaker> and newgrfs are easier added to a game than a base set switched. I believe
11:39:52 <V453000> the problem is he would have to code that newGRF I guess
11:40:05 <Timberdragon> i understand the principal, though i really hate programming and txt editing, id much prefer to work my way through a base set and replace the sprites
11:40:33 <planetmaker> yes... but programming a simple replacement newgrf is not more difficult than a base grf really. All you need is the grf header
11:40:52 <planetmaker> other than that it's mostly replace(xxx, ...) instead of base_sprite(xxx, ...)
11:41:08 <planetmaker> just telling :-)
11:41:23 <V453000> oh, that way :) well that could be simple
11:41:49 <V453000> how many sprites is opengfx?
11:41:54 <planetmaker> 10k approx
11:41:59 <V453000> yeah, thats a lot
11:42:17 <V453000> making smaller pieces of separate newGRF is a bit more motivating :)
11:42:23 <Timberdragon> what i really need is to have a look insinde a newgrf file, how can i bust one open?
11:42:28 *** roadt has quit IRC
11:42:45 <drac_boy> grfcodec decoding Timberdragon
11:42:46 <planetmaker> you don#t want to look into a NewGRF file. You want to look into the source code of one
11:43:03 <planetmaker> decoding by grfcodec for that purpose, honestly, is a very bad idea
11:43:13 <NGC3982> I tried that.
11:43:15 <NGC3982> Didn't work.
11:43:16 <Timberdragon> to study file and folder structure?
11:43:19 <planetmaker> it's as unreadable and un-understandable as you can get, close to binary / hex code
11:43:21 <drac_boy> why? it gives you the exact nfo file used :)
11:43:30 <planetmaker> which is... stupid. Really stupid
11:43:33 <V453000> hoho, havent even tried that luckily :)
11:43:48 <NGC3982> To learn NewGRF coding demands looking into NML files, not GRF files, right?
11:43:53 <NGC3982> At least that's how i feel.
11:43:55 <planetmaker> no comments. no structure, no flow, no context
11:43:57 <drac_boy> NGC3982 its not grf :)
11:44:01 <V453000> nml and sprites
11:44:07 <planetmaker> NGC3982: yes, that#s what I'd suggest
11:44:16 <NGC3982> drac_boy: Oh? I kind of fell into the conversation by context here. :p
11:44:28 <drac_boy> planetmaker did you somehow miss that nfo does have comments in a lot of files? :)
11:44:36 <drac_boy> NGC3982 heh ok
11:44:36 <NGC3982> planetmaker: I see.
11:44:55 <planetmaker> drac_boy: action 0C is by far not sufficient to count as "properly commented"
11:45:08 <drac_boy> planetmaker its not action
11:45:20 <planetmaker> you're advising people to learn assembler. While they can learn C++. So to speak
11:45:28 * drac_boy points to the slashes
11:45:46 <planetmaker> drac_boy: THAT will NOT be available if you *decode* like *you* suggested
11:45:58 <planetmaker> try again your argument chain please
11:45:59 <drac_boy> planetmaker really? then how come I have a bunch of them from grf folders?
11:46:17 <drac_boy> hrm
11:46:31 <V453000> why would you decode a newgrf anyway? :D
11:46:37 <V453000> you either have source of it or not
11:47:03 <Timberdragon> :| ekk, sorry , i just meant i want to look at what goes into a newgrf file..... perhaps decoding is not the way to go.. but how else does a visual learner figure out how to do this?
11:47:06 <drac_boy> V453000 when you downloaded it and wanted to figure out snips of it
11:47:08 <planetmaker> V453000: in order to understand what they do / modify / get the "source" of those newgrf which you don't have it from
11:47:11 <NGC3982> I don't understand. A decoded GRF is not even relevant if you can obtain the *correct* source?
11:47:16 <V453000> mhm :)
11:47:58 <drac_boy> V453000 mind you thats how I figured out how the whole vehicle id thing worked (including refit affecting it) among a few other things before
11:48:33 <planetmaker> Anyway Timberdragon: don't mind the fuss. Look at how base set or NewGRFs work in NML. Get the source code of NewGRFs to learn
11:48:35 <V453000> idk the tt-wiki is pretty well written for figuring out things :)
11:48:48 <planetmaker> There are a bunch of people who're happy to work with open source
11:49:11 <planetmaker> so that all people can profit from their knowledge and thought. So that people like you have an easier start
11:49:16 <drac_boy> V453000 :)
11:49:38 <drac_boy> V453000 only thing with the wiki yet is lack of more full examples. but thats probably more of a personal thing
11:49:53 <V453000> I annoy people and ask in that case :p
11:49:55 <NGC3982> V453000: The wiki is neat, but some things really need a look-over.
11:50:02 <drac_boy> V453000 heh
11:50:15 <NGC3982> Like it in so many places refers to "Palnetmaker", for instance.
11:50:34 <V453000> what is bad about that
11:50:50 <NGC3982> Simple spelling errors?
11:51:00 <V453000> oh that you mean
11:51:06 <planetmaker> lol
11:51:10 <Timberdragon> from a noob stand point the wiki's are all over the place and its difficult to figure out what is useful and what is outdated info
11:51:28 <NGC3982> "Pal-netmaker" should be a dating site for bromances, by the way.
11:51:29 <NGC3982> :D
11:51:37 <V453000> idk, in the functions and code-things there arent errors, or at least didnt notice any ... and if there is a typo in the description ... :d so wat
11:51:44 *** roadt has joined #openttd
11:51:55 <NGC3982> Timberdragon: Im with you there.
11:52:33 <Timberdragon> ok so where can i find zbase source to study how he is doing it?
11:52:53 <V453000> [13:07] <@planetmaker> Which basically is what zbase, too: http://dev.openttdcoop.org/projects/zbuild http://bundles.openttdcoop.org/zbuild/push/LATEST/
11:53:03 <Timberdragon> lol oh yeah
11:53:08 <Timberdragon> its open and all X)
11:53:29 <NGC3982> I bet PM owns a DeLorean
11:53:33 <planetmaker> There's two wikis relevant: tt-wiki.net with tutorials. and newgrf-specs.tt-wiki.net with the language descriptions
11:54:32 <planetmaker> the latter only contains the read-built base set, I think. But the first is the project page
11:55:49 <V453000> I really like how newgrf-specs.tt-wiki.net is updated often ... all the new changes in NML are there usually
11:56:20 <V453000> true that if you see it once in a few months it might be a bit confusing as stuff is different from last time but ... :)
11:59:11 <planetmaker> V453000: that wiki is the authorative manual. What's not there, that you should not rely on to continue working ;-)
11:59:32 <planetmaker> same as with the newgrf specs wiki. What is not specified is not guaranteed to work ;-)
11:59:58 <V453000> yes :) but when things I had in the newgrf some time ago and was "right" before and now it disappears :D surprise
12:00:25 <planetmaker> err what?
12:00:33 <V453000> like the length
12:00:46 <V453000> or "return" in switches
12:00:47 <planetmaker> that's described in the changes between 0.2 and 0.3
12:01:07 <V453000> haha punished for not reading changelog
12:01:31 <planetmaker> the return might not. Not sure
12:01:42 <planetmaker> but length is :-)
12:02:05 <V453000> well all is good and happy in the end :) it works and I think I am done with coding any new features so it is just eventual copypaste now :)
12:02:15 <planetmaker> :-) good
12:02:25 <planetmaker> until the next new openttd feature :-P
12:02:35 <V453000> just reached 20k lines of code and 20k sprites yesterday ._.
12:02:42 <planetmaker> hehe
12:02:46 <drac_boy> heh
12:03:00 <V453000> the counts are funny though
12:03:20 <V453000> 9 trains from the set have 11000 sprites as they recolour in 17 different colours in cargo subtypes
12:03:41 <V453000> so effectively it is 11k/17 :) just cloned and recoloured
12:03:56 <V453000> funny when in compare to that another 9 trains without such feature have ... 72 sprites
12:08:08 <Timberdragon> decoding .grf files from the zbase project is not the same as decoding newgrf's is that right?
12:12:26 <planetmaker> Timberdragon: it works the same way. But ... I don't see what information you like to retrieve
12:12:52 <planetmaker> but meh, suit yourself
12:13:16 <Timberdragon> i just want to look at the sprites and the folder structures to see how it's all set out
12:13:47 <Timberdragon> i can reproduce much faster then i can learn from reading
12:14:07 <Timberdragon> basicly im a dumb ass ;)
12:14:29 <drac_boy> heh :)
12:14:45 <planetmaker> Timberdragon: a de-coded grf won't tell you anything about "folder structure". Nor about how it was written
12:15:04 <planetmaker> It will give you all sprites in one big file. Sequentially. Not in the form the artist drew them
12:15:20 <planetmaker> thus you'll learn basically not much. Especially not about how the grf was made
12:15:31 <V453000> oh it even gives separate sprites? :d that could be a huge mess
12:15:49 <planetmaker> V453000: it gives you one file with all sprites next to each other separated by some white space
12:16:06 <planetmaker> with 800px width or so by default. However many fit in one row
12:16:12 <V453000> ahh
12:16:21 <planetmaker> thus: quite ugly
12:16:24 <V453000> interesting
12:16:24 <Timberdragon> ok so i need to see something before its encoded, is that possible?
12:16:40 <V453000> look at the source I think :)
12:17:11 <planetmaker> like this: http://dev.openttdcoop.org/projects/opengfx/repository/entry/sprites/png/gui/gui04.png
12:17:22 <planetmaker> that's a de-coded spriteset
12:17:23 <drac_boy> isn't one file seperated by white pretty much the way to draw anyway? even the raw sprites on forum are laid out the same way
12:17:34 <planetmaker> drac_boy: that's pretty much not the way I draw
12:17:43 <planetmaker> and pretty much not the way most people draw tbh
12:17:57 <planetmaker> they make one file maybe per vehicle, separated those 8 sprites. But in a nice patter
12:18:09 <planetmaker> the decoded stuff has all of that meta-info thrown away
12:18:58 *** Devroush has joined #openttd
12:19:14 <FLHerne> planetmaker: That reminds me for some reason: the offset for one of the hair types in OGFX seems to be a pixel or two off...
12:19:16 <planetmaker> heck, people even draw the stuff in proper graphics programmes which support layers. And then export the layers, combining different layers to different sprites
12:19:24 <planetmaker> that even works in a scripted fashion
12:19:27 <Timberdragon> i decoded 32bit trains 2 nights ago and noticed the nfo was useles so i trashed the extracted folder
12:20:06 <planetmaker> imho similar reasoning applies to the spritesets from a de-coded grf
12:20:25 <planetmaker> both are not useless. But are the last thing I want to deal with
12:20:45 <Timberdragon> yes i understand
12:20:53 <planetmaker> as convenient like sanding paper used as toilet paper
12:20:59 <Timberdragon> :)
12:21:37 <drac_boy> hmm I took a quick look at forum and I can't find any seperated raw sprites except for the occassional single-vehicle grfs :/
12:21:53 <Timberdragon> ok, im trying to find the before hand source for zbase but i can only find the zbase.r104.zip file which only has the grf files in them... in the past i use SVN to access project source files.. is there something similar here?
12:22:02 <FLHerne> planetmaker: European female hair 1 seems to be 1 pixel too far right?
12:22:11 <planetmaker> Timberdragon: look at the first link I gave... there's a repo link
12:23:06 <planetmaker> FLHerne: dunno by heart. Maybe :-) Can you make a note in the bug tracker or related forum thread please? Or I'll forget
12:23:16 <drac_boy> heh
12:24:10 <planetmaker> ah, Timberdragon, maybe the link was not that good which I gave... it uses sub repositories
12:24:32 <planetmaker> http://dev.openttdcoop.org/projects/zbase/repository has the 32bpp sprites
12:24:53 <planetmaker> dev.openttdcoop.org/projects/opengfx/repository the 8bpp sprites
12:25:00 <Timberdragon> Thats cool, it just means im not going insane after all X)
12:25:15 <planetmaker> dev.openttdcoop.org/projects/zbasebuild/repository the code for the 8bbp+32bpp combined
12:25:31 <planetmaker> all that is solved, if you simply checkout that project via mercurial ;-)
12:26:19 <Timberdragon> haha, now we are talking
12:27:00 * drac_boy only has ftp and svn but wouldn't comment :p
12:27:47 <Timberdragon> i already have tortoiseSVN, can i just use that?
12:27:57 <planetmaker> you need tortoiseHG
12:28:17 <planetmaker> it's not using svn but mercurial
12:28:24 <planetmaker> (mercurial = hg)
12:29:17 <Timberdragon> i see
12:30:24 <planetmaker> thanks for the reply in the forums FLHerne ;-) I restrained myself to answer. Would have been like "please read again" :-P
12:30:36 <planetmaker> which would not have been very friendly ;-)
12:30:41 <drac_boy> heh
12:31:28 <Timberdragon> restarting, brb
12:31:32 *** Timberdragon has quit IRC
12:32:32 <FLHerne> Sorry, it's Hair 2 actually :P
12:33:23 <drac_boy> just wondering FLHerne how're the tiles going?
12:34:33 <FLHerne> I have a fair number of angles done for the asphalt :-) . I'm not exactly working full-out on it though, just doing odd ones when I get bored :P
12:36:35 <drac_boy> heh...ok :p
12:36:59 * drac_boy is thinking about getting back to my one large grf project when I've finished this model layout yet anyhow
12:37:05 *** Timberdragon has joined #openttd
12:39:46 *** Timberdragon has quit IRC
12:41:14 *** Timberdragon has joined #openttd
12:43:02 <planetmaker> what kind of grf you're working for, FLHerne?
12:43:32 <Timberdragon> :S Is there a channel log somewhere?
12:43:55 <planetmaker> you didn't miss anything really
12:43:57 <planetmaker> @logs
12:43:57 <DorpsGek> planetmaker: http://irclogs.qmsk.net/channels/openttd
12:44:34 <Timberdragon> i didnt save the last few address's
12:49:47 <Timberdragon> SUCCESS!!! well, in 3 days after its finished downloading X)
12:59:56 <__ln__> http://i.imgur.com/0Jcq7.jpg
13:01:41 <V453000> :>
13:02:11 <FLHerne> planetmaker: CHIPS-style newobjects. I'm trying to redraw the groundtiles for all the slope angles :P
13:02:31 <planetmaker> oh :-) Sounds tasty
13:04:37 <FLHerne> More tedious :-(
13:04:46 <Timberdragon> hmm i keep getting dc'd while downloading, does "command returned code 255" mean anything?
13:04:49 <FLHerne> Fills in time gaps though LP
13:04:57 <FLHerne> s/L/:/
13:05:54 <planetmaker> Timberdragon: downloading what?
13:06:17 <Timberdragon> http://hg.openttdcoop.org/zbase
13:06:35 <planetmaker> hm, ho. There's an issue with the http checkout... things are too large...
13:06:45 <planetmaker> forgot about that
13:07:09 <Timberdragon> transaction aborted... manually this time at least X)
13:07:52 *** Eddi|zuHause has quit IRC
13:08:07 <planetmaker> hmpf... the only way which currently works... is via ssh
13:08:07 *** Eddi|zuHause has joined #openttd
13:08:17 <Timberdragon> ok
13:08:33 <planetmaker> which... requires you to give me the public key of yours
13:10:52 <Timberdragon> ok, where do i find it?
13:12:47 <planetmaker> you probably need to create it...
13:25:15 *** drac_boy has left #openttd
13:26:45 <Eddi|zuHause> i think when adjusting the purchase list width, we must switch from centering to left aligning the sprites
13:28:07 <Ammler> just to note, we have a new test http hg server running: https://rhodecode.openttdcoop.org/
13:28:25 <Ammler> this one should allow clone/pull and push without limit
13:29:02 <Ammler> I need to get celery and rabbitmq running and then we will provide hg.o.o with that
13:29:31 <planetmaker> thus try to clone https://rhodecode.openttdcoop.org/zbase Timberdragon
13:29:39 <planetmaker> same thing, different interface ;-)
13:29:45 <Eddi|zuHause> STR_TINY_BLACK_COMA <-- is that a typo?
13:30:36 <Timberdragon> thank god for that, i was upto Puttygen for key and was about to grab a gun to put myself out of misery X)
13:31:49 <TrueBrain> Eddi|zuHause: it is code for being drunk out of your mind
14:08:01 *** frosch123 has joined #openttd
14:38:02 *** nicfer has joined #openttd
14:42:00 <nicfer> jello
14:43:04 <nicfer> how do I checkout a specific revision with svn?
14:43:33 <planetmaker> svn up -rXXX
14:44:16 <planetmaker> and svn help co is your friend
14:44:25 <nicfer> I just did that
14:44:52 <planetmaker> and?
14:45:44 <nicfer> I did svn -h and didn't saw I could do svn help co
14:46:40 <FLHerne> Downloading a zBase build from bundles.openttdcoop.org fails :-(
14:46:56 <planetmaker> FLHerne: what's the error?
14:48:40 <FLHerne> After a few seconds, the download stalls. Pausing and restarting seems to work, but then it stalls again...and so on
14:49:03 <nicfer> at which directory shall I apply a patch?
14:49:08 <FLHerne> It's finally downloaded :-)
14:49:09 <TrueBrain> do you have that more often FLHerne, with other sites? :)
14:49:26 <nicfer> at /trunk or /trunk/src?
14:49:32 <FLHerne> TrueBrain: Never :P
14:49:56 <planetmaker> does it, by chance, stop at 23MB, FLHerne?
14:50:10 <planetmaker> Ammler: any idea? ^
14:50:13 <TrueBrain> I remember the day I had a damaged cat-5 cable, where the 4th wire was damaged ... transmissions went fine till a certain kb/s, then it just ... stopped .... took for ever to trace and fix :P :D
14:50:28 <Eddi|zuHause> <nicfer> I did svn -h and didn't saw I could do svn help co <- it says that in like the 3rd line
14:51:36 <FLHerne> I didn't check, will try again
14:51:49 <planetmaker> nicfer: that depends on the patch. And whether svn can deal with the patch at all
14:51:50 <Eddi|zuHause> 1st line: usage, 2nd line: version, 3rd line: use "svn help <command>"
14:52:23 <planetmaker> (or rather your patch programme. It's not svn itself which does the patching)
14:52:48 <Ammler> planetmaker: no clue
14:53:04 <FLHerne> planetmaker: No, it doesn't. Just tried twice, 4.4MB and then 7.4
14:53:10 <Eddi|zuHause> nicfer: most patches are made to be applied at trunk/
14:53:22 <FLHerne> Had to pause and restart about 15 times when downloading...seems to md5sum ok though :-)
14:53:39 * planetmaker tries again...
14:53:52 <planetmaker> you mean, like the 15th time it downloaded all 150MB?
14:54:12 <Ammler> apache crap
14:54:55 <FLHerne> No, I just paused the download when it stalled and then had it resume from where it stopped :P
14:55:18 <planetmaker> lol lol. I get like 74 bytes/s :-P
14:55:26 <Eddi|zuHause> Ammler: when i tried to check out FISH recently, hg clone didn't work, but hg clone --pull did work
14:56:35 <planetmaker> now, that's *really* annoying, FLHerne. Thanks for the notification
14:57:08 <TrueBrain> QoS going haywire? :)
14:57:18 <planetmaker> seems like :'-(
14:57:28 <TrueBrain> some mirrors do that to an extreme. .. you start your download at 100 mbit/s, you go: WOW!
14:57:31 <planetmaker> and it's not my local pipe here...
14:57:35 <TrueBrain> then after 10 seconds, it cuts down to 10 KiB/s
14:58:05 <Eddi|zuHause> TrueBrain: bad rate limiting software that takes too long to kick in?
14:58:20 <TrueBrain> in fact, many (free) mirrors still do that
14:59:00 <FLHerne> Here, it literally drops to 0bits/s and stays there :P
14:59:30 <TrueBrain> talking about mirrors, I am trying to piece together mirror v2 for OpenTTD, but sjees, it is hard :(
15:00:00 <TrueBrain> those 100+ MiB GRFs are a real pain :P
15:00:46 <planetmaker> TrueBrain: and... it's only the beginning ;-)
15:01:10 <planetmaker> zbase currently is at 150MB. And it's like 40...50% done
15:01:11 <TrueBrain> I am trying to piece together a solution, where when a mirror hasn't received a file yet, other can already serve a file if they did
15:01:22 <TrueBrain> but how do you know? How do you store it?
15:01:48 <TrueBrain> does the balancer (which redirects you to a mirror) sends HEAD to each file to see if the mirror already has it?
15:01:58 <FLHerne> Give OTTD a BitTorrent client? :P
15:02:06 <TrueBrain> do you make a DB table to keep track of this kind of information? (terribly slow to query a DB every time)
15:02:16 <TrueBrain> and I can't find any software that does anything remotely like this
15:02:28 <planetmaker> hm
15:02:34 <TrueBrain> FLHerne: played Diablo 3 or World of Warcraft?
15:02:39 <TrueBrain> 2 good examples why you should never do that :P
15:02:48 <planetmaker> FLHerne: your start-stop "solution" works... but... meh
15:02:51 <FLHerne> TrueBrain: Nope. What breaks?
15:03:03 <TrueBrain> they allow you to download the client by torrent or http
15:03:08 <TrueBrain> http via the launcher is rate limited
15:03:24 <TrueBrain> when I had a 100 mbit/s pipe, torrent took 20+ hours, http via launcher 10+ hours, http via browser 1 hour
15:03:40 <planetmaker> uh?
15:03:49 <TrueBrain> and those 2 games are not small (in people downloading etc)
15:03:51 <planetmaker> sounds like torrent is limited. Not http
15:04:12 <TrueBrain> planetmaker: its not; just too many people download from those very small upstreams of people ....
15:04:23 <planetmaker> :-)
15:04:25 <TrueBrain> most connections are 10:1 (downstream:upstream)
15:05:05 <planetmaker> yes, round about
15:05:06 <TrueBrain> its always a nice example for me that those solutiosn work well for many low-quality connections ... but suck if you have a decent connection :P
15:05:09 * FLHerne just had to killall OTTD :-(
15:05:21 <planetmaker> ui?
15:05:25 <FLHerne> 32bpp doesn't seem to like my computer, or vice versa :P
15:05:37 <TrueBrain> you are doing it wrong :D
15:05:50 <planetmaker> surely 32bpp doesn't like your computer. Not vice versa :-P
15:05:56 <FLHerne> Perhaps I should find a stable/trunk build and try that :P
15:06:02 <TrueBrain> anyway, if anyone knows a good mirroring solution, either in software or idea, please, do let me know; kinda running thin in solutions here :D
15:06:05 <planetmaker> you need to paint your box first with some colours. Then they'll feel more at home
15:06:32 <TrueBrain> hmm, I might as well post on the forums, might be easier
15:07:06 * planetmaker goes do some needed shopping before continuing the stupidity path with comments here ;-)
15:07:42 <planetmaker> (I only mean mine)
15:10:26 <FLHerne> Mmm. If I set blitter to 32bpp-anim, start 1.2.1, select zBase as baseset and start a new game, should I be seeing 32bpp graphics? :P
15:11:42 <FLHerne> Oops, my fault :-(
15:12:06 <FLHerne> I should probably remove OGFX+ Landscape first :P
15:14:29 <Ammler> I can't download zbase either
15:16:48 <frosch123> FLHerne: you do not even have to set the blitter
15:16:59 <frosch123> unless you force a 8bpp blitter, it will select a 32bpp one itself
15:17:12 <TrueBrain> btw, Ammler, I guess this is one for you: the last 2 days I am receiving timeouts, refused connectiosn and DNS errors when accesing hg.openttdcoop.org (CompileFarm reports them)
15:17:24 <FLHerne> Does that override old .cfgs, though? :P
15:19:03 <Ammler> I want back my old server, where I didn't need to care about readiness :-(
15:22:07 *** Prof_Frink has joined #openttd
15:23:26 <Sacro> \o/
15:26:15 <TrueBrain> there, posted about my issue :P
15:26:31 <TrueBrain> all (wanna-be) sysops: read and reply! :P
15:27:48 <Sacro> TrueBrain: I am a sysop
15:27:51 <Sacro> what can I read?
15:27:55 <TrueBrain> tt-forums
15:27:57 <TrueBrain> my last post
15:28:01 <TrueBrain> can't miss it, I hope :P
15:28:29 <Ammler> download around 8mb, then stop :-(
15:30:37 *** Doorslammer has joined #openttd
15:33:22 *** Doorslammer has quit IRC
15:42:23 *** Biolunar has joined #openttd
15:46:29 <Ammler> TrueBrain: this would not have happen, if you wouldn't have such a stupid TOS :-P
15:48:25 <Ammler> and instead to make it more common, you made it more silly with the checkbox
15:51:00 *** perk111 has joined #openttd
15:52:49 <Ammler> a guy, which took the effort to reclaim newships as his grf will also just click that box
15:53:25 <Rubidium> but they can't say they 'forgot' that fact
15:53:31 <Rubidium> they agreed to it twice
15:54:51 <TrueBrain> Ammler: I don't see how it is relevant. This is an issue how to selectively push stuff to a mirror, because the mirrors want that
15:55:34 <Ammler> TrueBrain: maybe I saw the wrong thread from you then :-)
15:56:32 <Eddi|zuHause> Ammler: that post is months old..
15:56:39 *** perk11 has quit IRC
15:57:05 <Ammler> Eddi|zuHause: still on top
15:57:05 <Eddi|zuHause> TrueBrain: "We talk about 45k files here." <-- maybe make the decision per-directory, and not per-file?
15:57:26 <Eddi|zuHause> Ammler: that's because it's an announcement
15:57:45 <Eddi|zuHause> Ammler: announcements, stickies, normal topics...
16:00:55 <TrueBrain> Ammler: I said: my last post
16:00:58 <TrueBrain> which is not "top post"
16:01:00 <TrueBrain> which is silly
16:01:06 <TrueBrain> :P
16:01:24 <TrueBrain> Eddi|zuHause: given there are roughly 50 files in 1 dir, that still leaves a huge list :P
16:03:12 <Eddi|zuHause> TrueBrain: and i think you forgot a point, there are 3 cases, the file is not there, the file is there, and an old version of the file is there
16:04:15 <Eddi|zuHause> and that no incomplete files are there must be made sure during the rsync
16:06:52 *** andythenorth has joined #openttd
16:11:27 <Ammler> Eddi|zuHause: is clone with --pull like pulling every changeset individually?
16:11:59 <Ammler> which url did you use to clone?
16:12:31 <Eddi|zuHause> my exact command line was "hg clone --pull http://hg.openttdcoop.org/fish fish"
16:13:19 <Eddi|zuHause> and i don't know how pull exactly works. i just found this entry in the help and though i should try it. " --pull Nutzt das 'Pull'-Protokoll um Metadaten zu kopieren"
16:13:54 <Rubidium> TrueBrain: what about splitting the removal and addition of files for mirroring. Then first add the files, then update the cache (maybe once every so many minutes/seconds) and after that run/trigger the removal
16:15:16 *** FLHerne has quit IRC
16:15:37 *** FLHerne has joined #openttd
16:17:46 <Rubidium> maybe have two classes of 'mirrors': full and partial, where partial is just a small subset. Upon query find the closest mirror. If it's full, return that, if it's not figure out whether the file will be on the mirror (can't be that expensive I'd guess if you store paths; then it's just a hash lookup: O(1)). If it is on the subset mirror, return, otherwise get the nearest mirror in the full mirror list
16:19:08 <Rubidium> with store paths is: have a list with the paths that are pushed to the 'small' mirrors (that's maybe 50 entries?)
16:19:48 <Ammler> or use something like mirrorbrain
16:22:24 <TrueBrain> Rubidium: please post that to the thread, so I can read it later when I am not cooking dinner etc ;)
16:24:09 <TrueBrain> (you say it is not expensive, but I think you forget how that hash gets filled/stored/saved/loaded .. it is not as trivial as you want it to appear here ;))
16:24:48 <Rubidium> write the list to a file, inotify
16:25:08 *** roadt has quit IRC
16:25:54 <Rubidium> http://pyinotify.sourceforge.net/ (IN_CLOSE_WRITE)
16:26:19 <Eddi|zuHause> that should have been pynotify :)
16:26:39 <Rubidium> Eddi|zuHause: no, pienotify
16:27:01 <Eddi|zuHause> pyinotify does sound like stuttering
16:27:25 <Rubidium> IN_OVEN_OFF ;)
16:28:47 <Rubidium> filling the file with data, that's the trickier part. However, that's the thing that determines whether something is going to be mirrored or not
16:29:18 <Rubidium> and thus it could be some filter over find $binaries
16:30:02 <Eddi|zuHause> if we fix it on a 2-class system, i'd probably make a positive-list of what files (or directories) are in the "small" mirrors.
16:31:30 *** valhallasw has quit IRC
16:31:31 *** M1zera has joined #openttd
16:31:40 <Rubidium> and with rsync I'd expect the file cache to be hot-ish. time find $binaries | grep log | wc takes a whopping 0.118 seconds
16:31:51 <Eddi|zuHause> so upon incoming request, you hash the directory, ask the file whether the hash is in there, and if yes, return a "small" mirror, if no, return a "large" mirror.
16:37:02 *** roadt has joined #openttd
16:46:09 *** glx has joined #openttd
16:46:09 *** ChanServ sets mode: +v glx
16:51:11 <TrueBrain> Rubidium: so you mean make files like: .mirror.nl, to indicate the NL mirror has that directory?
16:51:17 <TrueBrain> (and dn't sync that file, ofc)
16:52:09 <Rubidium> no, just make a file with all the files a particular mirror has
16:52:45 <TrueBrain> hmm I wonder if rsync can tell you that
16:53:02 <Rubidium> you tell which files rsync should sync, don't you?
16:53:32 <TrueBrain> hmm, I guess that is another approach
16:53:39 <TrueBrain> I was thinking about simply running rsync over all dirs you want to rsync
16:53:45 <TrueBrain> but I guess you can also suplpy it with a list he should
16:54:01 <TrueBrain> I wonder if that can be done per directory
16:54:42 <TrueBrain> (also, the idea is that per mirror can be selected which files are there, but that would be allowed in this approach I guess)
16:54:56 <TrueBrain> some mirrors explicitly only want the latest stable (non-nightly)
16:55:06 <frosch123> syncing a list of files?
16:55:11 <frosch123> might be tricky for removing files
16:55:23 <TrueBrain> it should remove any file not on the list anymore
16:55:26 <TrueBrain> rsync has an option for that
16:55:51 <Rubidium> TrueBrain: aren't those mirrors that only want latest stable more or less useless; bananas consumes much more I think
16:55:52 <frosch123> oh, i expected it would only remove files on the list which are not at the source location
16:56:02 <TrueBrain> Rubidium: during releases they are not useless
16:56:13 <TrueBrain> (the first few days, basically)
16:56:28 <frosch123> Rubidium: wouldn't those mirrors also want the basesets?
16:57:06 <Rubidium> frosch123: but that's only for first use, after that you update via bananas
16:57:24 <Ammler> rsync has built in .rsync-filter file support
16:57:40 <frosch123> well, but if it handles zbase that would also be some
16:57:59 <TrueBrain> how still will grow exactly, time will tell .. I just want the ability to change
16:58:02 <TrueBrain> now it is either all or none
16:58:06 <TrueBrain> which are too much of an extreme ;)
16:58:13 <frosch123> alternatively we could modify ottd to only download files when they are going to be used :p
16:58:22 <TrueBrain> Ammler: you said exactly nothing; can you give a bit more context to your comment?
16:58:48 <TrueBrain> cool, --files-from accepts directories just fine, that is nice
16:59:16 <TrueBrain> frosch123: as far as I understand, with --files-from rsync sents that list to the mirror, it compares it with its local list, and removes any file not on it (when you say it should delete, that is)
16:59:27 <TrueBrain> then syncs any file not matchines the checksum
16:59:34 <TrueBrain> (which is mtime I believe?)
17:01:39 <Ammler> TrueBrain: well, mirrors can configure filter on directory level themself (or you edit those), point is, rsync supports that natively (option -F, iirc)
17:01:58 <TrueBrain> -F is write-batch
17:02:35 <TrueBrain> please dont 'iirc', but please give concrete useful information .. tnx :)
17:02:37 <Ammler> -F same as --filter='dir-merge /.rsync-filter'
17:02:45 <Rubidium> frosch123: but aren't all files used during scanning?
17:02:51 <Ammler> maybe depends on version
17:02:59 <TrueBrain> you still haven't really told me wtf it does
17:03:07 <TrueBrain> absolutely unclear to me, sorry :)
17:03:12 <TrueBrain> (I might be slow, I dunno)
17:03:57 <Ammler> just how to provide/manage mirror dependend syncing
17:04:07 <TrueBrain> that is the subject, yes :)
17:06:18 <TrueBrain> still no clue what you try to point out ..
17:06:52 <frosch123> TrueBrain: --delete-excluded seems to be the option
17:06:57 <Ammler> imo easiest way to allow mirrors to configure, which files they want on their disk
17:07:08 <TrueBrain> frosch123: yup :)
17:07:31 <TrueBrain> frosch123: it is a USE WITH CARE flag
17:07:42 <TrueBrain> Ammler: and how would we do such thing?
17:07:55 <Ammler> but no clue, how that is done with rsync < 3
17:08:00 <frosch123> Rubidium: we could also just download the 8bpp normal zoom part
17:08:01 <TrueBrain> ...
17:08:15 <Ammler> maybe it has --filter
17:08:18 <frosch123> and update the rest only via password or so :p
17:08:54 <frosch123> TrueBrain: rsync can also read the filelist from the destination
17:09:05 <TrueBrain> frosch123: I expected as much; that is great :)
17:09:15 <TrueBrain> happen to know how?
17:09:31 <frosch123> though i don't know how the balacner would get that info
17:09:47 <TrueBrain> file-cache
17:09:53 <TrueBrain> rsync script starts
17:09:56 <TrueBrain> when finishes, it runs that
17:10:06 <TrueBrain> balancer detects file is changed
17:10:08 <TrueBrain> reloads
17:10:28 <Ammler> replace balancer with mirrorbrain
17:10:31 <TrueBrain> would mean not having to care about rsync giving errors
17:11:06 <frosch123> TrueBrain: you mean --files-from=:/foo/bar with ":" in front of the path?
17:11:17 <TrueBrain> frosch123: I have no clue?
17:11:23 <TrueBrain> what would it do?
17:11:25 <frosch123> i just read the man page
17:12:12 <frosch123> you set a path for a file on the remote machine, which can then contain stuff like "releases/" or "/releases/LATEST" or "bananas"
17:12:12 <TrueBrain> ah, remote host location
17:12:15 <TrueBrain> no, I don't see how that is useful
17:12:26 <TrueBrain> the mirror hosters won't want to maintain such files
17:12:33 <TrueBrain> we can just do that for them, that is perfectly fine
17:12:47 <frosch123> it would not be a list of files, but a list of top-level dirs
17:12:54 <frosch123> but again, the balancer would know about that
17:13:00 <TrueBrain> like: */releases/* ;)
17:13:07 <TrueBrain> how I think it would work, if I get this all right
17:13:13 <TrueBrain> we have a file, say, .mirror.nl
17:13:17 <TrueBrain> it contains stuff like */releases/*
17:13:20 <TrueBrain> */bananas/*
17:13:21 <TrueBrain> I dunno
17:13:22 <frosch123> yeah, so not on remote
17:13:25 <TrueBrain> gives directories we want
17:13:31 <TrueBrain> we run rsync --file-from.mirror.nl
17:13:34 <TrueBrain> it syncs it etc
17:13:44 <TrueBrain> then we run a command (??), which tells us which files are now on the mirror
17:13:46 <TrueBrain> store that in .cache.nl
17:13:55 <frosch123> you can also run that file through some preprocessor and replace $LATEST with 1.2.0 :p
17:13:55 <TrueBrain> the balancer reads that file, and per file now knows who has it
17:14:09 <TrueBrain> yup, would work indeed
17:14:20 <Eddi|zuHause> TrueBrain: so the balancer picks a mirror, looks up whether it has that file, then picks next mirror?
17:14:26 <TrueBrain> Eddi|zuHause: no
17:14:41 <TrueBrain> I wouldn't know why he would do that ...
17:14:47 <TrueBrain> "and per file now knows who has it"
17:14:52 <TrueBrain> it knows, PER FILE, who has it
17:15:04 <TrueBrain> so .... when you ask a file at the balancer, he KNOWS who has it
17:15:08 <TrueBrain> so it picks a mirror from that pool
17:15:30 <Eddi|zuHause> ah, so cache has a mapping from filename:mirror-list
17:15:38 <Eddi|zuHause> for each file
17:15:53 <TrueBrain> let me try this again :)
17:15:58 <TrueBrain> .cache.nl has a filelist, wha tis on the NL mirror
17:16:09 <TrueBrain> the balancer reads this file in an array files[file] = [ "nl", "de", ]
17:16:20 <TrueBrain> more clear?
17:16:25 <frosch123> can ottd handle downloading stuff from different mirrors? i.e. does it notice which mirror server it, or does that not matter at all?
17:16:25 <Eddi|zuHause> yes.
17:16:48 <frosch123> (i mean a scenario where the user selects two files via ingame gui, which are on different mirrors only)
17:16:51 <TrueBrain> frosch123: don't know if I understand your question completely, but you do bring up a good question ..
17:16:57 <TrueBrain> I cannot remember how we told the client about a mirror
17:17:03 <TrueBrain> if we did it once in a package, or for every entry
17:17:14 <TrueBrain> Rubidium: do you remember?
17:17:14 <Eddi|zuHause> TrueBrain: can't use dns-based balancing in that case, only redirects
17:17:18 <frosch123> it was some standard http stuff iirc :p
17:17:23 <frosch123> though i have no idea about http
17:17:26 <TrueBrain> Eddi|zuHause: we don't use dns based balancing
17:17:28 <frosch123> it just sounded standard :p
17:17:42 <Eddi|zuHause> TrueBrain: then i don't see why it would not work
17:18:10 <Eddi|zuHause> assuming the game does not do any magic to combine requests
17:18:18 <TrueBrain> ottd_content can reply in 2 ways: either a http, or an internal entry
17:18:20 <Eddi|zuHause> and starts separate requests for each file
17:18:21 <TrueBrain> the client then downloads it
17:18:27 <TrueBrain> but what I don't remember, is if it caches the redirect
17:19:08 <Eddi|zuHause> TrueBrain: i think that would be bad architecture. the game would contain logic about the structure of mirrors, which it really shouldn't
17:19:24 <TrueBrain> Eddi|zuHause: with full mirrors, that is no problem at all
17:19:29 <TrueBrain> and has nothing to do with bad architecture
17:19:31 <TrueBrain> but with optimization
17:19:40 <TrueBrain> but I think we didn't do it
17:19:43 <TrueBrain> for statistics reasons
17:19:55 <TrueBrain> my memory is so terrible at times :(
17:20:29 <TrueBrain> url = mirrors[m]['url'] + url
17:20:32 <TrueBrain> well, that answers that question
17:20:39 <TrueBrain> so clients get the mirror URL
17:20:45 <TrueBrain> so that would be no issue at all
17:21:15 <Rubidium> that's about what I wanted to say
17:21:29 <TrueBrain> so yeah, then this approach should work
17:21:35 <TrueBrain> only remaining question: how do you get a remote file list? :D
17:22:31 <Rubidium> ugh... already people are mentioning Sintnicolaas :(
17:22:54 <Eddi|zuHause> you mean after rsync runs, get the filelist to doublecheck?
17:23:09 <TrueBrain> Eddi|zuHause: please do read what I wrote :P
17:23:13 <TrueBrain> nothing 'double check'
17:23:13 * Rubidium should eat something
17:23:18 <TrueBrain> Rubidium: enjoy :)
17:23:24 <Eddi|zuHause> TrueBrain: i phrased that badly
17:23:38 <Eddi|zuHause> TrueBrain: i meant: "do not trust that rsync ran correctly, read the actual result"
17:23:44 <TrueBrain> yes
17:23:45 <TrueBrain> it is needed
17:23:52 <TrueBrain> we "often" have mirrors that run out of diskspace
17:23:56 <TrueBrain> how ever annoying, but it happens
17:24:15 <Eddi|zuHause> and rsync itself cannot handle that?
17:24:19 <TrueBrain> it might
17:24:22 <TrueBrain> but that is a lot of work tbh
17:24:30 <TrueBrain> rsync is not really .... userfriendly in its return values
17:24:38 <TrueBrain> what is easier than: rsync && rsync-list ;)
17:24:47 <Eddi|zuHause> so you ssh into it, run ls, and read the output?
17:24:47 <TrueBrain> maybe even rsync; rsync-list
17:24:49 <TrueBrain> ;)
17:24:52 <TrueBrain> we often cannot ssh
17:24:54 <TrueBrain> only rsync-ssh
17:25:00 <TrueBrain> (key-restriction-based-access)
17:25:31 <Ammler> also that would not allow to provide a file as soon as it is uploaded
17:25:59 *** nicfer has quit IRC
17:26:18 <TrueBrain> as soon as rsync finishes, yes
17:26:33 <TrueBrain> which has a hidden benefit: a nightly has to be completely uploaded before a mirror starts serving it
17:26:50 <TrueBrain> might avoid a few cases of: why isn't there XXX, but YYY is there already!
17:26:55 <TrueBrain> its a small benefit :P
17:28:24 <TrueBrain> list-only ofc would be sufficient to list remote
17:28:33 <TrueBrain> as you can just put the remote server as 'source'
17:28:34 <TrueBrain> lolz
17:28:42 <TrueBrain> I was searching for a too complex solution :D
17:28:54 <TrueBrain> btw, Ammler, MirrorBrain has a few 404 pages on their homepage, which is annoying :P
17:29:04 <TrueBrain> and we have a very special balancer
17:29:09 <frosch123> something like running rsync a second time with --dry-run --itemize-changes might give a list of files which failed to transfer
17:29:10 <TrueBrain> as it can also spew out ottd:// urls ;)
17:29:26 *** valhallasw has joined #openttd
17:29:27 <TrueBrain> frosch123: that might also be nice, yes
17:29:36 <TrueBrain> good idea tbh
17:29:42 <TrueBrain> as I can trigger emails on that
17:30:42 <TrueBrain> frosch123: wait, no .. what if the filesystem changed in that time?
17:30:42 <TrueBrain> a new upload for example?
17:30:42 <Ammler> TrueBrain: I don't know mirrorbrain, I just know SUSE or KDE uses it
17:30:42 <TrueBrain> another reason btw for you Eddi|zuHause, to list the files remotely ;)
17:35:17 *** DorpsGek has joined #openttd
17:35:17 *** ChanServ sets mode: +o DorpsGek
17:35:36 <TrueBrain> frosch123: are you sure it uses checksums?
17:36:12 *** Mazur has quit IRC
17:36:19 <frosch123> TrueBrain: --checksum
17:36:25 *** Stimrol has quit IRC
17:36:33 *** Mazur has joined #openttd
17:36:37 <TrueBrain> so normally it does mtime + size
17:36:41 <frosch123> so yeah, it might not de by default
17:36:47 <TrueBrain> you have to explicitely say to do checksums :)
17:36:51 <TrueBrain> k, that is what I would expect
17:36:59 <TrueBrain> TCP transfers are guarenteed
17:36:59 <Ammler> TrueBrain: something like http://binaries.openttd.org/binaries/bananas/newgrf/NUTS_Unrealistic_Train_Set-0.2.7.tar.gz
17:37:02 *** Stimrol has joined #openttd
17:37:20 <TrueBrain> frosch123: I will have to test what happens exactly if a transfer gets aborted
17:37:24 <TrueBrain> Ammler: yes
17:37:30 <TrueBrain> minus the binaries I beliee
17:37:32 <TrueBrain> not sure
17:37:33 <TrueBrain> :P
17:37:34 *** masch has quit IRC
17:37:48 <Ammler> does not matter, both don't :-)
17:37:49 *** NataS has quit IRC
17:38:01 <TrueBrain> hmm, connection is SLOW
17:38:03 <TrueBrain> holy crap
17:38:20 <TrueBrain> @whoami
17:38:20 <DorpsGek> TrueBrain: TrueBrain
17:38:27 <TrueBrain> so it is me ...
17:38:43 *** Guest2285 has quit IRC
17:38:56 * andythenorth ponders forums
17:38:56 <TrueBrain> 120ms latency ... 20% packet loss ...
17:38:58 <TrueBrain> lovely
17:39:30 <TrueBrain> Ammler: http://binaries.openttd.org/releases/1.2.1/openttd-1.2.1-windows-win64.exe
17:39:32 <TrueBrain> as example URL
17:39:48 *** cyph3r has quit IRC
17:39:48 *** NGC3982 has joined #openttd
17:40:12 <Ammler> according to the mirrorbrain docs, that should work
17:40:18 <TrueBrain> okay, with all the ideas here, I think that might work ...
17:40:22 <Ammler> and how suse mirrors are handled
17:40:32 <TrueBrain> Ammler: again, we cannot use that, as we also spit out ottd:// URLs
17:40:45 <TrueBrain> it is just in reply to what you said: Suse does it like that; all I said was: so do we
17:40:56 <TrueBrain> we don't list the mirrors next, no, we just redirect you there
17:41:04 <Ammler> oh, I thought, you need to have all mirrors provide everything
17:41:04 *** Nat_aS has joined #openttd
17:41:05 <TrueBrain> I hate those redirect pages :P
17:41:27 <TrueBrain> huh? I think you missed like 90% of what we talked about :P
17:41:36 <TrueBrain> the current software needs full mirrors for listing see thread
17:41:39 <frosch123> TrueBrain: --ignore-errors might be needed as well
17:41:42 <TrueBrain> we just spend 30 minutes talking how to resolve that :)
17:41:49 <Ammler> indeed
17:41:51 <TrueBrain> frosch123: can you make a list of all those commands for me and post it?
17:42:00 <TrueBrain> I will forget, and this channel is a bitch to get a backlog on :D
17:42:40 <TrueBrain> tnx already :)
17:42:48 <TrueBrain> Rubidium / Eddi|zuHause: also tnx a lot for the input; this might just work :D
17:43:22 <TrueBrain> Ammler: for BaNaNaS files protected under ToS from public publishing, we reply ottd:// URLs, which only works for the OpenTTD client
17:43:35 <TrueBrain> I don't see how I can add that to MirrorBrain .. and honestly, the balancer is shit easy/small/fast/etc :P
17:43:50 <TrueBrain> Python and its SimpleHTTPServer ... :D:D :)
17:44:12 <Ammler> those files, you don't mirror anyway
17:44:23 <TrueBrain> but the mirror replies to the request for them :)
17:44:31 <TrueBrain> its a special page with special conditions :)
17:44:36 <TrueBrain> s/mirror/balancer/
17:45:12 <TrueBrain> anyway, I got to go for the evening. Tnx all, happy to finally see some way to resolve this clean and nicely :D
17:45:32 <CIA-4> OpenTTD: translators * r24461 /trunk/src/lang/ (belarusian.txt luxembourgish.txt portuguese.txt turkish.txt):
17:45:32 <CIA-4> OpenTTD: -Update from WebTranslator v3.0:
17:45:32 <CIA-4> OpenTTD: belarusian - 10 changes by Wowanxm
17:45:32 <CIA-4> OpenTTD: luxembourgish - 1 changes by Phreeze
17:45:32 <CIA-4> OpenTTD: portuguese - 51 changes by ricardoespsanto
17:45:34 <CIA-4> OpenTTD: turkish - 151 changes by otrkmen
17:45:59 <Ammler> I just hope, you get it fast working, our devzone seems not to be able to handle it
17:55:16 *** Chris_Booth has joined #openttd
17:58:39 *** confound_ has quit IRC
17:58:41 *** confound has joined #openttd
18:00:21 *** lugo has quit IRC
18:01:34 <neofutur> still trying to configure my city builder server
18:01:44 <neofutur> where shoudl I put the ewgrf settings like [preset-lcb-temp] ?
18:02:20 <frosch123> into openttd.cfg likely
18:02:23 <neofutur> ( planetmaker and Rubidium thanks for the answers ;)
18:02:25 <frosch123> just append it at the end
18:02:38 <Eddi|zuHause> presets are probably fairly useless on a dedicated server
18:02:47 <neofutur> NGC3982: yup trying to setup a city builder server before luukland shutdowns )
18:02:59 <frosch123> Eddi|zuHause: good point
18:03:07 *** Wolf01 has joined #openttd
18:03:12 <Wolf01> evenink
18:03:12 <neofutur> patched client and servers are working, but cities are still needeing nothing
18:03:21 <NGC3982> neofutur: I guess i could host my own? :)
18:03:33 <neofutur> I have them in openttd.cfg but they dont seem to be applied, cities needing nothing
18:03:55 <Eddi|zuHause> neofutur: make sure it uses the right .cfg?
18:04:03 <neofutur> NGC3982: eh for sure if you have a dedicated server
18:04:31 <neofutur> Eddi|zuHause: yes i launch it with -c /usr/local/share/games/openttd/openttd.cfg
18:04:49 <NGC3982> neofutur: ttd.dndr.se:3979 ;)
18:05:28 <Eddi|zuHause> neofutur: what are the citybuilder-related settings, and what does the console think their values are?
18:05:35 *** GBerten2936 has joined #openttd
18:06:16 *** perk111 has quit IRC
18:06:16 <Eddi|zuHause> frosch123: "--dry-run --itemize-changes --itemize-changes | grep '^.' " that doesn't look right
18:07:04 <frosch123> if you mean the duplicated option, that is correct
18:07:22 <Eddi|zuHause> may need better documentation then :)
18:08:45 <frosch123> better?
18:09:06 <Eddi|zuHause> yes :
18:09:07 <Eddi|zuHause> :)
18:10:08 <andythenorth> TrueBrain: I have only scan read the mirrors thing and I am sick and my head is fuzzy
18:10:26 <Eddi|zuHause> hehe :)
18:10:28 <andythenorth> but sounds like a problem usually solved by CDN (the large file type, not the small file type)
18:10:42 <frosch123> duplicate options are sometimes used as enhancement
18:10:52 <frosch123> -v is verbose, -v -v is very verbose and so on :)
18:12:03 <neofutur> Eddi|zuHause: i added the settings found in the pdf
18:12:06 <neofutur> http://p.gw.gd/index.php/view/928e8fc7
18:12:14 <neofutur> at the end of openttd.cfg
18:12:33 <neofutur> theres no graphical display on the server, how can I use the console from the client ?
18:12:43 <Eddi|zuHause> neofutur: ah, so you need to copy one of the [preset] entries to [newgrf]
18:12:56 <neofutur> ok
18:13:01 <neofutur> i was suspecting something like that
18:13:08 <neofutur> the pdf is not very detailed about this
18:13:42 <neofutur> ok I just put
18:13:43 <neofutur> cbreqfull.grf = 0 250 500 100 2 40 1000 100 5 250 1500 5 9 111 0 5 10 59 2500 2 11 125 0 10 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
18:13:53 <neofutur> in the [newgrf] section
18:14:08 <frosch123> you can drop the trailing 0 probably
18:14:37 <andythenorth> so we don't pay mirrors, right?
18:14:43 <Eddi|zuHause> well that depends on the grf. there's a difference between "unset" and "zero"
18:14:49 <frosch123> and if you use it like that, you have to make sure that the file is actually in the root "newgrf" dir
18:15:24 <frosch123> andythenorth: we might offer them a cake at the 25k or 30k party
18:15:41 <frosch123> s/cake/piece of cake/
18:16:48 <Eddi|zuHause> unless the cake is a lie.
18:17:29 <NGC3982> Unless it's also a quantum cake?
18:17:43 <NGC3982> So it can be true and false at the same time
18:17:46 <NGC3982> While not being a cake
18:17:52 <NGC3982> ..
18:18:37 <frosch123> if a cake is too continental, i can also make muffins, they are more archipelagish
18:18:46 <NGC3982> :)
18:19:08 <neofutur> I can help providing mirrors if needed
18:19:21 <neofutur> ( also for a free CDN appengine is great )
18:19:22 <frosch123> mirroring cakes?
18:20:45 <frosch123> neofutur: have a look at http://www.tt-forums.net/viewtopic.php?f=29&t=46889
18:21:06 <frosch123> since we currently do not support partial mirrors (see discussion above), the requirements are quite big
18:22:51 <frosch123> TrueBrain: is there a more up-to-date list? e.g. one which mention the proper host of our main server :)
18:25:50 <neofutur> ok the cb setting is there now
18:26:33 <neofutur> and the client is required to download a newgrf "city builder cargo requirements"
18:27:01 <neofutur> that cant be found, i have the same problem with the other city builder server on the metaserver list
18:27:43 *** valhallasw has quit IRC
18:27:46 <andythenorth> TrueBrain: probably of no help at all: http://www.hpl.hp.com/personal/Lucy_Cherkasova/projects/fastreplica.html
18:28:51 <neofutur> frosch123: thanks for the link, i ll contact http://www.openttd.org/en/contact
18:29:05 <neofutur> I have dedicated servers in france with unlimited transfer
18:32:51 <neofutur> 100 GB is possible, recent servers have 2 TB raid
18:36:15 <neofutur> ah i needed the newgrf from the citybuider patch on the client side
18:36:25 <neofutur> it seems theres nowhere they can be downloaded online
18:36:54 <neofutur> yeah towns now need cargo !
18:37:31 <neofutur> the server is named "testing citybuilder server" if anyone wants to help me test it
18:41:09 * neofutur emailed truebrain for the mirror proposal
18:43:49 *** Wolf03 has joined #openttd
18:43:49 *** Wolf01 is now known as Guest2302
18:43:49 *** Wolf03 is now known as Wolf01
18:43:49 *** M1zera has quit IRC
18:46:12 *** Zeknurn has quit IRC
18:46:38 <neofutur> TrueBrain: you have mail ;) query me for any question for the mirror proposal
18:46:55 *** Zeknurn has joined #openttd
18:47:35 <planetmaker> Eddi|zuHause: the failure to find "NoSound" actually might well be related. Every OpenTTD comes with that soundset...
18:49:37 <andythenorth> I take it that we don't have so many donations we can afford a CDN?
18:49:38 *** Guest2302 has quit IRC
18:50:24 <planetmaker> what's a CDN?
18:50:24 <planetmaker> nvm
18:50:55 <andythenorth> for us CDN means 'someone else has to worry about distributing the files around the world'
18:50:56 <andythenorth> maybe
18:51:01 <andythenorth> unless they screw up :P
18:51:14 <andythenorth> but it's €some per terabyte
18:51:37 *** valhallasw has joined #openttd
18:51:38 * andythenorth points and waves at the 'buy newgrfs, €1 per download' idea :P
18:52:05 <planetmaker> we only allow signed newgrfs
18:53:15 <neofutur> http://just-ping.com/index.php?vh=static.ww7.be&c=&s=ping!
18:53:33 <neofutur> that is a cdn, content is distributed on many different ips in different datacenters
18:53:44 <neofutur> https://github.com/neofutur/myCDN
18:54:02 <neofutur> allows you to use appengine as a great free cdn
18:54:27 <neofutur> hum the town says it need steel to grow, but the stops are not needing it
18:55:06 <planetmaker> http://www.tt-forums.net/viewtopic.php?f=29&t=62104&p=1039134#p1039134 <-- now. This is a question I happily answered :-) Haven't seen it ever :-)
18:55:59 *** Chris_Booth has quit IRC
19:06:15 *** roadt has quit IRC
19:09:05 *** KouDy1 has quit IRC
19:22:21 *** Progman has joined #openttd
19:41:23 *** telanus has quit IRC
19:41:49 <neofutur> yeah, got a growing town on my citybuilder server for the fiereet time
19:41:57 <neofutur> first time
19:43:11 <neofutur> anyone know why luuklnd will shutdown his services
19:43:24 <neofutur> and why he sets such a high price ( 200 Keur ) ?
19:47:29 <Xaroth> because he's a muppet?
19:48:04 <neofutur> well he built something great, working well
19:48:10 <Xaroth> he's got something against openttd, but at the same time, he works with it
19:48:17 <Xaroth> which is a classic case of being a muppet
19:48:21 <neofutur> his servers are by far the most active
19:48:54 <neofutur> first i understood the price was 200 eur, I thought I d try to buy it :p
19:49:13 <Xaroth> heh
19:51:43 <frosch123> you can buy luukland for 200k€ ?
19:52:10 <frosch123> who would do that? they rather should ask for 200M€, that might get some facebook inverstors
19:53:18 <neofutur> frosch123: yup 200000 eur
19:53:32 <andythenorth> so that's about £14 sterling?
19:53:33 <neofutur> if no one pays he will shut it all down
19:56:45 <planetmaker> neofutur: that price tag exists as long as the servers exist
19:57:11 <Rubidium> no, it was half of that price
19:58:08 <planetmaker> it's a bad attempt trying to annoy us openttd devs, to illustrate that they don't share their ideas and code with us devils
19:59:02 <neofutur> its related to a licence problem ?
19:59:14 <Rubidium> yes, those OpenTTD devs are bad because they care more about the security of all OpenTTD users than the fun/hacks of a few
19:59:57 <neofutur> k, so better try to build a team around this free city building patch
20:00:13 <Xaroth> better to try and use NoGO
20:00:14 <planetmaker> neofutur: I would suggest... to use the game script approach
20:00:18 <neofutur> is there any plans to accept this city building patch in the official client ?
20:00:24 <planetmaker> no. never
20:00:25 <Xaroth> it can probably do 90%, if not more, of what luukland's servers do
20:00:33 <neofutur> why ? thats something people love ?
20:00:36 <planetmaker> as you can do the same with game scripts
20:00:43 <Xaroth> neofutur: NoGo can already do it
20:00:48 <Xaroth> why implement something that already can be done?
20:00:50 <planetmaker> which is the interface written for that exact purpose
20:01:20 <planetmaker> and there's at least three gamescripts in the online content which deal to some extent with town growth
20:01:22 <Xaroth> more so, why implement something -that cannot be changed without recompiling-, when there's already something in place that works somewhat dynamicly
20:01:24 <planetmaker> did you look at them?
20:02:22 *** KritiK has joined #openttd
20:02:31 <neofutur> no, this patch seem to provide a working server, i found no howto links to how to implement this with this nogo
20:02:43 <neofutur> and no working citybuilding server ewither
20:02:47 <Xaroth> that's because with NoGo you're not limited to what the script does..
20:02:48 <neofutur> either
20:02:58 <planetmaker> ehm...
20:03:04 *** Pixa has joined #openttd
20:03:10 <planetmaker> game scripts do run serverside...
20:03:38 <planetmaker> really. Try to understand what game scripts do. How they work. How they can help you there
20:03:47 <neofutur> are there some examples of this kinf of scripts ?
20:03:50 <planetmaker> It really was written for that exact purpose. Just as a general API
20:03:57 <Xaroth> game scripts can already do more than the citybuilding patches do
20:03:58 <planetmaker> ... yes.
20:04:01 <neofutur> how many hours of work would I need to make it a citybuilding server ?
20:04:12 <planetmaker> 0
20:04:14 <neofutur> anyone ever tried ?
20:04:21 <planetmaker> just grab one of the game scripts which does that...
20:04:34 <planetmaker> undefined, if you want them to do exactly what *you* want
20:04:40 <neofutur> k I ll search again more info about this
20:04:41 <Xaroth> neofutur: judging from your lack of initiative, more than you think...
20:04:47 <planetmaker> then it's your programming knowledge in squirrel which defines it
20:05:41 <neofutur> Xaroth: lack of initiative on what ?
20:05:57 <neofutur> for now my initiative is setting up a server, coming here on irc, trying to understand ?
20:06:07 <neofutur> what is youre problem Xaroth ?
20:06:14 <Xaroth> neofutur: well, we only mentioned NoGo 5 times, yet you only ask questions about it that can be googled/wiki'ed in seconds
20:06:44 <Xaroth> so to me, that shows a severe lack of initiative.. you want to make it work, but you don't want to spend any effort in doing so
20:07:03 <neofutur> no, I just discover this nogo thing
20:07:15 <neofutur> for now i have a working citybuilding based on the patch
20:07:27 <Xaroth> yes, but as mentioned several times already
20:07:28 <glx> using a patched server is rarely a good idea
20:07:35 <Xaroth> patches are not useful
20:07:47 <neofutur> patched server is not my problem, but the fact it needs a patched client is for sure a problem
20:08:00 <Xaroth> and that's where NoGo comes in :)
20:08:09 *** KingPixaIII has quit IRC
20:08:19 <Xaroth> there's a big post on the forum about it
20:08:24 <Xaroth> and no doubt several wiki pages
20:09:17 <neofutur> Xaroth: thanks for the link
20:09:53 <Xaroth> http://www.tt-forums.net/viewtopic.php?f=33&t=57431
20:10:10 <Xaroth> and
20:10:11 <Xaroth> http://wiki.openttd.org/Game_script
20:10:25 <neofutur> thanks, that will help me stop bothering you by talking in here
20:10:38 <Xaroth> it doesn't bother me at all
20:12:45 <planetmaker> @logs
20:12:45 <DorpsGek> planetmaker: http://irclogs.qmsk.net/channels/openttd
20:16:28 *** M1zera has joined #openttd
20:18:13 <neofutur> so , having a look at http://bananas.openttd.org/en/gs/
20:18:47 <neofutur> the nearest script to a citybuilding game would be CityDomination ?
20:18:52 <andythenorth> bye
20:18:52 *** andythenorth has left #openttd
20:19:05 <planetmaker> It's one of those three I mentioned at 9am this morning, yes
20:21:02 <planetmaker> the "neighbors are important" is another very interesting one
20:22:11 <planetmaker> the city growth limiter might give interesting ideas as well. And as 4th even the transportgoals might be interesting
20:23:01 <neofutur> k now id need to learn this squirrel language
20:23:16 <planetmaker> neither does all what you want, most probably. But going by those 4 things, it's easy to extent them
20:23:54 <neofutur> any good links for learning this squirrel language ?
20:24:07 <frosch123> noone yet coded though an external highscore to put on some website
20:24:11 *** Chris_Booth has joined #openttd
20:24:19 <frosch123> but nogo in principal also supports that
20:24:32 <Yexo> neofutur: http://squirrel-lang.org/ and maybe NoAI tutorial on wiki.openttd.org
20:26:55 <neofutur> many thanks
20:32:04 <neofutur> ok its near enough to C++ to seem possible
20:38:49 *** drac_boy has joined #openttd
20:39:05 <drac_boy> hi
20:45:41 <FLHerne> drac_boy: Hi (yet again) :-)
20:46:04 <drac_boy> hi tiles-bored english person :p
20:46:06 <drac_boy> heh heh
20:46:47 <frosch123> drac_boy: from the other side of the ocean?
20:47:23 <frosch123> i had a question yesterday which i still do not know the answer: do americans normally speak about "cooking a cake" instead of "baking a cake"?
20:48:46 <drac_boy> isn't someone from britan considered english?
20:48:53 <drac_boy> or I must be mixing up my memory :-s
20:49:19 <frosch123> a scotsman might kill you for that
20:49:45 <__ln__> or a welshman, such as batman
20:51:18 <drac_boy> heh ok fair enough
20:52:49 <Rubidium> drac_boy: just like all French people put "Stop" on their "Stop" signs, except those not being French but speaking French near America; they put "Arrêt" on their signs
20:53:45 <__ln__> "near America"....
20:53:56 <Rubidium> likewise Americans, though speaking English are not using the same words/phrases
20:55:36 <Rubidium> e.g. caboose vs guard/brake van
20:55:56 <Rubidium> or cotton candy vs candy floss
20:56:25 <drac_boy> heh
20:56:30 <frosch123> or "i could care less" vs "i coudn't care less" :p
20:57:06 <Rubidium> or streetcar vs tram
20:57:11 <frosch123> http://www.youtube.com/watch?v=aXJHip7Su5o
21:03:43 *** Rhamphoryncus has quit IRC
21:05:32 <neofutur> [2012-08-08 23:05:09] dbg: [misc] String too long for destination buffer
21:05:49 <neofutur> what does this mean ? a buggy client or some kind of attack against the server ?
21:05:49 <__ln__> also some verbs have regular past tenses in the US, whereas the same verb is irregular in britain. can't remember an example.
21:07:07 <neofutur> Rubidium: http://www.mediadico.com/dictionnaire/definition/stopper/
21:07:16 <neofutur> stopper is a french verb
21:07:31 <neofutur> you can say "je stoppe" in french
21:07:47 <neofutur> but yes, should be stoppe and not just stop
21:07:52 <Rubidium> neofutur: I know that
21:08:30 <Rubidium> still the French-tongued Canadians use Arrêt on their stop signs
21:09:19 <frosch123> are you sure that the french-tongued placed those signs?
21:09:22 <neofutur> grumph now I have a working citybuilding server its hard to decide to spend hours developping a nogo script ;(
21:09:38 <frosch123> maybe it were rather the english ones, being worried about french driving skills
21:09:44 <Mazur> No, __ln__, I reckon they have irregular conjugations, only the masses in the US never payed attention in school, so they've forgotten to use them.
21:10:10 <frosch123> neofutur: sell it for 200k
21:10:12 <neofutur> using nogo i ll be able to tell the server to rename a town, or to build a bank in town ?
21:10:27 <frosch123> then you can pay someone to develop the nogo one
21:11:22 <Rubidium> frosch123: I'm quite sure, the English tongued wanted to get rid of the French tongued
21:11:29 <neofutur> eh luukland is selling more than just a server, and the opensource citybuilding script is not yet as good as the luukland one
21:11:52 <__ln__> Mazur: *payed*?
21:13:03 <frosch123> neofutur: if something is worth 200k, you must be able to gain 20k per year with it; or you really have to find someone stupid
21:13:33 <__ln__> Mazur: anyway, that's the prescriptive approach to the phenomenon, but the descriptive is to acknowledge that native speakers actually use the language like that.
21:15:13 <glx> Rubidium: wiktionary says the word "stop" is used since 1792 and is from english
21:15:57 <planetmaker> neofutur: you miss one big advantage of the script approach: with scripts you can offer much more variety in the gameing experience than you ever can do with a patch. Like this very specific "citybuilder"
21:16:06 <glx> so as always french canadians use the original word
21:16:19 <neofutur> frosch123: I agree, that should be sold 200eur, perhaps its possible to earn 100$ /month with it . . . not even sure :p
21:16:24 <planetmaker> the latter is severely limited. While the scripts allow you to keep your players at an edge. Or implement secretly some easter eggs
21:16:55 <planetmaker> well. you don't even need to do it secretly. Most people won't even notice when you do it in plain sight ;-)
21:18:11 <neofutur> but still this question, having a nogo script allows me to drive the server, changing anything ? like renaming a town or adding a bank in a town ?
21:18:55 <frosch123> i am not sure about naming a town
21:19:04 <frosch123> you can place signs or show addtional text in the town gui
21:19:10 <frosch123> but i don't think you can rename them
21:20:16 <frosch123> anyway, night
21:20:20 *** frosch123 has quit IRC
21:20:46 <neofutur> renaming the town to the owner / player name seems needed
21:21:05 <neofutur> having a system to "claim" a town too
21:21:35 <glx> there is a SetText() function
21:22:33 *** drac_boy has quit IRC
21:23:18 <Xaroth> neofutur: look at it this way, if the codebase changes in areas where your patch works, you'll have to fiddle for hours upon end to get it working again
21:23:23 <Xaroth> that is not likely with NoGo
21:24:10 <glx> and it's always possible to add functions in the API if really needed
21:24:17 <neofutur> Xaroth: agreed, its probably a better approach ;) but much more work too
21:24:56 <neofutur> grep SetText gamescripts_nogo/*/* find nothing ;(
21:24:57 <Xaroth> it's a matter of spending time now, and getting it right, or being forced to spend time later :)
21:24:58 *** sla_ro|master has quit IRC
21:24:58 <glx> (via patches of course but easier to get them accepted than a big hack)
21:25:32 *** drac_boy has joined #openttd
21:25:35 <glx> http://nogo.openttd.org/api/trunk/classGSTown.html#3e6f1594e5c86b9b1b8cbe952979e51d
21:25:36 *** Chris_Booth has quit IRC
21:25:40 <drac_boy> sorry...some silly brownout in the area here :-s
21:26:20 <neofutur> ah I needed this class reference function list ;)
21:26:24 <neofutur> thanks glx
21:27:03 <glx> http://nogo.openttd.org/api/ <-- that's the root :)
21:28:15 <FLHerne> Why does ottdcoop bundles have 'ogfx-trains', 'fork-ogfx-trains' and 'fork-fork-opengfx-trains'? :P
21:28:31 <FLHerne> And more to the point, which one should I care about? :P
21:28:32 <glx> because they like forks ?
21:33:38 *** Supercheese has joined #openttd
21:38:18 <neofutur> strange there is getname and settext, if its the same property, shouldnt they be names getname and setname, or gettext and settext ?
21:41:59 <NGC3982> http://soundcloud.com/sibirish_musik
21:42:10 <glx> neofutur: it's not the same property
21:44:47 <neofutur> ok, so theres indeed no SetName
21:49:34 <glx> it should be possible to add it
21:49:55 <neofutur> k
21:50:17 <glx> as renaming a town is allowed on the server
21:50:39 <neofutur> also, theres a function to protect a "owned" city ? so that only the owner can build near this town ?
21:50:49 *** Frankr has joined #openttd
21:51:34 <drac_boy> neofutur what do you consider 'near' btw?
21:52:37 <neofutur> the area wouls probably be relative to the town sie
21:52:42 <neofutur> size
21:53:12 <neofutur> like 10 tiles around city for a 500 city, 20 tiles for 2000 size . . .
21:53:42 <drac_boy> oh ok just wanted be sure you was not going to block out players from being able to lay lines through a city-close-to-mountain flatland section .. or even a powerplant few tiles outside a city
21:53:50 <drac_boy> and umm 20 is kinda a bit too wide, but 10 is ok
21:54:23 <neofutur> yup 20 could be too big, depending on the map size
21:54:46 <neofutur> this should probably be a setting of the game script
21:54:54 <Wolf01> 'night all
21:54:58 <drac_boy> bye Wolf01
21:54:59 *** Wolf01 has quit IRC
21:55:56 <drac_boy> well neofutur I don't have any complain but on the other hand I can't help, never really play ottd much (less now that theres almost no green dotted servers in list at times :-s )
21:56:24 <neofutur> why do you have no green dot ? yo use an old version ?
21:56:25 <drac_boy> I only can recall that the luk-something server (you did mention that too didn't you?) had some sort of script that blocked you from placing your hq in an already-taken town
21:56:32 <drac_boy> neofutur nope...chrill
21:56:58 <neofutur> more than just Hq on luukland, theeere is this type of protected area around owned towns
21:58:32 <drac_boy> oh luukland mm
22:01:19 * neofutur wonders what chrill means
22:02:16 <drac_boy> the chrill patch version of ottd
22:04:06 <neofutur> citybuilder patch or something else ?
22:04:43 <drac_boy> something else
22:04:53 <neofutur> k
22:05:06 * neofutur now have a working server for the citybuilder patch
22:05:28 <neofutur> gotta add goods requirement for bigger towns and its done
22:06:17 <drac_boy> :)
22:06:26 *** Progman has quit IRC
22:06:37 <neofutur> since it will probably take me months to make it a nogo script, i ll still try to have good citybuilding servers waiting for it
22:21:05 *** FLHerne has left #openttd
22:36:19 <neofutur> any citybuilder player around to play with me and test the settings of my server ?
22:37:01 <drac_boy> not me sorry, don't know who else could be not asleep on their keyboard now :p
22:37:03 <drac_boy> heh
22:41:45 *** valhallasw has quit IRC
22:42:22 *** cyph3r has joined #openttd
22:46:29 *** nicfer has joined #openttd
22:46:51 *** chester_ has joined #openttd
22:46:56 <nicfer> hello again
22:48:17 <drac_boy> hi nicfer
22:50:04 *** TGYoshi has quit IRC
22:50:46 <nicfer> one question, can I create a map with the minimum town distance patch and load that into a patch pack?
22:51:18 <nicfer> that patch pack doesn't have MTD
23:00:40 *** tokai|mdlx has joined #openttd
23:06:38 *** tokai|noir has quit IRC
23:17:40 *** nicfer has quit IRC
23:17:42 *** drac_boy has left #openttd
23:23:10 *** chester_ has quit IRC
23:33:28 *** Biolunar has quit IRC
23:43:02 *** arton has joined #openttd