The online racing simulator
Searching in All forums
(948 results)
filur
S2 licensed
Quote from troy :I know that the guys from FLP did an automated soccer application back for the worldcup in 2006, trying to get my hands on it since then but I guess my pie isn't good enough for them to hand it over.

That one isn't of much use now since it's not compatible with the current insim protocol.
filur
S2 licensed
Google says it's a keylogger.
filur
S2 licensed
I approve of this video.
filur
S2 licensed
Quote from zakret :I don't know how to exactly read player flags from file


<?php 
$player_flags 
array_pop(unpack('v'fread($stream2)));
?>

filur
S2 licensed
Quote from FM-Failure :Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in .../sdk/model/hottrackerdb.php on line 33

Quote from HorsePower :As far as I can see, there's no error in the code at the line

33 private $dblink,

PHP 4 does not support access modifiers such as "private".
filur
S2 licensed
Great video Jens

Quote from BigTime :Is the name of that team really, "Fred Loves Pie?"

Def Live Poser Eve Refolds Pi, Develops Fire.
filur
S2 licensed
Quote from boosterfire :I'm not sure about the J

Join.
filur
S2 licensed
If open source, yes.
filur
S2 licensed
Quote from Tim_J_23 :How long does it take to script up a whole damn program for that?

About 15 minutes.
filur
S2 licensed
Quote from Tim_J_23 :How shall the computer know when you want russian and when you want english?

The computer will know when he clicks the little button to apply a different codepage to the characters he has already typed.
filur
S2 licensed
Two InSim oddities.

- When stopping for a stop & go no IS_PIT is sent, there is however an IS_PSF at the end of the stop.
- After a driver swap, STime in IS_PSF does not include the time before the swap actually took place.
filur
S2 licensed
Quote from NotAnIllusion :So I'm confused, shouldn't calling the destructor as in this post destroy the guest object in the array

Calling the destructor doesn't destroy the object, it's simply a convenience method that gets called automatically when the object is actually being destroyed.

To destroy the object you should unset the reference(s) to it.
filur
S2 licensed
Quote from NotAnIllusion :Could it be because I do foreach($guests as $guest) at various places in my code?

If you're doing this in global scope or in the bottom scope of a "main loop" it might leave a reference to one guest in $guest.

Quote from NotAnIllusion :Isn't it possible to call the destructor to force it to, well, be destroyed?

Short answer: No.
filur
S2 licensed
Quote from NotAnIllusion :Currently I just unset the array key, but I'm not sure the object is actually destroyed

The object will be destroyed once there are no more references to it, unsetting the array key will result in destroying the object if the array of guests is the only place you're storing references to the guest objects.


<?php 
public function __destruct() { echo "I'm being destroyed!"; }
?>

filur
S2 licensed
If the harddrive is not broken, you will be able to see your data. If the harddrive is broken, you won't.
filur
S2 licensed
Quote from Migz :If i was to move my old hard drive to my dads computer, then copy eveything from that hard drive to my "new" hard drive. When i put my "new" hard drive into my computer will windows still work fine? Or are their files that are just not found in the explorer?

http://www.google.com/search?q=clone+harddrive
filur
S2 licensed
Quote from G!NhO :Is it possible to buy an additional harddisk and install windows on that one so i still have all my files on the other hard disk?

Yes.
filur
S2 licensed
Assuming the issue is port forwarding.

When your buddy tries to connect to you, he ends up at your router knocking on port 63392. Unless you've told your router which PC on the home network is running a service on port 63392 the router won't know where the request is supposed to go (post office receives a letter with a nonexistent address written on it).

What you need to do is figure out what address (IP-address) your PC is using on the home network and tell your router to forward requests on port 63392 to this address.

Finding your address on the home network: http://www.ncsu.edu/resnet/windows/ipconfig/vista.php (ignore the bits about "ResNet")

Setting up your router: http://www.portforward.com/eng ... Live_For_Speed_Server.htm
filur
S2 licensed
It's just as possible to (manually) install XP on the Acer.
filur
S2 licensed
Being able to request the full SPR/MPR header could be handy.
filur
S2 licensed
Reading yellow flags as-is reminds me of this quote from a Swedish comedy show

Quote :.. going to the toilet for the 10th time of the day and saying "Well i've got diarrhea AGAIN" ? .. No, you've STILL got diarrhea.

FGED GREDG RDFGDR GSFDG