IRC logs for #openttd on OFTC at 2011-03-04
⏴ go to previous day
00:05:45 *** JVassie_ has joined #openttd
00:20:21 <Eddi|zuHause> aauuaa... black-furry-thing-that-has-claws...
00:21:18 *** supermop has joined #openttd
00:23:23 * avdg wonders why luukland is "stealing our" facebook domain
00:25:15 <Eddi|zuHause> that's the "we hate rubidium" guy, right?
00:27:29 <CIA-11> OpenTTD: glx * r22180 /trunk/ (Makefile.setting.in config.lib): -Fix: when using -static-libgcc, also use -static-libstdc++
00:29:05 <supermop> how can i make my grf set a parameter in another grf?
00:33:51 <supermop> nekkid was suggesting that i do that
00:34:17 <Eddi|zuHause> i think he meant reading that parameter
00:34:30 <supermop> i really cannot figure out why my grf works fr some people but not for m
00:34:33 <Yexo> there is no reason at all to do that
00:34:45 <Yexo> your current approach (checking which rail types are available) is the best one
00:35:04 <Yexo> different openttd versions maybe?
00:35:06 <Eddi|zuHause> i agree, everything else seems silly
00:35:15 <supermop> but both you and planetmaker were able to see some effect in game
00:35:27 <supermop> what version are you using,
00:35:34 <supermop> i was testing with 1.0.5
00:36:50 <Yexo> try again with a recent nightly or 1.1.0-RC1
00:41:50 <Eddi|zuHause> hm... i think i'm going crazy... this new monitor makes a really high pitched sound...
00:42:04 <Eddi|zuHause> and the weird part is, it seems to be related to brightness...
00:42:38 <supermop> ok now that seems to work, but it is still showing the 1b sprite for everything, so i have more work to do
00:43:07 <Eddi|zuHause> who the hell produces CRTs anymore?!?
00:43:09 <supermop> i can hear high pitched noise from all CRTs
00:43:28 <supermop> foor precision color work
00:43:41 <supermop> is it flourescent or led backlit?
00:44:18 <Eddi|zuHause> i don't think it's LED, not sure...
00:44:20 *** Dreamxtreme has joined #openttd
00:44:59 <supermop> you could be hearing the ballast/transformer for the flourescent tube
00:45:13 <supermop> but that should be constant at 50 hz where you are
00:46:58 <__ln__> my geforce 8800 makes really annoying high-pitched sound if i try to run folding@home on it.
00:47:04 <Eddi|zuHause> 50Hz isn't exactly "high pitched"
00:47:23 <Eddi|zuHause> i know a 50Hz sound, this isn't one
00:49:38 <supermop> well this makes no sense at all
00:51:28 <supermop> i cannot see anything else to be causing this in the code
01:18:52 <supermop> is there some reason why low and very low speed are intrinsically different than other railtypes?
01:19:54 <Eddi|zuHause> i don't understand the question
01:29:29 <grzywacz> Eddi|zuHause, that happens with monitors
01:30:06 <grzywacz> Eddi|zuHause, my does that when in sleep, high-pitched sound is emitted whenever the power led blinks... -_-;
01:30:17 <Eddi|zuHause> grzywacz: with brand new ones?
01:35:45 <Eddi|zuHause> i can't keep a monitor making this kind of sound
01:36:06 <grzywacz> Blame capacitors. ;)
01:44:33 <SmatZ> I can literally hear when the CPU is under load
01:44:49 <SmatZ> because of the sound from the MB
01:45:03 <Eddi|zuHause> something that just occured to me: can openttd hide (as in remove, not just grey out) railtypes for which there will never be a vehicle available?
01:45:16 <SmatZ> Eddi|zuHause: I think it already does
01:45:21 <supermop> it seems like it should be able to
01:46:07 <DorpsGek> SmatZ: Commit by rubidium :: r21817 trunk/src/toolbar_gui.cpp (2011-01-16 10:25:47 UTC)
01:46:08 <DorpsGek> SmatZ: -Change: only show rail/road types that will eventually be available in-game. For example don't show trams when there is no tram NewGRF loaded
01:46:10 <Eddi|zuHause> easy test would be the default vehicle set, which doesn't have any trams
01:47:01 <Eddi|zuHause> aha. good. question answered then ;)
01:48:19 <Eddi|zuHause> i can hear mouse movement in the speakers if i turn them really loud (volume control on the active speaker, not volume control in the computer)
01:48:52 <Eddi|zuHause> but this really high pitch noise from the monitor really is disturbing
01:49:25 <SmatZ> my monitor makes weird sounds only when it's in a sleep mode
01:49:50 <SmatZ> sometimes it decides to de-magnetise itself while sleeping
01:49:59 <SmatZ> which makes a very loud sound
01:53:49 <SmatZ> I had samsung syncmaster 950nf ( I think)
01:54:02 <SmatZ> later I got syncmaster 1100df
01:54:07 <SmatZ> and it... isn't very good
01:54:19 <SmatZ> samsung disappointed me
01:54:57 <SmatZ> it's a 21" monitor and I have to use 1024x768
01:54:59 <avdg> sounds like I'm not the only one with an almost identical scenario
01:55:19 <SmatZ> because when the brightness is set higher, it's hard to read even at this resolution
01:56:39 <avdg> well, I put it out my room
01:56:57 <avdg> the only solution was to not feed it with power
02:02:16 <grzywacz> maybe it was trying to communicate with you
02:06:22 <avdg> aka kinda brainwash, because you want to sleep and the screen doesn't let you do that
02:07:14 <SmatZ> luckily there's the power button
02:07:26 <avdg> didn't help in my case :p
02:07:39 <SmatZ> I always turn off the "main switch" at the outlet
02:07:52 <SmatZ> so there is really 0W consumed by the PC
02:08:57 <SmatZ> I used a power meter to measure the consumption, and it was ~10W for PC when powered off
02:08:59 <avdg> here are outlet on "special designed" areas, so you really get annoyed to reach them :(
02:09:32 <avdg> you can run a computer for that :o
03:36:49 *** andythenorth has joined #openttd
03:37:01 <andythenorth> you're all in bed :P
05:07:38 *** Kurimus has joined #openttd
05:43:47 *** roboboy has joined #openttd
05:56:22 *** Eddi|zuHause has joined #openttd
06:12:50 *** DoubleYou has joined #openttd
06:34:11 *** DoubleYou has joined #openttd
07:19:59 *** andythenorth has joined #openttd
07:20:00 *** Br33z4hSlut5 has joined #openttd
07:30:50 *** Cybertinus has joined #openttd
07:54:50 *** andythenorth has joined #openttd
08:12:47 *** rhaeder has joined #openttd
09:06:10 *** Chris_Booth has joined #openttd
09:11:38 *** HerzogDeXtEr1 has joined #openttd
09:24:38 <Chris_Booth> good morning Terkhen
09:26:09 *** JVassie_ has joined #openttd
09:31:29 *** Scuddles has joined #openttd
09:33:38 *** Vikthor has joined #openttd
09:34:09 *** glevans2 has joined #openttd
09:35:09 *** Brianetta has joined #openttd
09:37:09 *** JVassie has joined #openttd
09:37:11 *** Skiddles has joined #openttd
09:57:38 *** Intexon has joined #openttd
10:00:29 *** peter1138 has joined #openttd
10:00:29 *** ChanServ sets mode: +o peter1138
10:10:33 *** FauxFaux has joined #openttd
10:21:25 *** tokai|noir has joined #openttd
10:25:58 *** eQualizer has joined #openttd
10:36:48 *** DayDreamer has joined #openttd
10:55:53 *** roboboy has joined #openttd
11:05:54 *** JOHN-SHEPARD has joined #openttd
11:34:10 *** KenjiE20 has joined #openttd
12:10:08 *** fonsinchen has joined #openttd
12:13:12 <CIA-11> OpenTTD: yexo * r22181 /trunk/src/viewport.cpp: -Fix (r20574): following a vehicle with a very high VehicleID was impossible
12:16:44 <Noldo> did it follow the wrong vehicle then?
12:17:44 *** TheMask96 has joined #openttd
12:19:09 <Noldo> depending on what Vehicle::Get return when there is no such vehicle it could even crash
12:19:23 <Eddi|zuHause> Noldo: lots of these bugs are found by code review, not actually someone triggering them
12:19:47 <peter1138> Code review? We do that?
12:20:16 <Eddi|zuHause> i'm usually surprised as well ;)
12:20:23 <Yexo> Noldo: that's quite possible
12:20:42 <Yexo> and this wasn't a review of the code, I was just trying to understand some more code in viewport.cpp
12:20:55 <Yexo> sometimes you come across bugs when looking for something else
12:20:58 <Eddi|zuHause> Yexo: that, technically, is a review :)
12:21:19 <Yexo> depending on how you look at it :)
12:21:28 <Yexo> I wasn't searching the code for bugs
12:21:54 <Eddi|zuHause> let's call it a "weak review" :=)
12:23:38 *** DanMacK has joined #openttd
12:30:58 <Eddi|zuHause> "Kommt ein Mann in eine Bahrein und kriegt einen Mordsqatar – vom vielen Dschinn."
12:48:10 <planetmaker> that pun costs you at least 5€, Eddi|zuHause
12:50:03 <Eddi|zuHause> planetmaker: and the inflation again... it used to be 5DM...
13:01:37 *** andythenorth has joined #openttd
13:19:46 <DorpsGek> planetmaker: 1.5156663439
13:20:28 <DorpsGek> planetmaker: 1.86029457171
13:26:11 *** welterde has joined #openttd
13:39:25 <FauxFaux> TBH if they're a dos developer they deserve it. ¬_¬
13:42:04 <Terkhen> the "via code" part can be easily avoided; nobody in their right mind would review code like that
13:43:22 <Terkhen> oh, the "given up on humanity" sentence addresses that :D
13:52:08 <Eddi|zuHause> "Wait for a few weeks, then refer to this discussion, but not in the same thread." <-- that sounds like a classic MB :)
13:52:51 <planetmaker> the link above from sm4tz
14:01:30 *** TheMask96 has joined #openttd
14:04:00 *** Progman has joined #openttd
14:14:04 *** ChanServ sets mode: +v glx_
14:24:12 * andythenorth wonders what to do about FIRS fishing ground production
14:24:13 <andythenorth> my plan was to make it totally static
14:37:55 <Belugas> my plan is to win the lottery and retire from active duty
14:38:11 <andythenorth> who has more ambition? :o
14:38:19 <andythenorth> Belugas: you could code ottd all day then
14:38:42 <peter1138> i don't think so :)
14:40:01 <Belugas> peter1138 knows me better than you, andythenorth ;)
14:41:48 <Belugas> note: i could go back in deving, then... but... all day long? GOD NO!!
14:45:10 <Belugas> like... while traveing in plane, between jams sessions, while the family is sleeping, or watching Bamby...
14:45:26 <Belugas> jam sessions in europ, that is...
14:49:09 <peter1138> rock star life style, hehheh
14:51:30 <Belugas> now that would be worth it!
14:56:56 *** Prof_Frink has joined #openttd
14:59:06 *** |Jeroen| has joined #openttd
15:03:08 *** Devroush has joined #openttd
15:12:05 *** supermop has joined #openttd
15:17:08 *** TheMask96 has joined #openttd
15:34:53 *** Biolunar has joined #openttd
15:35:56 *** lasershock has joined #openttd
15:43:12 *** Guest3529 has joined #openttd
15:44:04 <Guest3529> is there a newgrf to enable construction of towns?
15:44:22 *** Startouf has joined #openttd
15:44:32 <Startouf> I need some information : how can i enable town foundation ? Do i need a newgrf ?
15:45:10 *** fonsinchen has joined #openttd
15:45:17 *** CyberSoul has joined #openttd
15:45:24 <Startouf> I need some information : how can i enable town foundation ? Do i need a newgrf ?
15:45:53 <CyberSoul> no its just an advanced setting under towns
15:46:13 <Startouf> ...em could you explain ?
15:46:25 <Startouf> in advanced settings
15:46:57 <Startouf> i've looked through the entire advanced setup...can't believe i missed it
15:47:25 <CyberSoul> yeah, i have trouble finding stuff I know i found before
15:51:23 *** Scuddles has joined #openttd
15:57:20 *** CyberSoul has left #openttd
15:59:22 *** TheMask96 has joined #openttd
16:20:41 <supermop> sounds like a new set from andy
16:23:56 <supermop> Rats All Terrain Stuff
16:29:43 *** alluke_ has joined #openttd
16:30:42 <alluke_> realistic all-terrain set?
16:31:52 *** ar3k is now known as ar3kaw
16:50:01 *** Dreamxtreme has joined #openttd
16:57:37 *** grzywacz has joined #openttd
17:12:02 *** rhaeder has joined #openttd
17:12:47 <supermop> So, for anyone who might be interested, I made a little more progress on my grf last night
17:13:20 <supermop> and it now currently shows the intended sprites for all but 2 rail types
17:13:42 <supermop> still no idea why those two are not working
17:14:15 <supermop> I should make some alternate versions for other rail grfs to see if there are similar issues
17:20:50 *** frosch123 has joined #openttd
17:26:12 *** Alberth has joined #openttd
17:26:12 *** ChanServ sets mode: +o Alberth
17:36:45 <supermop> It would seem that no one was interested,
17:43:41 <supermop> I am having a weird issue with a grf i am working on,
17:43:50 <supermop> i cannot figure out the reason
17:45:01 <alluke_> i know nothing about those
17:51:00 <DanMacK> Thanks for sharing :P
17:52:53 <Yexo> <supermop> and it now currently shows the intended sprites for all but 2 rail types <- which 2 rail types don't work?
17:53:04 <Yexo> also, is the last version of your nml/grf file on tt-forums?
17:58:04 <supermop> i meant to put it up this morning before coming to work
17:58:23 <supermop> i might run home over lunch to upload it
18:00:23 <Yexo> are you sure nutracks is providing new rail graphics for RAIL ?
18:00:40 <Yexo> without new rail graphics you can't have new depot graphics either (except by overwriting the default depot graphics)
18:06:45 <supermop> hm that actually sounds like what might be happening
18:14:26 *** Brianetta has joined #openttd
18:25:00 <supermop> well i have made a grf to overide the default depot in the past
18:25:19 <supermop> although it was with an ugly variation of my metal shed
18:25:34 <supermop> i could improve that and try to include that code in my grf
18:25:46 <supermop> except i wrote that one in nfo, not nml
18:32:18 *** Adambean has joined #openttd
18:45:34 <CIA-11> OpenTTD: translators * r22182 /trunk/src/lang/ (traditional_chinese.txt vietnamese.txt):
18:45:34 <CIA-11> OpenTTD: -Update from WebTranslator v3.0:
18:45:34 <CIA-11> OpenTTD: traditional_chinese - 18 changes by elleryq
18:45:34 <CIA-11> OpenTTD: vietnamese - 7 changes by nglekhoi
18:58:20 *** Chris_Booth_ has joined #openttd
18:58:51 <alluke_> where can i download r22148
19:00:06 <Rubidium> don't know; if it doesn't, then it wasn't a nightly
19:00:17 <alluke_> well the public server uses that one
19:00:27 <SmatZ> alluke_: go to #openttdcoop
19:00:28 <dihedral> then it was a nightly :-D
19:00:43 <alluke_> is there a way to open it on a tab
19:01:11 <SmatZ> just clicking on #openttdcoop might open that channel :P
19:01:24 <dihedral> else /join #openttdcoop
19:01:33 <alluke_> ik but id like to put it on this same window
19:04:56 <CIA-11> OpenTTD: rubidium * r22183 /branches/1.1/ (20 files in 3 dirs):
19:04:56 <CIA-11> OpenTTD: [1.1] -Backport from trunk:
19:04:56 <CIA-11> OpenTTD: - Fix: Following a vehicle with a very high VehicleID was impossible (r22181)
19:04:56 <CIA-11> OpenTTD: [1.1] -Backport language changes from trunk
19:07:54 *** Chris_Booth has joined #openttd
19:08:49 *** Chris_Booth has joined #openttd
19:09:55 *** Chris_Booth has joined #openttd
19:17:40 <Alberth> a literal programming package is too much for Linux :)
19:19:13 <Alberth> s/literal/literate/ but the same 0 results :)
19:33:30 <Belugas> i prefer a TV program
19:37:40 <peter1138> I prefer a synth program.
19:41:15 *** Chris_Booth_ has joined #openttd
19:41:39 *** ar3k is now known as ar3kaw
19:47:13 *** Chris_Booth_ is now known as Chris_Booth
20:08:41 <Belugas> hehehe right that, peter1138 :)
20:12:40 *** Chris_Booth has joined #openttd
20:50:23 <CIA-11> OpenTTD: rubidium * r22184 /branches/1.1/ (7 files in 5 dirs): [1.1] -Prepare: for 1.1.0-RC2
20:53:34 <CIA-11> OpenTTD: rubidium * r22185 /tags/1.1.0-RC2/: -Release: 1.1.0-RC2
21:11:07 <krinn> how can i check if an airport is influencing a town ? AIStation.IsWithinTownInfluence(airportID, townid) return false ?
21:12:21 <Alberth> true sounds like a more logical value in that case
21:12:41 <krinn> :) i know, but it keep staying at false
21:12:52 <krinn> it work for others stations type, but fail if my station is an airport
21:14:12 <CIA-11> OpenTTD: rubidium * r22186 /trunk/src/newgrf.cpp: -Fix: spelling mistake
21:15:56 <krinn> could AIAirport.GetNearestTown solve that ? the description looks ok, the function name looks a bit hazardous
21:16:45 <Alberth> I also arrived at that function, it looks like it gives what you need
21:17:24 <Rubidium> krinn: with airportID you meant the stationID of the airport?
21:18:08 <Alberth> GetNearestTown (TileIndex tile, AirportType type) AirportType seems quite strange though here
21:18:15 <krinn> in fact i grab them with a AIStationList(station_type)
21:18:32 <krinn> wich gave me stationID for airports
21:19:34 <krinn> Alberth, for me too, if an airport is within two towns that grow, looks like it will be hard to know what town was use for that airport at first
21:19:38 <Alberth> hmm, probably not, the tile should be unique enough
21:20:48 <Alberth> krinn: that does not change, just as normal stations don't change where they belong to
21:20:49 <Yexo> AIStation::GetNearestTown is the correct function
21:20:53 <krinn> well, it looks logic the tile = one tile of the airport, but i also see trouble where a tile in the airport touch town A while other side tiles touch town B
21:22:01 <krinn> but it would be better if it was AIAirport::GetInfluencingTown :p
21:22:29 <Yexo> it's not something airport specific
21:22:46 <krinn> and it's normal the station check fail for airport ?
21:23:14 <krinn> static bool AIStation::IsWithinTownInfluence
21:26:28 *** Chillosophy has joined #openttd
21:26:30 <Yexo> AIStation::IsWithinTownInfluence(station_id, town_id) == AITown::IsWithinTownInfluence(town_id, AIStation::GetLocation(station_id))
21:26:33 <Yexo> not sure if that helps you
21:27:49 <Yexo> so for small towns it's indeed likely that'll return false even when the airport is close to the town
21:27:51 <krinn> it answer the failure, as AIStation::GetLocation(station_id) could gave a tile that is from the airport, but still away from the town influence, while some others tiles of the airport are within it
21:28:01 <Yexo> especially when the airport is at the north or west side of the town
21:28:24 <Yexo> AIStation.GetLocation will return the tile under the station label
21:28:34 <Yexo> which is generally the northern-most tile
21:28:47 <krinn> my airport was south/west
21:31:01 *** supermop has joined #openttd
21:31:09 <krinn> there's a trouble with it Yexo really
21:31:37 <krinn> i have add a debug when it return false, and i get the "is oustide" influence... even the airport is close to the town
21:32:03 <krinn> and now it's at north/est from the town (a small town) and keep saying false
21:39:45 <supermop> alas, i was not able to get home over lunch
21:41:35 <krinn> Yexo, made a screenshot if you wish / airport name+town in it + console out + showing code that produce the output
21:43:55 <Yexo> supermop: just upload it at the forum when you get home and I'll take a look somewhere this weekend
21:44:20 <Yexo> krinn: I haven't really got the time to dive into the code to check it extensively, but please upload that somewhere
21:47:17 <Yexo> the tile that is checked is the tile under the station label, that is the far north tile of the airport
21:47:23 <Yexo> which is indeed outside the town radius
21:47:48 <krinn> yes, but the airport really got pass/mail from that town
21:48:12 <krinn> and it's southern tiles are really close to the town
21:49:02 <peter1138> (Yikes, what a nasty GTK theme)
21:49:54 <krinn> well, it's a clear one to work with
22:03:27 <krinn> i fix it by grabbing all station tiles and foreach each tiles thru AITile.IsWithinTownInfluence
22:25:20 <CIA-11> OpenTTD: glx * r22187 /trunk/ (5 files in 2 dirs): -Fix: some reordering in source.list
22:34:25 <CIA-11> OpenTTD: glx * r22188 /trunk/ (28 files in 4 dirs): -Add: Generate the settings as part of the MSVC build process, and enable it in Makefile too
22:37:25 *** Brianetta has joined #openttd
22:47:57 <CIA-11> OpenTTD: glx * r22189 /trunk/projects/ (12 files): -Fix (r22188): Add svn properties to the new files
22:48:37 <alluke_> lakie have you got a grip
22:55:47 * DanMacK thinks Lakie's finishing up some other projects before starting the FTS
22:57:03 <Lakie> More accurately relaxing with some games, and up to recently, I've been working on projects that'll likely be used by FTS.
23:20:23 <alluke_> id like to get the fts for my 18th birthday :P
23:22:23 *** DoubleYou has joined #openttd
23:44:33 <CIA-11> OpenTTD: glx * r22190 /trunk/projects/ (9 files): -Fix (r22188): minor changes in project files
continue to next day ⏵