Back to Home / #openttd / 2007 / 08 / Prev Day | Next Day
#openttd IRC Logs for 2007-08-03

---Logopened Fri Aug 03 00:00:19 2007
00:11|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Read error: Connection reset by peer]
00:14|-|lolman [] has quit [Ping timeout: 480 seconds]
00:16|-|Zr40 [] has joined #openttd
00:21|-|Ammller [] has quit [Ping timeout: 480 seconds]
00:23|-|Code601 [] has joined #openttd
00:40|-|Code601 [] has quit [Ping timeout: 480 seconds]
00:47|-|Deathmaker [] has quit [Ping timeout: 480 seconds]
01:24|-|Gekkko` [] has joined #openttd
01:26|-|Gekkko` changed nick to Gekko
01:35|-|Maedhros [] has joined #openttd
02:04|-|TinoM [] has joined #openttd
02:19<dihedral>mornin ladies ^^
02:30<Gekko>hey thar
02:31<hylje>morning o lady
02:35|-|ThePizzaKing [~jeff@] has joined #openttd
02:39|-|HMage [] has joined #openttd
03:12|-|Deathmaker [] has joined #openttd
03:23|-|Maedhros_ [] has joined #openttd
03:23|-|Vikthor [~Vikthor@] has joined #openttd
03:30|-|Maedhros [] has quit [Ping timeout: 480 seconds]
03:32|-|elmex [] has joined #openttd
03:34|-|tokai [] has quit [Ping timeout: 480 seconds]
03:36|-|tokai [] has joined #openttd
03:36|-|mode/#openttd [+v tokai] by ChanServ
03:44|-|helb [~helb@] has quit [Ping timeout: 480 seconds]
03:45|-|helb [~helb@] has joined #openttd
03:51|-|kaan [~klaus@] has joined #openttd
03:51<kaan>hi all :)
04:09<CIA-1>OpenTTD: peter1138 * r10762 /trunk/src/ (5 files in 2 dirs):
04:09<CIA-1>OpenTTD: -Codechange: Change enum StringIDEnum { to static const StringID = for
04:09<CIA-1>OpenTTD: each STR_ entry. This avoids the need for a cast to StringID in some
04:09<CIA-1>OpenTTD: places and thus better type-safety.
04:17|-|SmatZ [] has joined #openttd
04:18|-|ThePizzaKing [~jeff@] has quit [Quit: ThePizzaKing]
04:22|-|Thomas[NL] [] has joined #openttd
04:22|-|TinoM| [] has joined #openttd
04:23|-|iPandaMojo [] has joined #openttd
04:30|-|Ammler [] has joined #openttd
04:30|-|TinoM [] has quit [Ping timeout: 480 seconds]
04:34|-|elmex [] has quit [Remote host closed the connection]
04:45|-|Nickman [] has joined #openttd
04:47|-|Progman [] has joined #openttd
04:47<Noldo>Is there something happening?
04:50<blathijs>A lot of things, probably
04:50<blathijs>Care to make your query a bit more specific? :-p
04:50|-|HMage [] has quit [Ping timeout: 480 seconds]
04:51<SmatZ>hello, about the;a=commitdiff;h=f3ef132edd72b0f74cb2e58c721890fa3c57fdbf;hp=80e74b2dbc7e500b936ed147f9f1e9e14738974f
04:51<Noldo>I just feel like getting excited by some new hip feature or something
04:52<Gekko>me too
04:53<Gekko>like porno trains
04:53<Gekko>with the newindustries newgrf
04:53<Gekko>hooker cabs
04:54<blathijs>SmatZ: what about it?
04:54<SmatZ>wouldn't changing it to '(const) OldMemoryPoolNewBlock const *new_block_proc' do the job? eg. const pointer to (const) proc
04:55<Rubidium>SmatZ: it isn't really important, but does that mean you can't change the pointer once it's written to?
04:56<SmatZ>Rubidium: I suppose so - constant pointer is different than pointer to const
04:56<SmatZ>Yes it is not important :)
04:56<SmatZ>bye, I have a lunch
05:12|-|XeryusTC [] has joined #openttd
05:14|-|Maedhros_ changed nick to Maedhros
05:25|-|Wezz6400 [] has joined #openttd
05:26|-|skidd13 [] has joined #openttd
05:30|-|helb [~helb@] has quit [Remote host closed the connection]
05:31|-|helb [~helb@] has joined #openttd
05:44|-|Alltaken [] has joined #openttd
05:53|-|SmatZ [] has quit [Remote host closed the connection]
05:54|-|SmatZ [] has joined #openttd
05:58|-|kaan [~klaus@] has quit [Quit: Leaving.]
06:02|-|smoovi [] has joined #openttd
06:30|-|skidd13 [] has left #openttd []
06:36<Nickman>Can you execute .sh scripts on windows in cygwin or so?
06:39|-|Brianetta [] has joined #openttd
06:40|-|helb [~helb@] has quit [Read error: Connection reset by peer]
06:40<Brianetta>Anybody know an easy way to calculate a base 2 logarithm? Basically, an inverse of two-to-the-power?
06:40<Brianetta>By easy, I mean possible to do on a handheld calculator (:
06:50<ln->does it have logarithms?
06:50<Rubidium>Brianetta: integral or float result?
06:50<ln->if yes, wouldn't that be something like log[2] x = log[10] x / log[10] 2
06:50<Brianetta>ln-: Thanks - you were just beaten by a guy on #linux
06:50|-|KritiK [] has joined #openttd
06:50|-|helb [~helb@] has joined #openttd
06:50<Brianetta>Rubidium: Integral. It's for working out CIDR notation netmasks
06:50<Brianetta>Who'd have thought the log buttons on a calculator were still relevant? (-:
06:56|-|roboman [] has joined #openttd
06:58|-|glx [] has joined #openttd
06:58|-|mode/#openttd [+v glx] by ChanServ
07:05<valhallasw>Brianetta: log is irrelevant. ln isn't ;)
07:06<valhallasw>and what's worse
07:07<valhallasw>for mathematicians, log==ln
07:07<valhallasw>i.e. ^e log
07:08<Eddi|zuHause3>actually, "log" is whatever you view the most relevant
07:08<Eddi|zuHause3>what you mean is "lg"
07:10<CIA-1>OpenTTD: rubidium * r10763 /trunk/src/direction.h: -Documentation [FS#1098]: document direction.h. Patch by Progman.
07:11<Brianetta>I always use the ln button anyway
07:11<Brianetta>it takes less space ont he claculator's screen
07:11<Brianetta>ln (4) is shorter than log (4)
07:11<Brianetta>which lets me see more terms on the 12 cell display
07:12<Nickman>would like to use a square root in my Squirrel AI, do I have to write an algorithm in Squirrel or can just add the function somwhere so it gets registerd tot he squirrel engine?
07:12<Brianetta>What's squirrel? I only know the webmail product
07:13<Eddi|zuHause3>squirrel is the language of choice for the NoAI branch
07:14<Eddi|zuHause3>Nickman: why use a sqrt?
07:14<Brianetta>An iterative sqrt function is slow; wouldn't the presence of a lookup-based library function be better off?
07:14<Eddi|zuHause3>integer-sqrt is probably not the greatest idea
07:15<Eddi|zuHause3>instead of testing x==sqrt(a) i would check x^2==a
07:15<Nickman>I would like to use a sqrt to make some estimate of the town area
07:15<Brianetta>How is that necessary?
07:16<Brianetta>Just wondering how you're performing the estimate
07:16<CIA-1>OpenTTD: rubidium * r10764 /trunk/src/road.h: -Documentation: [FS#1099]: of road.h. Based on a patch by Progman.
07:17<Nickman>I use the town population and then some operations to try and make an estimate of the size :)
07:17<valhallasw>Eddi|zuHause3: lg is ^2 log, generally
07:17<valhallasw>but that may be country or even university-dependent ;)
07:17<Eddi|zuHause3>valhallasw: no, that is "ld"
07:18<valhallasw>"lg, an abbreviation of logarithm of the base 2 in informatics (an alternative to ld)", but also "lg, an abbreviation of logarithm of the base 10 in Russia and other European countries", according to en.wikipedia
07:19<Eddi|zuHause3>yes, germany is probably "other european country" :p
07:19<valhallasw>yeah, well, the netherlands seems not to be european then :D
07:19<valhallasw>or at least Leiden :)
07:22<Nickman>cygwin can't execute the "" script for NoAI Branch...
07:23<Eddi|zuHause3>de.wikipedia says "ld" or "lb" for log_2
07:23<Rubidium>Nickman: sh
07:23<Nickman>I'll try
07:23<Eddi|zuHause3>and "lg" for log_10
07:24<Nickman> line 2: $'\r': command not found
07:24<Nickman> line 4: $'\r': command not found
07:24<Nickman> line 6: syntax error near unexpected token `$'do\r''
07:24<Nickman>' line 6: ` for f in `ls *.hpp `; do
07:24<+glx>cygwin doesn't understand crlf
07:24<+glx>ie windows files
07:25<Eddi|zuHause3>what a stupid program...
07:26<Nickman>so I can't execute it on windows? :p
07:26|-|roboman [] has quit [Ping timeout: 480 seconds]
07:26<Eddi|zuHause3>you can, but you have to convert the file to linux format
07:26|-|Ammller [] has joined #openttd
07:27<Nickman>and how do I do that? :p
07:27|-|Gekko [] has quit [Quit: - Now less gay.]
07:27<Nickman>works now ;)
07:27|-|lolman [] has joined #openttd
07:27<Nickman>you guys rock you know ;) :D
07:28|-|ThePizzaKing [~jeff@] has joined #openttd
07:28<alex__>i try
07:30<CIA-1>OpenTTD: rubidium * r10765 /trunk/src/rail.h: -Documentation [FS#1100]: of rail.h. Based on a patch by Progman.
07:31|-|Ammler [] has quit [Ping timeout: 480 seconds]
07:34<Nickman>hmmmm, I ran the squirrel script and compiled with no errors, but now I can't load my AI anymore :D
07:38|-|ThePizzaKing [~jeff@] has quit [Quit: ThePizzaKing]
07:38<SmatZ>at least it ran with no errors :)
07:39|-|Ammlller [] has joined #openttd
07:40<Nickman>yeah, but It's all broken now
07:42<Rubidium>what have you changed to the API?
07:42<Nickman>I added two files of my own
07:42<Nickman>I'm trying to get a new type of list into it
07:43|-|Ammller [] has quit [Ping timeout: 480 seconds]
07:43<Rubidium>are any of the .sq files modified in the API directory except the two that belong to the new files.
07:43<Nickman>when I run the .sh script it updates alot of .sq files wich I havn't touched
07:44<Nickman>I get a whole list of files, this is the end of the list
07:44<Nickman>Updated: ai_transactionmode.hpp
07:44<Nickman>Updated: ai_vehicle.hpp
07:44<Nickman>Updated: ai_vehiclelist.hpp
07:44<Nickman>Updated: ai_vehiclelist_valuator.hpp
07:44<Nickman>Updated: ../ai_squirrel.cpp
07:44<Nickman>but there is a bunch of them before this
07:44<Nickman>files wich I havn't touched
07:46<Nickman>I have now reverted my "ai_squirrel.cpp file and it works again
07:46<Nickman>but I don't have my ex functionallity ofcourse
07:48<Nickman>ex = extra
07:51|-|Wezz6400 [] has quit [Quit: bbl]
07:52<Nickman>so, how do i make the squirrel script work properly :p
08:04<+glx>what happens if you run "make regression" after you compile your changes?
08:06<blathijs>make regression? What does that doe?
08:07<+glx>it checks the api still do what it is supposed to do
08:07<blathijs>that's for the ai / sq stuff only, or for all of ottd?
08:07<+glx>noai only
08:11<TrueBrain>for now :p
08:20|-|Vikthor [~Vikthor@] has quit [Remote host closed the connection]
08:21|-|Vikthor [] has joined #openttd
08:22|-|arcil [] has joined #openttd
08:22<Nickman>I'll give it a try
08:23<Nickman>where do i run that?
08:24|-|lolman [] has quit [Read error: Connection reset by peer]
08:26<+glx>same as "make"
08:29<alex__>while in game is there a way to check server IP address through client console?
08:29<Nickman>$ make regression
08:29<Nickman>make: *** No rule to make target `regression'. Stop.
08:31<alex__>anyone know?
08:31<alex__>like status - but for system server info
08:34|-|arcil [] has quit [Remote host closed the connection]
08:36<+glx>Nickman: that's very strange
08:36<Nickman>I know :s
08:38<Nickman>but I don't know why the squirrel scripts ajusts all those files instead of only my changed one
08:40<+glx>it re-generates .sq files, as projects/generate does for *.vcproj files
08:40<Nickman>yeah, but when I run it a second time, it doesn't change anything so...
08:41|-|Wezz6400 [] has joined #openttd
08:45|-|helb [~helb@] has quit [Remote host closed the connection]
08:46|-|helb [~helb@] has joined #openttd
08:48|-|Sacro [Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
08:51<@peter1138>oh god, not sacro
08:52<hylje>no wai
08:52<alex__>o rly?
08:52<Eddi|zuHause3>move all zig!
08:52<alex__>peter1138, what are the chances of a copy + paste feature,
08:53<alex__>like ive just made this awesome station layout, and now i wanna copy + paste it around the map
08:53<@peter1138>what are the chances of winning a lottery?
08:54|-|Thomas[NL] [] has quit [Remote host closed the connection]
08:54<Gekko[PDA]>1 in approx 1 trillion
08:54|-|Code601 [] has joined #openttd
08:54<Sacro>peter1138: 1/49!
08:55<Sacro>which is about 1 in 14 billion afaik
08:55<Eddi|zuHause3>Sacro: wrong
08:55[~]Sacro is confused
08:55<Sacro>oh yes
08:55<Sacro>tis 1/49!
08:55<Eddi|zuHause3>no, whar you mean is 6!*(49-6)!/49!
08:56<Sacro>!calc 6!*(49-6)!/49!
08:56<_42_>Sacro: (standard_in) 2: parse error;(standard_in) 2: parse error;
08:56<Eddi|zuHause3>but you can "win" in the lottery without hitting all 6 numbers
08:56<+glx>[15:40:35] <Nickman> yeah, but when I run it a second time, it doesn't change anything so... <-- it's because EOL, first time .sq are dos files, and the script generates unix files
08:56<Eddi|zuHause3>and i think it's rather 14 million
08:57<Eddi|zuHause3>!calc 49*48*47*46*45*44/6/5/4/3/2
08:57<_42_>Eddi|zuHause3: 13983816.0000000000;
08:57|-|Thomas[NL] [] has joined #openttd
09:00<Sacro>oooh clever
09:01<Nickman>ah, so thats why
09:02<Eddi|zuHause3>why what?
09:09|-|Alltaken [] has quit [Quit: ChatZilla [Firefox]]
09:13|-|mode/#openttd [+v orudge] by ChanServ
09:14|-|mode/#openttd [+v peter1138] by ChanServ
09:15|-|Taebs [] has joined #openttd
09:16<Taebs>hey @ all i have a question ^^
09:17<Taebs>someone on?
09:17<+glx>just ask
09:17<+glx>it's easier
09:18<Taebs>how can i change a cityname on a dedicated server?
09:18<Noldo>I seem to suck at making wikipages
09:18<Taebs>i diddn't found a command
09:18<+glx>Taebs: you can't, you need to use the gui to do that
09:19<+glx>ie non dedicated server
09:19<Taebs>it'S my server ^^
09:19<Gekko[PDA]>it's my pie!
09:20<Taebs>but when i connect as a player i can'T change the name ;)
09:20<+glx>yes only the server can do that
09:20<+glx>but only if the server is not dedicated
09:20<Taebs>why there isn't a command for that? ^^
09:20<Taebs>you can nearly all change there xD
09:21|-|Ammlller changed nick to Ammler
09:21<Gekko[PDA]>glx: he has a valid point.
09:22<+glx>but I think there will be a lot of errors as you can't say rename X to Y, only rename town 0 or town 10
09:22<Gekko[PDA]>why not?
09:22<Taebs>rename "cityname" = "newcityname"
09:22|-|lolman [] has joined #openttd
09:23<Gekko[PDA]>pointers and variables
09:23<Taebs>or something like that
09:23<Taebs>rename_city "cityname" <newcityname>
09:23<Taebs>like normal name command ^^
09:23|-|arcil [] has joined #openttd
09:23<+glx>needs to lookup ALL towns to find the index
09:24<Taebs>mhh.. a command which only works if the city is on the map.. isn't it easier?
09:27<Eddi|zuHause3>on what map?
09:28|-|Ammler [] has quit [Remote host closed the connection]
09:30|-|Ammler [] has joined #openttd
09:35<Eddi|zuHause3>as for your request, there might be a far future when the squirrel interface from the NoAI branch could be adapted as a console scripting language
09:35<Eddi|zuHause3>then you can ask again, if it was easy to introduce such a command
09:36<Eddi|zuHause3>or you write the command yourself
09:36<Eddi|zuHause3>if you do it right, it should be completely server side, and not affect clients joining your server
09:43|-|exe [] has joined #openttd
09:52|-|PinguTux [] has joined #openttd
09:55<PinguTux>hi guys! i have found a crash bug in current mac os x nightlies.
09:58|-|helb [~helb@] has quit [Remote host closed the connection]
10:00<Eddi|zuHause3>and we are now supposed to use our telepathic powers to find out what is wrong?
10:04<PinguTux>no :)
10:05<PinguTux>steps to reproduce: download latest nightly, run nightly (without trg*.grf, -> crash
10:05<+glx>it asserts as it should do
10:06<+glx>so not a bug
10:06<PinguTux>yes, but there is no dialog, this is a regression
10:06<+glx>it's not a release version
10:07<PinguTux>it asserts with a bus error and in the wrong place :)
10:08<PinguTux>Thread 0 Crashed:
10:08<PinguTux>0 openttd 0x0018bfbc CocoaDialog(char const*, char const*, char const*) + 64 (
10:08<PinguTux>1 openttd 0x00187d8f ShowMacDialog(char const*, char const*, char const*) + 31 (
10:08<PinguTux>2 openttd 0x0015ce9d ShowOSErrorBox(char const*) + 43 (unix.cpp:119)
10:08<PinguTux>3 openttd 0x000c7ad9 error(char const*, ...) + 71 (openttd.cpp:108)
10:08<PinguTux>4 openttd 0x00054e81 FioOpenFile(int, char const*) + 71 (fileio.cpp:184)
10:08<PinguTux>5 openttd 0x001196a1 OpenBankFile(char const*) + 45 (sound.cpp:33)
10:10[~]PinguTux and it isn't an exception: Exception: EXC_BAD_ACCESS (0x0001)
10:10[~]PinguTux Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000
10:10<+glx>should assert in openttd.cpp:110
10:11<ln->hmm, it's crashing when it's trying to show the error dialog.
10:12<PinguTux>the problem is: _video_driver is NULL
10:14<TrueBrain>known problems of OSX, see bug-tracker
10:14<TrueBrain>assert shit in OSX is ... well.. not always as correct as one might hope
10:14<TrueBrain>go fix :)
10:15<PinguTux>i have made a small patch which makes the error go away and shows the dialog again, but i dont know if the patch is ok
10:17|-|Zaviori [] has joined #openttd
10:18|-|Brianetta [] has quit [Quit: Tschüß]
10:22<PinguTux>i think the regression happened in r10444 or r10450
10:24|-|Zavior [] has quit [Ping timeout: 480 seconds]
10:29<+glx>PinguTux: maybe post the diff in or
10:30|-|Zaviori [] has quit [Ping timeout: 480 seconds]
10:32<PinguTux>ok, will do
10:32|-||Jeroen| [] has joined #openttd
10:34|-|exe [] has left #openttd []
10:42|-|Frostregen_ [] has joined #openttd
10:43<alex__>while in game is there a way to check server IP address through client console?
10:43<alex__>server name/ ip address?
10:46|-|skidd13 [] has joined #openttd
10:47|-|Frostregen [] has quit [Ping timeout: 480 seconds]
10:48|-|Frostregen_ changed nick to Frostregen
10:48|-|PinguTux [] has quit [Quit: PinguTux]
10:51|-|Digitalfox_Desktop [] has joined #openttd
10:51<Digitalfox_Desktop>Good Afternoon to you all ;)
10:51|-|PinguTux [] has joined #openttd
10:52|-|PinguTux [] has quit []
10:53<Digitalfox_Desktop>I have compile the last build of branch new_ports , and when running it it crashes on openttd menu, it doesn't let even acess/change anything in the menu!! Using windows OS..
10:53<Digitalfox_Desktop>Anyone tried it and have the same problem?
10:54<Taebs>Eddi|zuHause? noch da?
10:55<+glx>Digitalfox_Desktop: works for me, it just fails to load intro game
10:56<Digitalfox_Desktop>Well in my case it crashes, so can i remove the intro file and it works?
10:57<Digitalfox_Desktop>Crash = assertion on aircraft_cmd.cpp
11:05<skidd13>just rename opntitle.dat to
11:05|-|iPandaMojo [] has quit [Quit: iPandaMojo]
11:05<skidd13>the savegame compatibility isn't that far AFAIK
11:13|-|Wezz6400 [] has quit [Quit: bbl :)]
11:16|-|skidd13 [] has left #openttd []
11:24<Digitalfox_Desktop>Well i don't acre about, savegame, after all this brach is for testing and development, so it's not a stable one :) But even renaming or removing doesn't prevent the assertion, and i just tryed erasing my cfg file, and it still causes assertion
11:43|-|sPooT [] has joined #openttd
11:44|-|Xintron [] has joined #openttd
11:45<Xintron>I would like some help ;)
11:45<Xintron>I need help to install openttd on my computer (linux)
11:45<Xintron>Don't really know how I should install TTD
11:45<Phazorx>got svn?
11:46<Phazorx>subversion i take that as a no
11:46|-|Wolf01 [] has joined #openttd
11:46<Xintron>Subversion would be?
11:46<Prof_Frink>Xintron: What distro are you using?
11:47<Xintron>I got TTD for windows
11:47<Prof_Frink>Get the .deb and install it with gdebi
11:48<Wolf01>or download the nightly and untar it in a folder
11:48<Prof_Frink>Wolf01: Let's keep this simple
11:49<Xintron>What's the difference?
11:49<Prof_Frink>Xintron: The nightly has some newer features, but is potentially unstable
11:51|-|Wezz6400 [] has joined #openttd
11:51<Prof_Frink>Once you've installed the .deb, you need to copy all the *.grf files and from TTD to /usr/share/games/openttd/data/
11:52<Prof_Frink>You'll need to be root (sudo) to do so.
11:52<Xintron>I knw
11:56<Sacro>Prof_Frink: sudo make me a sandwich
11:57<Wolf01>Sacro: OLD! :D
11:58[~]Prof_Frink shoots lightning from his fingertips and levitates
11:58[~]Wezz6400 sets Prof_Frink on fire
11:58|-|SmatZ [] has quit [Quit: Konversation terminated!]
12:00<Xintron>So, done copy etc
12:00<Xintron>Is it only to run the game now?
12:00<Xintron>nvm ;)
12:10<Xintron>ok, how do I turn off sound in the game menu?
12:11<+glx>start a game and set the volume
12:12<Wezz6400>you don't really want to turn it off now do you? ;)
12:13<+glx>another way is to start with "./openttd -m null"
12:14<+glx>hmm -s null for sound
12:18|-|HMage [] has joined #openttd
12:19|-|HMage [] has quit [Read error: Connection reset by peer]
12:20<Wolf01>i'm still with the opinion that an option menu which allows you to set all the options in one window is better, and i think is possible also to find a little space for a little 0[----I------]100 <- i don't know how is called, to set the volume of the sound/music without start a new game and open the jukebox
12:25|-||Jeroen| [] has quit [Quit: oO]
12:25<Xintron>And to dissable sound in the game menu
12:26<Xintron>Cuz I had it running for a while, listening to music at the same time, couldn't stand it. Had to start a new game and pause/turn down the volume to get rid off it
12:39<blathijs>Sacro: I have the T-shirt :-)
12:39<Sacro>blathijs: haha, nice
12:39<Sacro>so does orudge i belive
12:40<blathijs>indeed :-)
12:40<Wolf01>i just forced a friend to do a thing with sudo
12:40<Wolf01>he asked for a password :D
12:40<@orudge>I have multiple t-shirts!
12:41<Xintron>Spider pig, spider pig, does whatever a spider pig does!
12:41<Taebs>lol xD
12:41<Xintron>Senn it Taebs?
12:42<Taebs>seen? simpsons kino?
12:42<Taebs>sure ^^
12:42<Taebs>2 times ^^
12:42<Xintron>Spiderschwein, spiderschwien :)
12:42<Taebs>das so genial ^^
12:42<Xintron>ofc it is!
12:42<Taebs>danke frau mit den größen brüsten ^^
12:43<Taebs>in der zentrale von den telefonaten abhör bla xDDDD looooool ^^
12:43<Taebs>JAAA! jaaa! ich habe es! entlich unser erster erfolg mit dieser aktion! ^^
12:59|-|lolman [] has quit [Read error: Connection reset by peer]
13:06|-|helb [~helb@] has joined #openttd
13:06|-|HMage [] has joined #openttd
13:07|-|Vikthor [] has quit [Quit: Leaving.]
13:10<CIA-1>OpenTTD: richk * r10766 /branches/NewGRF_ports/ (173 files in 12 dirs): [NewGRF_ports] -Sync: with trunk r10651-10765
13:23<Taebs>mhhh... someone i don'T understand....
13:24<Taebs>why the monorail X2001 only drive 268km/h? it should drive up to 304km/h
13:25<CIA-1>OpenTTD: richk * r10767 /branches/NewGRF_ports/bin/data/ (7 files in 2 dirs): [NewGRF_ports] -Add: Added sprite and nfo data for newgrf files.
13:26<Rubidium>'cause you are running the train with too many wagons for the engine to pull
13:26|-|arcil [] has quit [Quit: Leaving]
13:28<Phazorx>... or perhaps there is something else limitting the speed like an slow bridge, a slope, a crurve, another train ahead
13:34<Taebs>mhhhhh.... okay... rubdiums answer was rigth in this situation ^^
13:35<CIA-1>OpenTTD: rubidium * r10768 /trunk/src/oldpool.h: -Codechange: allow to specify from which index to search for a free pool item.
13:35<Taebs>and what is wagonspeedlimit? O.o
13:36|-|helb [~helb@] has quit [Remote host closed the connection]
13:37<Rubidium>some wagons (newgrfs) have speed limits, which obviously limit the speed of the whole consist
13:37|-|Thomas[NL] [] has quit [Remote host closed the connection]
13:38<Taebs>mhh... thx.. afk
13:40<Phazorx>Rubidium: coopers have another series of concurrent desyncs... on RV only game... interested?
13:40|-|Thomas[NL] [] has joined #openttd
13:41<Eddi|zuHause3>that "co-opers" really should need a hypen there
13:42<Phazorx>not my call :)
13:42<Eddi|zuHause3>well, a "cooper" is something entirely different :p
13:42<Phazorx>care to elaborate?
13:43<Prof_Frink>Jus' like that!
13:54<Maedhros>coopers are people who make wagon wheels, iirc
13:54<Prof_Frink>Or dead magicians
13:55<Phazorx>we make wagon wheels spin a lot :)
14:00|-|smoovi [] has quit [Remote host closed the connection]
14:00|-|helb [~helb@] has joined #openttd
14:09<Digitalfox_Desktop>Nice, after compiling the last build of new_ports branch i have no longer assertions :)
14:15|-|Zavior [] has joined #openttd
14:17<CIA-1>OpenTTD: glx * r10769 /branches/noai/src/ai/api/
14:17<CIA-1>OpenTTD: [NoAI] -Fix: EOL only changes are now considered as "not changed"
14:17<CIA-1>OpenTTD: [NoAI] -Add: remove .hpp.sq if .hpp doesn't exist
14:22<Rubidium>Phazorx: any idea when the desync happens? How many desync? How often? What version?
14:23|-|Zr40 [] has quit [Quit: Zr40]
14:26|-|Taebs [] has quit [Ping timeout: 480 seconds]
14:34|-|dihedral [] has quit [Quit: leaving]
14:36<CIA-1>OpenTTD: rubidium * r10770 /trunk/src/ (9 files):
14:36<CIA-1>OpenTTD: -Codechange: use the pool item class as super class for the vehicle struct.
14:36<CIA-1>OpenTTD: -Codechange: do not force "special" vehicles to be allocated in the low 1024 vehicle slots and non "special" vehicles in the rest of the slots.
14:37<De_Ghost>what's a special vheical?
14:37<De_Ghost>a vehicale for the disables?
14:37<+glx>smoke, disasters
14:39<Wolf01>when slots for grf vehicles?
14:45|-|stillunknown [] has joined #openttd
14:50|-|Ben_ changed nick to _Ben_
14:58|-|Digitalfox_Notebook [] has joined #openttd
14:59|-|Digitalfox_Notebook [] has quit []
15:00|-|helb [~helb@] has quit [Remote host closed the connection]
15:01|-|helb [~helb@] has joined #openttd
15:06<Phazorx>Rubidium: 10737, quite often after a bit of playtime... very similar to plane speed bug, all new players get desynced in a matter of days
15:06<Phazorx>perrhaps relevant to evergoing autoreplace desyncs
15:06<Phazorx>since before we used it - was not happening
15:06<Phazorx>unfortunatelly after restart goes away
15:06<Phazorx>so i could not reproduce it locally
15:06<Rubidium>if you disable autoreplaces, does it work?
15:07<Rubidium>i.e. does it not desync
15:08<CIA-1>OpenTTD: rubidium * r10771 /trunk/src/oldloader.cpp: -Codechange: remove some code duplication from the old loader.
15:09<Phazorx>i'm doign some experiments lcoally
15:09<Phazorx>there are no autoreplace going atm
15:09<Phazorx>but even after i stopped all replacaces manually - it was still desyncing frequently untill server restart
15:17<CIA-1>OpenTTD: rubidium * r10772 /trunk/src/ (vehicle.cpp vehicle.h): -Codechange: also make use of the generic clean and destroy pool callback functions for vehicle.
15:18<CIA-1>OpenTTD: rubidium * r10773 /trunk/src/ (8 files): -Codechange: use pool.CleanPool instead of CleanPool(&pool) and similarly for AddBlock*.
15:19|-|helb [~helb@] has quit [Remote host closed the connection]
15:20|-|helb [~helb@] has joined #openttd
15:22|-|Eddi|zuHause [] has joined #openttd
15:25|-|Nigel_ [] has joined #openttd
15:25|-|Eddi|zuHause3 [] has quit [Ping timeout: 480 seconds]
15:27|-|Nigel [] has quit [Ping timeout: 480 seconds]
15:27|-|helb [~helb@] has quit [Remote host closed the connection]
15:47<CIA-1>OpenTTD: rubidium * r10774 /trunk/src/oldpool.h: -Fix (r10768): obiwan pleased us with a visit.
15:52<Sacro>Rubidium: wtf?
15:54<Prof_Frink>svn diff time?
15:57<Phazorx>Rubidium: there is a reproducable way to get desynced
15:57<Phazorx>but it is kinda ugly
15:57<Phazorx>sometihng of the kind "let server run unpaused for a whiler and then join"
15:57<Phazorx>a while is more than a month most liky
15:59|-|lolman [] has joined #openttd
16:02<Eddi|zuHause>how about something like daily autosave, and then finding the latest one that the desync happens?
16:02<Phazorx>Eddi|zuHause: it is a cumulative runtime issue
16:02<Phazorx>a save made day prior to desync does not desync when loaded
16:02<Phazorx>but will after some time
16:02|-|Wezz6400 [] has quit [Quit: te laat, ik ben al weg :P]
16:03<Eddi|zuHause>and somehere inbetween there is a "shortest" time between load and desync
16:03<Phazorx>Eddi|zuHause: i mean that all of these saves will desync eventualy
16:03<Phazorx>i dont think it is proportinal to time
16:04<Phazorx>at least it diesnt look like it now
16:04<Rubidium>the problem is that the save made a day before the desync is actually after the desync occured
16:04<Eddi|zuHause>the timeline is like: <load> |----- <event> ---- <desync>
16:04<Rubidium>it is just before the desync was notified
16:05<Phazorx>Rubidium agreed: any suggestions?
16:05<Eddi|zuHause>so you need to find a savegame where time between "load" and "event" is shortest
16:05<Rubidium>rather: <load> |----- <desyninc event> ---- <notification of the desync>
16:05<Phazorx>Eddi|zuHause: that's a lot of load/save
16:05<Eddi|zuHause>yeah, your version is more verbose :)
16:05<Rubidium>Phazorx: can you compile yourself?
16:05<Phazorx>and no guaranteed result
16:05<Phazorx>Rubidium: i always do
16:06<Rubidium>open network.h
16:06<Rubidium>uncomment line 21
16:06<Rubidium>and recompile
16:06<Phazorx>/#define ENABLE_NETWORK_SYNC_EVERY_FRAME ?
16:07<Rubidium>oh, never mind
16:07<Rubidium>you said that the desync happened if you run the server for a while
16:07<Rubidium>and then join, without performing any action
16:07<Phazorx>it's a data/cache based desync looks like it
16:08<Rubidium>so the only thing that can be done is redoing it again and find the earliest join date that desyncs happen
16:08<Phazorx>something that needs to be is not saved or some data is "assuemed" valid on cline t when it is not
16:08<Eddi|zuHause>yeah, that's a typical cache/recalculation symptom
16:09<Phazorx>hmm... there must be more analytical aproach
16:09|-|Code601 [] has quit [Ping timeout: 480 seconds]
16:10<Rubidium>and then try to move the begin date forward; i.e. load savegame, proceed a day, reload savegame wait till "earliest desync join date", join, check whether it desyncs
16:10<Phazorx>cuz save/load is mroe like guessing and elimination which always takes a whie;
16:10<Eddi|zuHause>well you can do one long run with daily save, and then do a binary search over those savegames
16:10<Rubidium>Phazorx: it is guessing, but making the desync testing faster makes solving it much faster
16:11<Rubidium>as I have to run the same thing a gazillion times to backtrace the cause of the desync
16:11|-|HMage [] has quit [Quit: HMage]
16:11<Phazorx>well i'm gonna try stopping vehciles 1st
16:12<Phazorx>at least narrows down search area
16:12<Phazorx>is there a way to get a date from server concsole?
16:12<Rubidium>and that takes at least 20 iterations and usually much more, so any time gained there is good
16:12<Rubidium>Phazorx: getdate
16:18<Eddi|zuHause>daily autosave is pretty easy, just move the line _do_autosave = true; within the IncreaseDate function in date.cpp
16:18<Eddi|zuHause>before the check if a new month begins
16:19<Eddi|zuHause>the number of autosaves to keep might be a problem then, because they are overwritten pretty fast
16:20<Rubidium>there's an patch option to get autosaves with dates
16:20<Eddi|zuHause>cool, haven't seen that one
16:20<Rubidium>probably not gui accessible
16:22<Phazorx>!calc 250*365
16:22<_42_>Phazorx: 91250;
16:22<Phazorx>100 megs of saves for year
16:23<Eddi|zuHause>250kb? that's a quite small savegame :)
16:23<Eddi|zuHause>my savegames are usually more like 2MB
16:23<Phazorx>this is 512x128
16:23<Phazorx>and no trains
16:25<TrueBrain>Nananananana: I have OpenTTD on my PocketPC, based on the latest nightly
16:25|-|helb [~helb@] has joined #openttd
16:25<Wolf01>i have hello world on my pocket pc vompiled without visual studio 2005 nanananannanannana
16:26<TrueBrain>that isn't hard :p
16:26<Wolf01>maybe not for you, but i sweat 7 bottles
16:27<TrueBrain>it took me ... 4 days to setup a MSVC env to make Windows Mobile software
16:28<TrueBrain>it took me... 8 GiB of HD space
16:28<TrueBrain>for what I am still unsure
16:28|-|TinoM| [] has quit [Quit: Verlassend]
16:28<TrueBrain>it took me 4 hours to just compile a simple stupid example software
16:28<TrueBrain>and 1 day to get OpenTTD to compile for it
16:28<TrueBrain>so, yeah, MS did a nice job in making it impossible
16:28<Rubidium>and it will take you days to run it on my phone (if you ever succeed)
16:31<Wolf01>so, we might have an official ottd windows mobile port?
16:31<TrueBrain>who knows
16:31<Wolf01>(i need it, i'm bored of sim city 2000)
16:31<TrueBrain>only the mouse appears broken
16:31|-|SmatZ [] has joined #openttd
16:33<Wolf01>what about map size? can you run maps > 256^2?
16:33<TrueBrain>haha, dunno
16:33<TrueBrain>I just tried it on the emulator
16:33<TrueBrain>but that is logic
16:34<Wolf01>think that i have all what i need but the visual studio :/
16:34|-|iPandaMojo [] has joined #openttd
16:34<Wolf01>i already downloaded the sdk, the emulator image etc
16:34<TrueBrain>you need Standard or better
16:34<TrueBrain>and the Windows Mobile 5 PocketPC SDK
16:34<Wolf01>but since it is not compatible with express, i can do nothing
16:35<Wolf01>i'm still looking for a student edition
16:35|-|Nigel [] has joined #openttd
16:35<TrueBrain>I just pressed some buttons, got myself an empty DVD, and several hours later (VS SP1 update took me 5 hours!!)
16:35<TrueBrain>I had MSVC VS2005 Professional
16:36<Wolf01>the problem is that MS forces you to have an IDE of which you'll use only the 10%, at the price of a space shuttle
16:36<TrueBrain>I will never but it
16:36<TrueBrain>I hate it
16:36<Wolf01>i need only the 10% :)
16:37<TrueBrain>but it is the only software that allows to debug PocketPC
16:37|-|Nigel_ [] has quit [Ping timeout: 480 seconds]
16:37<Wolf01>yes, i know
16:37<TrueBrain>as the emulator can ONLY be installed if you install the SDK, which needs MSVC VC2005 Standard...
16:38<TrueBrain>Wolf01: I can always give you a binary :p
16:39<Wolf01>yeah :D
16:39<Wolf01>so i can try it
16:39<Eddi|zuHause>and why is there no gcc for pocketpc?
16:39<TrueBrain>there is
16:39<TrueBrain>but you can't debug
16:39<Wolf01>there is a port
16:39<TrueBrain>and it crashed for no clear reason
16:44|-|Progman [] has quit [Remote host closed the connection]
16:53<Sacro>i have a wm5 ppc next to me
16:53<TrueBrain>then you can soon run it too :p
16:54<Prof_Frink>Hmm, does this mean there'll be a setting for small resolutions?
16:54<TrueBrain>there already is :p
16:54[~]Prof_Frink shall have to poke about and get a less old version running on his Z
16:57<Eddi|zuHause>Prof_Frink: in the past week(s?) there were a lot of commits like "make window xyz be able to be smaller than default resolution"
16:57[~]Sacro goes to visit esoftinteractive
16:59<Wolf01>please sacro, don't tease them
16:59<Sacro>aww but i want to
17:00|-|iPandaMojo [] has quit [Quit: iPandaMojo]
17:00[~]Sacro unties his washing line and plugs it into his pda
17:02<Wolf01>mmmh sloooooow terribly slooooooow
17:02<Wolf01>and load failed because of zlib ;)
17:03<TrueBrain>yeah, I know Wolf01
17:03<TrueBrain>was too lazy
17:03<TrueBrain>and the debug version indeed is very slow
17:03<Sacro>now, what do i need to download to compile for a pocketpc?
17:03<Wolf01>the world
17:03<+glx>msvc2005 (not express), wm sdk, ...
17:03<Wolf01>there are at least 3gb of softwares
17:04<Sacro>i have msvc 2005 downloaded and installed
17:04<TrueBrain>Wolf01: I have 8 GiB used by it, including the downloaded shit
17:04<Wolf01>the sea animation seem to be normal
17:05<TrueBrain>anyway, Sacro, I can also just give you the binary :p
17:05<Sacro>TrueBrain: yes please!
17:05<Wolf01>duh... it needs to be set on landscape mode
17:05<Sacro>hmm, minisd doesn't fit into my laptop
17:05<TrueBrain>currently it is generating code for the release version..
17:06<Sacro>TrueBrain: i'd like to set up an ide for it anyway
17:06<Sacro>but i need the software to copy stuff to/from it
17:06<TrueBrain>Sacro: MSVC 2005 Standard+, WM SDK, WM 2005 PocketPC SDK
17:06<TrueBrain>and my patch :p
17:07<Sacro>i think i already have the wm sdk
17:07<Sacro>for compiling openttd for win32
17:07<TrueBrain>Windows Mobile SDK
17:07<Wolf01>win32 is not windows mobile
17:08<Sacro>it wants to validate windows
17:08|-|Deathmaker [] has quit [Read error: Connection reset by peer]
17:08<Sacro>ah, cos i'm using firefox
17:08<Sacro>my net seems seriously slow tonight
17:08<Wolf01>maybe is because of emule
17:09<Eddi|zuHause>who in his right mind uses emule?!?
17:09<Prof_Frink>Sacro: Stop downloading goat pr0n
17:10<CIA-1>OpenTTD: rubidium * r10775 /branches/noai/ (179 files in 14 dirs): [NoAI] -Sync: with trunk r10535:r10774.
17:10<Wolf01>uhm, the map scrolls automatically :O
17:10<Wolf01>a suggestion about the menu: use 2 arrows to move it left and right ;)
17:12<TrueBrain>in order to make PocketPC usable
17:12<TrueBrain>we need tons of changes and additions :p
17:12<TrueBrain>but okay, it at least starts now :)
17:12<Wolf01>ok, now i learnt how to use the stylus, the "mouse" seem to respond on the second click
17:12<TrueBrain>for some unknown reason, yes
17:12<Sacro>Prof_Frink: i'm not
17:12<SmatZ>maybe downsampling the menu to half the size would be nice, too -
17:12|-|sPooT [] has quit [Remote host closed the connection]
17:13<Wolf01>:O a sheep sound near a factory!!! now a cow!!!!!!!
17:13<Eddi|zuHause>you mean resizing the sprites?
17:13|-|KritiK [] has quit [Quit: Leaving]
17:13<SmatZ>TrueBrain: does pocketpc use some strange architecture, or the problem lies only in the GUI part?
17:13<SmatZ>Eddi|zuHause: yes, is it a problem?
17:14<TrueBrain>SmatZ: it has its own arch yes, 'arm'
17:14<TrueBrain>current target is armv4
17:14<TrueBrain>which is basicly PocketPC 2003 and above
17:14<Eddi|zuHause>SmatZ: well, you might want to try to shove it through the zooming code, but it is quite a big change
17:14<TrueBrain>or at least WM5 and WM6 :p
17:17<SmatZ>TrueBrain: I am sorry, I don't know PocketPC at all :( if there are needs to change a lot of things (not only big/little endian), it could be a challenge ...
17:17<TrueBrain>I just finished initial support, so the challenge is kind of over
17:17<SmatZ>TrueBrain: sorry I sent previous line by mistake
17:17<TrueBrain>the rest is optimizing :)
17:18<SmatZ>Eddi|zuHause: I though just to downsample some sprites just while loading them -
17:19<Sacro>Windows Mobile 5.0 SDK for Pocket PC?
17:19<Eddi|zuHause>yes... "just"... but the infrastructure for that is not there
17:19<Sacro>no so bad
17:19<TrueBrain>Sacro: yes
17:23<Sacro>need activesync too i guess
17:23<TrueBrain>not if you use emulators
17:24<Sacro>i have the actual phone :p
17:24<TrueBrain>you don't want to send it to there every time
17:24<TrueBrain>it crashes the phone in the worst case
17:24<TrueBrain>and it takes for ever
17:24<TrueBrain>in the emulator you can save a state
17:25<TrueBrain>and make it easier to work with it
17:25<TrueBrain>(although it still is a big PAIN IN THE ASS)
17:25|-|ThomasNL [] has joined #openttd
17:25|-|Thomas[NL] [] has quit [Read error: Connection reset by peer]
17:26<Xintron>I just started playing this wonderful game but have problems with airplanes
17:26<Xintron>How do I get planes?
17:26<Rubidium>build an airport and click on the hangar
17:27<Rubidium>looks a little like a train/road depot, but with a curved roof and it's grayish
17:27<Xintron>I found it
17:27<Xintron>thanks :)
17:27<Xintron>Love this game
17:37<Sacro>TrueBrain: you got the ppc5 binary?
17:38<Xintron>If a train crashes, what do I do with that train?
17:38<Sacro>Xintron: clear it up
17:38<Sacro>inform the next of kin
17:38<Xintron>it disspaered now :)
17:38<TrueBrain>Sacro: the mouse is broken, we know that :p
17:38<TrueBrain>you need to double click
17:39<Sacro>TrueBrain: eh?
17:39<TrueBrain>the binary I just gave you
17:39<TrueBrain>it has a known problem with mouse handling
17:39|-|Wezz6400 [] has joined #openttd
17:40<Sacro>ooh a binary
17:44<Sacro>is all i need to compile?
17:45<Sacro>TrueBrain: where do all the data files go?
17:45<+glx>in data
17:45<TrueBrain>Sacro: store it somewhere yourself
17:45<TrueBrain>oh, like that
17:45<TrueBrain>Sacro: same layout as any other system
17:45<Sacro>and does it need svn or stable?
17:46<+glx>latest trunk
17:46<Sacro>nightly do?
17:46<TrueBrain>most likely
17:46<Sacro>which SDK do i need
17:47|-|ThomasNL [] has quit [Remote host closed the connection]
17:48<Sacro>i have the Windows Mobile 5 SDK
17:48[~]Sacro puts on Brianettas Standard grf set
17:48<Sacro>need to have UKRS :p
17:49|-|Digitalfox_Desktop [] has quit [Quit: Bye]
17:50<TrueBrain>it already takes for ever to start :p
17:50<Sacro>norev000 :(
17:50<Sacro>and i wanted to play onlie
17:50<TrueBrain>haha :)
17:50<Sacro>loader for zlib is not available
17:51<Sacro>needs to be landscape
17:51<TrueBrain>yeah, working on a new version
17:51<+glx>you can change it yourself
17:51<TrueBrain>which autodetects the res
17:51<Sacro>glx: can i?
17:51<TrueBrain>Settings > Screen > Landscape :p
17:52[~]Prof_Frink has an xrandr rotatey button in his panel
17:52<Sacro>slight issue
17:52<Sacro>i managed to open the options menu
17:52<Sacro>but the ok button is offscreen
17:53<TrueBrain>not all screens can handle the lowres yet
17:54<+glx>they all can handle psp res
17:54<Sacro>i like big maps
17:57[~]Wolf01 nods
17:58<TrueBrain>Sacro / Wolf01: reload binary, it has some updates (runs a bit smoother ;))
18:01<Sacro>someones playing with a police siren
18:03<Eddi|zuHause>that ought to be a crime
18:03<Rubidium>glx: not all can handle the psp resolution; difficulty, patches and graphs are the ones I know of.
18:04<+glx>I though it was ok
18:05<Rubidium>well, those windows are (really) not needed for game play
18:05<Rubidium>the difficulty is small enough when in the main menu, but in the normal game you've got the toolbars
18:05<Wolf01>TrueBrain, i think you can disable the generation of maps size > 512^2
18:06<TrueBrain>Wolf01: if some idiot wants to do so...
18:06<Rubidium>and the patch window is just generally too large
18:06<Wolf01>it crashes wit "not enough memory to store the map" or something like it
18:07|-|lolman [] has quit [Read error: Connection reset by peer]
18:07<Sacro>We're sorry...
18:07<Sacro>... but your query looks similar to automated requests from a computer virus or spyware application. To protect our users, we can't process your request right now.
18:08<Wolf01>i think you should make an hardware button to close all the windows
18:09<Wolf01>Sacro, you are a bot, and that is the evidence
18:09<Rubidium>one good hit with a hammer closes all windows
18:09<Sacro>Rubidium: in my house, it opens them
18:09<Sacro>or as good as
18:11|-|Sacro [Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Read error: Connection reset by peer]
18:14|-|Progman [] has joined #openttd
18:16<SmatZ>are you testing gcc 4.2.x to compile openttd?
18:17<TrueBrain>are you?
18:18<SmatZ>I just get irritating warnings /mnt/svn/openttdcoop/src/yapf/../misc/blob.hpp:376: warning: assuming signed overflow does not occur when assuming that (X - c) >= X is always true
18:18<SmatZ>so if any of devs is aware of that
18:18<SmatZ>it can be avoided by adding -fno-signed-overflow or something like that...
18:19<CIA-1>OpenTTD: rubidium * r10776 /trunk/src/tunnelbridge_cmd.cpp: -Fix [FS#1081]: you would not pay for some foundations of bridges whereas you would pay for others.
18:19<Rubidium>SmatZ: that's a compiler bug
18:19<CIA-1>OpenTTD: truelight * r10777 /trunk/src/station.h: -Fix: don't put the ctor debug on lvl3, it is more a lvl5 debug
18:20<Rubidium>the compiler does optimizations and determines that some value is always positive, whereas it does not need to be always that way
18:24<Wolf01> looooooooool
18:25<Rubidium>SmatZ: do you think the following is wrong?
18:25<Rubidium> assert(idx >= 0); assert(idx < Size());
18:25<SmatZ>Rubidium: I am looking into the code...
18:25<Rubidium>where idx is a signed integer
18:25<Rubidium>and Size() too
18:26<CIA-1>OpenTTD: truelight * r10778 /trunk/src/ (6 files in 2 dirs):
18:26<CIA-1>OpenTTD: -Fix: one-liners to allow MSVC and WINCE to work together (or anyway, a step towards that goal)
18:26<CIA-1>OpenTTD: -Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
18:27<SmatZ>Rubidium: seems everything works ok - the only case when it would fail would be if one/both of idx and Size() were big positive/negative numbers
18:28<SmatZ>and they are not... and compiler is just giving information it is assuming the signed overflow doesn't occur
18:28|-|Maedhros [] has quit [Quit: leaving]
18:29<SmatZ>Rubidium: I just needed more time to imagine what is going on :(
18:30<Rubidium>but the warning has nothing to do with the actual checks
18:31<Rubidium>otherwise it has to give this warning *everywhere* where you check stuff like "val >= 0 && val < 10"
18:31<SmatZ>maybe ... maybe the code generated does, I will check the asm
18:33<Rubidium>Wolf01: stupid Sergej
18:37<SmatZ>Rubidium: maybe it checks Size() - idx >= 0 instead
18:37<SmatZ>assuming it won't overflow, it has the same effect... except different assert triggered
18:39<Rubidium>still, I don't care how it optimizes as long as it does it correctly and does not give warnings about it's own optimized code
18:42<SmatZ>what kind of warnings do you mean? gcc 4.2.x gives those warnings ... they are not critical at all, but they are still warnings
18:43<SmatZ>mmm nevermind, you have something really more interesting to do :) sorry
18:43<Rubidium>the warnings gcc gives
18:43<Rubidium>SmatZ: we shouldn't hide GCC warnings that GCC finds in it's own optimized code
18:44<SmatZ>Rubidium: thanks, that explains everything
18:45<TrueBrain>night all
18:45<Rubidium>on the other hand, I wonder whether they do know about this issue
18:46<SmatZ>TrueBrain: night
18:47<SmatZ>Rubidium: do you think this is an issue? it seems to give information like 'I am doing some expectations while optimising, if the C code was not conforming to the standards, it might not work aas expected'
18:48<Rubidium> <- it even is a regression
18:49|-|Smoovious [] has quit [Ping timeout: 480 seconds]
18:49<Eddi|zuHause>SmatZ: no, it is not, it is a real error, if it does unsafe optimisations
18:50<Eddi|zuHause>what exactly is the "wtf"?
18:50<Eddi|zuHause>ah... it's an "american" mig 21 :p
18:50|-|helb [~helb@] has quit [Remote host closed the connection]
18:52<SmatZ>Rubidium: this seems to be an error because of excessive warning, but not all warnings are excessive
18:52<SmatZ>it is from the gcc testsuite, where it shouldn't give any warning
18:52<SmatZ>or os
18:53<+glx>in the followup of the message Rubidium pointed they even seem to have a fix
18:54<SmatZ>Eddi|zuHause: from the gcc manpage :
18:55<Eddi|zuHause>SmatZ: i know what an overflow is, that is not the point
18:56<SmatZ>Eddi|zuHause: true, it was not the correct text to paste ...
18:57<SmatZ>gcc 4.2 release notes ->
18:57|-|skidd13 [] has joined #openttd
18:57<Eddi|zuHause>SmatZ: the point is that the code at the given lines does not do any arithmetics at all, so if the compiler "optimises" any arithmetics in there, it has to prove that it does not change the semantics of the code (beyond what the specs allow)
18:58<Rubidium>adding -fstrict-overflow does not sounds like the way to go; there is a lot of code that assumes that overflows happens and (by some "law") there will be one that uses signed integers.
18:58<SmatZ>Eddi|zuHause: "-fstrict-overflow tells the compiler that it may assume that the program follows the strict signed overflow semantics permitted for the language: for C and C++ this means that the compiler may assume that signed overflow does not occur."
18:58<Eddi|zuHause>so that warning does not warn about the code, but about internal code replacements that the "user" should not have to know about
18:59<SmatZ>they are talking about 'strict signed overflow semantics permitted for the language' - what is the standard?
18:59<SmatZ>Rubidium: the problem is that -fstrict-overflow is enabled by default with -O2 and higher ... maybe even -O1
18:59<SmatZ>Eddi|zuHause: yes
19:00<Wolf01>'night all, good work TrueBrain ;)
19:00<Eddi|zuHause>the standard does not really care about overflow... it usually assumes ring semantics
19:00|-|Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
19:01|-|Digitalfox_Notebook [] has joined #openttd
19:02<SmatZ>Eddi|zuHause: well I just suppose the gcc developers are not intentionally doing things breaking the standard, and even putting that switch as default for some optimisation level ...
19:02<Eddi|zuHause>SmatZ: i am not discussing this any further
19:03<SmatZ>Eddi|zuHause: i agree
19:03<Eddi|zuHause>gcc is either wrong in giving this warning or wrong in doing actions causing this warning...
19:04|-|skidd13 [] has left #openttd []
19:06<Rubidium>the problem is that there is no standard; just an assumed standard which they basically are breaking with that option
19:06|-|KUDr [] has quit [Ping timeout: 480 seconds]
19:07<SmatZ>Rubidium: yes, I agree with you, too
19:08|-|Smoovious [] has joined #openttd
19:08<Rubidium>-O2 compiling is slow if you don't have gcc 4.2 installed on your distccds
19:10<SmatZ>Rubidium: actually, I use the default './configure' with no switches, and it sets the '-O2 -fomit-frame-pointer' flags ... I compile with that settings, too
19:12|-|Gekkko` [] has joined #openttd
19:15<SmatZ>Rubidium: in openttd, byte is signed, isn't it? it is causing an ineffective code in CBlobT::Size(), as TBase::RawSize() is of type byte, that may be signed
19:15<SmatZ>the generated asm checks if it is signed
19:16<Rubidium>byte is unsigned
19:16<Ammler>Hallo, is there a max for autoclean_unprotected
19:16<SmatZ>because instead of '/ Titem_size' it does bit shifting, but for negative numbers, it must be changed to give the same value as division
19:17<SmatZ>then gcc is dumb
19:17<Ammler>I set it to 2400, but my unprotected company was cleaned
19:17|-|Progman [] has quit [Remote host closed the connection]
19:17<SmatZ>ah, not, it is not
19:17<SmatZ>I am dumb
19:18<Rubidium>Ammler: there is a max
19:18<Ammler>I like to reset the passwort soon
19:18<SmatZ>bsize_t is the same as ptrdiff_t that is signed
19:19<Ammler>but no company cleaning
19:19<Ammler>autoclean_protected = 24
19:19<Rubidium>and ptrdiff_t is most likely an int
19:21<SmatZ>Rubidium: I trust you :) now I search why bsize_t must be signed
19:23<Eddi|zuHause>SmatZ: probably because of avoiding signed/unsigned mix in arithmethic calculations
19:26<SmatZ>Eddi|zuHause: maybe, but I didn't find any problem - there are very few arithmetic operations done, and all are between bsize_t,bsize_t ... only one substraction is done, and the operands are checked not to give a negative results
19:26<SmatZ>one additiion, and it is checked not to be negative
19:29<SmatZ>after changing the typedef to typedef ::uint32 bsize_t; everything seems to work ok ... nvm
19:29<SmatZ>hmmm no
19:30<SmatZ>there are comparisons outside the blob.hpp, you are right, Eddi|zuHause
19:30|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
19:33<SmatZ> <-- a try to half all sprites in size :) (for smaller menu)
19:35|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
19:36<Eddi|zuHause>maybe you can insert that into the art series of TrueBrain's :p
19:38<Eddi|zuHause>btw, the offset of the truck icon looks kinda wrong
19:39|-|Nickman [] has quit [Quit: ( :: NoNameScript 4.02 :: )]
19:40<SmatZ>Eddi|zuHause: yes, it is ... maybe it is placed in a different way (by the center of the sprite, not the corner) in the ottd code
19:42<Rubidium>too bad it gives totally unreadable text
19:43<SmatZ>hmm it is not placed in a different way than other widgets...
19:44<SmatZ>yes, it is unreadable... it could be changed, to use smaller fonts, but if it was meant only for toolbars, it wouldn't matter
19:46<SmatZ>but the icons are not nice when downsampled this way
19:46<Rubidium>SmatZ: toolbars are solved on another way already
19:46<CIA-1>OpenTTD: rubidium * r10779 /trunk/config.lib:
19:46<CIA-1>OpenTTD: -Fix: GCC 4.2 makes (by default for -O2, -O3 and -Os) an assumption that signed
19:46<CIA-1>OpenTTD: integers do not overflow, whereas it is very likely that some of the legacy code
19:46<CIA-1>OpenTTD: does so. It furthermore breaks with the assumed standard (the behaviour is not
19:46<CIA-1>OpenTTD: actually defined in the standard) about the behaviour when signed integers wrap.
19:46<SmatZ>yes I know :)
19:47<SmatZ>I just tried something different, for really small displays in all directions
19:47|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
19:47<SmatZ>whoa thanks Rubidium :)
19:48<Rubidium>SmatZ: I'd start with some really large windows that cannot be downscaled much
19:48<Rubidium>like the autoreplace window
19:48<Gekkko`>Rubidium: nice fix above
19:48<Rubidium>or the new vehicle window
19:49|-|Gekkko` changed nick to Gekko
19:49|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit []
19:49|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
19:50|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
19:51|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
19:57|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
19:58|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
20:00<Wezz6400>is it me or is openttd mostly developed during the night (for that particular developer)
20:00<Rubidium>depends on what you call night
20:00<Wezz6400>3 am
20:00<Rubidium>and where you are
20:00<Wezz6400>for example
20:01<Rubidium>I've basically stopped developing more than 3.5 hours ago ;)
20:01<Wezz6400>then why did you just commit?
20:02|-|ThePizzaKing [] has joined #openttd
20:02<+glx>I don't call that a "developement" commit :)
20:02<Rubidium>basically a no-brainer
20:03<Wezz6400>hmm ok
20:03<Wezz6400>still, I've been up at this time of day lately and I noticed commits by people I know to be in my timezone
20:03<Rubidium>Wezz6400: and how would you know I'm in your timezone
20:04<Eddi|zuHause>that is not very difficult to figure out :p
20:04<SmatZ>err /whois Rubidium ...
20:04<Wezz6400>Well if you go around tt-f it's not that hard to find people's nationality, however your hostname is also kind of a giveaway
20:04<+glx>my client says you are both supposed to be in .nl
20:04<Rubidium>SmatZ: that only tells you where my "screen" with irssi is running
20:04<Rubidium>it does not say a thing about my physical location
20:05<Wezz6400>well I'm gonna assume you're not that far away from the timezone that machine is running
20:05<SmatZ>Rubidium it can be true
20:05<Wezz6400>it's not like you can get a uttwente hostname by just requesting it :P
20:05<Rubidium>I was a few months ago 9 timezones away and will be 8 timezones away in a few months
20:05<Eddi|zuHause>well, he could be at a "conference" somewhere half around the world temporarily
20:06<Wezz6400>yeah true
20:06<Wezz6400>however most of the time he won't
20:06<Rubidium>for all you know I'm now in Montreal
20:06<Wezz6400>therefore it's a good guess
20:06<+glx>Rubidium: really?
20:07|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Read error: Connection reset by peer]
20:07<Rubidium>glx: no, there's nothing interesting in Montreal right now ;)
20:07<+glx>Belugas is there :)
20:07<Wezz6400>Rubidium for all you know that one girl is there right now ;)
20:08<Rubidium>glx: I doubt that he is right now
20:09<+glx>well he said he won't move far from it
20:09<Wezz6400>anyways I wasn't critizing or anything, I just noticed
20:09<Eddi|zuHause>it's like in Scrubs: "I go to a medical conference in Cleveland. By medical conference i mean golf session. And by Cleveland i mean Honululu." - "My taxi is waiting outfront. And by taxi i mean helicopter."
20:09<+glx>dr Kelso
20:09<Wezz6400>helicopters don't wait out front :P
20:10<Rubidium>you'd be amazed
20:10<Eddi|zuHause>it's not a literal quote... it's more like a back-translation
20:10<Wezz6400>I should go to bed, my remarks are borked
20:12<Rubidium>bed, that's so overrated ;)
20:13<Eddi|zuHause>go to bed != sleep
20:13<Wezz6400>well it's 3:13 am (for me at least) so yeah, I agree
20:14<Rubidium>advantage of doing devving late/at night is the fact that you most likely wont get called, don't have any problems with noise from small children playing, motor "terrorists" (i.e. the people driving with way too much noise) etc.
20:14<Wezz6400>I actually found out I'm fitter when I sleep less than 8 hours a night, 7 or 7,5 is much better
20:14<Rubidium>just perfect silence
20:14|-|Ammler [] has quit [Ping timeout: 480 seconds]
20:14<Rubidium>well, the spinning of my hdd because I turned laptop mode off as it made my movie playback jerky
20:15<Wezz6400>I know what you mean
20:15<Wezz6400>however atm I'm too tired to really do anything
20:15<Rubidium>and no disturbances means much better efficiency
20:15<Wezz6400>I just had a lot of fun on irc ;)
20:15<Eddi|zuHause>'motor "terrorists"' <- people with lawnmowers or motorscythes
20:16<Rubidium>that too
20:16<Rubidium>and I sleep well enough to not be waked by them in the morning ;)
20:16<Eddi|zuHause>i have very light sleep
20:16<Eddi|zuHause>i wake by the slightest noises
20:16<Rubidium>poor Eddi
20:16<Wezz6400>I live along a tram line and a reasonable busy road (with buses going one way) but it doesn't really bother me
20:17<Wezz6400>it did a bit when I moved, but you get used to it
20:17<Rubidium>you'll adjust pretty easily when the sounds are constant enough (i.e. happen often enough)
20:17<Eddi|zuHause>the worst thing around here is the garbage-car every 2 weeks
20:17<SmatZ>Rubidium: CanBuildVehicleInfrastructure() should return false for spectators ... it may cause problems lake this (with non-def GRF) -> (airport, rail available to specs) ... or eg. Shift+F1 asserts the game for spectators even with default GRF
20:18<Wezz6400>Eddi|zuHause hmm
20:18<SmatZ>maybe the first problem is already fixed
20:18<Wezz6400>my parents live a very silent neighbourhood
20:18<Rubidium>SmatZ: I don't have that image on my secondary server
20:18<Wezz6400>the worst thing there is the county's lawn mowers
20:18<Eddi|zuHause>there was a time when i did not wake from the radio, but from my sister knocking against the wall shouting i should turn the volume of the radio down
20:19<SmatZ>Rubidium: :-P maybe this problem is corrected already, the shot is from 2nd July ... CanBuildVehicleInfrastructure() maybe works fine
20:19<Eddi|zuHause>while the radio really wasn't very loud, it was just next to the wall, so it was louder on her side
20:19<SmatZ>but the second part, Shift+F1 asserts for spectator openttd: /mnt/svn/openttd/trunk/src/player.h:241: Player* GetPlayer(PlayerID): Assertion `( (uint)((i) - (PLAYER_FIRST)) < ((uint)((sizeof(_players)/sizeof(_players[0])))) )' failed.
20:20<SmatZ>should I open FS bug?
20:21<+glx>try to reproduce in latest trunk and if it is still present then open a bug report
20:22<SmatZ>glx the second "[03:20:03] <SmatZ> but the second part, ..." is in the latest trunk, will test the first problem and in 0.5 branch
20:24|-|Nigel changed nick to G
20:25|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
20:25<CIA-1>OpenTTD: rubidium * r10780 /trunk/src/group_gui.cpp: -Fix: assertion when opening the advanced vehicle list with the shortcut when being a spectator.
20:26<Rubidium>SmatZ: it's related to the advanced vehicle list, so it's not in 0.5
20:26<Rubidium>and it shouldn't be in trunk either ;)
20:26<SmatZ>ok, it was related... :)
20:27|-|Sacro_ [~ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
20:27|-|Sacro_ [~ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit []
20:29<Wezz6400>well gl devving a bit more ;)
20:29<SmatZ>nn Wezz6400
20:29<Rubidium>devving, where?
20:30<Wezz6400>you are a stubborn man aren't you ;)
20:31|-|Eddi|zuHause2 [] has joined #openttd
20:31<Rubidium>seen the diff? It's a one-liner and the bug was identified and fixed within a minute
20:31<Wezz6400>sorry dude I was just kidding but I'm too tired
20:32<+glx>even SmatZ said what was needed
20:32|-|Sacro_ [~ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
20:32|-|Sacro_ [~ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
20:32<Wezz6400>happens often when I'm tired, somehow the difference between a funny nasty remark gets borked for me and people misunderstand me, oh well
20:32<Wezz6400>my bed is shouting ;)
20:33<Rubidium>we're just playing with you ;)
20:33<Wezz6400>I'm telling you
20:33<Wezz6400>I am too tired!
20:33<Wezz6400>me, who is never tired
20:33<Wezz6400>never ever ever
20:33<Rubidium>:O paradox
20:33<Wezz6400>I sometimes stay up until 7 for no particular reason :X
20:34<Wezz6400>well I was tired already and was just about to go to bed when something funny happened on irc so I stayed; maybe I had a good reason to go to bed early :X
20:35<Wezz6400>oh well, welterusten to you to when you do sleep ;)
20:35<Rubidium>like on a winters afternoon starting with TTD and wondering why the sun is still shining after a "while"?
20:35<Wezz6400>well for me it's usually thinking "oh crap" when I realize it's the first tram of the day I hear passing by
20:36<Rubidium>for me it was rather: "oh crap", I've got to go to college in an hour
20:37<Wezz6400>I never have had an hour, but I did stay up until like 6:30 once knowing all to well I had an appointment with classmates at 10:15
20:37<Wezz6400>which ended up doing nothing but making nasty remarks from 12 to 15 I think :X
20:37|-|Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
20:39|-|SmatZ [] has quit [Remote host closed the connection]
20:39|-|SmatZ [] has joined #openttd
20:39<SmatZ>oh no, I forgot running wine crashes my KDE :-x
20:40|-|Wezz6400 [] has quit [Quit: more irc... no... sleepy time... argh!]
20:41<Rubidium>never ever run an application related to Microsoft Application (Interfaces) and irc on the same computer
20:41<SmatZ>it shouldn't and didn't before gcc 4.2.0 ... maybe I should put that '-fno-strict-overflow' to my cflags too :-x
20:41<+glx>I'm on windows and on irc on the same computer :)
20:42<Rubidium>yeah, and every day you are disconnected a few hours because you have to reboot your computer ;)
20:42<+glx>usually when windows crashes it does it on start
20:42<+glx>somewhere in netapi.dll
20:43|-|Ammler [] has joined #openttd
20:44<Eddi|zuHause2>it's so funny (or rather not)... my (linux) computer sometimes crashes on boot, while my brother's (windows) computer is on
20:44<Eddi|zuHause2>i think it has to do with smb/cifs, but i can't isolate/solve the problem
20:46|-|Ammler [] has quit []
20:48|-|XeryusTC [] has quit [Quit: Solong, and thanks for all the fish.]
20:52|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
20:54|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
20:59|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
21:00|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
21:02|-|glx [] has quit [Quit: bye]
21:16|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
21:19|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
21:20<SmatZ>oh, it is 0420 now!
21:20<SmatZ>in less than a hour, I am leaving to Holiday to biking in Norway... bye all! :)
21:21|-|Sacro [~Ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
21:24|-|Sacro [~ben@adsl-87-102-80-216.karoo.KCOM.COM] has joined #openttd
21:27|-|G [] has quit [Ping timeout: 480 seconds]
21:31<Eddi|zuHause2>at 5AM? that's an odd time...
21:31<Eddi|zuHause2>(literally :p)
21:33<SmatZ>yes yes it is :)
21:33<SmatZ>hopefully I am not a driver, we go by bus... so I will sleep later
21:54|-|G [] has joined #openttd
22:07|-|SmatZ [] has quit [Quit: Konversation terminated!]
22:35|-|Sacro [~ben@adsl-87-102-80-216.karoo.KCOM.COM] has quit [Remote host closed the connection]
22:48|-|ThePizzaKing [] has quit [Ping timeout: 480 seconds]
22:49|-|ThePizzaKing [] has joined #openttd
22:58|-|ThePizzaKing [] has quit [Ping timeout: 480 seconds]
23:16|-|rav [] has joined #openttd
23:40|-|KUDr [] has joined #openttd
23:50|-|rav [] has left #openttd []
---Logclosed Sat Aug 04 00:00:09 2007