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
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.
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 .
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.
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?
@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
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:
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»
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
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.
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.
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.