How do you calculate the amount of drag that is removed from each aero feature on the car? Shouldn't you be able to use the same calculation as the basis of scale?
float draft; // 1.0 = 100% drag removal from the car. 0.0 = 0% drag removal from the car.
We can then use this as a basis for any value of > 0.0 is a car that is receiving a draft and other programs that want to threshold this information could use anything above 0.20 as the basis for DSQing the lap.
--- Edit ---
Odd request perhaps. But once you start an InSim instance (by the command /insim=$port) could it send a ISP_ISI packet on loopback? Kinda like "Hey, I'm here." I leave my InSim instance running, in the background even when I disconnect and close LFS. If it could automatically reconnect once the LFS instance of InSim is ready that would be cool. Useful when debugging, I think.
And it follows the standard set out by the other packets. No idea if it works, so please check it out.
I find it odd that the IS_BFN packet morphology changed from 'CSize/CType/CReqI/CSubT/CUCID/CClickID/CInst/CSp3' too 'CSize/CType/CReqI/CSubT/CUCID/CClickID/CClickMax/CInst'.
Inst was moved too the last byte, and ClickMax was moved to it's position. I would think there is going to be some BC breaks on that right? Or is it because Inst is exposed but not used that it doesn't matter.
What's the server you're running this on? OS, and where are you getting PHP from? Building from source, download from a website, apt-get, yum, or pac man?
Vec is 3 Ints, X, Y, Z. (12 Bytes)
Vector is 3 Floats, X, Y, Z. (12 Bytes)
While they are different things, they happen to be the same size in memory.
l3 within the function call is not a hack, it's really how it needs to be done. DarkTime's libaries handle this better then PRISM does, but it also does it with a little more overhead. It places a wrapper around the Vec structure. We could do the same thing within PRISM, the overhead it's self is negligible. The Pos function would accept $X, $Y, $Z as paramaters and pass them through to the Vec class on packing / unpacking.
That's a very good point. But I still voted yes because "Moar money!" for the devs. Putting this on Steam AFTER S3 comes out would be a much better idea.
Nice job on the Wiki. As far as the Mac side of things, I'm running the Beta of 10.11 now, and WineBottler works like a charm still. Homebrew and Ports complain and refuse to install on platforms they don't know. Because I'm on 10.11 El Captain Dev preview I can't even try to install brew or ports. WineBottler just works. Can't tell you about controller support as I use a mouse.
Allow connections from 127.0.0.1 and ::1 without a password. What about linux servers running multiple hosts on a single machine? If I were on the same VHOST as another server wouldn't I be able to commandeer their server.