The online racing simulator
Searching in All forums
(934 results)
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed


PiranMOTODestructionDerby ChooseYourOwnCombos#8
Racon
S3 licensed


Race Green Retro Cup, Round 6
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
If you choose the X configuration, all the things that change between track configurations should be in the 'openest' position they have.
Racon
S3 licensed
Votes counted, schedule finalised... what a brutal night! Thumbs up Omg omg omg
Last edited by Racon, .
Racon
S3 licensed


PiranMOTODestructionDerby 13/16 (S2 Special)
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
Quote from Racon :LFSW name: racon
In-game name: [PM] Jam 616
Full team name: PiranMOTO
Nation: United Kingdom

Reactivate
Racon
S3 licensed


Race Green Retro Cup, Round 4
Racon
S3 licensed


PiranMOTODestructionDerby 13/15
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
It might be related to the not getting an InSim signal for the green light - IIRC that was to thwart people who would make an InSim launch control from it.

It's not ideal, but you can calculate the time the race/lap started when the first car hits S1 - take that first split time away from the current race time for the exact time of the green light.
Racon
S3 licensed


Race Green RTFR #338 (SimBroadcasts coverage)
Racon
S3 licensed


Race Green Retro Cup, Round 3
Racon
S3 licensed


pmdd 13/13
Last edited by Racon, .
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
It's an annual race, next one is a while away in May 2025.
Racon
S3 licensed
I've compared it (the PHP version) to code that I've got in use and you're not missing anything that I can see. I'm using cURL with a follow option rather than file_get_contents... maybe there's a redirect in there somewhere?

$accessTokenPost = array( 'grant_type' => 'client_credentials',
'client_id' => LFS_OAUTH_CLIENTID,
'client_secret' => LFS_OAUTH_CLIENTSECRET);
$ch = curl_init(LFS_OAUTH_TOKEN_URL);
curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/x-www-form-urlencoded'));
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($accessTokenPost));
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$result = curl_exec($ch);
curl_close($ch);
if (!$result)
{
if ($debug)
{
echo 'failed to get token '.LFS_OAUTH_TOKEN_URL.' ';
var_dump($result);
var_dump($http_response_header);
}
exit();
}
$json = json_decode($result);
$bearerToken = $json->access_token;

Racon
S3 licensed
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
Racon
S3 licensed
Last edited by Racon, .
FGED GREDG RDFGDR GSFDG