The online racing simulator
Searching in All forums
(948 results)
filur
S2 licensed
Yes.
filur
S2 licensed
It's very annoying when working on something while having LFS open, getting served with never-ending tyre squeal/dirt noise.

+1 for calling it a bug.
filur
S2 licensed
Quite large, bit weird, but hey.
filur
S2 licensed
Quote from modman :Hello! I've made my server and now i want to run it on startup. I've made .bat file. It works fine but i would like that cmd prompt close after server starts. How could i do that?

Either use a shortcut with appropriate parameters instead of the .bat file, or run the server from the .bat with the command start.


start e:\lfs\server\lfs.exe

filur
S2 licensed
Quote from seggons :http://lfsbench.iron.eu.org/

While the LFS bench stuff is quite a good benchmark, i don't think you can compare the figures to online play. For example, i can run a full grid multiplayer race replay in 16x speed, but an SP replay with just a few AI's completely chokes my PC at 4x speed (fps drops.. drops.. drops .. LFS hops back to 1x speed). Probably because online cars have their controllers sampled between 3 to 6 times per second while AI's in SP are sampled at 100hz (?).

On topic.
20-30 fps at the back of full grid, 50-90 racing.
filur
S2 licensed
Quote from keiran :Registering on the demo will never work. It should be easy to play to attract people to play it. If people want to wreck like iDi they'll just make mutiple accounts, what are you going to tie it to? E-mail addresses can be made in seconds for free.

A demo 'license' could be completely automated and transparent, generated from a hardware ID upon connecting to the master server. Tie the ID to a "guest19528" username and you've got proper bans in demo. It wouldn't really be necessary to go any further, an lfs.net/forum account could still be separate, guest usernames which havent been used in a week could just be deleted.
filur
S2 licensed
Quote from W1ldPort75 :@ Filur
I have a rootserver from t-online (telekom germany) at 100 Mbits . Are you saying that i can host 20 lfs servers with no probs ??? That would be crazy

I may have exaggerated just a little bit since the computer specs you posted were so ridiculously overqualified for running a few LFS servers, but you could still probably host alot more servers then you'd need for yourself.

To be honest i'm not sure what usage you'd get with 20 full grid servers at full pps, but hosting a 'normal' amount of servers, maybe 5, maybe 8, .. should definitely not be a problem.
filur
S2 licensed
I'd really not recommend compressing with a heavy codec such as DivX before editing in Premiere or similar, as editing tends to be unreasonably slow with compressed source material. I'd also recommend to not render to DivX from Premiere, rendering to uncompressed rgb and compressing in virtualdub is (atleast for me) probably 10 times faster, and you can play around with compression settings without having to re-render effects etc.
filur
S2 licensed
Quote from W1ldPort75 :.. how many lfs servers do you think i can host without having lag ?

You will be limited by bandwidth, not cpu cycles. That computer could probably run 100 LFS servers simultaneously.

One 20-slot server should need from about ~1mbit upload speed at 3 pps to ~2mbit at 6 pps.
filur
S2 licensed
Quote from ORION : .. important aspects of web browsing are things like the "back button", which doesnt work in lfsw.

Back button and mouse gestures for forward/back work in Opera.

Quote from ORION :You can also create a "race favourites circle", which shows which tracks/cars/combos you drive most. (like this)

http://flp.c0m.se/flp_piechart ... r&racer=FLP%2Fm+filur
filur
S2 licensed
Quote from molocco :how should one react in this kind of situation?

When you are racing for position, the blue flag message is basically an error. If you're racing the actual car that's giving you the flag, there should definitely not be a blue flag. If you're racing within a pack of backmarkers and you're all being caught by the leader it gets more complicated as you should not obstruct the leader (on purpose) but still fight the cars you're racing for position.

Basically there's no blue flag if you're still racing for position.
filur
S2 licensed
Voted option 1, always enabled, i like the possibilites but don't like 95% of javascript content i come across. AJAX is very neat.

Quote from Victor :The way I see it, Javascript offers very nice additions to webpages. Not using is feels like staying in the stone age. Shouldn't we move on?

Most javascript i see adds basically nothing, a bit like making a simple static website by putting the text in SQL and pulling it with PHP, needlessly complicated and will probably break sooner then that good old .html file. A site built with javascript is also probably much harder to archive or make use of without a (modern) browser. The only 'new' technology for simple websites that actually improve anything compared to building simple sites 10 years ago is css, imho.

LFS World works really good though, some things are annoying at times but i'm quite sure it would take more time to navigate if it was a 'normal' site.
filur
S2 licensed
LFS is the first sim i've played, actually i didn't really know racing sims existed before finding LFS. Been strangely attracted to racing games all my life without having any real interest in motorsport, starting with Monza, Road Fighter and Rally on the Spectravideo, Outrun, Mario kart .. , Sega Rally, more recently V-Rally 3, TIR, Burnout and Forza on the XBox. Never looked for racing games on the pc, pc was just for playing Quake.

