Quote:
Originally Posted by botzinhoEHEH
No worries, I know C++ and I do a lot of things with computer vision in Python. The thing is, I know that there are some Python "libraries" out there to make a bot for metin2, any starting point? Did you create everything from scratch?
Basically, is there a way to code a bot using and reverse-engineered bot without having to create my own? :D
Because I just want to create an auto-pick up, nothing fancy, I like to play the game. Eventually an extra map, but my use case is very simple eheh
|
Using python libraries you can't create your own full hack like farm bot, fish bot or smth like this because you need "entity list" for mobs around you like monster, NPC and others and using functions in python like getTargetVID() or GetVIDInfo(vid) are not enough! For example, hacks like m2bob using own function in python to scan "objects" to create pickup bot or farm bot like an example below.. I hope, i was clear here..
#################################
import mycustomscript
vids = mycustomscript.getVidsAroundMe() // is created using Cython and is injected in your client to be imported in your python script file. This variable will return you a list of ids (named vids) with all objects around you like (NPC, players, monsters.. etc.)
for vid in vids:
// here you will start to create your own script because you have now id of objects around you
if chr.GetNameByVID(vid) == "MyPlayer":
continue;
Above is an example of a script that you can make by having access to the list of object ids from metin2. Also, the list of objects is different from the list of objects on the ground (the list of objects ids on the ground that you use to create the pickup bot).