MetinOpenBot / OpenBot

58 stars 35 forks source link

MetinPythonBot

THIS PROJECT WAS BUILT FOR EDUCATIONAL AND LEARNING PURPOSES ONLY!
This is a long term project built with C++/Python in order to explore my skills as a programmer and reverse engineer.
A Bot/Mod that adds complex functionality to the metin2 client. It needs be used with my c++ python library (eXLib.dll), it will not work without it.

Functions

Preview

image info

Usefull documented helper modules

This are modules built to be integrated with scripts, they provide an interface to complex functionality like walking with pathfinding or creating UI ingame. All this modules are documented.

Try to avoid usage of other modules not referenced here for creating aditional functionality, as other modules are more complex and more prone to error.

Aditional Remarks

In order to create a new BotMode, you shall extend the BotBase class (see example of LevelBot). FishingBot do not expand this class because it was made before the creation of BotMode class. Every module that needs to keep an Object running in the background like Movement or LevelBot is stored and executed at the end of the file, this allows to easily reload the module at runtime. The hackbar.py is responsible for importing every Module and showing the initial UI bar.

FileSystem

Main configurations files, if the files are not mentioned here, it either means they are strictly used by the core bot or they are editable from the UI.

How to load it

Load eXLib.dll into process while in character select mode or while choosing the channel.

Notes

Updates

v1.1:

v2.0: