Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server
You last visited: Today at 04:03

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Python Hack (Help to change VID for attack)

Discussion on Python Hack (Help to change VID for attack) within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2015
Posts: 6
Received Thanks: 1
Python Hack (Help to change VID for attack)

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.
raresfranky is offline  
Old 01/04/2019, 23:01   #2
 
elite*gold: 0
Join Date: Mar 2011
Posts: 19
Received Thanks: 3
Friend, I'm trying to do the same thing and no luck at all. The metins vid doesn't work for my client.
MasterZin is offline  
Old 11/15/2020, 09:18   #3
 
elite*gold: 0
Join Date: Mar 2012
Posts: 29
Received Thanks: 2
+1
baba4507 is offline  
Reply


Similar Threads Similar Threads
[Release]Metin2 PickUp, VID & Sort Bot [raw python code]
08/24/2012 - Metin2 Hacks, Bots, Cheats, Exploits & Macros - 25 Replies
Heyho Community. Ich hab auch angefangen mich mit Python & Metin2 auseinander zu setzen. Und ja, das kam dabei raus. Einige finden es vielleicht dumm, den Sourcecode public zu setzen, aber ich denke, dass es eine kleine Hilfe für die jenigen sein kann, die das auch lernen wollen. Deswegen liegt der Sourcecode ROH vor. Einfügen könnt ihr in mit einem Metin2PythonLoader, wie sonst auch. Ich weiß, dass es den PickUp Bot schon X mal gibt, aber es sind ja auch 2 andere Funktionen dabei :)...
plesa all Help For Attack Fire is Attack fire for 300 help for atack
08/07/2011 - CO2 Private Server - 0 Replies
plase help attck its for soruce Kimo 5375 no Tails
[Help] adding commands to change attack defence m-attack and m-defence
12/01/2009 - CO2 Private Server - 3 Replies
Yeah,is this possible if so can someone give me the run down on how to do it,and maybe if possible the command also does anyone know how to make it so a gm/pm can get more hp,and also what is the id for gmrobes/gold goodluck garments in the 5165 server Thanks help apprciated



All times are GMT +1. The time now is 04:04.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.