Register for your free account! | Forgot your password?

Go Back   elitepvpers > Metin2 > Metin2 Hacks, Bots, Cheats, Exploits & Macros
You last visited: Today at 08:14

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


[Release] Metin2 Advanced Python Lib

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2014
Posts: 406
Received Thanks: 169
[Release] Metin2 Advanced Python Lib

Hey dear developers!

So I was bored and thought why not creating a library for our dear Python developers!

Now to the features of the Libary:
  • SendAttackPacket(vid)
  • SendFishingPacket()
  • SendCharacterStatePacket(x, y, 0, MOTION_FUNC, 0) (maximum 24 coordinates since the bug is intentionally not fully exploited!)
  • SetMovingSpeed(int)
  • SetAttackSpeed(int)
  • AttackVID(vid)
  • SetWeaponHold(MOTION)
  • SetHitCombo(Combo)
  • Revive(int) - 0 = Alive, 1 = Dead - Used for Ghostmode
  • SetAttackFix(MOTION_FUNC) - *See down below for explanation!
  • SetTerrain()
  • RemoveTerrain() - Disable Terrain -> Safezone-Hack
  • GetVID(int)
  • IsDead(int)
* This function only needs to be initialized once, have a look at the enumeration from Metin2 Source:
Code:
enum EMotions
{
    FUNC_WAIT,
    FUNC_MOVE,
    FUNC_ATTACK,
    FUNC_COMBO,
    FUNC_MOB_SKILL,
    FUNC_EMOTION,
    FUNC_SKILL = 0x80,
};
How to:

the lib.

Place the library in the lib folder of the Gameforge client and import my module:
Code:
import m2botlib
m2botlib.SetAttackFix(1) # called only once! 1 = FUNC_MOVE
m2botlib.SetAttackSpeed(400) # example
Shoutouts to:
- for being helpful all the time :)
- such h4x0r

Have fun!

Changelog:
Code:
- Added "SetCollision" -> m2botlib.SetCollision(int)
- Added "GetVIDX" -> m2botlib.GetVIDX(vid) // returns instance X coordination
- Added "GetVIDY" -> m2botlib.GetVIDY(vid) // returns instance Y coordination
[12/19/2015]
- Mega link added for flexibility 
- Fixed GetVIDX/GetVIDY return value -> returns float, can be casted to integer!
[12/21/2015]
- Added GetPixelPosition(vid) -> return x,y in a tuple
- Fixed overflow error in GetVID(int)



_asm is offline  
Thanks
14 Users
Old 12/17/2015, 16:48   #2
 
elite*gold: 0
Join Date: Jan 2012
Posts: 25
Received Thanks: 1
Quote:
Originally Posted by _asm View Post
Hey dear developers!

So I was bored and thought why not creating a library for our dear Python developers!

Now to the features of the Libary:
  • SendAttackPacket(vid)
  • SendFishingPacket()
  • SendCharacterStatePacket(x, y, 0, MOTION_FUNC, 0) (maximum 24 coordinates since the bug is intentionally not fully exploited!)
  • SetMovingSpeed(int)
  • SetAttackSpeed(int)
  • AttackVID(vid)
  • SetWeaponHold(MOTION)
  • SetHitCombo(Combo)
  • Revive(int) - 0 = Alive, 1 = Dead - Used for Ghostmode
  • SetAttackFix(MOTION_FUNC) - *See down below for explanation!
  • SetTerrain()
  • RemoveTerrain() - Disable Terrain -> Safezone-Hack
  • GetVID(int)
  • IsDead(int)
* This function only needs to be initialized once, have a look at the enumeration from Metin2 Source:
Code:
enum EMotions
{
    FUNC_WAIT,
    FUNC_MOVE,
    FUNC_ATTACK,
    FUNC_COMBO,
    FUNC_MOB_SKILL,
    FUNC_EMOTION,
    FUNC_SKILL = 0x80,
};
How to:

Place the library in the lib folder of the Gameforge client and import my module:
Code:
import m2botlib
m2botlib.SetAttackFix(1) # called only once! 1 = FUNC_MOVE
m2botlib.SetAttackSpeed(400) # example
Shoutouts to:
- for being helpful all the time
- such h4x0r

Have fun!

Hi, i'm a nob, can you explain me better how to install? i don't think i'm the only one who needs more explaination in how to install

HOW DO I "IMPORT your module" ?


xsura777x is offline  
Old 12/17/2015, 17:12   #3
 
elite*gold: 0
Join Date: Dec 2014
Posts: 406
Received Thanks: 169
Quote:
Originally Posted by xsura777x View Post
Hi, i'm a ***, can you explain me better how to install? i don't think i'm the only one who needs more explaination in how to install

