Register for your free account! | Forgot your password?

You last visited: Today at 08:07

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

Advertisement



[Release] Metin2 Advanced Python Lib

Discussion on [Release] Metin2 Advanced Python Lib within the Metin2 Hacks, Bots, Cheats, Exploits & Macros forum part of the Metin2 category.

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2014
Posts: 442
Received Thanks: 211
[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
15 Users
Old 12/17/2015, 16:48   #2
 
elite*gold: 0
Join Date: Jan 2012
Posts: 31
Received Thanks: 2
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: 442
Received Thanks: 211
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: 726
Join Date: Jul 2010
Posts: 14,233
Received Thanks: 7,914
very useful lib to make more complex things in python
noahrmal is offline  
Thanks
1 User
Old 12/17/2015, 17:46   #5
 
elite*gold: 0
Join Date: Dec 2014
Posts: 442
Received Thanks: 211
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: 726
Join Date: Jul 2010
Posts: 14,233
Received Thanks: 7,914
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
.
noahrmal is offline  
Old 12/19/2015, 22:20   #8
 
elite*gold: 0
Join Date: Dec 2014
Posts: 442
Received Thanks: 211
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: 442
Received Thanks: 211
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: 442
Received Thanks: 211
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: 7
Received Thanks: 0
make a videooo
enzuto is offline  
Old 01/01/2016, 17:28   #12
 
elite*gold: 0
Join Date: Dec 2014
Posts: 442
Received Thanks: 211
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: 70
Received Thanks: 20
where import m2boblib?
loleslaw21 is offline  
Thanks
1 User
Old 01/05/2016, 21:41   #15
 
elite*gold: 0
Join Date: Dec 2014
Posts: 442
Received Thanks: 211
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


Similar Threads 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 +2. The time now is 08:07.


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