GameForge Metin2 SCharacterState

07/04/2021 16:44 macnn50#1
Edit : Fixed
07/05/2021 07:12 cioace9#2
Quote:
Originally Posted by macnn50 View Post
Where am I going wrong here? , I'm trying for GameForge Server, After a while, the client either explodes or keeps flickering,

[Only registered and activated users can see links. Click Here To Register...]
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!"
07/05/2021 08:07 macnn50#3
you are right but c++ builder does not support using fastcall or stdcall to call a function, normally I can do it with fastcall using vc++ without any problem but c++ builder does not support it