|Third party suicide hook crashes with beta 5 [message #469928]
||Tue, 26 June 2012 11:38
Registered: April 2011
I've been using a suicide hook from the OnOeS bot released by Hex for a plugin (Suicide5MinWait), it works just fine with beta 4 but with beta 5 it crashes (even if I change the hook to just print something to the console):|
Hook *Suicide = new Hook;
void __cdecl Suicide_Hook(int PlayerID)
void __declspec(naked) Suicide_Glue()
mov eax, [edi+6B4h];
add esp, 4;
Suicide->Install('\xE9', 0x004BA144, (int)&Suicide_Glue, "");
Long time and well respected Renegade community member, programmer, modder and tester.
Scripts 4.0 private beta tester since May 2011.
My Renegade server plugins releases