The online racing simulator
Searching in All forums
(239 results)
Anarchi-H
S3 licensed
Quote from Doorman :How does the saying go? "If you can't say something nice, don't say anything"?

If everone did that, no one would complain, and that would suck. Corporate shafters like Sony with their DRM antics would be off scot free.

Besides, it really doesn't look good; It would certainly look better if LFS didn't stretch the pixels so thin though.

*note to self* Don't install wood trim with your ICE */note to self*
Anarchi-H
S3 licensed
Heh, mister shadow has lame html skills; infact, isn't 'MSHTML' MSWord or Frontpage? Haha, 1337 h4xx0r!!!1!oneone

It was fixed earlier, cos I visited it, but it appears you are still vulnerable Fordy.

<HTML><HEAD><TITLE>( PAGE NOT FOUND) ERROR 404</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY bgColor=#000000>
<CENTER>
<P align="center"><IMG height=542 src="http://img225.imageshack.us/img225/9677/shadow2hg.jpg" width=800>
</P>
<P align="center"> </P>
<P align="center"><font face="fantasy"><STRONG><FONT color=#666666 size=+4>Hacked By Shadow</FONT></STRONG></font></P>
<P align="center"><font color="#666666" face="fantasy"><STRONG><FONT size=+3>Thanx - Thehacker</FONT></STRONG></font></P>
<div align="center"><br />

</div>

Presuming mister 1337 h4xx0r reads this; I mean, really dude, for a start you could at least use xhtml, and at the absolute minimal close your bloody tags... Where the hell is your closing HTML tag?
Not to mention STRONG and FONT are so 1997. Get with the times mate, go lookup some CSS, and do some research on semantically correct markup.
Sheesh.

I recommend changing all FTP / file management & admin script passwords. Whoever did this is a script kiddie with as much technical ability as my rather tasty spicy chicken wing. If it is a hole phpnuke, upgrade it after changing password and see if the little prat does it again.
Anarchi-H
S3 licensed
About 3 weeks ago I had one of those days.... I ordered a vintage mechanical keyswitch keyboard for £20 off ebay. I waited 2 weeks for it, then ****ed up the space bar within 2 hours of getting it because i messed up the spring when I put it back on after cleaning it. No biggy, it still worked, it just felt a little weird... to numb the 'doh' factor I cracked open a beer, and promptly spilt it all over the damn keyboard. The 'lock' LEDS flashed briefly, then all three just went dim. It hasn't worked since :doh:

Got another one now though. I ordered one, but it was faulty, so he sent me the faulty one and a working replacement. I fixed the faulty one, so now I have two working ones, and a beer soaked one.

They all feel sexeh though
Anarchi-H
S3 licensed
Don't forget XSS attacks folks.
By inserting malicous JS in to the mix, it will get stored in the DB, and echoed straight on to a page where JS may potentially have access to login cookies which could be used to fake authentication. You could run all display vars through htmlentities before display, but if you want to be able to provide links and such in the text then that won't work.

Check out this site for a solution. (Menu & download is in top right)

http://cyberai.com/inputfilter/
Anarchi-H
S3 licensed
Quote from ORION :strange that it doesnt work...
try some lower setting at a lower res, maybe your card/driver combo doesnt support the selected kind of AA at this insane res.

Appears you are correct here. AA doesn't get applied at 2048x1536, but it does at 1600x1200. You just ccan't tell the difference on 99% of objects in game.

Quote from d6nn : i see the number plate is rotax max? you are a kart driver?

That isn't me in the shot. I believe it is poolek or szyscek.
Anarchi-H
S3 licensed
hmmm... I just tried it, and when I take the shot, AA is definitely on, but when I view the screenshot it definitely isn't?!?

Fraps perhaps? I'm using 2.6.0 build 4791.
Anarchi-H
S3 licensed
I did have AA on I think my card / drivers are being selective of what they apply it to though, or its applying it badly. (AGP 128mb 6600GT w/78.01)

