IRC logs for #openttd on OFTC at 2011-01-08
00:00:35 <KenjiE20> continued dark tonight, turning to scattered light in the morning
00:01:45 <[Xed]> Haha i knew it, even the darkest periods end up in a dawn sooner or later :D
00:02:54 <KenjiE20> twas a quote
00:03:18 <[Xed]> yep it was :)
00:17:29 <Rubidium> dihedral: it's (IMO) too much work to keep the docommand stuff retain the same command id; you need to add all kinds of checks for non-subsequent lists of commands and such
00:18:12 <Rubidium> Wolf01: I don't quite get it, but make a savegame and file a bug report
00:21:18 *** Lakie has quit IRC
00:24:31 <z-MaTRiX> hey-ho
00:25:39 *** KouDy1 has joined #openttd
00:30:51 *** KouDy has quit IRC
00:31:20 <Wolf01> Rubidium,
00:32:52 *** Vitus has quit IRC
00:38:34 *** KenjiE20 has quit IRC
00:44:29 *** Devroush has quit IRC
00:51:37 *** pugi has quit IRC
00:52:21 *** pugi has joined #openttd
00:55:04 *** Fast2 has quit IRC
00:55:30 *** ecke has quit IRC
01:05:02 *** pugi has quit IRC
01:05:42 *** Kurimus has quit IRC
01:12:14 *** Markavian has joined #openttd
01:13:06 *** supermop has joined #openttd
01:21:59 <SmatZ> lol @ Oprah Winfrey Network
01:31:30 *** clum has quit IRC
01:34:37 *** Chrill has joined #openttd
01:46:17 *** JVassie has quit IRC
01:51:11 <Wolf01> ok, istead of making daylength I made the year loop for 4 times each year, now I only have to fixh the leap year, reduce the speed of days and months to reflect the right day and month and then base the year introduction to the fake year
01:51:55 <Wolf01> and in finances window every trimester instead of every year
01:52:09 <Wolf01> if the loop are 4-based
01:52:41 <Wolf01> so 1 fakeyear = 4 years -> 1 year = 3 fakemonths
02:22:43 *** Biolunar has quit IRC
02:26:13 <z-MaTRiX> heyh
02:26:23 <z-MaTRiX> a little late night coding?
02:36:35 <Wolf01> the best hours
02:38:17 <Wolf01> 'night
02:38:21 *** Wolf01 has quit IRC
02:38:24 *** [Xed] has quit IRC
02:42:23 *** Eddi|zuHause has joined #openttd
03:00:26 *** Fuco has quit IRC
03:26:55 *** Eddi|zuHause has quit IRC
03:36:26 *** Eddi|zuHause has joined #openttd
04:33:35 *** roboboy has joined #openttd
04:44:36 *** glx has quit IRC
05:04:28 *** z-MaTRiX has quit IRC
05:04:47 *** z-MaTRiX has joined #openttd
05:05:16 *** z-MaTRiX is now known as Guest3696
05:28:48 *** Pulec has quit IRC
05:39:20 *** kamnet has joined #openttd
05:39:34 <kamnet> Anybody awake at this hour?
05:44:36 *** Guest3696 has quit IRC
05:44:51 *** z-MaTRiX_ has joined #openttd
05:46:49 <supermop> yep
05:52:47 <kamnet> Well good morning!
05:53:40 <supermop> heh
05:53:56 <supermop> you are in EST as well, kamnet, right?
05:54:02 <kamnet> I am
05:55:24 <supermop> how's it going?
05:56:01 *** Eddi|zuHause has quit IRC
05:56:22 *** Eddi|zuHause has joined #openttd
05:56:43 <kamnet> It's okay. Lightly snowing. Hope it's clear enough for me tomorrow to get out and do some work for some clients.
05:57:19 <supermop> we were supposed to get alot today
05:57:32 <supermop> it snowed really heavily until about 3
05:57:40 <supermop> then stopped
05:57:50 <supermop> not much on the ground though
05:58:12 <supermop> melted before falling back down to 20s
05:58:14 <kamnet> we're supposed to get an inch
05:58:22 <supermop> ah
05:58:40 <supermop> was supposed to be 6 here, but ended up being less than 3
05:59:18 *** fanioz has quit IRC
06:00:01 <kamnet> tha'ts good
06:00:33 <supermop> i actually like snow in the city
06:02:23 *** Chrill has quit IRC
06:03:31 <kamnet> where do you live again?
06:04:46 <supermop> right now i am in manhattan
06:11:57 <kamnet> In the big city, woot!
06:12:30 <supermop> i thoought that 't' was an 'f'
06:12:41 <supermop> was confused why city = dogs
06:12:59 <kamnet> lol
06:15:46 <supermop> Where abouts are you?
06:20:27 <kamnet> eastern KY, about 30 minutes from Lexington
06:23:27 <supermop> ok
06:23:43 <supermop> i have spent most of my time in Ohio,
06:24:05 <supermop> but not familiar with that part of Kentucky
06:24:24 <kamnet> lots of horses...
06:26:51 <supermop> hhm
06:28:08 <supermop> what do you do?
06:34:48 *** Chrill has joined #openttd
06:36:37 <kamnet> I do lots of stuff. Mainly I work from home operating a switch board for an electronics company.
06:37:01 <kamnet> I also dabble in web design, photography, videography and I take outside assignments for store audits and merchandising.
06:37:36 <supermop> call handelling?
06:38:46 <kamnet> pretty much. people call in, tell me what they need and I send them to whatever department
06:48:20 *** andythenorth has joined #openttd
06:48:22 *** deepa has joined #openttd
06:48:24 <andythenorth> morningz
06:48:34 <deepa> Can you record games of openttd :D?
06:49:10 <kamnet> With the appropriate screen recording software, yes.
06:49:15 <kamnet> Not built into the game though.
06:49:19 <kamnet> Goodmorning andythenorth
06:49:51 <supermop> hi andy
06:49:59 <supermop> up early!
06:52:51 *** Zuu has joined #openttd
06:54:31 <supermop> ok I have to go to bed
06:59:48 *** supermop has quit IRC
07:21:14 * Zuu just got out of bed :-p
07:21:52 *** Cybertinus has joined #openttd
07:22:52 <Zuu> To early for a Saturday, but at least I get the enjoyment of going on a train that will take 3 hours or by random more time up to 7-8 hours :-)
07:50:19 *** Zuu has quit IRC
07:58:51 *** andythenorth has quit IRC
07:59:56 *** andythenorth has joined #openttd
08:06:37 *** Kurimus has joined #openttd
08:07:47 <andythenorth> hmm
08:08:01 <andythenorth> have game downloads spike in the last 10 days?
08:08:21 <andythenorth> +d
08:10:41 *** perk11 has joined #openttd
08:12:58 <Rubidium> a bit, but not that significant as for the first 1.0.0 betas
08:13:24 *** Alberth has joined #openttd
08:13:24 *** ChanServ sets mode: +o Alberth
08:15:13 *** duckblaster has joined #openttd
08:16:13 <andythenorth> for some reason grf downloads on FISH / FIRS look like they jumped
08:16:28 <andythenorth> I don't graph them though
08:17:19 <Alberth> fish may jump
08:17:49 <Alberth> a lot of players have 'discovered' 1.1 beta, and are testing your grfs perhaps
08:18:00 <kamnet> Let me ask ya, andy, what kinda ideas do you have for updating industrial stations?
08:18:23 <kamnet> Rubidium: a bit, but not that significant as for the first 1.0.0 betas
08:19:20 *** DayDreamer has joined #openttd
08:21:24 <Alberth> aren't there a few servers that use your FIRS ?
08:23:25 <andythenorth> kamnet: ISR?
08:23:28 <andythenorth> change the ground tiles
08:23:44 <andythenorth> taste is subjective, but I dislike them
08:23:49 <kamnet> what do you not like about them?
08:25:28 <andythenorth> they're visually noisy and unpleasing to me
08:25:51 <kamnet> agreed.
08:25:58 <andythenorth> in my view, sprites should either fit TTD classic style, or OpenGFX style, ISR ground is neither
08:26:02 <andythenorth> it tries to be realistic
08:26:07 <kamnet> have you seen my modification of them in my road sprites?
08:26:51 <andythenorth> removing the green noise?
08:27:05 <kamnet> yes. Is that a good improvement?
08:27:11 <andythenorth> it's better
08:27:21 <andythenorth> hmm
08:27:26 <andythenorth> ISR Renewal?
08:27:29 <andythenorth> ISRR
08:27:32 <kamnet> But is it good? (as opposed to evil ISR :D)
08:27:33 <andythenorth> ISR^2?
08:27:40 <andythenorth> I wanted to use the FIRS ground tiles
08:27:46 <andythenorth> I dunno
08:28:05 <andythenorth> I'm not sure whether I personally want to improve ISR, or start a new ISR
08:28:40 <andythenorth> I would prefer a slightly smaller set, tailored to match FIRS industries
08:28:48 <kamnet> The reason those ISR ground tiles are green in color is because they're actually set to the blue/pink transparency colors. So whatever the base ground sprite is, that is what shows through.
08:28:56 <andythenorth> makes sense
08:29:09 <andythenorth> I know why that was done, but I don't like it :)
08:29:14 <andythenorth> 'realism'
08:29:27 <andythenorth> it does fit some other sets
08:29:29 <kamnet> I was just going to ponder why that was done. Doesn't look all that realistic to me.
08:29:51 <andythenorth> the aim was to show gravel rather than tarmac
08:30:04 <andythenorth> like rail yards where the ground covering isn't 100%
08:30:12 <kamnet> doesn't look like gravel to me either, though.
08:30:42 <andythenorth> it's a shame the station sprites are all composited with the ground tile in the source
08:30:50 <andythenorth> otherwise it would be easy to fix
08:31:50 <kamnet> I think "Industrial Stations for FIRS" would be nice.
08:38:12 <andythenorth> for roadtypes an actual spec of the bits might be the next step...
08:38:16 <Alberth> FISR :)
08:38:33 <andythenorth> FISS
08:38:59 <kamnet> FISR 4 FIRS
08:39:03 <andythenorth> FINE
08:46:03 <andythenorth> FINE Is Nicely Enigmatic
08:46:08 <andythenorth> that took some time to work out :P
08:46:27 *** Progman has joined #openttd
08:46:46 <kamnet> Nooooo...
09:05:51 <andythenorth> catenary would be an action 3 graphics method for roadtypes?
09:05:57 <andythenorth> doesn't need any tile bits?
09:08:24 <andythenorth> planetmaker: would a roadtypes project make sense at devzone?
09:28:44 <andythenorth> what does this do? m5 bits 5..4: bits to disallow vehicles to go a specific direction
09:29:09 <andythenorth> or more precisely, are those bits needed for both roadtypes, or just once on the tile?
09:29:50 <andythenorth> do they provide one way roads?
09:30:30 <Alberth> that would be my guess. You can check by looking for some oneway road function, and looking what bits they use
09:30:40 * andythenorth to the source!
09:31:06 <Alberth> grep -ri oneway src :)
09:31:33 <andythenorth> yeah, they're oneway bits
09:31:42 <andythenorth> not sure how that fits the spec
09:32:13 <andythenorth> it's too complicated to have one way for one roadtype but not the other
09:32:44 <Alberth> it also does not make much sense to have that imho
09:32:59 <andythenorth> I think it just wouldn't work at all
09:34:00 <Alberth> and you can easily consider it outside the scope of your current patch :)
09:40:03 *** |Jeroen| has joined #openttd
09:43:35 <andythenorth> roadtypes bits:
09:44:06 <andythenorth> 8 needed, 13 free
09:45:47 <andythenorth> how should they be allocated?
09:47:33 <andythenorth> hmm
09:47:38 * andythenorth sees an error
09:48:51 <andythenorth> move roadtype 1 owner bits (5 needed) to m4?
09:50:17 * andythenorth ponders just using three bits for type
09:50:35 <andythenorth> probably not quite enough
09:50:57 <andythenorth> do bits need to be kept adjacent in each m block?
09:51:05 <andythenorth> or can they be fragmented?
09:56:36 <andythenorth> fixed an oops:
10:00:53 *** HerzogDeXtEr has quit IRC
10:01:14 *** |kesselhaus| has joined #openttd
10:01:33 *** dageek has joined #openttd
10:03:18 <planetmaker> andythenorth: it would
10:03:48 <andythenorth> need to be kept adjacent?
10:03:53 <planetmaker> it's free to all open-source openttd-related development projects
10:04:14 *** kesselhaus has quit IRC
10:04:37 *** HerzogDeXtEr has joined #openttd
10:04:38 <andythenorth> oh I see :)
10:04:39 <planetmaker> a subproject of openttd->branches would seem to be the place
10:04:42 <kamnet> Woot. I has created a cell phone tower.
10:04:45 <andythenorth> crossed wires :)
10:05:34 <kamnet> Shading is not quite right but it's a mircale I made it this far.
10:05:38 <planetmaker> doesn't work, kamnet :-(
10:06:01 <kamnet> farkle. hang on
10:06:13 <andythenorth> planetmaker: made the project
10:06:13 * planetmaker wonders whether kamnet would like to start adding some objects to opengfx+landscape...
10:06:20 <planetmaker> <-- use that, kamnet
10:06:27 <andythenorth> what's a good way to handle spec? wiki / documents / tickets?
10:06:45 <Alberth> what spec?
10:07:02 <kamnet> Now we got it.
10:07:04 <andythenorth> roadtypes
10:07:13 <planetmaker> also... did I say 'good morning'? :-)
10:07:39 <andythenorth> morning
10:08:02 <Alberth> tile bits in whatever document we have in trunk, NewGRF spec either in a text file or at a wiki page (if you want others to change it)
10:08:07 <kamnet> Good morning
10:08:20 <Alberth> moin planetmaker
10:09:48 <planetmaker> very nice, kamnet :-)
10:09:51 *** tokai|noir has joined #openttd
10:10:59 <planetmaker> I think though the very white part of the one antenna is too much
10:11:09 <kamnet> Let me finish up what I've already started planetmaker :-) I promised Wallyweb I'd work on a few towers to add to NewObjects, and I want to finish the road sprites I'm working on as well. Maybe I can convince a nice coder to come along and help me finish that :D
10:11:13 <planetmaker> the left one
10:11:36 <planetmaker> ah, ok :-) no worries. Seeing them in wally's newobjects is just as fine
10:12:14 <kamnet> Oh, the left one is Wally's, the middle one is mine, the right one is SAC's tall street lights. Put it up for scale comparison.
10:12:31 <planetmaker> he :-P
10:13:22 <kamnet> all the antenna array on the left side of my tower need to be the same dark shade. That white may still be too bright as well
10:13:54 <planetmaker> right, I think the shading of the metal of the antenna itself could use some re-touch. not sure it fits light direction. Which way do they point and bend?
10:13:55 *** tokai|mdlx has quit IRC
10:14:05 <planetmaker> the white on yours is fine
10:14:21 <planetmaker> but might seem a pixel too wide to the left
10:15:00 <planetmaker> hm, just the brightness of red and white doesn't seem to have the same gradient...
10:16:21 <kamnet> yeah the red is darker. I think I want to go more dark on the white
10:19:16 <andythenorth> try pink instead of red
10:19:41 <andythenorth> red + white will always result in high contrast, I think it's something to do with the physics of the eye
10:19:46 <andythenorth> the default lighthouse is pink
10:19:53 <andythenorth> not all game colours == real world colours
10:28:11 <andythenorth> kamnet:
10:28:19 <andythenorth> the purple antenna parts don't work
10:28:38 <andythenorth> also I can't quite prevent it looking like there's a step between the red and white
10:28:43 <andythenorth> needs anti-aliasing
10:29:16 <andythenorth> and the base of the tower needs some pixels, either a foundation, or just some shadowing
10:29:32 * andythenorth resumes doing boring resizing of boats
10:29:34 <planetmaker> the default light house is not pink
10:29:47 <planetmaker> maybe for a minority of people :-P
10:30:46 <andythenorth> it uses the same shades as brick buildings
10:31:02 <andythenorth> not in OpenGFX mind
10:31:34 <Alberth> the red is too strong imho
10:31:54 <Alberth> it looks somewhat opengfx oilrig-ish
10:32:35 <planetmaker> andythenorth: that's why I object to the use of 'default'. Either it's TTD or OpenGFX ;-)
10:33:09 <andythenorth> ach a vie
10:33:11 <planetmaker> because default de-facto is OpenGFX
10:33:17 <andythenorth> not in my world :P
10:33:29 <andythenorth> anyways, you're correct
10:36:01 <kamnet> Are you sure your monitor is calibrated right Andy? :-)
10:38:27 *** DayDreamer has quit IRC
10:39:24 *** dageek has quit IRC
10:39:27 <andythenorth> yup
10:39:35 <andythenorth> but I'm on a mac which has different gamma and colour space
10:39:43 <andythenorth> still...
10:40:03 <kamnet> Okay, I was just wondering if you were on a mac...
10:40:08 <kamnet> because that's like WAY off.
10:40:43 <andythenorth> hmm
10:41:28 <kamnet> See your PM
10:41:52 *** clum has joined #openttd
10:42:09 <planetmaker> I'd not say that any of it is way off...
10:42:29 *** Eddi|zuHause2 has joined #openttd
10:42:46 *** Eddi|zuHause has quit IRC
10:42:53 <kamnet> All the whites look grey and all the greys look purple.
10:43:04 <planetmaker> usually the mac comes with a manufacturer - supplied means to colour-calibrate your stuff and I assume that andy did that ;-)
10:43:27 *** Eddi|zuHause2 is now known as Eddi|zuHause
10:44:05 <planetmaker> maybe you need to adjust yours? ;-)
10:44:13 <planetmaker> but yes, I'm on mac, too
10:44:32 <planetmaker> but I did colour-calibrate stuff as well as I could
10:45:24 <planetmaker> and the change from white to grey was probably intended and shows here as such, too.
10:45:50 <andythenorth> kamnet: the whites look grey because I've drawn it correctly for original TTD style :)
10:45:59 <andythenorth> the purple...less so
10:46:08 <planetmaker> and indeed. your antennas got a hue of purple ;-)
10:46:19 <andythenorth> it doesn't matter whether you're colour calibrated or not
10:46:22 <kamnet> OH! Okay so you've changed the palette.
10:46:34 <andythenorth> no
10:46:46 <kamnet> or not the palette... but the coloring.
10:46:48 <andythenorth> I've drawn it correctly :)
10:47:14 <planetmaker> the antennas are purple, still ;-)
10:47:18 <planetmaker> that's true
10:48:50 <andythenorth> the antennas are fail
10:48:59 <planetmaker> btw, kamnet: I'd arrange the antennas circular, not in a square
10:49:03 *** |Jeroen| has quit IRC
10:49:17 <andythenorth> sometimes purple (the window shades) works for shiny surfaces
10:49:20 <andythenorth> in this case, not
10:49:50 <andythenorth> quite a bit of FIRS greeble, metal storage tanks etc is purple + grey
10:51:04 <kamnet> Actually I was trying for triangular... LOL
10:51:18 <planetmaker> :-D
10:54:17 *** Devroush has joined #openttd
10:55:45 *** JVassie has joined #openttd
10:58:40 *** Wolf01 has joined #openttd
10:59:31 <Wolf01> hello
11:00:24 <Alberth> hello
11:01:49 <kamnet> good morning
11:05:33 *** DDR has quit IRC
11:12:41 <Wolf01> Alberth:
11:13:30 <Alberth> I noticed :)
11:13:38 <Alberth> Hopefully it will work out
11:13:40 <kamnet> Looks like a neat implementation
11:14:31 <Alberth> thanks for trying to realize my suggestion :)
11:14:57 *** KouDy1 has quit IRC
11:15:39 <Wolf01> I found the DAY_TICK way too much complex
11:15:45 <Wolf01> too many problems
11:15:57 <Wolf01> then I decided for that
11:17:06 <kamnet> I'm playing w/ ChillCore's patch pack and I've found that pushing the daylength factor more than 40 causes some issues.
11:17:26 <Wolf01> pushing it more than 4 ahould arelady cause issues
11:17:31 <Wolf01> *should
11:17:34 <kamnet> Already found that pushing it beyond 14 messes with how much I make on short deliveries with RVs
11:17:50 <Wolf01> I'm dyslexic :D
11:19:48 <kamnet> But I don't play for profit so much as I play for fun and sandboxing
11:20:02 <Wolf01> yesterday I tried to play with the old implementation, I was able to repay the borrow and purchase an aircraft after 8 days of game, using a single bus as my only source of income between 2 cities at 20-25 tiles
11:22:08 *** Fuco has joined #openttd
11:22:25 *** KouDy has joined #openttd
11:22:29 <kamnet> lol nice
11:24:54 <Wolf01> now I must think how to handle the leap year
11:25:26 *** Chrill has quit IRC
11:25:33 <Wolf01> mmmh, in the same way it's handled currently if IsLeapYear
11:27:31 <Alberth> If that worked in RL, I'd start a bus comapny right away :)
11:28:06 <Wolf01> eheh
11:28:09 <Wolf01> me too
11:30:17 <kamnet> How much fare are ya charging though??
11:33:36 *** Chris_Booth has joined #openttd
11:40:02 *** dageek has joined #openttd
11:41:05 *** dageek has quit IRC
11:41:35 *** dageek has joined #openttd
11:41:52 *** KenjiE20 has joined #openttd
11:41:59 *** Pulec has joined #openttd
11:47:09 <andythenorth>
11:50:21 <Chris_Booth> andythenorth: stumble is not your friend
11:55:33 *** UltzMan has joined #openttd
11:55:36 *** kamnet has quit IRC
11:58:04 *** UltzMan has quit IRC
12:01:52 *** ecke has joined #openttd
12:09:02 *** LordAro has joined #openttd
12:09:30 <LordAro> moin
12:10:35 <Andel> hello??
12:10:38 <Andel> aha!
12:10:46 <Andel> non-openttd Q, if I may?
12:11:01 <LordAro> @topic 3
12:11:01 <DorpsGek> LordAro: topic [<channel>]
12:11:09 <LordAro> dman
12:11:36 <LordAro> you can
12:13:12 <Andel> hmmm
12:13:22 <Andel> how can I remove DRM from WMAs (pref for free)...
12:13:48 <Alberth> right
12:13:51 <Andel> ooo freeme2
12:13:55 <Andel> might download that :-)
12:14:09 <Eddi|zuHause> Andel: obviously download a pirated copy, like everybody else :p
12:14:12 <Andel> lol
12:14:40 <Andel> (I want to listen to an album from zune in the car on the HDD drive)
12:14:46 <Alberth> or don't use anything with a DRM on it
12:14:54 <Andel> cheap music = drm
12:15:26 <LordAro> hmmm, might use that to bypass iplayer restrictions... :)
12:15:26 <Ylioppilas> steal everything, be a rebel
12:16:15 <Alberth> Ylioppilas: you believe that until everybody starts stealing from you
12:16:40 <Eddi|zuHause> Andel: well, the next alternative would be playback and record into a "free" format
12:16:52 <Ylioppilas> I was trying to be ironic
12:17:01 <Eddi|zuHause> depending on your value of "free" that'd be "ogg" or "mp3"
12:18:12 <Alberth> Ylioppilas: doesn't really work on a text-only medium
12:18:27 *** frosch123 has joined #openttd
12:19:12 <Ylioppilas> that's true :(
12:19:15 *** Razmir has joined #openttd
12:19:46 *** Razmir is now known as Guest3712
12:20:01 *** Guest3712 is now known as Razmir
12:20:14 <andythenorth> quak
12:20:14 <andythenorth> qua
12:20:16 <andythenorth> k
12:20:59 <frosch123> moin
12:21:04 <Alberth> moin
12:21:11 <LordAro> moin andy
12:24:51 <Razmir> Hi, these two lines in changelog of beta version caught my attention
12:24:51 <Razmir> - Feature: Chat directly to the server or a bot/admin/IRC channel monitoring the server (r21000)
12:24:51 <Razmir> - Feature: Remote administration (r20975-r20963)
12:24:51 <Razmir> Can someone push me, please, in a right direction to find some information about that?
12:26:19 <frosch123>
12:26:55 <Wolf01> what I need to change to add a new setting in the advanced settings? I added it to settings.h, added the variable in settings_type.h, the string in english.txt, but I don't remember what I missed, the game compiles but the setting doesn't appear
12:26:59 <frosch123> and
12:27:00 *** dageek has quit IRC
12:27:06 *** dageek has joined #openttd
12:27:07 <Alberth> hmm, wiki needs an update for that
12:27:37 <frosch123> Wolf01: there is also something in settings_gui.cpp
12:28:34 <frosch123> search for SettingEntry and SettingsPage
12:28:57 <Razmir> frosch123: thanks
12:29:12 <frosch123> you're welcome
12:29:35 <Wolf01> aaah, I didn't find it in the gui folder in visual studio, thanks
12:30:28 * andythenorth is currently very glad that FISH has no cargo sprites
12:30:35 <andythenorth> this copy and paste business is boring
12:30:44 <andythenorth> 1 hour just to resize a ship
12:31:53 <andythenorth> if there were cargo sprites, add another couple of hours :P
12:32:22 <Eddi|zuHause> well... there is this open suggestion about composite vehicle sprites :p
12:32:28 <andythenorth> we dismissed it
12:32:29 <andythenorth> as bad
12:32:49 <Wolf01> good, now I only need to figure out how to display these values: 1,2,3,4,6,12 :D
12:32:51 <andythenorth> I believe *someone* has a half finished java app to recolor sprites before encoding them
12:33:16 <Eddi|zuHause> Wolf01: search for "one of many"?
12:33:33 <Eddi|zuHause> Wolf01: e.g. the map sizes?
12:33:57 <peter1138> map sizes are in bits
12:34:00 <Wolf01> I would have liked more something like <x>
12:34:12 <Wolf01> or x<>
12:34:29 <peter1138> valid value in the config is 6 to 11
12:36:07 *** clum has quit IRC
12:39:31 <Eddi|zuHause> Wolf01: i was under the impression that the <> get automatically added depending on the setting type
12:46:29 <welshdragon> so, when will we get the 1.1.x version of OpenTTD?
12:48:23 <andythenorth> tomorrow
12:48:39 <andythenorth> definitely, without question, or your money back
12:48:50 <welshdragon> :D
12:48:51 <andythenorth> or alternatively....when it's ready
12:49:21 <welshdragon> ah well, i've got the unofficial 1.0.5 build of OpenTTD
12:49:43 <planetmaker> you could get the official beta2
12:50:20 <frosch123> [13:46] <welshdragon> so, when will we get the 1.1.x version of OpenTTD? <- when the Welsh translation is up-to-date :p
12:50:36 <welshdragon> hah
12:50:51 <welshdragon> frosch123, i'll do some strings soon
12:51:00 <frosch123> :)
12:52:03 <Chris_Booth> I only ever remember one welsh word popdiping(microwave) best word ever
12:52:29 <welshdragon> haha
12:52:31 <welshdragon> it is
12:52:37 <Chris_Booth> not sure if it have got the spelling right
12:52:45 <welshdragon> poptyping
12:57:13 *** dageek has quit IRC
12:57:47 *** dageek has joined #openttd
12:58:17 *** dageek is now known as Guest3713
12:58:17 *** dageek has joined #openttd
12:59:01 <Chris_Booth> walse also has the worlds slows dogs (araf)
12:59:06 *** andythenorth has quit IRC
12:59:55 *** dfox has joined #openttd
13:04:26 *** fonsinchen has joined #openttd
13:06:17 *** Adambean has joined #openttd
13:16:18 *** dageek is now known as Guest3714
13:16:18 *** dageek has joined #openttd
13:17:52 *** dageek has left #openttd
13:18:52 *** [Xed] has joined #openttd
13:19:38 *** dageek has joined #openttd
13:21:56 *** pugi has joined #openttd
13:23:20 *** dageek has quit IRC
13:28:03 *** KritiK has joined #openttd
13:37:24 <planetmaker> roboboy: <-- I'm sure you messed up quoting ;-)
13:37:53 <Wolf01> uhm, if I want to display another string as setting value, like it does the pathfinding setting, how do I proceed?
13:43:11 <Alberth> afaik, those strings are directly under the description string
13:43:15 *** clum has joined #openttd
13:44:52 *** Eddi|zuHause has quit IRC
13:45:29 <Wolf01> yes, but I can't understand how to bind the stringID with the value
13:48:40 <Alberth> first value, first string, second value, second string, etc ? no idea about holes in such a range though, I would expect that not to be allowed, but you could check the setting rendering code how it computes the stringid from a vaue
13:48:42 *** Eddi|zuHause has joined #openttd
13:50:16 <roboboy> thanx planetmaker
13:50:30 <Wolf01> no, no holes, I just use values from 0 to 5 and then display a custom string like pf does
13:51:11 *** glx has joined #openttd
13:51:11 *** ChanServ sets mode: +v glx
13:52:15 *** JVassie has quit IRC
13:52:46 <Wolf01> the setting type is the same of the pf one (condvar) but uses values from 0 to 5 instead of 0 to 2 :)
13:53:38 <Wolf01> I tried searching what does the pf setting but seem not to do anything different
13:55:20 <Alberth> line 1285
13:56:20 <Wolf01> english.txt? I'm just under
13:56:20 <Wolf01> STR_CONFIG_SETTING_PATHFINDER_FOR_SHIPS_OPF :Original {BLUE}(Recommended)
13:57:12 <Alberth> looks the same
13:59:21 <Alberth> so how is it not working?
13:59:35 <Wolf01> it shows the number instead of the string
14:00:20 * Wolf01
14:00:26 <Wolf01> if you want to give it a try
14:02:02 <Alberth> did you set MS in src/table/settings.h, like in the ship path finder, line 406 ?
14:02:12 <Wolf01> MS?
14:02:17 <Alberth> multi-string
14:02:23 <Wolf01> ah!
14:05:55 <Wolf01> good
14:06:04 <Wolf01> thanks
14:07:11 <Wolf01> and the setting value must start from 0, not from 1
14:11:21 *** ZirconiumX has joined #openttd
14:11:40 <ZirconiumX> hello
14:14:15 <Alberth> oi
14:14:36 <ZirconiumX> hello Alberth
14:16:27 * ZirconiumX looking at wolf01's patch, and is confused as to why you need to convert the date to a fake year, but is stupid, so will probably not get the answer
14:17:36 <Wolf01> because I didn't have the day, but I'm rewriting that
14:17:58 <ZirconiumX> good enough answer
14:20:54 *** perk11 has quit IRC
14:23:14 *** fonsinchen has quit IRC
14:29:43 <ZirconiumX> Hmmmm
14:33:06 *** perk11 has joined #openttd
14:33:40 <roboboy> gnight
14:38:15 <planetmaker> night roboboy
14:38:28 <ZirconiumX> goodnight roboboy
14:43:08 *** DanMacK has joined #openttd
14:43:16 <DanMacK> Hey all
14:44:58 <ZirconiumX> hello DanMacK
14:51:31 *** roboboy has quit IRC
14:51:42 *** xiong has quit IRC
15:12:54 *** andythenorth has joined #openttd
15:22:12 *** fonsinchen has joined #openttd
15:23:19 *** Wolf03 has joined #openttd
15:23:20 *** Wolf01 is now known as Guest3728
15:23:20 *** Wolf03 is now known as Wolf01
15:27:30 <Eddi|zuHause> you know what? as soon as it is thawing, the forum is back to a readable state again :)
15:29:16 *** Guest3728 has quit IRC
15:29:32 <SpComb> not in the spirit, I see
15:35:10 <Eddi|zuHause> it's not about spirit. it's more about red text on bright background phyiscally hurts my eyes
15:37:15 <Alberth> so you have a lot of reading to do now :)
15:38:14 <ZirconiumX> yup!
15:43:01 *** KritiK has quit IRC
15:45:02 *** ZirconiumX has quit IRC
15:45:18 *** KritiK has joined #openttd
15:47:37 <Eddi|zuHause> did anyone ever try to implement a "shift register"-like way to distribute cargo over same industries at a station? e.g. if you have a cargo, and industries A, B and C at the station accept cargo, the station stores a fifo-list [A,B,C]. on delivery of cargo, the first item gets popped, cargo delivered to that industry, and pushed back at the end, so it's now [B,C,A], then [C,A,B] and again [A,B,C]
15:47:46 *** ABCRic has joined #openttd
15:48:43 <Wolf01> I once tried to do it
15:48:48 <Eddi|zuHause> if an industry stops accepting the cargo, it gets removed from the list
15:49:11 <Eddi|zuHause> if a new industry appears, or an industry accepts cargo again, it gets pushed at the end
15:49:14 <planetmaker> Eddi|zuHause: afaik it works that way...
15:49:33 <planetmaker> if they're within range
15:49:35 <Eddi|zuHause> planetmaker: since when?
15:49:45 <planetmaker> long
15:49:59 <planetmaker> like years
15:50:03 <Eddi|zuHause> planetmaker: as far as i can think back, only ever the closest industry got cargo
15:50:17 <planetmaker> the closest accepting one
15:50:27 <Eddi|zuHause> yes
15:50:38 <Eddi|zuHause> and this is about three industries accepting the same cargo
15:50:41 <planetmaker> the issue with the sawmill as you might refer to: it continues to accept. Just not produce more
15:50:46 <planetmaker> yes, I know
15:50:58 <planetmaker> that's what I'm talking about, too ;-)
15:51:21 <planetmaker> I'm sure there's an interesting PBI savegame from the publicserver about that somewhere
15:51:42 <planetmaker> I learnt a lot about station spread, rectangles and differences between providing and accepting areas
15:51:50 <planetmaker> in that game
15:52:30 <Eddi|zuHause> planetmaker: but not all industry sets implement an acceptance limit. so the game needs to provide other means to allow the distribution of incoming cargo
15:53:37 *** inji has joined #openttd
15:56:15 <ABCRic> distribution of cargo in this case would be useful, yes
15:56:21 <ABCRic> especially with ECS
15:57:27 <ABCRic> I have this savegame where I transport massive amounts of oil to a station with several refineries in range
15:59:13 *** perk111 has joined #openttd
15:59:18 <ABCRic> I have set the behavior parameter to allow unlimited acceptance of cargo, so it only overflows to other refineries when the amount reaches 65535
16:00:08 <SmatZ> why is grep so incredibly slow :(
16:00:17 *** KouDy has quit IRC
16:00:42 <dihedral> SmatZ, try using grep in a ram disk :-)
16:02:04 *** KouDy has joined #openttd
16:03:11 *** perk11 has quit IRC
16:04:14 <SmatZ> dihedral: it doesn't really help
16:04:20 <SmatZ> but I have
16:04:31 <SmatZ> cat $file | while read LINE; do...
16:04:43 <SmatZ> then I "grep $LINE" for some patterns
16:04:46 <SmatZ> and it's very slow
16:04:51 <SmatZ> like, 100 lines per second
16:04:55 <__ln___> SmatZ: try LC_ALL=C grep
16:05:32 <SmatZ> __ln___: it doesn't help
16:05:48 <Eddi|zuHause> SmatZ: use awk to execute stuff depending on pattern matching?
16:05:53 <dihedral> why cat $file?
16:05:58 <SmatZ> Eddi|zuHause: I would have to learn awk :)
16:06:07 <SmatZ> hmm
16:06:22 <SmatZ> maybe I can "grep -e pat1 -e pat2 -e pat3 $FILE" instead of "cat $FILE"
16:06:23 <dihedral> does grep not alreay read files?
16:06:44 <SmatZ> dihedral: I can't do that in that case, there is further processing
16:07:01 <dihedral> "<pat1>|<pat2>|<pat3>"
16:07:11 <SmatZ> probably creating the accepting automaton takes a lot of time
16:07:30 <dihedral> SmatZ, implement it in perl :-P
16:07:32 <SmatZ> dihedral: are you sure it would work?
16:07:32 <dihedral> that'll be fast enough i guess ^^
16:07:33 <SmatZ> ...
16:07:38 <dihedral> :-D
16:07:54 <dihedral> i'd assume the slow part is not grep
16:08:00 <dihedral> ;-)
16:08:30 <SmatZ> I am quite sure it is
16:08:31 <Eddi|zuHause> SmatZ: awk is really simple... like "awk '/pattern1/{ do stuff1 }' '/pattern2/{ do stuff2 }'"
16:08:59 <SmatZ> Eddi|zuHause: thanks, I will give it a try :)
16:09:48 <Eddi|zuHause> SmatZ: if you can't "do stuff" in awk, use system(.) to execute shell commands ;)
16:10:59 <CIA-2> OpenTTD: planetmaker * r21741 /trunk/src/network/network_admin.cpp: -Fix (r21668): Some white space slipped past the commit hook
16:11:11 <planetmaker> ^ dihedral
16:11:37 <Eddi|zuHause> SmatZ: in the simplest case, "awk /pattern/" does the same as "grep pattern"
16:11:42 <dihedral> thank you planetmaker :-)
16:11:52 <planetmaker> you're welcome
16:12:17 <Eddi|zuHause> possibly being "grep -E pattern"
16:12:38 <Eddi|zuHause> but i'm not sure about that
16:15:39 <dihedral> i'll be back later :-)
16:17:11 *** DayDreamer has joined #openttd
16:24:13 *** supermop has joined #openttd
16:24:30 *** Biolunar has joined #openttd
16:24:54 <supermop> hello
16:25:21 *** andythenorth has quit IRC
16:28:41 <Alberth> SmatZ: a sed script to find pat1 and pat2 lines
16:32:38 *** andythenorth has joined #openttd
16:34:11 *** LordAro has quit IRC
16:34:51 *** Chillosophy has joined #openttd
16:37:44 *** kamnet has joined #openttd
16:38:17 <kamnet> oops, trouble w/ tt-forums. :-(
16:38:55 <orudge> quite
16:38:57 <orudge> just sorting it out
16:41:02 <supermop> whats the trouble?
16:41:30 <ABCRic> seems ok now
16:41:33 <orudge> yes
16:41:34 <orudge> I just fixed it
16:41:35 <orudge> :p
16:41:54 <deepa> Woo!
16:41:56 <ABCRic> :)
16:42:23 <ABCRic> supermop: it said it was a syntax error :P
16:44:46 <SmatZ> Alberth: thanks :)
16:47:41 <supermop> i see
16:52:50 *** andythenorth has quit IRC
16:52:50 *** DayDreamer has quit IRC
16:52:50 *** fonsinchen has quit IRC
16:52:50 *** glx has quit IRC
16:52:50 *** pugi has quit IRC
16:52:50 *** Chris_Booth has quit IRC
16:52:50 *** Kurimus has quit IRC
16:52:50 *** Cybertinus has quit IRC
16:52:50 *** deepa has quit IRC
16:52:50 *** elmz_ has quit IRC
16:52:50 *** ashb has quit IRC
16:52:50 *** APTX has quit IRC
16:52:50 *** rellig has quit IRC
16:52:50 *** Dreamxtreme has quit IRC
16:52:50 *** rhaeder has quit IRC
16:52:50 *** jpm_ has quit IRC
16:52:50 *** tycoondemon has quit IRC
16:52:50 *** michi_cc has quit IRC
16:52:50 *** __ln___ has quit IRC
16:52:50 *** raidgh0st has quit IRC
16:52:50 *** Terkhen has quit IRC
16:52:50 *** eQualizer has quit IRC
16:52:50 *** planetmaker has quit IRC
16:52:50 *** Strid has quit IRC
16:52:50 *** Priski has quit IRC
16:52:50 *** bartavelle has quit IRC
16:52:50 *** neli has quit IRC
16:52:50 *** peter1138 has quit IRC
16:52:50 *** Ylioppilas has quit IRC
16:53:51 <DanMacK> ooooooh, Netsplit :D
16:57:36 *** andythenorth has joined #openttd
16:57:36 *** DayDreamer has joined #openttd
16:57:36 *** fonsinchen has joined #openttd
16:57:36 *** glx has joined #openttd
16:57:36 *** pugi has joined #openttd
16:57:36 *** Chris_Booth has joined #openttd
16:57:36 *** Kurimus has joined #openttd
16:57:36 *** Cybertinus has joined #openttd
16:57:36 *** deepa has joined #openttd
16:57:36 *** elmz_ has joined #openttd
16:57:36 *** ashb has joined #openttd
16:57:36 *** APTX has joined #openttd
16:57:36 *** rellig has joined #openttd
16:57:36 *** Ylioppilas has joined #openttd
16:57:36 *** planetmaker has joined #openttd
16:57:36 *** Dreamxtreme has joined #openttd
16:57:36 *** rhaeder has joined #openttd
16:57:36 *** jpm_ has joined #openttd
16:57:36 *** tycoondemon has joined #openttd
16:57:36 *** michi_cc has joined #openttd
16:57:36 *** Terkhen has joined #openttd
16:57:36 *** __ln___ has joined #openttd
16:57:36 *** raidgh0st has joined #openttd
16:57:36 *** eQualizer has joined #openttd
16:57:36 *** Strid has joined #openttd
16:57:36 *** Priski has joined #openttd
16:57:36 *** peter1138 has joined #openttd
16:57:36 *** sets mode: +vovo glx planetmaker michi_cc peter1138
16:57:36 *** neli has joined #openttd
16:57:36 *** bartavelle has joined #openttd
16:57:36 *** sets mode: +v peter1138
16:57:43 *** ChanServ sets mode: +v planetmaker
16:57:43 *** ChanServ sets mode: +o Terkhen
16:58:34 <supermop> heh
16:58:56 *** fanioz has joined #openttd
16:59:34 *** [Xed] has quit IRC
17:00:37 *** LordAro has joined #openttd
17:01:00 <LordAro> moin...again
17:02:20 <LordAro> anyone here got any idea what this guy is asking?
17:02:46 <ABCRic> at least netsplits here a lot less frequent than in another server I've been... they'd happen at least twice a day
17:03:02 <supermop> maybe it is just a stement of fact
17:03:13 <supermop> statement
17:03:37 <ABCRic> Hmm... I'd guess he's searching for 32bpp stuff?
17:03:44 <supermop> he wants the world to know that he searches graphics
17:03:54 <supermop> likely he is looking for 32bpp grfs
17:04:15 <ABCRic> And, instead of using the search feature, is waiting for someone to direct him?
17:04:27 <ABCRic> you know, the usual.
17:04:32 <LordAro> perhaps someone like Kogut should talk to him? (both Polish)
17:07:34 <DJNekkid> what is the default value for Railtypes Action0 property11 ? The curve speed modifier
17:08:41 <ABCRic> wait, there's something wrong here...
17:09:12 <ABCRic> I stopped servicing an industry and the rating was at 3%, but now it's going up...
17:18:54 <frosch123> DJNekkid: 0 for normail rail/elrail, 1 for monorail, 2 for maglev
17:19:09 <DJNekkid> frosch123: oki, ty :D
17:22:57 *** LordAro has quit IRC
17:25:29 *** [Xed] has joined #openttd
17:31:47 *** LordAro has joined #openttd
17:34:19 *** ABCRic has quit IRC
17:34:19 *** KenjiE20 has quit IRC
17:34:19 *** Progman has quit IRC
17:34:19 *** Prof_Frink has quit IRC
17:34:19 *** X-2 has quit IRC
17:34:19 *** heffer has quit IRC
17:34:19 *** avdg has quit IRC
17:34:19 *** XeryusTC has quit IRC
17:34:19 *** snorre has quit IRC
17:34:19 *** dihedral has quit IRC
17:34:19 *** KingJ has quit IRC
17:34:19 *** Wilberforce has quit IRC
17:34:19 *** welshdragon has quit IRC
17:34:19 *** ccfreak2k has quit IRC
17:34:19 *** FloSoft has quit IRC
17:34:19 *** lolman has quit IRC
17:34:19 *** ctibor has quit IRC
17:34:19 *** hoax_ has quit IRC
17:34:19 *** TrueBrain has quit IRC
17:34:19 *** V453000 has quit IRC
17:34:19 *** TinoDidriksen has quit IRC
17:34:19 *** reldred has quit IRC
17:34:19 *** rasco has quit IRC
17:34:19 *** SpComb has quit IRC
17:34:19 *** Sionide has quit IRC
17:36:50 *** ABCRic has joined #openttd
17:38:13 *** KenjiE20 has joined #openttd
17:38:13 *** Progman has joined #openttd
17:38:13 *** Prof_Frink has joined #openttd
17:38:13 *** welshdragon has joined #openttd
17:38:13 *** X-2 has joined #openttd
17:38:13 *** heffer has joined #openttd
17:38:13 *** avdg has joined #openttd
17:38:13 *** XeryusTC has joined #openttd
17:38:13 *** snorre has joined #openttd
17:38:13 *** dihedral has joined #openttd
17:38:13 *** KingJ has joined #openttd
17:38:13 *** Wilberforce has joined #openttd
17:38:13 *** ccfreak2k has joined #openttd
17:38:13 *** FloSoft has joined #openttd
17:38:13 *** hoax_ has joined #openttd
17:38:13 *** lolman has joined #openttd
17:38:13 *** reldred has joined #openttd
17:38:13 *** ctibor has joined #openttd
17:38:13 *** TrueBrain has joined #openttd
17:38:13 *** V453000 has joined #openttd
17:38:13 *** TinoDidriksen has joined #openttd
17:38:13 *** rasco has joined #openttd
17:38:13 *** SpComb has joined #openttd
17:38:13 *** Sionide has joined #openttd
17:38:59 <LordAro> is that what's known as a net-split?
17:39:37 <ABCRic> indeed
17:39:49 <LordAro> cool :D
17:39:55 <LordAro> why does it happen?
17:40:55 <ABCRic> two servers lose connection
17:41:03 <ABCRic> (to each other)
17:41:26 <ABCRic> breaks part of the network structure
17:41:37 <LordAro> i see
17:42:07 <ABCRic> refer to for a more detailed description :)
17:42:13 *** Muddy has quit IRC
17:42:18 *** perk111 has quit IRC
17:42:26 *** Muddy has joined #openttd
17:44:11 *** Chillosophy has quit IRC
17:45:14 *** Chillosophy has joined #openttd
17:59:54 *** Alberth has left #openttd
18:00:29 *** Alberth has joined #openttd
18:00:29 *** ChanServ sets mode: +o Alberth
18:10:31 * LordAro wonders which is the better forever loop - for(;;) or while(true) ....
18:12:32 <ABCRic> iirc for(;;) is the most used
18:13:33 <andythenorth> while(true) is easier to deadlock in my experience (of employing developers)
18:14:10 <Eddi|zuHause> while (true) looks semantically cleaner to make obvious what it's doing...
18:14:17 <LordAro> for(;; ) is the one most used in my special c++ book (that alberth knows about ;) ), but (and i know it's a different language) the noai example on the wiki uses while(true)
18:15:24 <Eddi|zuHause> while(true) will be easier to explain to people who have very little coding experience
18:15:34 <Eddi|zuHause> and it will be available in more languanges
18:16:01 <andythenorth> I never grokked while()
18:16:05 <andythenorth> I always use for
18:16:30 <andythenorth> but I learnt it in BBC basic when I was about 9, so that influences things
18:16:44 <Wolf01> I can't use for (;;) in vbasic, so I go for while ;)
18:16:53 <Eddi|zuHause> you can't express "for(;;)" in python-syntax, but "while(true)" can be trivially ported
18:17:13 <LordAro> while(true) { Eddi = true; }
18:17:15 <LordAro> :D
18:17:29 <Eddi|zuHause> and there are many more languages like that
18:17:53 <Eddi|zuHause> for example in pascal, for-loops are guaranteed to terminate
18:17:56 <andythenorth> Eddi|zuHause: ach
18:18:04 <andythenorth> the python for is better, so...
18:18:24 <andythenorth> it was 'for i in xyz' that persuaded me to python
18:18:59 <andythenorth> in EMCA-script type languages, you'd dick about with getting a list of objects, getting the length, doing for i = index, i <= length, i++
18:19:02 <andythenorth> etc
18:19:02 <Eddi|zuHause> andythenorth: this is about the special case of a loop that will not end on a certain condition [but rather either by powerdown or a break-statement]
18:19:23 <andythenorth> normally, in my world, those are very bad
18:19:33 <andythenorth> they tend to freeze browsers :P
18:19:53 <andythenorth> although if it's a control loop for a flash game, or a progress bar it's valid
18:20:19 <Eddi|zuHause> andythenorth: typical usage for these loops is interactive GUIs. they look like "while(world has not ended yet) { get next event; process event }"
18:20:36 <andythenorth> hmm
18:20:44 <andythenorth> I must have been writing them wrong all these years :P
18:21:16 <andythenorth> in the places I write code, it's quite high level - attach event handlers to objects
18:21:24 <Eddi|zuHause> andythenorth: and in the case of NoAIs, they die/go bankrupt when the loop ends
18:21:26 <andythenorth> handle callbacks when routines complete
18:21:35 <andythenorth> ok, that would make complete sense
18:21:53 <Eddi|zuHause> andythenorth: yes, they have also those loops, but you don't usually need to see them
18:22:15 <andythenorth> yup
18:22:24 <Eddi|zuHause> because the structure of the loop is always the same. there's nothing interesting to change there
18:22:28 <SpComb> for _ in itertools.repeat(0) : ...
18:23:12 <Eddi|zuHause> SpComb: that does a lot more than "for (;;)"
18:23:16 <andythenorth> hmm
18:23:43 <Eddi|zuHause> SpComb: you don't know what sideeffects "itertools.repeat" may have
18:24:28 <SpComb> yeah, it isn't semantically the same
18:24:31 <supermop> whoa there was another one
18:24:31 <andythenorth> Eddi|zuHause: maybe you can help?
18:24:41 <SpComb> but curiously, I'm fairly sure itertools.repeat is implemented as a while loop :)
18:24:46 <SpComb> although it's actually in C
18:24:49 <SpComb> so perhaps not
18:27:04 <Eddi|zuHause> andythenorth: as far as i can see, m4 has 8 free bits currently
18:27:11 <andythenorth> yup
18:27:31 <andythenorth> do bits have to be stored adjacent locations?
18:27:37 <andythenorth> for each property?
18:36:38 <Hirundo> andythenorth: what do you want to store?
18:36:54 *** [Xed] has quit IRC
18:37:09 <andythenorth> Hirundo: this:
18:37:12 <andythenorth> oops
18:37:18 <andythenorth> that's never going to fit in the map array :D
18:37:23 <Hirundo> :P
18:37:26 <andythenorth> Hirundo: this:
18:37:43 <Eddi|zuHause> andythenorth: no, does not have to be adjacent
18:38:25 <Eddi|zuHause> andythenorth: the map accessors, something like "GetSecondRoadtypeOwner", will take care of the bitstuffing
18:38:37 <andythenorth> so are there any rules / heuristics / idiocies about what to put where?
18:39:55 <Eddi|zuHause> andythenorth: everything except the two roadtype IDs should already be stored
18:40:05 <Alberth> LordAro: in C++; for (i=0; i<10; i++) { ... } is just a short hand for i=0; while (i<10) { ... ; i++ } so it does not matter much :)
18:40:12 <andythenorth> and 1 bit is missing for the owner of roadtype 1
18:40:28 *** [Xed] has joined #openttd
18:40:59 <Hirundo> the math (13 + 8 = 18?) doesn't seem to add up
18:41:02 <Eddi|zuHause> andythenorth: you sure that is needed?
18:41:09 *** a1270 has quit IRC
18:41:18 <andythenorth> Eddi|zuHause: no, I'm sure of almost nothing about map bits :)
18:41:24 <andythenorth> this is why I ask
18:41:41 <andythenorth> ideally someone else might find this an interesting problem and join in
18:41:42 <andythenorth> !
18:42:03 <andythenorth> I reckon I can write the drawing code, and probably a lot of the construction / removal / cost code
18:42:11 <Hirundo> If we assume, towns will never build anything but road, the 8 bits provided by m4 are fine to sore the two IDs
18:42:27 <andythenorth> I don't know if we can assume that?
18:42:40 <andythenorth> (I reckon I can't write much the map / newgrf interface code)
18:42:59 *** kamnet has quit IRC
18:43:01 <Eddi|zuHause> Hirundo: i wouldn't assume that. but assume towns can build more than one road type, in what situation does the town need two road types on the tile, instead of replacing the roadtype?
18:43:24 <Eddi|zuHause> if town can only ever have one roadtype on the tile, one can make sure that it's always swapped to be the first
18:43:40 <andythenorth> who knows what towns might do in future?
18:43:41 <ABCRic> why would towns build other road-types besides basic road?
18:43:58 <Hirundo> Else we might as well shuffle some stuff around to use the other free bits
18:44:06 <andythenorth> in a sane world, they would build something *compatible* with basic ROAD
18:44:14 <andythenorth> but it might be dirt road or something else
18:44:23 <andythenorth> or - Pikka's suggestion - 'canal roads'
18:44:31 <andythenorth> which would be Venice :P
18:44:35 <Eddi|zuHause> ABCRic: dirt road [early], cobblestone road [industrial], asphalt road [modern]
18:44:41 <ABCRic> ooh, sounds cool
18:44:46 <ABCRic> make it so :)
18:45:19 <Hirundo> e.g. move the road works counter to m4 and use m7 bits 4..0 for the 2nd road owner
18:45:24 <CIA-2> OpenTTD: translators * r21742 /trunk/src/lang/ (german.txt swedish.txt):
18:45:24 <CIA-2> OpenTTD: -Update from WebTranslator v3.0:
18:45:24 <CIA-2> OpenTTD: german - 2 changes by planetmaker
18:45:24 <CIA-2> OpenTTD: swedish - 3 changes by Ledel
18:45:25 <Alberth> but towns are always one tile level above sea
18:45:42 <ABCRic> Alberth: who knows, that might change :)
18:46:08 <Eddi|zuHause> andythenorth: if you move around bits, you must handle loading old savegames in afterloadgame
18:46:12 <Hirundo> hmm... you could write a patch to swap tram owner and road works counter already, to remove the OWNER_TOWN hack
18:46:56 <andythenorth> Hirundo: does that need savegame handling?
18:47:00 <Hirundo> yes
18:47:12 <Hirundo> a good exercise for the stuff to come, I'd reckon :)
18:48:18 <Eddi|zuHause> it's practially _only_ savegame handling. the swapping around in the map accessors is trivial :)
18:48:27 <andythenorth> what has to be done
18:48:29 <andythenorth> ?
18:48:45 <andythenorth>
18:48:52 <andythenorth> (empty)
18:49:01 <andythenorth> but it's somewhere to commit to...
18:51:21 <Eddi|zuHause> andythenorth: in road_map.h (or similar) you have lines like "return GB(_m4,0,4)", which define the bits used in the map array which need shuffling around, and in afterloadgame you check for the savegame version in your new version bump, and have to read the old bits and store them at the new location. there should be examples of that happening already
18:54:59 * andythenorth explores
18:56:30 <planetmaker> <-- I just could stop myself to add that such arrogant attitude, that if something isn't understood, it's wrong and it sucks, sucks too ;-)
18:57:10 <andythenorth> it does suck though :P
18:57:19 <planetmaker> andythenorth: I'd first clone a clean openttd into the repo. Then start to modify it ;-)
18:57:30 <andythenorth> ok
18:57:54 <planetmaker> or possibly merge, if the repo already exists
18:57:57 <planetmaker> merge cross-repo
18:58:07 <planetmaker> rather pull cross-repo
18:58:10 <andythenorth> I have a local repo, but not much useful in it
18:58:15 <planetmaker> hg pull where-openttd-trunk-is
18:58:22 <planetmaker> in your road types repo
18:58:26 *** Phoenix_the_II has quit IRC
19:00:03 <andythenorth> planetmaker: in redmine, what should Root directory be in repository settings?
19:00:09 *** DanMacK has quit IRC
19:01:30 *** fjb is now known as Guest3745
19:01:31 *** fjb has joined #openttd
19:07:16 *** DanMacK has joined #openttd
19:08:02 *** staN has joined #openttd
19:08:44 *** Guest3745 has quit IRC
19:10:17 *** DanMacK has quit IRC
19:14:20 *** Vitus has joined #openttd
19:15:43 *** DDR has joined #openttd
19:17:17 *** ZirconiumX has joined #openttd
19:17:28 <ZirconiumX> hello
19:17:45 <ZirconiumX> mibbit's acting wierd today
19:19:48 <ABCRic> ZirconiumX: use a non-web client ;)
19:20:07 <ZirconiumX> I won't if my life depends on it
19:20:17 <ZirconiumX> for one reason
19:20:19 <deepa> At least use something other than Mibbit then
19:20:39 <Xaroth> what reason might that be?
19:20:52 <ZirconiumX> I got hijacked, and the virus got to port 1023 OPEN before giving up
19:21:09 <ZirconiumX> I can't go with a security hole as big as that
19:21:27 <Xaroth> then you fail at securing your own machine?
19:22:05 <deepa> or his router blows
19:22:14 <Xaroth> or that
19:22:18 <ABCRic> ZirconiumX: use a decent non-web client, then
19:22:20 <ZirconiumX> I don't have a pc, I use a mac , which is somewhat safer, and there are no viruses and a few trojans
19:22:28 <Xaroth> hah, no viruses
19:22:31 <ZirconiumX> ChatZilla was the one I used
19:22:33 <Xaroth> ignorance is bliss
19:22:43 <deepa> ZirconiumX: would you tell us more about this virus that hijacked you?
19:22:45 <andythenorth> ZirconiumX: there are mac viruses
19:22:52 <Xaroth> ZirconiumX: use irssi.
19:23:07 <planetmaker> ZirconiumX: and why don't you continue to use it?
19:23:12 <ABCRic> ZirconiumX: I'm using ChatZilla
19:23:28 <planetmaker> guess what client I use right now?
19:23:35 <ZirconiumX> I'd love to, but I couldn't tell you more, but a) I don't know any more and b) I feel safer using mibbit
19:23:41 <ZirconiumX> ChatZilla
19:23:50 <Xaroth> according to CTCP, 'is present' :P
19:24:03 <planetmaker> be sure that it's not safer ;-)
19:24:04 <deepa> Did nobody see this?
19:24:05 <deepa> 19:21 < ZirconiumX> I got hijacked, and the virus <snip>
19:24:05 <deepa> 19:22 < ZirconiumX> I don't have a pc, I use a mac , which is somewhat safer, and there are no viruses and a few trojans
19:24:15 <Xaroth> yes, I did
19:24:28 <deepa> I'm just overreacting then
19:24:50 <Xaroth> ZirconiumX: seeing you're using a mac:
19:24:55 <ZirconiumX> the problem is with irc, we're all servers which information can be sent
19:25:03 <Xaroth> ....
19:25:03 <planetmaker> deepa: how many % of the computers online do you think are back-doored and trojaned?
19:25:05 <ABCRic> deepa: snip?
19:25:07 <Xaroth> ignorance is bliss
19:25:27 <planetmaker> ZirconiumX: use ircs ;-)
19:25:39 <Xaroth> [ZirconiumX]: the problem is with irc, we're all servers which information can be sent << technically your client is not a 'server' .
19:25:49 <Xaroth> as it -shouldn't- allow connections until you tell it to :P
19:26:45 <deepa> oh sorry,
19:26:55 <ZirconiumX> I do prefer mibbit, because of the customisations, amongst other things
19:27:01 <deepa> my terminal got something so irssi's layout screwed up, didn't see caps-lock
19:27:57 <deepa> planetmaker: you don't see the hilarity in saying "I got a virus" and thenn a minute saying "there are no viruses for my system"?
19:29:21 <ZirconiumX> You can keep quiet and make some people think your stupid, or you can speak out and remove all doubt <---- the former is currently what I'm doing
19:29:47 <ZirconiumX> now
19:30:40 <Xaroth> You claiming there are no viruses for the mac already did that
19:30:44 <ZirconiumX> meh still Please wait...
19:31:06 <ZirconiumX> the hilarity has been and gone
19:31:22 <Xaroth> wait a minute
19:31:25 <Xaroth> hannnng on
19:31:27 <Xaroth> you were using a mac, right
19:31:32 <Xaroth> on bsd, as with linux
19:31:39 <Xaroth> non-root-users aren't allowed to open ports <1024
19:31:47 <Xaroth> ... so you were using irc.. as root
19:31:49 <Xaroth> ....
19:32:42 <ZirconiumX> this means that I control my system the others control there's
19:32:59 <dihedral> @logs
19:32:59 <DorpsGek> dihedral:
19:33:11 <ZirconiumX> also there is only one superuser, which is the correct term for root
19:33:25 <ZirconiumX> 'Don't make a hash of it...'
19:33:30 <Xaroth> ...
19:33:40 <Xaroth> root IS the superuser
19:34:18 <ZirconiumX> 19:31 ZirconiumX also there is only one superuser, which is the correct term for root <--- which is the correct term
19:34:49 <ZirconiumX> root is the same as superuser, just AFAIK everyone calls it superuser, all the geeks anyway
19:35:20 <ZirconiumX> on a completely unrelated note, what shell do you use?
19:35:40 * ZirconiumX wishes that fish would work with Darwin, or libiconv would
19:36:15 <Xaroth> no, root is not the same as superuser
19:36:22 <Xaroth> as on other os', it is named differently
19:36:53 <Xaroth> on windows, for example, there's a default 'Administrator' which is the superuser, but you can make any user a superuser
19:37:04 <dihedral> ZirconiumX, no "geek" calles it that
19:37:09 <Xaroth> on novell it's either supervisor and/or 'admin'
19:37:15 <ZirconiumX> hmmm, Windows is DOS based though
19:37:25 <dihedral> ?
19:37:26 <Xaroth> what rock have you been under?
19:37:34 <ZirconiumX> quite a few
19:37:44 <dihedral> must have hit you right on the head ^^
19:37:59 <Xaroth> windows isn't 'dos-based' anymore since NT or so
19:38:11 <dihedral> Dear Sir/Madam, Windows is the name of a number of operating systems
19:38:13 <Rubidium> it's still (mostly) bug-for-bug compatible with DOS
19:38:21 <andythenorth> always useful, an OS argument :P
19:38:24 <Xaroth> true that
19:38:25 <andythenorth> can we code something?
19:38:28 <andythenorth> or write a spec?
19:38:32 <andythenorth> or something
19:38:42 <Xaroth> andythenorth: write me a newgrf packet for teh admin port
19:38:45 *** DanMacK has joined #openttd
19:38:52 <Rubidium> yay for the decision to use / for command line parameters in DOS back when it did not have paths
19:39:05 <dihedral> :-D
19:39:22 <dihedral> you really think that would have made a difference if it had not been the case?#
19:39:47 <Rubidium> it would have made the life of a lot of people much easier
19:40:08 <Rubidium> if they would use / for paths as well
19:40:25 <dihedral> i just doubt they would have done that :-P
19:40:52 <Rubidium> they've done loads of things to stay backward compatible
19:40:52 *** HalfBit has joined #openttd
19:40:55 *** [Xed] has quit IRC
19:41:04 <Xaroth> funny how this conversation goes from 'viruses on macs' to 'irc as root' to 'windows and/or dos' to path usage in dos
19:41:08 <Xaroth> in.. well.. minutes
19:41:21 <Rubidium> e.g. a special mode for the memory allocator so some old applications that read/write memory after freeing it still work
19:41:39 <planetmaker> Xaroth: biological viruses can do that, too. It's called evolution and mutation there :-P
19:41:46 <ZirconiumX> heh
19:41:47 <dihedral> Xaroth, that is because those who started the discussion of have nothing valuable to contribute :-P
19:41:48 <planetmaker> bad analogy? Maybe :-P
19:41:56 <Xaroth> planetmaker: for that we invented the darwin awards
19:42:02 <Xaroth> mutations during our evolution.
19:42:08 <planetmaker> uh?
19:42:09 <planetmaker> no
19:42:27 <planetmaker> darwin awards are for those who get themselves out of the gene pool in a creative way
19:42:40 <planetmaker> not for mutating. Your a mutant as well as I
19:42:49 <planetmaker> *You're
19:43:40 <ZirconiumX> I thought the darwin award was for dieing/doing the stupidest action possible, thus improving the spieces *AHEM*
19:43:58 <Xaroth>
19:44:02 <ZirconiumX> *species
19:44:46 <glx> <@Rubidium> e.g. a special mode for the memory allocator so some old applications that read/write memory after freeing it still work <-- the simcity special handling ?
19:45:10 <Rubidium> yeah, something like that
19:47:00 *** mitt has joined #openttd
19:47:28 * mitt
19:47:47 *** mitt has quit IRC
19:48:13 <planetmaker> "New Chewing Gum Flavor: Explosive" <-- I like that :-P
19:48:44 <ZirconiumX> Chin up, old chap, by gum
19:50:01 <ZirconiumX> windows isn't 'dos-based' anymore since NT or so <---- wikipedia disagrees, All Windows NT 32-bit versions ship with files from DOS 5.0
19:50:21 <ZirconiumX> Version 8.0 (WinXP) - DOS boot disks created by XP and later contain files from WinME. The internal DOS is still 5.0
19:50:56 <Xaroth> ...
19:51:14 <glx> disapeared with XP
19:51:21 <Xaroth> there's a BIG difference between being based on something, and shipping stuff with it for compatibility reasons
19:51:31 *** Eddi|zuHause has quit IRC
19:54:11 <Alberth> planetmaker: I am quite sure your average explosive tastes horrible
19:54:31 <planetmaker> :-)
19:54:33 *** inji has quit IRC
19:55:00 * ZirconiumX chew on the explosive flavour chewing gum and turns bright yellow
19:56:47 <Xaroth> also, this one was a small hit on youtube, but got him a DA as well:
19:57:29 <Chris_Booth> evening all
19:58:38 *** inji has joined #openttd
20:00:34 *** ZirconiumX has quit IRC
20:51:46 *** [Xed] has joined #openttd
20:57:47 *** Adambean has quit IRC
21:06:54 *** Prof_Frink has quit IRC
21:22:43 *** Alberth has left #openttd
21:25:49 *** xiong has joined #openttd
21:27:33 *** Chillosophy has quit IRC
21:30:59 <dihedral> orudge, the theme changed again?
21:31:37 <Rubidium> dihedral: yes, the snow melted already
21:31:42 *** DanMacK has quit IRC
21:31:51 <dihedral> Rubidium, depends where you are :-P
21:32:32 <Rubidium> dihedral: I doubt the forum's theme is location/weather aware
21:32:43 <dihedral> ^^
21:32:46 <glx> 10°C and rain here
21:32:48 <dihedral> could be interesting :-D
21:32:50 <Rubidium> as the forum theme doesn't feature snow anymore, it must've melted
21:33:04 <dihedral> pfft
21:33:09 *** DanMacK has joined #openttd
21:39:22 *** supermop has quit IRC
21:44:40 *** Prof_Frink has joined #openttd
21:47:00 *** JOHN-SHEPARD has joined #openttd
21:47:07 <JOHN-SHEPARD> hey
21:47:17 <JOHN-SHEPARD> are there games up
21:48:44 <Rubidium> only a mere 227
21:51:11 *** Eddi|zuHause has joined #openttd
21:54:06 <andythenorth> should livery refitting be different from cargo refit?
21:54:19 <andythenorth> there was some talk about this recently somewhere
21:54:54 <frosch123> yes, but it was not very confincing
21:54:58 <frosch123> *v
21:58:08 <andythenorth> hmm
21:58:24 <andythenorth> cargo subtypes are not very convincing either
21:58:35 <andythenorth> more....annoying :)
21:58:43 <andythenorth> maybe that's my fault - too many cargos :P
22:01:38 <dihedral> Wolf01, line 74 of the last patch in your thread: would it not make sense if the setting was stored in the savegame, so that it remains constant thoughout the course of the game?
22:04:08 <Wolf01> in any case you should increment _fake_date every 1,2,3,4,6 or 12 days
22:08:23 <dihedral> but could it not have an odd effect on the game if you mangle with that setting in the middle of the game?
22:08:29 <dihedral> or does it not?
22:08:34 <Wolf01> it shouldn't
22:09:07 <Wolf01> maybe between savegames
22:09:11 <dihedral> either way - it's a very small patch for what it does :-)
22:10:11 <Wolf01> I should save the fake date between savegames, because every time restarts from the real date
22:10:19 <dihedral> the daily loop routine, does that then get executed multiple times per day?
22:10:32 <dihedral> Wolf01, yes, that would be good
22:11:12 <dihedral> do not forget that ai's will also need the fake date
22:11:20 <Wolf01> in that routine there is _date_fract which is increased mutiple times a day, it might be used for hours
22:12:20 <dihedral> also, the admin network will like to know of the fake date
22:12:30 <dihedral> and there is a daily loop in the network code
22:15:20 <Wolf01> I'll give it a look
22:17:46 <andythenorth> good night
22:17:47 *** andythenorth has left #openttd
22:21:25 *** Chris_Booth has quit IRC
22:26:25 *** supermop has joined #openttd
22:33:36 <Wolf01> 'night
22:33:42 *** Wolf01 has quit IRC
22:54:06 *** Cybertinus has quit IRC
22:54:53 *** fonsinchen has quit IRC
22:59:23 *** dfox has quit IRC
23:01:21 *** Pulec has quit IRC
23:01:44 *** DanMacK has quit IRC
23:10:06 *** ecke has quit IRC
23:16:26 *** dfox has joined #openttd
23:22:22 *** pugi has quit IRC
23:25:17 *** Biolunar has quit IRC
23:31:25 *** staN has quit IRC
23:35:52 <ABCRic> good night
23:35:58 *** ABCRic has left #openttd
23:42:12 *** Fast2 has joined #openttd
23:43:33 *** [Xed] has quit IRC
23:45:39 *** frosch123 has quit IRC