The online racing simulator
Searching in All forums
(198 results)
andy29
S3 licensed
Ah yes, just had a look, so you are encouraged to use headlights instead, and honking is equivalent to flipping someone off. But Becky allows it because it helps give the drivers personality as it is virtual racing. It would be nice if they weren't used at all but Becky's reason (of course) makes sense

When I say a DVD, I don't mean just the Windows Media files put on a disc, I mean a proper video DVD that you could watch on a TV. Maybe that's what you meant anyway
andy29
S3 licensed
Absolutely brilliant. Again.

I love how you talk about if the stewards have seen people do things and how they are looking at data. And no comment on drifting!

One thing though - maybe you feel different about it - but shouldn't honking your horn be a similar offence to, say, telepitting while still racing? When you watch real life racing on TV, how often do you hear the drivers honking their horn? To me it just sounds silly.

Maybe you should start selling DVDs of the races
andy29
S3 licensed
Quote from MadCatX :You say that Windows can READ ext3 filesystemed partition? Arey you sure about that? Windows cannot see anything other thatn FAT ot NTFS filesystem.

Probably using something like this?
andy29
S3 licensed
Type 'ipconfig' into the command prompt (start > run > cmd) on the hosting computer, and try connecting to the IP address it says it has. Or if you are running the host on the same computer, try 127.0.0.1 .
andy29
S3 licensed
...and if that doesn't work, try a proper DOS bootdisk or a Linux live CD
andy29
S3 licensed
I don't know if it will work, but try renaming it with DOS (well, as close you can get in XP)... go to Start > Run, open 'cmd'. Then type:
rename ^1[TC]^7>Chris<.ply blah.ply

Then if it works at least you can move/delete/whatever it.
andy29
S3 licensed
Ahh right, that makes sense then

So...
insim format
byte S
word C
short c
unsigned C
int c
float f

Have I got that right?
andy29
S3 licensed
*wooshes over head*

NotAnIllusion - yes, it works! I am gradually understanding it. For the data types, for example the flags in the ISI packet, why in the line

<?php 
fwrite
($socketOut"ISI\0" pack("Scc"300001+8+16+321) . str_pad("aaa"16"\0"));
?>

is the pack format for the flags 'c'? According to InSim.txt, they are a byte - 1-byte unsigned integer - but in the PHP documentation the 'c' format is a signed char?

Also, so characters are okay just as strings, and integers need to be packed?
Last edited by andy29, .
andy29
S3 licensed
Wheee, I sent 'hello world' to LFS

First problem - I'm trying to get the version from LFS:


<?php 
fwrite
($socketOut"VER\0" pack("i"intval(0)));
$packet fread($socketIn256);
$lfsV trim(substr($packet,  48));
echo 
$lfsV;
?>

but there is no output. Also echoing $packet itself gives nothing. The problem's probably obvious to you!
andy29
S3 licensed
@rooble
Thanks a lot, that's exactly what I wanted!

@st4lk3r
Yes, I have looked at your tutorial... but I'm trying to learn the absolute basics, just trying to get connected and send a simple packet for the moment. Now I've done that, your tutorial will be very helpful
Very, very basic PHP
andy29
S3 licensed
Hello... I am trying to learn how to use InSim with PHP. First question - can I do this with XAMPP on Windows? I have tried using the example code from the wiki but nothing happens. InSim is set to port 30000.

I'm a complete n00b with PHP, so all I want to do right now is to connect to LFS and send a simple packet. I'm not even worried about even sending the ISI packet yet. Am I right in thinking that LFS should complain about what I am sending to it?

If that's right, then should I just be able to use fsockopen and then send a packet with fwrite? Something like this:


<?php 
$port 
"30000";
$tx fsockopen("udp://127.0.0.1"$port$errno$errstr);
$packet "aaa";
fwrite($tx$packet);
?>

Though that's probably completely wrong
andy29
S3 licensed
Haha, glad it's ok now
andy29
S3 licensed
Aha, are you looking at the in-game server list? If you are, have a look on LFSW.

My internet firewall only lets me connect to a server on my network through its internal IP address, not my external IP. I can only connect to it directly, as you are doing with yours. If I go to the server list in-game, LFS will try to ping my external IP, which won't work, and so it won't show up for me.

That means that it does show up in LFS' in-game server list, for everyone in the world except for computers on my network. I can still see it on LFSW as the site is pinging it for me.

Maybe your router is the same... if you can see your server on LFSW, you're ok.

Edit: Seems that I can see it... you were online at {M0B} «CHOP»
Last edited by andy29, .
andy29
S3 licensed
"/usemaster=yes"?

Also, maybe the firewall on the laptop (if there is one) is blocking the program. If it's Windows XP and you are using the built in one, go to Control Panel > Windows Firewall > Exceptions and add LFS.exe to the list. I don't know if WF does block it, but just to make sure
andy29
S3 licensed
^ this
andy29
S3 licensed
If you don't have much money, have a look for a cheaper wheel, like a Logitech Formula Force GP - you can get a second hand one now for hardly anything, ie. half the price of S2. I had one before my DFP and it was a good wheel. I would still be using it if I hadn't killed the motor connector pins.

I used to drive GPL with a joystick. I remember when I changed to a wheel and pedals (the FF GP), I wondered if I would ever be able to control it. For a while I was actually slower than I was with the joystick.
andy29
S3 licensed
Options > Player > Player name

Edit: CTRL + Shift displays LFS account names in the connection/position list.
Last edited by andy29, .
andy29
S3 licensed
The map update is small but it will be very, very handy.
andy29
S3 licensed
Quote from Nathan_French_14 :HOLY MOLONY! You Dev's are on fire!!

andy29
S3 licensed
Quote from JTbo :I would say that this is much better than F1PerfView.

Never noticed that before. Looks good, will have to try it
andy29
S3 licensed
Quote from Bendito :2) Where is this "Analyse for Speed" program that people keep talking about and recommending? I tried to go here to download it but the site has been down for several days at least.

How odd. Also try F1PerfView.

Quote from Bendito :4) When is it time for me to go online? My gut feeling is to wait until I am more stable, and can consistently do within about 3% of the world records on every track with a range of cars. But maybe I should wait longer (or shorter)? I don't want to spoil the online experience for more established racers.

Don't worry. Even if you're very, very slow, as long as you can keep it on the track and you use your brain, you won't cause a problem

If I'm on a new combo and not at the back of the grid, and I know that I'll just get in the way, I steer towards the nearest side, signal if I can, then when the race starts I get straight out of the way and can rejoin at the back. If you're not too slow you will usually pick up a few places anyway after the T1 crash.

Welcome to LFS
Last edited by andy29, .
andy29
S3 licensed
Well I'm sure that if you have proof and you talk to the devs, everything will be okay
andy29
S3 licensed
It would be good if someone did had one, not only for entertainment purposes, but of course Scawen could have a look at it too. Surely someone has it?

I always have auto save turned on, it's easier to delete replays you don't want rather than magic up ones you wish you'd saved
andy29
S3 licensed
Quote from aoun :LOL, post post!

This thread needs more replay-age
andy29
S3 licensed
Off most of the time. Normally when I'm racing who's who doesn't matter to me, but the list in the bottom right hand corner tells me enough if I'm having a good race with someone. I sometimes switch them on if I'm going to lap someone so I can see who they are, and after the race though so I can see who I'm talking to.
Last edited by andy29, .
FGED GREDG RDFGDR GSFDG