Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 08:40

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

Advertisement



How To Make A MobLock [METIN2]

Discussion on How To Make A MobLock [METIN2] within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2009
Posts: 5
Received Thanks: 8
How To Make A MobLock [METIN2]



Watch the video in HD on YouTube.

Here you are the source-code used in the video to write on X and Y coordinates.

Dev-C++
Code:
#include <windows.h>

//Gets
HANDLE GetProc();
DWORD GetX();
DWORD GetY();
////////////



int main()
{
    
DWORD X = GetX();
DWORD Y = GetY();

HANDLE hProcess = GetProc();
WriteProcessMemory(hProcess, (LPVOID)0x5f77e1, &X, sizeof(X), NULL);
WriteProcessMemory(hProcess, (LPVOID)0x5F781D, &Y, sizeof(Y), NULL);

    
}


HANDLE GetProc()
{
HWND hWnd = FindWindow(0, "METIN2");
DWORD proc_id;
GetWindowThreadProcessId(hWnd, &proc_id);

HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, proc_id);
return hProcess;
}


DWORD GetX()
{


DWORD buff, buff1, buff2;

DWORD addy, addy1;


ReadProcessMemory(GetProc(), (LPVOID)0x005F29BC, &buff, sizeof(buff), NULL);
addy = buff + 16;
ReadProcessMemory(GetProc(), (LPVOID)addy, &buff1, sizeof(buff1), NULL);
addy1 = buff1 + 1412;
ReadProcessMemory(GetProc(), (LPVOID)addy1, &buff2, sizeof(buff2), NULL);

DWORD X = buff2;
return X;






}



DWORD GetY()
{


DWORD buff, buff1, buff2;

DWORD addy, addy1;


ReadProcessMemory(GetProc(), (LPVOID)0x005F29BC, &buff, sizeof(buff), NULL);
addy = buff + 16;
ReadProcessMemory(GetProc(), (LPVOID)addy, &buff1, sizeof(buff1), NULL);
addy1 = buff1 + 1416;
ReadProcessMemory(GetProc(), (LPVOID)addy1, &buff2, sizeof(buff2), NULL);

return buff2;


}


Enjoy....
xxAxelsXx is offline  
Thanks
2 Users
Old 10/11/2009, 18:12   #2
 
elite*gold: 99
Join Date: Oct 2008
Posts: 2,708
Received Thanks: 1,726
Maybe you shoul explain how you got the coordinates... That would help more than only the adresses.
Frezee is offline  
Old 10/11/2009, 18:13   #3
 
elite*gold: LOCKED
Join Date: Oct 2008
Posts: 2,817
Received Thanks: 2,044
WoW very good but in the moment i canŽt try it but iŽll give you a thanks
'Haseo is offline  
Old 10/11/2009, 18:35   #4
 
elite*gold: 360
Join Date: Jan 2008
Posts: 1,127
Received Thanks: 522
post this in metin 2 section
D00MR4ZR is offline  
Old 10/11/2009, 20:32   #5
 
elite*gold: 0
Join Date: Jun 2009
Posts: 5
Received Thanks: 8
Can I re-open this thread in metin2 section?


@Frezee


In the video, I edit my coordinates with a value; so the mob, when they move, they are spawned on my coordinates.
xxAxelsXx is offline  
Thanks
1 User
Old 10/11/2009, 22:58   #6
 
elite*gold: 9
The Black Market: 156/0/0
Join Date: Apr 2009
Posts: 10,163
Received Thanks: 3,810
Very nice, i think it will help many ppl in this forum

Thanks to you, lets thx
AllesVergeben is offline  
Old 10/13/2009, 14:07   #7
 
elite*gold: 0
Join Date: Jun 2009
Posts: 5
Received Thanks: 8
thx XD
xxAxelsXx is offline  
Reply




All times are GMT +1. The time now is 08:40.


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.