One day i was browsing Buzz, the original swedish 'linkdump' site. Clicked a link named Cool Car-simulator, saw the Force Dynamics videos and forgot about it. For some reason a few days later i dug up the link to the 301 videos again to find out more about "that game", googled, downloaded the demo and got hooked in about 10 minutes driving with the mouse.

I got completely addicted to XRT/BL1 so first investments were a DFP and parts for an FFShifter, with the new gear i also had to try every single sim/semi-sim i could find. Finally bought the S2 license ~4-5 months after finding the demo.

Also a bit funny how i'd probably not been able to play on my main pc at that time. Since i basically never played anything but Quake (1), my main PC still had an early Geforce 2, but i had just bought another one to build a MAME cabinet / home arcade. for the cabinet pc i had bought the cheapest over-the-counter card i could find (radeon 9550se) which as it turns out runs LFS just fine. Combine this with the fact that my main pc wasn't actually in my home at the time, and i was temporarily using the cabinet-to-be pc. Needless to say i got distracted from the cabinet building plans.
filur
S2 licensed
55,26% of 1169 races.
filur
S2 licensed

/rcm [I]message[/I]
/rcm_ply [I]username[/I]

wait a while.. (amount of time you want the message to be shown)

/rcc_ply [I]username[/I]

Admins only, racecontrol message (big centered letters), annoying to type out, hard to miss, should work good enough when you really need to send a "pm".
filur
S2 licensed
Quote from NotAnIllusion :One more thing though, about newlines. You put "\n" there, but some (file?)systems use other endline chars. Is there any reliable way to determine which ones they are, or is there an abstracted method to read from all these different things?

You could 'detect' the newline type through php_uname(). Splitting by \n and trim()'ing the string is a neat way of getting an identical result on Linux/Unix and Windows. Do Mac's still use only \r ?
filur
S2 licensed
Quote from NotAnIllusion :Why is get_file_contents () better than using it as a resource? Also, would it be better then to write the entire config from a string to a file with file_put_contents ()? Currently I open (or create) the file for write access as a resource and fwrite each /key=value pair into it and close it.

I guess it achieves exactly the same result, but with less / shorter code.


<?php 
php
  
class LFSConfig extends DCFramework {
    function 
Parse ($file) {
      foreach(
$file as $line) {
        if (
preg_match("/^\/[a-z]/"$line)) {
          
$opt preg_split("/=/"$line2PREG_SPLIT_NO_EMPTY);
          
$opt[0] = preg_replace("/^\//"""$opt[0]);
          
$this->$opt[0] = trim($opt[1]);
        }
      }
    }
  }
  
LFSConfig->Parse(explode("\n"file_get_contents("setup.cfg")));

  function 
write_stuff($cfgObj$file$out "") {
    foreach(
$cfgObj as $key => $item) {
      
$out .= "/$key=$item\n";
    }
    
file_put_contents($file$out);
  }

?>

Quote from NotAnIllusion : .. uncommenting the appropriate line (which works in CGI) does not work. Any ideas?

IIRC apache will want the extensions in path/to/apache/bin, for mysql i think you need libmysql.dll in there too.
filur
S2 licensed
Quote from Crazy Harry :Sure, but if you reach a backmarker AFTER the start/finish straight? What to do? Wait till you passed the tire chicane to pass him on the second straight? You will loose up to 10 sec.!

The passing driver is fully responsible for making a safe pass, so you wait until it's safe to pass whether the backmarker helps you or not. If the car drives so slow that you'd loose 10 seconds before the next straight there's no way he could hold you behind anyway.
filur
S2 licensed
Quote from Crazy Harry :don't fight the other car

This i believe is the only really universal part.

Quote from Crazy Harry :You have to let pass faster cars on the oval, so you can´t hold your line, that is blocking, so you have to leave the best line. Same on tracks like Westhill

Westhill has two enormous straights, you don't need to leave your line.
filur
S2 licensed
Quote from CLRS530 :But where is the difference between Port 0 (back to the same port) and use the same port?
It makes for usage no sence to me

Maybe i've got it wrong, you're asking why you can't specify the exact same port as LFS is listening on as the port for responses in the ISI packet when you run everything on the same machine? Because it would make LFS send packets to itself.

Just like MonkOnHotTinRoof says, using 0 will make LFS respond to the originating port of the incoming packet, which is of course completely different from LFS' listening port.
filur
S2 licensed
Radeon 9550SE, no change in fps.
filur
S2 licensed
Quote from CLRS530 :

lfsSocket.sendMessage((char*)&insimRequest,sizeof(struct InSimPack));
lfsSocket.sendMessage((char*)&startInsim,sizeof(struct InSimInit));


You're sending the ISC before the ISI?
filur
S2 licensed
Master server works fine for me (U20), LFSWorld graphs show no disruptions. A single search provides ~15 threads dealing with this.
filur
S2 licensed
I'm pretty sure the Aston Club race is the best LFS video i've ever seen.
FGED GREDG RDFGDR GSFDG