
And there you go, Now I know what the parameters are. Then I can add the opcodes to SannyBuilder (No, Tommy killed Sunny, not Sanny) and decompile the script. Then I can jump to the address of the function to find out the number of parameters and their types: DWORD WINAPI CLEO_GetIntOpcodeParam(CScriptThread* thread) float WINAPI CLEO_GetFloatOpcodeParam(CScriptThread* thread) void WINAPI CLEO_SetIntOpcodeParam(CScriptThread* thread, DWORD value) void WINAPI CLEO_SetFloatOpcodeParam(CScriptThread* thread, float value) LPSTR WINAPI CLEO_ReadStringOpcodeParam(CScriptThread* thread, LPSTR buf, int size) void WINAPI CLEO_WriteStringOpcodeParam(CScriptThread* thread, LPCSTR str) Then I can read the code to get the Opcode (16bit integer) and the address of the function. All I have to do is find out where he called this (the debugger will do that for me): BOOL WINAPI CLEO_RegisterOpcode(WORD opcode, _pOpcodeHandler callback) Still, callbacks or not, it is purely cleo, and there are more tools for it so, you can get the information you need, like you just said so i'm glad i was helpfull, i do want to see what you are promissing happen

Add ragdoll simulation when the ped is shot with a big gun (Shotgun, AK.)Ĭan you give me some pointers (pun intended)? any help would be appreciated. Add ragdoll simulation when the ped is dead or flying When you run some fool over, your car slows down as if he weighs at least 400 kg. send the arms and legs flying around their joints, the limits of the joints.etc. I want to duplicate his work in pure C++, no cleo bull-poop.

Sadly madleg has not been active for 3 months or so, asking him for the source code is a long shot. Tell me if you want any more informations (logs, screenshots etc.).So madleg's ragdoll mod looks good, it makes SA more like IV, but it does not work for everyone and we don't have the source to fix it. *Ragdoll mod I use (but it crashes with every kind of these ragdoll mods): The game works with every single mod except with the Ragdoll mod. All details, mods and plugins (or whatever you call it) I use are listed below. The loading bar everytime goes to the middle and after that the game freezes and crashes.

Hi, as I wrote in title - the game continues to crash everytime I want to play with Ragdoll mod (link below).
