[CODE]Ingame Functions( POST YOUR FINDINGS HERE )

03/04/2014 19:51 ntKid#91
Quote:
Originally Posted by AlainProvist View Post
I'm nearly done with this ; just a simple problem of address call after I changed all my jmp instructions to call ones because I was destroying the stack when jumping to a c declared function with a jump (yeah let's destroy the stack joyfully xD).
I'll finish this tonight when coming back home, and tell you if this worked (hope it will, cause I'm in a shortage of ideas after this one...)
You are correct, the functions are perfect no need to dig deeper.. its just thread safety and dead lock issues. Got it working, its running for about sometime. Still testing if its stable.. if it is i will share privatly with devs how i got it to work.
03/04/2014 20:29 AlainProvist#92
Woh ! Great job I'm still trying to jump correctly in and out my main hook function but failing doing both ^^.
03/04/2014 20:40 ntKid#93
AlainProvist can you upload the french game.bin? thx.
03/04/2014 20:57 AlainProvist#94
Sure : [Only registered and activated users can see links. Click Here To Register...]


edit : Damned! Still stuck on a stupid popad instruction crashing with memory violation...

Edit 2 : Yataaaaaaaaa ^^ Finally made it ! Currently testing if nothing bad happens.
03/05/2014 01:31 ntKid#95
Quote:
Originally Posted by AlainProvist View Post
Edit 2 : Yataaaaaaaaa ^^ Finally made it ! Currently testing if nothing bad happens.

France = 10 points.
03/05/2014 01:45 AlainProvist#96
Rofl !

I'm now calling all the game functions from the game's main loop somewhere just before the game updates the targeting code. From this point, all seem to work except the SetNearestTarget which is partially working : the hud is updated but something is still missing (I can't attack anything manually). I think it is just the current target id (from my previously posted targetInfo struct) that is not updated. I'll try add the part part of the code doing this tomorrow to fix the function. It was probably working before as long as the call of the function was performed at the same time the original call was supposed to be done by the game.
03/05/2014 02:09 ntKid#97
Quote:
Originally Posted by AlainProvist View Post
Rofl !

I'm now calling all the game functions from the game's main loop somewhere just before the game updates the targeting code. From this point, all seem to work except the SetNearestTarget which is partially working : the hud is updated but something is still missing (I can't attack anything manually). I think it is just the current target id (from my previously posted targetInfo struct) that is not updated. I'll try add the part part of the code doing this tomorrow to fix the function. It was probably working before as long as the call of the function was performed at the same time the original call was supposed to be done by the game.
Sent you my CLua[SRC] update by private message, i translated to the french client just by refering to byte patterns, if you want to have a go at it.

cheers.
03/05/2014 02:56 spaknotboys#98
sir is this working on aurakingdom.to private server? ive tried this but it keeps saying wrong user and password and the captcha keeps coming out. i know 100% my user and pass are correct.
03/05/2014 07:48 pureleech#99
it's connecting to official server.
03/05/2014 10:58 AlainProvist#100
I've sent you my entire vs solution by pm too. I'll give a look to your patterns and probably integrate them too. Congratulations to everybody involved in this and let's continue in this direction.
03/05/2014 14:03 Kay.Jay#101
Hi,

Amazing work ntKid!
Still getting to understand some of your functions. (I sent you a pm yesterday, asking whether there was any way I could help with this project).

Anyway, could you explain/elaborate the differences between the functions CSelectNearestTarget( ) and CGetPlayerTarget( ) ? I tried going through the code, and I am having difficulty understanding it (not the asm syntax, but how you use it and what values does it play with).

Thanks,
-K
03/07/2014 09:29 RanOnlineSukZ#102
Works fine on my pc. but can't get it to work on my other 2 pc :(((
03/07/2014 13:01 pureleech#103
why u no support or work on private server? :(
03/07/2014 22:46 Omdi#104
To unlock the camera from the player:

Code:
00682623 - jp 0068263F

Patch to

00682623 - jmp 0068263F
03/07/2014 23:47 wrobson#105
Windows 8.1 64bits.... works perfectly!!!!