Back to Home / #openttd / 2011 / 01 / Prev Day | Next Day
#openttd IRC Logs for 2011-01-17

---Logopened Mon Jan 17 00:00:33 2011
00:02<Eddi|zuHause>by connecting a bot or library to it that can issue commands like you would through the server console or rcon
00:09<bb10>is there any documentation on how to do that? :P
00:42-!-zachanima [] has quit [Quit: leaving]
00:42-!-zachanima [] has joined #openttd
00:56-!-Eddi|zuHause [] has quit [Remote host closed the connection]
00:56-!-Eddi|zuHause [] has joined #openttd
01:04-!-jjc [] has joined #openttd
01:05-!-roboboy [] has joined #openttd
01:06<jjc>I have a question about openttd and Apple devices
01:08-!-Zuu [] has joined #openttd
01:09<jjc>Never Mind about that question
01:09<jjc>Thanks for the fish!
01:09-!-jjc [] has quit []
01:33<@Rubidium>bb10: docs/admin_network.txt?
01:37-!-DayDreamer [~DayDreame@] has joined #openttd
01:47-!-roboboy [] has quit [Ping timeout: 480 seconds]
01:48<bb10>Rubidium: sounds like something a programmer would use
01:50<@Rubidium>well yeah, the tools interfacing with that are still in development I think
01:52<bb10>aha ok :)
01:52-!-Zuu [] has quit [Ping timeout: 480 seconds]
01:52<bb10>anything useable yet (alpha/beta)?
01:54<@Rubidium> ?
02:09*bb10 scratches his head
02:15-!-Br33z4hSlut5 [] has joined #openttd
02:17<@Terkhen>good morning
02:21-!-Cybertinus [] has joined #openttd
02:22-!-Prof_Frink [] has quit [Ping timeout: 480 seconds]
02:22<@Rubidium>moi Terkhen
02:36-!-andythenorth [] has joined #openttd
02:39-!-Progman [] has joined #openttd
02:43-!-andythenorth [] has left #openttd []
02:44-!-DayDreamer [~DayDreame@] has quit [Read error: Connection reset by peer]
02:48-!-pugi [] has joined #openttd
02:49-!-kamnet [] has joined #openttd
03:18-!-DarkTomas [] has quit [Ping timeout: 480 seconds]
03:19-!-nicfer [~nicfer@] has quit [Read error: Connection reset by peer]
03:37-!-Kurimus [] has joined #openttd
04:03-!-pugi [] has quit [Quit: I reject your reality and substitute my own]
04:10-!-ar3kaw [] has joined #openttd
04:10-!-ar3k [] has quit [Read error: Connection reset by peer]
04:10-!-ar3kaw is now known as ar3k
04:15-!-ar3k [] has quit [Read error: Connection reset by peer]
04:17-!-ar3k [] has joined #openttd
04:22-!-ar3kaw [] has joined #openttd
04:22-!-ar3k [] has quit [Read error: Connection reset by peer]
04:22-!-ar3kaw is now known as ar3k
04:24-!-ar3kaw [] has joined #openttd
04:25-!-ar3k [] has quit [Read error: Connection reset by peer]
04:28-!-ar3kaw [] has quit [Read error: Connection reset by peer]
04:28-!-ar3k [] has joined #openttd
04:33-!-roboboy [] has joined #openttd
04:35-!-fonsinchen [] has joined #openttd
04:38-!-ar3kaw [] has joined #openttd
04:38-!-ar3k [] has quit [Read error: Connection reset by peer]
04:38-!-ar3kaw is now known as ar3k
04:42<@peter1138>stupid xorg... eating 25% cpu when i'm doing nothing :S
04:47-!-ar3k [] has quit [Read error: Connection reset by peer]
04:47-!-ar3kaw [] has joined #openttd
04:47-!-ar3kaw is now known as ar3k
04:48<dihedral>good morning
04:53<@peter1138>not really
04:53<@peter1138>pissing down :S
04:53<@peter1138>< british :D
04:53<__ln__>"the group of isles offshore belgium"
04:54-!-fonsinchen [] has quit [Remote host closed the connection]
05:15-!-HerzogDeXtEr [~Flex@] has joined #openttd
05:21-!-HerzogDeXtEr1 [] has quit [Ping timeout: 480 seconds]
05:51-!-Adambean [] has joined #openttd
05:55-!-ar3kaw [] has joined #openttd
05:55-!-ar3k [] has quit [Read error: Connection reset by peer]
06:06-!-ar3kaw [] has quit [Read error: Connection reset by peer]
06:07-!-ar3k [] has joined #openttd
06:22-!-KenjiE20 [~KenjiE20@] has joined #openttd
06:22<kamnet>Can you code the 1x1 heliport as either 2x1/1x2 or as 2x2?
06:24<@planetmaker>yes and no. see my tt-forums reply
06:26-!-Fuco [] has joined #openttd
06:35-!-Wolf01 [] has joined #openttd
06:37-!-fonsinchen [] has joined #openttd
06:41<Wolf01>hello roboboy, what's the situation there?
06:42<Wolf01>(and gnight)
06:42-!-ar3kaw [] has joined #openttd
06:44-!-ar3k [] has quit [Ping timeout: 480 seconds]
06:58-!-fonsinchen [] has quit [Remote host closed the connection]
07:12-!-xiong [] has joined #openttd
07:12-!-roboboy [] has quit [Ping timeout: 480 seconds]
07:22-!-ar3k [] has joined #openttd
07:22-!-ar3kaw [] has quit [Read error: Connection reset by peer]
07:24-!-Pulec [] has joined #openttd
07:25-!-ar3kaw [] has joined #openttd
07:28-!-ar3k [] has quit [Read error: Connection reset by peer]
07:53-!-kamnet [] has quit [Quit: ajax IRC Client]
08:00-!-Chris_Booth [] has joined #openttd
08:09-!-kamnet [] has joined #openttd
08:09-!-ar3k [] has joined #openttd
08:09<kamnet>To change the size of the heliport all I have to do is define it in ysize and xsize, right/
08:10-!-ar3kaw [] has quit [Read error: Connection reset by peer]
08:12<Ammler>kamnet: you should check the airport plus example from yexo, maybe it gives some hints
08:13<@Yexo>kamnet: you can't directly change the size of an airport, you can only do so by providing a new tile layout
08:13<Ammler>I don't think you chan change the heliport from 1x1 to 2x1 by resizing the sprites only :-)
08:14<@planetmaker>that's what I unsuccessfully tried to tell ;-)
08:14<@planetmaker>and it proved not too easy to provide an alternate rotated layout for the small airport.
08:14-!-glx [glx@2a01:e35:2f59:c7c0:88d1:7a5:727d:699c] has joined #openttd
08:15-!-mode/#openttd [+v glx] by ChanServ
08:26-!-ar3kaw [] has joined #openttd
08:26-!-ar3k [] has quit [Read error: Connection reset by peer]
08:26-!-ar3kaw is now known as ar3k
08:38<kamnet>where is that example at?
08:43-!-zachanima [] has quit [Quit: leaving]
09:05-!-Kurimus [] has quit []
09:08-!-Kurimus [] has joined #openttd
09:18<@planetmaker>hello Belugas
09:18<@Belugas>hello sir planetmaker
09:20-!-Eddi|zuHause [] has quit [Read error: Connection reset by peer]
09:20<Chris_Booth>hello Belugas
09:21-!-Eddi|zuHause [] has joined #openttd
09:26<kamnet>Well apparently a) I can't read NML yet and b) Yexo ain't worked on heliport sprites, so I'm lost on how to possibly change the size :-)
09:27<@planetmaker>kamnet, you 'just' have to define a layout. Look at the small airport. There's a tile layout of it defined with all the tiles it comprises of
09:27<@planetmaker>you need to define a layout which has two tiles size.
09:28<@Belugas>hi Chris_Booth :)
09:28<@planetmaker>basically use as substitute type the heliport you want to re-define. And then attach your (new) layout to it.
09:29<@planetmaker>if nfo is more comfortable the same could be done in nfo, too ;-)
09:30<@Yexo>there are also nfo examples in the same repository
09:30<@Yexo>you'll need to check the property numbers in those, they might be out-of-date
09:41<kamnet>"Best Available TTDPatch Airport Type", I'm assuming I want type 3 (oilrig) if I want it to appear up off the ground, yes?
09:43<Eddi|zuHause>that sounds very wrong
09:44<@Yexo>the value has no influence on the game, it's only for compatibility with vehicle newgrfs
09:44<@Yexo>so don't use "oilrig" as type for things on land, "heliport" is a better choice
09:50-!-tokai|noir [] has joined #openttd
09:56-!-tokai|mdlx [] has quit [Ping timeout: 480 seconds]
10:02-!-DayDreamer [~DayDreame@] has joined #openttd
10:19<Eddi|zuHause>hm... did they break youtube-dl again?
10:19<Eddi|zuHause>ahm no... "Dieses Video enthält Content von UMG. Es ist in deinem Land nicht verfügbar."
10:22<@planetmaker>__ln__, your mac is a ppc one, right?
10:22<kamnet>Hrm. Apparently nforenum doesn't think my nfo file is an nfo file
10:23<Eddi|zuHause>kamnet: must start with the // headers
10:23-!-DanMacK [~DanMacK@] has joined #openttd
10:23<kamnet>Yep, it does
10:26<DanMacK>Hey all
10:27-!-Br33z4hSlut5 [] has quit [Remote host closed the connection]
10:27<@planetmaker>heya DanMacK
10:30<kamnet>DanMacK, there's a topic you might be interested in:
10:31<@planetmaker>that's pikka's set ;-)
10:32<__ln__>planetmaker: correct
10:32<@planetmaker>and tbh: the whole topic is a bit ridiculous.
10:32<@planetmaker>thx, __ln__
10:34-!-KenjiE20 [~KenjiE20@] has quit [Remote host closed the connection]
10:34<@planetmaker>I think someone donate me a ppc box or I skip supporting it ;-)
10:35-!-KenjiE20 [~KenjiE20@] has joined #openttd
10:35-!-JOHN-SHEPARD_ [] has joined #openttd
10:35<kamnet>Huh, I always thought it was yours. Well nevermind then.
10:35<@planetmaker>oh, time for optical ear plugs in the nick list again.
10:38-!-JOHN-SHEPARD [] has quit [Ping timeout: 480 seconds]
10:42-!-JOHN-SHEPARD [] has joined #openttd
10:46*DanMacK responded to that message
10:47-!-JOHN-SHEPARD_ [] has quit [Ping timeout: 480 seconds]
10:52-!-KouDy [] has quit [Quit: Leaving.]
10:52*DanMacK doesn't find NARS running costs extrordinarily high...
10:53<dihedral><planetmaker> oh, time for optical ear plugs in the nick list again. <- LOL
10:53<kamnet>gah. nfo driving me crazy
10:59<@planetmaker>kamnet, that's why I suggested to try the airports in NML ;-)
10:59<@planetmaker>you a) have an example (somewhat) and b) it's much nicer readable (IMHO)
11:00<kamnet>except I still don't understand what I'm reading in NML
11:01<@planetmaker>do you in NFO?
11:04*planetmaker can't give advice on NFO
11:05<dihedral>but can NFO give advice on planetmaker ?
11:05<@peter1138>hmm, how costly is 1 sqrt() compared to n multiplications, where n is usually < 100?
11:05<@planetmaker>of course it can. It can try and fail ;-)
11:06-!-pugi [] has joined #openttd
11:06<@planetmaker> <-- peter1138
11:06<kamnet>WOOT! I managed to makea newgrf which crashes ottd!
11:09<@planetmaker>peter1138, so it depends, but assuming it uses the same multiplication algorithm: the same as one multiplication
11:12<+michi_cc>For practical applications on a real CPU manual 4 from is probably a lot more useful.
11:16<Eddi|zuHause>i wouldn't imagine sqrt being expensive at all
11:18<Eddi|zuHause>peter1138: the table above lists it as same complexity (i.e. only differing by constant factor)
11:22<Eddi|zuHause>peter1138: although i don't see how they calculate that, using a simple approximation of heron's method (iterating x = (x+a/x)/2)) gives significantly less than 100 multiplications
11:22<Eddi|zuHause>each iteration step is one multiplication
11:22<Eddi|zuHause>and it has quadratic convergence
11:22<@peter1138>how does that related to my question? :)
11:23<@planetmaker>for 16 digits precision you need 4 multiplications
11:23<@planetmaker>well... somewhat going by quadratic convergence
11:23<Eddi|zuHause>planetmaker: yeah, but that makes it log(n)*M(n)
11:23<+michi_cc>peter1138: For a Core 2 CPU multiplication is 1-2 cycles (depending on FPU/SSE) and sqrt is 6-69 (depending on number) under the assumption of proper inlining of the compiler
11:24<@peter1138>that's more like it :)
11:25<+michi_cc>sqrt on AMD CPUs has a lower upper bound generally, but a higher lower bound
11:26<+michi_cc>peter1138: for detailed info on all the specific cpu models
11:27<Eddi|zuHause>peter1138: what i'm trying to say was: "it's probably less expensive"
11:27<Eddi|zuHause>i mean "1 sqrt is less expensive than 100 multiplications"
11:29<@peter1138>about 10 ? :p
11:31<@peter1138>basically it doesn't matter
11:31<@peter1138>so i don't care now. but thanks :)
11:32-!-xiong [] has quit [Ping timeout: 480 seconds]
11:33<@peter1138>i guess the case that makes sense to change is where you can do 1 * instead of 1 sqrt
11:34<@peter1138>actually worse than that. duh.
11:34<@peter1138>in this case i can do 1 * instead of n sqrt :S
11:35<@peter1138>that's just poor, hehe
11:35<+michi_cc>Estimating a proper cutoff is difficult if you're not fixed on a specific CPU, but I'd say up to 10 muls is probably faster than one sqrt
11:36-!-X-2 [] has joined #openttd
11:37<@peter1138>in one case, drawing a sphere in 3d. tests n * n * n locations, with a sqrt() at each. or i just do one r*r at the start... yes...
11:39<@peter1138>hmm... atan2(dy, sqrtf(dx * dx + dz * dz)) -> atan2(dy * dy, dx * dx + dz * dz) ?
11:41<+michi_cc>Only if you don't care about correctness ;)
11:41<@peter1138>hence the ?
11:42<Hirundo>Is dy always positive?
11:43<@peter1138>good point, no.
11:43-!-Strid [] has joined #openttd
11:43<CIA-2>OpenTTD: rubidium * r21828 /trunk/known-bugs.txt: -Document [FS#4415]: that the station build date is the date of the last construction action
11:46<Eddi|zuHause>that's a "bug"?
11:46<@Rubidium>some think it is...
11:47<@Rubidium>so the next time it gets reported we can just close it right away without explanation
11:48<@Rubidium>Eddi|zuHause: shows what kind of crap people can come up with when they just want to file as many bug reports as they can
11:49<@Rubidium>4413-4416 by one person in 2 minutes
11:50<@peter1138>that was weird, doing some benchmarking, got 4.5 seconds each time, unless i switched screen to another window. then i got 8.5 seconds
11:51<@peter1138>pretty sure it was just a coincidence on what else the system was doing though :)
11:53<@peter1138>(incidentally the non-sqrt version of the sphere code is about 4-5 * faster)
12:00-!-Zuu [] has joined #openttd
12:02-!-frosch123 [] has joined #openttd
12:04<dihedral>Rubidium, george? :-P
12:09<@Rubidium>oh, you were telling me that I should go make myself some dinner, right?
12:09-!-LordAro [] has joined #openttd
12:09<@planetmaker>make me some, too?
12:09-!-tokai|mdlx [] has joined #openttd
12:09<@planetmaker>I'm hungry but not yet home :-(
12:10<@planetmaker>dihedral, you got a ppc mac?
12:10-!-nicfer [~nicfer@] has joined #openttd
12:10<@Rubidium>planetmaker: then you have to come and get it by car
12:10<@Rubidium>otherwise it'd be breakfast
12:11<@planetmaker> <-- dihedral could you check that in that case?
12:11<@planetmaker>or __ln__ could test that, too ;-) ^
12:12<@planetmaker>Hm... sounds... lengthy
12:13<__ln__>ok, i'll try once i get home
12:14-!-ZirconiumX [] has joined #openttd
12:15-!-tokai|noir [] has quit [Ping timeout: 480 seconds]
12:18-!-KenjiE20 [~KenjiE20@] has quit [Remote host closed the connection]
12:18-!-KenjiE20 [~KenjiE20@] has joined #openttd
12:19<@peter1138>hmm, the sqrtf is of course dwarfed by the atan2
12:19<@peter1138>but even so :)
12:19-!-Vitus [] has joined #openttd
12:32-!-torkil [] has joined #openttd
12:34<torkil>Anyone know about a stats generator for openttd? I want to set up a website that displays stats from our dedicated server.
12:35-!-Prof_Frink [] has joined #openttd
12:36-!-rhaeder [] has joined #openttd
12:39-!-|Jeroen| [] has joined #openttd
12:40<Ammler>torkil: something like ?
12:51-!-|Jeroen| [] has quit [Quit: oO]
12:53-!-fjb is now known as Guest589
12:53-!-fjb [] has joined #openttd
12:53-!-TrueBrain [~patric@] has quit [Ping timeout: 480 seconds]
12:56-!-Fast2 [] has joined #openttd
12:58<torkil>Ammler: Yes, perhaps something a bit more visually pleasing? :)
12:59<torkil>Ammler: Yes :)
12:59-!-ar3kaw [] has joined #openttd
13:00-!-Guest589 [] has quit [Ping timeout: 480 seconds]
13:00<torkil>Would be neat to see company stats, performance statistics etc
13:00-!-ar3k [] has quit [Read error: Connection reset by peer]
13:00<Ammler>it is based on a java tool:
13:00-!-nicfer [~nicfer@] has quit [Read error: Connection reset by peer]
13:01-!-|Jeroen| [] has joined #openttd
13:02<Ammler>oh, if you meant something like you can use openttdlib
13:03<Ammler>maybe is better example for that
13:07<dihedral>planetmaker, getting to it :-)
13:12*ZirconiumX is extremely happy
13:14-!-TrueBrain [~patric@] has joined #openttd
13:15<dihedral>hello TrueBrain :-)
13:16<dihedral>planetmaker, i cannot exactly call it a crash :-D
13:16<dihedral>more like some endless loop
13:19-!-a1270 [] has quit [Quit: Leaving]
13:21<@planetmaker>he, interesting, dihedral
13:21<dihedral>trying to find the last working version now :-)
13:21-!-a1270 [] has joined #openttd
13:21<@planetmaker>oh, that'll be helpful :-)
13:21<dihedral>21653 works :-)
13:25<dihedral>i have not downloaded that many openttd builds in a long time :-D
13:25<__ln__>"the game crashes (screen freezes)" says the bug report
13:26<dihedral>screen freezes can mean many things, but yes
13:26<dihedral>+ cpu usage goes up high
13:26*__ln__ compiling 21654
13:27<dihedral>21699 works fine ;-)
13:27<frosch123>someone remembers which scenario on bananas is the broken one with no available engines?
13:28<__ln__>dihedral: so what actually doesn't work?
13:28<dihedral>opening the minimap
13:28<__ln__>dihedral: but what revision
13:28<dihedral>either way
13:28<@Terkhen>dihedral: we suspect it is related to the "show owner legend feature"
13:29<dihedral>21766 is the one i know if, i am trying to find the first broken build
13:29<dihedral>Terkhen, you could have told me earlier :-P
13:29<@Terkhen>if our suspicion is right, the first revision affected is probably r21718
13:29<@Terkhen>sorry, I was not here :)
13:30<dihedral>i'll try
13:31-!-|Jeroen| [] has quit [Quit: oO]
13:31<dihedral>by the way - i can get hold of a rack of dual g4 xserve servers :-)
13:32<dihedral>anybody interested :-P
13:33<dihedral>21735 fails, just grabbing 21713
13:33<dihedral>which should confirm what you said, Terkhen
13:34<dihedral>21713 works fine
13:34<@Terkhen>thanks for checking that :)
13:35<@Terkhen>I'm working on a possible fix currently, I'll tell you once it's done so we can test if it works
13:36<dihedral>though how come it only shows on ppc
13:37<@planetmaker>dihedral: yes
13:37<dihedral>yes is not a valid answer :-P
13:37*Terkhen has no clue
13:37<@planetmaker>I'm interested ;-)
13:37<dihedral>and i only see one loop
13:38*dihedral starts compiling exact revisions
13:38<@Terkhen>hmm... do you know which loop is not finishing?
13:39<dihedral>like i said, i only see one in 21718's commit
13:41<dihedral>another loop
13:43<dihedral>if i knew how to create a complete test of openttd on my mac, i'd set it up to paste bugreports automatically :-P
13:43<LordAro>frosch123: can't remember exactly but it's version (or at end of name string) is 2.1.5...
13:44<frosch123>England and Wales
13:44-!-Brianetta [] has joined #openttd
13:45<dihedral>wow this mac is slow
13:45<dihedral>forgot it takes 20+ mins to compile openttd
13:46<CIA-2>OpenTTD: translators * r21829 /trunk/src/lang/ (15 files): (log message trimmed)
13:46<CIA-2>OpenTTD: -Update from WebTranslator v3.0:
13:46<CIA-2>OpenTTD: belarusian - 4 changes by KorneySan
13:46<CIA-2>OpenTTD: croatian - 2 changes by VoyagerOne
13:46<CIA-2>OpenTTD: czech - 1 changes by CrazyBenny
13:46<CIA-2>OpenTTD: dutch - 4 changes by habell
13:46<CIA-2>OpenTTD: english_US - 1 changes by Rubidium
13:46<LordAro>frosch123: yes :D
13:46<__ln__>the main goal of the project should really be optimizing for compile-time on mac.
13:46<dihedral>on 1.5 GHz ppc
13:47<@peter1138>rm *.cpp...
13:47<LordAro>frosch123: are you going to remove it, something?
13:47<__ln__>luxuries... 1.33 GHz here.
13:47<LordAro>peter1138: :D
13:47<Xaroth>rm -rf / ?
13:48<dihedral>personally i'd vote for ditching ppc support :-P
13:48<@Rubidium>I'd vote against it
13:49<__ln__>dihedral: why? i've understood that ppc support was never the problem with mac builds.
13:49<@Rubidium>ppc support isn't hard, you just need the appropriate hardware on an emulator
13:49<dihedral>it's not hard, but it still requires investing time
13:50<@Rubidium>but then just ditch supporting OSX ;)
13:50<@Rubidium>that frees way more time
13:50<__ln__>dihedral: ditching ppc is virtually the same as ditching big-endian support.
13:50<dihedral>but then planetmaker is obsolete :-P
13:50<@planetmaker>*pooof* :-P
13:51<@Rubidium>maybe planetmaker is interested in some physical ppc hardware to test OSX on
13:51<dihedral>__ln__, with the difference of one LE arch and 10 BE
13:51<@planetmaker>let's actually see what my ppc build does. Yes, planetmaker IS interested in it.
13:51*planetmaker certainly could put it to use
13:51<dihedral>i am not using mine :-)
13:51<ZirconiumX>dihedral, __ln__, both *real* luxuries - 1Ghz - and my old comp was 600Mhz
13:51<dihedral>only for debugging openttd
13:52<dihedral>planetmaker, want an xserve?
13:52<@planetmaker>I don't mind so much the speed. I can compile on this machine ;-)
13:52<@planetmaker>dihedral: yes
13:52<dihedral>if you want i'll find out how much one goes for
13:52<dihedral>i'll probably be able to push it quite low
13:54<@planetmaker>But I don't really want to spend personal money on that ;-)
13:55<@Terkhen>we should have a "buy planetmaker a ppc" fundraiser then
13:55<@planetmaker>well. e-bay has a lot of g4 stuff for in the range of 100 ... 300 € or so
13:55<@Terkhen>a "buy Terkhen a new laptop" fundraiser would be nice too
13:55<ZirconiumX>How fast - my good friend?
13:55<@Terkhen>but that might be even less related to OpenTTD :P
13:56<@planetmaker>but someone with a spare g4 could well support OpenTTD by sending it to me.
13:56<__ln__>a "buy a new Bjarni" fundraiser
13:56<@planetmaker>hehe @ Terkhen :-)
13:56<__ln__>planetmaker: i think that's the kind of request that could be written on main page, and somebody could even react.
13:57<@planetmaker>__ln__: IMHO the patch sequence which breaks your mouse cursor is a good move :-P
13:57*ZirconiumX donates £1 to PM's fund and to Terkhen's fund
13:57-!-Lakie [~Lakie@] has joined #openttd
13:57<ZirconiumX>It's a start
13:57<@planetmaker>it cleans up a lot ;-) - but you're right, __ln__ - putting it there might make sense
13:58<dihedral>if i give you my laptop, do i get the one pound?
13:58<dihedral>if you put it in there, if someone donates a laptop, openttd owns something
13:58<@planetmaker>depends: is it in working order?
13:58<dihedral>i am at it right now
13:58<__ln__>G4 is becoming something that people may have lying around with no purpose.
13:58<ZirconiumX>starting bid £0.99
13:58<dihedral>__ln__, me? :-P
13:59<__ln__>dihedral: obviously you are currently using it to debug openttd, that's a purpose. even *the* purpose.
14:00<dihedral>planetmaker, problem though, dvd drive is slightly hard to get a dvd out of - a knife helps though :-D
14:00<dihedral>+ it has about 2 to 3 pixel rows on the left hand side that are broken
14:00<@planetmaker>well... not a problem if it has a running system. Rest goes via network.
14:00<dihedral>10px in i'd assume
14:02-!-fonsinchen [] has joined #openttd
14:02<@planetmaker>might suffice for testing purposes
14:02<dihedral>that's what i am using it for :-P
14:02<dihedral>but like what ... once a year? :-D
14:07<dihedral>r21718 does crash, but it does not freeze like the other builds i looked at
14:08-!-lolman [] has quit [Ping timeout: 480 seconds]
14:09<__ln__>after several continues + breaks + backtraces, GetStringBoundingBox() is the one that it wouldn't seem to exit.
14:11*__ln__ recompiling with --enable-debug=3
14:12<@Terkhen> <--- can you please try if this solves the problem?
14:13<@planetmaker>hm, the ppc binary also hangs on my machine.
14:14<__ln__>Terkhen: i'll tell you in ~20 minutes
14:15<dihedral>i was just about to do the same
14:15<dihedral>but you were faster
14:15<dihedral>so i can get supper :-D
14:15<@planetmaker>bingo, Terkhen
14:16<@Terkhen>thank frosch123 for finding this :P
14:17<dihedral>thanks __ln__ and dihedral - oh, you're welcome :-P
14:17<@planetmaker>thank you frosch123 __ln__ and dihedral :-)
14:17<@Terkhen>yes, thanks :)
14:17<dihedral>ah, that's nothing, you are of course welcome, anytime, just give us a shout ... :-D
14:19<@planetmaker>hm... but *why* does that patch work?
14:19<@Terkhen>it seems that only the first member of an union is initialized by the macros
14:20<@Terkhen>what I don't know is why it worked at all before this patch
14:20<@peter1138>nobody tested it?
14:20<@planetmaker>hm, shouldn't it then (also) work to explicitly initalize the other two?
14:20<@Terkhen>I did, but I'm starting to doubt the quality of my testing :P
14:21<@Terkhen>planetmaker: how? in a static array you can _only_ initialize the first value
14:21<dihedral>and why only macs?
14:21<@peter1138>dihedral, endian
14:21<@planetmaker>only they are big endian
14:22<@planetmaker>intel macs work fine (at least here)
14:22<dihedral>endianess with an initialization issue?
14:22<dihedral>sure it's not just 10.4?
14:23<@planetmaker>dihedral: I compile (nearly) always against the 10.4 SDK...
14:23<@planetmaker>and the ppc binary hangs here w/o the patch and does not with. So... it's quite a strong indicator, I think
14:24<frosch123>dihedral: a union of uint8 and uint32 is supposed to fail on big endian
14:25<frosch123>the default initialiser can only initialise the first member, which is uint32 in this case
14:25<frosch123>thus on little endian it can be used to initialise the uint8 just as well, but big endian fails
14:30-!-andythenorth [] has joined #openttd
14:34<andythenorth>evenings :)
14:35<@Terkhen>hi andythenorth
14:36<@planetmaker>hello andythenorth
14:40<CIA-2>OpenTTD: terkhen * r21830 /trunk/src/smallmap_gui.cpp: -Fix: Deunionize a union which was not initialized correctly.
14:41-!-goblin [] has joined #openttd
14:41<__ln__>Terkhen: sí, no se congela más en PPC.
14:41<@Terkhen>perfecto __ln__, muchas gracias :)
14:42*Terkhen learned a lot of random facts about unions today
14:43<@Terkhen>enough facts to avoid their use unless necessary
14:43<@planetmaker>quite indeed. same here
14:44-!-Lakie [~Lakie@] has quit [Quit: brb]
14:44-!-Biolunar [] has joined #openttd
14:44-!-Lakie [~Lakie@] has joined #openttd
14:47<fonsinchen>probably the Mac OS compiler at some point decided that enums should be mapped to 32 bits instead of 8 bits, even if the max value is 255 (i.e. Owner or CompanyID).
14:48<fonsinchen>This probably created the "hole" in the union.
14:50<@planetmaker>fonsinchen: read above. It's a big endian problem only.
14:50<@planetmaker>and will fail on any big endian, if I understand that correctly
14:50<fonsinchen>yes, I was just wondering why it worked on my PPC half a year ago.
14:51<@planetmaker>then the union wasn't there
14:53<fonsinchen>It was introduced on May 7th
14:53<fonsinchen>ok, maybe that was after my test.
14:53<dihedral>why would you use unions anyway?
14:53<dihedral>to what benifit?
14:53<fonsinchen>saves memory
14:54<dihedral>how much?
14:54<fonsinchen>not much, in that case. About 2 bytes per legend item
14:54<dihedral>if each tile in the map array uses a union, i could probably understand, but we do live in the time where a few GB of RAM is quite common :_P
14:57-!-ZirconiumX [] has quit [Quit: ajax IRC Client]
14:59<Chris_Booth>good evening all
15:00-!-andythenorth_ [] has joined #openttd
15:05-!-andythenorth [] has quit [Ping timeout: 480 seconds]
15:13<@Terkhen>in this case the benefit is negligible
15:13<@Terkhen>hi Chris_Booth
15:13<Chris_Booth>hi Terkhen
15:19-!-Fast2 [] has quit [Ping timeout: 480 seconds]
15:22-!-fonsinchen [] has quit [Ping timeout: 480 seconds]
15:25<@Rubidium>dihedral: how's splitting that patch going?
15:26<dihedral>how much time can you give me?
15:26<dihedral>i.e. do i get the next weekend? or not :-P
15:26<@Rubidium>not if you want it to be in beta4 ;)
15:26-!-torkil [] has quit [Quit: Linkinus -]
15:26<dihedral>when do you want to release that?
15:27<dihedral>tomorrow or the day after
15:27<@Rubidium>but branching will probably be mid february
15:27<dihedral>might bbe able to finish it up tomorrow evening
15:28<@Rubidium>only if you really really want it to be in beta4 ;)
15:28<@Rubidium>instead of beta5 or rc1 or something like that
15:28-!-KritiK [] has joined #openttd
15:28<dihedral>i'll do my very best :-)
15:42-!-dfox [] has joined #openttd
15:44-!-DDR [] has joined #openttd
---Logclosed Mon Jan 17 15:57:07 2011
---Logopened Mon Jan 17 16:01:18 2011
16:01-!-mikegrb [] has joined #openttd
16:01-!-Irssi: #openttd: Total of 111 nicks [7 ops, 0 halfops, 2 voices, 102 normal]
16:01-!-Netsplit <-> quits: Mikael, zodttd, Eddi|zuHause, Noldo, murr4y, dfox
16:02-!-Fast2 [] has joined #openttd
16:02-!-Netsplit <-> quits: DanMacK, Sacro
16:02-!-Irssi: Join to #openttd was synced in 96 secs
16:02-!-Netsplit <-> quits: PeterT, a1270, Born_Acorn
16:03-!-Netsplit over, joins: dfox, Born_Acorn, PeterT, a1270, Sacro, DanMacK, Mikael, murr4y, Noldo, zodttd (+1 more)
16:03-!-CIA-2 [~CIA@] has joined #openttd
16:03-!-glevans2 [] has joined #openttd
16:03-!-Keiya [kyevan@thay.Stanford.EDU] has joined #openttd
16:03-!-Belugas [~belugas@] has joined #openttd
16:03-!-Markavian [] has joined #openttd
16:03-!-tokai|mdlx [] has joined #openttd
16:03-!-Rubidium [] has joined #openttd
16:03-!-FauxFaux [] has joined #openttd
16:03-!-Andel [] has joined #openttd
16:03-!-verm__ [] has joined #openttd
16:03-!-lasershock [] has joined #openttd
16:03-!-Guest178 [] has joined #openttd
16:03-!-Fuco [] has joined #openttd
16:03-!-kamnet [] has joined #openttd
16:03-!-ar3kaw [] has joined #openttd
16:03-!-DDR [] has joined #openttd
16:03-!-ServerMode/#openttd [+oov Belugas Rubidium Rubidium] by
16:03-!-mode/#openttd [+v Belugas] by ChanServ
16:06<__ln__>dihedral: do you also see two mouse cursors in trunk in windowed mode?
16:06<dihedral>i just don't think i should bother
16:07<__ln__>dihedral: good, then i'm not alone
16:08-!-planetmaker [] has left #openttd []
16:11-!-supermop [] has joined #openttd
16:19-!-planetmaker [] has joined #openttd
16:19-!-mode/#openttd [+o planetmaker] by ChanServ
16:20-!-fonsinchen [] has joined #openttd
16:26-!-xiong [] has joined #openttd
16:28-!-andythenorth_ [] has quit [Ping timeout: 480 seconds]
16:28<@Rubidium>fonsinchen: when pressing "deselect all" in the linkview you "unselect" the saturation legenda as well
16:32<fonsinchen>Oh. Thanks, I'll have a look.
16:33-!-DanMacK [~DanMacK@] has quit [Read error: Connection reset by peer]
16:36-!-frosch123 [] has quit [Remote host closed the connection]
16:37-!-DDR [] has quit [Ping timeout: 480 seconds]
16:39-!-LordAro [] has quit [Ping timeout: 480 seconds]
16:49-!-DanMacK [~DanMacK@] has joined #openttd
16:54<@Terkhen>good night
16:57<supermop>good night
16:57<DanMacK>Night Terkhen
17:01<z-MaTRiX_nonidentified>This is Eternity
17:06-!-Eddi|zuHause2 [] has joined #openttd
17:06-!-Eddi|zuHause [] has quit [Read error: Connection reset by peer]
17:09-!-Eddi|zuHause2 is now known as Eddi|zuHause
17:12-!-Adambean [] has quit [Quit: Gone fishing]
17:29-!-KouDy1 [] has joined #openttd
17:33-!-Kurimus [] has quit []
17:34-!-Fast2 [] has quit [Ping timeout: 480 seconds]
17:35-!-supermop [] has quit [Quit: supermop]
17:39-!-fonsinchen [] has quit [Remote host closed the connection]
17:40-!-Fixer [~Fixer@] has joined #openttd
17:41-!-DDR [] has joined #openttd
17:43-!-Fast2 [] has joined #openttd
17:44<Fixer>I see some weird behavior in the GRF options menu - i got ?????? in preset dropdown menu instead of cyrillic text
17:44<Fixer>which was saved earlier (since 1.0*)
17:45<@Rubidium>that sounds like your current font doesn't understand cyrillic
17:45<@Rubidium>or something messed with the encoding of the configuration file
17:47<Fixer>encoding in config
17:47<Fixer>now it saves in utf8
17:49-!-DDR [] has quit [Ping timeout: 480 seconds]
17:49<@Rubidium>"it" being what?
17:50-!-Vitus [] has quit [Quit: Good bye]
17:51-!-yorick [] has quit [Remote host closed the connection]
17:51<Fixer>early text of presets in config was in another codepage, now openttd saves in utf8 / unicode
17:51<Fixer>so i just edited my config and it is ok now
17:53-!-Biolunar [] has quit [Remote host closed the connection]
17:54<@Rubidium>odd thing is that OpenTTD works internally (and thus in openttd.cfg) with utf8 since 2006 and presets were only added in 2009
17:54<@Rubidium>so it's not like OpenTTD changed the encoding of the file in the last 4 years
17:55<Fixer>maybe because i use another font?
17:56<Fixer>i changed it since some 1.0* release
17:56<Fixer>was too small for my eyes
17:56<Fixer>set it up to Arial
17:56<@Rubidium>so you opened the configuration file in some text editor, edited it and saved it
17:57<@Rubidium>which is a perfectly good way to get the encoding of the configuration file ruined (if the editor is incorrectly configured for utf-8 files)
17:57<Fixer>could be
17:58<Fixer>maybe it was notepad %) or scite
18:12-!-Progman [] has quit [Remote host closed the connection]
18:22-!-Fast2 [] has quit [Ping timeout: 480 seconds]
18:22<Eddi|zuHause>this wouldn't have happened if we had a font picker ingame.
18:23<Fixer>yes :)
18:23<Xaroth>Eddi|zuHause is making one I take it? :P
18:24<Eddi|zuHause>dream on.
18:24<Eddi|zuHause>actually, i think there was a patch for it, but it had some problems
18:27-!-DanMacK [~DanMacK@] has quit [Quit: Bye for now!]
18:28-!-Zuu [] has quit [Ping timeout: 480 seconds]
18:31-!-Cybertinus [] has quit [Remote host closed the connection]
18:36-!-KouDy1 [] has quit [Quit: Leaving.]
18:42-!-supermop [] has joined #openttd
18:54-!-Brianetta [] has quit [Quit: Tschüß]
18:57-!-nicfer [~nicfer@] has joined #openttd
18:57-!-xiong [] has quit [Ping timeout: 480 seconds]
18:59-!-goblin [] has quit [Quit: leaving]
19:08-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
19:10<kamnet>Wow, I slept my whole day away
19:16<kamnet>yeah, they changed my work schedule so I now have Sun-Tues off. :-(
19:17-!-Fixer [~Fixer@] has left #openttd []
19:18-!-Fixer [~Fixer@] has joined #openttd
19:19<supermop>wierd schedules are always worse than you think
19:20<kamnet>It's only bad because I'm back to working Saturdays which interferes with my son's Boy Scout activities.
19:23-!-Fixer [~Fixer@] has left #openttd []
19:23-!-Pulec|XNB [] has joined #openttd
19:27-!-Pulec [] has quit [Ping timeout: 480 seconds]
19:32<supermop>I have to work every saturday,
19:32<supermop>it has made it so difficult to see people
19:36-!-Mazur [] has quit [Ping timeout: 480 seconds]
19:43-!-X-2 [] has quit [Remote host closed the connection]
20:08-!-KenjiE20 [~KenjiE20@] has quit [Quit: WeeChat 0.3.4]
20:08-!-Eddi|zuHause [] has quit [Remote host closed the connection]
20:09-!-Eddi|zuHause [] has joined #openttd
20:09-!-supermop [] has left #openttd []
20:17-!-pugi [] has quit [Quit: I reject your reality and substitute my own]
20:17-!-lugo [lugo@] has quit [Read error: Connection reset by peer]
20:27-!-Fuco [] has quit [Ping timeout: 480 seconds]
20:35-!-DDR [] has joined #openttd
20:40-!-kamnet [] has quit [Quit: ajax IRC Client]
20:47<@SmatZ>wow I can hear the river here
20:47<@SmatZ>and it's pretty far :)
20:50<@SmatZ>hmm no, it wasn't the river
20:50<__ln__>or at least was pretty far
21:07<Eddi|zuHause>if the river comes over here, we really are in trouble. :p
21:10<Eddi|zuHause>(i mean, i'm like 5km distance to the river, and like 30m higher :p
21:15<Eddi|zuHause>hm... it's more like 50m
21:32-!-KritiK [] has quit [Quit: Leaving]
21:36-!-dfox [] has quit [Ping timeout: 480 seconds]
21:59<Chris_Booth>I super drunk, this is frist time in 4 months!!!!!!!!!
21:59<Chris_Booth>wow I have been missing my good friend
22:02-!-Lakie [~Lakie@] has quit [Quit: Sleep.]
22:03-!-tokai|noir [] has joined #openttd
22:09-!-tokai|mdlx [] has quit [Read error: Operation timed out]
22:13-!-Chris_Booth_ [] has joined #openttd
22:19-!-Chris_Booth [] has quit [Ping timeout: 480 seconds]
22:19-!-Chris_Booth_ is now known as Chris_Booth
22:30-!-lugo [lugo@] has joined #openttd
22:46-!-zodttd [] has quit [Quit: zodttd]
22:52-!-Chris_Booth [] has quit [Ping timeout: 480 seconds]
23:00-!-glx [glx@2a01:e35:2f59:c7c0:88d1:7a5:727d:699c] has quit [Quit: bye]
---Logclosed Tue Jan 18 00:00:35 2011