Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2
You last visited: Today at 13:55

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

Advertisement



How to use GetNameByVID(VID)

Discussion on How to use GetNameByVID(VID) within the Metin2 forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2021
Posts: 74
Received Thanks: 6
How to use GetNameByVID(VID)

.................
macnn50 is offline  
Old 04/28/2021, 20:12   #2
 
elite*gold: 0
Join Date: Dec 2020
Posts: 47
Received Thanks: 25


you're moving the VID into the ECX register which is not correct, i assume that you want to pass it as a parameter -> you would need to push it instead of moving it into ECX (assuming its typical thiscall and no fancy anti cheat bullshit exists). Additionally, you need to move a CPythonCharacterManager instance pointer into ECX in this case since its the "base pointer" of which you want to call a function. Atleast thats what i got from the few informations you provided
ones-and-zer0es.mpeg is offline  
Old 04/28/2021, 20:26   #3
 
elite*gold: 0
Join Date: Apr 2021
Posts: 74
Received Thanks: 6
Quote:
you're moving the VID into the ECX register which is not correct
what I am sending here is not "vid" but mobinstanceptr;
because I tried to do it like the example you showed on the other subject.
macnn50 is offline  
Old 04/28/2021, 20:50   #4
 
elite*gold: 0
Join Date: Dec 2020
Posts: 47
Received Thanks: 25
Quote:
Originally Posted by macnn50 View Post
what I am sending here is not "vid" but mobinstanceptr;
because I tried to do it like the example you showed on the other subject.
i think i understand now, where are you getting the MobBase from? is it the aliveinstance map?
ones-and-zer0es.mpeg is offline  
Old 04/28/2021, 21:14   #5
 
elite*gold: 0
Join Date: Apr 2021
Posts: 74
Received Thanks: 6
Quote:
Originally Posted by ones-and-zer0es.mpeg View Post
i think i understand now, where are you getting the MobBase from? is it the aliveinstance map?
no, how can I get mobs from the aliveinstance map?
macnn50 is offline  
Old 04/28/2021, 21:31   #6
 
elite*gold: 0
Join Date: Jun 2011
Posts: 17
Received Thanks: 3
I see you posted on the thread below. I don't know how you're getting the address to GetNameByVID function, but try this:

Use colddumper/another dumper to get the GetNameByVID address. Scroll down to the end of the function and search for instructions like these (it may vary depending on the game client):


Also, the area of the function on your screenshot doesn't look right.

After finding these instructions, recreate them in a function where you return a const char * and receives the target VID as a parameter. Then, at the end of the asm code block, move the eax (which stores the return value of the function) into a const char * var you created, and return it to your function, like this:


Or, if you want the easier way, use a function pointer (__asm will be happy hehehe xD). There are some tutorials in this forum, you can search for them.

ps: the code I posted might not work exactly as it is. It may be necessary to suit it to your game.
theashmaster is offline  
Thanks
1 User
Old 04/29/2021, 01:51   #7
 
elite*gold: 0
Join Date: Apr 2021
Posts: 74
Received Thanks: 6
I solved the problem, thank you everyone, I want to ask something. How can I drag an item to an in-game npc?
macnn50 is offline  
Reply


Similar Threads Similar Threads
How to use GetNameByVID function in C++
04/28/2021 - Metin2 - 12 Replies
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) {
[Phyton] GetNameByTarget oder GetNameByVID
12/05/2015 - Metin2 Private Server - 4 Replies
Ich werde wahrscheinlich 10000000 Fragen stellen, weil ich Idiot zu inkompetent dazu bin, die richtigen Threads zu finden. Ich suche HILFE, HILFFFFEEEE, ich suche niemanden, der mir sagt, das es falsch ist, das weiß ich nämlich schon. def GetVIDbyTarget(self): global VID VID = player.GetTargetVID() self.GetVIDText.SetText(str(VID))
How to use bad words in league vid tutorial
03/27/2015 - League of Legends Hacks, Bots, Cheats & Exploits - 1 Replies
http://www.youtube.com/watch?v=gJbRVQSqWJ8 Step by step tutorial on how to change your name on league
How to use Artmoney and use it to scam
05/29/2009 - SRO Hacks, Bots, Cheats & Exploits - 46 Replies
First of all you can download art money at http://www.artmoney.ru second i am only telling you how this program works. YOU CANT trade with a trade window. YOU CANT just buy everything in sight, trust me ive tried the money you see is just for show. ok if you follow these directions very carefully 1) Scan the program to make sure it is an ok file (NEVER trust files until scanned) 2) Install the program 3) Open your co client 4) Open moneyart 5) Accept terms of use and press ok 6) Press...



All times are GMT +1. The time now is 13:56.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.