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:
How to:
[Only registered and activated users can see links. Click Here To Register...] the lib.
Place the library in the lib folder of the Gameforge client and import my module:
Shoutouts to:
[Only registered and activated users can see links. Click Here To Register...] - for being helpful all the time :)
[Only registered and activated users can see links. Click Here To Register...] - such h4x0r
Have fun!
Changelog:
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)
Code:
enum EMotions
{
FUNC_WAIT,
FUNC_MOVE,
FUNC_ATTACK,
FUNC_COMBO,
FUNC_MOB_SKILL,
FUNC_EMOTION,
FUNC_SKILL = 0x80,
};
[Only registered and activated users can see links. Click Here To Register...] 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
[Only registered and activated users can see links. Click Here To Register...] - for being helpful all the time :)
[Only registered and activated users can see links. Click Here To Register...] - 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)