Shouldn't that substring be 8,8 as in offset,length?
Or perhaps even better "$this->C = new CarContOBJ($this->C);" as C was assigned in the original unpack with the corresponding bytes
I tried to put something together but the button concepts are killing me.
Stuff like adding a button for all connections and removing it for a single one... Oo
BTW: is it really possible to have 2 objects at the same x,y coordinates?
i.e. Do we really need to use x, y AND index to compare or is x and y enough?
I assume:
Multiple objects will just be reported as seperate objects in the packet, each with own x,y coordinates.
And for the control object: The insim app could also remove the "control object", i.e. you configure the insim app like "!build garage" and then add a predefined object like a cone. The insim app then removes the cone and builds a garage relative to the coords of the cone.
"Colour - only used for chalk (0-3) and tyres (0-5)"
Can you add which number is which color so we don't have to try it out. (assuming you have the list ready to c&p )
New layout format looks good (Was already wondering why the spare byte was not 0 in z34 )
At which point will the PMO_LOADING_FILE be sent? Maybe there is need for an "send objects"-tiny-request i.e. when the insim tool connects to a already running server?
IMO BFN_CLEAR should never be used as it clears buttons of other plugins, too...
There should be an prism button wrapper which takes care of assigning ids etc. Also addons should be able to reserve space on the screen and the wrapper would print a warning if multiple as sons require the same space...
The fix for this plugin would be to set the clickids of the delete button packet
Two years ago I wrote some java code to read and write layouts for some experimental lfs marshalling, but it turned out to be pretty bad because you would need to reload the layout once the marshall moved
Now, as Scawen is going to bring the layout-manipulation-packets to insim I thought it would be a good idea to port this to a prism plugin, so I ported the basic java classes to php and I thought I share them with you so they can potentially be reused in prism. (Assuming that the packets use the same 8 byte structure.)
Uhm okay, maybe it was more than 2 month ago when i was so confused with safety ratings etc.
But the statement still holds. If i can select a car I should be able to drive it and not be specced after join which is the current limitation by insim systems to enforce car usage.
Jeah thats really annoying in cargame.nl Server when you have no clue which car to drive and get specced always. Very nice addition although i don't see the reason why aa league which is organized enough to have a safety car would need to restrict the cars
Sure, justfollow the instructions before installing the testpatch.-
If you didn't you can just redownload the game from the lfs page and overwrite the lfs.exe