I have just noticed this as well, glad i am on the right path. I've checked out the implementation again and looks like a
CLagCompensationManager gets defined with the name ... "CLagCompensationManager", its the same
in the SE13 so its getting my hopes high. Seeing as the name passed doesnt get used in any way i suppose it is just a wrapper class (?). So now i've tried to create an instance of the class myself by calling CLagCompensationManager, which doesnt crash the server and even returns something. Unfortunately i dont think im on the right path though as it returns the same when called multiple times (?)
PHP Code:
StartPrepSDKCall(SDKCall_Static);
PrepSDKCall_SetFromConf(hConfig, SDKConf_Signature, "CLagCompensationManager");
PrepSDKCall_AddParameter(SDKType_String, SDKPass_Plain);
PrepSDKCall_SetReturnInfo(SDKType_PlainOldData, SDKPass_Pointer);
g_hCLagCompensationManagerCall = EndPrepSDKCall();
Address cPointer = SDKCall(g_hCLagCompensationManagerCall, "CLagCompensationManager");
Sig: \x68\x2A\x2A\x2A\x2A\xB9\x2A\x2A\x2A\x2A\xE8\ x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\x2A\x 2A\x2A\x2A\xB8\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2 A\x2A\x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A \x2A\x2A\x2A\x2A\x2A\xC7\x05\x2A\x2A\x2A\x2A\ x00\x00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x 00\x00\x00\xC7\x05\x2A\x2A\x2A\x2A\x00\x00\x0 0\x00
Needless to say that changing the sdkcall to the start function to raw and passing this address still crashes the server.
Edit: It doesnt crash it, but it freezes which i guess is the same. Code past the start call wont get executed either.
Quote:
Originally Posted by psychonic
probably best with address gamedata
|
Could you give me a hint towards address gamedata? This is literally the first time i am attempting to do "low level stuff", the stripped symbols arent really helping me either
Edit2: Nvm didnt realize that the lagrecord values are stored in the class instant and not in a global, so ill be needing to find the pre-defined global.. somehow.