Hey guys,
I know whats going wrong w/ my code, its described on a M$ website which follows.
[Only registered and activated users can see links. Click Here To Register...]
And its all well and good to fix that problem in C++... but i'm not using c++ for that function call, i'm using assembly language.
Namely the following...
and don't worry to much about asmWriter, i know it works. I use it for ALL my other functions from casting spells to triggering F-keys in background.
[param1] contains the pointer to my mob structure (first of the item pair in DequeEx from high6)
[param2] contains the pointer to some key value (second of the item pair in DequeEx from high6)
And im pretty sure im calling it correctly, its just the scope im calling it i guess.
Any suggestions??
Thanks.
Edit:
Just some extra information this "runtime error R6025 - pure virtual function call" comes from the co-client after calling the function... And the function does actually make my character start attacking the mob... then after some time (3 to 5 seconds), that error message comes up.
Edit:
I'm looking at this now
[Only registered and activated users can see links. Click Here To Register...]
I suppose its just a matter of learning how to call virtual functions in assembly language.
I know whats going wrong w/ my code, its described on a M$ website which follows.
[Only registered and activated users can see links. Click Here To Register...]
And its all well and good to fix that problem in C++... but i'm not using c++ for that function call, i'm using assembly language.
Namely the following...
PHP Code:
asmWriter.push((uint8_t)1);
asmWriter.push((uint8_t)0);
asmWriter.pushDwordPtr(param2);
asmWriter.pushDwordPtr(param1);
asmWriter.call(0x4FDBFE);
asmWriter.movEcxEax();
asmWriter.call(0x4F8C0A);
[param1] contains the pointer to my mob structure (first of the item pair in DequeEx from high6)
[param2] contains the pointer to some key value (second of the item pair in DequeEx from high6)
And im pretty sure im calling it correctly, its just the scope im calling it i guess.
Any suggestions??
Thanks.
Edit:
Just some extra information this "runtime error R6025 - pure virtual function call" comes from the co-client after calling the function... And the function does actually make my character start attacking the mob... then after some time (3 to 5 seconds), that error message comes up.
Edit:
I'm looking at this now
[Only registered and activated users can see links. Click Here To Register...]
I suppose its just a matter of learning how to call virtual functions in assembly language.