Ah, I've always wondered why that happens but never bothered to have a look.
Nice find Dave
Nice find Dave
<?php
public function unpack($rawPacket)
{
foreach (unpack($this::UNPACK, $rawPacket) as $property => $value)
{
$this->$property = trim($value);
}
return $this;
}
?>
< IS_MCI Packet from s2.
object(CompCar)#4311 (13) {
["Node"]=>
int(0)
["Lap"]=>
int(0)
["PLID"]=>
int(43)
["Position"]=>
int(0)
["Info"]=>
int(128)
["Sp3":protected]=>
int(0)
["X"]=>
int(0)
["Y"]=>
int(0)
["Z"]=>
int(0)
["Speed"]=>
int(0)
["Direction"]=>
int(0)
["Heading"]=>
int(0)
["AngVel"]=>
int(0)
}
no flags found for PLID 43
PHP NOTICE:
Undefined offset: 0 in /plugins/welcome.php on line 968
1 :: onMCI in /modules/prism_plugins.php:156
2 :: dispatchPacket in /modules/prism_hosts.php:577
3 :: inspectPacket in /modules/prism_hosts.php:487
4 :: handlePacket in /modules/prism_hosts.php:340
5 :: checkTraffic in /PRISM_s2.php:229
UName:
< IS_MSO Packet from s2.
^7[^4TOM^7]^4�^7Tau^J�o^8 left the pits (FZR)
< IS_NPL Packet from s2.