Log for #openttd on 16th October 2007:
Times are UTC Toggle Colours
00:00:27  <Eddi|zuHause2> money is earned at the first unload step
00:00:59  <Eddi|zuHause2> every subsequent unload step (even if the train leaves the station and arrives again) is "free"
00:01:31  <Eddi|zuHause2> and i go to bed
00:02:42  <SmatZ> yup
00:02:54  <SmatZ> I thought about cargo
00:03:12  <SmatZ> better go to bed, I am so tired :-x
00:03:14  *** SmatZ [] has quit [Remote host closed the connection]
00:09:30  *** Osai [] has quit [Quit: Osai]
00:12:43  *** BigBB [] has quit [Quit: BigBB]
00:33:48  *** fjb [] has quit [Quit: KVIrc 3.2.0 'Realia']
00:36:28  <CIA-5> OpenTTD: belugas * r11272 /trunk/src/newgrf_gui.cpp: -Codechange: Truncate text describing the grf file in the NewGrf settings gui
00:37:08  *** dstar215 [] has joined #openttd
00:38:29  *** Diabolic1Angel [] has joined #openttd
00:41:15  *** bbp215 [] has quit [Ping timeout: 480 seconds]
00:45:30  *** Diabolic-Angel [] has quit [Ping timeout: 480 seconds]
00:46:44  *** Diabolic-Angel [] has joined #openttd
00:47:39  <Grey> sleep now. night.
00:47:42  *** Grey [] has quit [Quit: Leaving]
00:49:42  *** Diabolic1Angel [] has quit [Ping timeout: 480 seconds]
00:52:37  *** bbp215 [] has joined #openttd
00:57:27  *** dstar215 [] has quit [Ping timeout: 480 seconds]
00:57:36  *** dstar215 [~asdad@] has joined #openttd
01:00:40  *** bbp215 [] has quit [Ping timeout: 480 seconds]
01:09:15  *** mgriff215 [] has joined #openttd
01:09:42  *** dstar215 [~asdad@] has quit [Ping timeout: 480 seconds]
01:26:28  <_Ben_> Sacro: you may be interested...middlesbrough overtook hull finally. >
01:31:31  *** Eddi|zuHause3 [] has joined #openttd
01:31:44  *** UnderBuilder [~chatzilla@] has quit [Read error: Connection reset by peer]
01:37:59  *** Eddi|zuHause2 [] has quit [Ping timeout: 480 seconds]
01:45:30  *** Diabolic-Angel [] has quit [Quit: leaving]
01:59:39  *** Netsplit <-> quits: Hendikins|Gone
02:01:29  *** glx [] has quit [Quit: bye]
02:02:43  *** Hendikins [] has joined #openttd
02:04:11  <huma> how can i see the effect of "funding new buildings" in town?
02:07:47  <bruce89> with your eyes
02:08:35  <Ailure> haha oh my
02:08:38  <Ailure> that picture is classic
02:09:31  *** Ammller [] has quit [Remote host closed the connection]
02:29:31  *** bruce89 [] has left #openttd []
03:06:30  *** Amix^ [] has quit [Quit: This computer has gone to sleep]
03:15:42  *** Osai [] has joined #openttd
03:21:01  *** ThePizzaKing [] has joined #openttd
03:24:13  *** nairan_ZZzz [] has joined #openttd
03:24:15  *** mcbane [] has quit [Ping timeout: 480 seconds]
03:29:16  *** Ihmemies [] has quit [Quit: Signed off]
03:45:25  *** Osai [] has quit [Quit: Osai]
04:04:05  *** Zavior [] has joined #openttd
04:04:08  *** Zavior [] has quit []
04:04:55  *** tokai [] has quit [Ping timeout: 480 seconds]
04:05:17  *** Zavior [] has joined #openttd
04:06:41  *** tokai [] has joined #openttd
04:06:42  *** mode/#openttd [+v tokai] by ChanServ
04:06:48  *** ThePizzaKing [] has quit [Read error: Operation timed out]
04:10:03  *** AntB [~AntB-UK@] has quit [Quit: *poof!* I am gone -=- Using ChatZilla]
04:20:23  *** Osai [] has joined #openttd
04:20:28  *** ThePizzaKing [] has joined #openttd
04:31:22  *** bbp215 [] has joined #openttd
04:34:14  *** dstar215 [] has joined #openttd
04:37:25  *** mgriff215 [] has quit [Ping timeout: 480 seconds]
04:39:25  *** bbp215 [] has quit [Ping timeout: 480 seconds]
04:44:22  *** Osai [] has quit [Quit: Osai]
04:49:48  *** mcbane [] has joined #openttd
04:49:50  *** nairan_ZZzz [] has quit [Ping timeout: 480 seconds]
05:29:00  *** FlowaPowa [] has quit [Quit: FlowaPowa]
05:49:29  *** KouDy [user@] has joined #openttd
05:49:33  *** boekabart [~boekabart@] has joined #openttd
05:49:48  *** Deathmaker [] has joined #openttd
05:49:50  *** Farden [] has joined #openttd
05:50:46  *** KouDy [user@] has quit []
05:57:37  *** Markkisen [] has quit [Ping timeout: 480 seconds]
06:00:52  *** Zaviori [] has joined #openttd
06:00:52  *** Zavior [] has quit [Read error: Connection reset by peer]
06:01:38  *** Zavior [] has joined #openttd
06:16:32  *** Deathmaker [] has quit [Read error: Connection reset by peer]
06:26:13  *** Gekz [] has joined #openttd
06:38:54  *** Zaviori [] has quit [Read error: Connection reset by peer]
06:38:54  *** Zavior [] has quit [Read error: Connection reset by peer]
06:39:08  *** Zavior [] has joined #openttd
06:39:10  *** Zaviori [] has joined #openttd
06:41:51  *** |Bastiaan| [~kvirc@] has joined #openttd
06:55:57  *** peterbrett [] has joined #openttd
07:00:57  *** Frostregen_ [] has joined #openttd
07:02:15  *** dihedral|away is now known as dihedral
07:02:23  <dihedral> morning
07:02:30  <boekabart> hi dihedral
07:05:45  *** Gekz [] has quit [Remote host closed the connection]
07:06:54  *** Frostregen [] has quit [Ping timeout: 480 seconds]
07:07:07  *** Frostregen_ is now known as Frostregen
07:07:54  *** Gekz [] has joined #openttd
07:08:45  <dihedral> TrueBrain: is there anything specific you could point me towards regarding noai?
07:12:33  *** Gekz [] has quit [Remote host closed the connection]
07:13:01  *** Gekz [] has joined #openttd
07:16:28  *** Gekz [] has quit []
07:16:57  *** Gekz [] has joined #openttd
07:17:47  *** Gekz [] has quit [Remote host closed the connection]
07:18:12  *** Gekz [] has joined #openttd
07:19:40  *** Gekz [] has quit [Remote host closed the connection]
07:21:16  *** prakti [] has joined #openttd
07:22:06  *** Gekz [] has joined #openttd
07:23:53  <dihedral> welcome back
07:25:15  *** Gekz [] has quit []
07:25:32  *** elmex [] has joined #openttd
07:26:12  *** Gekz [] has joined #openttd
07:29:07  *** elmex [] has quit [Remote host closed the connection]
07:29:20  *** elmex [] has joined #openttd
07:29:28  *** Gekz [] has quit []
07:30:01  *** Gekz [] has joined #openttd
07:32:43  *** Gekz [] has quit []
07:33:15  *** Gekz [] has joined #openttd
07:40:56  <dihedral> the joiner :-P
07:49:58  <blathijs> Gekz: Would you mind stopping your blinking in some way?
07:50:11  <Gekz> err, what?
07:50:36  <blathijs> Gekz: You've quit and joined 10 timesin the last hour
07:50:41  <boekabart> Gekz: you were going off- and online every minute
07:51:05  <Gekz> oh, I plan to stop now.
07:51:12  <Gekz> my xorg was screwing up.
07:51:18  <Gekz> and XFCE kept auto loading my irc client -_-
07:51:28  <blathijs> Gekz: k :-)
07:53:51  <dihedral> :-P
08:00:03  *** G [] has joined #openttd
08:01:50  *** G_ [] has quit [Ping timeout: 480 seconds]
08:02:11  *** a1270 [] has quit [Quit: The ending changes tone & is actually quite sad - but it involves a scene of necrophilia, so that's just another plus in my book.....]
08:05:51  *** Gekz [] has quit [Remote host closed the connection]
08:06:48  <dihedral> lol
08:07:05  *** Gekz [] has joined #openttd
08:07:22  <dihedral> why dont you disable the autoloading of your irc client?
08:07:22  *** G [] has quit [Read error: Connection reset by peer]
08:07:49  <dihedral> * for the time you are getting xorg to work
08:09:55  *** G [] has joined #openttd
08:12:19  <Gekz> I didn't mean to kill it just then -_-
08:12:25  <Gekz> I was in the middle of a movie when it happened
08:12:32  *** kampasky_ [] has joined #openttd
08:12:42  *** stillunk1own [] has joined #openttd
08:12:46  *** Rubidium_ [] has joined #openttd
08:13:17  *** valhalla1w [] has joined #openttd
08:13:19  *** Netsplit <-> quits: kampasky, TrueBrain, Dark_Link^, DNazarov, Rubidium, elmex, mikegrb, RamboRonny, Mucht, guru3,  (+11 more, use /NETSPLIT to show all of them)
08:13:57  *** Netsplit over, joins: Zaviori
08:14:06  *** Netsplit over, joins: elmex, +tokai, huma, TinoDidriksen, Dark_Link^, Mucht, Dephenom, TrueBrain, RamboRonny, mikegrb (+4 more)
08:14:11  *** mode/#openttd [+v MiHaMiX] by ChanServ
08:15:29  *** Dephenom [] has quit [Ping timeout: 480 seconds]
08:20:03  *** BigBB [] has joined #openttd
08:21:27  *** prakti [] has quit [Quit: Quitting .... Hackedi...hackedi...weg.]
08:25:53  *** Strid [] has joined #openttd
08:26:02  * dihedral greets Rubidium_
08:26:04  <dihedral> :-P
08:26:13  *** gule [~Administr@] has joined #openttd
08:26:51  *** Dephenom [] has joined #openttd
08:36:12  *** Alltaken [] has joined #openttd
08:36:16  *** Alltaken [] has quit []
08:38:08  *** Smoky555 [~Miranda@] has joined #openttd
08:43:00  *** mucht_work [~martin@] has joined #openttd
09:02:28  *** a1270 [] has joined #openttd
09:03:43  *** Vikthor [] has joined #openttd
09:19:45  *** a1270 [] has quit [Quit: The ending changes tone & is actually quite sad - but it involves a scene of necrophilia, so that's just another plus in my book.....]
09:23:51  *** Gekz [] has quit [Remote host closed the connection]
09:25:06  *** Vikthor [] has quit [Remote host closed the connection]
09:26:34  *** Vikthor [] has joined #openttd
09:27:29  *** tokai [] has quit [Ping timeout: 480 seconds]
09:29:20  *** tokai [] has joined #openttd
09:29:23  *** mode/#openttd [+v tokai] by ChanServ
09:32:23  *** a1270 [] has joined #openttd
09:58:04  *** Vikthor [] has quit [Remote host closed the connection]
09:59:12  *** Ammler [] has joined #openttd
10:04:48  *** Gekz [] has joined #openttd
10:07:20  *** TinoM [] has joined #openttd
10:07:45  *** DJ_Mirage [] has quit [Ping timeout: 480 seconds]
10:09:10  *** DJ_Mirage [] has joined #openttd
10:21:56  *** Progman [] has joined #openttd
10:24:46  *** FlowaPowa [] has joined #openttd
10:27:14  *** Vikthor [] has joined #openttd
10:27:25  *** FlowaPowa [] has left #openttd []
10:28:17  *** novotv6_ [] has joined #openttd
10:28:29  *** novotv6_ [] has quit []
10:32:33  *** Vikthor [] has quit [Remote host closed the connection]
11:17:05  *** Zavior [] has quit [Quit: ( :: NoNameScript 4.1 :: )]
11:19:37  *** Deathmaker [] has joined #openttd
11:20:07  <Phazorx> Error: !invalid string id 0 in GetString
11:20:07  <Phazorx> openttd: /home/ottdcoop/svn-devserver/src/openttd.cpp:110: void error(const char*, ...): Assertion `0'
11:20:07  <Phazorx> failed.
11:21:27  <Progman> fixed in a new revision
11:21:56  <Phazorx> err
11:22:00  * dihedral greets
11:22:08  <Phazorx> we need a new #wwottdgd build then
11:22:13  <Progman> I got this error with the ECS vectors too
11:22:19  <dihedral> :-)
11:23:19  *** Bakes [] has joined #openttd
11:23:34  <Phazorx> so... shall we try vanila nighty
11:25:00  <Phazorx> Progman: is 267 good enough?
11:26:30  <Progman> tested with 11269
11:38:55  *** peterbrett [] has quit [Remote host closed the connection]
11:41:38  <dihedral> whats going on Phazorx
11:42:12  <Phazorx> recompiling latest nighty on .dev
11:43:22  <dihedral> did something fail?
11:44:10  <Phazorx> i posted the assert 10 lines above
11:46:17  <Phazorx> err how do i check which files differ between local copy and trunk of same revision?
11:47:27  <dihedral> svn st
11:55:16  <boekabart> BigBB: Your patch changes flooding behaviour, right?
11:55:29  <boekabart> as in - flood into 'canyons'
11:55:30  *** elmex [] has quit [Read error: Connection reset by peer]
11:55:57  *** elmex [] has joined #openttd
11:57:59  *** fjb [] has joined #openttd
11:58:06  <fjb> Moin
11:58:25  *** TinoM [] has quit [Ping timeout: 480 seconds]
11:59:07  <boekabart> BigBB: I mean - it does. I understand it's 'necessary' for newwater - but why change the behaviour for currentwater?
12:03:44  *** Mucht [] has quit [Remote host closed the connection]
12:07:06  *** Mucht [] has joined #openttd
12:08:51  *** Gekz [] has quit [Quit: KVIrc 3.2.6 Anomalies]
12:10:32  *** fjb [] has quit [Quit: KVIrc 3.2.0 'Realia']
12:11:41  *** Roujin [] has joined #openttd
12:13:05  <Roujin> cheers, anyone else here getting asserts on game start that seem to have to do with the new face generator that made it in trunk?
12:13:23  <Phazorx> hmm... can anyone suggest where do i get updated ttdpbasew.grf compatible with recent nighties?
12:13:44  <Roujin> didn't encounter it on a clean build, but i didn't change anything that would cause it
12:14:23  <Ammler> Phazorx: check TTDP at coop wiki
12:14:46  <boekabart> Phazorx: I found it last week in the forums
12:14:59  <Ammler>
12:15:19  <Phazorx> Ammler:  that one doesnt seem to work
12:15:36  <Phazorx> i'm looking at forums but ones i see there dated july/august
12:15:37  <Roujin> just now it happened again, assertion failed. expression: val < _pf_info[pfv].valid_values[ge] in file player_face.h, line 102
12:15:44  <Ammler> hmm, maybe some posts forward
12:15:53  <Ammler> could you update the wiki then?
12:16:05  <Kommer> ammler, corrected some spelling errors on that pages
12:16:11  <Phazorx> Ammler: our wiki doesnt even have that file
12:16:27  <Phazorx> nm
12:16:37  <Ammler> Phazorx: but the link to the page
12:16:53  <Roujin> any ottd devs present? :P
12:16:57  <Ammler>
12:17:32  <Ammler> Kommer: thanks
12:17:55  <Kommer> np
12:20:10  *** frosch123 [] has joined #openttd
12:22:02  <Ammler> Heya frosch123, I know now, what you mean with action10
12:22:17  <frosch123> ?
12:22:22  <Ammler> in older versions only 0xE0.. was working
12:22:35  <boekabart> Roujin: is this an unmodified build?
12:22:38  <frosch123> Yes, but your code was valid, too.
12:22:59  <Ammler> Is that a bad idea, to use it my way?
12:23:54  <frosch123> It was the first time I saw it this way, so I did not thought of printing the labelid as character.
12:24:37  <Ammler> yeah, not importend, as I am not a GRF coder yet ;)
12:24:38  <frosch123> It is no problem to add that behaviour though.
12:24:46  <BigBB> boekabart, a little bit. It's necessary for flooding corner-shores.
12:25:21  <boekabart> BigBB: did you see my 'bug report' in the forum
12:25:35  <BigBB> no
12:25:42  <frosch123> BigBB: Hi, are you planning to solve the issue with rails near the shore?
12:25:52  <Ammler> I really like the way, Maedhros coded the IndustryStations
12:26:04  <Ammler> does he use GRFMaker?
12:27:00  *** Brianetta [] has joined #openttd
12:28:27  <BigBB> frosch123, atm, no. Because this are extra spirits. And there's no single railway graphic for overlay (railway with gravel under it).
12:28:31  <Ammler> Phazorx: DaleStan says, its this grf on that thread
12:28:45  <Phazorx> got it to work now
12:28:46  <Phazorx> thanks
12:28:58  <Ammler> so my little howto seems still to be correct ;)
12:29:08  <frosch123> BigBB: See how it is solved in the halftile patch. Trunk can now draw rectangular subsprites, so you can construct the missing sprites.
12:29:42  <BigBB> frosch123, hmm I have a look on it
12:29:47  <Ammler> BigBB: you are working on the river patch?
12:30:07  <BigBB> no, maybe after corner-shores
12:30:16  <frosch123> Though the version on the forum is horribly outdated.
12:30:43  <boekabart> Ammler: the river patch is done for a long time
12:30:50  <boekabart> just no dev seems interested in merging it
12:31:46  <Ammler> boekabart: you mean the tunnelUnderWater patch?
12:31:47  <boekabart> (it was part of deepwater - taken out because it made deepwater smaller for better chances of trunking... that just never happened)
12:31:51  <BigBB> boekabart, thanks for reporting the bug, I fix it
12:31:53  <boekabart> Ammler: so yes :)
12:32:15  <boekabart> BigBB: still - it's changed behaviour, those canyons used not to flood - which also looks OK with normal water sprites
12:32:30  <Ammler> we need this patch to make a Swiss Scenario
12:32:48  <boekabart> only with newwater its not pretty since that water is drawn 'as if' it's a little higher than the ground
12:32:48  <Ammler> its impossible without different see levels
12:33:06  <boekabart> Ammler: you can make canals instead :)
12:33:14  <Ammler> wÀhh
12:33:32  <Ammler> !translate de_CH_en wÀhh
12:33:35  <boekabart> anyway - I was planning to splitting the deepwater (tunnel under sea) patch even more to make rivers possible
12:34:11  <Roujin> @boekabart: it was modified, but only so slightly it couldn't possibly have broken something in player_face.h ... i think. i'll go see if it happens on a clean build
12:34:24  <Roujin> sorry for being away the last minutes
12:35:28  <BigBB> boekabart, maybe we can work together on a river patch. It will be nice if the land generator generate rivers too.
12:36:24  <Ammler> one little patch would be: make newwater looks also nice in ottd
12:36:27  <Ammler> the missing tiles
12:36:45  <BigBB> you mean my patch?
12:36:58  <Roujin> ok it happens on a clean build aswell, r11272
12:37:06  <Ammler>
12:37:20  <Roujin> same line as before
12:37:26  <Ammler> BigBB: does your patch solve that '^^?
12:37:33  <Roujin> assertion failed. expression: val < _pf_info[pfv].valid_values[ge] in file player_face.h, line 102
12:37:36  <BigBB> Ammler, yes
12:37:45  <Ammler> \o/
12:37:48  <BigBB> Ammler,
12:38:53  <Roujin> ah well it's reported to flyspray now anyways ^^
12:39:50  <Ammler> BigBB: big patch, has it chance to go in trunk?
12:40:21  <Ammler> I really hope so.
12:41:14  <BigBB> Ammler, of course.
12:41:21  *** Klanticus [] has joined #openttd
12:41:36  <BigBB> but it's now not finished.
12:41:45  <Ammler> :(
12:41:48  <Ammler> whats missing?
12:41:53  <Ammler> the flooding thing?
12:42:42  <BigBB> yes, the bug fixing :D . And one other little thing.
12:44:04  *** Zr40 [~zr40@2001:960:786:0:21b:63ff:fe9e:ab24] has joined #openttd
12:46:01  *** LittleMikey [] has joined #openttd
12:47:21  *** Osai [] has joined #openttd
12:50:41  <Roujin> hmm anyone of you more experienced coders willing to help me out for a sec? :/
12:50:56  <LittleMikey> Roujin: Which language?
12:51:32  <Roujin> well C++, but actually the question is rather about the OTTD source
12:52:07  <Roujin> i want to make a check for the tile_height, to ensure it's not lower than the minimum or greater than the maximum allowed
12:52:26  <LittleMikey> Roujin: Ok ^_^ I'm not good at that, thought you were asking general programming question lol
12:52:59  <Roujin> ok ^^ anyone else?
12:53:08  <frosch123> Roujin: Are you searching for MAX_TILE_HEIGHT?
12:54:14  <Roujin> yes, kind of.. where is that defined, and would it be okay to make a raw check against that?
12:54:35  <Roujin> like.. if variable > MAX_TILE_HEIGHT break;
12:54:38  <frosch123> tile.h, and yes it is also used in the normal terraform command
12:55:15  *** Ihmemies [] has joined #openttd
12:55:59  <Roujin> wouldn't that be some kind of duplication, then? should i rather let it try to terraform it, and break if terraform fails? but i can't archieve that ><
12:56:13  <boekabart> what do you want to happen?
12:56:44  <boekabart> if the h at the point you start, IS already at max level - do you want everything to become that height (== level tool) or do you want the whole thing to fail?
12:56:53  <frosch123> I guess the easiest is to duplicate lines 163 to 165 to the start of your command function.
12:57:13  <boekabart> it depends on what you (= we the users ) want
12:57:13  <Roujin> i'm making the "area terraform" patch, but i have to ensure at some point it doesn't go below zero or above the max.
12:57:28  <boekabart> Roujin: we know that
12:57:39  <boekabart> the question is as I asked above
12:58:10  <Roujin> er, sorry. hmmm clever question
12:58:19  <Roujin> i'd say whole thing fails
12:59:32  <Roujin> so i'll make that check for height before doing anything... thanks at you two :)
12:59:32  <boekabart> then add before adding the param2: if (h == MAX_TILE_HEIGHT || h == 0) return CMD_SOME_ERROR
13:00:41  <boekabart> this is better than if h>max_tile_height AFTER the adding / substracting since then you assume that h can contain values that big (not the case once it becomes max-height = 255, and h is byte - and not the case when h is already 0 : 0 -1 = 255 (unsigned!)
13:00:41  <frosch123> Roujin: You should change the type of h from uint to int :)
13:01:04  <boekabart> frosch123: no, he should check before adding param2
13:02:31  <Roujin> hmm ok i see your point
13:04:12  <Roujin> ok wait a second
13:04:48  <Roujin> uint means no negative numbers rightß
13:04:49  <Roujin> ?
13:05:31  <Roujin> aah i'm confused right now
13:06:12  *** Diabolic-Angel [] has joined #openttd
13:06:43  <boekabart> yes
13:06:48  <Roujin> dang
13:06:48  <boekabart> u = unsigned
13:07:00  <Roujin> funny
13:07:04  <boekabart> but that's ok if you check in advance
13:07:06  <dihedral> f - funny
13:07:07  <Belugas> boekabart, PM
13:07:28  <Roujin> my patch overflows and underflows, i didn't notice :D
13:08:22  *** paul_ [~paul@] has joined #openttd
13:08:53  *** GeneralTom [] has joined #openttd
13:08:57  <GeneralTom>  op please
13:09:03  *** LittleMikey [] has left #openttd []
13:09:12  <Roujin> i put -1 in the parameter, which makes it ...4294967294 i guess, and add that to the tile height, which overflows, just to arrive at teilheight - 1 :D
13:09:27  <boekabart> exactly
13:09:37  <Roujin> dang, i didn't even notice ><
13:10:38  <Roujin> is it okay to let it just underflow and overflow (controlled) like that?
13:10:55  <Roujin> or is that "bad coding"?
13:11:30  *** GeneralTom [] has left #openttd []
13:12:02  *** glx [] has joined #openttd
13:12:02  *** mode/#openttd [+v glx] by ChanServ
13:12:05  <boekabart> Roujin: it won't if you add a check before - and then it's OK
13:12:56  <Roujin> great, you helped me out a lot understanding what i am actually doing, or what i should be doing :D thanks a bunch
13:13:22  * Roujin goes to fix his broken piece 'o code now
13:14:27  <boekabart> no problem. it never hurts to help!
13:14:59  *** Dephenom [] has quit [Ping timeout: 480 seconds]
13:18:06  *** ThePizzaKing [] has quit [Quit: ThePizzaKing]
13:24:19  *** Bakes [] has quit [Read error: Connection reset by peer]
13:24:56  *** Bakes [] has joined #openttd
13:30:37  *** paul_ is now known as Dephenom
13:33:32  *** Klanticus [] has quit [Quit: ChatZilla [Firefox]]
13:34:30  <Roujin> thanks again, i have to go off now. until next time :)
13:34:36  *** Roujin [] has quit [Quit:  HydraIRC -> <- The professional IRC Client :D]
13:38:53  *** frosch123 [] has quit [Remote host closed the connection]
13:40:29  *** frosch123 [] has joined #openttd
13:42:25  *** Osai [] has quit [Quit: Osai]
13:45:19  <dihedral> would that then require a lot of callback function available to squirrel?
13:46:00  <TrueBrain> [15:44] <dihedral> TrueBrain: with squirrel as the console language, would it be possible to actually make proper plugins,
13:46:00  <TrueBrain> [15:44] <dihedral> in the sense of checking the chatmessages for certain words before sending out to all other clients?
13:46:00  <TrueBrain> [15:44] <TrueBrain> if someone writes it, yes
13:46:00  <TrueBrain> [15:44] <dihedral> so that one could replace 'bad' words with *** for example?
13:46:01  <dihedral> as by looking at the noai code, it seems like there are a lot of SQAI functions, which i believe (and for sure may be mistaken) link to actual functions/methods in the code...
13:46:01  <TrueBrain> FYI
13:46:32  <TrueBrain> dihedral: all what NoAI API is, are C++ wrappers around OpenTTD code
13:46:36  <TrueBrain> it is nothing more, nothing less
13:46:48  <TrueBrain> then we also have SQ wrappers around those C++ wrappers, to allow Squirrel
13:47:03  <dihedral> is there a document that points out specifics that still need working on in the noai branch?
13:47:10  <TrueBrain> basicly, if you want to have something like chat filter, all you need to do is a C++ callback, which runs a SQ callback
13:47:17  <TrueBrain> dihedral: see the AI::TODO on the wiki
13:47:31  <dihedral> great - thank you
13:47:44  <glx> and check what is done in API doc
13:47:51  <dihedral> yes :-)
13:48:03  <glx>
13:48:26  <dihedral> sugar :-)
13:48:41  <TrueBrain> updating the docs as we speak
13:48:45  <TrueBrain> they are slightly out of date
13:48:57  <glx> hehe :)
13:49:12  *** gule [~Administr@] has left #openttd []
13:50:09  <TrueBrain> done
13:50:41  *** fjb [] has joined #openttd
13:50:46  <fjb> Moin
13:51:17  <dihedral> TrueBrain: what is the soonest you assume noai could be anywhere near ready?
13:51:29  <TrueBrain> the soonest anyone finishes up the missing pieces
13:51:51  <glx> road and air are almost complete
13:51:57  <dihedral> as of next week i have 2 weeks of school - so i can offer most of that time :-P
13:52:23  <TrueBrain> most missing are bridges and tunnels
13:52:26  <TrueBrain> but that is kind of tricky
13:52:37  <TrueBrain> we need a PathFinder, which KUDr was working on, but I lost track of the status
13:52:38  <dihedral> why is that?
13:52:48  <TrueBrain> we still needs a GUI to control the AIs, but that is very tricky
13:52:53  <TrueBrain> we need Train support
13:52:58  <TrueBrain> road, air and ship is nearly done
13:53:03  <TrueBrain> we need tons of Events
13:53:03  <dihedral> right
13:53:17  <glx> <TrueBrain> we need Train support <-- but that is very very tricky ;)
13:53:18  <TrueBrain> basicly, what is on the TODO list :p
13:53:25  <TrueBrain> glx: not that tricky
13:53:29  <TrueBrain> just a matter of doing in fact
13:53:34  <TrueBrain> making an AI for trains, now that is tricky
13:53:36  <TrueBrain> or a PF for that matter
13:53:56  <glx> yes placing rails is like placing road (in code POV)
13:53:58  <boekabart> isn't that the task of the implementation of each AI?
13:53:59  <TrueBrain> glx: the only real tricky part is thinking up a good way to lay tracks :)
13:54:11  <TrueBrain> boekabart: 'that'?
13:54:19  <boekabart> yes :)
13:54:23  <TrueBrain> which 'that'
13:54:26  <boekabart> the path-finding and placing of tracks
13:54:32  <TrueBrain> we sum up like 10 things, and you say: that :p
13:54:40  <dihedral> lol
13:54:51  <TrueBrain> boekabart: pathfinding is a part of the AI, but to make AI building easier, I want a good example PF in the API
13:55:11  <TrueBrain> laying tracks is also a part of the AI, but we need to make it possible to do it in a nice way
13:55:15  <TrueBrain> you want to say: put tracks from A to B
13:55:22  <TrueBrain> not: on A, A+1, A+2, A+3, ....
13:55:34  <TrueBrain> for road that is no problem, but the diagonal tracks on rail needs a bit of thinking
13:55:41  <boekabart> smth like 'autorail'
13:55:49  <TrueBrain> yes, but look closely to autorail
13:55:56  <TrueBrain> it depends on your position of mouse where the track is put
13:56:00  <boekabart> i know
13:56:00  *** skidd13 [] has joined #openttd
13:56:05  <TrueBrain> now that needs to be translated to a simple API command
13:56:12  <skidd13> Hi
13:56:25  <TrueBrain> that is the part that needs thinking :) I made some drafts in the past, I blieve there was an elegant solutoin
13:56:32  <glx> CMD_* exists but we need to make it easy to use them
13:56:43  <boekabart> not smth like 'from "tile+diagdir" to "tile" ?
13:56:48  <TrueBrain> the whole NoAI API is about making easy :)
13:56:54  <boekabart> i understand
13:57:06  <boekabart> but pathfinder - totally AI job :)
13:57:12  <TrueBrain> absolutely not
13:57:19  <TrueBrain> (the totally part ;))
13:57:31  <TrueBrain> in the API I created a subAPI which handles pathfinding
13:57:35  <boekabart> well - the noai api has to give all relevant info about the tiles
13:57:35  <glx> a generic road pf should not be a rpoblem
13:57:36  <TrueBrain> lays down some base rules
13:57:38  <dihedral> TrueBrain: dont you want to be able to tell the ai, level all land that is in my way to get to B
13:57:46  <dihedral> or blow up a few houses from that down :-P
13:58:08  <dihedral> just so people /can/ build ai's that build just like they do
13:58:28  <TrueBrain> boekabart: the main problem here is, that AIs are written in SQ. PF in SQ is slow. Also, SQ can't access YAPF. Therefor, you need a subAPI that handles PF, via for example YAPF
13:58:40  <TrueBrain> basicly, you give a set of tiles as start position, and as end position
13:58:44  <TrueBrain> and you want the PF to find a route
13:58:58  <TrueBrain> of course you can always write your own, but this makes starting to work with AIs much easier :)
14:00:04  <dihedral> but you also want to be able to have the ai 'know' if it has to go down 2 levels and up 1 right after, or if it can foolow a 'gordge'
14:00:09  *** Ammler [] has quit [Quit: Konversation terminated!]
14:00:19  <boekabart> TrueBrain: i know how hard true pathfinding is - it's almost impossibly hard. I've written software that puts 1000's of connecting pipes in factories - automatically, not easy :)
14:00:29  <TrueBrain> dihedral: terraforming will be one of the most difficult parts, and a subject on its own
14:00:42  <dihedral> ;-)
14:00:47  <TrueBrain> boekabart: YAPF does a nice job in pathfinding :)
14:01:13  <dihedral> then why not make SQ functions also wrap YAPF stuff?
14:01:14  <TrueBrain> anyway, as said, the NoAI API is all about making things easier :) Including PathFinding. As in C++, you don't need the API at all
14:01:20  <TrueBrain> just the base commands, and you can do EVERYTHING you want
14:01:25  *** Markkisen [~shit@] has joined #openttd
14:01:27  <TrueBrain> dihedral: impossible (templates)
14:01:31  <dihedral> k
14:01:43  <TrueBrain> also, it doesn't make sense
14:01:50  <TrueBrain> anyway, work
14:01:56  <dihedral> i have never looked at yapf
14:02:04  <dihedral> so i would not know :-P
14:03:15  <dihedral> so - atm - the ai would still be pretty much limited
14:03:27  <TrueBrain> limited how?
14:03:39  <dihedral> no terraforming, no rails
14:03:42  <TrueBrain> lol!
14:03:52  <TrueBrain> it is like saying driving on the German freeway is limited...
14:03:59  <TrueBrain> or better: a racing track
14:03:59  <dihedral> :-P
14:04:03  <TrueBrain> you can go as fast as you want
14:04:05  <TrueBrain> can do all you want
14:04:10  <dihedral> ok
14:04:11  <TrueBrain> but still: you can't go outside the boundaries
14:04:15  <TrueBrain> VERY limited indeed..
14:04:16  <TrueBrain> :s
14:04:29  <TrueBrain> sorry, it annoys me very much that people complain over and over that NoAI isn't completed or something
14:04:34  <TrueBrain> because it doesn't do A dna B and C
14:04:38  <TrueBrain> but people forget it does D .. Z
14:05:00  <TrueBrain> you can make some darn good AIs with the current API already
14:05:32  <dihedral> right
14:06:10  <TrueBrain> really, it annoys me immense that some people say: I won't start trying to make an AI, before I can make rails! They forget one big thing: starting your AI with rails, is asking for failure...
14:06:13  <TrueBrain> anyway, my frustration
14:07:00  *** Markkisen [~shit@] has quit [Quit: Screw you guy, I'm going home and smoke pot]
14:16:42  *** Ammler [] has joined #openttd
14:17:08  <TrueBrain> deep silence follows :p
14:17:46  * fjb just never looked at the ai...
14:18:21  <fjb> Should YAPF be used for ships?
14:18:33  <TrueBrain> if you want to use 100% CPU, sure :p
14:18:56  <fjb> Oh, ok, then better not...
14:19:03  <glx> ships should not use YAPF or NPF
14:20:07  <glx> there are just too many possible paths in water
14:20:45  <fjb> How do ships find their way?
14:20:49  <TrueBrain> like making 50% of your map road tiles ;)
14:21:12  *** KouDy [~KouDy@] has joined #openttd
14:23:07  <fjb> I will try to run an OpenTTD server on a Pentium III 800. There it really shouldn't burn 100% of the cpu power...
14:26:44  *** Vikthor [~Vikthor@] has joined #openttd
14:28:12  <blathijs> fjb: They use a simpler pathfinder, that does some rough guessing, does not plan too far ahead and never plans a route with more than four turns in it (really)
14:29:54  <Phazorx> would be nice if someone would make "charted" PF for ships
14:30:19  <Phazorx> where you "walk" them how you want route to be pretending to be capitan
14:30:47  <frosch123> build buoys on every tile :)
14:31:02  <Phazorx> similar by idea but different implementation
14:31:10  *** dstar215 [] has quit [Quit: -=SysReset 2.53=-]
14:31:14  <Phazorx> and eliminates PF for ships as process
14:31:31  <fjb> Phazorx: You mean like planes are operatet in Empire?
14:31:33  <Phazorx> they just go to where they supposed to or tillthey hit an obsticle
14:31:44  <Phazorx> fjb: i dont think i ever plaued TE
14:32:01  <Phazorx> and for sure dont recall how planes work there
14:33:14  <fjb> You give them an oder which tles they should fly over and then tell them to take off to take that route.
14:34:05  <Phazorx> hmm i think i mean even simplier than that
14:34:10  <Phazorx> like no pfing at all
14:34:24  <Phazorx> you mark tail you want them to take in simlar fasion as you lay down rails
14:34:29  <Phazorx> tiles
14:34:42  <Phazorx> except they are sequential
14:34:44  <fjb> You have to tell them eveytile they should fly over. There is no pathfinding involved.
14:34:53  <Phazorx> good
14:35:02  <Phazorx> however planes in ottd really should be p2p
14:35:09  <Phazorx> since there are no obstacles at all
14:35:14  <Phazorx> ships are differnt issue
14:35:20  <fjb> Hm, other planes? :-)
14:35:34  <Phazorx> no collision on plances as far as i know
14:36:21  <fjb> Some planes seam to flay that low that I somestimes fear they will crash into the next mountain.
14:38:27  *** Zr40 [~zr40@2001:960:786:0:21b:63ff:fe9e:ab24] has quit [Quit: Zr40]
14:55:28  <Eddi|zuHause3> we don't have that kind of mountain here...
14:58:12  <Eddi|zuHause3> <- this is the highest elevation between here and the Ural mountains
15:00:13  <hylje> haha
15:00:57  <fjb> Eddi|zuHause3: I'm playing alpine climate, you should know. :-)
15:02:06  <Eddi|zuHause3> fjb: heights in OTTD are a great deal of perspective trickery... you should not believe everything your eyes see
15:02:07  *** SmatZ [] has joined #openttd
15:03:54  <fjb> Eddi|zuHause3: You mean the real world doesn't look like that? Really?
15:04:13  <hylje> he's serious
15:04:22  <hylje> but you shouldnt believe everything people say on the internet
15:08:12  <fjb> And I always thought that everything that got printed is true.
15:11:25  *** Osai [] has joined #openttd
15:11:57  *** nzvip [~svip@] has joined #openttd
15:15:26  <Eddi|zuHause3> hey guys, it's kinda funny that you try to reply to each ironic phrase with a more ironic phrase, but it just doesn't translate well through the internet...
15:22:33  * fjb takes everything serious now.
15:24:43  <dihedral> 16:20 <+glx> there are just too many possible paths in water <-- in regard to the path finder...
15:24:57  <dihedral> is it not possible for one to build 'cannals' in the water anyway?
15:25:19  <dihedral> say cannals in water were a lot cheeper than on land
15:25:35  <dihedral> that could ease the job of yapf, no?
15:27:33  <Eddi|zuHause3> dihedral: but that totally defeats the unique ability of ships to operate practically without infrastructure
15:27:56  <glx> and canals are water
15:32:23  *** SmatZ [] has quit [Quit: Konversation terminated!]
15:34:51  *** mucht_work [~martin@] has quit [Quit: Konversation terminated!]
15:35:25  <dihedral> yes - but - it's releaves yapf
15:36:34  *** SmatZ [] has joined #openttd
15:36:35  <dihedral> it offeres making not *every* tile a desicion point
15:37:05  <Eddi|zuHause3> there are better ways to solve this
15:37:14  <dihedral> which would be
15:37:24  <Eddi|zuHause3> region based pathfinding
15:37:27  <Eddi|zuHause3> caching
15:38:06  <dihedral> caching every turning point?
15:38:17  <dihedral> what do you mean with 'region base' pf?
15:38:27  <dihedral> *based
15:38:44  <Eddi|zuHause3> i'm sure there are pictures in the forum, somebody attempted it already
15:39:47  *** raimar3 [] has joined #openttd
15:44:47  *** raimar2 [] has quit [Ping timeout: 480 seconds]
15:45:09  <Eddi|zuHause3> the idea is to divide the territory into regions, where each tile gets assigned a region number, then you plan a rough path only through region centers, and a fine path within the current region
15:45:19  <Eddi|zuHause3> it shortens search ranges
15:45:33  <Eddi|zuHause3> similar to placing buoys, just automatically
15:46:29  <Eddi|zuHause3> you plan your route to the nearest buoy, and then only hop from one buoy to the next
15:49:16  <Eddi|zuHause3> of course all of that areal pathfinding works much better in continuous spaces, rather than tile based... there you could solve that with linear algebra
15:49:46  <Eddi|zuHause3> reducing stuff to integer usually makes it NP-complete
15:51:41  *** bruce89 [] has joined #openttd
15:52:20  *** Wezz6400 [] has joined #openttd
15:52:27  *** Peakki [] has joined #openttd
15:54:23  *** frosch123 [] has quit [Remote host closed the connection]
15:56:33  *** boekabart [~boekabart@] has left #openttd []
15:57:13  <fjb> Hm, we should get rid of the tiles then. :-) But that would introduce some other problems.
15:57:40  <Eddi|zuHause3> yeah, like you can't use floating point operations...
15:58:54  <dihedral> thank you Eddi|zuHause3
15:59:06  <dihedral> on me way home now - catch you guys later
15:59:11  *** dihedral is now known as dihedral|away
16:01:52  *** SmatZ [] has quit [Remote host closed the connection]
16:04:10  <fjb> But the ships are a minor problem for gameplay now.
16:07:24  <CIA-5> OpenTTD: truelight * r11273 /branches/noai/src/ai/api/ (ai_order.cpp ai_order.hpp ai_order.hpp.sq): [NoAI] -Add: added AIOrder::MoveOrder (dynaxo)
16:09:08  *** TinoM [] has joined #openttd
16:09:45  <Eddi|zuHause3> ships would be much more useful if we had rivers, also towns should be placed according to environmental aspects (in valleys, near rivers/coastlines, ...)
16:11:51  <CIA-5> OpenTTD: truelight * r11274 /branches/noai/src/ai/api/ (ai_tile.cpp ai_tile.hpp ai_tile.hpp.sq): [NoAI] -Add: added LowerTile and RaiseTile to 'terraform' the map a bit (dynaxo)
16:12:32  *** SmatZ [] has joined #openttd
16:13:09  *** G [] has quit [Read error: Operation timed out]
16:14:21  *** Amix^ [] has joined #openttd
16:15:38  *** |Jeroen| [] has joined #openttd
16:16:41  *** G [] has joined #openttd
16:18:31  <bruce89> does the sell all vehicles thing not work or is this supposed to not work?
16:18:59  <bruce89> my mistake, I was dragging vehicles to it
16:20:40  *** Bjarni [] has joined #openttd
16:20:40  *** mode/#openttd [+o Bjarni] by ChanServ
16:21:10  *** Deathmaker [] has quit [Read error: Connection reset by peer]
16:23:52  <SmatZ> bruce89: I do the same thing :)
16:24:18  *** prakti [] has joined #openttd
16:24:35  <bruce89> surely dragging should do it anyway
16:24:55  <SmatZ> maybe somebody would sell all vehicles in the depot by mistake...
16:25:13  <Bjarni> well, hello and welcome to you too :P
16:25:49  <SmatZ> hello Bjarni
16:28:19  <Ammler> hmm, something happen with src in trunk?
16:28:54  <Eddi|zuHause3> Ammler: what do you mean?
16:28:54  <TrueBrain> it imploded
16:29:11  <Ammler> I checkout and have no src folder
16:29:27  <Ammler> like ti was in 0.5
16:29:44  <Eddi|zuHause3> you got wrong branch?
16:29:49  <glx> Ammler: then you did something wrong
16:29:55  <Ammler> oh, I checkd out a old revision
16:30:03  <Ammler> :)
16:30:14  <Ammler> sorry
16:30:28  <fjb> Eddi|zuHause3: Rivers are a great idea.
16:31:09  <fjb> Is there a restriction how many block exits a presignal is able to find?
16:31:32  <Eddi|zuHause3> fjb: yeah, but it's problematic... it would be stupid to have rivers at sea level, but multilevel water needs still a lot of work
16:32:03  <Ammler> hmm, did you guys speak about that with boekebart and BigBB?
16:32:05  *** DaleStan [] has quit [Quit: Leaving]
16:32:08  <Eddi|zuHause3> fjb: afaik there is a signal block size limit like 256 tiles or something
16:32:16  <BigBB> ?
16:32:31  <SmatZ> Eddi|zuHause3: I think it is ~2000 tiles
16:32:47  <Eddi|zuHause3> SmatZ: whatever...
16:32:47  <Ammler> BigBB: they just talked about rivers etc.
16:33:02  <BigBB> okay
16:33:04  <fjb> Eddi|zuHause3: Are cannals not some kind of multi level water?
16:33:12  <Eddi|zuHause3> Ammler: i was referring to boekabarts work (of like half a year ago)
16:33:33  <Ammler> Eddi|zuHause3: did you see the nice patch of BigBB for newwater?
16:33:39  <Eddi|zuHause3> fjb: yes, but canals and rivers are totally different things
16:33:58  <Eddi|zuHause3> fjb: for rivers you need to consider flooding, and waterfalls
16:34:13  <Eddi|zuHause3> Ammler: no
16:35:07  <BigBB> Eddi|zuHause3,
16:37:25  <Eddi|zuHause3> nice, but i don't really see how this is related to rivers
16:39:20  <Ammler> hmm, I guess, the newwater has grfs for it, no?
16:39:27  *** DaleStan [] has joined #openttd
16:40:51  *** bruce89 [] has left #openttd []
16:41:10  *** skidd13 [] has left #openttd []
16:49:17  *** |Bastiaan| [~kvirc@] has quit [Ping timeout: 480 seconds]
17:03:25  *** dihedral [] has joined #openttd
17:04:44  <SpComb> Ammler: why openttdcoop?
17:05:11  *** Brianetta [] has quit [Quit: TschÌß]
17:05:14  <Ammler> :) I like to ask you, if you could include that channel to your log analyzer
17:05:40  <SpComb> Logs: (old: )
17:05:40  <Ammler> !logs
17:05:56  <Ammler> ^ that one I mean
17:06:48  *** Mucht [] has quit [Remote host closed the connection]
17:06:59  <Ammler> hmm, you and the bot has same nick?
17:07:15  *** Mucht [] has joined #openttd
17:09:29  *** Mucht [] has quit []
17:11:28  *** Markkisen [] has joined #openttd
17:12:26  *** Mucht [] has joined #openttd
17:16:39  <Ammler> SpComb: I am for a little time absent, bu I will read your log, if you answered. ;)
17:17:17  *** Ammler [] has quit [Quit: Konversation terminated!]
17:19:33  *** Markkisen [] has quit [Ping timeout: 480 seconds]
17:31:21  *** Ammler [] has joined #openttd
17:43:54  *** Roujin [] has joined #openttd
17:44:03  <Roujin> good evening
17:44:18  <fjb> Moin
17:48:47  *** Markkisen [] has joined #openttd
17:52:23  *** Brianetta [] has joined #openttd
17:55:15  *** KritiK [] has joined #openttd
18:04:10  <Roujin> lol
18:04:27  <dihedral> ?
18:04:44  <Roujin> i almost got the issues with my patch solved now, just this one funny error...
18:04:56  <Roujin> "Can't lower land here. Too high."
18:05:03  <Bjarni> :D
18:05:09  <dihedral> LOL
18:05:15  <dihedral> that is funny
18:05:21  <Roujin> somewhere i mixed something up ^_^
18:05:48  <Bjarni> replace < with > or vice versa
18:06:07  <dihedral> :-P
18:06:16  <dihedral> Bjarni: what on earth would make you think that?
18:06:30  <Bjarni> I don't know
18:06:38  <Bjarni> I just said it without reading his diff :P
18:06:48  <Bjarni> but it sounded good when it comes to an issue like that
18:07:28  <dihedral> !revision
18:07:31  <dihedral> heh
18:07:32  <Roujin> hmmmm this should decide if which one it is:
18:07:33  <dihedral> wrong window
18:07:34  <Roujin> ((oldh = 0) ? STR_1003_ALREADY_AT_SEA_LEVEL : STR_1004_TOO_HIGH
18:07:48  <dihedral> ==
18:08:04  <dihedral> oldh = 0 : can i set the variable to 0
18:08:06  <Roujin> whoopsie
18:08:09  <dihedral> :-D
18:08:11  <dihedral> rofl
18:08:42  <dihedral> that is really cure
18:08:44  <dihedral> *cute
18:09:38  <Roujin> noob mistakes issue 5912303: confuse == and = *cough*
18:11:40  <Roujin> beautiful
18:12:37  <Roujin> thanks, i would probably be still looking for the cause next week if you hadn't told me ><
18:12:46  <Roujin> now everything's fine :)
18:13:58  <Bjarni> I once typoed == as = and didn't notice because it didn't matter in any of my test cases
18:14:07  <Bjarni> (it was autoreplace GUI stuff)
18:14:57  <dihedral> :-)
18:15:15  <Bjarni> it was noticed a few days after I committed it by somebody reading the diff. Nobody made a bug report because of the behaviour, only that "are you sure you want to do this? The code looks wrong. I didn't find incorrect behaviour in the game though"
18:15:23  <dihedral> lol
18:15:35  <Roujin> was that piece of code ever reached? :P
18:15:41  <Bjarni> yes
18:15:44  <dihedral> rofl
18:15:47  <dihedral> that is awsome
18:15:55  <dihedral> wunderbar :-)
18:16:07  <Bjarni> every single time somebody used the railroad window to switch railtype
18:16:17  <Roujin> what do you have to do to reach it? play on a full moon night on a graveyard wearing a pink pyjama? :S
18:16:29  <Roujin> ooh ok, not THAT unusual
18:17:36  *** Amix^ [] has quit [Quit: This computer has gone to sleep]
18:17:41  <Bjarni> the thing is... when I became aware of this, I tried to reach it from within the game, but failed
18:18:03  <Bjarni> it really looks like the bug even itself out before reaching the user
18:18:05  <Prof_Frink> You should write a highlight rule that pops up a tooltip "assign" or "compare" for =/==
18:18:17  <Roujin> erm, and now for something completely different, is there a log from this channel available somewhere? i didn't log myself before and would like to review something from this afternoon o_O'
18:18:45  <SpComb> Logs: (old: )
18:18:45  <Prof_Frink> !logs
18:18:52  <Prof_Frink> There.
18:19:07  <Prof_Frink> The old logs generally work better.
18:19:11  <Bjarni> yeah
18:19:14  <Roujin> thank you :) i'm not very into irc...
18:19:18  <Bjarni> I don't use the new one at all
18:20:53  <ln-> Bjarni: 26th
18:21:49  <Bjarni> oh, I didn't notice that they had set a date for it yet
18:22:10  <Bjarni> but it hits the week I expected so I'm not surprised
18:23:12  <Bjarni> "Add a new Mac to your Mac" <-- is that some sort of virtulisation addon? :P
18:24:00  <Eddi|zuHause3> Teacher in front of class: "and today we are going to calculate with computers"
18:24:15  <Eddi|zuHause3> "what are 5 computers plus 7 computers?"
18:24:33  <Bjarni> :P
18:25:32  *** Greyscale [] has joined #openttd
18:27:55  <Bjarni> "Just 999 DKK" <--- wow.... do they expect me to wait outside the shop for the right moment and then paid that amount to get it
18:28:10  <Bjarni> you guys should test it for me and report back if I should invest in it :P
18:28:48  <Bjarni> either that or I will wait say a week or month for decent reviews on the net
18:33:59  <Eddi|zuHause3> is that a threat?
18:34:13  <Bjarni> "Add a new Mac to your Mac. Mac OS X v10.5 Leopard is packed with over 300 new features" <-- for that price, I would like a detailed list before I buy
18:34:32  *** Ammller [] has joined #openttd
18:34:40  <Bjarni> Eddi|zuHause3: no.... it's my way of saving my hard earned money if it's not worth the price
18:35:03  <Bjarni> really needed because my income isn't that great
18:37:30  <ln-> get a job?
18:37:48  <Bjarni> that sounds like I would need to invest time in a plan like that
18:38:27  *** Ammler [] has quit [Ping timeout: 480 seconds]
18:38:34  <ln-> rob a money transport in sweden.
18:39:09  <Bjarni> why would I do that?
18:39:39  <ln-> just a common way to get rich quickly in sweden.
18:39:53  <Bjarni> oh
18:40:01  <Bjarni> yeah I heard
18:40:06  <Bjarni> even the police do that
18:40:28  <Bjarni> wait, that was robbing banks
18:41:19  <ln-> robbing banks is so 90's, and besides banks do not have a lot of cash nowadays.
18:41:22  <Bjarni> some police officer had problems finding the robber so some other police officers secretly looked at the case as noticed that the robber was the police officer in charge of the investigation
18:41:26  *** Rubidium_ is now known as Rubidium
18:41:32  <Bjarni> no wonder the investigation went nowhere
18:42:55  <Roujin> hmm.. seems the scenario editor raise and lower tools are something completely different from the regular raise and lower tool.. right?
18:43:29  <Bjarni> I wouldn't know, but it sounds reasonable to allow them to share code
18:43:46  <Roujin> it seems my patch didn't affect the tools in scenario editor at all
18:44:05  <Bjarni> sounds silly
18:44:19  <Bjarni> though I'm not surprised
18:44:33  <Roujin> they can still share code, but not at the level where i changed something in the regular tool
18:44:38  <Bjarni> we do have some odd places for duplicated code
18:45:17  <Roujin> well at least i didn't break anything in the scenario editor like this :D
18:46:05  <Roujin> was concerned about that for a sec, i don't want to know how a raise landscape tool acts that can be set to 5x5 AND dragged&dropped oO
18:46:43  <Roujin> well it could by chance all go right... but you know... :D
18:47:54  *** YOYO-NL [] has joined #openttd
18:48:00  <YOYO-NL> hello
18:49:08  <YOYO-NL> some one here who knows something about servers
18:50:37  <Roujin> depends what exactly you want to know about servers i'd say...
18:50:40  <ln-> no, none of us has even ever used the internet.
18:50:56  <TrueBrain> servers? Are that vegtables?
18:50:58  <YOYO-NL> well it aint running as it should
18:51:00  <YOYO-NL> lol
18:51:14  <Ammller> server thats the one in the bar, isn't?
18:51:16  *** Wolf01 [] has joined #openttd
18:51:21  <YOYO-NL> yeah
18:52:01  <Wolf01> hello
18:52:03  <YOYO-NL> maybe it hade to much drinks cause she is well lets say slow
18:52:25  <Roujin> she? you have a female server? :D
18:53:06  <YOYO-NL> hehehe oh yeah and she is gorgeus or how ever you write that :P
18:53:15  <Wolf01> i should give a name to my server... now is called only mr.server
18:53:43  *** RamboRonny [] has quit [Quit: - nbs-irc 2.36 - -]
18:54:15  <YOYO-NL> anyways the broadcasting thing aint runnig ok i think takes a long time before its getting an answer and i cant find it in the server list
18:54:20  <YOYO-NL> running OpenSuse 10.3
18:54:54  <YOYO-NL> she recieves an answer though from the broadcast server
18:55:22  <YOYO-NL> it only takes some time and then does it 4/5 times and then slows down again
18:57:30  *** KUDr [] has quit [Read error: Connection reset by peer]
18:58:17  *** Ammller [] has quit [Remote host closed the connection]
18:59:58  *** Ammler [] has joined #openttd
19:01:55  *** KUDr [] has joined #openttd
19:02:26  <YOYO-NL> hmm now it aint respondig at all
19:02:28  <YOYO-NL> strange
19:03:27  <YOYO-NL> it listens to controls given but the broadcast thing doenst seem to work well
19:03:52  <Roujin> is there a logical reason why the level land tool has the explosion sound instead of the "cccrp" terraform sound?
19:04:05  <Wolf01> Rubidium, do you tried to get the error about the faces?
19:05:52  <Rubidium> yes
19:05:59  <Rubidium> and another 15 tries gives me no luck
19:06:10  <Rubidium> so it seems to be compiler specific
19:06:16  <Roujin> i always wondered why it is like this... i mean i'm just messing around at exactly that position in the code, one little word changed and it makes "cccrrrp" :P
19:07:30  <Wolf01> Rubidium, do you remember this: maybe our compilers work really in a different way.. i can compile without errors
19:09:10  <ln-> 22:07 <@Justie^> openttd pilaa mun elÀmÀn
19:09:16  <ln-> 22:08 <@Justie^> tÀnÀÀn piti tehdÀ ainejÀrjestöhommia, oho, viiden tunnin pÀÀstÀ oli hieno junarata :)
19:10:33  <YOYO-NL> nvm its suses firewall
19:12:09  *** RamboRonny [] has joined #openttd
19:12:25  <YOYO-NL> just got a second Q but that will be more Linux specifik i thing
19:12:28  <YOYO-NL> think
19:13:28  *** gfldex [] has quit [Read error: Connection reset by peer]
19:13:35  <YOYO-NL> how to get the openttd.cfg in a other map without destroying the working of it? exampel it stands in /home and i want to put it in /Server
19:14:03  *** Peakki [] has quit [Quit: LÀhdössÀ]
19:14:33  <YOYO-NL> maybe Brianetta?
19:17:49  *** gfldex [] has joined #openttd
19:27:48  <CIA-5> OpenTTD: rubidium * r11275 /trunk/src/oldloader.cpp: -Fix: oldloader crashing when referencing a vehicle that is not yet loaded.
19:29:40  *** alex^^^^^ [] has joined #openttd
19:33:27  <Wolf01> uhm, really? when i talk about my car then i should crash :/
19:34:08  <Eddi|zuHause3> YOYO-NL: ./openttd -c path/to/openttd.cfg
19:35:34  *** alex^^^^^ [] has left #openttd []
19:35:45  <Eddi|zuHause3> <Roujin> hmm.. seems the scenario editor raise and lower tools are something completely different from the regular raise and lower tool.. right? <- once upon a time (meaning in TT World Editor) there was one terraforming tool in the road toolbar, that worked exactly like the ingame tool, and one terraforming tool in the landscaping toolbar, which could be resized, and id did not make dirty land
19:35:57  <Eddi|zuHause3> i don't think that separation changed a lot
19:36:24  <Eddi|zuHause3> i don't think i touched scenarios ever since
19:37:51  <YOYO-NL> wow ty :)
19:37:55  <YOYO-NL> ill try that
19:39:35  *** |Jeroen| [] has quit [Quit: oO]
19:39:40  <Eddi|zuHause3> alternatively, you could make openttd run under a different user, and have the cfg in /home/server/.openttd
19:40:39  <YOYO-NL> hmm i want to try the first option. Cause who knows there might be ever a second server
19:40:43  <YOYO-NL> cant use the same cfg
19:41:12  <YOYO-NL> whoops says the file doesnt exist
19:41:15  <glx> you can also use -x to disallow write on save
19:42:18  <YOYO-NL> hmmm entered the code Eddi gave me but it says the file aint there
19:42:21  <YOYO-NL> dont understand
19:43:09  *** mikegrb is now known as mikegreb
19:43:21  <Eddi|zuHause3> well, then copy the file there?
19:43:34  *** mikegreb is now known as mikegrb
19:43:59  <YOYO-NL> when i do that openttd creates a new one leaving the Inet parts empty
19:44:05  <YOYO-NL> resulting in a non starting Server
19:45:02  <Eddi|zuHause3> copy it while openttd is NOT running :p
19:45:59  <YOYO-NL> lawl
19:46:25  <YOYO-NL> but does it matter for OpenTTD if the file is in /Home or somewhere else?
19:46:38  <YOYO-NL> cause it has to point to something i guess
19:49:13  <CIA-5> OpenTTD: rubidium * r11276 /trunk/src/ (8 files):
19:49:13  <CIA-5> OpenTTD: -Codechange: be more consistent with naming of some accessors.
19:49:13  <CIA-5> OpenTTD: -Fix: make sure canals are never owned by water. Based on a patch by boekabart.
19:49:31  <YOYO-NL> but it can also be im a bit to much windows minded :)
19:50:45  <Eddi|zuHause3> if you don't specify a location via the -c option, openttd searches it in a few preconfigured directories (at least in trunk)
19:51:27  <Eddi|zuHause3> if it does not find any, it creates a default configuration
19:51:37  <YOYO-NL> agree
19:51:54  <YOYO-NL> but how to guide openttd to the new place of the file
19:53:43  <Eddi|zuHause3> if you specify -c once, you have to specify -c ever time
19:53:52  <Eddi|zuHause3> that is the location for the file then
19:55:31  <YOYO-NL> k thats not what i hade in mind. The server starts auto at 07:00 then also openttd server needs to start through a crontab assigment.
19:55:46  <YOYO-NL> so basicly it needs to start on its own without any interference of me
19:56:03  <Eddi|zuHause3> so what is the problem? just write that into the crontab entry
19:56:33  <YOYO-NL> ah jezus stupid me
19:57:03  <YOYO-NL> woul be like this then 0 7 * * * /windows/D/OpenTTDServer/openttd.cfg
19:57:15  <Eddi|zuHause3> no
19:57:33  <YOYO-NL> ok ./ openttd -c in front of the windows part
19:57:47  <Prof_Frink> Well, not ./
19:58:09  <Prof_Frink> full patch to the executable
19:58:13  <Eddi|zuHause3> right, the directory is not . from cron's point of view
19:58:16  <Prof_Frink> s/patch/path/
19:58:26  *** Amix^ [] has joined #openttd
19:58:29  <Eddi|zuHause3> and be careful with spaces
19:59:21  <Eddi|zuHause3> and i'd try to avoid accessing windows drives from linux except when you really want to move the files between both
19:59:22  <YOYO-NL> hmm lemme see if i get it right
19:59:33  <Eddi|zuHause3> means especially write access
19:59:38  <YOYO-NL> that feature quite stabelised
20:00:21  <Eddi|zuHause3> you say that until the ntfs driver quits abnormally the first time
20:00:28  <YOYO-NL> hehehe
20:01:13  <Eddi|zuHause3> no i mean it... suddenly all files you modified since mounting are gone or something
20:01:56  <YOYO-NL> well i dont request any writting to or from linux
20:02:21  <YOYO-NL> the ntfs disk are only used in order to use to the oudside world
20:02:34  <YOYO-NL> show music intern ect
20:02:45  <YOYO-NL> internal network i mean
20:02:48  <Eddi|zuHause3> but the config file is written
20:03:02  <Eddi|zuHause3> you can use samba to share linux drives
20:03:25  <Eddi|zuHause3> works great
20:03:31  <YOYO-NL> you always need samba in order to do that
20:03:58  <glx> use -x to not write it
20:04:06  <YOYO-NL> the point im chasing about the cfg is that i alter them manually and then copie them to a other location
20:04:13  <glx> a server should not change it
20:04:34  <YOYO-NL> mean it should start like this openttd -D-x
20:04:43  <glx> and -c ...
20:05:04  <YOYO-NL> hmm i understand that way youre forcing openttd to look for the cfg?
20:05:42  <glx> you force a cfg with -c and "protect" it with -x
20:06:51  <YOYO-NL> right the line has to be like this if i understand it correctly
20:07:23  <YOYO-NL> 0 0 * * * openttd -D-x-c /windows/D/OpenTTDServer
20:07:39  <YOYO-NL> and
20:07:49  <YOYO-NL> with /openttd.cfg
20:07:57  <YOYO-NL> after the server part
20:08:31  <YOYO-NL> 0 0 * * * openttd -D-x-c /windows/D/OpenTTDServer/openttd.cfg
20:08:31  <Prof_Frink> YOYO-NL: It'll be either -Dxc or "-D -x -c"
20:08:36  <Eddi|zuHause3> usually you either do "-D -x -c" (with spaces) or "-Dxc" (without spaces and dashes)
20:09:05  <YOYO-NL> hmm that aint the same for all the linux distro are they
20:09:13  <Eddi|zuHause3> and you need /full/path/to/openttd
20:09:38  <Eddi|zuHause3> YOYO-NL: that is pretty much standard for all linux programs
20:10:22  <Eddi|zuHause3> at least i have never seen a program that refused one way, and accepted the other
20:10:49  <YOYO-NL> k got that so probally this would do 0 7 * * * openttd -D -x -c /windows/D/OpenTTDServer/openttd.cfg
20:11:10  <Eddi|zuHause3> still no, because you still need the path for openttd
20:11:21  <YOYO-NL> hmmm thats strange
20:11:42  <YOYO-NL> cause when using the console openttd -D results in starting up the dedicated server
20:12:05  <Eddi|zuHause3> yeah, but cron might not have the full $PATH
20:13:22  <YOYO-NL> hmmm so i need to locate where openttd is
20:13:32  <Eddi|zuHause3> "which openttd"
20:13:50  <YOYO-NL> hmm
20:14:25  <YOYO-NL> that could be the same map as that i want the cfg to point to
20:14:52  <Eddi|zuHause3> just type that... "which openttd"
20:14:59  <Eddi|zuHause3> it will tell you where openttd is
20:15:13  *** Greyscale [] has quit [Quit: Leaving]
20:16:12  <YOYO-NL> k one more time :P
20:16:54  <Eddi|zuHause3> then just copy-paste that into the crontab entry
20:17:16  <YOYO-NL> 0 7 * * * /usr/bin/openttd -D -c -x /windows/D/OpenTTDserver/openttd.cfg
20:17:27  <Prof_Frink> That sounds reasonable
20:17:31  <dihedral> start at hour 7 every day
20:17:35  <YOYO-NL> yeah
20:17:54  <YOYO-NL> but that could be tricky cause the total system boots around that time
20:18:10  <Prof_Frink> Make it 15 7 or similar then
20:18:11  <dihedral> so you want to start a server with exactly the same config that will make the start fail if an ottd game is already running?
20:18:25  <dihedral> make it @boot
20:18:25  <YOYO-NL> ?
20:18:30  <Eddi|zuHause3> then cron is possibly not your way
20:18:34  <YOYO-NL> hell no
20:18:47  <YOYO-NL> the server shuts down auto at 00:00
20:18:52  <YOYO-NL> also through a cron
20:18:56  <Eddi|zuHause3> put it into /etc/boot.local or something
20:18:58  <dihedral> well then @boot would be the one you want
20:19:00  <YOYO-NL> powers up again at 7
20:19:24  <Prof_Frink> Write an initscript for openttd :)
20:19:37  <YOYO-NL> so instead of the 0 7 * * * i could say @ boot
20:19:42  <YOYO-NL> @boot
20:19:43  <Eddi|zuHause3> no
20:20:11  <Eddi|zuHause3> there should be a file /etc/init.d/boot.local
20:20:18  <Eddi|zuHause3> put the command there
20:20:54  <dihedral> which would not make openttd start as the designated user
20:21:38  <dihedral> sorry - it's @reboot
20:22:24  <YOYO-NL> ok so im viewing that file now
20:22:25  <dihedral> you will also want to flush stdout somewhere
20:22:33  <YOYO-NL> its empty (no wonder)
20:22:51  <Eddi|zuHause3> yes, because it's for custom modification
20:23:08  <YOYO-NL> so adding the part after the 0 7 * * * in that file will get me ride of the problem?
20:23:09  <dihedral> i would not run openttd as rood
20:23:23  <dihedral> *root
20:23:27  <Eddi|zuHause3> there should be a similar file for runlevel 5
20:23:39  <Eddi|zuHause3> or 3
20:23:47  <Eddi|zuHause3> depending on what kind of server you run
20:24:54  <YOYO-NL> lemme see that boot.local talks about things you can add before we go to the first runlevel
20:24:59  <Eddi|zuHause3> runlevel 3 is what you want if you have a machine without grapic access (X server), runlevel 5 is what you want if you also need graphic access
20:25:20  <gfldex> YOYO-NL: you should have a file called /etc/init.d/skeleton
20:25:33  <gfldex> you can use it as a template to write a init script
20:25:45  <gfldex> you add the exec name and the parameters and you are ready to go
20:27:13  <dihedral> you will still not want to run that thing as root
20:27:42  <Eddi|zuHause3> gfldex: i would not suggest modifying any of the default init scripts, because YaST likes to reset those
20:28:00  <gfldex> as a template
20:28:41  <Prof_Frink> Eddi|zuHause3: You presume YOYO-NL's system uses YaST
20:28:44  <dihedral> and while running openttd as root, why not nice -n -19
20:28:54  <YOYO-NL> it does
20:28:57  <Eddi|zuHause3> Prof_Frink: he said opensuse 10.3, or not?
20:29:03  <YOYO-NL> y
20:29:14  * Prof_Frink wasn't paying attention
20:29:38  <gfldex> it's not hard to add su openttd -c "<your stuff here>" to a init script
20:29:59  <Prof_Frink> Ah, it was an hour and a half ago
20:31:45  <YOYO-NL> hmm creating a new init script will take some time as im not a master in programming this style :) i can come along a long way with programming a PLC but this is some other material :)
20:32:44  <YOYO-NL> when u do this i assume you can make a total control script around it in case of crashing ect
20:34:12  <gfldex> YOYO-NL: check if you got that skeleton file
20:34:15  <gfldex> it's really easy
20:34:56  <Eddi|zuHause3> YOYO-NL: it's basically copying that line from the crontab into the right place of the skeleton
20:35:02  <YOYO-NL> i got it but for the moment it doenst make thing much easyier
20:35:22  <YOYO-NL> well i understand the file explains different types
20:35:26  <YOYO-NL> of scripts
20:35:34  <YOYO-NL> for different pupusses
20:35:41  <gfldex> if you scroll a bit down you will find a line like: NAME=daemonexecutablename
20:35:56  <gfldex> there you have to put the name of the exec
20:36:12  <gfldex> and there should be a line for parameters nearby
20:36:34  <gfldex> i dont got a suse by hand so i cant tell you how that line is called there
20:36:57  <gfldex> but it's basicly pasting text at the right place
20:37:10  <gfldex> _after_ you made a copy of skeleton
20:37:32  <YOYO-NL> come along an option $named
20:39:22  *** prakti [] has quit [Quit: Quitting .... Hackedi...hackedi...weg.]
20:41:45  <Wolf01> Rubidium, there is a way to fix that assert caused by the new faces feature? i'm using mingw as compiler... i can't continue to restart the game 2 times every 3 tries when i have to test my patches
20:43:01  <YOYO-NL> k im calling it for the night
20:43:12  <YOYO-NL> going to plunder it furter the comming days
20:43:36  <YOYO-NL> when an crontab command is wrong btw will linux still boot?
20:44:25  <Eddi|zuHause3> yes
20:44:34  <Eddi|zuHause3> just your command will never be executed
20:45:16  <YOYO-NL> well that wont be a problem
20:45:24  <YOYO-NL> ty for the help so far
20:45:25  <CIA-5> OpenTTD: glx * r11277 /trunk/src/openttd.cpp: -Fix (r8498): the check for ghost station (on water industries) always removed station for non-oilrig
20:45:28  <YOYO-NL> good night
20:45:56  <Eddi|zuHause3> and if you boot ad 7:00, you can run the cronjob at 7:05 or something
20:46:41  <Eddi|zuHause3> now you can use fishing grounds? funny ;)
20:46:57  <glx> you could use them in a newgame ;)
20:47:06  *** YOYO-NL [] has quit [Quit: Gaat weer verder met leven. :)]
20:47:19  <Eddi|zuHause3> until you hit 1 month or something? :p
20:47:38  <glx> it was only on load
20:48:04  <SmatZ> Wolf01: if the devs don't get the error, it is harder to solve :-/ and I think Rubidium doesn't have the error
20:48:08  <Eddi|zuHause3> ah, ok...
20:48:34  <glx> but if the loaded game has been saved the station will not reappear
20:49:02  <Eddi|zuHause3> no, of course not
20:49:35  <Eddi|zuHause3> but last time i checked, you could build a station near an oil rig, and transport the oil by train, does that still work?
20:49:49  <glx> it should
20:50:06  <glx> never tried to transport fish :)
20:50:21  <Eddi|zuHause3> i always viewed that as a bug
20:51:11  <glx> industry send cargo to stations, they don't know they have a station in them
20:51:45  <glx> SmatZ: about 1342 ?
20:52:36  <glx> Wolf01: you can safely ignore these asserts
20:52:42  <SmatZ> glx: yes... if I remember correctly, Rubidium yesterday said that he doesn't get the error...
20:52:50  <SmatZ> I don't know if any other dev gets them
20:52:56  <Wolf01> i can't, they continue to popup
20:53:01  <glx> I got it, it's a failing modulo
20:53:51  <SmatZ> too much 0xffffffffff to mask cfg value?
20:54:21  <glx> SmatZ: 0x951119431 % 4 = 0xFFFFFFFD
20:55:30  <SmatZ> make it unsigned then :)
20:55:37  <SmatZ> hmm no :D
20:55:42  <Eddi|zuHause3> Wolf01: you can ./configure without asserts
20:55:45  <SmatZ> why do you get that value?
20:56:04  <Rubidium> cause for some compilers enums are signed, whereas they are unsigned for other (like mine)
20:56:04  <glx> <-- works
20:56:05  <Eddi|zuHause3> (or just comment out that line)
20:56:14  <Wolf01> eh... but i might need asserts for testing my patches
20:56:16  <SmatZ> ok :)
20:59:18  *** Osai [] has quit [Quit: Osai]
21:00:06  <CIA-5> OpenTTD: glx * r11278 /trunk/src/player_face.h: -Fix [FS#1342] (r11269): modulo result can be negative for signed int
21:00:22  <Wolf01> good
21:06:34  *** blathijs is now known as hijacked
21:06:52  *** hijacked is now known as blathijs
21:08:29  <Roujin> was that the reason for the asserts?
21:09:01  <Rubidium> yup
21:09:11  <Roujin> just updated my patch to 11277 shortly before this hit the trunk
21:09:20  <SmatZ> Roujin: asserts are checks, that are done when compiled with debugging enabled
21:09:31  *** skidd13 [] has joined #openttd
21:09:51  <SmatZ> reason - some parts of code assume something, that under normal conditions, should be met
21:09:54  <SmatZ> if not, it is an error
21:09:58  <Roujin> yes actually i should have said..
21:10:02  *** Zaviori [] has quit [Read error: Connection reset by peer]
21:10:11  <Roujin> reason for the "assertion failed"'s happening lately
21:10:17  <Roujin> randomly
21:10:23  <SmatZ> hmmm I am like blind
21:10:32  <SmatZ> I read something different than you wrote :-/
21:12:21  <SmatZ> Roujin: what is you patch?
21:14:59  *** G [] has quit [Read error: Operation timed out]
21:15:51  <CIA-5> OpenTTD: rubidium * r11279 /trunk/src/ (misc_cmd.cpp openttd.h settings.cpp settings_gui.cpp): -Codechange: use a typedeffed type for all magic with GameDifficulty instead on relying ints to always be 32 bits, which they are not.
21:15:55  <Roujin> so, bumped my patch to 11278
21:15:58  <Roujin> aaaaaargh
21:16:04  <Roujin> why you!
21:16:42  <CIA-5> OpenTTD: rubidium * r11280 /trunk/src/oldloader.cpp: -Fix [FS#1343]: wrong money related values when loading old games. Inspired on a patch by SmatZ.
21:17:24  <SmatZ> I feel very satisfied when my work for ottd is useful ... I smile :-D
21:19:26  *** G [] has joined #openttd
21:19:37  <Roujin> @SmatZ: my patch is the area_terraform patch
21:20:19  <Wolf01> drag&drop elevation like rollercoaster?
21:21:21  <SmatZ> hmm sometimes, my ISP's DNS stops working...
21:21:33  <Bjarni> SmatZ: you mean it creates the illusion that we trust you?
21:21:34  <Bjarni> :P
21:21:39  <SmatZ> then after a while, often whole internet stops...
21:21:44  <SmatZ> Bjarni: :'-)
21:22:05  <SmatZ> ah... DNS working again :)
21:23:10  <SmatZ> Roujin: ah, it is a nice thing
21:23:16  <Bjarni> well, the issue is that trust is a relative term
21:23:20  <SmatZ> much easier than raise + level
21:23:31  <SmatZ> why would I lie to you
21:23:39  <Bjarni> SmatZ: will you give me your visa card number and expiration date?
21:24:13  <SmatZ> Roujin: it could even me done as a client-side patch
21:24:54  <Roujin>
21:25:06  <Bjarni> I thought so
21:25:13  <SmatZ> Bjarni: it is dangerous... not because you would misuse it, but because somebody could get that information
21:25:21  <Bjarni> SmatZ don't trust me :'(
21:25:40  <Roujin> actually i'm not really experienced with OTTD development yet
21:25:43  <Bjarni> SmatZ: ever heard of PM?
21:25:56  <SmatZ> :-D of course I trust you, but this is a different question
21:26:14  <Roujin> i have no idea how what my patch does on multiplayer...
21:26:18  <Roujin> -how
21:26:28  <Bjarni> ok, then I will tell you
21:26:33  <SmatZ> Bjarni: it is not encrypted... logs on my and yours PC are not encrpted ... there may be keyloggers etc. on our computers
21:26:44  <Bjarni> if you totally ignored multiplayer, then it will cause desyncs every time it's used
21:27:04  <Bjarni> SmatZ: but I'm not using windows...
21:27:30  <Bjarni> STOPKEYLOGGER
21:27:35  <SmatZ> :-)
21:27:38  <Bjarni> that should take care of that issue
21:28:21  <SmatZ> Bjarni: the more people know information, the higher is the danger that somebody else will know it, too ... by accident, by stealing...
21:28:24  *** [1]Bakes [] has joined #openttd
21:28:40  <Sacro> startkeylogger
21:28:42  <Sacro> :(
21:29:30  <Sacro> DCC SEND "startkeylogger" 0 0 0
21:29:31  *** Amix^ [] has quit [Read error: Connection reset by peer]
21:29:31  <SmatZ> Roujin: it could work in multiplayer ... the advantage of client-side patches is that you may run your patch even on non-modified server
21:29:32  <Sacro> :D
21:29:36  * Sacro got one
21:29:39  <SmatZ> :)
21:30:31  *** Amix^ [] has joined #openttd
21:32:06  <Bjarni> SmatZ: but the buttomline is that you don't trust me enough to give me vital information. Then why should we trust you? :P
21:32:26  <SmatZ> Bjarni: why you shouldn't? :-)
21:32:48  <Bjarni> because you are Czech?
21:33:37  <Bjarni> for all we know you could actually be multiple people from KGB trying to infiltrate our software to include backdoors into the otherwise well protected linux computers
21:34:00  *** Bakes [] has quit [Ping timeout: 480 seconds]
21:34:00  *** [1]Bakes is now known as Bakes
21:34:21  <SmatZ> hmm I try to be nice
21:34:25  *** RamboRonny [] has quit [Quit: - nbs-irc 2.36 - -]
21:34:46  <Bjarni> good point
21:34:56  <Bjarni> that rules out the KGB theory
21:35:04  *** Amix^ [] has quit []
21:36:03  <skidd13> Not only the FSB the NSA trys it too. ;)
21:36:22  <SmatZ> I think I would never say someone "I don't trust you because you are from xxx country"
21:36:43  *** [1]Bakes [] has joined #openttd
21:36:43  <SmatZ> if people really think what you said
21:36:53  <SmatZ> then it is a bad world west from here
21:36:58  <Bjarni> do you really think that I was serious?
21:37:01  <Bjarni> :s
21:37:16  <SmatZ> well... some things hurt me :(
21:37:21  <Bjarni> sorry
21:37:21  <Rubidium> Bjarni: can never be serious
21:37:25  <SmatZ> and I am afraid you was
21:37:44  <Bjarni> I can be serious, but I'm not when I say stuff like that
21:37:49  <SmatZ> no problem
21:37:56  <glx> Bjarni: stop scaring people and fix your bugs ;)
21:38:21  <Bjarni> if I wanted to scare him, then I would have done something completely different
21:38:32  <SmatZ> Bjarni: the problem is that some people really look at czech people as at "somebody worse"
21:38:32  <SmatZ> but okay :)
21:38:37  <Bjarni> something so cruel that it's unmentionable
21:39:16  <SmatZ> sorry, I have a really bad mood nowadays
21:39:24  <Bjarni> SmatZ: but I said the same thing about French people and Dutch people and Spanish people....
21:39:38  <Bjarni> not to mention people from USA...
21:39:40  <SmatZ> :-)
21:39:50  <Vikthor> SmatZ: The problem is large number of Czechs looks as somebody worse as well
21:40:17  <SmatZ> Vikthor:  different lifestyle :)
21:40:19  <Vikthor> its unfortunately normal human behavior
21:41:04  <Bjarni> the problem is that the Czech people who turns up here aren't the average Czech citizen... somehow we work as a magnet on criminal minds
21:41:22  <SmatZ> Vikthor:  large number of people from all countries look bad ... but when you travel abroad, you never meet them...
21:41:43  <SmatZ> except... do you see the litter everywhere in big cities in the western Europe?
21:41:53  <Bjarni> whenever somebody is caught pickpocketing it usually turns out to be a Czech or from a nearly country (like Slovakia)
21:42:24  <Vikthor> SmatZ: No but I see lot of cleaners who must be cotly to pay
21:42:25  *** Bakes [] has quit [Ping timeout: 480 seconds]
21:42:25  *** [1]Bakes is now known as Bakes
21:43:18  <SmatZ> Bjarni: :-/ well... I was in Denmark twice, people rather travel to beaches (Croatia, Italy, France, Spain), or skiing (Germany, Italy...)
21:44:44  <Bjarni> I didn't talk about how many Czech people who shows up here. I'm talking about the amount of Czech people who picks pockets compared to the total amount of people who picks pockets
21:44:45  <Vikthor> Bjarni: You know that's intersteting how criminals move more to west - We have here criminal brigades from ex-USSR, Romanian beggar-gangs and so on
21:44:45  <SmatZ> Bjarni: you cannot trust everything you see/read... there are hundreds or thousands of pickpockets daily, and if one is done by Czech citizen... it is interesting for newspapers, but not so bad
21:45:26  <Bjarni> no, this is based on police records
21:45:34  <Bjarni> not newspaper headlines
21:45:51  <Bjarni> basically a single story in the newspapers are just that... a single story
21:46:18  <Bjarni> unless it has solid facts to base it on like all the police records from a certain area or similar
21:46:19  <SmatZ> Bjarni: show me the records
21:46:20  <Vikthor> Maybe its just because Czechs are so bad pickpockets that unlike the others they get caught :)
21:46:25  <SmatZ> :)
21:46:38  *** boekabart [~boekabart@] has joined #openttd
21:47:50  <SmatZ> actually, wise people don't say "Romanian people are bad" just because we have many Romanians pickpocketers etc. here
21:47:51  <Bjarni> pickpocketing in Copenhagen has turned into organised crime. Some people import people from the East to do the actual job for them
21:48:39  <SmatZ> then it is problem of your people
21:48:59  <SmatZ> if Danish people hire people from the East to do the bad job
21:48:59  <Vikthor> Intersting, we can say absolutely the same, just subsitute Copenhagen with Prague
21:49:01  <Bjarni> but it's controlled by people in Eastern Europe
21:49:17  <SmatZ> :)
21:49:19  <Bjarni> no, it's not done by Danish citizens... at least nothing indicates that
21:49:35  <Eddi|zuHause3> <Bjarni> no, this is based on police records <- doesn't mean more czech people pick pockets, just above average get caught :p
21:49:45  <Bjarni> yeah
21:50:18  <Wolf01> 'night
21:50:21  *** Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
21:50:35  <Bjarni> well.... a few years ago pickpocketing was not a big issue... now it's something that happens daily at the central station in Copenhagen and they warn about it in the speakers like every 15th minute in 5 languages
21:50:49  <Maarten> Logic tells us that the group who is the most succesfull in pickpocketing, is the group that is the least caught. :P
21:51:01  <Bjarni> I tend to agree
21:51:05  <Bjarni> butš
21:51:06  <Eddi|zuHause3> Bjarni: there are countries more eastern than czechia
21:51:13  <Bjarni> I know
21:51:50  <SmatZ> maybe it is a way to scare people
21:52:03  <Roujin> well, i'm off for today. have a look at my patch if anyone feels bored, and leave a comment ;) good night
21:52:08  <SmatZ> to change the people's opinion
21:52:17  *** Roujin [] has quit [Quit:  HydraIRC -> <- *I* use it, so it must be good!]
21:53:01  <Bjarni> actually it looks like the issue is that some poor people get "jobs" here and when they arrive, they have to pick pockets. If they refuse, then something will happen to them and their families back home
21:53:21  <SmatZ> Bjarni: no way
21:53:28  <Bjarni> they are told as little as possible so once they are caught (presumably often), then they can't tell who is behind this
21:53:43  <SmatZ> if they pick pockets, they went to Denmark to pick pockets
21:53:58  <SmatZ> only few people here are rotten enough to pick pickets
21:54:06  <Bjarni> maybe... it's not really known HOW people get into this
21:54:27  <SmatZ> don't think average czech citizen would pick pockets
21:54:31  <Bjarni> the issue is that once they are here, they don't have a choice and they don't know enough to tell about the people behind the whole thing
21:55:10  <Bjarni> I presume that people who sets up a "business" like this knows what kind of people they should lure into getting the dangerous jobs for them
21:55:16  <SmatZ> Bjarni: when people travel for a job, they know what job they will be doing
21:55:25  <Bjarni> so they aren't aiming at the average citizen
21:56:11  <SmatZ> maybe it is like taking czech girls for job as a babysitter etc., but when they arrive, they are forced to work as prostitutes
21:56:30  <SmatZ> but this is the reason why people here don't trust western countries
21:56:30  <Bjarni> yeah, we have that problem as well
21:56:45  <Bjarni> except most of those girls are from Ukraine and that area
21:56:48  <Bjarni> and Africa
21:56:58  <SmatZ> girls went abroad because they were promised to do some job, but then they were forced to do this...
21:57:17  <Bjarni> and fined for not doing the job right so they end up with nothing
21:57:26  <SmatZ> doesn't happen nowadays, it was worse ~15 years ago
21:57:29  <Bjarni> except AIDS and other STDs
21:57:31  <SmatZ> :-/
21:57:50  <Bjarni> as I said, they just went further east to get the girls
21:57:54  <Bjarni> it's still a big issue
21:57:55  <SmatZ> yes
21:58:14  <SmatZ> the money they get is worth the risk for ukrainian girls now...
21:58:30  <dihedral> i dont seem to be able to find the definition of GetVehicle in the noai branch...
21:58:46  *** boekabart [~boekabart@] has left #openttd []
21:58:52  <SmatZ> dihedral maybe it is hidden in the oldpool
21:59:32  <dihedral> hmm...
21:59:34  *** joey_ [] has joined #openttd
21:59:38  *** joey_ is now known as DJGummikuh
21:59:42  <DJGummikuh> Hello everybody :)
22:00:13  <DJGummikuh> I just found back to openttd today :)
22:00:16  <SmatZ> Bjarni: simple thing: czech pickpocketers move to the west, because there they can "earn" more money... similiar, pickpocketers from the east move here because here they will earn more money than at their home
22:00:30  <SmatZ> DJGummikuh: hello
22:00:44  <DJGummikuh> is there anywhere a changelog about what has been changed?
22:00:51  <DJGummikuh> I tried your page but didn't find one
22:01:06  <SmatZ> DJGummikuh: for example this
22:04:04  <Bjarni> dihedral: I see what you mean.... odd... it's well hidden
22:04:12  <Bjarni> but it's there... somewhere ;)
22:04:18  <dihedral> :-P
22:04:33  <dihedral> i was more trying to fine the IsInDepot() method of the Vehicle Structure
22:04:35  <dihedral> :-)
22:04:57  <dihedral> and finding GetVehicle was the only way i thought of finding out what i get with it :-P
22:05:16  *** Kommer [] has quit [Remote host closed the connection]
22:05:23  <dihedral> but as it returns the Vehicle structure...
22:05:53  *** Kommer [] has joined #openttd
22:06:03  *** Progman [] has quit [Remote host closed the connection]
22:06:41  <SmatZ> structure, not the pointer?
22:06:44  <SmatZ> *a
22:07:08  *** Osai [] has joined #openttd
22:10:23  <DJGummikuh> One thing I wanted to ask for some time now: why are you working with C most of the time? I mean there are plenty alternatives out there.
22:11:09  <DJGummikuh> I just had to work a little with C++ and am more used to C# and just figured how much more comfortable a managed language can be ;-)
22:11:32  <SmatZ> DJGummikuh: OTTD is afaik older than C#
22:11:33  <Bjarni> SmatZ: it's a pointer, not the struct itself
22:11:40  <SmatZ> Bjarni: ok
22:11:47  <DJGummikuh> SmatZ: yeah but take java for alternative
22:11:47  <Bjarni> we never use vehicle structs except for in the pool
22:11:54  <DJGummikuh> ottd is surely not older than java
22:11:55  <SmatZ> DJGummikuh: java :-x
22:11:56  <Bjarni> java is too slow
22:12:05  <SmatZ> DJGummikuh: try to program it in java
22:12:07  <Bjarni> besides I'm no good with java
22:12:20  <DJGummikuh> don't get me wrong I don't want to play smart on you I'm just really curious
22:12:33  <DJGummikuh> Bjarni: hmm I guess that's a pretty obvious reason :D
22:12:56  <Bjarni> the thing is that ludde decided on C when he started the project and didn't go public with it until it was in a semi working state
22:12:59  <SmatZ> DJGummikuh: C is a standard, it works on many platforms, it has good compilers
22:13:09  <Bjarni> at that time nobody seriously wanted him to switch to another language
22:13:23  <SmatZ> it is not like having installed 3 different JRE for different java programs
22:13:54  <DJGummikuh> SmatZ: lol
22:14:02  <DJGummikuh> yeah I figured these probems as well
22:14:28  <DJGummikuh> I personally prefer programs that need jre 1.6 but only use the compatibility mode for 1.2 ...
22:14:42  <Bjarni> freecol turned out to have OS specific bugs even though it's written in java, so java isn't as cross platform as we would like to think
22:14:55  <DJGummikuh> Bjarni: hmm.. ok
22:15:04  <dihedral> good night ladies
22:15:08  <DJGummikuh> good nite
22:15:34  <Bjarni> and... we actually changed the code to C++
22:15:39  *** dihedral [] has quit [Quit: ChatZilla [Firefox]]
22:15:56  <Bjarni> basically we can code C in C++ so switching to C++ wasn't hard
22:16:00  <Bjarni> for the most parts
22:17:18  <DJGummikuh> Bjarni: hm...
22:17:32  <Bjarni> changing to anything else now would mean a total rewrite and we don't want to do that :p
22:17:42  <DJGummikuh> understandable
22:17:48  *** KUDr [] has quit [Ping timeout: 480 seconds]
22:18:59  <Bjarni> at one time one guy showed up and declared that he would start to port the whole thing to delphi... we never heard from him again
22:19:10  <Sacro> python!
22:19:18  <Bjarni> sssshhhhhhhhhhhhhh
22:19:25  <Bjarni> shhhhshhsssshhhhh
22:19:25  <Sacro> good impression
22:21:39  <Bjarni> yapf/yapf_base.hpp:     const Vehicle* GetVehicle() const {return m_veh;} <---- I think this is what dihedral asked for, but now he left :/
22:22:04  <Bjarni> I have no idea what it is doing in yapf though
22:22:27  <SmatZ> Bjarni: it is a different GetVehicle
22:22:44  <DJGummikuh> LOL
22:22:46  <DJGummikuh> A new roadset, as ugly as hell. It has alignment issues, looks like plastic, and generally smells. I've been working on new versions since I released it. See the news for the preview of the newest version in development.
22:23:40  <DJGummikuh> nice information on a NewGrf :D
22:23:42  <SmatZ> Bjarni: I am almost sure it is hidden in the templates
22:24:38  <skidd13> good night
22:24:52  *** skidd13 [] has left #openttd []
22:25:01  <Bjarni> well
22:25:17  <SmatZ> oldpool
22:25:20  <Bjarni> it would be really stupid to have two GetVehicle()
22:25:20  *** Ihmemies [] has quit [Quit: Signed off]
22:25:34  <Vikthor> 'night
22:25:43  <SmatZ> 	inline T *Get(uint index) const
22:25:48  *** Vikthor [~Vikthor@] has quit [Quit: Leaving.]
22:28:34  *** Wezz6400 [] has quit [Quit: Zzz]
22:31:14  <Bjarni> I can't see how this Get function is translated into GetVehicle :s
22:31:23  <Bjarni> I can see that the function does the right thing
22:31:31  <Bjarni> but not the function name
22:32:30  <SmatZ> OLD_POOL_ACCESSORS(name, type)
22:32:37  <glx> #define OLD_POOL_ACCESSORS(name, type) \
22:32:37  <glx>     static inline type* Get##name(uint index) { return _##name##_pool.Get(index);  } \
22:32:37  <glx>     static inline uint Get##name##PoolSize()  { return _##name##_pool.GetSize(); }
22:32:40  <SmatZ> doesn't this declare the function?
22:32:50  <SmatZ> faster :-p
22:33:35  <Bjarni> ahh now I get it
22:33:36  <glx> #define STATIC_OLD_POOL(name, type, block_size_bits, max_blocks, new_block_proc, clean_block_proc) \
22:33:48  <glx> this one creates them
22:34:06  <Bjarni> looks like a big hack to get the new pool stuff to work with the old pool calls
22:34:13  <SmatZ> DECLARE_OLD_POOL(Vehicle, Vehicle, 9, 125)
22:34:19  <Bjarni> and... when will the new pool system be committed? :p
22:34:30  <SmatZ> somebody is working on it?
22:34:39  <Bjarni> well
22:34:52  <Bjarni> something is *supposed* to be working on it
22:34:59  <SmatZ> isn't this "new" enough? :)
22:35:09  <glx> #define STATIC_OLD_POOL(name, type, block_size_bits, max_blocks, new_block_proc, clean_block_proc) \<-- indeed
22:35:23  <SmatZ> it uses tamplates etc... it is C++ stuff
22:35:32  <Bjarni> no... the new pool system should have a whole lot of cool features
22:35:33  <glx> DECLARE_OLD_POOL(Vehicle, Vehicle, 9, 125) <-- in vehicle.h
22:36:33  <SmatZ> I find actual features cool enough
22:37:16  <SmatZ> if things don't have to change just because they are old
22:39:56  <Bjarni> no
22:40:15  <Bjarni> it should be changed because we were promissed some really cool features
22:40:18  <Bjarni> oh well
22:40:24  *** KouDy [~KouDy@] has quit [Quit: Trillian (]
22:42:07  *** gfldex_ [] has joined #openttd
22:42:33  <Bjarni> huh... the news keep getting more and more weird
22:43:04  <Bjarni> some guy in Mexico was writing a book about cannibalism and now he is arrested for trying it out on his girlfriend (who went missing a while ago)
22:43:43  <SmatZ> I heard that, too
22:43:56  <SmatZ> it becomes rather usual to be a canibal
22:44:14  *** gfldex [] has quit [Ping timeout: 480 seconds]
22:44:25  <Bjarni> but...
22:44:45  <Bjarni> it's not usual to pray on one's own mate
22:45:37  *** AntB [~AntB-UK@] has joined #openttd
22:45:56  <Bjarni> besides it will never be "usual" for humans to be cannibals
22:47:55  <SmatZ> hope so
22:58:18  *** Osai [] has quit [Quit: Osai]
22:58:27  <Ammler> Rubidium: we have this assert now on the coop servers too, also without any patches...
22:58:38  <Ammler> the packet.cpp assert
23:00:13  <Sacro> A variable of type bool can hold values which are: ...
23:00:21  <Sacro> Round or square
23:00:21  <Sacro> 0 or 1
23:00:21  <Sacro> -1 or +1
23:00:21  <Sacro> valid or invalid
23:00:24  <Sacro> true or false
23:00:29  <Sacro> only 1 is correct...
23:00:31  <Sacro> place bets now
23:01:54  <SmatZ> invalid
23:02:12  <Sacro> SmatZ: cos bool is 1 or 0?
23:02:32  <Sacro> well technically in memory it's only ever 1 or 0
23:02:46  <Ammler> or -1 and 0
23:02:49  <SmatZ> hmm I wouldn't say that
23:02:49  <Sacro> Ammler: surely not?
23:02:54  <SmatZ> but I placed my bet
23:02:55  <Sacro> cos -1 would be 11111111
23:02:57  <SmatZ> on "invalid"
23:03:06  <SmatZ> yes, like in VHDL
23:03:28  <SmatZ> the '1' is extended to "11111", actually meaning -1
23:03:43  <SmatZ> so instead of adding 1, you substract it...
23:04:12  <Ammler> with -1, you are sure, EVERY bit is set
23:04:41  <Bjarni> Sacro: is that homework?
23:04:51  <Ammler> thats "really" true, isn't? :)
23:04:54  <Bjarni> why would we want to do your homework?
23:04:57  <Bjarni> Ammler: 1
23:05:04  <Sacro> Bjarni: no, its a mock exam
23:05:11  <Sacro> but it scares me if we are gonna get questions like that
23:05:20  <Sacro> i wouldn't ask unless i was truely worried
23:05:31  <SmatZ> ah.... it was a question! :D
23:05:37  <SmatZ> [01:00:32] <Sacro> true or false
23:05:45  <SmatZ> I would say this is the correct answer
23:05:53  <Sacro> hmmm
23:05:54  <SmatZ> you get 1/0 by converting it to int
23:06:03  <SmatZ> but the representation may be whatever
23:06:07  <Sacro> if (x = 99) {
23:06:16  <Sacro> now will C# throw a wobbler at that
23:06:17  <Sacro> or just not care
23:06:33  <Bjarni> reminds me of when I was to do an assignment about advanced electronics and electronic weight measurements... the professor uploaded a "walkthough" for the lab tests. The first page was used to explain Ohm's formula o_O
23:06:35  <SmatZ> I don't know C#...
23:06:47  <Bjarni> you know, U= R*I
23:06:50  <SmatZ> :-)
23:07:22  <SmatZ> well... there are more complex way to describe the current
23:07:26  <Bjarni> we were like "we are missing something here because if this were as basic as we think he wouldn't have written it"
23:07:43  <Bjarni> we never found the complex part of it though
23:07:52  * Sacro tries to compile it
23:08:00  <Sacro> i could never remember ohms law
23:08:10  <Sacro> test.cs(8,17): error CS0029: Cannot implicitly convert type `int' to `bool'
23:08:10  <SmatZ> j = n e B E
23:08:14  <SmatZ> or so...
23:08:23  <Bjarni> P = R*I*I
23:08:39  <Sacro> F = bIL sin(theta)
23:08:45  <Prof_Frink> V=IR. It's a man's equation.
23:08:59  *** TinoM [] has quit [Quit: Verlassend]
23:09:20  <Sacro> wtf is "monadic"
23:09:30  <Phazorx> openttd: /home/ottdcoop/svn-devserver/src/network/core/packet.cpp:136: void Packet::
23:09:30  <Phazorx> Send_string(const char*): Assertion `this->size < sizeof(this->buffer) - strlen(data
23:09:30  <Phazorx> ) - 1' failed.
23:09:30  <Phazorx> Server has exited
23:09:36  <Phazorx> while game is paused
23:09:51  <Phazorx> newgrf query?
23:10:00  <Ammler> Phazorx: this is well known here...
23:10:03  <Bjarni> P = R*I*I <-- this formula can actually be used to calculate power loss in a wire. If you know the resistance/meter and you know the length and the current, then you can calculate your power loss
23:10:15  <Bjarni> notice that I^2 is present while U is missing
23:10:20  <Phazorx> Ammler: and i'd like to be enlightened as well
23:10:30  <SmatZ> or P = U * U / R
23:10:31  <SmatZ> :-p
23:10:35  <SmatZ> notice I is missing!
23:10:36  <SmatZ> :)
23:10:54  <Bjarni> that's the voltage drop though the wire
23:11:05  <Bjarni> I'm talking about the voltage difference between the two wires
23:11:22  <Bjarni> and if I had finished my next line then it would have been clear :P
23:11:34  <SmatZ> finish him
23:11:55  <Ammler> Phazorx: you self posted that here too
23:12:10  <Ammler> the problem is, we can't debug it
23:12:11  <Phazorx> is that same thing but different line number?
23:12:26  <Phazorx> i was running gdb on .dev
23:12:27  <SmatZ> not only wire, but also a resistor, blumb, ... with DC only
23:12:29  <Phazorx> for 4 days
23:12:36  <Ammler> hmm, you mean its something else?
23:12:49  <Phazorx> Ammler: i dont know, i cane here to ask
23:13:09  <Bjarni> so if you want to send power to some far away place, you use a transformer to gain high voltage because then the current is reduced (P=U*I). Since this particular U has nothing to do with power loss in the wire, but I^2 has, then you will really notice why high voltage is a good idea for power transfer
23:13:11  <Phazorx> as soon as they get done with basic electrodynamics conversation
23:13:13  <glx> it looks like the known assert :)
23:13:18  <Phazorx> i hope someone will explain that one to me
23:13:33  <glx> tried to send a too long string
23:13:43  <glx> but we still failed to debug it
23:13:45  <Phazorx> glx: any suggestion on debuging?
23:14:07  <glx> Ammler tried to run in gdb but it didn't failed then
23:14:10  <SmatZ> Bjarni: yes
23:14:21  <Phazorx> same here
23:14:36  <Bjarni> <SmatZ> not only wire, but also a resistor, blumb, ... with DC only <--- the wire itself is the resistor and it's true for AC as well if you can get rid of the capacitance. Using unisolated wires can do that for you
23:14:37  <Ammler> glx, I am not sure, if the debug failed
23:14:42  <Ammler> it just gave no output
23:14:47  <glx> it happens when someone asks for grf details
23:14:50  <Eddi|zuHause3> <Sacro> wtf is "monadic" <-- i'm not sure if i got the translation right, but around here a "Monoid" was a half-group with a neutral element
23:15:01  <glx> but I failed to reproduce it
23:15:13  <Bjarni> anyway
23:15:23  <Bjarni> Sacro: more interesting and hard questions?
23:15:27  <Phazorx> glx: would it help to run it in gdb?
23:15:30  <SmatZ> Bjarni: I don't know the characterical impedance of high voltage wires, do you?
23:15:31  <Sacro> Bjarni: questions are fine
23:15:32  <glx> would be easier to know who triggered it so we know what grf he have
23:15:35  <Sacro> its finding the right answer
23:15:38  <Bjarni> 42
23:15:56  <Phazorx> glx: will net=2 help ?
23:16:02  <SmatZ> ok
23:16:21  <Phazorx> i mean will one who caued it get reported in debug before server crashing ?
23:16:22  <Sacro> sod it, can't be arsed :p
23:16:25  <Ammler> glx, dosn't matter the grf
23:16:40  <Ammler> its just one of the last
23:16:57  <glx> but the string sent depends on missing grfs
23:16:59  *** Brianetta [] has quit [Quit: TschÌß]
23:17:03  <Ammler> 1. was cstrams, then ukrs etc...
23:17:23  <Bjarni> ohh... at a math lecture not long ago, the professor calculated a whole lot of stuff and the conclusion is that the whole thing were true if and only if there is a number X that is equal to 5 and to -5 at the same time. The professor asked a rhetorical question "which number is the answer to this question?"
23:17:34  <Bjarni> somebody in the back said (loud): 42
23:17:35  <Ammler> but its always the same as long as you don't change the grfs
23:17:48  <Sacro> Bjarni: sqrt(25)
23:17:58  <Bjarni> and everybody laughed, even the professor
23:18:42  <Bjarni> Sacro: it should be a number in N (or was it R)... sqrt(25) is two numbers
23:18:48  <Ammler> I didn't know this number until trueligt brought the bot
23:18:49  <Bjarni> we were only allowed to use one
23:19:04  <glx> Ammler: but to reproduce it we need a server with a known grf list, and a client with known missing grf and crashing server
23:19:18  <Bjarni> Ammler: in Hitchhikers Guide to the Galaxy it should be the answer to everything
23:19:21  <glx> and happening each time
23:19:21  <Bjarni> or so I'm told
23:19:24  <Sacro> Bjarni: that is impossible
23:19:26  <Bjarni> never seen or read it
23:19:53  <Ammler> Bjarni: yeah; I know that now too, since I asked why the bot has this name...
23:20:10  <Ammler> glx. Its impossible to reproduce it
23:20:17  <Ammler> its just randomizly
23:20:29  <Eddi|zuHause3> randomizzle?
23:20:42  <Eddi|zuHause3> is that some new pimp slang?
23:20:50  <Ammler> oh sorry, noghing is impossible
23:20:55  <glx> how to debug an unreproducible crash?
23:21:07  <Bjarni> <Sacro> Bjarni: that is impossible <-- yeah... read what I said. The whole calculation were true if and only if the answer could be found. We could see that there is no answer, hence we went backwards and could declare all of the calculations for incorrect and the original statement were incorrect. The assignment was to validate the statement and we proved that it was incorrect
23:21:13  <Ammler> I just were not able to
23:21:29  <Sacro> but sqrt 25 :(
23:21:33  <Sacro> it *fits*
23:21:36  <Sacro> meh
23:21:36  <Sacro> brb
23:21:56  <Eddi|zuHause3> you can prove the most interesting propositions if you are talking about the empty set :p
23:21:56  <Bjarni> but sqrt(25) was not in the allowed pool of numbers for the solution
23:22:03  <Bjarni> it's as basic as that
23:23:34  <Bjarni> the professor showed us a mathematical proof that all students are happy students. She got it from some student years ago and she said "we know this to be incorrect. Find the error and prove this to be wrong"
23:24:23  <Bjarni> afterwards I realised that my proof should be "I'm unhappy because I can't find the error, but since I found a student, who isn't happy, then I proved that the statement is wrong"
23:24:28  *** nzvip [~svip@] has quit [Quit: Leaving]
23:25:13  <Bjarni> proving that a statement is wrong can be very easy. Just find just one input where it fails, in this case a student ;)
23:25:27  <Bjarni> proving that it's true for all students can be a bit more tricky
23:25:47  <Eddi|zuHause3> it's kinda funny, for each mathmatician who proves something, there are like 6 mathmaticians that try to proove that his proof is wrong
23:26:10  <Bjarni> yeah
23:27:10  <Bjarni> <-- this is on the hallway with all the math professor offices :D
23:27:27  <Bjarni> without the URL though
23:27:46  <Bjarni> actually the wall is full of prints like that
23:28:00  <Eddi|zuHause3> of course, like all cryptography experts go to the roof when a mathmatician proves something about distribution of primes without riemanns assumption
23:28:42  <Bjarni> we have some cool professors :D
23:30:00  <Eddi|zuHause3> in our maths building, there are 3 seminar rooms... and some students made a prank when they put signs on them "Banachraum", "Hilbertraum" and "Hausdorffraum"
23:30:17  <Bjarni> Eddi|zuHause3: that sounds like a bad idea. The combined weight of all cryptography experts would be too much for the roof
23:30:25  <Bjarni> and how would they fit there anyway?
23:30:44  <Eddi|zuHause3> the profs decided that it was to stay that way, and then added also the definitions to those signs ;)
23:30:50  <Ammler> glx: my gdb always gives that: Cannot find user-level thread for LWP 18045: generic error
23:30:55  <Ammler> what does that mean?
23:31:09  <glx> it does that on start
23:31:21  <Ammler> no after the server crashes
23:31:42  <Ammler> or even not
23:31:48  <Ammler> its something like paused
23:31:59  *** Pinaa [Pina@] has joined #openttd
23:32:03  <Pinaa> Hi
23:32:06  <Phazorx> no debug symbols?
23:32:09  <Pinaa> Can someone help me please?
23:32:16  <Phazorx> Pinaa: 911 ?
23:32:18  <Ammler> debug symbols?
23:32:18  <glx> Phazorx: not at all
23:32:23  <Bjarni> Pinaa: that is too much to ask of us
23:32:29  <Pinaa> ?!
23:32:39  <Bjarni> we can't solve unknown issues
23:32:44  <glx> don't ask to ask, just ask
23:32:49  <Pinaa> Oh...
23:32:51  <Phazorx> glx: once again - should we run it with gdb and debugg_level "net=2" ?
23:32:51  <Ammler> !meta
23:32:55  <Pinaa> Here it goes:
23:33:23  <Bjarni> Eddi|zuHause3: I don't get those room names. I presume they refer to something I don't get :/
23:33:29  <Pinaa> I have ottd, but i dont know how to download new things to the game...
23:33:47  <Bjarni> you mean newGRF?
23:33:54  <Pinaa> I see very screenshots with new buildings, cars, roads, bridges, etc...
23:33:57  <Pinaa> How can i have that?
23:34:22  <Phazorx> coopers grf pak might help :)
23:34:26  <Eddi|zuHause3> Bjarni: it doesn't translate well... banach space, hilbert space and hausdorff space (i think that is the proper translation) are mathematical constructs
23:34:29  <Bjarni>
23:34:48  <Ammler> Phazorx: "our" pack is only for server player
23:35:38  <Phazorx> our pack is good and comprehensive :)
23:36:12  <Bjarni> huh... nobody mentioned the newGRF GUI on the wiki....
23:36:23  * Bjarni slaps everybody
23:36:35  <Bjarni> everybody should have noticed that and corrected that issue
23:36:42  <Pinaa> So, i read that and than its just to follow the steps?»
23:36:55  * AntB doesn't take well to being slapped
23:37:02  * AntB slaps Bjarni back
23:37:03  <Bjarni> but... it's more simple that the wiki says
23:37:09  *** KritiK [] has quit [Quit: Leaving]
23:37:12  <Bjarni> as I said... we have a GUI for it now
23:37:56  <Bjarni> basically you get the file(s) you want, put them in the data dir, start the game and click newGRF and enable the files you want. Remember to save the changes before closing the window and start a new game
23:38:02  <Bjarni> and you will see new vehicles and stuff
23:38:25  <Bjarni> AntB: then fix the wiki and you are out of danger
23:39:53  <Sacro> Bjarni: don't you have to add each newgrf individually
23:40:33  <Bjarni> both yes and no
23:41:01  <Bjarni> you can only highlight one line at a time, but then you can click add and you are free to add another one after that
23:41:02  <glx> 1) download grf
23:41:02  <glx> 2) put it somewhere in data
23:41:02  <glx> 3) start openttd
23:41:02  <glx> 4) open newgrf window
23:41:02  <glx> 5) add grfs
23:41:02  <glx> 6) enjoy
23:41:02  <DaleStan> Bjarni: I think "everybody" is supposed to evaluate to "whoever added that feature".
23:41:02  <Pinaa> But... I dont know what grf i have to download glx... Can you tell me? Or put here the link please?
23:41:33  <glx> Pinaa: <-- there are many grfs there
23:41:41  <Pinaa> Thanks.
23:41:52  *** Pinaa [Pina@] has quit [Quit: Bye for now!]
23:41:54  *** Pinaa [Pina@] has joined #openttd
23:41:59  *** Pinaa [Pina@] has quit []
23:42:03  <Bjarni> wb Pinaa
23:42:07  <Bjarni> bye Pinaa
23:42:10  <Ammler> :)
23:42:13  <Bjarni> that was quick
23:42:16  *** Pinaa [Pina@] has joined #openttd
23:42:21  <Bjarni> wb Pinaa
23:42:23  <Bjarni> again
23:42:30  <glx> just make sure to not mix palettes
23:42:32  <Pinaa> Sorry glx, can you put the link again...
23:42:39  <Bjarni> LOL
23:42:42  <Pinaa> Sorry
23:42:44  <glx>
23:42:46  <Pinaa> Thnks
23:43:11  <Bjarni> how do you pronounce that... I mean without any vocals....
23:43:58  <Bjarni> DaleStan: well... it could be an idea but a decent amount of changes on the OpenTTD wiki isn't done by the developers. We have some good people to do it for us so we are freed to code... but they failed this time :(
23:44:44  <Ammler> Phazorx: I started dev with gdb
23:45:04  <Phazorx> do debug_level "net=2" in console
23:45:15  *** Pinaa [Pina@] has left #openttd []
23:45:16  <Phazorx> i diditn get a reply from glx but i gues it wont hurt
23:45:29  <glx> you'll get more output :)
23:45:43  <Phazorx> and i bet it was Pinaa crashing our .dev
23:45:53  <Ammler> hmm, I thought debug level doesn't matter
23:45:57  <Phazorx> glx: just more or more useful?
23:45:58  <Ammler> if you start with gdb
23:46:08  <Phazorx> Ammler: gbd wont give you ip
23:46:39  <glx> yes it would be nice to know who trigger the crash
23:47:14  <Ammler> hmm, the problem is ap doesn't stop
23:47:48  <Ammler> maybe just start without ap
23:47:53  <glx> debugging in ap is a bad idea anyway
23:48:05  <Ammler> if we are lucky the assert happens anyway
23:50:08  <Ammler> glx how to start witout ap
23:50:20  <Ammler> gdb openttd -D ... ?
23:50:23  <glx> gdb openttd
23:50:28  <glx> r -D ...
23:51:09  <Ammler> no debug parameter?
23:51:32  <glx> not needed, by default -D uses -d net2
23:53:09  *** Farden [] has quit [Quit: ( :: NoNameScript 4.02 :: )]
23:53:26  <Ammler> gdb openttd -D -g save/autosave/network_server.tmp
23:53:55  <SmatZ> is it okay when OTTD segfaults when using some bad newgrfs?
23:54:05  <SmatZ> segfault = sigsegv, not assert
23:54:09  <SmatZ> hmm
23:54:18  <SmatZ> I have disabled debugging
23:54:21  <SmatZ> please ignore me
23:54:22  <SmatZ> :)
23:56:44  <SmatZ> hmm yes it segfaults
23:56:49  <SmatZ> should I report it?
23:58:12  <Eddi|zuHause3> no. don't even attempt to report bugs, especially if they are serious crashes
23:58:22  <Sacro> just add it to the feature list
23:58:40  <SmatZ> I just ask
23:58:48  <SmatZ> if newgrf support is so advanced
23:58:54  <SmatZ> that segfaults should be reported
23:59:03  <SmatZ> no matter how bad the newgrf is
23:59:25  <glx> yes we should handle bad newgrf without crashing

Powered by YARRSTE version: svn-trunk