Back to Home / #openttd / 2009 / 01 / Prev Day | Next Day
#openttd IRC Logs for 2009-01-13

---Logopened Tue Jan 13 00:00:04 2009
00:00-!-elmex [] has quit [Remote host closed the connection]
00:22-!-Sacro [~ben@] has quit [Quit: leaving]
00:57-!-energetic [] has quit [Ping timeout: 480 seconds]
01:23-!-Zorni [] has quit [Quit: ( :: NoNameScript 4.2 :: )]
01:38-!-Zorn [] has joined #openttd
01:49-!-Gekz [] has quit [Ping timeout: 480 seconds]
01:58-!-einKarl [] has joined #openttd
02:04-!-roboboy [] has quit [Quit: ajax IRC Client]
02:11-!-vraa [] has quit [Quit: Leaving...]
02:11-!-Gekz [] has joined #openttd
02:29-!-roboboy [] has joined #openttd
02:36-!-ConditionalZenith [] has joined #openttd
02:36<ConditionalZenith>hello everyone
02:37<ConditionalZenith>I'm having trouble getting wrightai to do anything
02:38<ConditionalZenith>I have the 2 .nut files in ai/wrightai, which is one dir above the data directory
02:38<ConditionalZenith>as in from data to the .nut files is ../ai/wrightai/*.nut
02:38<ConditionalZenith>I removed all newGRFs
02:39<ConditionalZenith>started a new 256*256 map
02:39<ConditionalZenith>typed 'start_ai' in the console
02:39<ConditionalZenith>an ai start, changed it's name to wrightai
02:39<ConditionalZenith>and then does nothing until it does bankrupt
02:40<@petern>any aircraft available?
02:40<ConditionalZenith>that may be it, I'm starting in 1945
02:40<ConditionalZenith>I'll try again with a 1950 start
02:40<@petern>i think they should be available in 1945
02:41<ConditionalZenith>yeah, there are 2 in 1945
02:41<ConditionalZenith>yes, same result as before
02:42<ConditionalZenith>even with a 1950 start
02:42<ConditionalZenith>in case it matters, I'm using r15049
02:43<@petern>ai allowed to build aircraft?
02:43<ConditionalZenith>yep, no restrictions last I remember
02:43<ConditionalZenith>I'll double check
02:44<ConditionalZenith>yep, all the disable options are off
02:46<ConditionalZenith>If it helps, I ran it before with some newGRFs, and I got:
02:46<ConditionalZenith>dbg: [misc] [squirrel] Failed to compile '/usr/local/share/games/openttd/ai/wrightai/main.nut'
02:46<ConditionalZenith>dbg: [ai] The AI died unexpectedly.
02:46<@petern>not really, i know nothing about the new ai
02:49<Eddi|zuHause>maybe you have a wrong/outdated version of wrightai?
02:50<ConditionalZenith>I have whichever one truebrain merged in at r15027
02:51<ConditionalZenith>it's 387 lines long
02:51<ConditionalZenith>I can give you a checksum if you want
02:53<ConditionalZenith>ok, so if the AI uses, where should I see the output of that?
02:53<ConditionalZenith>the API docs just say "the logs"
02:55<ConditionalZenith>ok, so I found the AI Debug window
02:56<ConditionalZenith>it gives me the wrightAI welcome
02:56<ConditionalZenith>tells me the minimum town size (which is 500)
02:57<ConditionalZenith>and then complains every so often that "Save function is not implemented"
02:59<ConditionalZenith>and apparently it's version 2 or WrightAI
03:00<ConditionalZenith>and GetDate returns 2008-02-24
03:07<ConditionalZenith>admiralAI is doing something
03:09<ConditionalZenith>ok, so I'll just put it down to wrightAI being dumb
03:10-!-TheMask96 [] has joined #openttd
03:35<dihedral>good morning
03:36<ConditionalZenith>good evening
03:39<CIA-1>OpenTTD: peter1138 * r15050 /trunk/src/ (rail.h rail_cmd.cpp): -Codechange: Use one absolute SpriteID with offsets to draw track fences.
03:43-!-mikl [] has joined #openttd
03:47-!-einKarl [] has quit [Ping timeout: 480 seconds]
03:50-!-Tim-itry [] has joined #openttd
03:54-!-roboboy [] has quit [Quit: ajax IRC Client]
04:05-!-grumbel [] has joined #openttd
04:09-!-Vikthor [] has joined #openttd
04:30-!-MrOxiMoron [] has joined #openttd
04:31-!-Gekz [] has quit [Read error: Connection reset by peer]
04:33-!-Gekz [] has joined #openttd
04:36-!-[sleep]buster is now known as [com]buster
04:36<@petern>hm, so
04:36<@petern>Gekz, ever upgraded from ubuntu to debian?
04:37<Gekz>what you just said doesnt make sense
04:37<Gekz>but if you're saying what I think you are
04:37<Gekz>NOT A GOOD IDEA
04:37<MrOxiMoron>that's a downgrade :S
04:37<Gekz>not only does Ubuntu change the versioning, how many conflicts do you think you'd be beaten with?
04:38<@petern>plenty :D
04:38<@petern>i have done it the other day, however...
04:38<Gekz>and then you have a hosed system
04:38<Gekz>as init says wtf!
04:38<MrOxiMoron>If you want to destroy your system.. just send it to me :S
04:39<@petern>ubuntu's rushed releases and hence buggyness is... disappointing
04:40<@petern>debian is no downgrade from ubuntu
04:40<@petern>it's a... sidegrade
04:40-!-Zuu [] has joined #openttd
04:43<dihedral>it's the PARENT
04:43<dihedral>besides - if you really really want to, just use sid :-D
04:44<dihedral>that'll even be an upgrade then :-P
04:44<dihedral>but just as unstable....
04:44<@petern>more unstable
04:44<@petern>but unstable does not mean buggy
04:46<Gekz>if you want stability use lenny then
04:47<dihedral>lenny is in freezing!
04:47<dihedral>they have not released it yet (afaik)
04:47<Vikthor>half of Europe is in freezing nowadays, so what :p
04:48<dihedral>but not half of the world :-D
04:57<@petern>i could do with a teapot
04:58-!-a1270 [] has quit [Quit: a1270]
04:59-!-DephNet[Paul] [] has quit [Read error: Connection reset by peer]
04:59-!-DephNet[Paul] [] has joined #openttd
05:01-!-tokai [] has joined #openttd
05:01-!-mode/#openttd [+v tokai] by ChanServ
05:13<dihedral>had this yesterday...
05:13<dihedral>dbg: [net] send failed with error 104
05:13<dihedral>openttd: /home/fairplay/openttd/src/train_cmd.cpp:2851: bool VehicleOrderSaver::
05:13<dihedral>SwitchToNextOrder(bool): Assertion `order != __null' failed.
05:14*dihedral gives petern a teapot, holding 2 cups of pg tips :-)
05:32<ConditionalZenith>so that was trunk?
05:39<Eddi|zuHause>there were quite some changes wrt orders recently
05:40-!-Tim-itry [] has quit [Quit: ajax IRC Client]
05:54-!-elmex [] has joined #openttd
05:58-!-Mortal [] has joined #openttd
06:04-!-DJNekkid [] has joined #openttd
06:06<CIA-1>OpenTTD: peter1138 * r15051 /trunk/src/console_cmds.cpp: -Fix: Only allow creation or deletion of an AI when in a game.
06:06<ConditionalZenith>I liked that feature
06:07<Eddi|zuHause>create AIs in the title game? :p
06:07<ConditionalZenith>yeah :)
06:08<@petern>and probably scenario editor, i didn't check
06:18<dihedral>that would actually be quite a cool title game
06:21<TrueBrain>petern: you should protect many more commands from the menu :)
06:22<@petern>quite possibly
06:22<dihedral>why not have a title game with an ai running?
06:23<dihedral>watch that b**** build
06:23<dihedral>and there you have your demo game :-P
06:24<TrueBrain>petern: nice catch anyway :)
06:24<ConditionalZenith>alternatively he might have read the forum
06:27<dihedral>as if the forum as _that_ much to say when it comes to stuff :-P
06:27<Eddi|zuHause>you should prevent starting games from the title menu :p
06:27<dihedral>i mean - a lot of those suggestions / comments are from a user point of view
06:27-!-MrOxiMoron [] has quit []
06:28<ConditionalZenith>I was meaning that the issue was reported in the forums
06:46-!-bleepy [] has quit [Read error: Connection reset by peer]
06:46-!-RvGaTe [] has quit [Ping timeout: 480 seconds]
06:46-!-bleepy [] has joined #openttd
06:46-!-RvGaTe [] has joined #openttd
06:46<CIA-1>OpenTTD: rubidium * r15052 /trunk/src/network/ (core/core.cpp network_server.cpp): -Codechange: move the implementation of Send_CompanyInformation to network_server.cpp as the server's the one that sends that information
06:52-!-bleepy [] has quit [Read error: Connection reset by peer]
06:52-!-bleepy [] has joined #openttd
06:53<CIA-1>OpenTTD: rubidium * r15053 /trunk/src/network/core/core.cpp: -Cleanup: remove some unneeded includes
06:58-!-roboboy [] has joined #openttd
06:59<CIA-1>OpenTTD: rubidium * r15054 /extra/masterserver_updater/ (18 files in 5 dirs): [MSU] -Codechange: make the masterserver's code a bit more extendable/reuseable
06:59-!-roboboy [] has quit []
07:00-!-roboboy [] has joined #openttd
07:02-!-Wolle [] has joined #openttd
07:02<dihedral>that looks like the first commit to MS in a long time ;-)
07:03<@petern>gah, why is winamp so *slow*
07:05-!-Zahl [] has joined #openttd
07:13-!-frosch123 [] has joined #openttd
07:21-!-DJNekkid [] has quit [Ping timeout: 480 seconds]
07:24<TrueBrain>petern: use a real audio player
07:32<dihedral>my laptop crashed on me!
07:32<dihedral>and will not boot no more!
07:36<dihedral>i need to rescue 60 GB from an HFS+ files system
07:37<Gekz>dihedral: you just lost 60GB
07:37<Gekz>you said rescue, not recover
07:37<Gekz>this is quite simple.
07:37<Mucht>dihedral: the laptop crashed on you? like you lied on the floor and he dropped from a desk?
07:37<dihedral>it's not too hard
07:37<Gekz>Mucht: it dropped*
07:38<Gekz>lol at people from gendered languages
07:38<dihedral>Mucht, there is a difference between crashed and fell
07:38<Mucht>oh :-P
07:38<dihedral>but nice try ;-)
07:38-!-Netsplit <-> quits: sigmund, Bergee, snappy, Tefad, roboboy
07:38<Mucht>nvm, I'll keep that picture in my mind
07:38-!-Netsplit over, joins: sigmund, snappy
07:38<Mucht>dihedral: you read our blog? ;-)
07:39<dihedral>will do
07:39-!-Netsplit over, joins: roboboy, Tefad, Bergee
07:39<dihedral>nice :-)
07:39<dihedral>thanks and congrats [com]buster
07:44-!-einKarl [] has joined #openttd
07:45<dihedral>nice - commented also Mucht
07:47-!-ConditionalZenith [] has quit [Quit: Leaving]
07:51<CIA-1>OpenTTD: truebrain * r15055 /trunk/src/ai/ai_scanner.cpp: -Add [NoAI]: add the AICONFIG_RANDOM and AICONFIG_BOOLEAN consts (Yexo)
07:52<CIA-1>OpenTTD: truebrain * r15056 /trunk/src/ai/ai_config.cpp: -Add [NoAI]: when starting a game, give a random value to the setting marked with AICONFIG_RANDOM (Yexo)
07:56-!-DJNekkid [] has joined #openttd
08:06-!-Ctibor [~ctibor@] has quit [Read error: Connection reset by peer]
08:10<CIA-1>OpenTTD: truebrain * r15057 /trunk/src/ai/ (ai_config.cpp ai_info.cpp ai_info.hpp): -Fix [NoAI]: clamp the values of a setting between the ones allowed by info.nut
08:18-!-Vikthor [] has quit [Remote host closed the connection]
08:20-!-roboboy [] has quit [Quit: ajax IRC Client]
08:23-!-DJNekkid [] has quit [Read error: Connection reset by peer]
08:25<frosch123> <- haha, I wonder how many natives can read that message before the error popup closes :p
08:26<CIA-1>OpenTTD: truebrain * r15058 /trunk/src/console_cmds.cpp: -Fix [NoAI]: when using start_ai in console, start the next configured one, not a random (Yexo)
08:27<TrueBrain>frosch123: I think it is total overkill ;)
08:27<TrueBrain>(even more the message)
08:27<frosch123>TrueBrain: I am very sure there will show up bugreports and complains from a lot of people who liked the old ai
08:28<frosch123>resp. taking over their companies and fixing their tracklayout
08:28<TrueBrain>yeah, people are always afraid of changes, I know
08:28<TrueBrain>but your message really is overkill (and slightly wrong :))
08:28<TrueBrain>0.6.3, okay, but r15027 ... slightly overkill ;)
08:29<frosch123>hmm, true r15027 is overkill
08:29<frosch123>what's wrong btw?
08:29<@petern>just write that AI that behaves similar to the old AI
08:29<TrueBrain>"The game contains companies of old AI players" <- the game contrains companies controller by old AI players
08:29<TrueBrain>"and the AI gamestate will be removed when saving the game." <- it is removed upon loading ;)
08:30<frosch123>but not from the savegame :p
08:30<TrueBrain>petern: cheating?
08:30<@petern>clearly it can't
08:30<TrueBrain>frosch123: but okay, ask Rubidium ;)
08:30<@petern>but they can still be dumb
08:30<TrueBrain>petern: the only way to keep the old AI, is by allowing it to cheat
08:30<@petern>and lay stupid tracks
08:31<TrueBrain>that is very much possible ;)
08:31<@petern>i didn't say exactly the old AI
08:31<TrueBrain>I never knew people were that attached to stupid behavoir ;)
08:32<frosch123>but I have to prevent closing of that window :s
08:32<TrueBrain>like there are 2 cars in front of your house, a brand new ferrari, or a damanged ford k .. and you get in the ford k, because you are so used to it being so .. damaged :p
08:32<TrueBrain>frosch123: I would make it a popup dialog saying: continue load: yes/no ;)
08:32<@petern>i wouldn't bother with a pop up
08:32<frosch123>yes, but the same should be done for the other loading warnings, and currently there can only be one of them
08:33<TrueBrain>I wouldn't bother with a message at all ;)
08:33<TrueBrain>I wonder how long it takes for someone to make an AI that is as stupid as the old AI :p
08:33<TrueBrain>haha :)
08:33<TrueBrain>it will go bankrupt very fast :(
08:34<@petern>not if it makes routes that happen to work
08:34<frosch123>but anyway, it is the first time that something is removed from a stable release, isn't it?
08:34<@petern>it doesn't need to be totally stupid, just have the same look ;)
08:34<TrueBrain>petern: tricky .....
08:34<frosch123>(e.g. pbs was only in nightlies)
08:34<TrueBrain>frosch123: well .. it is not removed, just replaced ;)
08:34<TrueBrain>which happened before :)
08:34<@petern>quite a lot of things have been replaced...
08:35<TrueBrain>frosch123: and just the fact there isn't a comparing AI in trunk 'yet', doesn't mean the release won't ;)
08:36<@petern>wrightai needs to be removed or merged with something that supports other vehicle types, imho
08:37<TrueBrain>petern: wrightAI is just a AI writers demo
08:37<TrueBrain>nothing more
08:37<TrueBrain>nothing less
08:37<@petern>a demo
08:37<@petern>shouldn't be activated in game
08:37<@petern>it's silly
08:38<TrueBrain>for now it will do; and I would suggest people to download AdmiralAI if they want to see something real :)
08:38<TrueBrain>it makes more money than the OldAI ;)
08:38<@petern>why not just add admiralai instead?
08:38<Yexo>petern: because it's still a huge wip
08:38<@petern>that didn't stop bjarni adding autoreplace :p
08:39<TrueBrain>petern: give it some time
08:53-!-vraa [] has joined #openttd
09:00<CIA-1>OpenTTD: truebrain * r15059 /trunk/src/ (ai/ai.hpp ai/ai_core.cpp ai/ai_info.cpp company_cmd.cpp): -Add [NoAI]: use 'start_date' from the AI configure to see when an AI should start next
09:08-!-Ctibor [~ctibor@] has joined #openttd
09:09-!-Zuu [] has quit [Quit: Leaving]
09:10<@Belugas>i agree. better to have a wip than a wimp
09:10<Forked>a wimp wip .. or wip a wimp
09:10<TrueBrain>hi Belugas :)
09:11<planetmaker>@seen Bjarni
09:11<@DorpsGek>planetmaker: Bjarni was last seen in #openttd 3 days, 18 hours, 42 minutes, and 6 seconds ago: <Bjarni> hi Wolf01
09:14<@Belugas>Mister Brain, I salute Ya
09:14<@Belugas>as well as you, Sir Nelson
09:18-!-tokai [] has left #openttd [icebears... take care of them!]
09:19<Forked>or work in progress
09:19-!-Tim-itry [] has joined #openttd
09:21-!-vraa [] has quit [Quit: Leaving...]
09:23-!-Ctibor [~ctibor@] has quit [Ping timeout: 480 seconds]
09:25-!-Ctibor [~ctibor@] has joined #openttd
09:25-!-Tim-itry [] has quit [Quit: ajax IRC Client]
09:26<@Belugas>mmh... Joe Satriani
09:26<@Belugas>quite a master
09:28-!-Mortal [] has quit [Ping timeout: 480 seconds]
09:31-!-Dred_furst [] has joined #openttd
09:33<@Belugas>but when it comes to melodies and moods, Trend Reznor is THE MASTER
09:34<@Belugas>evem the referenced to which the others are compared ^_^
09:38<Forked>speaking of..
09:38<Forked>nin - into the void :-)
09:42<@Belugas>mmh... not on my phone
09:43*Belugas grabs some mp3 cds
09:46*Belugas is on Corona Radiata
09:50-!-Belugas [~belugas@] has quit [Quit: On snow, everyone can follow your traces]
09:54-!-divo [] has joined #openttd
09:55-!-Belugas [~belugas@] has joined #openttd
09:55-!-mode/#openttd [+o Belugas] by ChanServ
09:58-!-vraa [] has joined #openttd
10:00-!-[alt]buster [] has joined #openttd
10:00-!-[com]buster [] has quit [Read error: Connection reset by peer]
10:00-!-[alt]buster is now known as [com]buster
10:02-!-lewymati [] has joined #openttd
10:14-!-Gekz [] has quit [Read error: Connection reset by peer]
10:17-!-dfox [] has quit [Ping timeout: 480 seconds]
10:17-!-dfox [] has joined #openttd
10:23-!-worldemar [~world@] has joined #openttd
10:23<@Belugas>mogwai - Scotland's Shame
10:24<joachim>"Destinations are assigned by station size and distance" - what does that mean (wiki/cargodest)?
10:24<@petern>who knows
10:24<joachim>not me
10:25<Aali>"station size" is probably related to the amount of cargo transferred to/from a station per month
10:25-!-Fuco [] has joined #openttd
10:28-!-Vikthor [] has joined #openttd
10:29<@petern>Belugas! i shall sing the words to 'i'm jim morrison, i'm dead' on channel!
10:30<joachim>so busy stations are more likely destinations?
10:30<@petern>if so then that is flawed
10:31<@petern>should be related to the population covered by a station
10:33<joachim>yeah, from experience i don't think that's the case
10:34<joachim>not sure about the station size either
10:35<@petern>i'd say it needs another rewrite :p
10:36<frosch123>np, should be finishable in some weeks
10:37<joachim>petern: are you 1138?
10:37<@petern>i'm n
10:37<@Belugas>yes, petern, by all means, sing for me :D
10:37<frosch123>yes, he is older thanme
10:38-!-const86 [] has quit [Remote host closed the connection]
10:40<@petern>most things need rewrites ;)
10:42<Aali>problem is, who would take on a cargodest rewrite? there's practically noone working on the current version :P
10:43<@Belugas>ho... a song for Purno :D "Mogwai - Local authority"
10:44<@Belugas>i think it's Purno who requested that cheat (not done) to be a setting ;)
10:45<CIA-1>OpenTTD: smatz * r15060 /trunk/src/ (167 files in 5 dirs): -Fix (r15027): svn properties were lost in the merge
10:45-!-ecke [~ecke@] has joined #openttd
10:46-!-Swallow [] has joined #openttd
10:49<CIA-1>OpenTTD: smatz * r15061 /trunk/src/ (3 files in 2 dirs): -Fix (r15027): three files were missing the Id header
10:50<@petern>Aali: cos it's ugly
10:51<@petern>i'm on 'the sun smells too loud'
10:52<Aali>petern: because its using boost? :P
10:53-!-stillunknown [] has joined #openttd
10:53<@petern>for a start
10:53<@petern>we spent some effort not using stl (vector, list, etc) and then add boost...
10:54<@Belugas>was on May Nothing But Hapiness Come :)
10:54-!-nicfer [] has joined #openttd
10:55<@Belugas>run for cover
10:55<Aali>yeah, I don't like boost either..
10:56-!-nicfer [] has left #openttd []
10:56<Aali>also, the algorithm used from the boost library (dijkstra) is pretty simple, it's not like you need a big fat clunky library just to do that
10:57<@petern>it makes sense from a 'not reinventing the wheel' perspective
10:57<@petern>but it duplicates a lot of data
10:57<@petern>and there are coherency problems with that duplication
11:03-!-yorick [] has joined #openttd
11:03<yorick>glx: FS#2531 can be fixed using just one line :/
11:03<@petern>so can you
11:03<yorick>I wouldn't count on that
11:06<@Belugas>yorick, you mean your fix does not work? nice
11:07<yorick>no, fixing me would not work :p
11:10*Belugas gives a fix to yorick
11:10<@Belugas>fuck... missed the vein
11:13-!-Purno [] has joined #openttd
11:17-!-divo [] has quit [Remote host closed the connection]
11:19-!-HerzogDeXtEr [~Flex@] has joined #openttd
11:20-!-const86 [] has joined #openttd
11:20-!-Mortal [] has joined #openttd
11:26-!-Lakie [~Lakie@] has joined #openttd
11:27-!-OwenS [] has joined #openttd
11:30<CIA-1>OpenTTD: smatz * r15062 /trunk/ (26 files in 12 dirs): -Fix: further forgotten svn properties and headers
11:37<@Belugas>speaking of fixing, yorick, i am still waiting for you to fix you genworld_gui patch, to see what's really in there...
11:38<@Belugas>but of course, if you don't want us to really "appreciate" your work, i might as well close the fs entry :)
11:39<yorick>Belugas: not going to be easy if I can't test it ;)
11:41<@Belugas>like... you make really sense
11:42<yorick>I submitted a fs entry that I can't compile there ;)
11:44-!-Progman [] has joined #openttd
11:45<SmatZ>yorick: can you svn up?
11:45<SmatZ>maybe it was 'fixed' by applying svn properties
11:45<yorick>I can hg pull && hg up...
11:46<TrueBrain>SmatZ: nah, yorick uses a broken GCC
11:47<yorick>4.3 isn't broken, is it?
11:47<SmatZ>yorick: it's experimental, isn't it?
11:48<yorick>it just worked, and can be fixed by actually including the struct definition when using a struct :p
11:48<TrueBrain>only your gcc has problems with that one struct ... so it sems it is broken yes :)
11:48<SmatZ>doesn't sound really "stable"
11:49<yorick>it's the only version that even runs
11:49<frosch123>[17:51] <yorick> it just worked, and can be fixed by actually including the struct definition when using a struct :p <- yes, except the struct isn't used in the offending line
11:49<@Belugas>well... then... i'll be waiting to see if it's worth including. so fix you stuff, fix yiour patch and we'll see
11:50<SmatZ>I don't really mind adding that include...
11:51<yorick>frosch123: "(int32)::FindStationsAroundTiles(ind->xy, ind->width, ind->height).size();" <-- right there
11:53<CIA-1>OpenTTD: truebrain * r15063 /trunk/src/ (7 files in 2 dirs):
11:53<CIA-1>OpenTTD: -Fix [NoAI]: starting companies now listen correctly to 'start_date' set to the AI slot (Yexo)
11:53<CIA-1>OpenTTD: -Add [NoAI]: add a 'deviation' value for all settings, giving a slight deviation of the value of a setting (Yexo)
11:53<TrueBrain>SmatZ: it is just weird that is the only compiler having problems with it ...
11:54<yorick>msvc has had that more than once
11:54*SmatZ is installing gcc 4.3.0 to verify that problem
11:54<TrueBrain>MSVC is a bit bigger compiler
11:54<TrueBrain>I dunno ...
11:55<yorick>it is the only one that is stable on vista
11:55<SmatZ>TrueBrain: maybe that compiler is broken, but if many people are going to use it...
11:55<TrueBrain>haha :)
11:55<TrueBrain>SmatZ: yeah, I know .. just we have 1 (one) report so far ;)
11:57<CIA-1>OpenTTD: truebrain * r15064 /trunk/bin/ai/regression/regression.txt: -Fix (r15063): changes in random made the regression fail
11:57-!-grumbel [] has quit [Quit: Ex-Chat]
11:58-!-const86 [] has quit [Quit: I'll be back]
11:58-!-const86 [] has joined #openttd
12:02-!-HerzogDeXtEr [~Flex@] has quit [Read error: Connection reset by peer]
12:03-!-Mortal [] has quit [Ping timeout: 480 seconds]
12:04<SmatZ>ok, makedepend says ai_instrustry.o doesn't include station_base.h
12:05<yorick>bad makedepend :/
12:05-!-Wolle [] has quit [Quit: - das Wiki rund um's Thema Lager und Logistik]
12:05<yorick>StationSet.size() uses some oldpool which accesses the Station type
12:07<SmatZ>yorick: does this help?
12:08<SmatZ>btw, it is most likely by your std::set being optimised to hold "T *"
12:08<SmatZ>in a way it accesses its members...
12:08<SmatZ>but it is not caused by OTTD code
12:09<SmatZ>I see
12:09-!-Sacro [~ben@] has joined #openttd
12:10<SmatZ>I wasn't right
12:10-!-tokai [] has joined #openttd
12:10-!-mode/#openttd [+v tokai] by ChanServ
12:10<SmatZ>but I don't know why it works on other architectures
12:12<yorick>smatz: still doesn't work with that patch
12:14-!-DJNekkid [] has joined #openttd
12:15<SmatZ>yorick: and this
12:17*yorick tries
12:17<@petern>POOL decs should be in _base :o
12:18<yorick>and it still fails
12:18-!-vraa_ [] has joined #openttd
12:18<SmatZ>then I really don't know :-/
12:18<@petern>so that patch is wrong
12:18<FauxFaux>POOL's closed.
12:19<SmatZ>indeed :)
12:19<yorick>it just needs _base for StationSet
12:19<yorick>how about moving StationSet to _base?
12:20<@petern>try a "struct Station;" before the StationSet
12:22<yorick>also fails
12:23<SmatZ>I think the gcc doesn't realise when that OldPool::index is
12:23<SmatZ>when it doesn't have struct Station defined
12:23-!-[com]buster [] has quit [Read error: Connection reset by peer]
12:23-!-|Jeroen| [] has joined #openttd
12:23<SmatZ>another question is why it needs a comparator when querying set size
12:23-!-[com]buster [] has joined #openttd
12:24<SmatZ>*when -> where
12:24*SmatZ is still compiling gcc 4.3.0
12:24<yorick>it's an associative container ;)
12:25-!-vraa [] has quit [Ping timeout: 480 seconds]
12:25<@petern>what is the StationSet doing?
12:25<yorick>it is a set of stations
12:26<yorick>typedef std::set<Station*, PoolItemIndexLess<Station> > StationSet;
12:26<@petern>my education didn't involve a "set"
12:26<@petern>beyond "set a=1" :p
12:27<@petern>i know it's the return value of FindStationsAroundTiles
12:27<yorick>std::set ;)
12:28<SmatZ>set contains each element at most once, so it needs a comparator to verify there aren't two same items
12:28<SmatZ>or so
12:28<CIA-1>OpenTTD: frosch * r15065 /trunk/src/ (station_gui.cpp tilehighlight_func.h viewport.cpp window.cpp): -Change (r14919): Allow to select a new station location by ctrl-clicking while distant-join window is open. (PhilSophus)
12:28<SmatZ>it probably builds a binary tree, so it uses the comparator there
12:28<@petern>it seems to me that the return value of FindStationsAroundTiles() could just be a simple list of Stations*
12:29<yorick>apparently not
12:29*SmatZ likes that idea
12:29*SmatZ compiled trunk with "gcc version 4.3.0 (Gentoo 4.3.0 p1.2)"
12:29<yorick>gentoo != vista
12:30<SmatZ>so it is mingw-specific, not gcc4.3.0-specific
12:30<@petern>in fact
12:30<@petern>i don't see why it needs to be a StationSet at all
12:30<yorick>because you could sort it somehow?
12:30<@petern>it only needs to check if the station exists before inserting it
12:30<@petern>it's not ever sorted
12:31<yorick>oh, then I don't know
12:31<@petern>it seems std::set is used just so that .insert(st) can be used lazily
12:31<SmatZ>you are right, the fact it is a set is used only when creating the list
12:32<yorick>instead of list::insert?
12:32<yorick>or push_back
12:33<SmatZ>so one doesn't have to verify it isn't in the list already
12:33<@petern>yeah, that's basically it
12:34<@petern>but std::set will have to check that itself
12:34<@petern>so adding a 'manual' check ourselves isn't going to cost anything more
12:34-!-Zorn [] has quit [Read error: Connection reset by peer]
12:37<frosch123>SmallVector can already do that :p
12:37-!-TinoM [] has joined #openttd
12:37<@petern>well then
12:39<governor>to be quite honest I have no idea what any of your coding speak is
12:39<governor>but i love the game and appreciate the effort from all of you!
12:40-!-Zorn [] has joined #openttd
12:40-!-Yeggstry [] has joined #openttd
12:40<Aali>I noticed something with the distant join patch yesterday
12:40<Aali>the station select window isn't updated if you change station spread
12:41<Aali>if you don't want to implement that, atleast close it ;)
12:44<frosch123>hehe, also tested that, but I guess it is ok
12:45<SmatZ>Aali: frosch123: I think it is a bug :)
12:45<frosch123>to much trouble to update the list, just because someone messes with the settings
12:45<SmatZ>it shouldn't be hard to fix it...
12:45<frosch123>same holds when another player terraforms the tile
12:45<frosch123>do you want to close the window then?
12:46<SmatZ>or when another player builds a station nearby 8-)
12:46<frosch123>though I guess deleteing stations is handled :)
12:47<SmatZ>would it be cpu--intensive to update the list each tick?
12:48<@petern>compiles for me, dunno if it works :p
12:50*yorick tests
12:50<frosch123>+ if (stations.Find(st) == stations.End()) *stations.Append() = st; <- how about just Include() :p
12:50-!-dfox [] has quit [Ping timeout: 480 seconds]
12:51<yorick>petern: works
12:52<@petern>frosch123: fine, i see smallvector's got bigger since i wrote it :p
12:52<@petern>that begin_tile_loop macro really needs to fuck off and die
12:52<ccfreak2k>petern, it's been Americized.
12:52<@petern>yorick, works or compiles? ;-)
12:53-!-dfox [] has joined #openttd
12:53<ccfreak2k>Sort of like how large soft drink cups in fast food restaurants are now "medium"./
12:53<yorick>it compiles further than before
12:53<SmatZ>petern: seems to work
12:54<yorick>oh, and it works
12:55-!-lewymati [] has quit []
12:56<Eddi|zuHause>you mean they sell 0.5l drinks as "medium"?
12:57<Eddi|zuHause>i only know that of beer, when it is "bavarianised" :)
12:57<Eddi|zuHause>(where a 'large' beer is 1l)
13:04<CIA-1>OpenTTD: truebrain * r15066 /trunk/src/ (ai/ai.hpp company_cmd.cpp): -Change: start_date is now in days, instead of in months (Yexo)
13:10-!-Wolf01 [] has joined #openttd
13:15<@Belugas>make him a dev, for God Sake!
13:15<@Belugas>hello Wolf01
13:15-!-|Jeroen| [] has quit [Quit: oO]
13:16<Wolf01>I vote for making him a dev too
13:16<Wolf01>hello wise man :P
13:19<CIA-1>OpenTTD: peter1138 * r15067 /trunk/src/ (4 files in 2 dirs): -Fix [FS#2531]: Possible compiler bug, alleviated by using SmallVector instead of using std::set. SmallVector does everything needed anyway.
13:21<yorick>thanks :)
13:21<@petern>only because i like smallvector ;)
13:22<yorick>"Where is the GRFCodec installer" <-- ...
13:25<dihedral>my os x system is broken
13:25<dihedral>does not boot into normal mode no more
13:26<@Belugas>yorick, welcome to the land of Stupidity. You'll found it is a very crowded one
13:26<Rubidium>dihedral: so you've got a patented and exclusive iBrick?
13:27<CIA-1>OpenTTD: truebrain * r15068 /trunk/src/ai/ (ai_info.cpp ai_info.hpp): -Add [NoAI]: introducing 'step_size' for AIConfig, for future AIGUI (Yexo)
13:27<dihedral>Rubidium: PowerBook G4 12"
13:27<dihedral>that's where i do most of my development on
13:27<Rubidium>can't you simply put in some boot cd and recover the important data from it?
13:28<dihedral>i booted into safe mode, started networking, and am copying some 20 odd GB to my workstation
13:28<@Belugas>[13:23] <yorick> "Where is the GRFCodec installer" <-- ...<---that
13:28<dihedral>however a normal boot ends in a kernel panic
13:29<dihedral>which is very very seldom for os x
13:29<yorick>no, AIGUI
13:31<yorick>meh, extracting zip is actually faster than copying a file
13:33-!-gynter [] has joined #openttd
13:33-!-Yeggstry [] has quit [Read error: Connection reset by peer]
13:34<dihedral>because you have less data to read?
13:42<CIA-1>OpenTTD: frosch * r15069 /trunk/src/station_gui.cpp: -Change (r14919): Make distant-join less intelligent but more transparent to the user by always showing the selection window, even if there is only one option to choose from. (PhilSophus)
13:42<CIA-1>OpenTTD: translators * r15070 /trunk/src/lang/ (16 files): (log message trimmed)
13:42<CIA-1>OpenTTD: -Update: WebTranslator2 update to 2009-01-13 18:42:22
13:42<CIA-1>OpenTTD: brazilian_portuguese - 16 fixed by tucalipe (16)
13:42<CIA-1>OpenTTD: catalan - 8 fixed by arnaullv (8)
13:42<CIA-1>OpenTTD: croatian - 24 fixed by tifached (24)
13:42<CIA-1>OpenTTD: czech - 8 fixed by Hadez (8)
13:42<CIA-1>OpenTTD: dutch - 2 fixed by Excel20 (2)
13:45-!-[com]buster [] has quit [Read error: Connection reset by peer]
13:45-!-[com]buster [] has joined #openttd
13:46-!-Nite_Owl [] has joined #openttd
13:46<Nite_Owl>Hello all
13:47<dihedral>huu huu
13:48-!-Mark [] has quit [Read error: Connection reset by peer]
13:49<TrueBrain>I think dihedral is a bit bored
13:50<dihedral>dihedral has a fantastic mood actually
13:51<TrueBrain>those 2 are not exclusive ;)
13:51<@Belugas>dihedral always imitate the owl when Nite_Owl comes in the channel
13:51<@Belugas>he's a bot
13:51<dihedral>not true :-S
13:51<TrueBrain>ah :)
13:51<dihedral>i've only done that 3 times
13:51<TrueBrain>explains a lot ;)
13:51<dihedral>but now that you mention it... i could add a script
13:52<@Belugas>man this song is addictive!
13:52-!-M4rk [] has joined #openttd
13:52-!-M4rk is now known as Mark
13:53<Nite_Owl>Ahhh - Owl sounds - I was never sure if it was a 'Hello' response or not
13:54-!-Darkvater [] has joined #openttd
13:54-!-mode/#openttd [+o Darkvater] by ChanServ
13:54<TrueBrain>oh no, it is a Darkvater
13:54<@Darkvater>shut up!
13:54*Darkvater waves
13:54<@Darkvater>hi all :)
13:54<Progman>cover yourself!
13:54<TrueBrain>Hi Darkvater :)
13:54<@Darkvater>I think something is wrong with me...
13:54<frosch123>Nite_Owl: though "huh huh" might be considered "hello" by some weird germans
13:55<@Darkvater>I don't find pleasure in programming for openttd... at least cannot get enough enthousiasim to dive into the code again
13:55<@Belugas>hey Darki
13:55<SmatZ>oh hello Darkvater
13:55<SmatZ>darki-varki :)
13:55-!-tom0004 [~Tom@] has joined #openttd
13:55<dihedral>hello Darkvater
13:55<@Darkvater>hi gusy
13:55<frosch123>Darkvater: try to sync cargodest, you won't have to dive, it will burry you on its own
13:56<@Darkvater>yeah; where's celestar?
13:56<@Darkvater>he should really finish cargodest
13:56<@petern>@seen celestar
13:56<@DorpsGek>petern: celestar was last seen in #openttd 2 weeks, 0 days, 2 hours, 48 minutes, and 51 seconds ago: <Celestar> cu :D
13:56<dihedral>he's escaped
13:56<dihedral>how on earth did he manage that!
13:56<@Darkvater>I was really lucky though. turned on the pc on Sunday and the PSU just exploded
13:56<@Darkvater>thank god nothing else broke :O
13:57<@Belugas>must have been those rebels...
13:57<@petern>it was patchman
13:57<dihedral>Darkvater: was it made in pakistan?
13:58<@Darkvater>Enermax 5+ years
13:58<Eddi|zuHause>dihedral: with the second cosmic velocity
13:58<@Darkvater>but still :S
13:58<@Darkvater>it cost me a damn 100 euros
13:58<@Darkvater>so, how're you doing all?
13:59<@Darkvater>I saw TL merged noai
13:59<@Darkvater>and we have some nice tree-subtree advanced settings gui thingie
13:59<@Belugas>nice on my side... pressure has started to get more tolerable at work
13:59<@Belugas>so... a bit more time to waste on irc and c++
13:59<@Darkvater>my full-time job starts next Monday
14:00<@Darkvater>and no internet to distract me
14:00<@Darkvater>will I survive?
14:00<@Darkvater>hm, manwhore would be cool
14:01-!-Nite_Owl [] has quit [Quit: Read You Soon]
14:01<Sacro>@seen Bjarni
14:01<@DorpsGek>Sacro: Bjarni was last seen in #openttd 3 days, 23 hours, 32 minutes, and 7 seconds ago: <Bjarni> hi Wolf01
14:01<Eddi|zuHause>job without internet? where is that possible nowadays?
14:01<@Darkvater>oh; has it returneth?
14:01<@Darkvater>well, there's internet but on another machine
14:02<Sacro>I'm sorry Darkvater, but the internet is in the other castle
14:03<@petern>WHAT WAS I DOING?
14:03<@Darkvater>Sacro: I'll do you for free :)
14:03<dihedral>lol Darkvater
14:03<Sacro>Darkvater: same as always then ;)
14:03<@Darkvater>yes, but now it's official
14:03<dihedral>you sick wierdos
14:04<@Darkvater>you can come too
14:04<dihedral>you want me to bring my hamster too?
14:04<@Darkvater>you'll have to ask Sacro. He's into that kind of things
14:05<yorick>oh hi DarkVater
14:06<@Darkvater>hi :)
14:06<@Darkvater>bleh, you cannot sort the severs list anymore on
14:06-!-elmex [] has quit [Remote host closed the connection]
14:06-!-elmex [] has joined #openttd
14:07<yorick>"There are 158 clients and 156 servers.
14:07<dihedral>that is so sad
14:08<dihedral>one should clear out all the old stuff
14:08<yorick>finally more clients than servers
14:08-!-Nite_Owl [] has joined #openttd
14:08<Nite_Owl>Returned - my audio died
14:09<dihedral>so you restarted your computer?
14:09<dihedral>yorick: exploit them :-P
14:09<Nite_Owl>and fiddled with a few connections
14:10<@petern>power connection? :)
14:11-!-elmex [] has quit [Remote host closed the connection]
14:16<Nite_Owl>very old computer and boots tend to go wonky on occasion
14:20-!-root [] has joined #openttd
14:22<root>Tudo bem?
14:22-!-root [] has quit [Quit: using sirc version 2.211+ssfe]
14:22*Sacro sets up his n00b pwning scripts
14:22<DJNekkid>"OwenS likes the separator GRFs, should be handy for people looking at the Newgrf list :p" ... guess who made it :)
14:23<DJNekkid>bah, wrong window
14:24<yorick>oh hi DJNekkid
14:24<DJNekkid>hi yorick
14:24<yorick>I heard you quit the international planeset :|
14:25<@petern>he only does local planeset now
14:28<@Belugas>i'd rather be on the astral plane
14:40-!-HerzogDeXtEr [~Flex@] has joined #openttd
14:40-!-Eddi|zuHause2 [] has joined #openttd
14:42*SpComb wonders how to not break the users's desktop resolution once a fullscreen mode game exits
14:42-!-Nite_Owl [] has quit [Read error: Connection reset by peer]
14:42-!-energetic [] has joined #openttd
14:42-!-Nite_Owl [] has joined #openttd
14:43<Eddi|zuHause2>@calc 10*1024/8/3600
14:43<@DorpsGek>Eddi|zuHause2: 0.355555555556
14:43<Nite_Owl>not my day
14:43<Eddi|zuHause2>that's not the right formula...
14:44<TrueBrain>you can't blame that on DorpsGek Eddi|zuHause ;)
14:44<TrueBrain>| < Eddi|zuHause | formula > | ^ 2 = 0 ;)
14:44-!-Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
14:44-!-Eddi|zuHause2 is now known as Eddi|zuHause
14:45<yorick>what's the height planes normally fly at?
14:45<dihedral>10000 ft
14:45<TrueBrain>intercontinal, yes
14:46<Eddi|zuHause>@calc 40*1024*8/3600/10
14:46<@DorpsGek>Eddi|zuHause: 9.10222222222
14:47<Eddi|zuHause>planes don't usually cast a significant shadow :p
14:47<TrueBrain>Eddi|zuHause: you think?!
14:48<CIA-1>OpenTTD: frosch * r15071 /trunk/src/rail_gui.cpp: -Fix (r14919): When drag&dropping rail-stations with X orientation, distant-join scanned a wrong area for stations.
14:48<Eddi|zuHause>when was the last time you stood in the dark because of a "solar eclipse" caused by a plane?
14:49<Yexo>petern: since 15067 I get a segfault when starting openttd
14:49<@Darkvater>hmm, guys what about that new newgrf station build gui with preview pictures? ;)
14:50<planetmaker>Darkvater: it still needs some fixing...
14:51<planetmaker>and good evening everyone :)
14:51<@Darkvater>fix it, fix it, fix it, fix it!
14:51<@Darkvater>I should probably play openttd though to get the benefits :P
14:51<planetmaker>I'm very poor at GUI stuff. It misses scrolling with the scroll wheel while mouse over
14:55<CIA-1>OpenTTD: frosch * r15072 /trunk/src/station_gui.cpp: -Fix (r14919): Distant-join search-area was determined inconsistently.
14:58<dihedral>Darkvater: play at #openttdcoop :-P
14:58<@Darkvater>gimme more time ;)
14:58-!-dihedral was kicked from #openttd by Belugas [spammer!]
14:58<Eddi|zuHause>how does one series manage to even get cliffhangers to be boring?
14:58-!-dihedral [] has joined #openttd
14:58<TrueBrain>Eddi|zuHause: which serie?
14:59<Eddi|zuHause>just watched knight rider...
14:59<Eddi|zuHause>what a waste of time...
14:59<@Belugas>incredible to notice this : how long was distant-join station tested and verified before merged in trunk... and now, count how many fixes have been made since it was...
14:59<TrueBrain>knight rides has nice babes
14:59<TrueBrain>that is all
14:59<TrueBrain>Belugas: there is no better testbed than trunk :)
14:59<@Darkvater>so we no longer need to station-walk?
15:00<@Darkvater>what happened to all the fun :(
15:00-!-vraa_ [] has quit [Quit: Leaving...]
15:01<@Belugas>"they" wanted some Moooo' Featu'es
15:01<Wolf01>sloped station is ready for trunk!
15:01<TrueBrain>Darkvater: I Agree with you there ;)
15:03<@Belugas>laziness crawls all over ya
15:05<Eddi|zuHause>next thing to get committed is copy-paste :p
15:05<Eddi|zuHause>and the fun thing is, it is also "well tested" :p
15:05-!-fjb [] has joined #openttd
15:05<@Darkvater>good nighyt :)
15:05-!-Darkvater [] has quit [Quit: leaving]
15:06<Eddi|zuHause>oh, and on top of copy-paste, you can easily introduce an "undo" option :p
15:08-!-[alt]buster [] has joined #openttd
15:08-!-[com]buster [] has quit [Read error: Connection reset by peer]
15:08-!-[alt]buster is now known as [com]buster
15:09<yorick>eddi: I wouldn't count on that
15:09<yorick>copy-paste isn't finished :p
15:09<yorick>still needs stations, which depended on the distant join stations patch
15:09-!-energetic [] has left #openttd []
15:10<Eddi|zuHause>i was being ironic
15:10<@Belugas>scary to see that yorick was not ^_^
15:14-!-energetic [] has joined #openttd
15:18<goodger>maybe he's just autistic
15:19*Sacro arranges his keys into alphabetic order
15:21-!-snappy [] has quit [Ping timeout: 480 seconds]
15:22<Yexo>can someone please look at ? latest trunk crashes upon startup
15:25-!-CIA-1 [~CIA@] has quit [Ping timeout: 480 seconds]
15:25-!-Mortal [] has joined #openttd
15:28<@petern>yes i am
15:30<planetmaker>Yexo: it doesn't crash here...
15:30<Yexo>planetmaker: it uses freed data, which may be valid, but may also be invalid (as in my case)
15:31<Yexo>so it's mere luck it's working for you :)
15:31<planetmaker>so, I guess it's my lucky day :)
15:34<@petern>three solutions:
15:34<@petern>1) revert
15:34<@petern>2) add a copy constructor
15:34<@petern>3) change code to pass pointers around
15:35-!-worldemar [~world@] has quit [Quit: An exit status of zero indicates success, and a nonzero value indicates failure.]
15:35<frosch123>4) Pass "StationList *stations = NULL" as argument
15:35<frosch123>or is that 3)
15:35-!-Purno [] has quit [Read error: Connection reset by peer]
15:36<frosch123>2) is stupid as it does even more allocs and frees
15:36-!-sigmund_ [] has joined #openttd
15:36<Yexo>frosch123: 2) does a much extra allocs and frees as 3)
15:37<Yexo>depends on whether you implement 3) as returning a pointer or whether you pass a pointer to the function though
15:37<@petern>that's basically what i thought
15:37<@petern>2) is easy, but yes...
15:37<frosch123>1) might also have done the allocing and freeing
15:37<@petern>also means it was inefficient before :)
15:38-!-sigmund [] has quit [Ping timeout: 480 seconds]
15:38<@petern>1) would do the same as 2), just the copy constructor was already there
15:38<@petern>2) works but i don't like the additional overhead
15:38<@petern>so i'm doing 3)
15:38<Yexo>that seems the best solution :)
15:38<frosch123>economy.cpp does similiar with IndustryList
15:39<frosch123>and it uses a static list, to hardly do any reallocs
15:39<frosch123>though if you head for multithreading... :p
15:40-!-Wolle [] has joined #openttd
15:40<@petern>i've beaten up bjarni before for copying stuff around all the time ;)
15:41<frosch123>yeah, without bjarni you should search for another one to beat
15:41<@petern>i blame... whoever wrote the code originally ;)
15:42<TrueBrain>sure, blame me :)
15:43<Yexo>adding a copy constructor with NOT_REACHED to smallvector can prevent this problem in the future
15:43-!-Brianetta [] has joined #openttd
15:44<@petern>yeah i was thinking of that too :)
15:44<@petern>but there's probably more than just smallvector to add that to
15:46<@petern>mental-note: never trust yorick when he says it works ;)
15:46-!-Hirundo [] has joined #openttd
15:47<Yexo>thanks for the quick fix petern :)
15:47-!-Swallow [] has quit [Read error: Connection reset by peer]
15:47<TrueBrain>petern: accepted
15:47-!-Hirundo is now known as Swallow
15:53<yorick>petern: it _really_ worked
15:53<@petern>i know
15:53<DJNekkid>are there ANY posibility i can use a scenario made of r14996 in 14691?
15:53<@petern>just it used freed memory :D
15:53<@petern>DJNekkid: yeah, hack the savegame yourself
15:54-!-Ctibor [~ctibor@] has quit [Quit: Konversation terminated!]
15:54<DJNekkid>well ... hmm ... oki ?
15:54<@petern>unless you're really lucky and there were no savegame changes
15:54-!-Swallow [] has quit [Quit: ChatZilla 0.9.84 [Firefox 3.0.5/2008120122]]
15:54<frosch123>DJNekkid: just create a giant screenshot, and then open the scenario editor
15:55<DJNekkid>froch: well, copying it over is doable, but it takes time
15:55<Wolf01>that would be a nice feature, create scenario from screenshot
15:55<DJNekkid>petern: it have changed
15:55<DJNekkid>"made from newer version"
15:56-!-einKarl [] has quit [Remote host closed the connection]
16:00-!-haraldkl [] has joined #openttd
16:02<TrueBrain>hello haraldkl
16:02<haraldkl>I just compiled trunk for the first time to try the opengfx, and compiling worked just fine, but upon save (autosave) I get: openttd/src/saveload/saveload.cpp:511: void SlSaveLoadConv(void*, VarType): Assertion `x >= 0 && x <= 65535' failed. Aborted
16:03<haraldkl>Didn't find anything on that in the bug tracker
16:03<SmatZ>do you use the daylength patch?
16:04<SmatZ>haraldkl: ^^
16:04<haraldkl>no just trunk
16:04<haraldkl>nothing patched
16:04<SmatZ>hmm that's bad :-x
16:04<@petern>do you have a save? ;-)
16:04<SmatZ>do you get it every time you run the game?
16:05-!-elmex [] has joined #openttd
16:06<SmatZ> _next_competitor_start = AI::GetStartNextTime() * DAY_TICKS;
16:06<SmatZ>I think this may be the cause
16:06<haraldkl>(gdb) bt
16:06<haraldkl>#0 0x00007fe077d48fd5 in raise () from /lib/
16:06<haraldkl>#1 0x00007fe077d4ab43 in abort () from /lib/
16:06<haraldkl>#2 0x00007fe077d41d49 in __assert_fail () from /lib/
16:06<haraldkl>#3 0x000000000057b6c1 in SlSaveLoadConv ()
16:06<haraldkl>#4 0x000000000057d6e8 in SlObjectMember ()
16:06<SmatZ> SLEG_VAR(_next_competitor_start, SLE_FILE_U16 | SLE_VAR_U32),
16:06<haraldkl>#5 0x000000000057d970 in SlObject ()
16:06<haraldkl>#6 0x000000000057c04e in SaveOrLoad ()
16:06<haraldkl>#7 0x0000000000539664 in SwitchMode ()
16:06<haraldkl>#8 0x000000000053a048 in GameLoop ()
16:06<haraldkl>#9 0x00000000005eb886 in VideoDriver_SDL::MainLoop ()
16:06<haraldkl>#10 0x000000000053ae34 in ttd_main ()
16:06<haraldkl>#11 0x00007fe077d34466 in __libc_start_main () from /lib/
16:06<haraldkl>#12 0x00000000004058a9 in _start ()
16:06<SmatZ>@kick haraldkl
16:06-!-haraldkl was kicked from #openttd by DorpsGek []
16:06<TrueBrain>SmatZ: 'paste'
16:06<SmatZ>arrrr... :-x
16:07<TrueBrain>SmatZ: how can that be the reason?
16:07<SmatZ>TrueBrain: it is 16bit in savegame
16:07-!-haraldkl [] has joined #openttd
16:07<TrueBrain>ah :) Yeah, that is possible .. :)
16:07<SmatZ>so if the value is set too high
16:07<SmatZ>it will fail this way
16:07<TrueBrain>so an other savegame bump? :p
16:08<SmatZ>actually, it's
16:08<SmatZ>haraldkl: were you playing with noai?
16:08<Rubidium>okay... that piece of code doesn't make much sense
16:08<Yexo>SmatZ: that doesn't matter
16:08<haraldkl>well I just checked out the code and tried to follow the tutorial
16:08<SmatZ>ok then :)
16:08<Rubidium>12 * DAY_TICKS != year
16:09<haraldkl>the game aborted when reaching the autosave
16:09<TrueBrain>Rubidium: the value is in days
16:09<haraldkl>I didn't change anything
16:09<TrueBrain>try to keep up
16:09<TrueBrain>Yexo: if the value exceeds 16bit, protections kick in
16:09<Yexo>AI::GetStartNextTime() returns the value in days
16:09<SmatZ>@calc 65535 / 365
16:09<@DorpsGek>SmatZ: 179.547945205
16:09<Rubidium>-1 * DAY_TICKS anyone?
16:10<Rubidium>TrueBrain: /* Currently no AI can be started, check again in a year. */
16:10<Rubidium> return 12;
16:10<Yexo>Rubidium: that value can never be -1
16:10<Rubidium>that's AI::GetStartNextTime()
16:10<Yexo>yeah, but that was from before the month->day change
16:10<SmatZ> START_NEXT_EASY = 1461,
16:10<SmatZ>Rubidium: hehe yeah, that 12 is weird ;)
16:11<TrueBrain>SmatZ: <- like that?
16:11<@petern>big merges always have teething issues ;)
16:12<Yexo>TrueBrain: then change AI::GetStartNextTime in one go to return 365 instead of 12
16:12<SmatZ>TrueBrain: it could be temporarily changed back to months... and I think you should do _next_competitor_start *= 31 for older savegames
16:12<TrueBrain>Yexo: you might want to check the latest commit :p
16:13<SmatZ>because then the value is meaningless anyway
16:13<TrueBrain>SmatZ: _next_competitor_start always was in days
16:13<TrueBrain>SmatZ: but ... 'easy' values are a bit higher now :p
16:13-!-elmex [] has quit [Remote host closed the connection]
16:13<Yexo>TrueBrain: I miss CIA in this channel
16:13<@petern>that's not our fault :p
16:13<TrueBrain>Yexo: I have CIA on mute :p
16:13<Yexo>SmatZ: it always was in ticks, not days :)
16:13<TrueBrain>@openttd commit
16:13<@DorpsGek>TrueBrain: Commit by truebrain :: r15074 trunk/src/ai/ai_core.cpp (2009-01-13 21:11:02 UTC)
16:13<@DorpsGek>TrueBrain: -Fix: make Rubidium happy
16:14<SmatZ>TrueBrain: Yexo: ah ok :)
16:14-!-Yeggstry [] has joined #openttd
16:14<TrueBrain>haraldkl: can you see if fixes your problem?
16:14<goodger>DorpsGek: surely impossible
16:14<@petern>goodger is now talking to bots... whatever next :D
16:15<goodger>dorpsgek makes more sense than many humans in here sometimes
16:15<TrueBrain>if you take yourself as template, I can imagine that
16:16<TrueBrain>@calc 65535 / 74 / 365
16:16<@DorpsGek>TrueBrain: 2.42632358386
16:17<SmatZ>@calc 65535 / 74
16:17<@DorpsGek>SmatZ: 885.608108108
16:17<haraldkl>TrueBrain: yes, it seems to work now
16:18<TrueBrain>Rubidium: did I do the numbers right? :)
16:18<SmatZ>@calc (2**32) / 74
16:18<@DorpsGek>SmatZ: 58040098.5946
16:18<SmatZ>it fits now
16:19<@Belugas>seems like my ears are starting to work about normal now. Just realized that the musci was VERY loud
16:19<Rubidium>looks like it, but why would you need more than 2 years before starting a new AI?
16:20<OwenS>Belugas: Get a Hi-Fi which specifies volumes in Db :p
16:20<Yexo>Rubidium: the default setting for easy is 4 years
16:20-!-yorick [] has quit [Quit: Poef!]
16:21<Rubidium>in the "original"?
16:21<@petern>OwenS, er... what?
16:21<Rubidium>if that's the case it would've been bugged for eons
16:21<Yexo>no, currently
16:21<Yexo>but the code was bugged, so AIs to 15 (max_companies) times as long to start as they should have
16:21<Rubidium>what about changing that to something less?
16:22<OwenS>petern: You would realise the volume was loud when the volume was 95dB :p
16:22<@petern>dB is relative
16:22*Belugas nods
16:22<OwenS>dB SPL :p
16:22<Yexo>4 years isn't that long for a 100 year game
16:23<Yexo>on easy only 2 AIs are started, so assuming you start in 1950 the last AI starts in 1958
16:23<@petern>OwenS, hifi equipment won't tell you that
16:24-!-Yeggstry [] has quit [Read error: Connection reset by peer]
16:24<OwenS>Mine tells you the approximate output volume in dB SPL
16:24<@petern>it rather depends on the characteristics of the speakers you use
16:24<OwenS>With the supplied speakers :p
16:24<@petern>then it's not hifi
16:24<OwenS>Ok, stereo :p
16:25<haraldkl>TrueBrain: indeed, no aborts with that patch anymore. Thanks a lot for that fast help :D
16:25<OwenS>Still separate speakers and still better than 99% of PC speakers :p
16:25<@petern>a -dB volume level makes more sense... 0 meaning 'the loudest it'll do'
16:25<Rubidium>anyhow... the patch is fine by me
16:25<OwenS>I probably throw it's dB measurements off by turning on the power subwoofer though :p
16:25<@petern>of coruse, then there's distance...
16:26<@petern>everyone knows the best equipment only goes up to 11
16:29-!-[com]buster [] has quit [Read error: Connection reset by peer]
16:29-!-tom0004 [~Tom@] has quit [Quit:]
16:30-!-[com]buster [] has joined #openttd
16:32<TrueBrain>haraldkl: tnx for testing
16:33<dihedral>my mac looks worse than i first thought it was
16:34<@petern>well it's a mac
16:34<dihedral>reinstalled os x, get a kernel panic on normal boot, however safe mode works
16:34<dihedral>petern: that's a silly remark - they run most stable usually
16:34-!-Zuu [] has joined #openttd
16:35<@petern>TrueBrain, shit, only 65426 savegame revisions left!
16:35<@petern>yeah but they can look bad...
16:35<TrueBrain>petern: OH NO!
16:35<TrueBrain>I remember when we converted it to a single number (instead of minor/major)
16:35<TrueBrain>people were afraid we would run out ....
16:36<TrueBrain>since then we had 60 revisions :p
16:36<@petern>the mac cube... that looked terrible
16:36<@petern>more than that
16:36<dihedral>a kernel panic looks worse :-P
16:36<OwenS>No doubt revision 65535 will introduce a 128-bit revision number following the legacy one :p
16:37<Wolf01>no, only a bool which means 65535+1 and no more new savegame revisions
16:37-!-TinoM [] has quit [Quit: Verlassend]
16:38<OwenS>Why 128-bit? because format engineer's typical response to running out of numbers is to make the new system have an infinitesimally large number of them (See: IPv6)
16:39-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
16:40<@Belugas>Wolf01, a bool is an 8 bit value, at the minimum ;)
16:41<OwenS>gcc -o test test.c; ./test
16:41<OwenS>sizeof(bool) = 1
16:41<OwenS>Hmm, I'm used to it being evilly 4
16:43<OwenS>When I define my own ABI, i'm defining true as -1...
16:43<@petern>following the great tradition of VB?
16:43<OwenS>Nah, following the idea that all ones is better than a 1
16:44<OwenS>Allows better optimization
16:44<dihedral>moment of truth...
16:44<dihedral>wish me luck
16:45-!-snappy [] has joined #openttd
16:55-!-DJNekkid [] has quit [Read error: Connection reset by peer]
16:55-!-DJNekkid_ [] has joined #openttd
16:55-!-DJNekkid_ is now known as DJNekkid
16:58-!-FauxFaux_ [] has joined #openttd
17:00-!-FauxFaux [] has quit [Ping timeout: 480 seconds]
17:04<@Belugas>gone home
17:04<@Belugas>see ya
17:05-!-sigmund_ [] has quit [Ping timeout: 480 seconds]
17:13<@petern>i guess dihedral ran out of luck
17:13<dihedral>he did
17:19-!-el_en [] has joined #openttd
17:22-!-tokai [] has quit [Quit: icebears... take care of them!]
17:22-!-DJNekkid_ [] has joined #openttd
17:24<dihedral>it sucks - i do all my development on that thing!
17:28-!-DJNekkid [] has quit [Ping timeout: 480 seconds]
17:28-!-DJNekkid_ is now known as DJNekkid
17:31-!-[alt]buster [] has joined #openttd
17:34-!-joachim is now known as joa1138
17:37-!-[com]buster [] has quit [Ping timeout: 480 seconds]
17:37-!-[alt]buster is now known as [com]buster
17:38-!-joa1138 is now known as janitor
17:38-!-KritiK [] has joined #openttd
17:46-!-vraa [] has joined #openttd
17:46<Progman>there was/is a debug window for the AIs, aren't/weren't there?
17:47<SmatZ>Progman: there is, under the rightmost menu item
17:47<SmatZ>"big red ?"
17:48<Progman>aah, thanks
17:48<SmatZ>you are welcome :)
17:52-!-Mortal [] has quit []
17:52<el_en>@seen ludde
17:52<@DorpsGek>el_en: ludde was last seen in #openttd 13 weeks, 2 days, 14 hours, 7 minutes, and 45 seconds ago: <ludde> ;)
18:00-!-el_en [] has quit [Quit: ¡Sólo el inglés!]
18:02-!-qball [] has quit [Ping timeout: 480 seconds]
18:04-!-Yeggstry [] has joined #openttd
18:05-!-CIA-2 [~CIA@] has joined #openttd
18:07<TrueBrain>I need a simple tool which tells me the grfid (and checks if a grf is valid) ... anyone has such tool / can produce such tool relative quick?
18:08<dihedral>TrueBrain: you have access to one!
18:08<frosch123>TrueBrain: hack grf2html
18:08<TrueBrain>sorry, forgot to add: C-based, if possible
18:08<frosch123>or OTTD
18:08<TrueBrain>fast, small, simple
18:08<frosch123>is grfcodec + grep + sed acceptable?
18:09<TrueBrain>frosch123: for me, sure
18:09<DaleStan>TrueBrain: "And checks if a grf is valid"? That's a pretty involved check. Even NFORenum doesn't find everything that could be wrong with a grf.
18:10<frosch123>no idea how grfcodec reports invalid grfs
18:10<ccfreak2k>What differentiates a valid GRF from an invalid one?
18:10<TrueBrain>frosch123: I just need to filter out people trying to get a .. html file through it, or what ever :)
18:11<frosch123>noai tounament?
18:11<TrueBrain>frosch123: something like that
18:11<TrueBrain>frosch123: and I need to be sure grfcodec doesn't hit an infinite loop for some weird reason ;)
18:11<frosch123>then you are doomed
18:12<DaleStan>If all you're worried about is that it not be an HTML file, check that the first bytes are "04 00 FF XX XX XX 00 XX XX FF".
18:13<TrueBrain>so ... I need to read up on the grf specs and make myself a simple tool :)
18:13<frosch123>what, that will exclude grfs with more than 2^24 sprites
18:14<DaleStan>"More than 2^24 sprites" also means "more than 64 MB". I think that's a safe restriction.
18:18<frosch123>TrueBrain: you can use dalestan's method and additionally search the grf for "FF 08 06 XX XX XX XX" or "FF 08 07 XX XX XX XX" with thoses Xes being the grfid
18:18<frosch123>if there is only one occurence you can be happy
18:19<TrueBrain>yeah ... if not I am fucked anyway :p
18:19<frosch123>if you rip SkipSprite or similiar from grfloader.cpp you can make a betterone
18:19-!-murr4y [murray@2001:470:1f0a:1be::42] has quit [Remote host closed the connection]
18:20<TrueBrain>I think I might just do that then ..
18:20-!-murr4y [murray@2001:470:1f0a:1be::42] has joined #openttd
18:20<TrueBrain>well, not now ..
18:21-!-gynter [] has quit [Quit: Leaving]
18:21<@petern>run grfcodec on it and see if it can decode it ;)
18:22<TrueBrain>'decode it'?
18:22<TrueBrain>(you know I never touched a newgrf in my life, right? :))
18:22<TrueBrain>how would I be able to see if it could 'decode it' ;)
18:26-!-frosch123 [] has quit [Remote host closed the connection]
18:28<@petern>dunno :p
18:29<@petern>i'm sure a few people here (including me) would be able to knock up something to parse a file and retrieve the GRFID
18:29<TrueBrain>useless ;)
18:29<TrueBrain>would you be so kind? :) :)
18:30<@petern>yeah but
18:30<@petern>i can't do it no
18:31<TrueBrain>tomorrow then? :)
18:35-!-stillunknown [] has quit [Ping timeout: 480 seconds]
18:36<Nite_Owl>Time for feeding - later all
18:36-!-Nite_Owl [] has quit [Quit: Read You Soon]
18:38-!-Gekz [] has joined #openttd
18:38-!-Brianetta [] has quit [Quit: Tschüß]
18:39-!-OwenS [] has quit [Remote host closed the connection]
18:50<CIA-2>OpenTTD: truebrain * r15078 /trunk/ (3 files in 2 dirs): -Fix [NoAI]: AIMap didn't filter its input (Yexo)
18:57-!-Progman [] has quit [Remote host closed the connection]
19:04-!-FauxFaux_ is now known as FauxFaux
19:12-!-fjb [] has quit []
19:14-!-Zahl [] has quit [Quit: Rhabarberbarbarabarbarbarenbartbarbierbierbar]
19:27<haraldkl>I played it quite a while now, and it's really great. Thanks guys! Bye
19:27-!-haraldkl [] has left #openttd [Ex-Chat]
19:30-!-Ridayah [] has quit [Ping timeout: 480 seconds]
19:32-!-Eddi|zuHause [] has quit []
19:33-!-Eddi|zuHause [] has joined #openttd
19:41-!-Yeggstry [] has quit [Ping timeout: 480 seconds]
19:46-!-DJNekkid_ [] has joined #openttd
19:49-!-Vikthor [] has quit [Remote host closed the connection]
19:54-!-DJNekkid [] has quit [Ping timeout: 480 seconds]
19:56-!-DJNekkid_ is now known as DJNekkid
20:02-!-Keiya [] has joined #openttd
20:15-!-Eddi|zuHause [] has quit [Ping timeout: 480 seconds]
20:28-!-Prof_Frink [] has quit [Ping timeout: 480 seconds]
20:29-!-bleepy [] has quit [Ping timeout: 480 seconds]
20:32-!-bleepy [] has joined #openttd
20:33-!-sigmund [] has joined #openttd
20:35-!-Prof_Frink [] has joined #openttd
20:41-!-Zuu [] has quit [Quit: Leaving]
20:52-!-Lakie [~Lakie@] has quit [Quit: Sleep.]
21:19-!-[alt]buster [] has joined #openttd
21:19-!-[com]buster [] has quit [Read error: Connection reset by peer]
21:19-!-[alt]buster is now known as [com]buster
21:19-!-R-Wing [] has joined #openttd
21:20<R-Wing>hey guys
21:20<R-Wing>thanks for the hard work
21:22-!-nicfer [] has joined #openttd
21:24<goodger>R-Wing: I will pass on your compliments as soon as the devs wake up
21:25-!-Fuco [] has quit [Quit: Quit]
21:25<nicfer>Ottd would be more fun if there was some in game objectives like ocs
21:26<FauxFaux>nicfer: Good idea. Get to it.
21:26<nicfer>Making cities grow is fun but there could be more
21:27<R-Wing>I am working on a sim of my home island
21:27<R-Wing>my trainset is a bastard combination of high speed japanese rail and steam freight
21:28-!-KritiK [] has quit [Quit: Leaving]
21:28<nicfer>Like connect all the primary industries or interconnect all cities in the map
21:29<nicfer>Or why not a 'monopoly' mode?
21:31<goodger>nicfer: you don't actually need code changes to have connecting all industries as a goal
21:31<nicfer>That's: all companies start at the same time and the one that doesn't go bankrupt or gets bought wins the game
21:32<nicfer>Yes, but you don't get any reward for doing that
21:32-!-WhiteRhino [] has joined #openttd
21:33<WhiteRhino>Evening, folks.
21:35<goodger>evening WhiteRhino
21:35<goodger>nicfer: what reward could the game give you?
21:36<R-Wing>What sets do you guys like the most
21:37<@Belugas>it would be more fun if nicfer would even start to try to work on all his "marvelous" ideas instead of just spamming them relentlessly
21:40-!-ecke [~ecke@] has quit [Read error: Connection reset by peer]
21:44<nicfer>Reward? What about an ending? The 'Tycoon of the century window' anyone?
21:49-!-Frostregen [] has joined #openttd
21:54-!-Dred_furst [] has quit [Quit: Leaving]
21:55<@Belugas>a COOKIE DISTRIBUTION!!!!
21:56<goodger>Belugas: only works on debian developers
21:56<goodger>or not, as the case may be
21:57<Keiya>Do towns ever grow from 0? >_>
21:58-!-Frostregen [] has quit [Quit: und weg]
21:58<WhiteRhino>Like, start from scratch?
21:59<Keiya>Well. I demolished the entire town, now I'm trying to coddle it back into existence :P
22:00<WhiteRhino>If there's still stuff there, and placed stations mention acceptance of passengers, I'd say yes. Just stuff as many passengers as you can into the town and wait.
22:00<Keiya>No, and no.
22:01<Keiya>Maybe if I move pax around from my HQ?
22:01<nicfer>Question, what problems can cause starting a random game with city road layout set to no more roads?
22:01<Aali>you dont get any roads
22:01<Aali>there will be no cities
22:02<WhiteRhino>Your HQ does generate passengers from what I've read; stick it in your endangered species of a town and hope for some acceptance?
22:02-!-TinoDidriksen [] has quit [Ping timeout: 480 seconds]
22:02<Keiya>Oh, damn...
22:02<Keiya>It doesn't generate a full passenger, or accept it. >_>
22:03<Keiya>Oh, hmm.... /me tries something
22:04<Keiya>"Fund new buildings" might work... :J
22:05<Keiya>Woo, it's building a warehouse!
22:05<WhiteRhino>Sweet. =D
22:05<Keiya>And an office block!
22:05<WhiteRhino>Congrats. =D
22:05-!-TinoDidriksen [] has joined #openttd
22:06<nicfer>Bring an AI into the game and then control it and place their HQ near yours
22:06<Keiya>It accepts passengers now... if only it wasn't the only town on the map >_>
22:06<Keiya>Oooh! Ooh! It's working!
22:06*Keiya huzzahs
22:09-!-nicfer [] has left #openttd []
22:14*Belugas closes his eyes and wait for the comilation of his repo
22:17-!-paul_ [] has joined #openttd
22:21-!-[alt]buster [] has joined #openttd
22:21-!-[com]buster [] has quit [Read error: Connection reset by peer]
22:21-!-[alt]buster is now known as [com]buster
22:23-!-DephNet[Paul] [] has quit [Ping timeout: 480 seconds]
22:23-!-paul_ [] has quit [Quit: Leaving]
22:23-!-DephNet[Paul] [] has joined #openttd
22:24-!-Ridayah [] has joined #openttd
22:32-!-TinoDidriksen [] has quit [Ping timeout: 480 seconds]
22:36-!-TinoDidriksen [] has joined #openttd
22:36<R-Wing>hey all
22:37<R-Wing>Does anyone know if there are 18 wheeler grf files?
22:38<WhiteRhino>I think this website has them.. if it's the right site. Can't check, using my bandwith on a download. >.<
22:39<R-Wing>are you from aU?
22:40-!-Eddi|zuHause [] has joined #openttd
22:40<R-Wing>and thanks
22:41<WhiteRhino>Nope. Massachusetts in the USA.
22:41<@Belugas>so... compiled, ran it, and no crash...
22:42<@Belugas>so i guess i can resume my work
22:42<@Belugas>tomorrow though
22:42*Belugas crashes in bed
22:43<WhiteRhino>I also suggest the Toyland to Mars conversion. Makes the vehicles look futuristic and adds more choices than Toyland had available for engines and such.
22:43<R-Wing>I'm just happy I can run my long AU map now
22:55-!-WhiteRhino [] has quit [Read error: Connection reset by peer]
22:55-!-WhiteRhino [] has joined #openttd
22:58-!-OtherRhino [] has joined #openttd
23:02-!-Zorni [] has joined #openttd
23:03-!-WhiteRhino [] has quit [Ping timeout: 480 seconds]
23:03-!-OtherRhino is now known as WhiteRhino
23:05-!-OtherRhino [] has joined #openttd
23:05-!-WhiteRhino [] has quit [Read error: Connection reset by peer]
23:06-!-OtherRhino is now known as WhiteRhino
23:09-!-Zorn [] has quit [Ping timeout: 480 seconds]
23:11-!-roboboy [] has joined #openttd
23:21-!-OtherRhino [] has joined #openttd
23:21-!-WhiteRhino [] has quit [Read error: Connection reset by peer]
23:21-!-OtherRhino is now known as WhiteRhino
23:22-!-R-Wing [] has quit [Quit: R-Wing]
23:23-!-[com]buster [] has quit [Read error: Connection reset by peer]
23:23-!-[com]buster [] has joined #openttd
23:34-!-michi_cc [] has quit [Ping timeout: 480 seconds]
23:45-!-[alt]buster [] has joined #openttd
23:45-!-[com]buster [] has quit [Read error: Connection reset by peer]
23:45-!-[alt]buster is now known as [com]buster
---Logclosed Wed Jan 14 00:00:06 2009