The online racing simulator
Spawn car at specific coordinates using JRR Packet
(4 posts, started , go to first unread)
Spawn car at specific coordinates using JRR Packet

<?php 
                        
case "jrr":
                        {
                                
$CBlank $this->getPlayerByPLID($MSO->PLID);
                        
$ucid $CBlank->UCID;
                        
$C $this->getClientByUCID($ucid);
                        
                        
$JRR = new IS_JRR;
                        
                        
$StartPosition = new ObjectInfo(45232171280128);
                        echo 
$JRR->ReqI(0)->PLID($MSO->PLID)->UCID($C->UCID)->JRRAction(5)->StartPos($StartPosition)->send();
                        }
                        break;
?>

PHP WARNING:
unpack(): Type s: not enough input, need 2, have 1 in C:\PRISM\Archive\m
odules\prism_packets.php on line 120
[0;37m[40m 1 :: unpack in C:\PRISM\Archive\modules\prism_packets.php:120[0
m
[0;37m[40m 2 :: unpack in C:\PRISM\Archive\modules\prism_packets.php:14[0m

[0;37m[40m 3 :: __conStruct in C:\PRISM\Archive\plugins\packets\MSO.php:129
[0m
[0;37m[40m 4 :: include in C:\PRISM\Archive\plugins\cruise.php:186[0m
[0;37m[40m 5 :: onPlayerText in C:\PRISM\Archive\modules\prism_plugins.php:
145[0m
[0;37m[40m 6 :: dispatchPacket in C:\PRISM\Archive\modules\prism_hosts.php:
581[0m
[0;37m[40m 7 :: inspectPacket in C:\PRISM\Archive\modules\prism_hosts.php:4
89[0m
[0;37m[40m 8 :: handlePacket in C:\PRISM\Archive\modules\prism_hosts.php:35
3[0m
[0;37m[40m 9 :: checkTraffic in C:\PRISM\Archive\PHPInSimMod.php:211[0m
PHP WARNING:
Invalid argument supplied for foreach() in C:\PRISM\Archive\modules\pris
m_packets.php on line 120
[0;37m[40m 1 :: unpack in C:\PRISM\Archive\modules\prism_packets.php:14[0m

[0;37m[40m 2 :: __conStruct in C:\PRISM\Archive\plugins\packets\MSO.php:129
[0m
[0;37m[40m 3 :: include in C:\PRISM\Archive\plugins\cruise.php:186[0m
[0;37m[40m 4 :: onPlayerText in C:\PRISM\Archive\modules\prism_plugins.php:
145[0m
[0;37m[40m 5 :: dispatchPacket in C:\PRISM\Archive\modules\prism_hosts.php:
581[0m
[0;37m[40m 6 :: inspectPacket in C:\PRISM\Archive\modules\prism_hosts.php:4
89[0m
[0;37m[40m 7 :: handlePacket in C:\PRISM\Archive\modules\prism_hosts.php:35
3[0m
[0;37m[40m 8 :: checkTraffic in C:\PRISM\Archive\PHPInSimMod.php:211[0m
PHP NOTICE:
Undefined offset: 8 in C:\PRISM\Archive\modules\prism_packets.php on lin
e 93
[0;37m[40m 1 :: printPacketDetails in C:\PRISM\Archive\modules\prism_packet
s.php:41[0m
[0;37m[40m 2 :: __toString in C:\PRISM\Archive\plugins\packets\MSO.php:130
[0m
[0;37m[40m 3 :: include in C:\PRISM\Archive\plugins\cruise.php:186[0m
[0;37m[40m 4 :: onPlayerText in C:\PRISM\Archive\modules\prism_plugins.php:
145[0m
[0;37m[40m 5 :: dispatchPacket in C:\PRISM\Archive\modules\prism_hosts.php:
581[0m
[0;37m[40m 6 :: inspectPacket in C:\PRISM\Archive\modules\prism_hosts.php:4
89[0m
[0;37m[40m 7 :: handlePacket in C:\PRISM\Archive\modules\prism_hosts.php:35
3[0m
[0;37m[40m 8 :: checkTraffic in C:\PRISM\Archive\PHPInSimMod.php:211[0m
IS_JRR {
C Size = 16
C Type = IS_JRR (58)
x ReqI = 0
C PLID = 4
C UCID = 5
C JRRAction = 5
x Sp2 =
x Sp3 =
StartPos = ObjectInfo {
s X =
s Y =
C Zbyte =
C Flags =
C Index =
C Heading =
}

}

thats an olllldddd discussion... No idea if the changes ever made it to the public but I discussion this 2.5 years ago already when this JRR was created, your objectinfo is empty as we discovered earlier. You can read all about it here; https://www.lfs.net/forum/thread/89003
Quote from cargame.nl :thats an olllldddd discussion... No idea if the changes ever made it to the public but I discussion this 2.5 years ago already when this JRR was created, your objectinfo is empty as we discovered earlier. You can read all about it here; https://www.lfs.net/forum/thread/89003

Hi,
Thank you for you reply.

Yeah i noticed it was empty, I tried playing with that objectinfo, still can't get it right. Not sure where is the problem
Quote from cargame.nl :thats an olllldddd discussion... No idea if the changes ever made it to the public but I discussion this 2.5 years ago already when this JRR was created, your objectinfo is empty as we discovered earlier. You can read all about it here; https://www.lfs.net/forum/thread/89003

It was never put in a release, but it landed on the GitHub.

Spawn car at specific coordinates using JRR Packet
(4 posts, started )
FGED GREDG RDFGDR GSFDG