Hi everyone,
I'm testing in Metin2 private server. I want to GetNameByVID function in C++.
My program giving this output : Όκ]
This is my assembly code:
char* GetNameByVID(int vId)
{
char* my_name;
__asm
{
mov ecx, PlayerPtr
push vId
add ecx,0x4
mov eax,[ecx]
call dword ptr [eax+0x8]
call GetNameByVIDCall
mov my_name, eax
}
return my_name;
}
Can anyone help me please :)
I'm testing in Metin2 private server. I want to GetNameByVID function in C++.
My program giving this output : Όκ]
This is my assembly code:
char* GetNameByVID(int vId)
{
char* my_name;
__asm
{
mov ecx, PlayerPtr
push vId
add ecx,0x4
mov eax,[ecx]
call dword ptr [eax+0x8]
call GetNameByVIDCall
mov my_name, eax
}
return my_name;
}
Can anyone help me please :)