IRC logs for #openttd on OFTC at 2007-09-03
⏴ go to previous day
00:17:09 *** Greyscale has joined #openttd
01:31:25 *** Eddi|zuHause2 has joined #openttd
01:43:15 *** Ben_1 is now known as _Ben_
01:52:38 *** goddamnit has joined #openttd
02:10:12 *** Dephenom has joined #openttd
02:53:59 *** Ben_1 is now known as _Ben_
03:15:49 *** nairan_zzZZ has joined #openttd
04:10:52 *** nairan_zzZZ is now known as mcbane
06:05:58 *** ITSBTH_ has joined #openttd
06:21:40 *** SquireJames has joined #openttd
06:21:50 <SquireJames> Hellooo :) quick request
06:22:30 <SquireJames> I'm wanting to re-create an old "Blood and Custard" Carriage I made long ago (for the BR set no less) but i no longer have a copy of the pallette
06:23:15 <SquireJames> is there a sample pcx with all the pallette colours labelled on it, or is there a way to make Photoshop only use 256 colour?
06:25:37 <SquireJames> anyone have a pcx of the pallette or know where to get one?
06:28:36 <SquireJames> hmm my docs just has txts files about the 32bpp project, changelog, multiplayer and known bugs
06:28:43 <SquireJames> no pallette-y looking things
06:28:50 <svip> It has some .png images.
06:29:01 <svip> Well, one png image and one gif image.
06:31:23 <SquireJames> I'm afraid theres no pcx or pngs in my docs folder
06:31:42 <svip> If you get the source from svn or hg.
06:32:23 <SquireJames> okay, i'll download it via SVN again then
06:32:48 <SquireJames> Already had it in one folder, but no gif or png
06:32:55 <svip> Look for the file ottd-colour-palette.gif in docs/
06:33:31 <SquireJames> hehe, just noticed, one of the languages defined in the source files is Esperanto
06:33:44 <svip> And none of them is Klingon?
06:33:44 <SquireJames> either one of the coders likes obscure languages
06:33:55 <SquireJames> or there is a Red Dwarf fan aboard
06:34:12 <SquireJames> OpenTTD would be, interesting, in Klingon
06:34:23 <svip> I have created my own artificial language.
06:34:29 <svip> And I am going to translate OpenTTD into it.
06:34:34 <svip> Even if only I am going to use it.
06:35:25 <SquireJames> i'm not sure they ever intended klingon to write the words "First Bus arrives at Qo'NoS Transfer"
06:36:03 <SquireJames> I supposed you'd have to use the word "Transport" or "Shuttle" for bus
06:36:23 <svip> They could translate the Helmet to Klingon.
06:36:30 <svip> So I think OpenTTD would be piece of cake.
06:37:21 <SquireJames> Screw the Martian climate, lets make a Klingon Colony climate ;)
06:37:54 <SquireJames> A Klingon themed transport game, unique i'd say
06:38:03 <svip> o_O It makes you wonder why no one has made a Lord of the Rings scenario yet.
06:38:28 <svip> I'd make the first direct link between Mount Doom and the White City.
06:38:50 <SquireJames> mountains might be a bugger though
06:39:13 <SquireJames> and the sequel to our klingon game, "Frozen Penal Colony Tycoon"
06:39:59 <svip> Oh they are so gonna sue.
06:40:18 <svip> With "why did you come up with that idea before us? ;-;"
06:40:48 <SquireJames> amazing, i came up with a tycoon game that no-one has made yet, i thought that was impossible
06:41:34 <SquireJames> I mean, with "Deep Sea Bass Fishing Tycoon" in Wal-mart, i thought every miserable tycoon cash in had been exhausted
06:42:14 <svip> I've never been in a Wal-Mart so I wouldn't know.
06:43:27 <SquireJames> Just think Asda but bigger and cheesier
06:44:46 <svip> Isn't that some chain in the UK?
06:45:09 <SquireJames> Yes, so where are you from then? :)
06:51:54 <SquireJames> found the pallette :)
06:52:08 <SquireJames> one quick question, what colour defines the secondary colour?
06:52:22 <SquireJames> i know that dark blue is replaced by the primary
06:52:43 <svip> Actually, I don't know that much about the colours.
06:53:12 <SquireJames> so any where thats a particular shade of blue changes depending on company colour
06:53:32 <SquireJames> but since i last did this grf stuff they've introduced secondaries
06:54:12 <svip> I'd search the source for that.
06:58:08 <SquireJames> well im editing the UKRS, soo, i've found a train i know uses secondary colour on a specific part
06:58:17 <SquireJames> and it appears to be a lime green colour
06:58:24 <SquireJames> so i'll give it a go
07:02:58 <SquireJames> great :/ all it does is crash openttd
07:03:31 *** BobingAbout has joined #openttd
07:07:21 *** De_Ghost has joined #openttd
07:22:42 <SquireJames> well, i got it to work, just need to figure out the matching Post Vans for the era
07:23:19 <svip> I am watching a live streaming video in Estonian.
07:23:25 <svip> I don't understand Estonian.
07:23:36 <svip> Perhaps that's what makes it interesting.
07:25:07 <SquireJames> Is Estonian as puzzling a language as Suomi?
07:26:35 <svip> To me, they sound a lot alike.
07:26:44 <svip> I know Estonian is simpler than Finnish.
07:27:06 <svip> And besides they are from the same language family.
07:27:14 <ln-> They are similar in the linguistical sense, but a Finnish speaker doesn't understand too much of what Estonians say and vice versa.
07:27:29 <svip> They are like Danish and Swedish, aye?
07:27:49 <svip> They sound alike to a Greek, but not to the one who speaks them.
07:28:13 <SquireJames> well, when I was modding Blitzkrieg i tried to pick upsome Suomi, just things like Assault Gun, Infantryman etc
07:28:16 <ln-> Danish and Swedish are definitely closer to each other than Estonian and Finnish.
07:28:34 <svip> I understand a lot of Swedish, without ever bothering learning it.
07:28:38 <SquireJames> everything seemed to have 6 letter "A"s and lots of little funny dots
07:29:18 <ln-> And there are a lot of words that look the same but mean completely different things.
07:29:24 <svip> Ma ei räägi eesti keelt.
07:29:42 <svip> Shush, ln-, that is the case with almost any language.
07:31:41 <ln-> Interestingly, Estonian has quite many loan words from German and such, while Finnish has loaned from Russian.
07:32:27 <ln-> And of course Finnish has loaned from Swedish, too, but some words that people don't even consider loan words are from Russian.
07:41:38 <SquireJames> I think the Suomi language has alot to do with why Finland has the highest suicide rate in the world
07:42:04 <svip> I thought Japan had that record, SquireJames.
07:42:51 <TrueBrain> and today, we are going back to the univercity
07:43:02 <svip> Already been there for a week.
07:43:25 <SquireJames> ookay, highest in Europe ;0
07:43:27 <TrueBrain> euh, yeah..... good for you
07:44:43 *** ThePizzaKing has joined #openttd
07:47:34 <SquireJames> Can I ask something that may be slightly stupid
07:49:08 <SquireJames> programmer to programmer, what is basically causing the hiccups with the newindustry switch?
08:02:44 *** Dark_Link^sleep is now known as Dark_Link^skola
08:20:15 *** Darkebie has joined #openttd
08:23:22 *** ThePizzaKing has joined #openttd
08:33:27 *** Deathmaker has joined #openttd
08:44:02 *** Dephenom has joined #openttd
08:48:56 *** Tino|R152 has joined #openttd
08:59:12 *** Vikthor has joined #openttd
09:05:06 *** Dephenom has joined #openttd
09:08:40 *** ChanServ sets mode: +o Bjarni
09:21:10 <ln-> does someone know a library for reading RTSP streams?
09:22:07 <peter1138> i've got a libgstrtsp
09:22:20 <peter1138> no doubt involves having to use gstreamer all the way
09:27:31 <ln-> doesn't sound mac and windows friendly...
09:27:42 <ln-> now i found something called libnemesi.
09:33:10 *** plaes_ is now known as plaes
09:59:43 <Bjarni> ln-: what are you trying to do?
10:00:09 <Bjarni> and don't say "reading RTSP streams" :P
10:01:12 <Bjarni> sounds like you are trying to do something to our great game (since you need it to work on several platforms), but the question is what? :)
10:02:21 <ln-> actually it doesn't have anything to do with OTTD as far as I can see.. i'm just abusing the expertise of the channel. :)
10:03:19 <Bjarni> then why do you need it to be portable?
10:05:42 <ln-> i'm writing portable software
10:16:02 *** ITSBTH_ has joined #openttd
10:26:12 *** blackjak has joined #openttd
10:53:01 <Bjarni> so he allowed us to have 12 sec to reply before he left
10:53:27 <Bjarni> even busy channels can be idle for 12 secs :P
10:58:22 <guru3> wow, flashback, just found my patch for banning :O
11:00:19 * Bjarni sets mode +b *!*guru@*
11:00:36 <guru3> banning in multiplayer mode :>
11:01:37 <guru3> but i had to get the url in there
11:01:48 <guru3> adding it to my 'historical code' folder
11:03:05 <guru3> when i was doing a bit of C
11:03:10 <guru3> and also playing much openttd
11:05:09 <Bjarni> and then it all went downhill from there :P
11:05:32 <guru3> well after about 3 months of solid openttd playing
11:05:34 <guru3> i got a bit tired of it
11:05:43 <guru3> in the meantime i also wrote a remoteadmin patch
11:05:57 <guru3> and then also a few pages
11:06:05 <guru3> 6 hours a day of openttd
11:06:26 <Bjarni> it's nowhere near any record
11:09:56 <Bjarni> I once saw a test on TV. They wanted to see how people deal with lack of sleep while making important decisions all the time, so they made two men play TT for... I think it was somewhat more than 20 hours
11:10:19 <Bjarni> now that's a paid test subject that didn't mind the work
11:11:38 <Bjarni> I told my brother and he said that they picked the wrong guys for it because I was bound to play at least twice as long
11:12:35 <Bjarni> the longest I ever played was until I was blinded by the sunrise :s
11:12:46 <Bjarni> then I realised that I better get to bed
11:12:56 <Bjarni> it was mid summer though
11:12:59 <guru3> i used to wake up early on the weekends
11:13:03 <guru3> and play TT until lunch time
11:13:52 <Sacro> i've had a 40 hour session before
11:13:59 <Sacro> i think RichK was there most of it too
11:14:46 * Bjarni wonders how long it will take for the brainiacs to figure out that early sunrise during the summer contribute to global warming (in other words: human caused) and should be prevented
11:15:13 <guru3> wow just found a picture so old i was using windows
11:15:33 <Bjarni> you found a relic from the dark ages
11:15:44 <guru3> i think it's at least 2 years
11:16:07 <guru3> i was still using an AT keyboard then
11:16:46 <guru3> ooo just found my demo video of compiz :D
11:18:50 <peter1138> my current version of compiz breaks opengl :o
11:19:26 <guru3> 4 workspaces isn't enough
11:20:12 <guru3> that was sort of fun to watch though
11:21:07 <peter1138> there's no limit of 4 for me
11:21:31 <peter1138> ah... 8 * 4 should be enough ;)
11:22:28 <guru3> for a while it increased productivity for me
11:22:29 <peter1138> although vertical isn't accessible when using the cube
11:22:31 <guru3> and then it decreased again
11:44:59 *** thgergo has joined #openttd
11:48:58 *** TinoM|Mobil has joined #openttd
11:48:59 <Rubidium> elmex: why do you keep highlighting me for no apparant reason?
11:49:23 <elmex> Rubidium: heh, because i was in search for you
11:50:01 <elmex> Rubidium: do you know when 'Transport Credits' are viewed in the vehicle info? it seems as it is always 0 here
11:54:11 <Rubidium> it works as it should
11:54:20 <elmex> ok, when are they not 0
11:55:06 <Rubidium> when the vehicle is moving transfered people, i.e. people that have been put using the transfer order, NOT the unload order on the station
11:56:15 <Rubidium> it's not quite the question that only I could answer
12:00:33 *** frosch123 has joined #openttd
12:05:11 <Bjarni> generally people should just ask in this channel instead of asking for specific people or asking if they are allowed to ask questions
12:05:39 <Bjarni> technically asking if they can ask questions would be a question, so they already violated the rules if the answer is no :P
12:11:53 *** Diabolic-Angel has joined #openttd
12:22:44 <ln-> i already thought Bjarni was saying "w" about something :)
12:39:57 *** Diabolic-Angel has quit IRC
12:49:32 *** redmonkey has joined #openttd
13:43:56 *** NukeBuster has joined #openttd
13:52:35 *** Progman has joined #openttd
13:58:14 *** Greyscale has joined #openttd
14:08:04 <MrBrrr> For debug purposes (to print out some values to the console), I assume the DEBUG(...) function is used?
14:11:36 *** Digitalfox_Notebook has joined #openttd
14:12:16 <Digitalfox_Notebook> !seen richk67
14:12:17 <_42_> Digitalfox_Notebook,RichK67 (~RichK67@194.164.100.143) was last seen quitting #openttd 1 week 2 days 14 hours 29 minutes ago (24.08. 23:42) stating "Quit: RichK67" after spending 49 minutes there.
14:12:43 <Digitalfox_Notebook> Holidays maybe...
14:13:48 <Digitalfox_Notebook> !seen skidd13
14:13:49 <_42_> Digitalfox_Notebook,skidd13 (skidd13@p548A551D.dip.t-dialin.net) was last seen parting #openttd 16 hours 8 minutes ago (02.09. 22:05), after spending 1 hour 42 minutes there.
14:23:24 *** NukeBuster has joined #openttd
14:25:52 *** thgergo has joined #openttd
14:30:53 *** NukeBuster has left #openttd
14:35:05 *** thgergo has joined #openttd
14:40:43 *** ChanServ sets mode: +v tokai
14:46:20 *** thgergo has joined #openttd
14:54:28 *** Digitalfox_Notebook has quit IRC
15:12:43 *** eggburt has joined #openttd
15:13:17 <eggburt> experimental vehicles should have an increased chance of breaking down, cause the kinks haven't been worked out yet
15:14:05 <MrBrrr> Anyone care to remind me of what the ^= means in "v->vehstatus ^= VS_STOPPED;" ?
15:14:48 <MrBrrr> Ohhhh. Thanks a bunch.
15:15:03 <MrBrrr> Law classes are starting to make my brain forget pretty basic stuff.
15:20:37 *** skidd13 has joined #openttd
15:21:19 <_42_> skidd13, you know that the length of nicks is limited, don't you?
15:23:08 *** Insight` has joined #openttd
15:37:39 <Bjarni> <MrBrrr> Law classes are starting to make my brain forget pretty basic stuff. <--- I thought they started by removing common sense, but you might already be past that part :p
15:39:58 <Bjarni> the you will be a good lawyer, who is able to sue for everything
15:40:08 <MrBrrr> You should see the list of things we have to forget on day one.
15:40:23 <MrBrrr> Nah, I'm going to be a prosecutor.
15:40:42 <Bjarni> like trees, that are 2 cm too tall and such
15:41:37 <MrBrrr> Isn't that a bit much?
15:43:55 <Bjarni> stranger things have been tried
15:45:59 <Bjarni> the rule about how tall trees are allowed to be is to prevent shadows where people can grow food
15:47:00 <Bjarni> so the law states a specific max, which is 2 meters+ 50 cm for every meter from the neighbour (or something like that). This gives room to argue about 2 cm if somebody really wants to
15:47:38 <Bjarni> usually it's used to say "your tree is 2 meters too tall and it's killing my crops"
15:47:58 <MrBrrr> 2 meters I can understand
15:48:33 *** Wezz6400 has joined #openttd
15:48:43 <Bjarni> there is a limit down to a specific number of cm and certain lawyers will use it if they want to
15:49:01 <MrBrrr> Wow, laws serving evil.
15:49:10 <Bjarni> to demand the whole tree being removed since the owner failed to "maintain" it
15:49:13 <eggburt> good lawyers if that lawyer is defending you
15:49:19 <eggburt> a jerk if he's defending the other guy
15:50:02 <Bjarni> you would be jailed for that
15:50:17 <Bjarni> it depends on where you live
15:50:20 <eggburt> also they might find you out and consider you appalling
15:50:43 <MrBrrr> Not the dreaded appalling rating :(
15:51:14 <Bjarni> then you lose the court case and your rating drops even more because you then have to remove a tree
15:51:21 <eggburt> oddly enough to make them hel you out you would have to grow more trees
15:51:31 <eggburt> what an odd world if it were a mix of real and tycoon
15:52:30 <MrBrrr> Yeah, a world where trains suddenly do a 180 degree turn when rails run out
15:52:35 <MrBrrr> What a world it would be ;)
15:52:48 <Bjarni> I could really have used that once
15:53:29 <Bjarni> would have solved everything at the time when we learned that we could not use a certain switch at the end of the line while we were at the end of the line >_<
15:54:02 <MrBrrr> Train conductor are you?
15:55:16 <Bjarni> the solution was to cancel the train and kick out all the passenger
15:55:37 <Bjarni> and reject everybody on the platform
15:55:52 <Bjarni> which is a combined total of 0 o_O
15:57:09 <MrBrrr> That's a lot of folks to reject.
15:57:13 <MrBrrr> A lots of tickets to refund.
15:57:22 *** Darkebie has joined #openttd
15:57:40 <Bjarni> the next part was a bit more fun
15:59:10 <Bjarni> after the train was cancelled, a new train was "created", this time a work train (not allowed to carry passengers), assigned a new number and such. Work trains don't have the demand to have the engine in front (other rules applies if they don't)
15:59:26 <Bjarni> so I guess it's the longest reverse that I have ever done
16:00:06 <Pulseh> Is there anyone here, where I can get some contact details, preferably an admin of Open Tycoon as I represent a Dedicated Server Hosting Provider
16:00:16 <Bjarni> fun to try, but I would have preferred to keep to the schedule :/
16:01:35 <Bjarni> well, I think it was the only trip that year where no passengers showed up at all, so one can say it was lucky timing
16:13:25 *** Greyscale has joined #openttd
16:15:54 *** skidd13 has joined #openttd
16:30:22 *** |Jeroen| has joined #openttd
16:51:59 <AntB> Anyone know where i can get a GRF editor of some description?
16:53:00 *** Diabolic-Angel has joined #openttd
16:58:51 <guru3> when was openttd at revision 1522?
16:59:38 <guru3> i just found a screenshot of it
16:59:41 <guru3> i know the date is Jan 15
16:59:46 <guru3> but the clock didn't have the year as well
17:00:37 <Rubidium> @openttd commit 1522
17:00:37 <DorpsGek> Rubidium: Commit by darkvater :: r1522 trunk/players.c (2005-01-15 10:04:04 UTC)
17:00:38 <DorpsGek> Rubidium: -Fix: warning players.c; forgot return type. Damn, makefile is too strict ;) (Thx Tron)
17:02:01 <guru3> man i have some old crap
17:02:45 <guru3> was so long ago that i was writing stuff for openttd
17:03:35 <guru3> like here i've got some age old shot of PBS
17:15:03 <svip> Is it possible to get the length of a string by its StringID?
17:16:04 <svip> main_gui.cpp:static int GetStringListMaxWidth(StringID base_string, byte count)
17:19:17 <glx> GetString() and GetStringBoundingBox()
17:20:52 <DorpsGek> guru3: Commit by truelight :: r1483 trunk/network_udp.c (2005-01-11 15:52:18 UTC)
17:20:53 <DorpsGek> guru3: -Fix: don't close a socket if it is already closed (windows doesn't like
17:20:54 <DorpsGek> guru3: it :() (partly tnx to tamlin)
17:21:19 <guru3> why do i have a 'openttd.r1483M.bigmap.zip'
17:21:49 <Rubidium> somebody was testing bigmaps at that time?
17:22:15 <DorpsGek> guru3: Commit by celestar :: r1481 trunk/window.c (2005-01-11 12:15:08 UTC)
17:22:16 <DorpsGek> guru3: -Fix: [ 1099891 ] Added a return in DispatchLeftClickEvent which prevents reading of free'd memory (tamlin)
17:23:31 <guru3> i have some random builds
17:27:29 <svip> glx, can I get the width of an entire string, or do I have to loop through each character?
17:28:06 <svip> It's just that it keeps crashing.
17:28:11 <svip> Error: !invalid string id 0 in GetString
17:29:05 <svip> Some of the one I am sure exists.
17:29:09 <svip> I am doing it in a loop.
17:30:46 <|Jeroen|> stop hitting yourself
17:31:09 *** skidd13 has joined #openttd
17:38:06 *** Nitehawk has joined #openttd
17:46:51 <svip> It keeps crashing when I select some option on the inner borders.
17:47:03 <svip> But when I select the same thing on the outer it doesn't.
17:47:13 <svip> Error: !invalid string id 0 in GetString
17:47:32 <svip> And it is not the same reason as before.
17:47:38 <svip> Have already checked that.
17:50:20 <svip> But it doesn't crash before of the inner strings.
17:50:28 <svip> It crashes because of the outer strings.
17:50:44 <svip> They apparently have a very low value, but not 0.
17:50:52 <svip> And I don't know how they get that.
17:52:13 <Rubidium> maybe due to parameters
17:55:33 <svip> Rubidium, want to see the source?
17:55:45 *** Sionide has joined #openttd
17:58:54 <glx> DrawString(y, 31, _outer_legends[i], GetColourByPosition(i)); <-- are you sure _outer_legends[i] is not INVALID_STRING_ID
17:59:14 <svip> Would that be a problem?
18:02:12 *** skidd13 has joined #openttd
18:03:29 <Rubidium> svip: when do you expect that memset to INVALID_STRING_ID to take place?
18:03:55 <svip> And then when they are updated.
18:04:02 <Rubidium> i.e. where is _(out|in)er_legends[0] set to 0?
18:05:03 <svip> if(!_outer_legends[0]) memset(_outer_legends, INVALID_STRING_ID, sizeof(_outer_legends));
18:05:03 <svip> if(!_inner_legends[0]) memset(_inner_legends, INVALID_STRING_ID, sizeof(_inner_legends));
18:06:17 <Rubidium> but when is _outer_legends[0] set for the first time, because when this should be that case, you're screwed.
18:06:45 <Rubidium> as it only memsets when _outer_legends[0] == STR_NULL
18:06:59 <svip> And defined in zoning_gui.cpp
18:07:09 <svip> StringID _outer_legends[ZONING_COLOURS];
18:07:09 <svip> StringID _inner_legends[ZONING_COLOURS];
18:08:14 <Rubidium> so it's garbage in the first run
18:08:40 <svip> Some suggested to initialise it in openttd.cpp
18:08:44 <Rubidium> so it will be garbage after the if (!_outer_legends[0])
18:08:44 <svip> Never got around to do that.
18:09:47 <Rubidium> so the chance that the stuff is memset to the INVALID_STRING_ID is 1/65536
18:10:23 <svip> But I don't want to memset it on every run of that function.
18:10:57 <Rubidium> now you've got a 1 in 65536 chance it goes correctly
18:11:12 <Rubidium> or rather 1/(65536*65536) chance as you've got two variables
18:13:23 <svip> Where should I initialise it then?
18:13:33 <svip> And where I have a 100% chance that it will happen.
18:15:51 *** Digitalfox_Notebook has joined #openttd
18:17:12 <svip> static void InitializeDynamicVariables() in openttd.cpp, Rubidium?
18:17:59 <Digitalfox_Notebook> !seen skidd13
18:17:59 <_42_> Digitalfox_Notebook,skidd13 (skidd13@p548A4ADE.dip.t-dialin.net) was last seen parting #openttd 14 minutes ago (03.09. 18:03), after spending 1 minute there.
18:18:15 <Digitalfox_Notebook> Damn didn't catch him again :|
18:18:24 *** Greyscale has joined #openttd
18:19:35 <Digitalfox_Notebook> svip: Not that simple.. My ISP is making an upgrade on my local adsl central to support vdsl, so it hangs a lot
18:22:10 <Digitalfox_Notebook> Also i'm playing onimusha 1 2 3 4, all day.. It's mutch more fun to do the whole story in a week than doin it it months..
18:23:00 <Digitalfox_Notebook> PS2 still have lot's of good games :)
18:41:37 *** Brianetta has joined #openttd
18:49:22 *** Farden123 has joined #openttd
18:55:42 *** Farden123 is now known as Farden
18:56:21 <peter1138> Bjarni, have you fixed my bugs yet/
18:56:47 <Bjarni> surprisingly bbl indicates that I'm elsewhere doing other stuff
18:58:00 <peter1138> oh, well you've had several months
18:59:34 <Ammler> Website: revision r11039, created at Mon Sep 3 20:00:06 CEST 2007. - <_42_> Ammler: Nightly -> every night at 19:00 UTC
18:59:51 <Ammler> is that because of summer time?
20:31:59 *** DorpsGek has joined #openttd
20:31:59 *** ChanServ sets mode: +o DorpsGek
20:32:34 <skidd13> the chat is really full, but damn quite
20:32:57 <svip> Quite means something else. :P
20:33:18 <skidd13> I really need more sleep ;)
20:34:06 <Bjarni> do you talk dirty or something?
20:34:42 *** svip was kicked by DorpsGek (99)
20:34:56 *** svip was kicked by Bjarni (99)
20:35:04 <TrueBrain> And we can do this all night long :p But okay, enough is enough :)
20:37:28 <Bjarni> I like bug report 1197
20:37:41 <Bjarni> some guy failed to find the autoreplace window
20:37:57 <Bjarni> then he posted a comment telling that he found it X)
20:38:17 <glx> he failed to see it in his screenshot
20:40:07 <Bjarni> I once posted a bug report for freecol. It was closed with something like it worked for the guy, who closed it.... they later learned that even though java is supposed to work the same on all platforms, certain functions works on some platforms and crashes others :s
20:40:37 <Bjarni> so you shouldn't be too quick to discard bug reports, but this one is... well needs to be closed :)
20:42:33 <AntB> Can anyone quickly tell me how breakdowns are worked out?
20:42:59 <TrueBrain> well, we send a man out on the rails
20:43:01 <TrueBrain> try to find your train
20:43:03 <Sacro> AntB: its when the magic smoke escapes
20:43:04 <TrueBrain> make him fix your train
20:43:38 <AntB> smartarse git, i meant the in game calculation
20:44:05 <SmatZ> glx I cannot display it
20:44:17 <SmatZ> is it some secret bug report?
20:44:29 <svip> If I refer to the zoning.h header.
20:44:35 <svip> It complains that it has already been defined there.
20:44:44 <svip> But I have made the definitions extern.
20:51:32 <svip> Even now that I assume they are initialised.
20:51:38 <svip> It works worse than ever.
20:54:15 <svip> Alternatively, I can just have a global bool checking wither or not they have been memset'd.
20:55:31 *** Frostregen has joined #openttd
21:04:05 <svip> Perhaps I am failing at using memset, Rubidium?
21:04:07 *** Ammller has joined #openttd
21:10:54 <Ammller> TrueBrain: 20:00 CEST is not 19:00 UTC, is it?
21:12:35 <Ammller> so something is confusing, webpage or _42_
21:13:54 <_42_> Ammller: Nightly -> every night at 19:00 UTC
21:13:56 <_42_> Ammller: 32bpp -> Sun, Tue, Thu at 22:00 UTC
21:13:58 <_42_> Ammller: newhouses -> Mon, Fri at 21:00 UTC
21:14:00 <_42_> Ammller: it currently is Mon Sep 3 21:13:53 UTC 2007
21:19:14 <Prof_Frink> _42_: Your clock's slow.
21:19:46 *** green-devil has joined #openttd
21:20:34 *** CobraA1 has joined #openttd
21:48:10 <Eddi|zuHause2> <svip> Wither or not I should but the declarations inside openttd.cpp. <- i told you so days ago...
21:54:14 <Eddi|zuHause2> <svip> Some suggested to initialise it in openttd.cpp <- and what is that?
21:54:42 <svip> Initialising it in openttd.cpp only made it worse.
21:54:56 <Eddi|zuHause2> only if you do it wrong :p
21:55:41 <svip> But it works fine as it is now.
21:55:48 <svip> I just want to know why it crashes.
21:55:51 <svip> Cause it seems unrelated.
21:55:57 <Eddi|zuHause2> Ammller: _42_ is wrong... it was always 20:00 local server time, so it changes with summer time
21:56:20 *** Progman has joined #openttd
21:56:31 <Ammller> Eddi|zuHause2: thats what I thought, thx.
21:56:54 <Eddi|zuHause2> svip: add debug output before the crash, to see if what you pass is really not 0
21:57:03 <Ammller> so it will be right in winter... :)
21:57:16 <svip> Last time I checked it was 24.
21:57:32 <Ammller> so we can say time will fix it self :)
21:57:45 *** stillunknown has joined #openttd
21:58:19 *** Greyscale has joined #openttd
21:59:01 <Eddi|zuHause2> then add more debug output, to see where the 0 comes from
21:59:30 <svip> o21 o22 o23 o24 o0 Aborted << Apparently _outer_legends[4]
21:59:38 <Eddi|zuHause2> PS: i absolutely do not understand what you want to do with "if(!_outer_legends[0])"
22:00:01 <svip> I have removed that bit, Eddi|zuHause2.
22:00:50 *** Digitalfox_Notebook has quit IRC
22:02:18 <svip> What is also odd, Eddi|zuHause2.
22:02:26 <svip> IS that the four before it has different values.
22:02:35 <svip> They are all supposed to be INVALID_STRING_ID.
22:08:41 <Eddi|zuHause2> then you apparently did not initialise it correctly...
22:09:13 <SmatZ> Eddi|zuHause2: I do not see the bug report... so I don't know what you can reproduce ... or you were joking and I didn't get it :)
22:09:35 <Eddi|zuHause2> i can reproduce not seeing the bugreport ;)
22:09:35 <svip> Eddi|zuHause2: I figured it out.
22:09:38 <svip> I have a pointer problem.
22:09:56 <svip> void ChangeZoningLegend(EvaluationMode ev, StringID *strings[])
22:09:59 <svip> StringID *strings[] << is the bad part.
22:10:28 <Eddi|zuHause2> "Perhaps you requested a task that does not exist, or you do not have permission to view the page you wanted."
22:10:52 <svip> I still need to know how I can have an array of StringID's, and then use it when I call the function.
22:11:03 <Eddi|zuHause2> svip: either * or []...
22:11:16 <svip> So it should return the list?
22:12:23 <Eddi|zuHause2> svip: an array is the same as a pointer
22:12:38 <svip> But I want to point at the array.
22:12:59 <Eddi|zuHause2> pointing to an array is the same as pointing to the first element of the array
22:13:48 <svip> src/zoning_gui.cpp:145: error: incompatible types in assignment of `StringID*' to `StringID[7]'
22:14:07 <Eddi|zuHause2> because array[1] is the same as *(array+1*elementsize)
22:15:00 <Eddi|zuHause2> and i have not enough information about what you are trying to do to help with that error...
22:15:15 <svip> _outer_legends = ChangeZoningLegend(_zoning.outer, _outer_legends);
22:15:30 <svip> _outer_legends is a StringID[7].
22:17:11 <Eddi|zuHause2> and what is the return type of ChangeZoningLegend?
22:17:38 <svip> :( I thought I had to return that to return an array of StringID.
22:18:44 <Rubidium> svip: how much experience do you have with C(++) and especially with unmanaged pointers?
22:18:52 <Eddi|zuHause2> that will probably not work if _outer_legends is a fixed size array... but i don't know if C(++) even has such a concept
22:19:19 <svip> Rubidium: I used to be good at it.
22:19:32 <svip> I am super rusty in the pointer area.
22:19:34 <Eddi|zuHause2> anyway, it is a global variable, you don't need to pass anything
22:19:57 <svip> There are two different global variables.
22:20:06 <Rubidium> ... two variables are passed to the function
22:20:07 <svip> And how do I tell the function then which it is?
22:20:33 <Eddi|zuHause2> hm, you can either merge them to one, or use templates :)
22:20:36 <thingwath> array != pointer ;)
22:21:01 <svip> Merge them into one would be a bad idea.
22:21:14 <svip> :/ And I have never worked with templates.
22:21:18 <svip> So I'll do the next best!
22:21:20 <Eddi|zuHause2> well _zoning_legends[2][?]
22:21:47 <svip> That would allow for a lot more borders in the future.
22:21:57 <Rubidium> why do you assign the variable you just passed into the function?
22:22:15 <Rubidium> especially when the return value (the pointer) isn't changed in that function
22:22:31 <Rubidium> only the values in the array the pointer points to are changed
22:22:33 <svip> :[ It doesn't return anything.
22:22:51 <svip> I'm going with Eddi|zuHause2's idea.
22:22:59 <Rubidium> the function not returning is good
22:23:36 <Rubidium> in this case that is
22:27:23 <svip> You are clearly wiser than me.
22:27:43 <Eddi|zuHause2> nah... i have no clue about C++ at all :p
22:28:38 <svip> Each time I close OpenTTD now I get a segmentation fault.
22:28:53 <svip> Must be because I don't free my buffer.
22:29:14 <Eddi|zuHause2> anyway, the template idea would have been to call ChangeZoningLayouts<_outer_legends>(_zoning.outer)
22:29:26 <Rubidium> freeing is technically not needed when closing an application
22:29:43 <svip> But it segfaults nonetheless.
22:30:02 <svip> But I had a buffer I used quite often in my draw function.
22:30:14 <svip> To figure out the length of each string, so I knew how to draw them.
22:30:15 <Eddi|zuHause2> segfaulting is if you try to access memory that you did not reserve first
22:30:48 <Eddi|zuHause2> compile with debug symbols, and get a backtrace
22:31:55 <Eddi|zuHause2> ./configure --enable-debug
22:32:08 <Bjarni> hehe. I just got a mail.... telling me about a meeting tomorrow
22:32:44 <Eddi|zuHause2> i previously got mail telling me that a meeting was cancelled
22:32:56 <Eddi|zuHause2> 30 minutes after i went to go to the meeting
22:33:24 <Bjarni> well... I mean it's pure luck that I read it before the meeting started
22:33:31 <svip> Stop teasing me with my obsession with Estonia.
22:33:50 <Bjarni> I wonder why they sent it to me as I'm not supposed to show up and I couldn't care less about it...
22:34:16 <Bjarni> I have no idea who those guys are, but they keep inviting me to their student meetings
22:34:49 <Eddi|zuHause2> i have seen mails like "top secret stuff, don't show anybody" which were sent out to the entire address book :p
22:35:00 <Bjarni> <svip> Stop teasing me with my obsession with Estonia. <--- I didn't do that
22:35:24 <svip> Because I blown your cover.
22:35:24 <Eddi|zuHause2> you kept back for an entire 35 minutes :p
22:35:50 * Bjarni reach out for the dictionary
22:35:55 <Bjarni> I don't know that word :(
22:36:12 <svip> <reemah> danish is really beautiful i think
22:36:39 <svip> Says an Arabic American.
22:36:59 <Bjarni> he is likely thinking about food though
22:37:12 <Bjarni> he didn't capitalise danish
22:37:37 <svip> reemah doesn't sound like a guy's name.
22:38:07 <Bjarni> IRC: the place where guys are guys, girls are guys and children are 40+ years old
22:38:08 <Eddi|zuHause2> and you actually believe a person on the internet stating to be female?!?
22:38:39 <Eddi|zuHause2> man, i can see how you can think i were wise :p
22:39:28 <svip> Bjarni, I have met her in Real Life.
22:40:46 <Bjarni> well... I replied based on the info you had given me at the time of my reply. Now you add new info to disqualify my reply. That's not fair
22:42:02 <Bjarni> well... say 1% of the females on IRC are actually females
22:42:28 <svip> I'd say between 1% and 5%.
22:42:53 <TrueBrain> let's see... 90 people
22:42:57 <TrueBrain> so 5 of them have to be female
22:43:00 <svip> It is quite easy to detect which is a female.
22:43:05 <TrueBrain> ahum: all females, say ai!
22:43:15 <svip> Of those who claim to be female.
22:43:19 <TrueBrain> at least is is < 1% :p
22:43:46 <svip> >:O And gdb is being a bitch.
22:44:06 <Bjarni> no. He is going to merry that Estonian chick
22:44:14 <Bjarni> and he thinks so too... I think
22:44:40 <Eddi|zuHause2> TrueBrain: he said 5% of people who state they were female
22:44:46 <Bjarni> svip: it's no good to marry both a woman and gdb at the same time :P
22:44:58 <svip> That's why I am not going to marry gdb.
22:45:02 <svip> I'd rather kill it right now.
22:45:07 <svip> Cause it is making me angry. >:O
22:45:15 <svip> It can't even run itself.
22:45:29 <TrueBrain> [00:44] <Eddi|zuHause2> TrueBrain: he said 5% of people who state they were female <- you are just a tiny bit slow, he already said... read before reply :p
22:45:48 <Eddi|zuHause2> i read, i just missed that line...
22:48:20 <Bjarni> Eddi|zuHause2: wtf... what kind of people are those Germans????
22:50:06 <Eddi|zuHause2> well, apparently he did not see her for a longer time, so he did not recognise her while drunk :p
22:50:11 <svip> Program received signal SIGSEGV, Segmentation fault.
22:50:11 <svip> [Switching to Thread 16384 (LWP 9711)]
22:50:11 <svip> 0x403d4812 in __unregister_atfork () from /lib/libc.so.6
22:52:23 *** Dark_Link^ute is now known as Dark_Link^skola
22:53:29 <glx> hmm who removed the "don't put bash link here" thing from the topic ?
22:54:08 <Eddi|zuHause2> glx: yeah, i checked that before :p
22:54:14 <Bjarni> I think it was the same guy, who both added and removed it
22:54:40 <Bjarni> and I'm not going to readd it
22:54:53 <Bjarni> because without it, I can learn a whole lot more about Germans
22:55:13 <Bjarni> just wondering... is the sister grounded in the same house?
22:58:36 <SmatZ> Eddi|zuHause2: I tried http://translate.google.com - and it didn't help me - instead, "blau" was translated as "blue", so I didn't know at all what the text was about :-p
22:59:01 <Eddi|zuHause2> SmatZ: "being blue" means the same as "being drunk"
23:00:02 <Eddi|zuHause2> SmatZ: so the translator was correct, but it could not grasp the cultural reference
23:00:07 <SmatZ> Eddi|zuHause2: it was the first thing I learned to say in Deutsch :-)
23:04:16 <SmatZ> it was the first class of Deutsch we had ... and I knew only few words, like "ich", "bin", "blau" (=blue) ... so I said "ich bin blau" and the teachear stared at me really strange
23:04:32 <SmatZ> it was funny, but maybe it is not funny when you read it on IRC :)
23:05:33 <Eddi|zuHause2> it's not as funny as "Ich möchte diesen Teppich nicht kaufen", but still funny :)
23:06:25 <mikk36> listening to five hard drives to start up is nice :)
23:06:34 <SmatZ> Eddi|zuHause2: "I wouldn't like to buy your carpet"?
23:06:49 <mikk36> it's like listening the startup of 5 little jet engines :P
23:06:52 <Eddi|zuHause2> SmatZ: it's from a famous german beer commercial
23:07:17 <Eddi|zuHause2> some foreigners sit in the beer garden, and read that from their phrasebook
23:07:32 <Eddi|zuHause2> the waitress says "alright" and brings a few beer :p
23:07:33 <SmatZ> aha :) (err ... diesen != your, sorry ... rather "diesen = those"?)
23:08:04 <Eddi|zuHause2> SmatZ: "this" is probably most correct :)
23:08:35 <Eddi|zuHause2> "those" is for plural
23:10:41 <SmatZ> Eddi|zuHause2: yes... I forget fast :( and actually, I have many problems with genders and "word tails" in Deutsch
23:11:38 <Eddi|zuHause2> i cannot judge how confusing this can be for foreigners...
23:13:23 <Bjarni> I don't know any Czech, so I can't judge similarities at all
23:13:34 <Bjarni> however I don't find it that confusing
23:14:21 <Bjarni> my main issue is that I don't use German everyday and Eddi|zuHause2 tend to find quotes containing topics we never learned about in school :P
23:14:40 <Bjarni> well, I had this one German teacher, who made us read about German prostitutes
23:15:00 <Bjarni> and talked about boobs and stuff in class
23:15:02 <Eddi|zuHause2> glx: then it gets about time you startet :p
23:15:08 <Bjarni> both in Danish and German
23:15:43 <Bjarni> he also told about his plans to run around naked in a certain park together with his army bodies
23:15:57 <Bjarni> later he said that they didn't do it anyway... too many people
23:16:01 <Phazorx> i hope you meant "buddies"
23:16:30 <SmatZ> when you are speaking in a foreign language, you say things you would never say in you mother tongue...
23:16:34 <Bjarni> oh... and he also watched porn movies with them
23:16:46 <Bjarni> all in all... a "different" kind of teacher
23:17:20 <Bjarni> he left all of a sudden with no reason at all
23:17:32 <Phazorx> in this "free country" you'd banned from school for that
23:17:37 <SmatZ> maybe he met his "buddies"
23:17:39 <Bjarni> rumours had it what he had slept with one of the girls, but it never became official
23:17:42 <Eddi|zuHause2> one army buddy also tried to have me watch porn with him... it was... "weird"...
23:18:06 <Bjarni> so I don't know if it's true
23:18:45 <Eddi|zuHause2> while on the topic, anybody seen that british series "skins"?
23:18:54 <Bjarni> oh... he also managed to show up an hour late drunk and then he marked everybody, who didn't bother to wait that long as "never showed up for class"
23:19:22 <Bjarni> I think that's the only time I was absent that year
23:19:42 <Bjarni> this could also be a reason why he left
23:20:13 <Bjarni> Eddi|zuHause2: on the topic of weird teachers, army buddies or porn?
23:20:27 <Eddi|zuHause2> mainly the teacher thing...
23:20:41 <SmatZ> I think it wouldn't be any reason to leave in our country... and I am really heppy for it
23:20:44 * SmatZ will use 7h of sleep to have some clearer mind...
23:21:13 <Bjarni> I think he will be heppy for all the sleep he can get :P
23:21:47 <Bjarni> Eddi|zuHause2: no, I have no idea what series that is
23:21:57 <Bjarni> I have a lecture tomorrow
23:22:00 <thingwath> hm, and I'm afraid that he is not right
23:22:07 <Bjarni> in fact I have more than one
23:22:23 <Phazorx> Bjarni: giving or taking one ?
23:22:51 <Bjarni> I'm not the teacher with those ideas if that is what you mean :P
23:23:19 <Phazorx> i actualy want to clarify on whether you are stuernt or teacher :)
23:23:31 <Bjarni> well, hopefully nobody will think that I will be teaching tomorrow.... I know shit about the topics.... that's basically why I signed up for those classes
23:24:21 <Eddi|zuHause2> since when is knowing shit a prerequisite for holding classes?
23:24:42 <Bjarni> we have a powerful student union :D
23:25:05 <Bjarni> so since it became powerful, it's mandatory to know stuff or stuff will happen
23:25:45 <Bjarni> heh.. I used stuff twice, but they mean different stuff
23:25:52 <Bjarni> and I used stuff again...
23:26:01 <Bjarni> maybe I should just go to bed and not say another word
23:27:06 <Eddi|zuHause2> yet he said another word :p
23:28:05 *** Greyscale has joined #openttd
23:52:52 *** Dark_Link^skola has quit IRC
23:54:00 *** Diabolic-Angel has quit IRC
continue to next day ⏵