can somebody please explain what I am doing wrong here?
LFS response:
<?php
/*
requested CPP Object with $TINY->ReqI(1)->SubT(TINY_SCP)->Send() and dumped the response with print_r
IS_CPP Object
(
[Size:protected] => 32
[Type:protected] => 9
[ReqI] => 1
[Zero:protected] => 0
[Pos] =>
[H] => 65117 #Heading
[P] => 757 #Pitch
[R] => 0 #Roll
[ViewPLID] => 0 # Unique ID of viewed player (0 = none)
[InGameCam] => 0 # InGameCam (as reported in StatePack)
[FOV] => 24.60000038147 # 4-byte float : FOV in degrees
[Time] => 0 # Time in ms to get there (0 means instant)
[Flags] => 0 # ISS state flags
[Pos1] => -39175822 #"Vec" : 3 ints (X, Y, Z) - 65536 means 1 metre
[Pos2] => 11394484 #"Vec" : 3 ints (X, Y, Z) - 65536 means 1 metre
[Pos3] => 1037662 #"Vec" : 3 ints (X, Y, Z) - 65536 means 1 metre
)
*/
// trying to send same camera position back
$this->Pos = array("Pos1" => -39175822, "Pos2" => 11394484, "Pos3" => 1037662);
IS_CPP()->Pos($this->Pos)->H(65117)->P(757)->R(0)->ViewPLID(0)->InGameCam(0)->FOV(24.60000038147)->Time(0)->Flags(0)->Send();
?>
InSim : received a packet with invalid size
InSim : unknown packet (116 bytes) - PRISM v0.4.6