Latest SDK Files Download
-
If you did some reversing work (figuring out unknown structs, etc…) or if you wrote a plugin with inter plugin communication and introduced a new message type, or if you want to propose other changes to the sdk files, please use this thread. I will then update the sdk package.
-
I found something new:
struct SSPObjUpdateInfo
{
uint iShip;
Vector vDir;
float fDunno1;
Vector vPos;
double dTimestamp;
uint iDunno4;
char cState;
};The dTimestamp defines the timestamp sent by the client. This way, it is possible to do precise speed calculation that is very lag-proof.
Also, this timestamp is now being used in the lag detection of the connection data plugin. Good stuff -
right, it was missing because its not defined in the header file… I added it now though, put it in server.h
struct EQ_ITEM { EQ_ITEM *next; uint i2; ushort s1; ushort sID; uint iGoodID; CacheString hardpoint; bool bMounted; char sz[3]; float fStatus; uint iCount; bool bMission; };
sdk updated
-
I forgot to include the updated RIGHTS enumeration in the FLHook.h header file:
enum CCMDS_RIGHTS { RIGHT_NOTHING = 0, RIGHT_SUPERADMIN = 0xFFFFFFFF, RIGHT_MSG = (1 << 0), RIGHT_KICKBAN = (1 << 1), RIGHT_EVENTMODE = (1 << 2), RIGHT_CASH = (1 << 3), RIGHT_BEAMKILL = (1 << 4), RIGHT_REPUTATION = (1 << 5), RIGHT_CARGO = (1 << 6), RIGHT_CHARACTERS = (1 << 7), RIGHT_SETTINGS = (1 << 8), RIGHT_PLUGINS = (1 << 9), RIGHT_OTHER = (1 << 10), };
Please update your plugin(s) to use the accurate rights.