Hi ! I use this python hack: iPUSH.py .(

) and AutoAttack not work for me on my server. values for AutoAttack:
0 = Monster
2 = Metinstones
6 = Other players
I change the values and still not work.
Can anyone help me to change the python code to attack the methine stones with VID: 4660960 ? or help me with fixing the autoattack.
Code:
### AutoAttack ###
[MENTION=337244]Static[/MENTION]method
def autoAttack(type):
nearestEnemey = MyFunc.walkToEnemy(type)
isAlive = MyFunc.isAlive(nearestEnemey)
isInRange = player.GetCharacterDistance(nearestEnemey) < 300
tp = (float(player.GetStatus(player.HP)) / (float(player.GetStatus(player.MAX_HP))) * 100)
if (isAlive and isInRange) or tp < 90:
MyFunc.setCharDirection(nearestEnemey)
chr.SetRotation(MyFunc.getDegree(nearestEnemey))
player.SetAttackKeyState(TRUE)
else:
player.SetAttackKeyState(FALSE)
...
Code:
### AutoAttack ###
autoAttackEditLine = Gui.addEditLine(mainBoard, 70, pos+1, 20, 16, "0", 2) # 0 = Mobs | 2 = Metins | 6 = Players
autoAttackBtn = Gui.addToggleButton(mainBoard, "AutoAttack", 5, pos, "middle", lambda : MyFunc.autoAttack(int(autoAttackEditLine[1].GetText())), lambda : player.SetAttackKeyState(FALSE), 1); pos += 20
Thanks!
PS: Sorry for my english.