If you look at the fence on the right, it is as smooth as, and so are the signs and cars in the bg.
The barriers and the fxo look jaggy tho

Here is the original, taken with fraps at 2048x1536@32bit w/ 8xAA & 16xAF forced in cp
Anarchi-H
S3 licensed
Quote from Bob Smith :The problem is that effects need to be applied quite subtly, you shouldn't go wow, that looks really cool, lots of effects there... because in the end the real world doesn't look like load of cool effects, so the games don't look realistic. I think Scawen has the right idea for LFS, anyone remember when the "haze" affect was added, and some people didn't notice?

Haha, I still don't know what it does

I think LFS could do with shader support, but only for subtle (perhaps a bit more noticable than haze ) effects. I.e. cubic reflections for the cars instead of the rather weak environment map we have atm. It would be a subtle change, and older hardware could fall back on the env map, but it would look better.
Anarchi-H
S3 licensed
Quote from the_angry_angel :Anarchi recently rewrote his PHP classes to deal with LFSW: http://dsrc.digiserv.net/forum/forumdisplay.php?f=69
As for why more people dont use it, I really dont know. They;re good, and need pimping more.

Thanks

It's probably the same reason people are still coding their own database abstraction libs instead of using pear::db or adodb; they are lazy.

It may take more time to code than if they were to use the lib, but it takes less effort, unless the interface to the lib is extremely minimal, otherwise the coder is forced to read docs, which no one really likes doing.

LFSW-PPF is about due for an update, during which I may minimalize the required interface further, but still maintaing backwards compatibility and the modular structure.

Your closing comment about PPF actually made me realize how little I documented the structure of the classes. If you really wanted to, you could use your own cache & request mechanism and only include the actual 'provider' (which is just the parsing loop, and all of which take a string as input, and a reference to an array as output, returning true on success or false on failure).
Of course you'd have to do lfsworld error checking and decompression yourself.

Hmmm, I think I'll go minimalize and document now
Anarchi-H
S3 licensed
Same corner, same lap, same replay. Slightly differerent shot, but a more interesting one I think.

Higher res this time too.
Anarchi-H
S3 licensed
Yeah, I know; I accidentally saved a resized copy over my 1600x1200 copy without undoing the resize :banghead:

Still, gave me a nice technique for smoke, and now I'm working on a 2048x1536 w/ 8xaa & 16xaf edit

I'll try not to overwrite this one
Anarchi-H
S3 licensed
You are absolutely correct. It is bad semantic markup, and it doesn't work in IE... but...
I think I just found another solution.
Drop the 'link' div, and assign the style to the anchor tag (with it's own class so it doesn't mangle up other links), adding the attribute "display: block;" to the style; i.e.
a.mainmenu {width: 195; height: 32; overflow: hidden; display:block;}

and here is the div-less link

<a class="mainmenu" href="http://www.liveforspeed.net/anchorbug.html"><img id="whatislfs" src="anchorbug_files/links_whatis.gif" alt="" onmouseover="aniMate ('whatislfs', 1, 33)" onmouseout="aniMate ('whatislfs', -1, 33)" border="0"></a>

Works in IE6, Firefox 1.5RC2 & Opera8. Havent tested FF1.5 final because I havent got it yet, and you might want to make sure it doesn't bust 1.0.7 too
Anarchi-H
S3 licensed
Moving the anchor tag outside of the containing div seems to fix the issue, at least it does on the anchorbug page anyway. Might be a better solution than JS carnage.
Anarchi-H
S3 licensed
*poke*
Anarchi-H
S3 licensed
lol, no, I'm not a C++ programmer. The thing with MSDN is that you have to know exactly what you are looking for in order to find information on anything, otherwise it sends you around in circles pointing you to irrelevant crap. I found a little vbscript snippet on google that terminated all internet explorers, and saw the potential for adaptation. Hence I already had the basics of what I was looking for

I can't see lfsworld having any issues because I should imagine the stats stuff is sent via UDP which is connectionless, but I haven't looked in to that side of LFS before, so don't take it for gospel.

