IRC logs for #openttd on OFTC at 2012-04-16
⏴ go to previous day
00:33:02 *** LordPixaII has joined #openttd
00:39:57 *** GBerten2936 has joined #openttd
01:59:55 *** HerzogDeXtEr1 has joined #openttd
03:09:35 *** Endymion_Mallorn has joined #openttd
03:30:52 *** Endymion_Mallorn has quit IRC
04:43:27 *** LordPixaII has joined #openttd
04:50:24 *** telanus has joined #openttd
04:56:16 *** Eddi|zuHause has joined #openttd
06:46:30 *** TWerkhoven[l] has joined #openttd
06:51:17 *** globester has joined #openttd
07:06:33 *** zxbiohazardzx has joined #openttd
07:14:25 *** TGYoshi has joined #openttd
07:19:20 *** fonsinchen has joined #openttd
07:19:26 <xiong> If there's a Chinese car set then there should be a Chinese industry set with a dog processing plant.
07:20:16 <xiong> Also, a Chinese Toyland industry: accepts wood, lead-based paint, produces... goods.
07:20:20 <planetmaker> and Gucci hand bags
07:21:11 <NGC3982> about that, im still waiting for that soylent green grf.
07:21:16 <zxbiohazardzx> cheap products dont give you alot of profit?
07:23:02 <xiong> Actually, the fantasy that has a grip on my brain is the Halloween Total Conversion Set. All the trees are dead; road vehicles include hearses, aircraft include brooms and flying carpets; cargoes include pumpkins and eyes of newt. Instead of town buildings, headstones; and ghosts are transported in pax-type vehicles.
07:23:32 <xiong> Mind you, I'd never play this; but I can see it catching on among the goths.
07:23:55 <NGC3982> well, it's a fun thing
07:24:33 <NGC3982> yes, well. something to use every year, that is.
07:24:50 <NGC3982> my soylent green maps wouldnt be that much of a treat all the year round ;_;.
07:25:26 <NGC3982> although, ive been having dreams about it
07:25:37 <xiong> Then there's the flying Santa sleigh, Arctic climate only... and the Total Lawrence of Arabia Desert Climate Conversion.
07:25:51 <NGC3982> a post-apocalyptic (kinda cccp) climate
07:26:06 <NGC3982> the towns are exports
07:26:15 <NGC3982> and the industries produce food from passengers
07:26:28 <xiong> Dunno; one appeal of OTTD for me is it's one of the few games without nuclear weapons.
07:26:46 <xiong> Not that I don't like nuclear weapons!
07:26:50 *** Firartix has joined #openttd
07:28:35 *** sla_ro|master has joined #openttd
07:29:30 <planetmaker> Not sure about the arsenal of the UFOs
07:30:17 <zxbiohazardzx> was about to mention we have UFO'S flying sometimes, and you never know what happens if they are hostile
07:51:19 <xiong> One of the better parts of SimTower (Yoot's Tower) was the annual Santa visit. Better than the VIP. And one of the better parts of SimCity was the eco-monster. As I recall, in SC2K it shit windmills.
08:15:37 <Markk> I remeber that we played it at a LAN for a couple of years ago. :S
09:46:46 *** TheMask96 has joined #openttd
09:48:23 *** Devroush has joined #openttd
09:58:51 <dihedral> why on earch does xchat grab focuse when i move to an rdp session ... :-(
10:07:06 *** drac_boy has joined #openttd
10:24:06 *** FLHerne has joined #openttd
10:27:10 *** drez8pa has joined #openttd
10:51:45 *** Arafangion` has joined #openttd
11:10:34 *** Arafangion` has joined #openttd
11:57:01 *** Arafangion` has joined #openttd
12:41:13 *** oskari89 has joined #openttd
12:48:44 *** roboboy has joined #openttd
12:59:19 <DorpsGek> Eddi|zuHause: OpenTTD uses TCP and UDP port 3979 for server <-> client communication, UDP port 3978 for masterserver (advertise) communication (outbound), and TCP port 3978 for content service, a.k.a. BaNaNaS (outbound)
14:07:10 <Eddi|zuHause> aren't you like an hour late?
14:07:10 <Belugas> depends of your preferences
14:07:31 <Belugas> well... takes time to get back on duty after a week of vacations ;)
14:07:52 <Belugas> all those pesky emails and phone messages..
14:12:26 *** Rhamphoryncus has joined #openttd
14:14:19 *** LordPixaII has joined #openttd
14:17:45 *** fonsinchen has joined #openttd
14:26:55 *** Miguelzinho has joined #openttd
14:38:40 *** andythenorth has joined #openttd
14:43:45 <andythenorth> xiong: 'What am I missing?' <- afaict, you're missing 'realistic acceleration' for RVs ;)
14:45:30 <DorpsGek> andythenorth: pikka was last seen in #openttd 1 day, 3 hours, 8 minutes, and 39 seconds ago: <Pikka> true :)
14:47:14 <andythenorth> planetmaker: your post to thphwh might wear a smiley? :)
14:55:35 *** telanus1 has joined #openttd
14:59:46 <Eddi|zuHause> andythenorth: is there a quick walkthrough for pixa?
15:00:16 <andythenorth> I need to write one
15:00:24 <andythenorth> I need a test user to write it against :)
15:00:33 <andythenorth> I am a bad teacher
15:01:04 <andythenorth> reverse engineering from BANDIT might be fastest for someone of your capability ;)
15:02:26 <Eddi|zuHause> i tried that once but didn't get anywhere
15:02:42 <andythenorth> I do need to document it
15:02:44 <Eddi|zuHause> my mind doesn't work on pixels
15:02:55 <andythenorth> my mind doesn't work on computer science ;)
15:03:07 <andythenorth> pixels are just vector operations
15:03:18 <Eddi|zuHause> i realize that whenever i'm trying to draw
15:04:53 <andythenorth> Eddi|zuHause: you have pixa installed?
15:05:06 <andythenorth> you have something in mind to draw?
15:05:18 <Eddi|zuHause> i'm currenty successful at "import pixa" ;)
15:05:27 <andythenorth> do you have BANDIT checked out?
15:05:34 <Eddi|zuHause> andythenorth: i want to colour my green boxes.
15:05:43 <Eddi|zuHause> first step: one colour
15:05:51 <Eddi|zuHause> second step: multiple regular colours
15:07:00 <Eddi|zuHause> andythenorth: i have bandit now
15:07:19 <Eddi|zuHause> and it says i modified dispatcher.py, but diff doesn't show anything...
15:07:24 <andythenorth> it's easiest for me (not sure if easiest for you) to use BANDIT to step you through the pipeline
15:07:51 <Eddi|zuHause> i've got about an hour at this point :)
15:08:05 <andythenorth> that's fine, I have a child and such to do to :)
15:08:18 <andythenorth> in src/pixel_generator there's a makefile
15:08:22 <andythenorth> does it work? :)
15:09:22 <Eddi|zuHause> some parts throw an error
15:09:33 <andythenorth> could be errors by me on committing things
15:11:33 <Eddi|zuHause> IOError: [Errno 2] No such file or directory: './intermediates/body_flat-cc1-5_8-cargo_coils-grey_metal.png'
15:11:39 <andythenorth> ok, they're tiresome, but not critical right now
15:11:53 <andythenorth> I obviously have something uncommitted here
15:12:25 <andythenorth> had a look in the 'intermediates' and 'output' dirs?
15:13:17 *** Zeknurn has joined #openttd
15:13:58 <Eddi|zuHause> should i see differences there?
15:14:15 <andythenorth> you should see files
15:14:32 <Eddi|zuHause> yes, body_box, body_tank and body_tipping stuff
15:14:48 <andythenorth> so I'll step you through different parts of pixa, and the output in those folders will vary
15:14:50 <Eddi|zuHause> in output/ prefixed with trailer
15:15:02 <andythenorth> had a look in 'input'?
15:15:18 *** FLHerne has joined #openttd
15:15:49 <Eddi|zuHause> lots of colourful boxes
15:15:55 <andythenorth> got a pixel editor?
15:17:00 <andythenorth> palette_key.png might be useful to open
15:17:11 <andythenorth> and tank_body_floorplan.png from input
15:17:26 <andythenorth> [palette_key.png is in src/pixel_generator]
15:18:29 <andythenorth> the other file to open is gestalts/tank_body
15:19:30 <andythenorth> k so lines 148-166 are the first to look at
15:19:41 <andythenorth> the dict keys there correspond to pixel colours in the floorplan
15:20:01 <andythenorth> in the tank floorplan you'll find 195 used for example (yellow-orane)
15:22:04 <andythenorth> if it interests you, change the sequence drawn for 195 to one of the others, then run make and look in 'intermediates'
15:22:05 <oskari89> Hmm, Simutrans with Pak128 looks like a Locomotion clone :P
15:22:32 <andythenorth> e.g change the value for 'points =' to another sequence id
15:23:32 <oskari89> But it's very crappy, even though it has openable bridges and traffic lights :P
15:23:58 <Eddi|zuHause> yes, graphics look odd now :)
15:24:08 <andythenorth> Eddi|zuHause: you can also see the sequences defined above. e.g. tank_n_s
15:24:23 <andythenorth> each of those is a list of x, y offs from the starting pixel
15:24:46 <andythenorth> the colours are abstracted to objects e.g. pc_stripe(), but you don't need those
15:24:49 <andythenorth> that's advanced use
15:25:14 <andythenorth> try replacing all instances of 'pc_tank()' with '240'
15:25:37 *** Progman has joined #openttd
15:25:52 <andythenorth> actually that doesn't work for some reason :o
15:26:44 <andythenorth> so that's the basics of drawing sequences
15:26:54 <andythenorth> the scan order when drawing is from top-left
15:27:05 <andythenorth> this generally works well to get things in the right order
15:27:12 <andythenorth> and will work for boxes
15:27:28 <andythenorth> multi-pass compositing is possible but not essential for your first case
15:27:41 <andythenorth> you can ignore most of the pixa abstractions available, and just hard code sequences
15:28:24 <andythenorth> if you look at l163
15:28:31 <andythenorth> transforms = [PixaShiftColour(0, 255, -1)]
15:28:38 <Eddi|zuHause> so, i make a sequence of pixels (x_offset, y_offset, colour), and a PixaSequenceCollection
15:28:46 <andythenorth> and draw a floorplan
15:29:00 <andythenorth> the transforms enable sequence reuse
15:29:15 <andythenorth> so PixaShiftColour has a range (0, 255) and a shift amount
15:29:33 <andythenorth> this enables quick reshading for lighting different faces
15:29:56 <andythenorth> those transforms (and the coloursets available) are why it's worth setting up pixa
15:29:59 <Eddi|zuHause> right. i'd file that under advanced stuff
15:30:05 <andythenorth> once setup they significantly save time
15:30:11 <andythenorth> but yes, advanced
15:30:19 <Eddi|zuHause> so how do i call the processing then?
15:30:51 <andythenorth> pixa provides a set of utilities to handle making spritesheets
15:31:14 <andythenorth> but there are also some in BANDIT's common file
15:31:23 <andythenorth> I didn't want to over-framework pixa
15:31:46 <andythenorth> this is actually the fiddliest part tbh
15:31:54 <Eddi|zuHause> assume i'm loading my file and just write out a same size file
15:32:24 <andythenorth> I'll actually have to read my own code now :)
15:34:05 <andythenorth> it's probably easiest if you just follow back the code from the generate() function in tank_body.py
15:34:20 <andythenorth> spritesheet.render(spriterows=spriterows) <- is the key call
15:34:27 <andythenorth> everything else is scaffolding
15:35:14 <andythenorth> GestaltBodyVariation is specific to BANDIT, and essentially decodes the filenames
15:35:35 <planetmaker> andythenorth, : probably should
15:36:03 <andythenorth> Eddi|zuHause: assuming you rely on decoded filenames to pass config data, you'll want something similar
15:36:20 <Eddi|zuHause> andythenorth: i'd likely read that stuff from the tracking table instead
15:36:37 <andythenorth> it was convenient to put it all on a class
15:36:43 <Eddi|zuHause> i.e. template length and stuff
15:38:00 *** Prof_Frink has joined #openttd
15:38:31 <andythenorth> in the simplest form, you load a floorplan image via PIL, turn it into a pixa Spritesheet, then call render() on it
15:38:59 <andythenorth> you have a PIL object in scope, and you can copy / save / modify it etc
15:39:32 <andythenorth> this may all be clear as mud :)
15:39:55 <andythenorth> I found the PIL stuff really easy tbh, it was the abstractions for coloursets and transforms that took work
15:42:22 <Eddi|zuHause> i can do abstractions myself
15:42:37 <Eddi|zuHause> it's the basic "get things to run" stuff i'm usually having problems with :)
15:42:53 <Eddi|zuHause> andythenorth: so where do you open the floorplan?
15:44:55 <andythenorth> get_gestalt_floorplan
15:45:12 <andythenorth> it does some extra slicing things that you won't need
15:45:48 <andythenorth> the BANDIT floorplan files (will) contain floorplans for each length
15:46:12 <andythenorth> you probably don't need the crop at all
15:46:27 <andythenorth> Image.open(stuff) will do
15:46:28 <Eddi|zuHause> nope... so floorplan = Image.open("src/gfx/template_12_8bpp_normal.png")
15:46:58 *** fonsinchen has joined #openttd
15:47:10 <andythenorth> which you can turn into a pixa spritesheet
15:47:10 <andythenorth> Spritesheet(width=floorplan.size[0], height=SPRITEROW_HEIGHT * row_count, palette=DOS_PALETTE)
15:47:27 <andythenorth> actually let me check that
15:52:08 <Eddi|zuHause> spritesheet = pixa.Spritesheet(floorplan.size[0], floorplan.size[1], floorplan.palette)
15:54:29 <andythenorth> there's a horrible PIL gotcha around palettes
15:54:37 <andythenorth> they don't quite work properly :P
15:55:01 <andythenorth> load the palette from my DOS_PALETTE
15:55:07 <andythenorth> otherwise you have unexpected problems
15:55:16 <andythenorth> l118 in common.py
15:55:37 <Eddi|zuHause> what's the problem?
15:55:41 *** adi1000 has joined #openttd
15:55:56 <Eddi|zuHause> anyway, i'll fix that later... let's see if i can go on from here
15:56:06 <Eddi|zuHause> you now do some weird stuff with spriterows
15:56:18 <Eddi|zuHause> of which i'd probably only need one
15:56:30 <adi1000> hi i have a problem with openttd 1.2... it wont start on win7 32bit, after i double-click it crashes...
15:57:40 <Eddi|zuHause> apparently i switched out c and v when i put it together yesterday... :p
16:01:19 <Eddi|zuHause> >>> seq = pixa.PixaSequence(points = [(0,0,240)])
16:01:21 <Eddi|zuHause> >>> sc = pixa.PixaSequenceCollection(sequences = { 86 : seq })
16:01:41 <Eddi|zuHause> if i understand this right, this should replace all pixels with colour 86 with colour 240. right?
16:02:43 <Eddi|zuHause> andythenorth: what's "colourset"?
16:04:58 <andythenorth> Eddi|zuHause: yes that should switch all pixels from 86 to 240
16:05:10 <andythenorth> when facing pixa problems, I find it easiest to think about single pixels :P
16:05:27 <andythenorth> 'colourset' enables colours to be substituted during the render pass
16:05:53 <Eddi|zuHause> andythenorth: apparently i don't get away with not specifying it :)
16:06:15 <andythenorth> {'seq': get_cargo_load(cargo_path, load_state, i), 'colourset': None},
16:06:26 <andythenorth> maybe it should accept that :P
16:06:33 <andythenorth> i.e. default to None
16:07:00 <Eddi|zuHause> andythenorth: use "render_pass.get('colourset', None)"?
16:07:14 <Eddi|zuHause> andythenorth: instead of "render_pass['colourset']"
16:07:24 <andythenorth> pixa is open for patches ;)
16:08:16 * Rhamphoryncus goes and modifies his newgrf settings
16:08:34 <Eddi|zuHause> andythenorth: that seems to have worked. lots of red
16:09:14 <Rhamphoryncus> 240 tonnes of grain/sugar beets -> bio refinery -> fertilizer plant -> transfer back to bio refinery -> farm resulted in only 11 crates of farm supplies
16:09:15 <Eddi|zuHause> andythenorth: i think that suffices for now. i g2g
16:16:32 <planetmaker> Rhamphoryncus, that's called "conservation of matter" :-)
16:16:37 <planetmaker> Loss is everywhere ;-)
16:17:05 * telanus1 that should be enough translating for one evening
16:17:39 <Rhamphoryncus> It's because I'm trying a different style to utilize farmsup/engsup better, so the ratings are garbage
16:17:53 <Rhamphoryncus> Thus changing newgrf settings, to set it to "always 100%"
16:18:08 * telanus1 afrikaans went from 95.5% to 97.2% translated (+30 fixed)
16:18:16 *** telanus1 is now known as telanus
16:18:24 <Rhamphoryncus> telanus: nice :)
16:20:12 <telanus> but there is about 20% that needs re-translation, as these % didn't keep up with changes
16:20:16 *** frosch123 has joined #openttd
16:22:09 <planetmaker> that's the work which does not immediately show :-)
16:22:17 <planetmaker> but which is equally valuable
16:30:27 <andythenorth> Eddi|zuHause: looks good
16:30:42 * andythenorth ponders a 'hello world' example that procedurally generates 'hello world'
16:30:50 <andythenorth> seems the most obvious tutorial
16:33:39 *** |Jeroen| has joined #openttd
16:36:18 *** Chris_Booth has joined #openttd
17:01:09 <Rhamphoryncus> andythenorth: how flexible is the "within a month of eachother" code? For a sawmill (2/8 for one, 6/8 for the other) would I get the same result regardless of who arrived first?
17:01:29 <andythenorth> Rhamphoryncus: it's brutally simple
17:02:09 <Rhamphoryncus> Well, I noticed before that it checks dates, rather than just "delivered in current month", so it's not TOO simple :)
17:02:11 <andythenorth> produce_secondary.pnml
17:04:51 <Rhamphoryncus> The leftover/waiting parts I don't understand
17:05:00 <Rhamphoryncus> It doesn't really matter. I was just curious
17:05:30 <andythenorth> I don't understand the leftover/waiting parts either
17:05:35 <andythenorth> I'm trusting that they work
17:05:47 <andythenorth> but yes, you get the same result for all cargos
17:06:18 <andythenorth> and it's tied to THIS_PRODUCTION_SPAN, which appeared be a variable per-industry last time I checked
17:06:44 <andythenorth> could / should be a global
17:06:59 <Rhamphoryncus> Different note: is there an RV with a real lumber sprite?
17:07:35 <Rhamphoryncus> ATP flatbed truck is displaying big cylinders
17:07:47 <andythenorth> batteries from toyland?
17:07:58 <Rhamphoryncus> yeah, could be..
17:08:05 * Rhamphoryncus hopes he didn't break something
17:16:21 *** peteris has joined #openttd
17:21:23 <Rhamphoryncus> ... google streetview just drove past
17:24:21 <Aciid> signals how the ef they work
17:25:58 <Rhamphoryncus> We've all been there
17:26:09 <Rhamphoryncus> But if you've got a more specific question then go ahead
17:27:06 *** AD is now known as Guest560
17:32:27 <Aciid> Rhamphoryncus: more like I was describing my failure :D
17:32:59 <Rhamphoryncus> I've tons of experience. I still get the occasional crash
17:33:34 <andythenorth> 7 open FIRS bugs
17:45:20 <CIA-1> OpenTTD: translators * r24122 /trunk/src/lang/ (afrikaans.txt danish.txt french.txt):
17:45:20 <CIA-1> OpenTTD: -Update from WebTranslator v3.0:
17:45:20 <CIA-1> OpenTTD: afrikaans - 139 changes by telanus
17:45:20 <CIA-1> OpenTTD: danish - 3 changes by beruic
17:45:20 <CIA-1> OpenTTD: french - 1 changes by OliTTD
17:46:28 <Terkhen> andythenorth: I'm checking mine now
17:51:38 *** telanus1 has joined #openttd
17:51:55 *** supermop has joined #openttd
17:52:14 <supermop> can a new object be passable
17:52:33 <supermop> like, a boat can drive over it
17:53:01 <supermop> some special tile, eye candy tthat you place on water
17:53:02 <andythenorth> not without cheating :P
17:53:53 <andythenorth> offset the sprites
17:54:05 <supermop> well ive done plenty of that
17:54:31 <supermop> but certainly some objects can occupy water without blocking it?
17:54:54 <supermop> like a bouy or the loading point on a water industry?
17:56:21 <Terkhen> buoys are more like "stations" than "objects"
17:57:05 <Rhamphoryncus> "currently running 586 days late". 88 day timetable
17:57:26 <Rhamphoryncus> I went to demolish a RV depot and found a timetabled vehicle I never started :)
17:58:51 <Terkhen> urgh, the oil wells industry tile animation code is different in both FIRS and OpenGFX+ Industries, now I need to actually understand what the fix does
17:59:42 <andythenorth> on the positive side
18:00:07 <andythenorth> if I've understood this correctly, I should be able to better force industries to appear
18:00:35 <andythenorth> e.g. OpenTTD never builds FIRS aluminium plants (available 1920 or so) if you start in 1870
18:00:48 <andythenorth> 'never' being a subjective measure of 'not often enough' :P
18:02:56 <andythenorth> ^ andythenorth hates parameter stuff
18:03:04 <andythenorth> did Yexo find a house yet? :)
18:05:43 <Rhamphoryncus> andythenorth: that's also a much better way to disable industries after the game start
18:06:17 <andythenorth> I re-read that bug report, I'm not actually sure I understand it
18:06:45 <Rhamphoryncus> The report itself is very confusing
18:07:23 <Rhamphoryncus> The point is: if you turn off "industries can open during gameplay" they ALSO turn off during map generation
18:07:49 <andythenorth> is the bug report about the text string, or the feature?
18:07:57 <Rhamphoryncus> They don't know
18:08:19 <Rhamphoryncus> The feature is broken so the text doesn't match what it really does
18:08:39 <Rhamphoryncus> So fix the feature and all will be well
18:09:31 <andythenorth> Rhamphoryncus: you verified it doesn't work yesterday?
18:09:42 <andythenorth> can you extend the report?
18:20:17 <Terkhen> andythenorth: I was going to test my code, but I managed to reproduce FS 5151 again :P
18:22:49 <Rhamphoryncus> andythenorth: let me know if that clears it up enough
18:25:02 <andythenorth> seems like 'incomplete feature' rather than minor bug
18:25:47 <Rhamphoryncus> if incomplete means non-functional, yes :)
18:26:11 <Rhamphoryncus> I'll put together some proposed replacement text for the parameter
18:28:23 * Rhamphoryncus notes that completely disabling industries is kind of pointless XD
18:29:22 <Rhamphoryncus> also, 2**3 == 8, not 6..
18:29:46 <andythenorth> it's a feature to only support scenarios
18:30:07 <andythenorth> it has no other valid cases :P
18:30:55 <Rhamphoryncus> Scenarios can leave map generation enabled
18:31:15 <Rhamphoryncus> But I suppose it's clearer to have an explicit option
18:37:32 <Rhamphoryncus> andythenorth: done
18:40:53 <Terkhen> andythenorth: I successfully backported ogfx-industries code, should I commit?
18:42:20 <andythenorth> Rhamphoryncus: so far wrt map gen, we've said 'use the map gen setting for no industry'
18:42:28 <Terkhen> I'll commit as soon as I manage to get my key working
18:46:50 *** Biolunar has joined #openttd
18:50:04 *** TheMask96 has joined #openttd
18:53:03 <telanus1> what's this suppose to mean? "Vehicle data to base jumping on"
18:57:11 <NGC3982> two monitors really, really improves this game.
19:00:18 <frosch123> telanus1: i guess it's a tooltip in the order gui when setting up conditional orders
19:06:10 <Rhamphoryncus> telanus1: if frosch123 is right then translate all you want, they still won't understand it ;)
19:06:51 *** Chris_Booth has joined #openttd
19:07:36 <frosch123> Rhamphoryncus: maybe he translated it with a reference to the manual? :p
19:07:49 <Rhamphoryncus> I stand by my position
19:09:21 <telanus1> Rhamphoryncus: halve the afrikaans speakers won't understand that sentence
19:09:46 <Rhamphoryncus> I barely understand the english version
19:11:36 <telanus1> But then 90% of the afrikaans translation of programs on the net is nothing more than Dutch with Afrikaans spelling. And causes nobody to use it :(
19:12:51 <frosch123> there are certainly some crappy ottd videos on yt
19:14:39 <telanus1> some linux apps' Afrikaans translations is so bad it's useless.
19:17:06 <__ln__> thedailyofftopic: how do i find the Taylor series for (5+x^2)/(x^3-3x+2)?
19:17:41 *** mahmoud has joined #openttd
19:19:20 *** sla_ro|master has joined #openttd
19:19:59 <telanus1> Quick Question: {BLACK}Town is {RED}not{BLACK} growing would translate to {BLACK}Dorp groei {RED}nie.
19:20:00 <telanus1> Should I add the {black} command at the end without anything behind it like: {BLACK}Dorp groei {RED}nie{BLACK}?
19:22:28 <Rhamphoryncus> Ergh. I want to transfer and load at the same station :(
19:23:08 <frosch123> telanus1: you can add and remove colour control codes as you like
19:23:18 <frosch123> no need to keep the black
19:23:53 <telanus1> Webtranslator complains: Missing a {BLACK} command
19:26:11 *** drac_boy has joined #openttd
19:26:22 <frosch123> telanus1: ok, then blame TrueBrain :)
19:27:17 <TrueBrain> frosch123: there you are mistaken; translations have to have the same colour markings as the original :)
19:29:34 <frosch123> so translators cannot be creative with colours?
19:30:05 <TrueBrain> no translator can make a {RED}O{YELLOW}P{RED}E{YELLOW}N{BLACK}TTD
19:30:16 <TrueBrain> for the obvious reasons
19:31:13 <__ln__> what about languages that need to be written with different colors, like italian?!?
19:31:13 <telanus1> so it's ok to use this : {BLACK}Dorp groei {RED}nie{BLACK}
19:32:10 <TrueBrain> dunno tbh; guess you have a first there *shrug*
19:36:10 <NGC3982> futurama or american dad?
19:38:28 <drac_boy> NGC3982 neither for me :P
19:42:21 <drac_boy> got a new 'worlds toughest truckers' on this night tho. wondering if thats the show hosted by IRT again
19:46:27 * drac_boy is working a bit on the grf worktable and that old computer list now tho
19:49:37 *** Chris_Booth has joined #openttd
20:01:11 <frosch123> why are all ottd videos on yt like gold league?
20:01:37 <drac_boy> umm no idea? I only look at screenshots :)
20:33:19 *** lofejndif has joined #openttd
20:36:13 <SpComb> we need to dumb down the kernel, you can't expect people to actually learn stuff these days
20:36:35 <SpComb> outsource development to Microsoft, some nice Visual Studio wizard thingie
20:38:47 <drac_boy> heh ms? no thanks :)
20:46:53 *** Penguin66606 has joined #openttd
20:47:08 <Penguin66606> I need help with multiplayer
20:47:50 <drac_boy> what is it Penguin66606?
20:48:48 <__ln__> it's a type of game where many players play at once on the same map
20:49:28 <Penguin66606> I'm trying to set up a multiplayer server between me and my Girlfriend, but I follow the directions, and the servers don't show.
20:49:36 *** Chris_Booth has joined #openttd
20:50:02 <drac_boy> Penguin66606 you need to set the ports in your router unless your computer is directly connected (either 56k or your ethernet cable runs staight to the dsl/cable modem somehow)
20:50:03 <Mazur> Well, I'm still the king of stating the bleeding obvious.
20:50:26 <Mazur> And reacting to the literal rather than the intended sentence.
20:50:38 <Penguin66606> Alright, I'll try that.
20:51:28 <Mazur> Add server sometimes does the trick as well, at the server list page.
20:52:02 <__ln__> Mazur: you're a fan of the Airplane! movie too?
20:52:37 <Mazur> Does a bear take the paper into the woods?
20:53:20 <Mazur> And don't call me Shirley.
20:54:07 <Mazur> The best bit for me is the jiving old white lady.
20:57:49 <Penguin66606> Alright, now I need to see if she'll find the server.
21:01:32 <Eddi|zuHause> i clearly haven't seen that movie often enough...
21:06:39 <DorpsGek> Eddi|zuHause: OpenTTD uses TCP and UDP port 3979 for server <-> client communication, UDP port 3978 for masterserver (advertise) communication (outbound), and TCP port 3978 for content service, a.k.a. BaNaNaS (outbound)
21:06:53 <Eddi|zuHause> Penguin66606: you need to open both TCP and UDP ports
21:07:07 <Eddi|zuHause> and redirect them to your local IP
21:07:18 <Penguin66606> how do I do that?
21:07:21 <Eddi|zuHause> and then also open them on your local firewall
21:07:36 <Eddi|zuHause> Penguin66606: that depends on your router
21:09:43 <Penguin66606> I have a Linksys, and I set it to
21:09:54 <Penguin66606> Application:openttd
21:10:37 <Penguin66606> start:39789 end:3979
21:11:09 <Penguin66606> protocol to both TCP and UDP
21:11:34 <drac_boy> Penguin66606 sometimes you need to write it as openttd.exe instead
21:11:39 <drac_boy> not sure why some routers are fussy for that
21:11:51 <Penguin66606> alright, I'll try that.
21:12:52 *** Zeknurn has joined #openttd
21:13:59 <Penguin66606> Alright, I don't think it'll work because I'm running Linux, and it doesn't have the support for .exe files.
21:14:47 <drac_boy> oh linux..hm..not sure what stuffix that would had been then
21:14:48 <FLHerne> Use a linux binary then?
21:15:16 * FLHerne realises which point he missed :-(]
21:16:23 <Penguin66606> I don't even know how to do that haha. I'm not really a comp. tech, I just got Ubuntu because Windows doesn't like my comp.
21:18:23 * FLHerne isn't sure he did miss the point, actually :|
21:19:20 <FLHerne> [offtopic] Turns out that dwarf hamsters like to eat congealed raspberry jam :P [/offtopic]
21:20:57 <FLHerne> At least it stops them trying to eat my scrollwheel... :D
21:23:57 <FLHerne> Penguin66606: <I'm running Linux, and it doesn't have the support for .exe files> Did you mean you were using a linux binary, so .exe wouldn't be useful for your router, or that you're trying to use a .exe on linux for some reason?
21:25:13 <Penguin66606> I'm running linux binary, so .exe arent useful.
21:26:21 <FLHerne> That seems like the right answer :P
21:27:12 <FLHerne> Was a bit confused -__-
21:30:05 * FLHerne is easily confused :|
21:30:46 <drac_boy> you're doing too much patchypatchings then FLHerne :P
21:33:56 * drac_boy borks FLHerne with serial i/o datas
21:34:33 * FLHerne sends back some EEPROM page overflow bugs
21:35:22 <FLHerne> I keep trying to fit 65 bytes in a page, then get surprised when complete nonsense comes out :P
21:38:17 * drac_boy is actually trying to work out some bus design choices tho :/
21:38:57 * FLHerne is trying to design an automatic model railway
21:39:18 <FLHerne> That kind of stupid bug isn't funny at the time :-(
21:39:25 <Penguin66606> alright, when I create a server after forwarding the ports, do I use my computers IP address, or the routers IP?
21:39:31 <drac_boy> btw don't forget to start small on that layout :p
21:39:41 <drac_boy> Penguin66606 computer ip always afaik
21:41:03 <FLHerne> Penguin66606: What are you doing with the IP? Putting it into the server?
21:41:22 <FLHerne> Or giving it to someone else?
21:42:10 <Penguin66606> Putting it in the server
21:42:50 * FLHerne wonders why the server needs to know its own IP
21:44:09 <FLHerne> Sending it to BaNaNaS would need the external address of the router, localhost would do for loopbacks?
21:44:22 * FLHerne is confused again :-(
21:44:43 <Penguin66606> I'm very confuse O.o
21:59:11 <Eddi|zuHause> Penguin66606: the IP entry in openttd.cfg is only relevant if you have multiple network cards. in 99% of the cases you just leave it as 0.0.0.0
21:59:19 *** valhallasw has joined #openttd
22:10:11 *** brambles has joined #openttd
22:38:09 *** posidon has joined #openttd
22:38:35 <posidon> hey I was wondering how I get my own server, do I need a server client or will I need to purchase one?
22:39:07 *** lobster has joined #openttd
22:39:18 <posidon> hey I was wondering how I get my own server, do I need a server client or will I need to purchase one?
22:39:59 * drac_boy bonks posidon for both spamming and maybe not reading the very simple www.openttd.org website first
22:40:24 <posidon> I did read, however I didnt find any useful information there
22:40:31 <posidon> and I did not mean to spam I appologise
22:41:00 <drac_boy> posidon you mean you didn't see the obvious big "multiplayer" or "server" links?
22:41:03 <posidon> not any useful information regarding the topic of my question
22:41:34 <posidon> I did see the "server links" however I didnt see any direct corolation towards how to host a server
22:41:39 <posidon> I will take a look again
22:41:52 <drac_boy> posidon...try Documentation and look again
22:44:54 <posidon> I did check again but found no results could you please just point me towards the section I need to look at, I went to the manual link on openttd.org and I checked the server link but only found the current running servers
22:46:00 <drac_boy> manual>gameplay>multiplayer
22:50:36 <posidon> I did check them both, thank you guys and I am sorry if I inadvertently upset anyone
22:51:41 <lobster> not me, that for sure
22:51:50 <lobster> always be welcome to ask
23:34:20 *** tokai|mdlx has joined #openttd
23:44:50 *** A75471629 has joined #openttd
23:45:57 *** A5fa3237b has joined #openttd
continue to next day ⏵