Back to Home / #openttd / 2009 / 10 / Prev Day | Next Day
#openttd IRC Logs for 2009-10-11

---Logopened Sun Oct 11 00:00:58 2009
00:12-!-Rubix`` [~wrqwer@] has quit [Quit: Ping timeout: 540 seconds]
00:12-!-Rubix`` [~wrqwer@] has joined #openttd
00:12-!-Rubix`` [~wrqwer@] has quit []
00:24-!-ecke_ [~ecke@] has quit [Quit: ecke_]
00:43-!-Fuco [~dota.keys@] has quit [Ping timeout: 480 seconds]
01:30<Pikka>argh, this makes no sense D:
01:34<Pikka>oh wait, I see D:
01:35<Pikka>the fact that the wagon has a running cost makes property 19 kick in and makes the wagon only appear in electrified depots
02:18-!-Alberth [] has joined #openttd
02:23-!-thepalm [~chatzilla@] has joined #openttd
02:43-!-Seberoth [] has quit [Ping timeout: 480 seconds]
02:46-!-Seberoth [] has joined #openttd
02:49-!-Nickman_87 [] has joined #openttd
02:57-!-boekabart [] has joined #openttd
02:57-!-Nickman_87 [] has quit [Ping timeout: 480 seconds]
03:02-!-andythenorth [] has joined #openttd
03:03<Pikka>good morning folks
03:03<Pikka>also, bbl
03:03-!-Pikka is now known as Pikka|afk
03:14<andythenorth>so I have a checkout of openttd source
03:14<andythenorth>I've patched it a couple of times (realistic RV, and something frosch sent me)
03:14<andythenorth>I want to compile 'clean'
03:14<andythenorth>what do I need to do?
03:16-!-FR^2 [] has joined #openttd
03:24<andythenorth>ah screw it, I'll ask again when more people are awake "|
03:33<Alberth>go to the root of the checkout, and type 'svn revert -R .'
03:33<Alberth>then type 'svn status' and decide whether or not to throw away any unknown files.
03:34<Alberth>andythenorth: ^^
03:37<andythenorth>Alberth: thanks, compiling now :)
03:38<_ln>is there a name for a design pattern where a function is only executed if enough time has passed since last call? like a singleton-style idea, but with timestamps.
03:38<andythenorth>compiling on intel mac with -j4 is *way* faster and maxes out CPU :)
03:46<Alberth>usually only for initial compiles for me, after that, I make changes to 1 C++ file at a time, and multiple parallel compiles are then useless :p
03:52-!-Nickman_87 [] has joined #openttd
03:53<andythenorth>I don't have permissions to rename a self-compiled on OS X. I am admin, and it *looks* like I have r/w access. Do I need to learn about the sticky bit?
03:55<andythenorth>^^ nvm
03:55<Rubidium>there you ran into something that is far from generic; it's actually quite specific to OS X
04:07<CIA-4>OpenTTD: alberth * r17759 /trunk/src/osk_gui.cpp: -Codechange [FS#3257]: Return focus to the parent window using the function designed for it.
04:09<andythenorth>testing Terkhen's acceleration patch...
04:10<andythenorth>...trains seem to work, I've stalled out a big train on a big hill :)
04:10<Rubidium>as long as it moves at like 1km/h and doesn't totally stop it works
04:10<andythenorth>yup, seems to be same as previous 'realistic' acceleration behaviour
04:13<andythenorth>..train is still moving at 1mph...
04:14<andythenorth>I think at this point I might have turned it around in a real game...or crashed another train into it to get rid of the thing
04:17<Alberth>build another track next to it :)
04:18<andythenorth>I should just use maglev
04:18-!-Pikka|afk is now known as Pikka
04:20<andythenorth>plan for day: 1. test acceleration 2. draw log boat 3. lunch :)
04:23<CIA-4>OpenTTD: alberth * r17760 /trunk/src/depot_gui.cpp: -Revert (r17648): _local_company is less constant than you'd expect.
04:23<Alberth>you have lunch at the end of the day?
04:24<andythenorth>1 and 2 may not happen before 3
04:42<boekabart>hardly a plan then
04:47<Alberth>a loosely defined set of goals is better than no goals imho.
04:48<boekabart>still not a plan. more like an unsorted todo list
04:48<boekabart>my plan: part
04:49-!-boekabart [] has left #openttd []
04:49-!-hugacsaka [] has joined #openttd
04:49-!-hugacsaka [] has quit []
04:53-!-N35 [] has joined #openttd
04:57-!-LordAzamath [] has joined #openttd
05:01-!-Nickman_87 [] has quit [Ping timeout: 480 seconds]
05:12-!-Muxy [] has joined #openttd
05:13-!-LordAzamath [] has quit [Quit: ChatZilla 0.9.85 [Firefox 3.5.3/20090824101458]]
05:14<Muxy>Yo there, i'm searching difference between DoCommand and DoCommandP
05:17<TrueBrain>Never use DoCommand unless you know what you are doing ;) Always use the P version
05:18-!-frosch123 [] has joined #openttd
05:18<Muxy>well, it's not for using, it's for my watch patch. i insert some code in the DoCommandP, and it seems to work well in local game & in network game
05:19<Muxy>but if there are 2 function, do i need to insert same code in both, or with DoCommandP i will see all what is done...
05:24-!-tux_mark_5 [] has joined #openttd
05:25-!-Cybertinus [] has joined #openttd
05:36<andythenorth>I broke the game :|
05:38-!-Nickman_87 [] has joined #openttd
05:38-!-Nickman_87 is now known as Nickman87
05:39-!-Brianetta [] has joined #openttd
05:41-!-Progman [] has joined #openttd
05:44<Pikka>avast ye, chaps
05:44<Pikka>andy, what did you do?
05:50-!-|Jeroen| [] has joined #openttd
05:54-!-KritiK [] has joined #openttd
06:05-!-Belugas [~belugas@] has quit [Ping timeout: 480 seconds]
06:06-!-Belugas [~belugas@] has joined #openttd
06:06-!-mode/#openttd [+o Belugas] by ChanServ
06:08<andythenorth>Pikka: I set vehicle weight to \w256 and produced an assert that *seems* to have eaten a bunch of autosaves somehow
06:08<andythenorth>I am using Terkhen's acceleration patch...
06:14-!-Zahl [] has joined #openttd
06:19-!-Fast2 [] has joined #openttd
06:22<Pikka>for which vehicle type is weight a word?
06:24<andythenorth>well not for RVs :D
06:24<andythenorth>this does mean vehicle unladen weight is limited to 63t. I have hit that limit and will again....
06:25<andythenorth>but screw it, it's only a game
06:25<Rubidium>Pikka: not many; usually it'd double words (ten tonnes, eleventy tonnes) or quad words (hundred and twenty tonnes)
06:26<Pikka>you'll have to find a friendly person to give you an RV equivalent of train property 24 :)
06:26<Pikka>look, here comes Rubidium!
06:27<Rubidium>right... 64+ tonnes vehicles
06:28-!-Coco-Banana-Man [] has joined #openttd
06:28-!-Pikka is now known as Pikka|afk
06:31<frosch123>didn't terkhen supply a cb36 for weight? (i.e. 15 bit weight)
06:32<frosch123>8191 tonnes should be enough, right?
06:35<andythenorth>frosch123: yes he has done cb36...marked as untested
06:35<frosch123>hehe, so now you have a case to test it :)
06:36<andythenorth>not yet
06:36<andythenorth>I have a few other acceleration questions / issues, I'll wait until Terkhen shows up ;)
06:37-!-Grelouk [] has joined #openttd
06:38<andythenorth>Terkhen's patch does look promising. Tests well with HEQS. Trains don't seem broken. Haven't found anything weird yet
06:40<Rubidium>frosch123: yeah, 8191 tonnes ought to be enough; Saturn V was 'only' 3038.5 tonnes
06:40<andythenorth>8191 tonnes is very very much enough
06:40<andythenorth>we'd need some kind of bridge restriction code....or a new disaster (bridge collapse)
06:41<Rubidium>although... for ships it's not enough
06:42<frosch123>luckily for ships you do not need weight restriction for aqueducts
06:42<Alberth>andythenorth: a new 'lift bridge to allow passage of huge truck' event is a much more positive 'disaster' :)
06:43<andythenorth>how about 'demolish bridge to allow huge truck'?
06:43<andythenorth>then rebuild?
06:43<frosch123>the truck could also lower every tile it crossed by one level
06:43<Alberth>much less spectacle :)
06:44<andythenorth>the truck could spawn roadworks behind it?
06:44<Alberth>'rebuild road after passage'
06:44<frosch123>yeah, single-use-roads
06:45<andythenorth>so...ships that travel faster when not loaded...
06:45<Alberth>and we need to block the road for other traffic of course
06:45<andythenorth>...speed could be set by using varaction 2 var 47 and cb 36?
06:45<andythenorth>(in respect of ships)
06:47<andythenorth>a few months ago we mocked the idea of improved ship I've though of a use for it :(
06:47<frosch123>andythenorth: yes, that should work alredy
06:55-!-Simozzz [~Simozzz@] has joined #openttd
06:55-!-andythenorth [] has quit [Ping timeout: 480 seconds]
06:57-!-andythenorth [~andy@] has joined #openttd
07:00-!-Nickman87 [] has quit [Ping timeout: 480 seconds]
07:01-!-Terkhen [] has joined #openttd
07:01<frosch123>andythenorth: 25 minutes for summoning
07:02<frosch123>hello Terkhen
07:02<andythenorth>hello Terkhen
07:02<andythenorth>I've been testing the acceleration patch
07:02<andythenorth>trains don't *seem* to be broken
07:03<andythenorth>for RVs, I've tested with HEQS and eGRVTS, and it all seems to be good
07:03-!-|Jeroen| [] has quit [Remote host closed the connection]
07:04<Terkhen>great :)
07:05<Terkhen>in eGRTVS I found that some articulated vehicles (specially the old ones) don't work
07:05<andythenorth>I didn't test *everything* :|
07:05<Terkhen>I don't remember why right now, but I think some value was missing
07:05<andythenorth>I guess eGRVTS is up to Zephyris :)
07:05<andythenorth>I have two comments / queries
07:07<Terkhen>tell me
07:07<andythenorth>1. articulated vehicle unloaded weights...because the trailer weight isn't added to the tractor, the vehicle effectively gets a performance boost
07:07<andythenorth>I know there's no way around this
07:07<andythenorth>If I set the total vehicle weight on the lead vehicle, there's a different performance boost (TE increases)
07:08<andythenorth>In the game it doesn't really matter much...
07:08<andythenorth>I've lowered TE coefficient for some articulated vehicles to balance this effect.
07:08-!-thepalm [~chatzilla@] has quit [Quit: ChatZilla 0.9.85 [Firefox 3.5.3/20090824101458]]
07:08<andythenorth>Might be worth documenting for grf authors?
07:10<Terkhen>yes, it should be specified that vehicle weight is only taken into account for the first articulated part at the first post, I will update it
07:10<andythenorth>2. going up hill, most trucks just seem a
07:10<andythenorth>I've tested on a 12 tile hill, I'd expect them to slow down a bit more.
07:11<Terkhen>yes... I have seen that standard trucks climb hills like they weren't there
07:11<andythenorth>I can reduce TE for this in HEQS, but then the balance with other sets will be wrong
07:11<Terkhen>they are using the same values for acceleration than trains right now
07:11<andythenorth>might be worth tweaking?
07:12<andythenorth>I figure that the point of this is to affect go round hills, or use more powerful (more expensive) trucks
07:13<andythenorth>otherwise looking good :)
07:13<Terkhen>I will check that part of the code again, but I think the problem is that standard vehicles have too much power for their weight
07:13<andythenorth>applies to eGRVTS and HEQS as well....trucks go over a big hill like it's a pebble
07:13<Terkhen>hmmm... I haven't tested them at the last version
07:13<andythenorth>...when using default TE
07:14<Terkhen>I'll add this to the todo list
07:14<andythenorth>I'll pm you the latest HEQS
07:14<Terkhen>okay, thanks :)
07:15<andythenorth>Not that much changed, just a few articulated vehicles got tweaks
07:15<Terkhen>if there is nothing wrong in the code, a way of tweaking this could be increasing the resistance of slopes only for road vehicles... but then it would be different for trains and road vehicles
07:15<Terkhen>personally I don't have a problem with that as long as it improves gameplay
07:16<andythenorth>if the implementation doesn't smell wrong, I'd say try it :)
07:17<andythenorth>frosch123: could I pick your brain on cb36 :D
07:17<andythenorth> do I make use of it?
07:18<frosch123>well, like every other cb
07:18<Terkhen>a good thing of unifying the code is that any bug would affect trains too, and I can easily test them against vanilla trunk... so probably there aren't any slope-related bugs, I will look into this for the next version
07:18<Terkhen>thanks for the feedback :)
07:19<andythenorth>Terkhen: np
07:19<frosch123>andythenorth: next would be the varact2 with id a2
07:20<frosch123>there check for the property being asked for (var 10 iirc)
07:21<andythenorth>hey if I figure out cb36, I can change ship running costs if not moving :)
07:21<andythenorth>Pikka will like that :)
07:21-!-Nickman_87 [] has joined #openttd
07:22<frosch123>in case you missed due to timeout, you can also already change runningcost and maxspeed depending on load
07:23<andythenorth>saw that, thanks ;)
07:25-!-Coco-Banana-Man [] has quit [Quit: Joyful it seems - but then suddenly - by one false move it's blown away]
07:27<andythenorth>frosch123: think I've run into the same problem I had last time I tried this: no way to check size of vehicle's current load
07:28<andythenorth>as in weight, not cargo type
07:30<frosch123>var47 gives you the weight per unit of cargo
07:30<frosch123>var AD (word sized) gives you the load
07:30<frosch123>err, var AC
07:31<andythenorth>I was just looking at the savegame internals page...a dark place...
07:33<andythenorth>frosch123: did you find var AC documented on the ttdpatch wiki? I can't see it there
07:35<frosch123> <- no, there
07:35-!-Coco-Banana-Man [] has joined #openttd
07:36<frosch123>the savegame internals page is partly outdated (even for ttdp), and wrt. ottd you never know what compatibility stuff was added
07:37<andythenorth>code = spec :)
07:37*Belugas mumbles against the energy a 5 years kid can display, when all the other members of the family are only longing for sleep
07:39<andythenorth>let's see if I can cause an assert :{
07:40-!-Wolf01 [] has joined #openttd
07:40-!-[com]buster [] has joined #openttd
07:41-!-Chris_Booth [] has joined #openttd
07:43<Alberth>Wolf01: hello
07:43<andythenorth>no assert :(
07:44-!-DJNekkid [] has joined #openttd
07:45<DJNekkid>are there any VarAction2 variables that can be checked, that checks either distance to or from an airport for an airplane?
07:45<DJNekkid>the next or previous airport that is
07:47<frosch123>no, you might only figure out time since last loading or service
07:47<andythenorth>^^ code above doesn't do what I expect
07:47<CIA-4>OpenTTD: alberth * r17761 /trunk/src/autoreplace_gui.cpp: -Codechange: Removed some unused/unneeded variables from ReplaceVehicleWindow.
07:47<DJNekkid>last loading might work ...
07:48<DJNekkid>does that include unloading as well?
07:48<andythenorth>does my code terminate the action 2 chain properly?
07:49<DJNekkid>spritechooseing according to speed should be above the callback, no?
07:49<DJNekkid>first all grapichal stuff, then all callbacks, then the Action3 :)
07:51<DJNekkid>and, line3 _should_ be 85 AC 00 FF FF, and not 85 AC 00 00 FF ... afaik :)
07:51<andythenorth>DJNekkid: ok, so I moved A0 and have correct graphics again
07:51<andythenorth>And I've changed that 00 FF to FF FF
07:52<andythenorth>I now have a log raft travelling at 79mph :)
07:52<andythenorth>The max speed in the vehicle window is very wrong...
07:52<Alberth>downhill? :)
07:52<andythenorth>Alberth: yep, much slower uphill :P
07:52<DJNekkid>well, you set it to "FF" :)
07:53<andythenorth>Max speed is shown as 11mph, vehicle viewport window shows 79mph actual speed
07:53<DJNekkid>you did set it to "FF" when not loaded, and "01" when loaded...
07:54<andythenorth>...which is the next's using FF when loaded
07:57<frosch123>DJNekkid: well, var92 (word sized) gives you the date of last service (only valid starting from 1920 and the 65536 days afterwards), and var CF gives you the average age of the cargo (including waiting time at station and transfer time of previous vehicles)
07:58<frosch123>so, likely not what you want :|
07:58<DJNekkid>hmm... damn...
07:58<DJNekkid>no ...
07:59<DJNekkid>frosch123: where can i find this "unofficial" list? :P
08:00<frosch123> :)
08:00<andythenorth>meanwhile back at the log ranch....
08:01<andythenorth>think my check of var AC is either always returning 0, or cb36 is not being called
08:01<frosch123>most 80+ variables are useless of course :) like stationids etc
08:01<frosch123>or weird counters which delay turning multiple times in a row
08:02<frosch123>however, try to not use too much stuff from there, and always prefer 40+ and 60+ variables if they give similiar results
08:03<frosch123>C2 00 // dont matter <- it does matter, you have to make the cb fail, i.e. chain to the graphics
08:03<andythenorth>so the chain *isn't* properly terminated
08:04<andythenorth>Ahem, attribution: DJNekkid :P
08:04-!-KenjiE20 [~KenjiE20@] has joined #openttd
08:05<andythenorth>FF FF to end the callback chain?
08:05<frosch123>no, the id of the action2 with the graphics
08:06<DJNekkid>frosch123: i've always had problems figureing out what to put there, and anything ending with 00 have been successfull ...
08:07<andythenorth>rv cb16 terminates on FF FF...what am I missing?
08:07<frosch123>it is the default case, so if you return a valid callback result (ffff would mean returning 255), you would set every other property to that value
08:07<DJNekkid>andythenorth: thats what i've been trying to figure ot as well :)
08:08<DJNekkid>i'm usually linking it to _some_ gfx, but it dont relaly matter witch one...
08:08<DJNekkid>atleast thats my experience
08:08<andythenorth>so cb36 would always be checked last when checking callbacks? otherwise the other ones wouldn't be handled?
08:08<andythenorth>e.g. in this code, if I used cb36
08:08<DJNekkid>you can always chain callbacks ...
08:09<andythenorth>then I'd want to use cb36 last?
08:09<DJNekkid>one callback each line, with "the default" beeing the previous one
08:10<DJNekkid>line 165 for example
08:10<frosch123>andythenorth: i mean, you have to handle the check of var10 like the check for var 0c, i.e. the default case should continue to the graphics
08:10<frosch123>B3 00 //otherwise go to next action 2 ID <- that also has to appear in the var10 check of cb36
08:10<andythenorth>okey dokey
08:10-!-Yexo_ is now known as Yexo
08:11<andythenorth>so assume all that works...
08:12<andythenorth>logical flaw: nothing to set speed back to 11mph when loaded. How do I do that?
08:12<andythenorth>sorry, bad explanation
08:13<andythenorth>here is current code
08:13<andythenorth>prop 0B of vehicle should default to 27 (11mph) if vehicle cargo amount is not 0
08:13<andythenorth>if I've understood correctly :)
08:14<DJNekkid>well, variable AC should do that, just as vehicle speed (B4 iirc)
08:16<andythenorth>so action 2 ID C2 should return 27 if load amount is not 0?
08:16<andythenorth>but appears not to
08:16<DJNekkid>try the opposite then ...
08:16<DJNekkid>line 4: 27 80 \wx0001 \wxFFFF
08:16<DJNekkid>line 5: FF 80
08:19<andythenorth>tried it, now travels at 11mph whether loaded or not :|
08:19<andythenorth>ok got to go. Thanks for help so far, back later!
08:19<andythenorth>definitely something not right in the default value
08:20-!-andythenorth [~andy@] has quit [Quit: andythenorth]
08:24*Pikka|afk sighs
08:24-!-Pikka|afk is now known as Pikka
08:24<Pikka>the diagonals of short wagons are so hard to make look decent
08:25<Pikka>damn chris sawyer and his circular tiles!
08:26-!-fonsinchen [] has joined #openttd
08:26-!-[com]buster [] has quit [Ping timeout: 480 seconds]
08:33-!-[com]buster [] has joined #openttd
08:35<CIA-4>OpenTTD: rubidium * r17762 /trunk/src/aircraft_cmd.cpp: -Fix [FS#3259]: don't let aircraft drive a while over the grass when landing at high altitude airports
08:39-!-Coco-Banana-Man [] has quit [Quit: Joyful it seems - but then suddenly - by one false move it's blown away]
08:39-!-Fast2 [] has quit [Ping timeout: 480 seconds]
08:44-!-Coco-Banana-Man [] has joined #openttd
08:48-!-Fast2 [] has joined #openttd
08:50-!-glx [glx@2a01:e35:2f59:c7c0:29b3:ba5a:d252:e316] has joined #openttd
08:50-!-mode/#openttd [+v glx] by ChanServ
08:51-!-Coco-Banana-Man [] has quit [Quit: Joyful it seems - but then suddenly - by one false move it's blown away]
08:51<CIA-4>OpenTTD: alberth * r17763 /trunk/src/autoreplace_gui.cpp: -Codechange: Rename 'wagon_btnstate' to 'replace_engines', and 'init_lists' to 'reset_sel_engine' in ReplaceVehicleWindow, add doxygen comments.
08:57-!-Coco-Banana-Man [] has joined #openttd
09:05-!-Chris_Booth is now known as Guest837
09:05-!-Chris_Booth [] has joined #openttd
09:07-!-Guest837 [] has quit [Remote host closed the connection]
09:08<Muxy>where i can find the list and picture of all basic sprites used in openTTD ? I need a green light switched off and on like the red one in the status bar when a savegame is in progress.
09:09<CIA-4>OpenTTD: alberth * r17764 /trunk/src/autoreplace_gui.cpp: -Codechange: Replace 'list' class variable in ReplacceVehicleWindow by 'engines'.
09:11<frosch123>try in src/table/sprites.h or download grfcodec and decode the grfs
09:11<frosch123>or take a look at opengfx what they did
09:11<Muxy>seems to be the SPR_BLOT.
09:11<Muxy>have to check if it can be colourized
09:12<frosch123> DrawSprite(SPR_BLOT, income ? PALETTE_TO_GREEN : PALETTE_TO_RED, 145, y); <- is that line from network_gui.cpp example enough?
09:12-!-Doorslammer [] has joined #openttd
09:12<Muxy>yeap thxs frosch
09:13-!-Coco-Banana-Man [] has quit [Quit: Joyful it seems - but then suddenly - by one false move it's blown away]
09:19-!-stuffcorpse [~stuffcorp@] has quit [Quit: leaving]
09:19-!-Coco-Banana-Man [] has joined #openttd
09:22-!-Pikka [PikkaBird@] has quit []
09:26-!-stuffcorpse [~stuffcorp@] has joined #openttd
09:44-!-Chruker [] has joined #openttd
09:45-!-Dred_furst [] has joined #openttd
09:46-!-ecke [~ecke@] has joined #openttd
09:46-!-frosch123 [] has quit [Remote host closed the connection]
09:48-!-Polygon [] has joined #openttd
09:54-!-ecke_ [~ecke@] has joined #openttd
09:54-!-ecke [~ecke@] has quit [Read error: Connection reset by peer]
09:58-!-eJoJ [] has quit [Ping timeout: 480 seconds]
09:59-!-Biolunar [] has joined #openttd
10:00-!-SK2 [~sjoerdnl@] has quit [Ping timeout: 480 seconds]
10:00-!-eJoJ [] has joined #openttd
10:00-!-SK2 [~sjoerdnl@] has joined #openttd
10:17-!-Progman [] has quit [Quit: Progman]
10:17-!-Progman [] has joined #openttd
10:29-!-Doorslammer [] has quit [Ping timeout: 480 seconds]
10:30-!-Doorslammer [] has joined #openttd
10:31-!-Yexo [] has quit [Remote host closed the connection]
10:31-!-Seberoth2 [] has joined #openttd
10:31-!-Choco-Banana-Man [] has joined #openttd
10:31-!-Seberoth [] has quit [Read error: Connection reset by peer]
10:31-!-Coco-Banana-Man [] has quit [Read error: Connection reset by peer]
10:31-!-Choco-Banana-Man is now known as Coco-Banana-Man
10:31-!-Yexo [] has joined #openttd
10:32-!-worldemar [~woldemar@] has quit [Ping timeout: 484 seconds]
10:32-!-tokai [] has quit [Ping timeout: 480 seconds]
10:34-!-tokai [] has joined #openttd
10:34-!-mode/#openttd [+v tokai] by ChanServ
10:34-!-tokai [] has quit []
10:34-!-tokai [] has joined #openttd
10:34-!-mode/#openttd [+v tokai] by ChanServ
10:39-!-Coco-Banana-Man [] has quit [Quit: Joyful it seems - but then suddenly - by one false move it's blown away]
10:40-!-Fuco [] has joined #openttd
10:47-!-MyCatVerbs [] has quit [Ping timeout: 480 seconds]
10:50-!-andythenorth [~andy@] has joined #openttd
10:51<andythenorth>lets see if reloading the grf makes the speed change depending on load
10:52<andythenorth>sometimes in web programming we hit refresh and hope it cures a bug. So far it hasn't....but one day it might...
10:53-!-Progman [] has quit [Remote host closed the connection]
10:56-!-Terkhen [] has quit [Quit: ...]
10:58<andythenorth>DJNekkid: mind helping me on this varaction 2 some more?
10:59-!-Terkhen [] has joined #openttd
10:59<andythenorth>hi Terkhen
11:00<andythenorth>fancy doing realistic acceleration for ships? :)
11:00<DJNekkid>andythenorth: sure!
11:00<DJNekkid>i were just playing some flash game :p
11:00<andythenorth>I am trying to simulate it in nfo and failing
11:00<DJNekkid>let me try it with an engine
11:00<Terkhen>maybe when I finish with road vehicles :P
11:00<andythenorth>I tried explicitly checking for cargo == 0 and 0 < cargo <= 255
11:01<andythenorth>nforenum doesn't like my code
11:03<DJNekkid>andythenorth: i just need to fetch my car, its in the city center! back in 15mins!
11:05-!-Seberoth2 is now known as Seberoth
11:12-!-tux_mark_5 [] has quit [Quit: KVIrc Insomnia 4.0.0, revision: , sources date: 20090115, built on: 2009/03/07 00:45:02 UTC]
11:21<andythenorth>okey dokey
11:21<DJNekkid>and it were, runspeed ... AC ... right?
11:21-!-Pikka [PikkaBird@] has joined #openttd
11:23<andythenorth>DJNekkid: yes
11:23<andythenorth>I can't help feeling that AC always returns 0
11:24<Pikka>what's this?
11:24<andythenorth>Pikka: trying to make ship speed change depending on amount of cargo
11:24<andythenorth>using cb 36
11:25<andythenorth>and variable AC
11:26<Pikka>what's AC?
11:26<Pikka>B4 is speed
11:27-!-worldemar [~woldemar@] has joined #openttd
11:27<DJNekkid>andythenorth: it dont seem to be checked
11:27<andythenorth>B0 is speed for ships
11:27<andythenorth>AC is v->cargo.Count();
11:27<Pikka>what makes you think that?
11:27<andythenorth>frosch said so :0
11:28<Pikka>what makes frosch think that? D:
11:28<Pikka>B4 is speed for all vehicles according to the grf spec and the ttd savegame internals...
11:29<Pikka>and works for at least aircraft and trains, in my experience :)
11:29<DJNekkid>mine to :)
11:29<Pikka>you want to test cargo amount, not speed
11:29<Pikka>*drinks more tea*
11:30<andythenorth>I want to know if a ship is loaded or not (loaded == slower)
11:30<DJNekkid>Pikka: it is cargo ammount that is tested, and a new speed applied
11:30<Pikka>try BC, then
11:30<Pikka>3C W Current cargo load
11:30<Pikka>says the savegame internals :)
11:30<andythenorth>ahem BC seems to work
11:31<andythenorth>bad hex maths by someone?
11:31<DJNekkid>BC works :)
11:31<Pikka>perhaps ;)
11:31<andythenorth>well that was an hour of fun I won't have again :P
11:31<Pikka>I had an hour this morning trying to work out why my newest wagon wasn't showing up
11:31-!-Simozzz [~Simozzz@] has quit [Read error: Connection reset by peer]
11:32<DJNekkid>bad ID ?
11:32<Pikka>always fun, those. you /know/ there's an answer, but
11:32<andythenorth>Terkhen: you can stop with RV acceleration, we can do it all in nfo :P
11:32<Yexo>switch (variable - 0x80) { ... case 0x3C: return v->cargo.Count(); <- so the code agrees it should be BC
11:32<Ammler>question about realism isn't liked here, but are loaded ships slower, wouldn't it just be the acceleration?
11:32<andythenorth>Ammler: specifically this is a log raft
11:33<andythenorth>they travel slowly when loaded, or they break up
11:33<Pikka>DJ: it used an electric loco's ID and had a running cost, but I hadn't zeroed property 19, so it wasn't showing in non-electric depots
11:33<Pikka>not an issue I'd had before because I haven't used wagon running costs before :)
11:33<andythenorth>but the little tugs they use are quite powerful and can travel at good speed when not towing logs
11:33<Ammler>ah, thos ships which looks like trains?
11:34<andythenorth>by my (bad) physics, a loaded ship has more cross section in the water, so should be slower due to resistance, plus also more drag
11:34<andythenorth>but we'll ignore that
11:34<DJNekkid>Pikka: wierd one :)
11:34<Pikka>yep andy. just increase the running costs when loaded, by my reckoning ;)
11:34<andythenorth>Pikka: planning to now I understand cb 36 better
11:35<DJNekkid><3 CB36
11:35<andythenorth>thinking that loaded dump trucks should have a slower top speed though....for safety on the downhills...
11:35-!-Rubix`` [~wrqwer@] has joined #openttd
11:35<andythenorth>safety first
11:35<Pikka>praise be to stevenh and lakie for cb36 :)
11:36<Terkhen>andythenorth: as long as I don't have to code it in nfo...
11:36*Pikka goes for a refill
11:36*DJNekkid Praise Stevenh and Lakie
11:36<andythenorth>right, how do I do the dot thing on irc? I've googled...
11:37<DJNekkid>./me Praise Stevenh and Lakie ?
11:37*andythenorth learns how to do the dot thing
11:37*DJNekkid pet andythenorth on his head :D
11:38*andythenorth commits something
11:40<andythenorth>not this Sunday
11:41*andythenorth sighs
11:41<andythenorth>somehow boats just don't look right without smoke
11:41<Pikka>it's monday though
11:41<Pikka>true dat
11:41-!-Rubix`` [~wrqwer@] has quit [Quit: Ping timeout: 540 seconds]
11:41<andythenorth>seems like smoke is 'but a whisper away'
11:41<andythenorth>seeing as how trains have smoke
11:41<andythenorth>nice smoke those trains have
11:41*Pikka hands andy the animators hat
11:42<Pikka>wouldn't it be fun if we could do random particle effects everywhere! houses, industries, vehicles... :P
11:42<andythenorth>32 frames to draw and code per cargo type per ship? hmm, maybe not
11:42<andythenorth>I was noticing that there is already some nice smoke in the game
11:42<andythenorth>seems like it just has to follow the ships around
11:42-!-Zahl [] has quit [Read error: Connection reset by peer]
11:42<andythenorth>I could do it in flash....
11:42<andythenorth>this._x = my_ship._x
11:42<andythenorth>this._y = my_ship._y
11:42*Pikka hands andy the ottd dev hat
11:43-!-Zahl [] has joined #openttd
11:43<andythenorth>perhaps a flash -> C++ compiler ?
11:43<andythenorth>perhaps I should go and draw a log raft tug
11:44<Pikka>but yes, between steam, aircraft breakdown and diesel smoke, ships are covered by the default sprites :P
11:48*Pikka wonders if I can get these 4/8 oil tankers to look less crappy
11:48<Pikka>looks like the one, andy :P
11:51<andythenorth>where's that man frosch123 when he's needed :)
11:54-!-Muxy [] has quit [Read error: Connection reset by peer]
11:57-!-Terkhen [] has quit [Quit: ...]
11:59-!-Terkhen [] has joined #openttd
12:02<Pikka>hiding, probably andy :)
12:03<andythenorth>must draw more logs...these ones are a bit uniform
12:08-!-Brianetta [] has quit [Quit: Tschüß]
12:08-!-ecke_ [~ecke@] has quit [Read error: Connection reset by peer]
12:09-!-StarLionIsaac [] has joined #openttd
12:11-!-asilv [] has joined #openttd
12:20-!-Fast2 [] has quit [Read error: Connection reset by peer]
12:21-!-Fast2 [] has joined #openttd
12:23-!-StarLionIsaac [] has quit [Quit: Leaving]
12:27-!-TrainzStoffe [] has joined #openttd
12:27-!-Pikka [PikkaBird@] has quit []
12:28-!-Stoffe [] has quit [Ping timeout: 480 seconds]
12:28-!-TrainzStoffe is now known as Stoffe
12:30-!-ecke [~ecke@] has joined #openttd
12:34-!-Chris_Booth [] has quit [Read error: Connection reset by peer]
12:36-!-fonsinchen [] has quit [Remote host closed the connection]
12:38-!-Fast2 [] has quit [Ping timeout: 480 seconds]
12:40-!-Muxy [] has joined #openttd
12:46-!-andythenorth [~andy@] has quit [Quit: andythenorth]
13:08-!-Terkhen [] has quit [Quit: ...]
13:14<Muxy>Yo, i have a problem with DrawSprite used in a window. When used in the OnPaint() the translation is made, the sprite is drawed at the right place in the widget, but when used in other member function (OnTimeOut, or in new membre func) the translation is not done
13:14-!-welshdragon [~markjones@] has quit [Ping timeout: 480 seconds]
13:15<Muxy>and the sprite is drawed but, not in the window...
13:20<Alberth>usually, you use this->SetWidgetDirty(wid) to mark the widget as 'needs to be painted again', and the system will call OnPaint() for you.
13:22<Muxy>okay i'll try that, thx Alberth
13:24<Muxy>it means, that i must only use DrawSprite in the OnPaint()
13:24-!-Coco-Banana-Man [] has joined #openttd
13:45<CIA-4>OpenTTD: translators * r17765 /trunk/src/lang/ (greek.txt italian.txt turkish.txt):
13:45<CIA-4>OpenTTD: -Update from WebTranslator v3.0:
13:45<CIA-4>OpenTTD: greek - 14 changes by fumantsu
13:45<CIA-4>OpenTTD: italian - 2 changes by lorenzodv
13:45<CIA-4>OpenTTD: turkish - 2 changes by niw3
13:47-!-Lakie [~Lakie@] has joined #openttd
13:49-!-Nickman_87 [] has quit [Ping timeout: 480 seconds]
13:50-!-andythenorth [~andy@] has joined #openttd
13:59<_ln>why did they even create this obvious fake:
13:59-!-Zahl_ [] has joined #openttd
14:00-!-Jhs [] has joined #openttd
14:01-!-Seberoth [] has quit [Read error: Connection reset by peer]
14:06-!-Zahl [] has quit [Ping timeout: 480 seconds]
14:06-!-Zahl_ is now known as Zahl
14:08-!-FR^2 [] has quit [Remote host closed the connection]
14:08-!-TrainzStoffe [] has joined #openttd
14:11-!-Stoffe [] has quit [Read error: Connection reset by peer]
14:11-!-TrainzStoffe is now known as Stoffe
14:13-!-welshdragon [~markjones@] has joined #openttd
14:14-!-FR^2 [] has joined #openttd
14:14-!-[com]buster [] has quit [Remote host closed the connection]
14:17-!-Chris_Booth [] has joined #openttd
14:26-!-Rubix`` [~wrqwer@] has joined #openttd
14:26-!-ecke [~ecke@] has quit [Read error: Connection reset by peer]
14:27-!-tux_mark_5 [] has joined #openttd
14:29-!-George3 [~George@] has joined #openttd
14:30-!-Seberoth [] has joined #openttd
14:34-!-George [~George@] has quit [Ping timeout: 480 seconds]
14:40-!-Alberth [] has left #openttd []
14:43-!-oskari89 [] has joined #openttd
14:47-!-Seberoth01 [] has joined #openttd
14:49-!-StarLionIsaac [] has joined #openttd
14:54-!-Seberoth [] has quit [Ping timeout: 480 seconds]
15:00-!-Nickman_87 [] has joined #openttd
15:05-!-Dred_furst [] has quit [Read error: Connection reset by peer]
15:05-!-Mark [] has quit [Read error: Connection reset by peer]
15:05-!-Mark [] has joined #openttd
15:08-!-Nickman_87 [] has quit [Ping timeout: 480 seconds]
15:10-!-StarLionIsaac [] has quit [Quit: Leaving]
15:12-!-ecke [~ecke@] has joined #openttd
15:12-!-HerzogDeXtEr [~Flex@] has joined #openttd
15:13-!-Nickman_87 [] has joined #openttd
15:19-!-HerzogDeXtEr1 [~Flex@] has quit [Ping timeout: 480 seconds]
15:27-!-MyCatVerbs [] has joined #openttd
15:38-!-Nickman_87 [] has quit [Ping timeout: 480 seconds]
15:40-!-Progman [] has joined #openttd
15:41-!-Coco-Banana-Man [] has quit [Quit: Joyful it seems - but then suddenly - by one false move it's blown away]
15:46-!-Wolf01 [] has quit [Quit: Once again the world is quick to bury me.]
15:49-!-Coco-Banana-Man [] has joined #openttd
15:52-!-MyCatVerbs [] has quit [Quit: BRB, restarting GNu screen]
15:53-!-MyCatVerbs [] has joined #openttd
15:57<CIA-4>OpenTTD: rubidium * r17766 /trunk/src/lang/unfinished/basque.txt: -Add: stub for a Basque translation
16:04-!-thingwath [] has joined #openttd
16:07-!-Fast2 [] has joined #openttd
16:07-!-th1ngwath [] has quit [Read error: Connection reset by peer]
16:11-!-StarLionIsaac [] has joined #openttd
16:16-!-Grelouk [] has quit [Quit: Quitte]
16:19-!-Seberoth01 is now known as Seberoth
16:30-!-Seberoth [] has quit [Remote host closed the connection]
16:32-!-FR^2 [] has quit [Quit: Der Worte sind genug gewechselt, lasst mich auch endlich Taten sehn!]
16:32<andythenorth>log log log log
16:32<andythenorth>It's Log, Log, it's big, it's heavy, it's wood.
16:32<andythenorth>(and it floats)
16:33<Prof_Frink>Does it weigh the same as a duck?
16:33<andythenorth> It's Log, Log, it's better than bad, it's good!
16:34<andythenorth>coming soon to a dock near you
16:34-!-Seberoth [] has joined #openttd
16:44-!-Muxy [] has quit [Quit: PACKET_CLIENT_QUIT]
16:47-!-Doorslammer [] has quit []
16:48-!-StarLionIsaac [] has quit [Quit: Leaving]
16:48-!-asilv [] has quit []
16:52-!-TheMask96 [] has quit [Ping timeout: 480 seconds]
16:58-!-TheMask96 [] has joined #openttd
17:00-!-tux_mark_5 [] has quit [Ping timeout: 480 seconds]
17:14-!-andythenorth [~andy@] has quit [Ping timeout: 480 seconds]
17:29-!-oskari89 [] has quit [Quit: Utm A½ - Aja 35]
17:32-!-zodttd [] has joined #openttd
17:33-!-Progman [] has quit [Remote host closed the connection]
17:33-!-welshdragon is now known as Guest872
17:33-!-welshdragon [~markjones@] has joined #openttd
17:33-!-Guest872 [~markjones@] has quit [Read error: Connection reset by peer]
17:39-!-PeterT [] has joined #openttd
17:43-!-Nite_Owl [] has joined #openttd
17:44<Nite_Owl>Hello all
17:45<Nite_Owl>Hello PeterT
17:45-!-fonsinchen [] has joined #openttd
17:52-!-urdh [] has joined #openttd
17:52<urdh>is it just me or does trunk not compile right now?
17:53<Rubidium>probably it's you (or your OS)
17:54<Rubidium>i.e. either it's some patch applied to your working copy or you're using OS X 10.6
17:54<urdh>I'm using OS X 10.6 :)
17:55<urdh>don't think that's the problem though
17:55<urdh>I think line 32 in ai/ai_gui.cpp is missing some characters
17:56<Rubidium>looks perfectly fine to me
17:56<urdh>#include "table/strings.h"?
17:57<urdh>I get this:
17:57<Rubidium>I reckon you have a 64 bits CPU/installation which fails to compile strgen
17:57<urdh>/Users/simon/Desktop/openttd/trunk/src/ai/ai_gui.cpp:32:27: error: table/strings.h: No such file or directory
17:58<Rubidium>it's "just" happy FS#3190
18:03-!-KritiK [] has quit [Quit: Leaving]
18:09-!-Brianetta [] has joined #openttd
18:12-!-urdh [] has quit [Remote host closed the connection]
18:14-!-Fast2 [] has quit [Ping timeout: 480 seconds]
18:36-!-Cybertinus [] has quit [Ping timeout: 480 seconds]
18:38-!-Jhs [] has quit [Quit: Leaving]
18:41<Seberoth>good night @ll
18:42-!-Seberoth is now known as Seberoth|afk
18:47-!-Eddi|zuHause [] has quit [Remote host closed the connection]
18:50-!-Coco-Banana-Man [] has quit [Quit: Joyful it seems - but then suddenly - by one false move it's blown away]
18:50-!-Eddi|zuHause [] has joined #openttd
18:52<Eddi|zuHause>hm... weird...
18:52<Eddi|zuHause>must have hit the power button with my foot, or something...
19:01-!-Polygon [] has quit [Quit: Flieht, ihr Narren!]
19:06-!-George [~George@] has joined #openttd
19:09-!-Nite_Owl [] has quit [Read error: Operation timed out]
19:09-!-StarLionIsaac [] has joined #openttd
19:13-!-George3 [~George@] has quit [Ping timeout: 480 seconds]
19:13-!-George [~George@] has quit [Read error: Connection reset by peer]
19:15-!-George [~George@] has joined #openttd
19:28-!-Chris_Booth [] has quit [Quit: ChatZilla 0.9.85 [Firefox 3.5.3/20090824101458]]
19:34-!-llugo [] has quit [Remote host closed the connection]
19:38-!-StarLionIsaac [] has quit [Quit: Leaving]
19:41-!-Lakie [~Lakie@] has quit [Quit: Sleep.]
19:53-!-KenjiE20 [~KenjiE20@] has quit [Ping timeout: 480 seconds]
19:58-!-fonsinchen1 [] has joined #openttd
19:58-!-KenjiE20|LT [] has joined #openttd
19:59-!-Brianetta [] has quit [Quit: Tschüß]
20:04-!-fonsinchen [] has quit [Ping timeout: 480 seconds]
20:05-!-StarLionIsaac [] has joined #openttd
20:06-!-Zahl [] has quit [Quit: *schiel*]
20:09-!-Biolunar [] has quit [Quit: gn8]
20:19<CIA-4>OpenTTD: michi_cc * r17767 /trunk/src/os/macosx/osx_stdafx.h: -Fix [FS#3190]: [OSX] Don't check 64bit-ness when compiling strgen.
20:19<CIA-4>OpenTTD: michi_cc * r17768 /trunk/src/video/cocoa/ -Fix (r17715): [OSX] Newer GCC versions don't like jumping over variable definitions with goto's. (planetmaker)
20:20-!-StarLionIsaac [] has quit [Quit: Leaving]
20:27-!-Rubix`` [~wrqwer@] has quit [Read error: Connection reset by peer]
20:27-!-Rubix`` [~wrqwer@] has joined #openttd
20:42-!-PeterT [] has quit [Quit: I'm off]
20:53-!-Toast [] has joined #openttd
21:08-!-fonsinchen1 [] has quit [Quit: Leaving.]
21:26-!-Toast [] has quit []
21:47-!-KenjiE20|LT [] has quit [Quit: Leaving]
21:48-!-Rubix`` [~wrqwer@] has quit [Read error: Connection reset by peer]
21:51-!-eJoJ [] has quit [Ping timeout: 480 seconds]
21:51-!-eJoJ [] has joined #openttd
22:00-!-Chruker [] has quit [Read error: Connection reset by peer]
22:07<De_Ghosty>anyone major engineering?
22:14-!-George3 [~George@] has joined #openttd
22:14-!-George [~George@] has quit [Read error: Connection reset by peer]
22:31-!-glx [glx@2a01:e35:2f59:c7c0:29b3:ba5a:d252:e316] has quit [Quit: bye]
22:39-!-MizardX [] has quit [Read error: Connection reset by peer]
22:40-!-MizardX [] has joined #openttd
23:03-!-ecke [~ecke@] has quit [Read error: Connection reset by peer]
23:25-!-sdafsdf [] has joined #openttd
23:25-!-LadyHawk [] has quit [Read error: Connection reset by peer]
23:25-!-sdafsdf is now known as LadyHawk
---Logclosed Mon Oct 12 00:00:01 2009