Hello guys, im trying to code a dll as you can see i've posted it at Gunz Developent, but i still have some questions about the structure of Gunz's ZModule_Movable::UpdateGravity function:
I'm currentlly caling it this way:
Putting the function adress at ecx register
Pushing the Gravity value i wanna set
Calling ecx (the function itself)
This is causing my game to crash. Is there any other argument i need to store before calling the function? Such as Character id ore something? Thanks.



Reply With Quote![[ASM] About UpdateGravity Function Structure](http://ragezone.com/hyper728.png)