Clients however, will obviously get abruptly booted, or maybe sit there until LFS realizes the server has disappeared, then they'll get booted. Either way, there must be safe guards in place because a similar thing would happen if the pipe to a host should fail at some point.
Anarchi-H
S3 licensed
I think I might have an alternative solution to pskill for you.
*edit* sample was done in PHP5, so if you are working with less than that, you may have to find the equivalent, but I'm sure all of the functionality is available in lesser versions, just packaged differently *edit*

<?php 
php

$Base 
"C:\\Documents and Settings\\Jon\\My Documents\\temp\\packages\\";
$LFS "lfs_s2_full\\default\\";

    
$shell = new COM("WScript.shell");

    echo 
$Base $LFS 'LFS.exe';
    echo 
"<br>";
    
$WshShell->CurrentDirectory $Base $LFS;

    
$oExec $shell->Exec('LFS.exe /cfg=setup.cfg');
    
    
$PID $oExec->ProcessID;
    echo 
"PID: $PID<br>";

    
$WMIQ = new COM("winmgmts:");
    
$result $WMIQ->ExecQuery("Select * from Win32_Process Where ProcessID = $PID");

    
sleep(1); 

    foreach(
$result as $test)
    {
        if(
$test->Name="LFS.exe")
        {
            
$test->Terminate();
            break;
        }
    }

    echo 
"terminated $PID";

?>

$WMIQ is an SWbemServices object, and ExecQuery returns an SWbemObjectSet (hence $result is an object set). Because we selected from the Win32_Process thingy, $test will be a variant instance of Win32_Process.

I couldn't figure out how to get the SWbemObjectSet Item method to cooperate, hence the foreach loop to go through the result set (which there should only be one entry in anyway because we queried by process id).

This should now allow you to query the process, or terminate it, presuming it works for whatever application you have in mind.

Infos here
SWbemServices
SWbemObjectSet
Win32_Process
Last edited by Anarchi-H, .
Anarchi-H
S3 licensed
I've had a little play, but I can't see where you are getting that error message from, so this may or may not solve your problem

Before calling Exec, try setting the "CurrentDirectory" property of $WshShell to the LFS directory.

In addition, is there any particular reason you are terminating the process via pskill? The WshScriptExec object (which is what WshShell->Exec returns) has a "Terminate" method to kill the process via WM_CLOSE, or if that doesn't work it will force it to close.

More info here

http://msdn.microsoft.com/libr ... t56/html/wsoriobjects.asp

I get a 'no valid display mode' error in the debug.log whenever I try to launch it though, so unless you are launching with nogfx, I'm not sure you'll be able to do whatever it is you want to do.
Anarchi-H
S3 licensed
The lfs join link has the following anatomy;

lfs://|$hostname|$private|$type|/

Where $hostname is an urlencoded hostname with colour codes intact.
$private is 0 if the host is public, or 1 if the host is private.
$type is either S1, S2 or Demo.

As such, that code will only join a public S2 server, but other than that your code looks ok.
The paperweight V8...
Anarchi-H
S3 licensed
Just like the title says... a working V8 enigne made from paper, with videos of it in action.

http://www.yeesjob.com/v8engine.htm

Oddly enough though, there is no petrol or sparks.
Anarchi-H
S3 licensed
No photos, but picture this;