HOW DO I "IMPORT your module" ?
Have you got any idea what Python actually is?
_asm is offline  
Old 12/17/2015, 17:25   #4
 
elite*gold: 856
Join Date: Jul 2010
Posts: 14,236
Received Thanks: 7,889
very useful lib to make more complex things in python


123klo is offline  
Thanks
1 User
Old 12/17/2015, 17:46   #5
 
elite*gold: 0
Join Date: Dec 2014
Posts: 406
Received Thanks: 169
New version:
Code:
- Added "SetCollision" -> m2botlib.SetCollision(int)
_asm is offline  
Old 12/19/2015, 15:02   #6
 
elite*gold: 0
Join Date: Dec 2011
Posts: 2
Received Thanks: 0
how i can import your module?
Dominikt123 is offline  
Old 12/19/2015, 17:07   #7
 
elite*gold: 856
Join Date: Jul 2010
Posts: 14,236
Received Thanks: 7,889
Quote:
Originally Posted by Dominikt123 View Post
how i can import your module?
Quote:
Originally Posted by _asm View Post

Place the library in the lib folder of the Gameforge client and import my module:
Code:
import m2botlib
m2botlib.SetAttackFix(1) # called only once! 1 = FUNC_MOVE
m2botlib.SetAttackSpeed(400) # example
.
123klo is offline  
Old 12/19/2015, 22:20   #8
 
elite*gold: 0
Join Date: Dec 2014
Posts: 406
Received Thanks: 169
Library updated

Code:
[12/19/2015]
- Mega link added for flexibility 
- Fixed GetVIDX/GetVIDY return value -> returns float, can be casted to integer!
_asm is offline  
Old 12/21/2015, 16:09   #9
 
elite*gold: 0
Join Date: Dec 2014
Posts: 406
Received Thanks: 169
Quote:
Originally Posted by muhammed231 View Post
download link not work
GTFO and get already banned...
_asm is offline  
Old 12/21/2015, 17:26   #10
 
elite*gold: 0
Join Date: Dec 2014
Posts: 406
Received Thanks: 169
New Update:
Code:
[12/21/2015]
- Added GetPixelPosition(vid) -> return x,y in a tuple (thx to Kamer for the tip)
- Fixed overflow error in GetVID(int)
_asm is offline  
Thanks
1 User
Old 01/01/2016, 17:17   #11
 
elite*gold: 0
Join Date: Jul 2013
Posts: 2
Received Thanks: 0
make a videooo
enzuto is offline  
Old 01/01/2016, 17:28   #12
 
elite*gold: 0
Join Date: Dec 2014
Posts: 406
Received Thanks: 169
Quote:
Originally Posted by enzuto View Post
make a videooo
place my downloaded library in the "lib" folder of the official metin2 client and import my module:
Code:
import m2botlib
all the commands are listed in my first post and you should know how to use a python script in metin2 if you want to use it with my lib
_asm is offline  
Old 01/02/2016, 10:28   #13
 
elite*gold: 0
Join Date: Aug 2012
Posts: 86
Received Thanks: 29
THANKS.
cityzo is offline  
Old 01/05/2016, 12:01   #14
 
elite*gold: 0
Join Date: Aug 2012
Posts: 46
Received Thanks: 16
where import m2boblib?
loleslaw21 is offline  
Old 01/05/2016, 21:41   #15
 
elite*gold: 0
Join Date: Dec 2014
Posts: 406
Received Thanks: 169
Quote:
Originally Posted by loleslaw21 View Post
where import m2boblib?
It's called "m2botlib" not "m2boblib"
read the post thoroughly again and you'll be enlightened!


_asm is offline  
Closed Thread

Tags
bot, hack, library, metin2, python



« Kaufe Yang auf DE Server Praios | [Release][GF]MobberHack(mobPuller) »

Similar Threads
[Release] Python für Einsteiger [Metin2]
10/12/2014 - Metin2 PServer Guides & Strategies - 22 Replies
Hallo Com, Ich habe mich entschlossen mein kleines Pythonwissen euch zu übermitteln. Ich habe ja schon mitbekommen das einige wirklich viel Geld bezahlen müssen wenn sie sich helfen lassen in Python. Ich möchte euch nur etwas Grundwissen übermitteln und euch zeigen wie man mit fehlern umgeht und sie auch versteht. Natürlich möchte ich auch in die richtung gehen wie man ein Simples Board erstellt ohne große Funktionen. Ich möchte einfach mal wissen wie es ankommt und ob einige dafür sind...



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


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.