Beiträge von Membern't

    I downloaded the multi bot of "iPush" ( you can search it on google ) and it has some problems that I don't know how to solve ( on metin2 aeldra )
    The bot uses chr.GetInstanceType() == 2 to check for metin stones, it works flawlessly on map1/map2 but then it starts to crash
    1)In the valley ( where lv 45 metins are ) it works only on ch5
    2)In desert it works only on ch5
    3)In Sohan/Forest/Fire country(where the level 75 metins are ) it doesn't work at all on any ch


    I find it really weird that it can find metins only on some chs/maps
    I check their type with nonplayer.GetTargetVID() and chr.GetInstanceType() and the types are still 2 so it should work but it deoesn't


    Has anyone an idea what is going on? It basically just skips those metin stones completely,it's like they don't exist,even if I don't check for their type and I just print in a file the names of every mob in an area,those metin stones are still invisible they are basically considered as NOT AN OBJECT. PS : printing out the names for metin stones map1/map2 or valley ch5 works because the script FIND THEIR OBJECTS...

    The problem is I can't change the function,I want to create a bot and I don't have acces to the client's source.
    One way to do it is to use net.sendchatpackage() but they bocked /ride and I don't know what function they are using now and I don't know how to unpack the client,do you have any idea how to unpack it? the command should be in root

    I want to be able to mount/demount differents mounts using a bot,the problem is that the functions chr.MountHorse and chr.DismountHorse doesn't work at all if you call them.
    I tried pressing different keys too,first press F4 (for example) then CTRl+G but I can't make it work.
    The source has a function player.SetSingleDIKKeyState but this only works for UP/DOWN/LEFT/RIGHT and all it does is making the character moving in that direction until the key is pressed again ( or set to FALSE )...
    Any ideas? Is there a source who managed to do it already?

    Normaly all .py files are in pack/root/xxx.py

    That was the first place I looked into

    That function are in the binary so try it there

    Do you mind saying what file? I downloaded a 34k binary from another board but there were so many folders and files and searching for "player" or "chr" didn't help either


    EDIT:on a second thought,the earliest python bots were created what? 5-6 years ago,way before we had the sources ... I don't think the source has anything to do with it and since the bots are so old I think it is fairly easy to find... I don't understand how did no one post anything about it until now honestly

    I was looking through a python bot and trying to understand what was going on in there and I saw that it uses "player.py" as in "import player" and other .py files
    Where can I find these files so I can understand what is actually happening? I am trying to replicate and create a bot myself ( a simple one that does some basic stuff ) for fun.
    Also,if there is anyone who knows really well python (metin2 related) and wants to answer questions from time to time please pm me ( I promise I won't spam you,I just need someone to ask questions to )