| --- | Log | opened Fri Jun 22 00:00:57 2007 |
| 00:03 | |-| | Thomas[NL] [~thomas@vdburgt.xs4all.nl] has joined #openttd |
| 00:14 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has quit [Ping timeout: 480 seconds] |
| 00:16 | |-| | Tobin [~Tobin@c58-107-50-36.eburwd7.vic.optusnet.com.au] has joined #openttd |
| 00:16 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has joined #openttd |
| 00:16 | [~] | Tobin waves |
| 00:17 | |-| | Mucht [~Mucht@p57A0CD2F.dip.t-dialin.net] has quit [Quit: Konversation terminated!] |
| 00:22 | |-| | Thomas[NL] [~thomas@vdburgt.xs4all.nl] has quit [Remote host closed the connection] |
| 00:32 | |-| | helb [~helb@84.244.90.159] has quit [Quit: Logout] |
| 00:40 | |-| | geoff_k [~geoff_k@host81-152-90-185.range81-152.btcentralplus.com] has quit [Quit: Leaving] |
| 00:42 | |-| | xBRMxJamie [~xbrmxjami@AC8FF030.ipt.aol.com] has quit [] |
| 00:53 | <Hendikins> | Ah, Sydney. Where else would you have trains called "The Fish" and "The Chips"? :P |
| 00:54 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has quit [Ping timeout: 480 seconds] |
| 00:55 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has joined #openttd |
| 01:01 | <eekee> | heh ^^ |
| 01:03 | |-| | tokai|ni [~tokai@p54B82D17.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds] |
| 01:04 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has quit [Ping timeout: 480 seconds] |
| 01:05 | |-| | tokai|ni [~tokai@p54B82A48.dip0.t-ipconnect.de] has joined #openttd |
| 01:07 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has joined #openttd |
| 01:09 | |-| | peter1138 [~peter@svn.bucks.net] has joined #openttd |
| 01:09 | |-| | mode/#openttd [+o peter1138] by ChanServ |
| 01:27 | |-| | helb [~helb@84.244.90.159] has joined #openttd |
| 01:33 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has quit [Ping timeout: 480 seconds] |
| 01:37 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has joined #openttd |
| 01:44 | |-| | oxygene_ [~oxygene@p50807A64.dip.t-dialin.net] has joined #openttd |
| 01:52 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has quit [Ping timeout: 480 seconds] |
| 01:53 | |-| | Peakki [antti@cs181000195.pp.htv.fi] has joined #openttd |
| 01:56 | |-| | HMage [~HMage@89-178-34-35.broadband.corbina.ru] has joined #openttd |
| 02:02 | |-| | TinoM|Mobil [~tino@WL-POOL31-29.UNI-MUENSTER.DE] has joined #openttd |
| 02:03 | |-| | TinoM|Mobil [~tino@WL-POOL31-29.UNI-MUENSTER.DE] has quit [] |
| 02:04 | |-| | TinoM|Mobil [~tino@WL-POOL31-29.UNI-MUENSTER.DE] has joined #openttd |
| 02:04 | |-| | XeryusTC [~irc@cc480157-b.sneek1.fr.home.nl] has joined #openttd |
| 02:05 | |-| | Vikthor [~Vikthor@snat1.spoje.net] has joined #openttd |
| 02:16 | |-| | Ammler [~Ammler@adsl-84-226-50-241.adslplus.ch] has joined #openttd |
| 02:24 | |-| | benc_ [~benc_@va-71-53-204-176.dhcp.embarqhsd.net] has quit [Quit: Leaving.] |
| 02:31 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has joined #openttd |
| 02:34 | |-| | CIA-1 [cia@208.69.182.149] has quit [Ping timeout: 480 seconds] |
| 02:39 | |-| | dihedral [~nathanael@joshua.dihedral.de] has joined #openttd |
| 02:39 | |-| | Maedhros [~jc@host86-137-64-30.range86-137.btcentralplus.com] has joined #openttd |
| 02:39 | <dihedral> | hello |
| 02:44 | |-| | roboboy [~Leo@c211-30-68-114.carlnfd4.nsw.optusnet.com.au] has joined #openttd |
| 02:44 | <roboboy> | hello |
| 02:45 | <eekee> | hewwo |
| 02:47 | <dihedral> | i found out where the overflow of the php integer occures |
| 02:48 | <dihedral> | 128 << 24 is the first one that fails... |
| 02:48 | <eekee> | whoa, yeah it would |
| 02:48 | <dihedral> | why would it? |
| 02:49 | <dihedral> | that aint 32 bit to me :-) |
| 02:49 | <eekee> | Not sure, but Python puts the result into one of it's long ints |
| 02:49 | <eekee> | >>> 128<<24 |
| 02:49 | <eekee> | 2147483648L |
| 02:49 | <dihedral> | php only has int and float |
| 02:49 | <eekee> | use a float, then |
| 02:50 | <dihedral> | php has auto type casting |
| 02:50 | <eekee> | I expect the reason is that it uses the upper bits are used to specify the data type |
| 02:51 | <eekee> | ah, for auto type casting.. ugh, are you doing any math on the numbers? |
| 02:51 | <dihedral> | i am working on OpenTTDLib, just want them to display |
| 02:51 | <eekee> | >.< |
| 02:52 | <roboboy> | grr that serej guy or whatever it is has returned |
| 02:52 | <eekee> | Reason I asked is because if you're doing something like var * 2 changing that to var * 2.0 should make php give you a float back |
| 02:52 | <dihedral> | lol 128 << 32 gives me 128 :-P |
| 02:53 | <eekee> | heh |
| 02:53 | <dihedral> | i am overflowing the integer!! |
| 02:54 | <eekee> | grr, you should have been doing 1 << 24 etc, that would have made that immediately obvious :) |
| 02:54 | <dihedral> | 127 << 24 works :-) |
| 02:54 | <eekee> | 1 << 31 shouldn't |
| 02:55 | <dihedral> | it does! |
| 02:55 | <eekee> | what do you get? |
| 02:55 | <dihedral> | anything above 127 << 24 overflows |
| 02:55 | <dihedral> | -2147483648 |
| 02:55 | <dihedral> | ^ result from 1 << 31 |
| 02:56 | <Rubidium> | dihedral: and 128 * 16777216 (i.e. calculating the << manually and then multiply) |
| 02:56 | <dihedral> | that did not overflow!! |
| 02:56 | <eekee> | thought so. 1 << 31 should be 2147483648, which is 1 greater than the maximum positive number a signed 32-bit interger can display |
| 02:57 | <dihedral> | doing 1 << 31 did overflow eekee |
| 02:58 | <Rubidium> | because (1 << 31) - 1 is the maximum value for a int32 |
| 02:58 | <eekee> | Ah, I said "1 << 31 shouldn't" and you said "it does!" so I thought you meant it did work, as in workign properly, lol |
| 02:59 | <dihedral> | eekee: +n't :-P |
| 02:59 | <eekee> | huh? |
| 02:59 | <dihedral> | eekee: ^ thats a diff :-P |
| 02:59 | <eekee> | Oh :D |
| 02:59 | <dihedral> | well... no it's now |
| 02:59 | <dihedral> | *t |
| 03:00 | <eekee> | --- dihedral.old |
| 03:00 | <eekee> | +++ dihedral |
| 03:01 | <dihedral> | yeah - i know |
| 03:01 | <eekee> | XD; |
| 03:01 | <dihedral> | it was a dih.diff |
| 03:01 | <eekee> | hehe |
| 03:01 | <dihedral> | never made it to a standard... it "dihed" :-P |
| 03:02 | <eekee> | LOL |
| 03:02 | <dihedral> | if i use a dec2bin convertsion, and just concaternate the parts |
| 03:02 | <dihedral> | i should have a 64 bit long binary string |
| 03:03 | <dihedral> | representing the value i need |
| 03:03 | <dihedral> | could that bee an approach? |
| 03:04 | <Maedhros> | i wonder if you could cast the variable to long in php |
| 03:04 | <eekee> | dihedral: what's the original data format? Long int? |
| 03:05 | |-| | TinoM|Mobil [~tino@WL-POOL31-29.UNI-MUENSTER.DE] has quit [Ping timeout: 480 seconds] |
| 03:05 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has quit [Ping timeout: 480 seconds] |
| 03:05 | <eekee> | err.. long long int, whatever 64 bit is |
| 03:05 | <Rubidium> | Maedhros: even then, aren't longs not always 64 bits? |
| 03:06 | <Rubidium> | but as far as I could find, the only reference to int64 of anything php related is a bug in the mysql reading of int64 variables from the databased |
| 03:06 | <dihedral> | php is not able to handl 64 bit integer variables |
| 03:07 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has joined #openttd |
| 03:07 | <dihedral> | and only has 2 numeric variable types |
| 03:07 | <dihedral> | integer and float |
| 03:07 | <eekee> | Get an account on a 64-bit webserver :) |
| 03:07 | <dihedral> | due to automatic type setting |
| 03:07 | <dihedral> | lol |
| 03:07 | <dihedral> | eekee: this should work on 32 bit machines |
| 03:07 | <dihedral> | $str = "2"; |
| 03:08 | <dihedral> | $str = $str * 4 |
| 03:08 | <dihedral> | then $str will becom int |
| 03:08 | <eekee> | dihedral: what are the datatypes of the data you wish to display? |
| 03:08 | <dihedral> | it's the money variable from openttd, sent in the udp packet |
| 03:08 | <dihedral> | it's a 64 bit integer! |
| 03:09 | <eekee> | Right.... hmmm |
| 03:09 | <dihedral> | and it fails reading that packet data when this value is heigher 127 << 24 |
| 03:09 | <eekee> | yeah |
| 03:10 | <eekee> | damn, even if you rea it as 2x32 bits, the second one would still need to be an unsigned int for the math method to work... |
| 03:10 | <eekee> | can you convert integers to a hex string? |
| 03:11 | <eekee> | (gettign desperate here, lol) |
| 03:12 | <dihedral> | if i have a binary string, i can convert it to a float |
| 03:12 | <dihedral> | and that works |
| 03:12 | <dihedral> | i.e. $str = "111111111111111111111111111111111111111111"; |
| 03:12 | <dihedral> | bindec( $str ); |
| 03:12 | <eekee> | ah cool, will it work on a 64 bit binary string? |
| 03:13 | <eekee> | oh yeah that's cool ^_^ |
| 03:13 | <dihedral> | well - i just tried it with more than 32 ones in the string |
| 03:13 | <dihedral> | and got float(4398046511100) |
| 03:13 | <eekee> | yeah, cool cool |
| 03:13 | <eekee> | reckon that's the way to go then |
| 03:14 | <dihedral> | though i would have to start with the heighest uint8 fetched from the packet |
| 03:15 | <dihedral> | and do a decbin() on it |
| 03:15 | <dihedral> | then go to the uint8 before that |
| 03:15 | <eekee> | yeah, slow, but seems to be the only way |
| 03:15 | <dihedral> | and concaternate them all to a string |
| 03:15 | <eekee> | yeah |
| 03:15 | <dihedral> | :-) |
| 03:15 | <dihedral> | i'll give it a try |
| 03:16 | <Maedhros> | and suddenly i remember why i don't particularly like php ;) |
| 03:16 | <eekee> | heheh |
| 03:16 | <dihedral> | lol |
| 03:16 | <dihedral> | when not dealing with a 64 bit integer it's great :-P |
| 03:17 | <dihedral> | or let me rephrase that |
| 03:17 | <eekee> | I'm sure it is, for it's purpose |
| 03:17 | <dihedral> | when dealing with stuff php can handle it is great :-D |
| 03:17 | <eekee> | :D |
| 03:17 | <dihedral> | now that was wisdom in is purity |
| 03:17 | <eekee> | LMAO |
| 03:18 | <eekee> | Honestly, as a thing for displaying dynamic web data, I think it's a little odd that it doesn't handle 64-bits.. ooh wait, is there some kind of arbitrary-precision math module for it? |
| 03:18 | <dihedral> | dont know |
| 03:18 | [~] | eekee looks |
| 03:20 | <eekee> | pear-math_binaryutils <-- try that module |
| 03:20 | <eekee> | might need to look up pear-math_basex too |
| 03:23 | <dihedral> | thanks eekee |
| 03:23 | <dihedral> | i shall |
| 03:23 | <eekee> | welkies! |
| 03:28 | <dihedral> | for some reason i dont believe 9.22337203685E+18 is a very valid income :-P |
| 03:28 | <hylje> | oo |
| 03:29 | [~] | eekee checks |
| 03:29 | <eekee> | oh ya... brain asleep |
| 03:29 | |-| | HMage [~HMage@89-178-34-35.broadband.corbina.ru] has quit [Read error: Connection reset by peer] |
| 03:30 | <dihedral> | and that was a 63 bit "111111111111111111111111111111111111111111110001010011110000101" |
| 03:30 | <eekee> | Ah :D |
| 03:31 | <eekee> | Python: |
| 03:31 | <eekee> | >>> 0xb111111111111111111111111111111111111111111110001010011110000101 |
| 03:31 | <eekee> | 80089528389143701834636597964342469598511739393734723455588795450022655164673L |
| 03:31 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has quit [Ping timeout: 480 seconds] |
| 03:31 | |-| | tokai|ni [~tokai@p54B82A48.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds] |
| 03:31 | <dihedral> | i could use pack() Pack data into binary string |
| 03:31 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has joined #openttd |
| 03:32 | <hylje> | struct.pack |
| 03:32 | <Maedhros> | eekee: that's hex, not binary :p |
| 03:32 | <eekee> | Maedhros: oh :D |
| 03:32 | <hylje> | there was a binary literal somewhere |
| 03:32 | |-| | tokai|ni [~tokai@p54B81E9F.dip0.t-ipconnect.de] has joined #openttd |
| 03:33 | [~] | eekee hasn't slept last night, & barely slept Wednesday night :J |
| 03:39 | <dihedral> | eekee should not play as much :-) |
| 03:39 | <eekee> | :) |
| 03:51 | |-| | Rexxars [~rexxars@ti0140a340-0230.bb.online.no] has quit [Quit: edgepro: A man who smiles when things go wrong knows who to blame.] |
| 04:13 | <dihedral> | eekee: you feel like playing around with that php stuff? :-D |
| 04:13 | <eekee> | dihedral: no :D |
| 04:14 | <dihedral> | while( $answer === false ){ askQuestion() } |
| 04:14 | [~] | eekee howls plaintivly like a wolf puppy |
| 04:15 | <dihedral> | thats scary man!! |
| 04:15 | [~] | dihedral runs for his life |
| 04:15 | <eekee> | aroooooooooh! |
| 04:16 | [~] | dihedral calles a doctor for eekee |
| 04:16 | [~] | eekee hides in the forest =o.o= |
| 04:17 | <@peter1138> | does php support gmp? |
| 04:17 | <eekee> | I think you should stick with the binary thing, sorry if I made it more complicated by sugestign those modules |
| 04:18 | <dihedral> | yes, if compiles --with-gmp |
| 04:19 | <dihedral> | eekee: not at all |
| 04:19 | <dihedral> | i am just at work so i cannot do ~that~ much atm |
| 04:19 | <eekee> | o ok :) |
| 04:19 | <eekee> | ok :) |
| 04:22 | <dihedral> | peter1138: would using gmp help? |
| 04:22 | <@peter1138> | gmp supports arbitrary length numbers |
| 04:24 | |-| | lolman [~lolman@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has quit [Read error: Connection reset by peer] |
| 04:25 | |-| | lolman [~lolman@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has joined #openttd |
| 04:26 | |-| | NukeBuster [~opera@195-241-212-152.dsl.ip.tiscali.nl] has joined #openttd |
| 04:31 | |-| | lolman [~lolman@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has quit [Remote host closed the connection] |
| 04:34 | <dihedral> | gmp is not included as default |
| 04:34 | <dihedral> | perhaps perhaps bcmath |
| 04:37 | |-| | Nigel [~nigel@202.154.148.243] has joined #openttd |
| 04:38 | |-| | lolman [~lolman@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has joined #openttd |
| 04:38 | |-| | TheJosh [~josh@d58-108-29-2.dsl.vic.optusnet.com.au] has joined #openttd |
| 04:47 | |-| | SmatZ [~root@a40-prg1-5-107.static.adsl.vol.cz] has joined #openttd |
| 04:49 | |-| | lolman [~lolman@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has quit [Read error: Connection reset by peer] |
| 04:52 | |-| | c20h25n3o [gigi@212.58.174.186] has joined #openttd |
| 04:52 | <c20h25n3o> | hi all ! |
| 04:52 | |-| | c20h25n3o changed nick to MVV |
| 04:53 | <MVV> | who remembers me... |
| 04:53 | <MVV> | i guess, i have a bug... i'll try explain... |
| 04:54 | <@peter1138> | explain > http://bugs.openttd.org/ |
| 04:54 | <MVV> | ok :) |
| 04:54 | |-| | MVV [gigi@212.58.174.186] has quit [] |
| 04:54 | <SmatZ> | "i have a bug" :) |
| 04:55 | <TheJosh> | i have too...but i leave traps out with cheese in them at night time |
| 04:56 | <TheJosh> | perhaps MVV needs some flyspray |
| 04:56 | <@peter1138> | hurr hurr |
| 04:57 | <TheJosh> | weak i know |
| 05:03 | |-| | [BDS]-Klaus [~Miranda@p54AB2DAE.dip0.t-ipconnect.de] has joined #openttd |
| 05:03 | <[BDS]-Klaus> | hi alle zusammen |
| 05:04 | <[BDS]-Klaus> | hat jemand paar tips in sachen linux server ott? |
| 05:04 | <[BDS]-Klaus> | gibt es da scripts oder so? |
| 05:05 | <TrueBrain> | [BDS][BDS]-Klaus: this is an english channel; please try again |
| 05:05 | <[BDS]-Klaus> | ok |
| 05:06 | <[BDS]-Klaus> | sorry |
| 05:06 | <[BDS]-Klaus> | hi... i need information about useful scripts for ott for linux server |
| 05:06 | <[BDS]-Klaus> | i have 2 root servers and have 1 dedicated ott server |
| 05:07 | <[BDS]-Klaus> | and now i search for scripts there are make the play easylier... usefull... or better |
| 05:07 | |-| | [BDS]-Klaus [~Miranda@p54AB2DAE.dip0.t-ipconnect.de] has quit [] |
| 05:08 | |-| | [BDS]-Klaus [~Miranda@p54AB2DAE.dip0.t-ipconnect.de] has joined #openttd |
| 05:08 | <[BDS]-Klaus> | re |
| 05:08 | |-| | lolman [~lolman@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has joined #openttd |
| 05:08 | <oxygene_> | search for "autopilot" |
| 05:09 | <[BDS]-Klaus> | in forum? |
| 05:09 | <[BDS]-Klaus> | or google? |
| 05:09 | <TheJosh> | bot |
| 05:09 | <oxygene_> | just search somewhere ;) i don't know the web page but i'm sure google will come up with something if you search for "openttd autopilot" |
| 05:09 | <TheJosh> | both |
| 05:10 | <[BDS]-Klaus> | ok i find this: http://www.tt-forums.net/viewtopic.php?t=22846&highlight=autopilot&sid=193befabed16fbdc8a2b1689ac7e200a |
| 05:11 | <[BDS]-Klaus> | i think this is ok... i test it... thx |
| 05:11 | <TheJosh> | you found it |
| 05:11 | |-| | lolman [~lolman@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has quit [Read error: Connection reset by peer] |
| 05:11 | <TheJosh> | dang |
| 05:12 | <TheJosh> | peer resetted someone again. he is so nasty |
| 05:12 | <TheJosh> | going around resetting people all the time |
| 05:12 | <TheJosh> | i had better get off before he hacks _me_! |
| 05:14 | |-| | TheJosh [~josh@d58-108-29-2.dsl.vic.optusnet.com.au] has quit [Quit: beware of 'peer', he may get you!] |
| 05:17 | |-| | Purno [~Purno@5357D37C.cable.casema.nl] has joined #openttd |
| 05:19 | <eekee> | oh haha |
| 05:20 | <@peter1138> | :o |
| 05:22 | <[BDS]-Klaus> | can anyone tell how to run server with autopilot? |
| 05:22 | <[BDS]-Klaus> | i have read the maual but i didnt know what they mean |
| 05:23 | <[BDS]-Klaus> | i have run a server... but what must i do now |
| 05:23 | <[BDS]-Klaus> | to run this script |
| 05:23 | <[BDS]-Klaus> | with no sql and irc support |
| 05:24 | <dihedral> | i believe the docs and the readme state the exact commands that need to be executed |
| 05:25 | <[BDS]-Klaus> | this time i start the server with this: openttd -D |
| 05:29 | |-| | MarkSlap [~hestporr@h22n1fls301o1037.telia.com] has quit [Ping timeout: 480 seconds] |
| 05:42 | |-| | lolman [~lolman@cpc3-leds2-0-0-cust55.leed.cable.ntl.com] has joined #openttd |
| 05:52 | |-| | SpComb [terom@zapotek.paivola.fi] has quit [Ping timeout: 480 seconds] |
| 05:53 | |-| | Sacro|Zzz changed nick to Sacro |
| 05:57 | |-| | Ammler [~Ammler@adsl-84-226-50-241.adslplus.ch] has quit [Ping timeout: 480 seconds] |
| 06:02 | |-| | Ammler [~Ammler@adsl-84-226-50-241.adslplus.ch] has joined #openttd |
| 06:04 | |-| | SpComb [terom@zapotek.paivola.fi] has joined #openttd |
| 06:12 | |-| | Peakki [antti@cs181000195.pp.htv.fi] has quit [Remote host closed the connection] |
| 06:15 | |-| | KSiimson [~kristjans@pool-72-71-5-157.plspca.dsl-w.verizon.net] has joined #openttd |
| 06:15 | <KSiimson> | latest nightly crashes |
| 06:15 | <KSiimson> | listopenttd: /compile_farm/openttd/nightly/compile_dir/src/news_gui.cpp:278: void AddNewsItem(StringID, uint32, uint, uint): Assertion `_total_news == 30' failed. |
| 06:15 | <KSiimson> | Aborted |
| 06:17 | <SmatZ> | KSiimson: yes |
| 06:17 | <SmatZ> | nightly is broken |
| 06:17 | <SmatZ> | it is corrected now |
| 06:17 | <KSiimson> | xd i downloaded it 30 minutes ago |
| 06:18 | <SmatZ> | KSiimson: nightly is built once a day, at 23 UTC or so |
| 06:18 | <Rubidium> | which was made 17 hours ago |
| 06:18 | <KSiimson> | okay, time to browse the archive :p |
| 06:23 | <KSiimson> | 235 doesn't even start up |
| 06:24 | <KSiimson> | can't wait for next stable :) |
| 06:25 | <SmatZ> | http://www.openttd.org/screens.php?image=images/screens/r10000/r10000 <- so pretty! |
| 06:26 | <KSiimson> | funny |
| 06:26 | <KSiimson> | old 235 started up |
| 06:27 | |-| | Jerub [~gideon@webserver.suqueensland.org.au] has joined #openttd |
| 06:27 | <Jerub> | .. I just saw the weirdest thing. |
| 06:27 | <Jerub> | I saw a monorail train loop back on itself. |
| 06:28 | <Jerub> | literally pass through itself. |
| 06:28 | <SmatZ> | Jerub: trains cannot crash themselves |
| 06:28 | <dihedral> | with 128 * pow( 2, 32 ) i dont even get a problem |
| 06:28 | <dihedral> | if only i could get rid of these 2.81474976711E+16 thingies |
| 06:28 | <Rubidium> | you can't |
| 06:29 | <Rubidium> | floating point doesn't have that much precision |
| 06:29 | <dihedral> | but should 128 * pow( 2, 48 ) not be something with a bunch of trailing zeros? |
| 06:29 | <Rubidium> | as I said, floating points don't have that kind of precision |
| 06:30 | <Rubidium> | it'll just give you the floating point "value" closest to the given value |
| 06:30 | <Rubidium> | and 2^whatever never gives you lots of trailing zeros |
| 06:30 | <dihedral> | ops... true :-P |
| 06:30 | <SmatZ> | double has 52 bits for mantisa, float has 23 bits |
| 06:31 | <SmatZ> | long double has ... 63? |
| 06:31 | <Sacro> | How does OpenTTD use different fonts under Windows? Does it use Freetype? |
| 06:31 | <@peter1138> | yes |
| 06:33 | <dihedral> | 75 * pow( 2, 48 ) = 21110623253299200 ?? |
| 06:34 | <Sacro> | peter1138: i don't see it |
| 06:34 | <eekee> | dihedral: Python agrees *shrug* |
| 06:35 | <SmatZ> | dihedral: yes |
| 06:36 | |-| | robotboy [~Leo@c211-30-68-114.carlnfd4.nsw.optusnet.com.au] has joined #openttd |
| 06:43 | <dihedral> | i have got to be doing something wrong... |
| 06:43 | <dihedral> | i mean - i get half way decent values using bcmath now |
| 06:43 | <dihedral> | thouth if you check http://joshua.dihedral.de/openttdlib/ext.example/example.php |
| 06:44 | |-| | roboboy [~Leo@c211-30-68-114.carlnfd4.nsw.optusnet.com.au] has quit [Ping timeout: 480 seconds] |
| 06:44 | <dihedral> | the last server (appologies for querying a server that aint mine) |
| 06:44 | <dihedral> | 2 income values seem strange |
| 06:44 | <Rubidium> | they have a negative income |
| 06:44 | <dihedral> | hence the 255 for << 24 and bejond? |
| 06:45 | <[BDS]-Klaus> | can anyone tell me how to build trains on a road... as a tram |
| 06:45 | <dihedral> | you need a grf :-) |
| 06:45 | <Rubidium> | [BDS][BDS]-Klaus: what version of OpenTTD? |
| 06:46 | <dihedral> | would i be wrong to assume that if the value to be moved << 24 is 255 |
| 06:47 | <dihedral> | i treat them all as 0 and do a *-1? |
| 06:47 | |-| | skidd13 [~skidd13@p548A4518.dip.t-dialin.net] has joined #openttd |
| 06:47 | <eekee> | ehhh... generally if the MSB is 1, it's negative |
| 06:48 | <dihedral> | MSB? |
| 06:48 | <eekee> | most significant bit |
| 06:48 | <[BDS]-Klaus> | 0.52 |
| 06:48 | <dihedral> | which one is that |
| 06:48 | <dihedral> | [BDS][BDS]-Klaus: there aint no trams for 0.5.2 |
| 06:48 | <Rubidium> | [BDS][BDS]-Klaus: then there is no way to get trams |
| 06:49 | <[BDS]-Klaus> | damn |
| 06:49 | <[BDS]-Klaus> | ok... thx |
| 06:49 | <[BDS]-Klaus> | version to new? |
| 06:49 | <eekee> | oh hey, I think that means that if the value to be moved << 24 is > 127, then it's negative |
| 06:49 | <dihedral> | [BDS][BDS]-Klaus: get a nightly |
| 06:49 | <[BDS]-Klaus> | need older? |
| 06:49 | <[BDS]-Klaus> | what must i do to use tram? |
| 06:50 | <dihedral> | eekee: for 64 bit integers? |
| 06:50 | <[BDS]-Klaus> | what you mean with nightly... i have now installed original 0.52 of the website |
| 06:50 | <eekee> | ugh, no, wait |
| 06:50 | <dihedral> | the MSB is 128 << 24 |
| 06:50 | <dihedral> | :-) thought that sounded odd :-P |
| 06:50 | [~] | eekee gets pencil & paper :d |
| 06:50 | <SmatZ> | dihedral: you use 64 bit values? |
| 06:50 | <Rubidium> | [BDS][BDS]-Klaus: 0.5.2 is the newest stable version, "nightlies" are development snapshots that lead to 0.6.0. 0.5.3 will not have any new features, only bugfixes (so no trams in 0.5.3 either) |
| 06:50 | <dihedral> | i am trying to at least |
| 06:50 | <dihedral> | currently using the bc math extention to php |
| 06:51 | <dihedral> | and that is looking quite promissing |
| 06:51 | <Rubidium> | SmatZ: php doesn't have "native" 64 bits variables |
| 06:51 | <Rubidium> | so he has to do all the trickery himself |
| 06:51 | <dihedral> | bc math works with strings :-D |
| 06:51 | <SmatZ> | dihedral Rubidium too bad I don't know PHP :( |
| 06:51 | <dihedral> | lol |
| 06:51 | <dihedral> | you got me all suspended there :-P |
| 06:51 | <dihedral> | getting my hops high |
| 06:52 | [~] | dihedral is dissapointed in SmatZ |
| 06:52 | <SmatZ> | :-( |
| 06:52 | <dihedral> | do something |
| 06:52 | <dihedral> | quickly |
| 06:52 | <dihedral> | fix it :-D |
| 06:52 | <SmatZ> | lol |
| 06:53 | <SmatZ> | if the highed doubleword is negative |
| 06:53 | <SmatZ> | then the whole number is negative |
| 06:53 | <SmatZ> | if it helps you |
| 06:53 | |-| | roboboy [~Leo@c211-30-68-114.carlnfd4.nsw.optusnet.com.au] has joined #openttd |
| 06:53 | <dihedral> | and what is the highed doubleword? |
| 06:53 | <eekee> | that's it. Same goes for highest byte |
| 06:53 | <SmatZ> | the more significant 32 bits |
| 06:53 | <SmatZ> | yes |
| 06:53 | <Rubidium> | ohoh, we're going to make dihedral crazy with bytes, words, dwords, qwords and nibbles ;) |
| 06:54 | <dihedral> | as long as it fixes it i dont care :-) |
| 06:54 | <SmatZ> | :) |
| 06:54 | [~] | eekee throws some quarks into the mix & stirs |
| 06:54 | <eekee> | :) |
| 06:54 | <SmatZ> | :-D |
| 06:54 | |-| | roboman [~Leo@c211-30-68-114.carlnfd4.nsw.optusnet.com.au] has joined #openttd |
| 06:54 | [~] | dihedral adds some strawberries |
| 06:55 | <Rubidium> | dihedral: if "value" > pow(2, 63) "value" -= pow(2, 64) should solve it |
| 06:55 | [~] | eekee sprinkles Zamphour... |
| 06:55 | <dihedral> | is there a * somewhere |
| 06:55 | <eekee> | shouldn't be |
| 06:55 | <SmatZ> | * .. lue" >= pow(2, .. |
| 06:58 | <dihedral> | Rubidium: you are a genious :-D |
| 06:58 | |-| | robotboy [~Leo@c211-30-68-114.carlnfd4.nsw.optusnet.com.au] has quit [Ping timeout: 480 seconds] |
| 06:59 | <dihedral> | now i only need to test it against a server where someone has a few billion money or value |
| 06:59 | <dihedral> | anybody know one? |
| 07:00 | <dihedral> | i am at work, and cannot really open a game to check myself :-D |
| 07:00 | <eekee> | I could run one, load up & old single-player game of mine |
| 07:00 | <Rubidium> | maybe one of the ottdcoop games? |
| 07:00 | <dihedral> | good idea |
| 07:02 | |-| | roboboy [~Leo@c211-30-68-114.carlnfd4.nsw.optusnet.com.au] has quit [Ping timeout: 480 seconds] |
| 07:02 | <eekee> | ok mine shuld be up: eekee's tester |
| 07:02 | <dihedral> | sugar :-) |
| 07:03 | <eekee> | whut? |
| 07:03 | <eekee> | $10920146574 btw, £5460073287 |
| 07:04 | <dihedral> | yeah - not doing any multiplication yet |
| 07:04 | <dihedral> | the euro is misleading i know |
| 07:04 | <eekee> | righty |
| 07:04 | <dihedral> | i took that out (multiplying) to see the retrieved values |
| 07:04 | <SmatZ> | dihedral: maybe you could add the alt attribute to img tags |
| 07:04 | <SmatZ> | i dont know what do those icons mean |
| 07:04 | <dihedral> | which ones? |
| 07:05 | <dihedral> | same icons as on openttd.org/servers.php |
| 07:05 | <SmatZ> | the left from the flag |
| 07:05 | <SmatZ> | maybe because it is a dedicated server |
| 07:05 | <dihedral> | dedicated and nondedicated |
| 07:05 | <SmatZ> | just a suggestion :) I started moving my mouse over those images and waited for some text |
| 07:05 | <dihedral> | the dark background aint all that helpful |
| 07:06 | <dihedral> | that is a title tag |
| 07:06 | <dihedral> | alt is only displayed if the image cannot be retrieved |
| 07:06 | <dihedral> | thank you very much eekee Rubidium and SmatZ |
| 07:06 | <eekee> | Welkies :) |
| 07:07 | <dihedral> | what a pain... :-) but i think i shall document it for others |
| 07:07 | <dihedral> | others = other php users who run into trouble with 64 bit integers |
| 07:07 | <eekee> | ^^ |
| 07:08 | <SmatZ> | dihedral: yes, you are right :) |
| 07:08 | <SmatZ> | happy to help |
| 07:09 | <@DorpsGek> | TrueBrain: Commit by truelight :: r10264 /trunk (3 files in 2 dirs) (2007-06-22 09:44:21 UTC) |
| 07:09 | <@DorpsGek> | TrueBrain: -Fix: forgot to add texteff.hpp to the project files |
| 07:09 | <@DorpsGek> | TrueBrain: Commit by truelight :: r10265 /trunk/src (4 files) (2007-06-22 10:57:53 UTC) |
| 07:09 | <@DorpsGek> | TrueBrain: -Feature: allow double-clicking on certain places: build-vehicle and town-action |
| 07:09 | <@DorpsGek> | TrueBrain: Commit by rubidium :: r10266 /trunk (31 files in 4 dirs) (2007-06-22 11:58:59 UTC) |
| 07:09 | <@DorpsGek> | TrueBrain: -Codechange: keep track of the origin, time of travel and accumulated feeder share (transfers) of individual pieces of cargo. This means that cargo isn't thrown on a big pile when it's put in a station or unloaded at a station, however the GUI does not reflect these changes yet so you will not actually see it. |
| 07:10 | <Sacro> | cargo packets? |
| 07:12 | |-| | Thomas[NL] [~thomas@vdburgt.xs4all.nl] has joined #openttd |
| 07:14 | <eekee> | Yay we getting cargo packets? |
| 07:15 | <eekee> | Sacro: currently, when you have a transfer station with multiple feeders, the cargo gets mixed up. I think it all seems to come from wherever the last train came from |
| 07:15 | <Sacro> | eekee: yes, it gets set to the destination station |
| 07:15 | <Sacro> | so if cargo from a, b and c gets dropped at d |
| 07:15 | <eekee> | mmhmm |
| 07:15 | <Sacro> | when the train to e comes, it all looks like it started at d |
| 07:16 | <Rubidium> | and now it still looks (gui-wise) similarly, but the game backend handles it properly |
| 07:16 | <eekee> | ah good good ^^ |
| 07:18 | |-| | Progman [~progman@p57A1E051.dip.t-dialin.net] has joined #openttd |
| 07:20 | <Phazorx> | has a bug for screewed up end of game picute been submitted already? |
| 07:21 | <Rubidium> | afaik it's already fixed |
| 07:22 | <SmatZ> | Phazorx: http://bugs.openttd.org/task/867 |
| 07:22 | |-| | robotboy [~Leo@c211-30-68-114.carlnfd4.nsw.optusnet.com.au] has joined #openttd |
| 07:22 | <SmatZ> | ooops |
| 07:23 | <Phazorx> | wrong one? |
| 07:23 | <Phazorx> | Rubidium: just checking, have not seen that ebfore |
| 07:24 | <SmatZ> | Phazorx: yes ... it was a different bug report, this one http://bugs.openttd.org/task/896 |
| 07:26 | <Phazorx> | kk |
| 07:26 | [~] | Phazorx wonders if anyone aside of peter looked at http://bugs.openttd.org/task/910 |
| 07:27 | <SmatZ> | I looked at it, it is an interesting bug |
| 07:28 | |-| | Vikthor [~Vikthor@snat1.spoje.net] has quit [Quit: Leaving.] |
| 07:29 | <Rubidium> | SmatZ: 119 is also interesting ;) |
| 07:30 | |-| | roboman [~Leo@c211-30-68-114.carlnfd4.nsw.optusnet.com.au] has quit [Ping timeout: 480 seconds] |
| 07:30 | <SmatZ> | Rubidium: yes, it is a really interesting bug :) I found problems with trains under bridges in trunk, too |
| 07:31 | |-| | ThePizzaKing [~jeff@c211-28-166-77.eburwd2.vic.optusnet.com.au] has quit [Quit: ThePizzaKing] |
| 07:31 | <Rubidium> | SmatZ: yes, but those are different (though maybe related) |
| 07:31 | |-| | [BDS]-Klaus [~Miranda@p54AB2DAE.dip0.t-ipconnect.de] has quit [Ping timeout: 480 seconds] |
| 07:31 | <Rubidium> | in your patch any train going under a bridge shows through, whereas in trunk only strange things seem to happen when a train goes over the bridge at the same time (IIRC) |
| 07:33 | <SmatZ> | Rubidium: there many problems with heights - one level has height 8, tunnels have height 12, electrified railways have also some strange height, maybe even trains are higher than 8 |
| 07:33 | <Rubidium> | SmatZ: yes, it's one big mess :( |
| 07:38 | <SmatZ> | Rubidium: http://88.146.45.107/ttd/lost_island - with trunk, this savegame is from one other bugreport - tiles 51x167, 48x173 and surrounding - unpause the game and watch, or move the Query tool around these tiles |
| 07:38 | <SmatZ> | it does many glitches |
| 07:38 | <SmatZ> | problem is how should all of it be rendered fast and correctly :) |
| 07:39 | <SmatZ> | the track fence is drawn over the bridge's entrance, bridges have glitches |
| 07:40 | |-| | KSiimson [~kristjans@pool-72-71-5-157.plspca.dsl-w.verizon.net] has quit [Remote host closed the connection] |
| 07:42 | |-| | glx [glx@bny93-6-82-245-156-124.fbx.proxad.net] has joined #openttd |
| 07:42 | |-| | mode/#openttd [+v glx] by ChanServ |
| 07:48 | |-| | robotboy [~Leo@c211-30-68-114.carlnfd4.nsw.optusnet.com.au] has quit [Quit: Brooklyn's got a URL Rodger Bacon USB Firewire SVG Ebooks Wazniack Flowerpower iMac Phaser laser inkjet what you see aint what you get] |
| 07:53 | |-| | mic [~chatzilla@213.141.137.47] has joined #openttd |
| 07:53 | <Jerub> | yay |
| 07:53 | <Jerub> | just made my first billion |
| 07:54 | <SmatZ> | Rubidium: catenary is drawn even when it is disabled - if (_patches.disable_elrails) return; should move from line 406 to 398 in elrail.cpp |
| 07:54 | <SmatZ> | Jerub: ctlr+alt+c ? :) |
| 07:55 | <SmatZ> | Rubidium: * catenary at bridges ... but even after removing catenary, the glitches in the save remain :( buhehehehe :( |
| 07:58 | <Jerub> | SmatZ: screenshot? |
| 07:59 | |-| | skidd13 [~skidd13@p548A4518.dip.t-dialin.net] has left #openttd [] |
| 07:59 | [~] | dihedral is sooo happy |
| 08:00 | <eekee> | ^^' |
| 08:01 | <SmatZ> | Jerub: it is really easily reproductible, see http://88.146.45.107/ttd/shot |
| 08:03 | <dihedral> | if only work was as interesting as ottd :-D |
| 08:04 | <SmatZ> | :) |
| 08:07 | <Rubidium> | SmatZ: the "problem" are the "magic" bridges themselves |
| 08:15 | <Sionide> | hrm i still can't compile from svn |
| 08:17 | <SmatZ> | Rubidium: in openttd, is is some magic all over there :) |
| 08:17 | <Smoovious> | Sionide... what isn't working? |
| 08:17 | <Sionide> | Smoovious, just trying again to get some errors |
| 08:19 | <Sionide> | Smoovious, see: http://pastebin.ca/583600 |
| 08:19 | <Sionide> | all is fine, till clear_cmd.cpp |
| 08:19 | |-| | Caemyr [Caemyr@82-43-152-123.cable.ubr03.newm.blueyonder.co.uk] has quit [Read error: Connection reset by peer] |
| 08:20 | <+glx> | conflict |
| 08:20 | <+glx> | search the lines with <<<<< >>>>> or ===== |
| 08:22 | |-| | Caemyr [Caemyr@82.43.152.123] has joined #openttd |
| 08:23 | <Smoovious> | ya... unresolved conflict perhaps? ... if so, svn couldn't decide how it should be merged so gotta do it manuallly |
| 08:23 | <Smoovious> | afk5min |
| 08:23 | |-| | Phazorx [PACO@CPE0011d8690c25-CM001225db7ae8.cpe.net.cable.rogers.com] has quit [Quit: Leaving] |
| 08:24 | <Sionide> | oh :s |
| 08:28 | <Sionide> | what if i just deleted my /svn/ directory and downloaded the source again, would it work then? |
| 08:29 | <@peter1138> | easier to just revert |
| 08:30 | <Sionide> | i wanna have a try with timetables and stuff |
| 08:32 | <SmatZ> | peter1138: please, how do I revert using svn? I have tried a lot of things and I feel really dumb now :) |
| 08:33 | <@peter1138> | svn revert... |
| 08:33 | <@peter1138> | svn revert -R . |
| 08:34 | <@peter1138> | to recursively revert everything |
| 08:35 | <Sionide> | svn: Not enough arguments provided; try 'svn help' for more info |
| 08:36 | |-| | orudge` [~orudge@91.84.56.243] has joined #openttd |
| 08:36 | <SmatZ> | peter1138: I feel even more dumb now, thanks :D I can't understand how could I miss that |
| 08:36 | <Maedhros> | Sionide: you need the full stop at the end |
| 08:36 | <SmatZ> | I was reverting at openttd directory, not in trunk directory... |
| 08:36 | <SmatZ> | so I got 'svn' directory skipped, oh... |
| 08:36 | |-| | orudge [~orudge@91.84.56.243] has quit [Ping timeout: 480 seconds] |
| 08:42 | <SmatZ> | sometimes the TAB key doesn't work ( I am using linux ) - is it problem in my system or in openttd? |
| 08:44 | <TrueBrain> | what do you think it should do? |
| 08:44 | <SmatZ> | it makes the game run faster |
| 08:44 | <Maedhros> | in debug mode that's shift instead |
| 08:44 | <SmatZ> | ahhhh thanks |
| 08:45 | <Maedhros> | (which is pretty annoying when typing, or trying to estimate the costs of things...) |
| 08:45 | <TrueBrain> | I totally agree with Maedhros |
| 08:45 | <+glx> | because alt-tab to switch to debugger ? |
| 08:45 | <TrueBrain> | that always has been the main argument |
| 08:45 | <TrueBrain> | which I still think sucks :p But oh well :) |
| 08:45 | <TrueBrain> | you get used to it :p |
| 08:46 | <SmatZ> | well, Alt+Tab doesn't work for me anyway when if fullscreen mode... |
| 08:46 | <eekee> | are the keybindings configurable anywhere? |
| 08:46 | <+glx> | in source code yes |
| 08:46 | <SmatZ> | :D |
| 08:46 | <eekee> | heh |
| 08:47 | <eekee> | wonder if they can be read in from a file |
| 08:47 | [~] | Sionide tries alt-tab |
| 08:48 | [~] | eekee may look at it later |
| 08:54 | <Sionide> | ohh |
| 08:54 | <Sionide> | timetabling |
| 08:54 | <Sionide> | :) |
| 09:07 | |-| | Phazorx [PACO@CPE0011d8690c25-CM001225db7ae8.cpe.net.cable.rogers.com] has joined #openttd |
| 09:09 | <mic> | patch build_under_slopes against trunk is available :) |
| 09:09 | <mic> | http://www.tt-forums.net/viewtopic.php?t=32622 |
| 09:09 | <mic> | will appreciate a lot if somebody will try to play with it :) |
| 09:13 | <Kjetil> | cool |
| 09:14 | <SmatZ> | mic it is a nice patch, but there is a graphical glitch when you lower the land under some factory |
| 09:14 | <mic> | i fix them :) |
| 09:14 | <mic> | *fixed them |
| 09:14 | <SmatZ> | ok :) |
| 09:14 | |-| | nairan [~Maui_key@p5498F8F1.dip.t-dialin.net] has joined #openttd |
| 09:18 | <SmatZ> | mic : got segfault, I don't know if it is because of your patch |
| 09:18 | <mic> | what you did? |
| 09:19 | <SmatZ> | I tried to lower some land |
| 09:19 | <SmatZ> | i will run with debugging enabled |
| 09:19 | <mic> | yes try debug_level map=5 |
| 09:19 | <mic> | i need a way to reproduce bug :) |
| 09:22 | <SmatZ> | 0x00000000004d308d in GetSlopeTileh_Track (tile=22422, tileh=SLOPE_SE) at /mnt/svn/openttd/trunk/src/rail_cmd.cpp:1787 |
| 09:22 | <SmatZ> | /mnt/svn/openttd/trunk/src/rail_cmd.cpp:1787:55644:beg:0x4d308d |
| 09:23 | <SmatZ> | I will send more info |
| 09:23 | <mic> | it is backtrace? |
| 09:23 | <mic> | it is better screen with what you tried to lower |
| 09:27 | <@peter1138> | - if (valid & rail_bits) return _price.terraform; |
| 09:27 | <@peter1138> | + if ( valid & rail_bits) |
| 09:27 | <@peter1138> | + return _price.terraform; |
| 09:27 | <@peter1138> | :o |
| 09:27 | <@peter1138> | - default: NOT_REACHED(); |
| 09:27 | <@peter1138> | + default: return -1; |
| 09:27 | <@peter1138> | also not good |
| 09:29 | <@peter1138> | ok, strange defines all over the place... |
| 09:30 | <mic> | it run into NOT_REACHED(); sometimes and got crash |
| 09:30 | <@peter1138> | yes |
| 09:30 | <mic> | or may not run, at least it runned before |
| 09:31 | <@peter1138> | it's like that for a reason |
| 09:31 | <+glx> | it shouldn't go into NOT_REACHED() |
| 09:31 | <+glx> | else your code is buggy |
| 09:31 | <mic> | a lot of functions crash on incorrect input |
| 09:31 | <@peter1138> | ok, all the defines have got to go |
| 09:32 | <mic> | i feed incorrect inputm i should get error, not crash |
| 09:32 | <@peter1138> | GIGO: don't give them incorrect input |
| 09:32 | <@peter1138> | big problem: DC_EXEC isn't checked |
| 09:32 | <mic> | where? |
| 09:32 | <@peter1138> | in your code |
| 09:33 | <@peter1138> | you do the tile changes even if it's just estimating the cost |
| 09:33 | <mic> | but it does not do anything actually |
| 09:33 | <mic> | it returns all back |
| 09:33 | <SmatZ> | mic http://88.146.45.107/ttd/slope |
| 09:33 | <SmatZ> | what I tried - the white dot |
| 09:34 | <@peter1138> | where? heh |
| 09:34 | <mic> | it does not change any height actually - it return all back |
| 09:34 | <@peter1138> | oh, there |
| 09:35 | <Thomas[NL]> | there is something wrong with the stations rating in the latest nightly; every cargo gets rated |
| 09:36 | <mic> | peter1138: is it ok? |
| 09:36 | |-| | Vikthor [~Vikthor@snat1.spoje.net] has joined #openttd |
| 09:36 | <mic> | about NOT_REACHED(): i think i can return it back and test, because (as i hope) i dont have incorrect input anymore |
| 09:36 | <Thomas[NL]> | every cargo's rating is 69% except the one you're actually using |
| 09:37 | <mic> | SmatZ: excuse me, but where is white dot? :) |
| 09:37 | <@peter1138> | i see lots of SetTIleHeight()... so clearly it does change heights |
| 09:38 | <SmatZ> | mic :) the little white dot next to the just lowered piece of land at the end of the tubular bridge with train |
| 09:39 | <mic> | it sets heights from cache, measure several values, then set it back --- the function does nothing itself except returning 0/1, cost and error_message |
| 09:39 | <SmatZ> | you may download the savegame and try to lewer whole screen, it will hang |
| 09:40 | <@peter1138> | huh? |
| 09:41 | <@peter1138> | if it doesn't set any heights, how does it ever do anything? |
| 09:42 | <mic> | eh :) i meant it sets, and then sets it back :) |
| 09:44 | |-| | setrodox_ [setrodox@83-65-238-82.dynamic.xdsl-line.inode.at] has joined #openttd |
| 09:46 | <mic> | SmatZ: you lower before it only tile to left? |
| 09:46 | |-| | setrodox [setrodox@85-124-41-105.dynamic.xdsl-line.inode.at] has quit [Ping timeout: 480 seconds] |
| 09:47 | |-| | Nigel_ [~nigel@202.154.148.243] has joined #openttd |
| 09:48 | <SmatZ> | mic the other side of the entracne, x-1 |
| 09:49 | <@peter1138> | mic: ok, i see now |
| 09:49 | <mic> | :) |
| 09:49 | <@peter1138> | i still think that is bad, though |
| 09:49 | <@peter1138> | no way to determine it without changing the map? |
| 09:49 | |-| | Nigel [~nigel@202.154.148.243] has quit [Ping timeout: 480 seconds] |
| 09:50 | <mic> | all functions i use see requires real cell (TileIndex) |
| 09:50 | <mic> | use see->use |
| 09:51 | |-| | scia [~scia@85.149.96.102] has joined #openttd |
| 09:51 | |-| | DJ_Mirage [~sexybigge@biggetje.xs4all.nl] has joined #openttd |
| 09:51 | <mic> | SmatZ: x-1 from what cell? |
| 09:51 | <SmatZ> | from the lowered cell at the end of the bridge |
| 09:52 | <mic> | it is NW right? |
| 09:52 | <mic> | right->, right |
| 09:53 | |-| | Bjarni [~Bjarni@0x50c79adc.virnxx14.adsl-dhcp.tele.dk] has joined #openttd |
| 09:53 | |-| | mode/#openttd [+o Bjarni] by ChanServ |
| 09:53 | <mic> | still dont understand what you lowered :) you lower 2 cells? |
| 09:54 | <SmatZ> | http://88.146.45.107/ttd/slope/Lost%20Island%20Transport,%202nd%20Mar%201981-2.png |
| 09:54 | <SmatZ> | the big white dot |
| 09:55 | <mic> | sorry, but lowering white dot, you lowered *only* cell at x-1? |
| 09:56 | <mic> | *before lowering white dot |
| 09:56 | <SmatZ> | when I try to lower the white dot |
| 09:56 | <SmatZ> | the game crashes |
| 09:56 | <mic> | ok thanks for explanation :) |
| 09:56 | <SmatZ> | :-D |
| 09:56 | <SmatZ> | it was funny :) |
| 09:57 | <mic> | :) |
| 09:57 | <Sacro> | how does OpenTTD do color remapping? |
| 09:58 | <mic> | it says "would result in incorrect track", it means i need find bugs in GetSlopeFoundation |
| 10:01 | <@peter1138> | Sacro: it remaps colours |
| 10:01 | <Sacro> | peter1138: yes... |
| 10:02 | <mic> | peter1138: i think it will not produce errors, except if openttd is multitheaded there several threads will do something with the map |
| 10:02 | <Sacro> | but how? |
| 10:02 | <@peter1138> | it has a load of tables that state what colour index should be mapped to what colour |
| 10:08 | |-| | Brianetta [~brian@82-39-52-234.cable.ubr03.benw.blueyonder.co.uk] has joined #openttd |
| 10:13 | <Brianetta> | Maedhros: You live about £5 away from me on the train. |
| 10:13 | <@peter1138> | Are you some kind of... stalker!? |
| 10:14 | <Brianetta> | No, just local |
| 10:14 | <Brianetta> | I wonder if he's coming to the meet |
| 10:14 | <Brianetta> | We could have such a party on the train |
| 10:14 | <Brianetta> | Me, Helen, Sacro |
| 10:15 | <Brianetta> | and Maedhros makes four |
| 10:15 | <Sacro> | em? |
| 10:15 | <Sacro> | *eh> |
| 10:15 | <Sacro> | lolman: you should get an earlier train |
| 10:16 | <Brianetta> | Helen and I will be staying overnight in Birmingham |
| 10:16 | <Brianetta> | It's all sorted |
| 10:16 | <Brianetta> | Train tickets, hotel reservation, the works |
| 10:16 | <Sacro> | I have my train tickets sorted |
| 10:17 | <Brianetta> | You'll need a packed lunch |
| 10:17 | <Brianetta> | It's that or go hungry, because the train's shop isn't cheap |
| 10:18 | <@peter1138> | Why, are you staying in the train all day? |
| 10:18 | <Brianetta> | Only until noon |
| 10:18 | <Brianetta> | Have you even tried getting to noon without snacking? |
| 10:18 | <Brianetta> | That's what a packed lunch is for: Eati |