Its metin2 and the possibilities are limited.
For example you can not use additional python libraries, which makes this very hard...
But if you know python and want to help us, you can do so. We already made a simulator for this game, so you dont even need any metin2 knowledge in order todo this.
Hmm, could you send that simulator to me? I don't have much time free right now as I'm finishing my graduation, but this is an interesting topic from an AI point of view. I will give it a try in my free time.