SendCharacterState Something is Wrong

03/07/2021 20:24 musty19945#1
Hello everyone ;

I want to change my virtual position using "SendCharacterStatePacket" , example range wait / pickup

but something is going wrong.

I see this when I look at the source code and I prepared a suitable asm block for it.
Code:
PythonNetworkStream::SendCharacterStatePacket(const TPixelPosition& c_rkPPosDst, float fDstRot, UINT eFunc, UINT uArg)
Code:
		float mobPos[2] = { mobx, abs(moby) };
		float rot = 10.f;
		DWORD Adres = *(DWORD*)0x159D384;    // Network Pointer
		DWORD Calls =   0x04903E0;     // SendCharacterStatePacket Call Address
		__asm
		{
			mov ecx,Adres
			push mobPos
		 	push rot
			push 15
			push 0
			call Calls
		}
where am I doing wrong? SendCharacterStatePacket I get the 'push ebp call' address of this function, but it still doesn't look right.


I am sure that netpointer is correct because I use it in many functions.
03/07/2021 23:27 ones-and-zer0es.mpeg#2
Code:
typedef struct D3DXVECTOR3
{
	float x, y, z;
} D3DXVECTOR3, *LPD3DXVECTOR3;

typedef D3DXVECTOR3 TPixelPosition;
03/08/2021 00:33 musty19945#3
Quote:
Originally Posted by ones-and-zer0es.mpeg View Post
Code:
typedef struct D3DXVECTOR3
{
	float x, y, z;
} D3DXVECTOR3, *LPD3DXVECTOR3;

typedef D3DXVECTOR3 TPixelPosition;
Do I need to send x, y, z? otherwise only x, y is enough? Because when I send x.y.z it does not give an error, but there is no response, it gives an error when sending xy.
is that my only fault because I tried this and the problem is still the same

[Only registered and activated users can see links. Click Here To Register...]