|
You last visited: Today at 23:36
Advertisement
[Release][GF] eXLib - The Python Advanced Module
Discussion on [Release][GF] eXLib - The Python Advanced Module within the Metin2 Hacks, Bots, Cheats, Exploits & Macros forum part of the Metin2 category.
02/02/2023, 19:37
|
#46
|
elite*gold: 0
Join Date: May 2019
Posts: 1
Received Thanks: 1
|
How do I install it ??
how do i install it ?
Quote:
Originally Posted by martinx1
Hello everyone, today I came to release an advanced python module with lot of rich features for all python developers.
I have been adding functions for this module for the past few months, and finally i think is stable enought for release.
With this python module developers will be able to create the folowing only using python!: - Inject python scripts
- WaitHack
- Access the entity list
- Create a route using path-finding
- Create fast fishing-bot
- Wallhack
- Pickup range filter
- Use older functions like GetPixelPosition
- And much more!
How to use the module?- Edit script.py to execute your code
- Grab any injector
- Make sure you are in server or in character select (Important!)
- Inject eXLib.dll
DO NOT USE MANUAL MAP
API and documentation:
- Get(<string> filePath) returns <bytearray>
Similar to old app.Get, allows to extract any file encrypted.
- IsPositionBlocked(<int>x,<int>y) returns <boolean>
Allows to check if a map position is walkable(mobs don't count), true if is walkable or false if is not walkable.
Note: For better pathfinding, unblocked points that are close(1 unit) to a blocked point, are considered blocked too.
There is a bug with objects, since i can't figure out how to load the objects.
- FindPath(<int>x_start,<int>y_start,<int>x_end,<int >y_end) returns <tuple>(x,y)
Finds a path between 2 points.
The path will not contain the current point.
It's possible to edit the maps, by changing the files in Resources/Maps, 0 represents a blocked location and the 1 represents a walkable position. The module will generate a new map if the same does not exist.
- SendPacket(<int>size,<bytearray>buffer) return None
Sends a packet to the server bypassing any encryption set.
- SendAttackPacket(<int>vid,<byte>type)
Sends an attack packet to the server, the type is usually 0.
- SendStatePacket(<float>x,<float>y,<float>rotation_ angle,<byte>eFunc, <byte>uArgs)
Sends a packet containing the current state of the main player, can be used to change position,rotation and attack state on server side only.
The value eFunc can take the fallowing values: CHAR_STATE_ATTACK,CHAR_STATE_STOP,CHAR_STATE_WALK
If eFunc == CHAR_STATE_ATTACK then the uArgs value can take one of the following values:
- CHAR_STATE_ARG_HORSE_ATTACK1
- CHAR_STATE_ARG_HORSE_ATTACK2
- CHAR_STATE_ARG_HORSE_ATTACK3
- CHAR_STATE_ARG_COMBO_ATTACK1
- CHAR_STATE_ARG_COMBO_ATTACK2
- CHAR_STATE_ARG_COMBO_ATTACK3
- CHAR_STATE_ARG_COMBO_ATTACK4
otherwise the value can be NULL or CHAR_STATE_ARG_NONE
All this constants are defined in the module.
- <dict>InstancesList
Is a dictionary containing all vids currently in sight as keys and values
- IsDead(<int>vid) returns 1 or 0
Returns 1 if the instance with the vid provided is dead or doesn't exist and returns 0 otherwise
- SendStartFishing(<word>direction)
Sends a packet to the server to start fishing, the direction parameter is a word only understandable by the server(will be converted in the future).
- SendStopFishing(<byte>type,<float>timeLeft)
Sends a packet to the server to stop fishing, the type can be any of the following parameters:
- SUCCESS_FISHING -> The mini game was solve successfully.
- UNSUCCESS_FISHING -> The mini game was not solve.
The timeLeft represents the time left to fish.
- SendAddFlyTarget(<int>vid,<float>x,<float>y)
Sends a packet to send an arrow at an enemy.
- SendShoot(<byte>uSkill)
Sends an attack packet to the current selected enemy (should be used after SendAddFlyTarget).
uSkill can be:
- COMBO_SKILL_ARCH -> Normal attack.
- BlockFishingPackets()
Blocks client from sending fishing packets (this module will still be able to send)
- UnblockFishingPackets()
Unblocks client from sending fishing packets.
- DisableCollisions()
Disable client colisions with objects and the terrain (Wallhack).
- EnableCollisions()
Enable client colisions.
- RegisterNewShopCallback(<callable_function>callbac k)
Sets a callback function, that will be called whenever a new private shop is created arround.
That callback will be called with the shop vid as the first argument.
- <string>PATH
Path of the location where the library was injected
- GetCloseItemGround(<int>x,<int>y) returns a tupple (<int>vid,<int>x,<int>y)
Returns the closest pickable item in the ground relative to the position given.
The items will be fitler acording to the pickup filter (see below).
Also, it will ignore items owned by other player.
- SendPickupItem(<int>itemVID)
Sends a packet to pickup an item from the ground
- SetMoveSpeedMultiplier(\<float\> speed)<br>
Set the character movement boosting movement speed.
- SendUseSkillPacket(\<int\> skillIndex, \<int\> vid)<br>
Uses a skill with a target vid.
### Pickup Filter
A filter o be applied when calling GetCloseItemGround, by default the filter is set to pick items not present in filter.
- ItemGrndDelFilter(<int> index)
Delets an item id from the filter.
- ItemGrndAddFilter(<int> index)
Adds an item id to the filter.
- ItemGrndOnFilter()
Changes the filter mode, to only return items in the filter.
- ItemGrndNotOnFilter()
Changes the filter mode, to ignore all items present in the filter.
- ItemGrndFilterClear()
Deletes every item in the filter.
### Simulation of old functions
These simulates the functions that were removed from the modules by Gameforge.
This functions can also be accessed from their older modules.
- GetPixelPosition(<int>vid) returns a tupple (x,y,z)
Returns the position of the player by vid
- MoveToDestPosition(<float> x,<float> y)
Moves to a destination.
All functions are available in the eXLib module, to use them just import eXLib.
To execute your script just edit script.py and import yours.
This script will be executed after injection.
Inside the folder there is an example script.
Feel free to contact me on discord(eXploit#8057) for further information about the functions. I will block people that ignore sentence below!
THIS IS ONLY FOR DEVELOPERS, IF YOU DONT KNOW WHAT IS THIS, THEN IT IS NOT FOR YOU, DON'T SPAM THE TOPIC WTH USELESS QUESTIONS
Join our  for download links and announcements.
Fell free to donate and support the project
Bitcoin: 1PFmojvLVYsAdYFiQVZqwz5WNs9mTw4nAD
Etherum: 0x1168B532aaEf156b93ff7afb335D7bcaE75F19BD
Cardano: DdzFFzCqrhshKV92CHqGg5eefSGRvvsGnSYgQjyaWqNQYMSfj3 odrsnSyJmy28tmm6zEn1GWNX6rcv14ZpzNsoC8jUjt9osCUtsj 6WJf
PayPal: 
|
|
|
|
03/30/2023, 00:36
|
#47
|
elite*gold: 0
Join Date: Oct 2011
Posts: 4
Received Thanks: 1
|
Is this source still available? Discord link is down
|
|
|
06/03/2023, 21:39
|
#48
|
elite*gold: 0
Join Date: Apr 2011
Posts: 18
Received Thanks: 4
|
It gives me "ModuleNotFoundError: No module named 'eXLib'" even though I injected it while being in character select, pls help
|
|
|
 |
|
Similar Threads
|
[RELEASE] Python-Module + Funktionen
09/25/2017 - Metin2 PServer Guides & Strategies - 15 Replies
Moin,
ich dachte mir mal, ich trete in die Fußstapfen von hier mehr oder weniger bekannten Mitgliedern (hier ihre Namen verschlüsselt: CxxP & LaSor) und release was, das ich innerhalb von 5 Minuten bekommen kann.
Und zwar:
Eine vollständige Liste ALLER Module und zugehörigen Funktionen in der Metin2-Binary
Die Binary ist von 2010, da ich aber nicht länger als 5 Minuten brauchen darf, konnte ich die neueren Sachen alle noch nicht extracten. Werde ich nachliefern, sobald die gewünschte...
|
[Release]Python Module Loader fix (musicinstructor's version)
08/23/2014 - Metin2 PServer Guides & Strategies - 26 Replies
Tag Leute,
war eben verwundert, dass es dafür noch keinen fix auf epvp gibt.
Daher hier ein kurzer Guide:
- python22.dll oder python27.dll mit HxD o.Ä. öffnen
- nach diesen beiden Text-Strings suchen (Strg + F):
PyRun_SimpleFile
PyRun_SimpleString
- Jeweils die Strings durch etwas anderes ersetzen
|
All times are GMT +1. The time now is 23:36.
|
|