The online racing simulator
Searching in All forums
(930 results)
Racon
S3 licensed
An update for PIE! (link in OP).

It's mostly new LFS packets (notably AI control!), but a few small tweaks and bugfixes too and an update to the quick-reference text.

It is fully compatible with previous versions.

Updates in version 0.1.2:

FIX: Added missing constants/defines
FIX: Added missing ServerStatus in STA packet
FIX: Added missing CPP packet
FIX: Auto-shutdown if 3 pings missed
FIX: Removed 'ghost data' from MCI tracking
LFS UPDATE: License byte added to NCI packet
LFS UPDATE: New PLH packet (PLayer Handicaps)
LFS UPDATE: New LCL (SMALL) packet (Local Car Lights)
UPDATE: Added PIE_PLH array, player handicap data indexed by PLID
UPDATE: Added 'Flags' to BTC packet (mirror of 'CFlags')
UPDATE: Multiple MCI packets in a set will be concatenated
UPDATE: Added script type (local/host) to ;PIE command report
UPDATE: Added PIE_buttonsafe boolean to PIE object, true when screen is safe for buttons
UPDATE: Added PIE_buttonsafe function, called when screen becomes safe for buttons
UPDATE: Added PIE_buttonunsafe function, called when screen becomes unsafe for buttons
LFS UPDATE: New IPB packet (get/set IPBans)
LFS UPDATE: New AIC packet (AI Control)
LFS UPDATE: New AII packet (AI Info)
Racon
S3 licensed


Rony's Tuesday Fun Race #351 (SimBroadcasts)
Racon
S3 licensed


PiranMOTODestructionDerby 15/5
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
Last edited by Racon, .
JustBots - prevent human players from joining track, allow AI
Racon
S3 licensed
Quick & dirty script to prevent all human players from joining the track to help manage with AI-only events - it will also spectate any human players already on track when the script starts up.

Just add host IP, port and password to the settings and you're good to go.


<?php

function PIE_settings()
{
return array('host' => '',
'port' => '',
'adminpass' => '',
'flags' => ISF_REQ_JOIN,
'insimname' => 'JustBots');
}

function PIE_NPL($data)
{
// is it a bot?
$ai = $data['PType'] & 2;

// join request?
if ($data['NumP'] == 0)
{
// JRR reply
$jrr = array( 'Type' => ISP_JRR,
'PLID' => 0, // reply
'UCID' => $data['UCID'],
'JRRAction' => $ai ? JRR_SPAWN : JRR_REJECT);
PIE_sendpacket($jrr);
return;
}

// actual joins:
if ($ai)
return;

// cleans current non-bots on startup
PIE_say('/spec '.$data['PName']);
}


Racon
S3 licensed
LFSW name: racon
In-game name: [PM] Jam 616
Full team name: PiranMOTO
Nation: United Kingdom
Racon
S3 licensed
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed


PiranMOTO Destruction Derby 15/2
Racon
S3 licensed


RandomCar test race
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
[PM] Jam 616
Racon
S3 licensed
This one: https://www.php.net/manual/en/function.date.php, and this reference for the format string

edit: my data looks correct from here
Racon
S3 licensed


PiranMOTODestructionDerby Season 15 Round 1
Racon
S3 licensed


MRc RX Championship Round 1 (Forum | Simbroadcasts Stream)
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
Minor updates for 2025
Racon
S3 licensed
There is a 'custom access' setting, ie, the mod only shows for people whose usernames have been added to a list by the mod creator.

(Some people apparently get all the way into adulthood without ever having to learn about sharing, bless 'em)
Racon
S3 licensed


PiranMOTODestructionDerby Choose-Your-Own-Combos #9
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
Last edited by Racon, .
Racon
S3 licensed
I knew Kyoto had been expanded, but I had no idea by how much! It all looks stunning, too. Top job guys Thumbs up
Racon
S3 licensed


PiranMOTODestructionDerby s14e15 (results)
Racon
S3 licensed
Last edited by Racon, .
FGED GREDG RDFGDR GSFDG