JuveGold
Silver Üye
- Katılım
- 28 Nis 2021
- Mesajlar
- 59
- Beğeniler
- 66
Metin2 speed hack python kodu, offset falan hiç gerek yok yada pointer bulmaya
direk bunu inject edin python loader ile sonra leftshift basın yani sol shift tuşuna, sonra uçmanıza bakın
direk bunu inject edin python loader ile sonra leftshift basın yani sol shift tuşuna, sonra uçmanıza bakın
Kod:
import ui,app,time,chr,math,dbg,item,shop,exchange,event,sys,os,game,localeInfo,uiMiniGameFishEvent,mouseModule
import playerSettingModule
try:
import playerm2g2 as player
except:
import player
try:
import chatm2g as chat
except:
import chat
try:
import m2netm2g as net
except:
import net
try:
import chrmgrm2g as chrmgr
except:
import chrmgr
def GetXSide(cRot):
if int(cRot)<0:
return -1
else:
return 1
def GetYside(cRot):
if int(cRot)<0:
cRot=cRot-1
if cRot>90:
return -1
else:
return -1
def GetSin(cRot):
return math.sin(math.radians(cRot))
def GetCos(cRot):
return math.cos(math.radians(cRot))
def Debug():
player.OnKeyDown(app.DIK_W)
player.OnKeyUp(app.DIK_W)
chr.SetLoopMotion(chr.MOTION_RUN)
def Slide():
(cDis,cPitch,cRot,cHeight)=app.GetCamera()
xSide=GetXSide(cRot)
ySide=GetYside(cRot)
if xSide==-1:
finRot=360-cRot
else:
finRot=cRot
if app.IsPressed(app.DIK_LSHIFT) and app.IsPressed(app.DIK_W):
rotSin=GetSin(finRot)
rotCos=GetCos(finRot)
(myx,myy,myz)=player.GetMainCharacterPosition()
chr.SetPixelPosition(myx+(rotSin50xSide),myy+(rotCos50*ySide))
Debug()
if app.IsPressed(app.DIK_LSHIFT)==True and app.IsPressed(app.DIK_LSHIFT)==False:
chr.SetLoopMotion(chr.MOTION_RUN)
if app.IsPressed(app.DIK_LSHIFT)==False and app.IsPressed(app.DIK_LSHIFT)==True:
chr.SetLoopMotion(chr.MOTION_WAIT)
SlideHotkey=ui.Window()
SlideHotkey.OnUpdate=Slide
SlideHotkey.Show()