Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 00:07

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



SendCharacterState Something is Wrong

Discussion on SendCharacterState Something is Wrong within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2011
Posts: 9
Received Thanks: 0
SendCharacterState Something is Wrong

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.
musty19945 is offline  
Old 03/07/2021, 23:27   #2
 
elite*gold: 0
Join Date: Dec 2020
Posts: 47
Received Thanks: 25
Code:
typedef struct D3DXVECTOR3
{
	float x, y, z;
} D3DXVECTOR3, *LPD3DXVECTOR3;

typedef D3DXVECTOR3 TPixelPosition;
ones-and-zer0es.mpeg is offline  
Old 03/08/2021, 00:33   #3
 
elite*gold: 0
Join Date: Aug 2011
Posts: 9
Received Thanks: 0
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

musty19945 is offline  
Reply


Similar Threads Similar Threads
SendCharacterState question
03/08/2021 - Metin2 - 13 Replies
Hello everyone. From my understanding as I look at the SendCharacterStatePacket function, it requires that the destionation should be a float* (float pointer). Casting the coordinates into float* like the following: float finalDest = { charPos.x + 20.f, charPos.y }; doesn't seem to do the job. It seems that the character is teleporting in place, while it should move +20.f in the X plane. My coordinates are ok, updating real-time & before the cast is made, so that shouldn't be a...
[4Story] Something for something
01/28/2015 - 4Story - 1 Replies
Hey, I could show you a few things I've done, maybe many of you do not know how you do it, so I will add here that when looking for a given task will not be able to, so I could show you how, but something in return :) I pointed to the fact that I own for you to shoot video and how you, or you on skype. The list of what I could do / show: 1. How to change at merchant plus + magic 2. How to overwrite: http://prntscr.com/5xbnzm (Client change) 3. How to overwrite: http://prntscr.com/5xbnzm...
Something wrong with my edit???
01/06/2008 - Dekaron - 0 Replies
I edited all the monsters in crespo dungeon, so that they dont att me and i can solo... Ive been doing this for a while without any trouble. And now today it was all still working, until a few min ago, the cerberus wont attack me wich is good, but then when i get to the zombies, they start attacking me all, every time when i enter now. How can this be possible?
something wrong?
10/10/2007 - World of Warcraft - 1 Replies
i got druid lvl 28 and im lvl 150 in leatherworking... i cant lvl any higher in leatherworking and the expert leatherworker wont learn anything more to me... what is wrong?? cant i lvl any higher??:confused:
Something wrong with resolution 1024*768
05/08/2007 - Conquer Online 2 - 0 Replies
Like the headline said. I can't use 1024*768 in window mode. It transform to full screen mode if I press window. Do you know what's wrong with it?



All times are GMT +1. The time now is 00:07.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.