A warehouse, on a semi-rural industrial estate, surrounded by scrapyards and haulage firms, with a moss infested blue metal panel roof and brick walls.
Inside, it is lit dimly by a few strip lights, and approximately 50 metres in length by 20 metres wide with a rather rough concrete floor.
Standing at one end, looking down the warehouse lengthways, on the left side is a rack with blue barrels stacked as high as they could be, filled with all sorts of lovely chemicals. There is a gap, just wide enough to swing a small forklift around in, and next to that is a walkway, raised roughly 12ft from the ground, with red painted framework and grided floor panels.
This walkway allows for the filling and monitoring of 8 giant vats in the middle of the room, mounted on red painted metal struts 4ft from the floor, rusty as a Mk1 Ford Fiesta in one of the neighbouring scrapyards. Each vat is surrounded by a knee high wall that holds back the sludgy, watery overflow from the vat, in varying colours, from azure blue and blood red to the colour of the skids in your bog. (Mostly the later)
In front of selected vats there are stange looking metal contraptions, stained and oxidised by the chemicals that run through them. There are stainless metal tables either side of these contraptions, and next to those are the tape machines. Roughly 10ft in length, with bearing rollers at either end and four sea green conveyors (two top and two bottom) in the middle, with complex looking mechanisms attached above and below between the conveyors. At the end of each tape machine is usually a rather beaten looking red stained, or untreated pallet.
These are next to another pathway, barely wide enough to squeeze a pallet through in places, thanks to the pallets on the other side with varying sizes of boxes and bottles stacked up to 15 ft high on them.
Behind those pallets is the other wall.

The walls are painted white, there are a couple of semi translucent panels in the ceiling, and a medium sized window on the left wall, on the furthest end.
...and that completes your small descriptive tour of the chemical department at Staples/Consuma in sleaford.
Anarchi-H
S3 licensed
These are the only ones I've ever encountered, but that isn't to say there aren't more should something catastrophic happen like gerbils in the stat server or something.

Pulled straight from ppf.


<?php 
function isLFSWorldError($string)
{
    switch(
trim(substr($string050)))
    {
        case 
'hl: no hotlaps found':
        case 
'hl: no racer':
        case 
'ch: invalid track':
        case 
'ch: invalid car':
        case 
'pst: no valid username':
        case 
'pb: racer has no pbs':
        case 
'no output':
        case 
'can\'t reload this page that quickly after another':
        case 
'':
            return 
true;
    }
     return 
false;
}
?>

These were obtained by just throwing random crap at the stat server to see how it would respond.
Single player expansion
Anarchi-H
S3 licensed
ATM, I think like 99% of people would agree that LFS is pretty crap offline. Sure, you get the physics, tracks, and something resembling an opponent (I'm talking about the cones, not the AI ), but there is no gameplay offline.
LFS is purely a shell offline.

So, what I'd propose is that a little more attention is paid to this side of the game. Not necessarily involving the AI either. Offline challenges like 10 laps under xx : xx.xx time, or Sprinting to the end of the first sector, then back to the start as fast as you can.

Some AI involved aspects would be nice too though, like some kind of synchronised driving, fastest lap tourneys, or technical tracks with obstacles (like autox, only with AI). The sort of stuff you might do with one or two mates on a lan event?

Point being?

Well that is another aspect that needs improvement. There is currently no incentive to race offline. I have no idea what this incentive could be, but it would have to be something that people couldn't immediately access online.
Maybe this is where points could come in. If you got points for doing stuff offline too, and they were required to unlock certain variations of tracks (with the base track being immediately available) then you could either race online, or offline to progress through the content.

Perhaps a stupid idea considering it's supposed to be an online racing simulation, but I reckon it is food for thought.
Anarchi-H
S3 licensed
Really? I had RC2 earlier, and it didn't work, and now I have RC3 and it still doesn't work.

I've tested it to work in the following browsers;
  • Firefox 1.0.7
  • IE5.0.1-SP2
  • IE5.5-SP2
  • IE6
  • Opera 6.0.4
  • Opera 7.0.3
  • Opera8.5
and it doesn't work in these
  • Opera 9 preview1
  • Firefox 1.5 RC2
  • Firefox 1.5 RC3
All of which happen to be test versions... go figure
Anarchi-H
S3 licensed
Meh, kept me entertained for a couple of minutes.
Need some more solid obstacles to throw him against though. Bubbles get boring.

Bring on the cars, tables and stairs... which reminds me; How many of you have seen the 'dismount' games? (Porrasturvat & Rekkaturvat)

http://jet.ro/dismount/

Old, but it's amazing how much fun you can have with them.
FGED GREDG RDFGDR GSFDG