Quote:
Originally Posted by macnn50
Where am I going wrong here? , I'm trying for GameForge Server, After a while, the client either explodes or keeps flickering,
|
Functions on GF are different than private servers. I remember, when i tried to make a little bot for GF, i needed to test a lot of functions with 1 or 2 parameters. Your function crash because you didn't call it correctly, the function differs from the parameters to the calling method ( __cdecl, __fastcall, __stdcall... ) I don't know how many parameters this function "SendCharacterState" has but if you find them and keep crashing, then more than likely the problem is with the calling method.
"And a little tip, stop using assembly language instructions to call a function, just use the address of a function to call it from C / C ++ or other programming languages. Why am I giving you this advice? Because assembly language instructions are changeable, they are not static and you can't make production for your program!"