Log for #openttd on 12th January 2007:
Times are UTC Toggle Colours
00:00:02  <MYOB>  strgen.o(.bss+0x0): multiple definition of `_map_log_x'
00:00:03  <MYOB>  string.o(.bss+0x0): first defined here
00:00:12  <MYOB> thats what you get then
00:00:33  <Darkvater> with vardef?
00:00:59  <MYOB> with adding __BEOS__ to the ifdef for watcom
00:01:35  <Darkvater> that *is* strange
00:01:45  <Darkvater> there is only extern uint _map_log_x; in map.h
00:01:53  <Darkvater> and no actual definition of map_log_x for strgen
00:04:29  <Darkvater> !openttd commit
00:04:32  <_42_> Commit by glx :: r8070 /trunk/src/heightmap.cpp (2007-01-11 21:49:39 UTC)
00:04:34  <_42_> -Fix r5815: missing initialisation could cause crash when loading 24bpp BMP heightmap
00:09:24  <Brianetta> Anybody who wants to witness the game end get on my server
00:09:27  <Brianetta> the 3rd of November, 2050
00:09:30  <Brianetta> Not long now
00:10:23  <Darkvater> < coming
00:13:31  <MYOB> right, my brain hurts now
00:14:11  <MYOB> need sleep soon or else Terminal will be burnt in to my brain
00:14:30  *** MYOB [] has quit [Quit: Vision[1.2.0-Z-05012007]: i've been blurred!]
00:16:22  <Darkvater> Brianetta: \o/ awesome server
00:16:50  <Darkvater> the newgrf's do make it even better
00:17:38  <Brianetta> yeah
00:17:42  <Brianetta> I'm pulling usset
00:17:47  <Brianetta> in favour of nars
00:17:52  <Brianetta> cos Pikka rocks my socks
00:18:05  <Darkvater> hehe
00:18:10  <Darkvater> how about BA's buffers?
00:18:17  <Brianetta> Licensing...
00:18:22  <Brianetta> I ask, but I am ignored
00:18:32  * Darkvater kicks Born_Acorn
00:18:43  <Brianetta> I just want explicit permission to put 'em in my download zip
00:19:05  <Eddi|zuHause2> !openttd commit 5815
00:19:11  <_42_> Commit by glx :: r5815 /branches/TGP/ (17 files in 2 dirs) (2006-08-09 18:56:23 UTC)
00:19:13  * Darkvater can't wait for Brianetta's server with newhouses
00:19:13  <_42_> [TGP] -Change: SDL is no longer needed to be able to load BMP files for heighmaps (thanks Rubidium for the loading buffer)
00:19:21  <Brianetta> You might have to
00:19:27  <Brianetta> unless you slip it into 0.5
00:19:33  <Darkvater> he
00:19:35  <Bjarni> goodnight
00:19:39  * Darkvater kicks Maedhros
00:19:42  <Darkvater> gn
00:19:47  *** Bjarni [] has quit [Quit: Leaving]
00:20:21  <Darkvater> what's the difference between usset and nars?
00:20:26  <Darkvater> I thought nars was usset
00:20:40  <Brianetta> usset has no CC
00:20:45  <Brianetta> well, minior
00:20:53  <Brianetta> nars also has sounds
00:20:56  <Darkvater> do you have a link to it?
00:21:02  <Darkvater> nars is pikkabird, right?
00:21:08  <Maedhros> moi?
00:21:10  <Brianetta>
00:21:16  <Maedhros> ah, i see :)
00:21:21  <Brianetta> New game's up
00:21:24  <Darkvater> yes you. It seems our newest dev is being lazy ^^
00:21:30  <Brianetta> with new landscape features
00:21:37  <Brianetta> including a floodable city (:
00:21:41  <Darkvater> lol
00:21:52  * Brianetta quits it
00:21:58  <Brianetta> I forgot to change my save message
00:22:01  <Brianetta> it's too spammy
00:22:03  <Darkvater> I was thinking of link to usset
00:22:17  <Darkvater> oh wait I know which one it is
00:22:35  <Darkvater> there's no picca's on pikka's site about nars :(
00:22:57  <Brianetta> No, it's crap
00:23:01  <Brianetta> but in links
00:23:03  <Brianetta> there's a forum thread
00:23:21  <Darkvater> ah there we go
00:23:38  <Eddi|zuHause2> pikkapics...
00:23:45  <Eddi|zuHause2> sounds like a line from pokemon  :p
00:25:14  <Brianetta> OK, now it's started
00:25:24  <Maedhros> night everyone
00:25:32  <Darkvater> night
00:25:44  <Brianetta> shite, script bug
00:29:59  *** Digitalfox [] has quit []
00:34:18  *** roboboy [] has joined #openttd
00:35:52  *** caladan [] has quit [Ping timeout: 480 seconds]
00:44:54  <CIA-1> Darkvater * r8071 /trunk/src/oldloader.cpp:
00:44:54  <CIA-1> -Fix (r5999): [FS#536] Merging 32bit dates broke the inauguration date of companies in
00:44:54  <CIA-1>  oldloader: "The year the company was inaugurated (full value, not base-1920)"
00:44:54  <CIA-1>  (Marcin Grzegorczyk's TTD internals site)
00:45:51  *** l_Blue_l [] has quit [Ping timeout: 480 seconds]
00:53:05  <Smoovious> will vehicles stopped in a depot auto-replace or just non-stopped ones?
00:53:49  <glx> they autoreplace when they enter in the depot
00:54:07  <Smoovious> ok, so if they stay in they won't
00:54:11  <Smoovious> good 'nuff :)
00:54:34  <glx> but you can replace vehicule stopped in depot by opening the depot window and clicking one of the button on the right
00:55:08  <Smoovious> I don't wanna replace em all at once, I wanna pick and choose... trying to save myself from going bankrupt without selling en-masse
00:57:26  <Smoovious> but doesn't look like it will happen... it seems vehicle prices and running costs, are outpacing cargo prices... (it is the year 2126)
00:58:32  *** l_Blue_l [] has joined #openttd
01:13:02  <Brianetta> webcam now gives a scrollto address (:
01:13:18  <Brianetta> in case it ever, you know, shows something interesting
01:16:15  <Smoovious> oh well, too late...
01:16:56  <CIA-1> maedhros * r8072 /branches/newhouses/src/newgrf_house.cpp:
01:16:56  <CIA-1> [NewHouses] -Fix (r6844): When changing the animation frame, check the callback
01:16:56  <CIA-1> first, and only choose based on the Action 0 properties if the callback doesn't
01:16:56  <CIA-1> provide the next frame.
01:17:41  <Smoovious> hmm... maybe when companies get closed down, instead of everything just dissapearing, make all vehicles go to depot first before being removed, and then make the rest dissapear
01:18:04  <Smoovious> this one town had over 100 of my vehicles in it, all of a sudden, dead quiet... its like a UFO beamed up all the vehicles at once. :)
01:28:19  *** Digitalfox [] has joined #openttd
01:29:44  <SpComb> Logs:
01:29:44  <Digitalfox> !logs
01:29:57  *** pecisk [] has quit [Quit: J?iet prom]
01:33:03  *** Dextro [~dextro@] has quit [Quit: Fui embora]
01:35:14  *** nairan [] has quit [Ping timeout: 480 seconds]
01:35:37  *** KritiK [] has quit [Quit: Leaving]
01:47:11  *** tokai [] has quit [Ping timeout: 480 seconds]
01:49:57  *** tokai [] has joined #openttd
01:50:00  *** mode/#openttd [+v tokai] by ChanServ
02:04:20  *** HMage [~HMage@] has quit [Quit: HMage]
02:05:34  *** Frostregen_ [] has joined #openttd
02:05:39  *** HMage [~HMage@] has joined #openttd
02:11:37  *** Frostregen [] has quit [Ping timeout: 480 seconds]
02:11:43  *** Frostregen_ is now known as Frostregen
02:14:26  <pv2b> Smoovious: what if there is no route to depot for the vehicles?
02:14:59  <pv2b> Smoovious: it's non-obvious unfortunately.
02:16:21  *** roboboy is now known as roboshower
02:30:51  *** Eddi|zuHause3 [] has joined #openttd
02:31:10  <Smoovious> yeah, I know, and just wishful thinking... but if there is no route, then let the UFO beam em up. :)
02:32:21  <Smoovious> finding I got a pretty big problem right now... way too many NewGRF sets available... how do I choose, how do I choose... .. .
02:37:16  *** Eddi|zuHause2 [] has quit [Ping timeout: 480 seconds]
03:28:38  *** nairan [] has joined #openttd
03:51:14  *** dp_ [] has joined #openttd
03:58:05  *** dp [] has quit [Ping timeout: 480 seconds]
04:01:09  *** roboshower is now known as roboboy
04:06:52  *** glx [] has quit [Quit: bye]
04:27:06  *** qball [] has quit [Ping timeout: 480 seconds]
04:37:54  *** Digitalfox_ [] has joined #openttd
04:37:55  *** qball [] has joined #openttd
04:38:16  *** BFM_ [] has joined #openttd
04:39:13  *** Digitalfox [] has quit [Read error: Connection reset by peer]
04:39:20  *** Digitalfox_ is now known as Digitalfox
04:42:23  *** roboboy is now known as robolunch
04:43:01  *** BFM [] has quit [Ping timeout: 480 seconds]
04:43:09  *** BFM_ is now known as BFM
04:44:08  *** robolunch is now known as roboboy
04:47:16  <BFM> Man I love a good back crack. Hold on to the back of your seat and twist riiiight around... *crack crack crack crack* ^_^
04:52:30  <Sacro> is nice
04:52:49  <Sacro> a lot better than a back crack and sack
04:54:56  *** FlashFF [] has quit [Ping timeout: 480 seconds]
04:55:10  *** Sacro [~Ben@adsl-83-100-150-11.karoo.KCOM.COM] has quit [Read error: Connection reset by peer]
05:35:40  *** roboboy [] has quit [Read error: Connection reset by peer]
05:37:59  *** BFM [] has quit [Quit: Chatzilla 0.9.77 [Firefox]]
05:48:47  *** roboboy [] has joined #openttd
05:59:12  *** mikl [] has joined #openttd
06:25:31  *** setrodox [] has joined #openttd
06:51:07  *** roboboy [] has quit [Read error: Connection reset by peer]
06:52:57  *** HMage [~HMage@] has quit [Quit: HMage]
06:53:53  *** HMage [~HMage@] has joined #openttd
06:54:44  *** yanzixiang [~yanzixian@] has joined #openttd
06:54:46  *** HMage [~HMage@] has quit []
06:55:00  *** HMage [~HMage@] has joined #openttd
06:55:18  *** roboboy [] has joined #openttd
07:02:35  *** ThePizzaKing [] has joined #openttd
07:04:10  *** yanzixiang [~yanzixian@] has quit [Quit: ??]
07:20:30  *** Tron_ [] has joined #openttd
07:24:19  *** PandaMojo_ [] has joined #openttd
07:26:44  *** Tron [] has quit [Ping timeout: 480 seconds]
07:26:44  *** roboboy [] has quit [Read error: Connection reset by peer]
07:27:17  *** PandaMojo [] has quit [Ping timeout: 480 seconds]
07:27:31  *** PandaMojo_ is now known as PandaMojo
07:37:40  <CIA-1> miham * r8073 /trunk/src/lang/brazilian_portuguese.txt:
07:37:40  <CIA-1> WebTranslator2 update to 2007-01-12 08:35:48
07:37:40  <CIA-1> brazilian_portuguese - 92 changed by fukumori (92)
07:52:48  *** Tron_ is now known as Tron
07:55:13  *** scia [] has joined #openttd
07:57:39  *** scia [] has quit []
08:02:34  *** HMage [~HMage@] has quit [Ping timeout: 480 seconds]
08:05:48  *** BurningFeetMan [] has joined #openttd
08:12:47  *** pecisk [] has joined #openttd
08:32:14  *** l_Blue_l [] has left #openttd []
08:37:19  <CIA-1> rubidium * r8074 /trunk/src/heightmap.cpp: -Fix (FS#537, r7555, r5749): revert r7555 because it was really wrong and fix the off-by-one error due to truncation that was supposedly fixed by r7555.
08:56:36  *** HMage [~HMage@] has joined #openttd
09:09:52  *** TheMask96 [martijn@] has joined #openttd
09:09:57  <SpComb> Logs:
09:09:57  <TheMask96> !logs
09:38:23  *** Naksu_ [] has joined #openttd
09:39:03  *** Naksu [] has quit [Read error: Connection reset by peer]
09:49:20  *** Vikthor [] has joined #openttd
10:02:45  *** ChrisM87 [] has joined #openttd
10:03:21  *** Purno [] has joined #openttd
10:14:39  *** Vikthor [] has quit [Remote host closed the connection]
10:14:58  *** Vikthor [] has joined #openttd
10:19:29  *** TheMaskAW [] has joined #openttd
10:42:39  *** roboboy [] has joined #openttd
11:05:33  *** Belugas_Gone is now known as Belugas
11:13:23  *** egladil [] has quit [Quit: Leaving]
11:20:39  <CIA-1> maedhros * r8075 /trunk/src/ (newgrf.cpp newgrf_spritegroup.cpp newgrf_spritegroup.h): -Feature: Add support for variable 7E - subroutines. (peter1138)
11:27:29  *** ProfFrink [] has joined #openttd
11:29:27  *** Prof_Frink [] has quit [Ping timeout: 480 seconds]
11:29:27  *** ProfFrink is now known as Prof_Frink
11:35:40  <CIA-1> maedhros * r8076 /branches/newhouses/src/newgrf.cpp: [NewHouses] -Cleanup (r8064): Remove _highest_house_id, since it isn't used anymore.
11:47:18  <Brianetta> Standard Server page has scenarios made available
11:48:55  *** ThePizzaKing [] has quit [Quit: Ex-Chat]
11:50:00  *** Vikthor [] has quit [Remote host closed the connection]
12:03:59  *** Digitalfox [] has quit [Quit: Bye Bye...]
12:31:08  <nairan> any elish or swedish here?
12:31:16  <nairan> *english
12:32:02  <ln-> you seem to be speaking english.
12:32:19  <nairan> im german (:
12:32:32  <nairan> fun some funnies
12:32:52  <nairan> is very funny to listen to
12:35:21  *** PandaMojo_ [] has joined #openttd
12:36:49  *** ProfFrink [] has joined #openttd
12:37:16  *** Prof_Frink [] has quit [Read error: Connection reset by peer]
12:37:17  *** ProfFrink is now known as Prof_Frink
12:40:04  *** PandaMojo [] has quit [Ping timeout: 480 seconds]
12:40:18  *** PandaMojo_ is now known as PandaMojo
12:42:01  *** raimar2 [] has joined #openttd
12:45:30  *** setrodox_ [] has joined #openttd
12:49:16  *** raimar3 [] has quit [Ping timeout: 480 seconds]
12:49:21  *** Digitalfox [] has joined #openttd
12:49:37  <SpComb> Logs:
12:49:37  <Digitalfox> !logs
12:50:22  *** PandaMojo_ [] has joined #openttd
12:50:41  *** setrodox [] has quit [Ping timeout: 480 seconds]
12:55:04  *** PandaMojo [] has quit [Ping timeout: 480 seconds]
12:55:15  *** PandaMojo_ is now known as PandaMojo
12:55:37  *** Naksu_ is now known as Naksu
13:00:51  *** Progman [] has joined #openttd
13:18:59  *** TheMask96 [martijn@] has quit [Remote host closed the connection]
13:20:39  *** PandaMojo_ [] has joined #openttd
13:25:04  *** PandaMojo [] has quit [Ping timeout: 480 seconds]
13:25:16  *** PandaMojo_ is now known as PandaMojo
13:25:33  <Digitalfox> What's up today.. No one is talking here.. Holidays???
13:29:46  <blathijs> Everybody is busy coding, probably ;-)
13:34:18  *** scia [] has joined #openttd
13:36:43  *** TinoM| [] has joined #openttd
13:40:36  *** Naksu [] has quit [Ping timeout: 480 seconds]
13:41:19  *** TheMaskAW is now known as TheMask96
13:41:33  *** glx [] has joined #openttd
13:41:33  *** mode/#openttd [+v glx] by ChanServ
13:42:38  *** Netsplit <-> quits: izhirahider
13:43:30  <BurningFeetMan> DRUNKewf
13:43:40  *** Naksu [] has joined #openttd
13:43:44  *** TinoM [] has quit [Ping timeout: 480 seconds]
13:44:03  *** Netsplit over, joins: izhirahider
13:44:03  *** roboboy [] has quit [Read error: Connection reset by peer]
13:51:24  <Eddi|zuHause3> why is there a distinct lack of a ore mine station?
13:55:05  <peter1138> because you haven't drawn one
13:59:28  <Brianetta> Neither have I
13:59:36  <Brianetta> so I'm complicit in its absence
13:59:58  <Brianetta> Eddi: It's on the web site as being in the plan, but the author's on hiatus
14:00:22  <Brianetta> has a link to the web site in question
14:17:12  *** BurningFeetMan [] has quit [Quit: Chatzilla 0.9.77 [Firefox]]
14:19:58  *** BurningFeetMan [] has joined #openttd
14:21:37  <Eddi|zuHause3> hm... loading of cargo is going way too fast nowadays
14:22:13  *** sergey [] has joined #openttd
14:28:17  <CIA-1> Darkvater * r8077 /trunk/src/heightmap.cpp: -Cleanup: Restructure some switch() statements' default case when they're unreachable
14:30:06  *** ttttland [] has joined #openttd
14:30:12  <CIA-1> rubidium * r8078 /trunk/src/ (8 files in 3 dirs): -Codechange: rewrite UDP part of the network code to make use classes. This is only one of the many steps to really cleanup the network code.
14:30:28  <ttttland> how do i pick which company to join when i load a game?
14:30:55  <Darkvater> ttttland: SP or MP?
14:31:14  <ttttland> a MP save which i would like to fool around Sp
14:31:28  <Darkvater> you can't, you always play as player0
14:31:29  <glx> load it and use the cheat menu
14:31:37  <Darkvater> you can open the cheat conosle though and change player there
14:31:44  <ttttland> k
14:31:58  <ttttland> help me out please ;)
14:32:04  <ttttland> cheat console ;) ?
14:32:09  <glx> ctrl-alt-C
14:32:12  <ttttland> kk
14:32:13  <ttttland> ty!
14:32:31  <Darkvater> or +winkey if it doesn't want to wokr
14:33:29  <ttttland> k
14:34:57  *** ProfFrink [] has joined #openttd
14:35:14  *** Prof_Frink [] has quit [Read error: Connection reset by peer]
14:35:14  *** ProfFrink is now known as Prof_Frink
14:40:48  <Digitalfox> One question aflter new industries are possible in OPTTD will their production value also be changable?? Like if i have a coal mine i can change the production by month will it also be possible to change from another in newgrf??
14:42:15  <Rubidium> Digitalfox: changeable, as in changeable by the user?
14:42:37  <Digitalfox> Also can't the value of 2040 as maximum to what we can define as maximum prodution be increased from 2040?
14:42:47  <Digitalfox> Rubidium: Yes by user with cheat thing
14:44:29  <Darkvater> don't see that as a problem
14:44:39  <Digitalfox> Rubidium: This cheat "Enable modifying production values" is what i'm talking about, if it will work with newgrf industries
14:44:59  <Darkvater> don't see that as a problem
14:45:11  <Rubidium> I've got no idea; I think the cheat will override the newgrf stuff
14:45:30  <Digitalfox> Darkvater: Don't see it as problem, you mean it will still work with newindustries?
14:46:26  <Darkvater> most probably
14:46:27  <peter1138> currently you use the cheat
14:46:34  <peter1138> and the industries goes ahead and changes stuff anyway
14:46:41  <peter1138> i doubt that'll change
14:47:51  <Digitalfox> And what about the limit of 2040, can it be change to a higher number?
14:48:18  <Darkvater> KUDr: ping
14:48:24  <KUDr_wrk> pong
14:48:29  <Darkvater>
14:48:47  <Darkvater> YAPF is way too much magic to me, but perhaps you can make some sense out of it?
14:49:08  <KUDr_wrk> hmm
14:49:11  <Darkvater> I have the exec+dbg database here to go with the crash.dmp
14:49:12  <Darkvater>
14:49:29  <KUDr_wrk> "I did have to disable some grf files" how?
14:49:38  <Darkvater> just load crash.dmp
14:49:45  <Darkvater> cause the file didn't crash when run
14:49:57  <KUDr_wrk> aha
14:50:02  <Darkvater> I hacked newgrf_config.c btw
14:50:03  *** egladil [] has joined #openttd
14:50:18  <peter1138> hee
14:50:18  <KUDr_wrk> you must teach me how to do it
14:50:22  <Darkvater> and we're not releasing 0.5 final until we have some way of loading agmes without the grf files present
14:50:27  <Darkvater> CAUSE IT'S FUCKING ANNOYING
14:50:38  <KUDr_wrk> agree
14:50:39  <Darkvater> newgrf_config.c:217
14:50:46  <Darkvater> SETBIT(c->flags, GCF_DISABLED);
14:50:48  <KUDr_wrk> i can't debug most of them
14:50:49  <Darkvater>  //res = false;
14:52:32  <Darkvater> unfortunately the crash.dmp isn't that much useful either cause a lot of things are optimized away
14:52:59  <Darkvater> but it says: Floating-point invalid operation.
14:53:05  <KUDr_wrk> hehe
14:53:09  <Darkvater> well, but you can see that for yourself :)
14:53:15  <KUDr_wrk> there are no FP operations
14:53:22  <Darkvater> yes there are
14:53:25  <Darkvater> 		float cache_hit_ratio = (float)m_stats_cache_hits / (float)(m_stats_cache_hits + m_stats_cost_calcs) * 100.0f;
14:53:35  <KUDr_wrk> heh
14:53:37  *** sergey [] has left #openttd []
14:53:52  <Darkvater> so unless / (a+b) == 0 I donnu what it is
14:54:17  <KUDr_wrk> this would do ovrflow
14:56:50  <KUDr_wrk> heh: spectacularly crashed, BSODs and a frozen machine
15:04:55  <Darkvater> so much for win9x :)
15:06:36  *** XeryusTC [] has quit []
15:06:45  <Darkvater> he
15:07:09  <Darkvater> KUDr: yapf_base.hpp:140  //if (veh_idx != 433) return bDestFound;
15:07:17  <Darkvater> what's that useless debug message doing there?
15:08:23  <KUDr_wrk> hmm, forgoten
15:09:49  *** Sacro [~Ben@adsl-83-100-150-11.karoo.KCOM.COM] has joined #openttd
15:10:15  *** XeryusTC [] has joined #openttd
15:11:21  <KUDr_wrk> shit, my vs crashes when opening crash.dmp
15:11:22  <Darkvater> 		cache_hit_ratio	1.1844290e-038	float
15:11:29  <Darkvater> is that about 0?
15:11:32  <Darkvater> KUDr: VS2005?
15:11:38  <KUDr_wrk> yes, yes
15:11:56  <KUDr_wrk> 2005 team suite
15:12:03  <Darkvater> he, I had something like that; got a BSOD even
15:12:08  <KUDr_wrk> the most expensive one :)
15:12:08  <Darkvater> had to do with stupid firewall
15:12:24  <KUDr_wrk> hmm
15:12:32  <KUDr_wrk> i don't have FW nor AV
15:12:37  <hylej> :o
15:13:18  <Brianetta> Darkvater: My server's page has the scenarios onit.  GPL all.
15:13:21  <Darkvater> dammit, parts of the this pointer are optimized away :s
15:14:52  <Darkvater> Brianetta: the nice ones I saw yesterday?
15:14:54  <Darkvater> cool
15:15:16  <stillunknown> Darkvater: debug level 3 is the only usefull thing if you want detailed info
15:15:50  <Darkvater> ?
15:16:19  <KUDr_wrk> Darkvater: with 2003 it doesn't crash and i see it
15:17:05  <stillunknown> Darkvater: debugging a level 1 debug build is not usefull if you want to know the content of data
15:17:26  <stillunknown> but i guess you knew that
15:17:28  <Darkvater> stillunknown: I'm doing postmortem debugging on a release build based on a minidump
15:17:45  <Darkvater> o_O
15:17:51  <Darkvater> I hardcode m_stats_cache_hits = m_stats_cost_calcs = 0;
15:17:54  <Darkvater> and it doesn't crash
15:19:46  <Darkvater> also
15:19:49  <Darkvater> int16 veh_idx = (m_veh != NULL) ? m_veh->unitnumber : 0;
15:19:55  <Darkvater> shouldn't this be UnitID veh_idx?
15:20:52  <KUDr_wrk> Darkvater: you was right: 0047DD42  fidiv       dword ptr [cost] (ST0 = +0.0000000000000000e+000)
15:21:05  <KUDr_wrk> division 0.0/0.0
15:21:36  <KUDr_wrk> my bullshit
15:21:37  <Darkvater> but...why no crash when I manually set cache_hits and cost_calcs to 0?
15:22:04  <KUDr_wrk> maybe on XP the FPU is set differently
15:22:19  <KUDr_wrk> and doesn't generate exceptions
15:23:17  <Darkvater> hmm I could test this on win9x
15:23:23  <Eddi|zuHause3> shouldn't 0/0 just generate NaN?
15:23:43  <KUDr_wrk> Eddi|zuHause3: on intel it depends on FPU flags
15:24:01  *** Vikthor [] has joined #openttd
15:24:11  <KUDr_wrk> and theoretically they could be different on win9x
15:28:49  <Darkvater> hehe
15:28:58  <Darkvater> dbg: [YAPF][YAPFt]!  95- 5051 us - 3 rounds - 0 open - 2 closed - CHR -1.$% - c-
15:29:02  <Darkvater> 1(sc-1, ts0, o0) --
15:29:05  <Darkvater> CHR -1.$%
15:29:10  <Darkvater> the guy crashes there
15:29:18  <KUDr_wrk> yes
15:29:30  <KUDr_wrk> my bullshit Mea Culpa
15:30:40  <Darkvater> do you want to reply to him?
15:30:42  <Darkvater> or shall I?
15:31:06  <KUDr_wrk> i am fixing it, so you can reply, say him my thanx
15:32:13  <Darkvater> perhaps
15:32:40  <Darkvater> put the whole thing between #ifndef NO_DEBUG_MESSAGES
15:32:54  <KUDr_wrk> if (_debug_yapf_level >= 3) {
15:32:56  <Darkvater> preprocessor flags, like it was done for NPF
15:33:13  <Darkvater> yes, but if you use that you need the #ifdef
15:33:18  <KUDr_wrk> and float cache_hit_ratio = (m_stats_cache_hits == 0) ? 0.0f : ....
15:33:33  <KUDr_wrk> aha
15:33:45  <Darkvater> because then _debug_yapf_level doesn't exist either
15:33:58  <KUDr_wrk> ok
15:34:05  <Darkvater> I would love to have minidump create a fullmemorydump but that's over 30MB :(
15:34:15  <Brianetta> ban
15:34:15  <Brianetta> - Ban a player from a network game. Usage: 'ban <ip | client-id>'
15:34:15  <Brianetta> - For client-id's, see the command 'clients'
15:34:15  <Brianetta> - If the client is no longer online, you can still ban his/her IP
15:34:20  <Brianetta> ban
15:34:20  <Brianetta> ERROR: Invalid client
15:34:24  <Brianetta> What am I doing wrong?
15:35:26  <Darkvater> is that client still online?
15:35:29  <Brianetta> no
15:35:37  <Darkvater> that's what you're doing wrong
15:35:41  <Darkvater> no wait
15:35:41  <Darkvater> sorry
15:35:45  <Brianetta> - If the client is no longer online, you can still ban his/her IP
15:36:01  <Brianetta> Or was only the help text committed?
15:36:21  <Darkvater> hmm you shouldn't get that error
15:37:00  <Darkvater> RC3?
15:37:04  <Brianetta> COnsider this a begrep, then
15:37:06  <Brianetta> yes, RC3
15:37:20  <Darkvater> 		ci = NetworkFindClientInfoFromIP(argv[1]);
15:37:20  <Darkvater> 		if (ci == NULL) {
15:37:20  <Darkvater> 			banip = argv[1];
15:37:20  <Darkvater> 			index = (uint32)-1;
15:37:29  <Darkvater> ci is null if client not online
15:37:34  <Darkvater> 	if (index == 0 || (ci == NULL && index != (uint32)-1)) {
15:37:35  <Darkvater> 		IConsoleError("Invalid client");
15:38:57  <Darkvater> does banning other IP's work?
15:39:11  <Brianetta> let me try
15:39:22  <Brianetta> Client not online, banned IP
15:39:29  <Darkvater> :O
15:39:34  <Darkvater> try the same IP again
15:39:53  <Brianetta> ban
15:39:54  <Brianetta> ERROR: Invalid client
15:40:05  <Brianetta> It's an IP in China
15:40:06  <hylej> wut does clients say
15:40:21  <Darkvater> I copy pasted it into RC3 and didn't get that
15:40:22  <Brianetta> hylej: It shows the five lients that are on
15:40:24  <hylej> k
15:40:27  <stillunknown> anyone know a free bit on the map array that is never used on a rail track?
15:40:53  <Brianetta> stillunknown: I think that's the most in-demand sort of bit
15:41:49  <stillunknown> i get the impression that m4 is pretty empty for rail, but i'm not sure
15:43:03  <CIA-1> KUDr * r8079 /trunk/src/yapf/yapf_base.hpp: -Fix [YAPF]: float division by zero when calculating stats (YAPF cache hit ratio). Caused BSOD on Win9x. (thanks 3iff for report, Darkvater for help)
15:43:04  <Rubidium> stillunknown: two bits are used when a signalled rail and four bits are used for depots
15:43:11  <Digitalfox> Is it me or the topic OTTD Unlimited is getting out of hand.. We now have patch dev's like eis_os saying "I have seen quite a few plans already of OTTD Folks, like ini files, xml, dats, did I forget something? "
15:43:43  <Brianetta> I get the impression he was citing fan suggestions, rather than dev team plans.
15:44:03  <Digitalfox> "If TTDPatchs byte based action language would be really so limited, I can't understand why the current versions of OTTD still don't support all stuff in it. An additional note, before someone should start to create a new language for new graphics, fix the spritenumber problem, because 11k sprites are a lot less. TTDPatch with 64k sprites already run ot of sprites... "
15:44:04  <Brianetta> It's a good debate, that one
15:44:43  <stillunknown> Rubidium: stations occupy some stuff too
15:44:53  <Brianetta> Why do I get a buzz when DaleStan writes "What Brianetta said." ?
15:45:03  <Digitalfox> Brianetta: Well yes, but i suggest some moderation or it will start a flame war :|
15:45:26  <Belugas> yes, a good debate.  And I do sincerely hope that it will be the end of the matter...
15:45:40  <Belugas> I think DV made it clear that nfo ishere to stay...
15:45:48  <Brianetta> Perhaps the thread should be archived to the Wiki
15:45:59  <Belugas> ^^
15:46:01  <Belugas> good idea
15:47:28  <Darkvater>
15:47:29  <Darkvater> lol
15:47:35  <Darkvater> this sealand is a pretty nice place
15:49:13  <stillunknown> is there doc what uses m6?
15:49:30  <stillunknown> *documentation about
15:49:35  <Belugas> landscape.html
15:49:47  <Belugas> landscape_grid.html willfollow soon
15:49:51  <Belugas> in docs/
15:50:05  <stillunknown> landscape has no mention of m6
15:51:01  *** hylej [hylje@] has quit [Ping timeout: 480 seconds]
15:51:30  <Belugas> well.. grid then ;)
15:54:47  *** helb [~helb@] has quit [Quit: Leaving]
15:55:53  *** hylje [hylje@] has joined #openttd
15:58:33  *** dfox [] has quit [Ping timeout: 480 seconds]
15:59:01  <Darkvater> KUDr_wrk: shouldn't the whole veh_idx, Perf.Stop, int t, etc be inside that debug thing?
16:00:50  * Brianetta hacks company passwords with a core dump (:
16:01:14  <Brianetta> I know RichK's password (:
16:01:45  *** dfox [] has joined #openttd
16:08:14  * Digitalfox hits Brianetta with for being a bad boy.. And calls for FBI to tell them someone is doing hacking
16:08:48  <peter1138> hmm
16:09:27  * Digitalfox forgets that he also is doing some hacking... So Digitalfox runs to phone to say to FBI it was a joke..
16:09:28  <peter1138> hacking his own server
16:09:58  <stillunknown> peter1138: you are familiar with gprof benchmarking?
16:10:02  <peter1138> no
16:10:05  <peter1138> well
16:10:14  <peter1138> i know of it, but i don't know what all the options do :P
16:10:50  <stillunknown> have you done it for openttd or was that someone else?
16:10:51  <Digitalfox> Sometime ago a student at one university in portugal hacked some fbi servers, don't why or what he did, but a couple of hours latter, the university had 2 FBI agents in the building doing some questions..
16:12:06  <Digitalfox> Don't know how it ended, but it was strange to see FBI coming to Portugal..
16:12:10  <peter1138> yes, opnettd
16:12:57  <Sacro> Brianetta: my password is the one you issued me with a year ago
16:13:09  <Brianetta> Sacro: I know (:
16:13:21  <hylje> Digitalfox: zomg, party van :O
16:13:54  <stillunknown> peter1138: i made a patch that should reduce the calls to the train collision checker at the expense of some memory and i'd like a 3rd party to test it also
16:16:03  <Brianetta> Darkvater: The game now incorporates MD5 routines
16:16:14  <Brianetta> so you could store the passwords in memory as an MD5 hash
16:16:22  <Brianetta> which would allow saving of passwords
16:16:32  <Brianetta> without revealing the password to every client
16:16:40  <Darkvater> only the servers knows the password
16:16:45  <Darkvater> and each client his/her own
16:16:51  <stillunknown> peter1138: any chance you could test it?
16:16:54  <Brianetta> Well, if it was hashed, not even the server would
16:17:02  <peter1138> stillunknown: not at the moment
16:17:05  <Brianetta> I wouldn't be able to dump core and read it
16:17:11  <peter1138> stillunknown: submit it to, along with your results
16:17:15  <Darkvater> but I was thinking of that yes..only people will complain about forgotten passwords :)
16:17:24  <Brianetta> They do already
16:17:24  <Darkvater> but I have an idea about that
16:17:27  <Darkvater> hehe
16:17:32  <Brianetta> There's no password recovery feature
16:17:45  <Brianetta> well, there is for me
16:17:52  <Brianetta> but I'm gdb happy
16:18:31  <Darkvater> yes there is
16:18:33  <Darkvater> company_pw
16:18:37  <Darkvater> prints out your password
16:18:41  <HMage> I'd recommend salting md5 for passwords
16:18:47  <Brianetta> HMage: Of course
16:18:47  <hylje> sha-1 passwords plz
16:18:55  <Brianetta> hylje: MD5 is already in
16:18:58  <HMage> better yet, sha5 would be better
16:18:59  <Brianetta> for newgrfs
16:19:02  <Darkvater> but anyways, if 2 clients use the same company the other one still doesn't know the password
16:19:26  <Brianetta> Darkvater: People would tend to just set a password, rather than read one back
16:19:41  <Brianetta> The only time one needs recovery happens to be when one can't recover it
16:20:19  *** mikl [] has quit [Quit: In the end, all that matters is your relation with God...]
16:22:34  <Giddorah> Lol... Wtf?
16:22:36  <Giddorah> "And somewhere in march 1999 NATO started to bomb my country (serbia)... and there were no school until September!!!!! And all spring and summer I was playing TTD like hell!!!!  That was one of my best summers!"
16:22:48  <Giddorah> That's just... Wrong :P
16:23:01  <Darkvater> lol
16:23:04  <hylje> :o
16:23:23  <Digitalfox> Bombing or playing TTD like hell?? lol
16:23:31  <hylje> id guess both
16:23:34  <hylje> warfare is cool
16:23:49  <Giddorah> The "best summer" part... While Nato is bombing their country
16:23:56  <Giddorah> I found that... To be not so good :P
16:24:44  <Giddorah> "How can I make this junction take more trains per minute?" Whistle - - - BLAAAAAAAAAAAAAAAM! "Right! If I make this one-way two-way instead I should..."
16:25:03  <Sacro> i dreamt of having 1 way signals
16:25:07  <Sacro> 2 ways where insane
16:25:36  <Giddorah> That's not so sane either :P
16:26:12  <Brianetta> Giddorah: It's called making the best of a bad situation.
16:27:00  <Giddorah> Hehe... Yeah... I'd call it "I tried having fun while my entire country was being nuked"... I wouldn't call it "My best summer" no matter how fun my pc-game is :P
16:27:08  <Brianetta> There's no point moping about bombs that you can't stop and that are unlikely to hit you anyway.  You're not at school in case the school does catch a bomb (that would be embarrassing for the school board).  So, you're free!
16:28:16  <Giddorah> Oh well... I'm from sweden... We don't get bombs very frequently.. I just know I would never be sitting indoors all day playing a strategic game while we're at war
16:28:39  <hylje> like its safer outside?
16:28:41  <stillunknown> Celestar: ping
16:29:29  <Noldo> Giddorah: nuked?
16:29:49  <Giddorah> You never know
16:30:08  <Brianetta> Giddorah: After some months, war becomes simply boring.
16:30:16  <Brianetta> Unless you're in the front line
16:30:19  <Giddorah> Where do you live Brianetta?
16:30:25  <Brianetta> Newcastle upon Tyne
16:30:33  <hylje> Brianetta: in which case it becomes boring even faster
16:30:36  <Giddorah> Newcastle England?
16:30:43  <Brianetta> One of them, yes
16:31:04  <Giddorah> What's your experience with war?
16:31:04  <CIA-1> Darkvater * r8080 /trunk/src/yapf/yapf_base.hpp: -Codechange (r8079): Move the *WHOLE* performance code into the #ifndef and some style changes.
16:31:08  <Noldo> is Newcastle the Springfield of UK?
16:31:15  <Giddorah> lol
16:31:33  <Brianetta> Mostly second hand, although I've had close relatives stretchered off the field
16:32:09  <Darkvater>
16:32:16  <Darkvater> ubershot on your server Brianetta !
16:32:51  <Brianetta> My uncle was commanding that column of Warriors that was strafed by an American A10
16:33:01  <Brianetta> Darkvater: Cool (:
16:33:28  <Darkvater> Celestar: ping!
16:33:31  <Giddorah> Doesn't sound so boring :P
16:33:32  <Brianetta> Darkvater: I meant to change the message settings to just new stations, disasters and companies going under
16:33:35  <Brianetta> but I forgot
16:33:42  <Brianetta> Giddorah: The front line isn't
16:33:48  <Brianetta> Being in a country *at* war is
16:34:09  <Brianetta> There are fewer luxuries, and the adrenaline wears off after some months.
16:34:31  <KUDr> Darkvater: heh it just told me that i must update first in order to commit it :)
16:34:36  <Giddorah> Yeah well... Bored people tend to survive
16:35:23  <Darkvater> KUDr: oh :O. sorry about that. You didn't answer so I assumed you were really busy, so had a try at my first yapf-commit :)
16:35:36  <KUDr> just arrived home
16:35:39  <KUDr> and did it
16:35:49  <KUDr> thanks
16:36:03  <Darkvater> np
16:36:24  <Darkvater> I put Perf.stop() outside the yapf>=3 thingie to have Start/Stop always, but it doesn'tmatter
16:36:29  <KUDr> you did it better /* !NO_DEBUG_MESSAGES */
16:36:44  <Darkvater>
16:36:46  <Darkvater> :)
16:37:13  <Darkvater> One big exception is #endif (or any preprocessor): #endif /* COMMENT */ is the style to use (some preprocessors give warnings on // comments behind preprocessor blocks)
16:38:04  <KUDr> aha (red one): One big exception is #endif (or any preprocessor): #endif /* COMMENT */ is the style to use (some preprocessors give warnings on // comments behind preprocessor blocks)
16:38:16  <Darkvater> peter1138: you don't have code that just finds a compatible grf from an grfid without bothering with md5sum, do you?
16:38:50  <peter1138> no
16:39:01  <peter1138> wouldn't be hard though
16:39:06  <Darkvater> already did :)
16:39:22  <Darkvater> question though
16:39:24  <Darkvater> what is this
16:39:29  <peter1138> pass a NULL or make a new func
16:39:30  <Darkvater> if (memcmp(blanksum, c->md5sum, sizeof(c->md5sum)) == 0) CalcGRFMD5Sum(c);
16:39:30  <Darkvater> ?
16:39:38  <Darkvater> const GRFConfig *FindGRFConfig(uint32 grfid, uint8 *md5sum = NULL) ^^
16:39:51  <peter1138> o_O
16:39:57  <peter1138> hmm
16:40:07  <peter1138> i think that code can go
16:40:11  <peter1138> blanksum 'n all
16:40:20  <peter1138> i was working on making it only load the md5sum when needed
16:40:22  <peter1138> to speed it up
16:40:31  <peter1138> but it wasn't that slow anyway, and with the extra grf scans...
16:40:33  <Darkvater> am I right to assume that it calculates the md5sum if it's empty?
16:40:47  <peter1138> it will do, but it shouldn't be empty
16:40:51  <Darkvater> ok, I'll remove it then... if it's really unused?
16:41:18  <peter1138> *nod*
16:41:21  <peter1138> 	return CalcGRFMD5Sum(config);
16:41:28  <peter1138> line 87
16:41:38  <Darkvater> ok
16:41:39  <peter1138> if that's return true; it'll calculate the sum later, but it's not tested fully
16:42:05  <Darkvater> eek, I'm editing 0.5 which doesn't have cpp ;p
16:42:10  <peter1138> hehe
16:42:23  <Darkvater> but all grf's in the list have an md5sum no?
16:42:30  <peter1138> yes
16:42:41  <Darkvater> ok
16:44:31  <CIA-1> peter1138 * r8081 /trunk/src/newgrf_spritegroup.cpp: -Fix (r8075): Use a copy of the resolver object instead of the using the existing one. This fixes problems with the object scope setting.
16:44:54  <peter1138> nearly up to 8086 :D
16:48:39  *** ProfFrink [] has joined #openttd
16:49:37  *** Prof_Frink [] has quit [Read error: Connection reset by peer]
16:49:37  *** ProfFrink is now known as Prof_Frink
17:05:39  *** BobingAbout [~BobingAbo@adsl-83-100-201-161.karoo.KCOM.COM] has joined #openttd
17:05:42  *** BobingAbout [~BobingAbo@adsl-83-100-201-161.karoo.KCOM.COM] has quit []
17:12:08  *** TinoM [] has joined #openttd
17:13:02  *** HMage [~HMage@] has quit [Read error: Connection reset by peer]
17:14:44  <Giddorah> What is RC3?
17:14:59  <glx> 0.5.0-RC3
17:15:03  <glx> release candidate
17:15:29  *** Tino|Home [] has joined #openttd
17:15:40  *** HMage [~HMage@] has joined #openttd
17:15:58  *** HMage [~HMage@] has quit [Read error: Connection reset by peer]
17:18:18  *** Rens2Sea [~Rens2Sea@] has joined #openttd
17:19:20  *** TinoM| [] has quit [Ping timeout: 480 seconds]
17:19:33  *** TinoM| [] has joined #openttd
17:22:21  *** TinoM [] has quit [Ping timeout: 480 seconds]
17:23:36  *** Tino|Home [] has quit [Ping timeout: 480 seconds]
17:23:36  <Giddorah> I meant... Peter just patched up to r8081, what revision is RC3?
17:23:40  <Giddorah> 8000?
17:24:53  <glx> it doesn't work like that :)
17:25:02  <Giddorah> Oh?
17:25:07  <glx> RC3 is a tag of branch 0.50
17:25:26  <Giddorah> And 8081 is?
17:25:34  *** Progman [] has quit [Remote host closed the connection]
17:25:43  <glx> in trunk so post-0.5.0
17:25:46  <peter1138> a revision of trunk
17:26:03  <glx> but fixes will be backported to 0.5.0 branch
17:26:48  <Giddorah> So... The r8081 is "future" which will then be taken back and put into the 0.5.0Gold? :P
17:26:58  <peter1138> no
17:27:14  <Giddorah> Aight
17:27:26  <peter1138> it'll be in whatever's post-0.5.0, heh
17:27:36  <glx> 8081 is a fix for a post-0.5.0 bug :)
17:27:43  <Giddorah> Aight :) What's so special about 8086 btw Peter? :)
17:28:24  <glx> you don't know processors' history ?
17:28:48  <Giddorah> Ooh! Nevermind :P
17:28:53  <Belugas> Have you ever heard of a computer call PC ? it has a chip called 8086, wich, over thime time, became the pentium
17:29:16  <Giddorah> I didn't think that deeply into my geekish mind :P
17:29:22  <peter1138> hehe
17:30:39  <Belugas> and since peter1138 is very old, he is impressed by that number, since it reminds him is primal youth !!
17:30:44  <Belugas> muwhahah!
17:30:46  <Giddorah> lol
17:31:00  <peter1138> nah
17:31:08  <peter1138> we passed r6502 a long time ago
17:31:09  <Giddorah> Well... When we hit 8086... Are you gonna jump straight past 8087 and go to 8088?
17:31:09  <Giddorah> :)
17:32:13  <stillunknown> is Celestar known to be away?
17:34:05  <valhalla1w> I suppose after 8088, we'll jump to 80386 at once? ;)
17:35:20  <Giddorah> lol
17:35:22  <Giddorah> Hopefully
17:37:00  <Giddorah> I'm thinking of playing Beer Tycoon
17:43:24  <Giddorah> How hard would it be to add residents in OTTD?
17:43:32  *** Wolf01 [] has joined #openttd
17:43:41  <Wolf01> ello
17:49:34  *** Bjarni [] has joined #openttd
17:49:35  *** mode/#openttd [+o Bjarni] by ChanServ
17:58:15  <Belugas> residents? You mean inhabitants walking done the streets?
17:58:21  <Belugas> hello Wolf01 :)
17:58:25  <Belugas> Hello Bjarni :)
17:58:32  <Wolf01> hello Belugas
17:59:03  <Bjarni> hi Belugas
18:03:19  <Giddorah> Yeah Belugas
18:03:30  <Giddorah> And traffic and stuff
18:04:03  <Digitalfox> It could be nice to have that animation, but maybe to cpu intensive:\
18:04:13  <Giddorah> Ya think?
18:04:43  <Giddorah> Atleast have traffic
18:04:50  <Giddorah> pedestriants might not be so important
18:04:59  <Giddorah> But something that make cities look lively
18:05:39  <Digitalfox> Giddorah: When i say cpu intensive, i'm refering in big maps loke 1024*1024 or 2048*2048 :)
18:06:11  <Giddorah> Hehe... Yeah well... Would only have to draw the objects while in view
18:07:07  <Belugas> yeah.. way too much cpu requirement... even for smaller map, i think.. not to mention memory requirement
18:07:49  <Belugas> It's not just the drawing, it's the movments that would have to be maintained...
18:08:09  <Giddorah> Ever played Sim City?
18:08:37  <peter1138> won't work
18:08:47  <peter1138> in a network game, everything has to be in sync
18:08:56  <peter1138> there's no "off viewport is safe"
18:09:10  *** Digitalfox [] has quit [Remote host closed the connection]
18:09:11  <Giddorah> SP-only traffic then?
18:09:39  *** Digitalfox [] has joined #openttd
18:10:13  <Belugas> No, i play OTTD
18:11:29  <Eddi|zuHause3> cars coult simply be special vehicles, like smoke and stuff
18:11:43  <Eddi|zuHause3> s/t/d/
18:11:47  <Giddorah> True
18:11:49  <peter1138> which take up more processing time
18:11:54  <Giddorah> Sexually transmitted diseases?
18:11:54  <Sacro> why do pedestrians have to be in sync?
18:12:06  <Sacro> why not just render them locally in the viewport
18:12:08  <peter1138> Sacro: pedestrians don't
18:12:17  <peter1138> traffic does
18:12:27  <Sacro> only if it affects onscreen vehicles
18:12:40  <Eddi|zuHause3> well, they would need to, if they affected road vehicles
18:12:43  <Giddorah> So... Pedestrians would be less impossible to create? :P
18:13:01  <Sacro> Giddorah: so long as you dont want them synced between players
18:13:22  *** glx|away [] has joined #openttd
18:13:24  *** mode/#openttd [+v glx|away] by ChanServ
18:13:27  <Giddorah> Well.. I guess it'd be more bling to have them than usefull
18:13:35  <Sacro> exactly
18:13:39  <Giddorah> People waiting at stations would be great tho
18:14:41  <Eddi|zuHause3> newstataw.grf?
18:15:04  <Eddi|zuHause3> s/aw/sw/
18:15:58  *** glx [] has quit [Ping timeout: 480 seconds]
18:16:55  <Eddi|zuHause3> hm, where do i get 2 Mio for a oil refinery from?
18:20:16  <Wolf01> i must add a source file, the makefile will be updated automaGically?
18:20:50  <Eddi|zuHause3> there was a generate projects script somewhere
18:20:55  <Rubidium> Wolf01: add it to sources.list
18:21:08  <Rubidium> then run projects/generate (that creates MSVC project files)
18:21:34  <Rubidium> and make will find out automagically that sources.list has changed and it'll do a reconfigure
18:21:37  *** glx|away is now known as glx
18:22:14  <Rubidium> Wolf01: if add header files, you have to add them to sources.list too. There is one _but_ with sources.list.
18:22:48  <Rubidium> it is subdivided into logical groups, so you have to scan sources.list to find out where exactly to place it.
18:23:24  <Wolf01> how i run "generate"?
18:23:39  <Wolf01> *how do
18:23:54  <Rubidium> what OS?
18:24:06  <Wolf01> winxp with msys
18:24:16  <Rubidium> basically you have to be in the trunk root (so /trunk or so)
18:24:28  <Rubidium> the directory where you have the src, bin, objs directory
18:24:49  <Wolf01> WOLF01@WOLF01 /home/OpenTTD/trunk/projects
18:24:49  <Wolf01> $ ./generate
18:24:49  <Wolf01> sh: ./generate: No such file or directory
18:24:51  <Rubidium> then you have to do a 'projects/generate'
18:25:45  <glx> Wolf01: what is output of "ls -l generate"
18:26:07  <Wolf01> -rwxr-xr-x    1 WOLF01   Administ     4144 Jan 10 19:08 generate
18:28:05  <glx> I can run it with generate and ./generate
18:28:16  <Wolf01> i can't in both ways
18:28:18  <Digitalfox> Try yhis new extension to firefox 1.5-2.0, it's pretty cool.. I love it :)
18:28:55  <Digitalfox> It's called "Tab Effect"
18:29:12  <Digitalfox> It makes a cool animation everytime you change tabs :)
18:29:18  <Rubidium> Wolf01: what does 'bash --version' do?
18:29:38  <Wolf01> mm wait a minute
18:29:51  <setrodox_> Digitalfox, i guess i won't use it because of the same reason i don't use beryl ;)
18:29:54  *** setrodox_ is now known as setrodox
18:30:07  <Digitalfox> setrodox: What??
18:30:33  <Digitalfox> setrodox: It's just a small animation tha makes tabs look like movin in world
18:31:25  <setrodox> that's already the point, it's an animation in an otherwise non animated application
18:31:26  <Wolf01> it compiles anyway...
18:31:34  *** Sacro_ [Ben@adsl-83-100-150-11.karoo.KCOM.COM] has joined #openttd
18:31:58  <Rubidium> that generate script is only to make MSVC user able to compile your code :)
18:32:09  <Wolf01> $ bash --version
18:32:09  <Wolf01> sh: bash: command not found
18:32:12  <Wolf01> :)
18:32:29  <Wolf01> $ sh --version
18:32:29  <Wolf01> GNU bash, version 2.04.0(1)-release (i686-pc-msys)
18:32:29  <Wolf01> Copyright 1999 Free Software Foundation, Inc.
18:32:42  <CIA-1> miham * r8082 /trunk/src/lang/ (3 files in 2 dirs):
18:32:42  <CIA-1> WebTranslator2 update to 2007-01-12 19:31:14
18:32:42  <CIA-1> brazilian_portuguese - 62 changed by fukumori (62)
18:32:42  <CIA-1> croatian - 86 fixed, 2 changed by knovak (88)
18:32:42  <CIA-1> esperanto - 1 changed by LaPingvino (1)
18:32:45  <hylje> Wolf01: :o
18:32:53  <glx> Wolf01: same for me and it works
18:33:45  <glx> hmm wait I have a "bash" script :)
18:34:26  <Rubidium> Wolf01: ok, 'sh ./generate' should work ok, but it expects the bash executable to exist with bash as name and not sh
18:34:44  *** Sacro [~Ben@adsl-83-100-150-11.karoo.KCOM.COM] has quit [Ping timeout: 480 seconds]
18:34:45  <Rubidium> *but the problem is that
18:34:56  <glx> indeed a copy of sh.exe into bash
18:35:12  <Wolf01> $ sh projects/generate
18:35:12  <Wolf01> Generating openttd.vcproj...
18:35:12  <Wolf01> Generating openttd_vs80.vcproj...
18:35:12  <Wolf01> Generating langs_vs80.vcproj...
18:35:12  <Wolf01> Generating langs.vcproj...
18:35:17  <Wolf01> seem to work
18:35:30  <glx> I think I did ln /bin/sh.exe /bin/bash
18:38:06  <Wolf01> ok, i don't know what includes i must use for my feature, anybody can help?
18:38:06  <Wolf01> i want to do a gui for the transparency options
18:44:41  *** KritiK [] has joined #openttd
18:48:30  <Wolf01> why we have SB() and SETBIT?
18:48:37  <Wolf01> *SETBIT()
18:49:59  <glx> SETBIT() sets only 1 bit
18:50:00  *** Purno [] has quit [Quit: Life is a game of pick-up-sticks, played by fucking lunatics.]
18:50:10  <glx> with SB() you can set many bits
18:51:05  <Wolf01> and why not use SB() directly?
18:51:10  <Rubidium> and SETBIT does really set a bit to 1 and SB sets a sequence of bits to a sequence of 1s and 0s.
18:51:39  <Rubidium> Wolf01: because SB(var, 0, 1, 1) is less clear than SETBIT(var, 0)
18:51:56  <glx> and SETBIT is faster in this case
18:52:08  <Darkvater> it's not
18:52:15  *** ufoun [] has quit [Ping timeout: 480 seconds]
18:52:22  <glx> to write it is :)
18:52:26  <Darkvater> it'll most porbably be optimized to the same assembly code
18:53:47  <Wolf01> SETBIT allow you only to set to 1 a bit, and you have to use CLRBIT to set it to 0, imho we have two more functions to remember where you can use SB() to set/reset
18:53:50  <Rubidium> Darkvater: I thought you always say you shouldn't trust compilers doing the things we think are 'sane' :)
18:54:39  <Darkvater> I do, and that's why I will also recommend using SETBIT() to set single bits
18:54:53  <Darkvater> SB is to set a certain subbits of a variable to a certain value
18:58:46  <Sacro_> hmm, it seems to have reverse sorted my trains list
18:59:05  <Sacro_> highest engineid at the top
19:00:04  <Sacro_> is there a way to get it back to lowest at the top?
19:00:53  <Darkvater> click on 'sort by' and it'll flip direction
19:02:17  <Wolf01> if i want to add an item to a dropdown list of a button, like the map button, there is a var which stores the number of items?
19:02:20  <Sacro_> Darkvater: ahh thanks
19:03:35  *** Proeliator [] has joined #openttd
19:03:40  <Darkvater> the number is dynamic based on the stringlist of the dropdown box
19:04:17  <Proeliator> hello all
19:04:32  *** Digitalfox [] has quit [Quit: Bye Bye...]
19:04:34  <Proeliator> wondering if anyone have the time to help me with a train light issue?
19:05:37  *** Wolf01 is now known as Wolf01|AWAY
19:08:26  <Bjarni> train light?
19:09:05  *** BJH2 [] has joined #openttd
19:09:06  <Proeliator> yeah, uhm...
19:09:17  <Proeliator> u know, trafic light
19:09:19  <Proeliator> signals
19:09:40  <Bjarni> lights are on the trains. The red/green stuff are signals
19:09:50  <Proeliator> yeah, i ment signals
19:10:02  <Bjarni> using the right word will help a lot as it's easier to understand what you mean :)
19:10:22  <Proeliator> well, now u understand :)
19:11:35  *** Wolf01|AWAY is now known as Wolf01
19:12:50  <Proeliator> ill try to explain my problem
19:12:56  *** Dextro [~dextro@] has joined #openttd
19:13:10  <Proeliator> i guess its quite simple but i am quite new to this so...
19:14:46  <Proeliator> i have one railroad crossing two others..ti want the one crossing stop for the two others when they are coming and they shall have no chance to switch railroad..
19:17:52  <Bjarni> how about a bridge?
19:18:21  <Bjarni> then trains will not stop for each other
19:18:35  <Dextro> or a tunnel, those don't have speed limits :P
19:18:42  <Proeliator> uhm
19:18:51  <Proeliator> the two aint going straight
19:19:06  <Bjarni> then place a tunnel
19:19:23  <Proeliator> wait a sec, ill show u
19:19:36  <Bjarni> dig until you reach the level below the tracks (on both sides) and then make a tunnel
19:20:07  <Dextro> I'm guessing he has perpendicular tracks...
19:20:17  <Dextro> diagonal
19:20:19  *** Giddorah [] has quit [Read error: Connection reset by peer]
19:20:21  <Proeliator> hmmm
19:20:27  <Bjarni> that's likely
19:20:36  <Dextro> (damn that exam really made pulp out of my head...)
19:20:37  <Proeliator> guess i could dig a tunnel yes
19:21:24  <Proeliator> ill try that ty
19:21:36  <Bjarni> I once saw a guy, who had 3 tracks (for a distance of at least 30 tiles). The reason: he got 3 trains
19:22:50  <Bjarni> Darkvater: btw I got a mail
19:22:57  <Bjarni> and it's not even spam :o
19:23:01  <setrodox> Bjarni, let me guess, 3-platform terminus stations and no connections between the 3 tracks at all? ^^
19:23:24  <Bjarni> asking why the fixed strings from wt2 aren't in RC3
19:23:47  <Darkvater> that's spamming cause someone alaready asked that
19:23:52  <Bjarni> setrodox: not entirely. It was like that in one end, but they all shared one block in the other end so they could use the same depot
19:24:04  <Dextro> hehe Bjarni that's probably what I used to do when I first played the game circa 1995, then I loaded up the "Megarails" map and figure I could do a lot better :P
19:24:20  <Proeliator> its already at sea level damnit
19:24:31  <setrodox> Bjarni, heh
19:24:45  *** Hadez [] has joined #openttd
19:24:51  <Wolf01> i still can't understand how to add an item in the main toolbar button's dropdown list
19:24:54  <Bjarni> Darkvater: well, we do add the fixes to 0.5.0, right?
19:25:09  <Hadez> Hi everyone :-)
19:26:15  <Dextro> howdy
19:26:19  <Darkvater> of course not :)
19:27:45  <Bjarni> fixes of strings that are in 0.5.0
19:27:51  <Bjarni> not the new strings (if any)
19:28:23  <Eddi|zuHause3>,%2014.%20Aug%201923.png <- easy signalling exercise ;)
19:28:24  <Sacro_> hmm, i belive when a near year starts, it re-runs the newsfeed
19:28:26  <Darkvater> of course not :)
19:29:09  <Dextro> Oh dear lord Eddi|zuHause3 :|
19:29:35  <Dextro> I just can't imagine the caos of that network :|
19:29:43  <Belugas> Dalestan, your patience is so much more bigger then mine! "To be slightly more verbose than Belugas..." :D
19:29:45  <Eddi|zuHause3> there's no chaos ;)
19:29:47  <Eddi|zuHause3> it's PBS ;)
19:29:56  <Dextro> if it had PBS then maybe but that way...
19:29:58  <Dextro> OHHH
19:30:03  <Dextro> that explains it :D
19:30:10  <Dextro> PBS rockz :P
19:30:19  <Eddi|zuHause3> yes they do ;)
19:30:20  <setrodox> pbs makes it too easy ;)
19:30:34  <Eddi|zuHause3> i had to fiddle a bit, to make them work with the new bridges
19:31:10  <Eddi|zuHause3> and PBS are by no means easy
19:31:44  <Eddi|zuHause3> especially for 2-way-stations
19:31:50  *** l_Blue_l [] has joined #openttd
19:32:00  <Eddi|zuHause3> where they absolutely do not work properly
19:32:40  <Dextro> hum...
19:33:11  <Dextro> And what about making a small exit corridor for them?
19:33:21  <Dextro> with a signal to break the PBS block :P
19:33:26  <Eddi|zuHause3> if you pay attention: the station has only 2-way-signals on each second track
19:33:48  <Eddi|zuHause3> so each platform can only be entered from one side
19:33:55  <Eddi|zuHause3> and exited in both directions
19:34:14  <Wolf01> Darkvater, please could you help me to add an item to a dropdown list? i can't get it to work
19:34:19  <Dextro> nice idea :)
19:34:32  <Eddi|zuHause3> the problem is not exiting, it is entering
19:35:07  <Eddi|zuHause3> train --> 2-way-signal -- platform -- 2-way-signal <- train
19:35:11  <Dextro> who's maintaining PBS these days? (if anyone)
19:35:26  <Eddi|zuHause3> ends up both trains blocking each other's entrance
19:35:33  <Eddi|zuHause3> technically, nobody
19:35:45  <Dextro> I figured as much
19:35:48  <Eddi|zuHause3> i did a few fixes for them in miniin
19:36:02  <Eddi|zuHause3> the long term plan is that KUDr rewrites them ;)
19:36:04  <setrodox> Dextro, not much use to maintain it when it's going to be rewritten ;)
19:36:20  <Dextro> I didn't know about the rewrite :$
19:36:39  <setrodox> ah, for yapf, so no more npf needed for pbs
19:36:49  <Eddi|zuHause3> at least that was the plan 1 year ago
19:37:00  <Dextro> I was just thinking that an expection could possibly be added to the system, when a station platform is found it breaks the pbs block (just like a signal) but I don't know the code...
19:37:35  <Dextro> and since it'll be rewritten anyway... :P
19:38:33  <Bjarni> Darkvater: either you are pulling my leg or you talk about stuff that I don't agree on. Why shouldn't we add language fixes to 0.5.0?
19:40:25  <ln-> wtf?
19:41:35  <Belugas> Who's The First?
19:41:45  <Belugas> What To Fix?
19:41:52  *** ufoun [] has joined #openttd
19:42:05  <Wolf01> i'm the first!!!
19:42:06  <Belugas> Want These Fries?
19:42:17  <Wolf01> [20:34:26] <Wolf01> Darkvater, please could you help me to add an item to a dropdown list? i can't get it to work
19:42:25  <Belugas> ^^
19:42:26  <Wolf01> Darkvater seem to be away
19:42:32  * Bjarni beats up Wolf01
19:42:37  <Bjarni> you were right
19:42:42  <Bjarni> you got beaten up first
20:07:35  *** Digitalfox [] has joined #openttd
20:07:45  <SpComb> Logs:
20:07:45  <Digitalfox> !logs
20:09:54  *** Sacro_ is now known as Sacro
20:13:30  *** Dextro [~dextro@] has quit [Quit: Fui embora]
20:16:36  *** Purno [] has joined #openttd
20:19:52  <CIA-1> rubidium * r8083 /trunk/src/ (17 files in 3 dirs):
20:19:52  <CIA-1> -Codechange: make a NetworkSocketHandler as base for all sockets and move a
20:19:52  <CIA-1> little of NetworkClientState functionality to the NetworkSocketHandler. Move the
20:19:52  <CIA-1> rest of the NetworkClientState to the new NetworkTCPSocketHandler class/struct,
20:19:52  <CIA-1> which is not yet implemented in an object oriented manner. The UDP socket
20:19:54  <CIA-1> handler now extends the NetworkSocketHandler instead of having a reference to a
20:19:56  <CIA-1> NetworkClientState.
20:21:02  *** helb [~helb@] has joined #openttd
20:21:32  *** helb_ [~helb@] has joined #openttd
20:21:41  *** thgergo [] has joined #openttd
20:21:47  *** helb [~helb@] has quit [Remote host closed the connection]
20:21:47  *** helb_ [~helb@] has quit [Remote host closed the connection]
20:22:25  *** helb [~helb@] has joined #openttd
20:23:37  <Wolf01> mmm help help sos mayday
20:24:39  *** helb [~helb@] has quit [Remote host closed the connection]
20:24:39  <Sacro> Wolf01: ?
20:24:55  *** helb [~helb@] has joined #openttd
20:24:56  <Wolf01> [...]please could you help me to add an item to a dropdown list? i can't get it to work
20:24:59  *** helb [~helb@] has quit [Remote host closed the connection]
20:25:09  *** Hadez [] has left #openttd []
20:25:38  <Wolf01> is about 1 hour i'm trying to do this
20:28:20  <Wolf01> again alone in a black room with ghosts all around...
20:29:41  <Rubidium> Wolf01: if you are not a little more specific we cannot help you, could you help me if I say (in real life): the vehicle that brings me to work on a daily basis is broken, what do I have to do?
20:29:42  *** caladan [] has joined #openttd
20:29:56  <Wolf01> take a bus
20:30:05  <Eddi|zuHause3> hm...
20:30:06  <Eddi|zuHause3> openttd: tile.h:54: GetTileType: Assertion `tile < MapSize()' failed.
20:30:13  <Eddi|zuHause3> (supposedly reversing on a bridge
20:30:21  <Eddi|zuHause3> was that fixed anywhere?
20:30:25  <Rubidium> Wolf01: you are assuming that I wasn't on the bus already
20:30:32  <Wolf01> i have to add a show-gui item to the map button in the main toolbar
20:30:34  <Rubidium> what if I already on the bus?
20:31:26  <Rubidium> Wolf01: the button with 'map of world' etc?
20:31:34  <Wolf01> yes that
20:31:52  <Rubidium> do you know where that gui is made?
20:32:09  <Wolf01> static void MenuClickScenMap(int index)
20:32:09  <Wolf01> {
20:32:09  <Wolf01> 	switch (index) {
20:32:09  <Wolf01> 		case 0: ShowSmallMap();            break;
20:32:09  <Wolf01> [...]
20:32:20  <Wolf01> i found only this
20:32:46  *** helb [~helb@] has joined #openttd
20:32:53  *** helb [~helb@] has quit [Remote host closed the connection]
20:32:57  <Rubidium> you better look in the src/lang/english.txt to look up the StringID
20:33:06  <Wolf01> at least looking for the strings which compare in the list
20:34:12  <Rubidium> there are two in english.txt, but the second one of them seems to be the 'right' one
20:35:28  <Wolf01> i looked for STR_EXTRA_VIEW_PORT
20:35:53  <Rubidium> always look for the first string in a list
20:36:44  <Wolf01> so STR_02DE_MAP_OF_WORLD?
20:36:47  <Rubidium> as usually for list of strings is, the list is determined by the first string and then the next (x - 1)
20:36:51  <Rubidium> yup
20:37:07  <Rubidium> now you do a global find in the sourcecode, which will yield src/main_gui.c
20:37:35  <Rubidium> now there are two instances of that STR_02DE.... in that file
20:37:57  <Wolf01> ooooh ok
20:38:01  <Wolf01> PopupMainToolbMenu(w, 4, STR_02DE_MAP_OF_WORLD, 3, 0);
20:38:12  <Wolf01> now i understand it
20:38:40  <Rubidium> the 3 will probably make it one larger, but then you'll need to attach a handler to that
20:39:35  *** helb [~helb@] has joined #openttd
20:40:15  <Rubidium> new button, which you already (almost found yourself); you have found the version for the scenario editor, but you need MenuClickMap
20:40:21  <Wolf01> with handler do you mean: case 3: ShowTransparencyToolbar(); break;
20:40:23  <Wolf01> ?
20:40:37  <Rubidium> yes, something like that
20:41:40  <Wolf01> the strings in english.txt must to be in exact order?
20:41:49  <Rubidium> yes
20:46:54  <Wolf01> ok, now i must only call the toolbar
20:49:23  <Eddi|zuHause3> gnah... ReverseTrainDirection is full of PBS magic :(
20:52:56  <Eddi|zuHause3> course none of which is commented
20:58:17  *** thgergo [] has quit [Ping timeout: 480 seconds]
20:59:09  *** scia [] has quit [Quit: Lost terminal]
21:02:50  <Eddi|zuHause3> i think i found the cause ;)
21:03:49  *** TheMask96 [] has quit [Ping timeout: 480 seconds]
21:18:51  * Darkvater is back
21:19:55  <Wolf01> mmmm little question: how to make a push button which stay pushed and which does not raise when another is pushed??
21:20:58  <Wolf01> maybe i must see the small map gui, if i remember well those button are what i'm looking for
21:21:28  <Darkvater>
21:21:35  <Darkvater> behold my newest toy \o/
21:22:01  <Belugas> nice sofa :S
21:22:06  <Belugas> but nice toy :D
21:22:33  <Darkvater> Bjarni: I was being sarcastic about language changes. Haven't I backported all of the changes since 0.5.0RC1?
21:23:34  <Darkvater> don't you talk ugly of the sofa or I'll send my mother to beat you up!
21:23:51  <Darkvater> although I agree those pillows are pretty bad
21:26:41  <Eddi|zuHause3> i've seen worse ;)
21:31:03  <Belugas> ^^  better then during my pre-wife era!  I had nor sofa nor pillows
21:31:13  <Darkvater> than
21:33:56  <Belugas> yes Master
21:38:56  *** MUcht [] has joined #openttd
21:44:55  *** Mucht_ [] has quit [Ping timeout: 480 seconds]
21:47:18  <Eddi|zuHause3> waah... this time i found a real bug
21:53:30  <Eddi|zuHause3>
21:54:42  *** helb [~helb@] has quit [Quit: Leaving]
21:54:51  <Dominic> Brianetta: I've got the detailed server query working well (Omnix from the forums).  I've been writing a patch for qstat (common server query program, used by xqf etc), nearly got it done now.
21:55:50  *** helb [~helb@] has joined #openttd
22:05:34  <stillunknown> Rubidium: here by any chance?
22:06:15  <Rubidium> stillunknown: you're lucky
22:07:23  <stillunknown> Rubidium: your comment said that the data should be saved, but it's the map array, it's stored by default i think
22:07:28  <ln->
22:07:45  <Rubidium> I'm sure it isn't :)
22:07:55  <stillunknown> the map is not stored?
22:08:03  <stillunknown> i'll check it to be sure
22:08:19  <Rubidium> the map is stored per byte
22:09:47  <Rubidium> you can, by the way, look at newhouses as they also introduce a m7
22:11:06  <stillunknown> your comment about loading (old savegames) is valid
22:11:51  <stillunknown> i need to find good working savegames to test some stuff
22:13:40  *** Belugas is now known as Belugas_Gone
22:13:53  <Belugas_Gone> good night/weekend all
22:15:31  <Darkvater> peter1138: ping
22:15:35  <Darkvater> bye Belugas_Gone
22:15:46  <stillunknown> Darkvater: do you know were the map save routine is?
22:15:57  <Darkvater> Celestar: ping
22:16:07  <Rubidium> misc.cpp
22:16:12  <Darkvater> misc.c
22:16:18  <Darkvater> _misc_chunk_handlers
22:16:34  <Brianetta> Dominic: Cool
22:20:16  *** ChrisM87 [] has quit [Remote host closed the connection]
22:25:49  *** setrodox [] has quit [Remote host closed the connection]
22:26:45  *** ThePizzaKing [] has joined #openttd
22:26:54  <Wolf01> boys:
22:27:31  <CIA-1> miham * r8084 /trunk/ (5 files in 2 dirs):
22:27:31  <CIA-1> [Translations] Added nynorsk translation (pollux), renamed norwegian to norwegian bokmal, moved nynorsk to finished languages, and updated project files.
22:27:31  <CIA-1> Strings pending to nynorsk will be preserved if they are differ from the current translation
22:29:04  <Eddi|zuHause3> am i the only person that does not understand this commit message?
22:29:46  <glx> Eddi|zuHause3: there are now 2 norwegian translations
22:29:50  <Darkvater> there are 2 different norwegian translation
22:29:51  <Darkvater> s
22:30:10  <Eddi|zuHause3> yeah, that was the easy part of the message ;)
22:30:47  <glx> what is the part you don't understand?
22:30:58  <Eddi|zuHause3> the second sentence
22:31:07  <glx> WT2 stuff
22:31:35  <Wolf01>
22:32:44  <Eddi|zuHause3> that blank part looks a little bad...
22:33:01  <CIA-1> miham * r8085 /trunk/ (6 files in 2 dirs): [Translations] fixed the filenames to the scheme the others use, updated projectfile, sorry
22:33:23  <Darkvater> now this message doesn't make any sense
22:33:27  <Wolf01> i think i'll use it for more transparencies when is time
22:36:16  <MiHaMiX> Darkvater: I must do it, since the other languages used underscores in filenames if they are multiple words
22:36:50  <Wolf01> i want to add transparent tracks/roads and transparent terrain, but if somebody wants to make an underground level
22:37:01  <MiHaMiX> Darkvater: see brazilian_portuguese and *_chinese
22:37:03  <Darkvater> MiHaMiX: I was not juding, just the commit message makes no sense
22:37:26  <MiHaMiX> Darkvater: yeah, I know, sorry, I'm just sleepy, but promised to do it to a translator
22:38:31  <Darkvater> is every dev ~MiHaMiX sleeping or what?
22:42:02  <MiHaMiX> Darkvater: parse error.
22:42:10  <Darkvater> ~ negate
22:42:16  <Darkvater> ever dev excluding MiHaMiX
22:46:43  <Rubidium> nice rhetorical question :)
22:48:32  <Darkvater> orudge: have you merged the OS/2 changes?
22:48:39  <Darkvater> orudge: or updated them?
22:48:53  <Darkvater> it rather
22:49:52  <orudge> I have, yes
22:49:56  *** ufoun [] has quit [Ping timeout: 480 seconds]
22:49:58  <orudge> they're in the trunk
22:50:03  <Darkvater> kk
22:53:28  <glx> Wolf01: +/* $Id: terraform_gui.cpp 8081 2007-01-12 23:10:00Z Wolf01 $ */ <-- should be +/* $Id$ */
22:53:41  <ln-> what are you talking about?
22:53:49  <Wolf01> ooooook
22:54:17  <ln-> why?
22:59:04  <ln-> it doesn't matter.
23:00:10  <glx> ln-: it does in a new file
23:01:04  <ln-> ah, that makes some sense.
23:01:04  <Rubidium> if you set svn:keywords Id on that file it will automatically become /* $Id$ */ in the svn-diff, so when you commit it should work fine too
23:01:46  * Darkvater ponders how to make the saveload code give back any useful error message
23:02:09  <ln-> users don't need error messages.
23:02:27  <Darkvater> OMG
23:02:38  <Darkvater> if loading a game fails, the intro game is loaded twice o_O
23:03:07  <Bjarni> 	<Darkvater>	Bjarni: I was being sarcastic about language changes. Haven't I backported all of the changes since 0.5.0RC1? <-- I thought so, but it was due to lack of changes in RC3
23:03:29  <Bjarni> I guess the changes was pending in wt2 or something
23:03:39  <Rubidium> Darkvater: you're certain it is the intro game? Not first a 'null' game and then the intro game?
23:04:26  <Darkvater> no cause SL_REINIT calls LoadIntroGame
23:05:02  <Rubidium> and the if (out|in)side SafeSaveOrLoad too?
23:05:04  <Darkvater> he
23:05:08  <Darkvater> yes
23:05:29  <Darkvater> but it's so that if you load a game ingame and it fails you are kicked back to intro menu
23:07:20  <Darkvater> o_O
23:07:35  <Darkvater> and ingame it creates an empty game, then jumps back to the intro
23:08:08  <Rubidium> yes, it is _really_ messy
23:08:27  *** Belugas_Gone is now known as Belugas
23:08:31  * Darkvater is not touching this for the moment
23:11:57  <stillunknown> does anyone have a current savegame with a few trains?
23:12:01  *** Digitalfox [] has quit []
23:12:16  <stillunknown> preferably with little newgrf
23:12:57  <Rubidium> stillunknown: you can make that yourself too :)
23:13:14  <Rubidium> and Pile Transport is not quite a savegame with a few trains :)
23:13:22  <stillunknown> but building a real network takes time
23:13:43  <Darkvater> hmm, where should I put md5sumToString()?
23:13:59  <Rubidium> md5.h ?
23:14:00  <Darkvater> I'd love it in md5.c but...donnu
23:14:18  <Rubidium> or string.h
23:14:34  <Rubidium> (and thus string.cpp)
23:15:13  <Darkvater> I think I'll go with md5
23:16:09  <Darkvater> then I can go include md5.h in newgrf_gui.c
23:16:09  <Darkvater> he
23:17:10  <Brianetta> I'm getting a seg fault on RC3 on my laptop
23:17:11  <Darkvater> or I shouldn't mess with md5.[ch]?
23:17:35  <Bjarni> Brianetta: that's not good
23:17:46  <Bjarni> why?
23:17:46  <Brianetta> It might be config
23:17:48  <Brianetta> ALSA lib pcm_direct.c:1629:(snd_pcm_direct_parse_open_conf) Unknown field ipc_sem
23:17:51  <Brianetta> ALSA lib pcm_direct.c:1629:(snd_pcm_direct_parse_open_conf) Unknown field ipc_sem
23:18:38  <Bjarni> I got no idea on how that stuff is supposed to work
23:18:49  <Brianetta> $ ./openttd -n -s null
23:18:49  <Brianetta> Segmentation fault
23:18:59  <Brianetta> That didn't even give an error
23:19:14  <Darkvater> isn't it the #255
23:19:48  <Brianetta> shouldn't be
23:19:58  <Brianetta> I'm using Celestar's fixed revision
23:20:01  <Darkvater> ah
23:20:15  <Brianetta> 7974 I believe
23:20:51  *** Dextro [~dextro@] has joined #openttd
23:21:00  <Brianetta> but it is at the same place
23:21:07  <Brianetta> ie, exactly after the map loads
23:21:54  *** glx|away [] has joined #openttd
23:22:13  <Darkvater> no crash here
23:22:16  <Brianetta> no
23:22:22  <Brianetta> I have a couple of core files
23:22:30  <Brianetta> one for each message (one mentions sound drivers)
23:22:41  <Darkvater> hmm wait...not responding?
23:22:53  <Brianetta> segv
23:23:03  <Brianetta> pcm_direct.c
23:23:10  <stillunknown> does ottd have a function that can focus on a tile as argument?
23:23:18  <Darkvater> ah no; it works
23:23:21  <Brianetta> stillunknown: No, but iit has a console command
23:23:32  <Darkvater> stillunknown: scrollto <tile> uses that function
23:25:44  *** glx [] has quit [Killed (NickServ (GHOST command used by glx|away))]
23:25:48  *** glx|away is now known as glx
23:26:56  <Brianetta> <-- two Linux core dumps, with unstripped debug executable
23:27:19  * Darkvater thinks that's a job for Rubidium  ^_^'
23:27:32  <Brianetta> Perhaps (:
23:28:01  <Brianetta> I try to make everything as useful as possible
23:28:20  <Darkvater> yo ucan come to me with windows crashdumps any time ;)
23:28:23  <stillunknown> i can't find a prototype for ScrollMainWindowToTile
23:28:33  <Darkvater> grep
23:28:34  <stillunknown> makes me wonder how other files can use it
23:28:41  <stillunknown> i searched, don't worry
23:28:43  <Brianetta> Darkvater: It's unlikely, but I'll bear it in mind
23:28:59  <Rubidium> Brianetta: it is a version from the 0.5-branch, right?
23:29:03  <stillunknown> ignore that, i missed a .h file
23:29:18  <Brianetta> Rubidium: Yes, it is
23:30:01  <Rubidium> the backtrace makes no sense to me, it's all "#X 0xXXXXXXXX in ?? ()"
23:30:10  <Rubidium> does your gdb give a better backtrace?
23:30:17  <Brianetta> server is r7977, that crash is a client built from r7974
23:30:20  <Dextro> those are memory locations
23:30:31  <Dextro> addresses*
23:30:48  <Rubidium> Dextro: yes, but they should be resolved to some function-name
23:30:49  <Brianetta> 7974 has Celestar's fix for this problem before Darkvater un-committed it (:
23:31:05  <Brianetta> Rubidium: Give me a moment
23:31:34  <Dextro> Rubidium hum, how? are you using gdb to follow the source as you execute the program?
23:31:48  <stillunknown> it's really funny seeing the window switch every second or so
23:31:53  <Dextro> it should point to the bits of the file where it crashed I suppose...
23:32:02  <Brianetta> Rubidium: I have a backtrace
23:32:15  <Brianetta> Doesn't the executable int he archive have the symbols?
23:32:35  <Brianetta> I'll pastebin a backtrace from both core dumps
23:33:07  <Rubidium> Dextro: properly compiled it should have said something like "#X 0xXXXXXXXX in SomeFunction(BLA, DONG, 10)" with line numbers etc
23:33:34  <Rubidium> but when the binary gets optimized/stripped you'll lose some (a lot) information
23:33:47  <Brianetta>
23:33:52  <Brianetta> lower pid
23:33:55  <Dextro> Release binaries don't ussually have that debugging information
23:34:09  <Dextro> (and yes my english today is in the gutter)
23:34:25  <Rubidium> Dextro: true, but Brianetta compiled it himself
23:34:35  <Darkvater> #3 would be the interesting one :)
23:34:36  *** Progman [] has joined #openttd
23:34:41  <Brianetta>
23:34:44  <Brianetta> higher pid
23:35:17  <Brianetta> Dextro: I consider release candidates to be for testing, and so I build an unstripped debug binary
23:35:18  <Rubidium> could you set DEBUG to 3 in Makefile.config, recompile, rerun and dump that backtrace?
23:35:21  <Brianetta> in case it's needed
23:35:37  <Brianetta> Rubidium: Sure.  Ar ethey the same?  Do you just need one?
23:35:57  <Dextro> Brianetta, files not beeing recompiled due to caching? 8-) compiler bug? :P
23:36:05  <Rubidium> huh?
23:36:41  <Brianetta> Dextro: Um, what?
23:36:47  <Brianetta> Rubidium: The two core files
23:36:51  <Brianetta> different errors
23:36:57  <Brianetta> one with sound enabled, one with -s null
23:37:06  <Dextro> anyone know of a way to crash openttd so I can test? :P
23:37:31  <Celestar> Darkvater: did you call?
23:37:32  <Rubidium> well, the backtraces are the same, so I suppose so
23:37:37  <Celestar> cuz I'm on my way out
23:37:50  *** Progman [] has quit [Remote host closed the connection]
23:38:03  <Darkvater> Celestar: yes, trasnfer/unload virtual profit is still broken I think
23:38:14  <Darkvater> but tomorrow when you're back is a better time
23:38:18  <Brianetta> Right, I have a core file
23:38:18  <Darkvater> (for trains)
23:38:40  <Celestar> Darkvater: I'm on the road for 2 days now
23:38:41  <Rubidium> Brianetta: you've got a fast computer :)
23:38:44  <Celestar> Darkvater: but then. ok :)
23:38:53  <Brianetta> Rubidium: It's a new laptop
23:39:03  <Brianetta> Centrino
23:39:31  *** BJH2 [] has quit [Quit: ChatZilla 0.9.61 [Mozilla rv:1.7.12/20050915]]
23:39:36  <Brianetta> got a longer backtrace
23:39:49  <Rubidium> nice :)
23:40:00  <Rubidium> hopefully with some more information :)
23:40:02  *** FlashMCD [] has joined #openttd
23:41:03  <Brianetta> uploading...
23:41:15  *** FlashMCD [] has quit []
23:42:08  <Brianetta> OK, that file has been updated
23:42:20  <Brianetta> executable with symbols, core dump and my backtrace
23:42:37  *** FlashFF [] has joined #openttd
23:43:07  <Rubidium> grfmsg (severity=7 ... <- seems you've got the 'bad' version compiled
23:43:18  <Brianetta> I wonder how
23:43:23  <Darkvater> hehe
23:43:34  *** Rens2Sea [~Rens2Sea@] has quit []
23:43:53  <Brianetta> svn revert only reverted Makefile
23:44:03  <Brianetta> where I commented out the line that strips opentd
23:44:12  *** DJ_Mirage [] has quit [Quit:]
23:45:34  <Brianetta> $ grep grfmsg network.c
23:45:35  <Brianetta> $
23:46:12  *** Digitalfox [] has joined #openttd
23:46:14  <Rubidium> Brianetta: line 2421 of newgrf.c
23:46:18  <SpComb> Logs:
23:46:18  <Digitalfox> !logs
23:46:39  <Brianetta> knew it was ne*
23:46:47  <stillunknown> when going trough a tunnel, does v->tile actually change, or just the position?
23:47:12  <Darkvater> just position,v->tile is fixed at tunnel entrance
23:47:15  <Brianetta> yes, I see it
23:47:29  <stillunknown> and what happens at exit?
23:47:51  <Rubidium> it has a grfmsg(7 in that line, right?
23:47:52  <Darkvater> it's updated
23:48:16  <Brianetta> 7977
23:48:22  <Brianetta> It was the wrong revision
23:48:35  <Brianetta> which is odd, because my PC's revision claims to be that one
23:48:48  <Brianetta> (the one I had before)
23:48:54  <Brianetta> which should crash
23:49:01  <Brianetta> but doesn't, because...
23:49:07  <Brianetta> oh, time to make clean
23:49:55  <Dextro> hehe :P
23:49:59  <Brianetta> server is 7974
23:50:03  <Brianetta> there's the confusion
23:50:09  <Brianetta> too many ssh terms
23:52:13  <Brianetta> OK, Rubidium, Darkvater - apologies for making you hunt for a bug that was fixed
23:52:35  <Dextro> looool nice :P
23:53:50  <Brianetta> (:
23:55:20  *** XeryusTC [] has quit []
23:55:55  <Brianetta> Is there a keyboard shortcut for zoom in and out?
23:55:59  <Brianetta> My laptop has no scrollwheel
23:56:16  <Brianetta> and an IBM nipple pointer isn't the easiest for toolbar clicking
23:56:30  <Bjarni> use hotkeys
23:56:44  <Dextro> That's what he was asking Bjarni :P
23:56:45  <Bjarni> it's a laptop... in your case, they really are hot ;)
23:57:02  * Bjarni makes a note about not answering in more than one channel at once
23:57:16  <Bjarni> page up and down... I think
23:57:38  <Sacro> mmmmmmm breasts
23:58:19  <Bjarni> I'm used to Sacro showing up with comments like that, but still
23:58:34  <Bjarni> what is the link between page up/down to breasts?
23:58:35  <Dextro> :P
23:58:36  <Bjarni> wait
23:58:40  <Bjarni> I don't want to know :P
23:59:39  <Dextro> hum this is interesting, not an openttd bug but interesting :P
23:59:42  <Sacro> breasts also go up and down
23:59:48  *** Purno [] has quit [Quit: Life is a game of pick-up-sticks, played by fucking lunatics.]
23:59:50  <Bjarni> O-O

Powered by YARRSTE version: svn-trunk