郁金香灬外挂技术
https://www.yjxsoft.com/
郁金香老师
QQ 150330575
Phone 139 9636 2600
欢迎大家参加 郁金香灬技术 游戏安全与外挂的研究学习。
游戏编程技术QQ群 29817979 (备份) 游戏技术自由交流QQ群 712443113
//如果查找不到群号 说明相应的群可能被封了,可以加我QQ或者打我电话
学习目标:
热血合击LUA寻路
996游戏引擎
function mygotoPos(posx,posy)
-- auto move 自动移动
myprint("mygotoPos End+++++++++++++++++++++")
local PlayerProperty = global.Facade:retrieveProxy( global.ProxyTable.PlayerProperty )
local job = PlayerProperty:GetRoleJob()
local mapProxy = global.Facade:retrieveProxy(global.ProxyTable.Map)
local mapID = mapProxy:GetMapID()
local movePos =
{
mapID = mapID,
x = posx,
y = posy,
type = global.MMO.INPUT_MOVE_TYPE_OTHER,
range = 1 or 2,
robot = true,
}
global.Facade:sendNotification(global.NoticeTable.InputMove, movePos)
myprint("mygotoPos End+++++++++++++++++++++")
end
mygotoPos(300,202) --测试成功
-- 热血合击 传奇 原始传奇 等996引擎的都可以用
function mygotoPos1(posx,posy)
-- auto move 自动移动
myprint("mygotoPos1 End+++++++++++++++++++++")
local PlayerProperty = global.Facade:retrieveProxy( global.ProxyTable.PlayerProperty )
local job = PlayerProperty:GetRoleJob()
local mapProxy = global.Facade:retrieveProxy(global.ProxyTable.Map)
local mapID = mapProxy:GetMapID()
local movePos =
{
mapID = mapID,
x = posx,
y = posy,
type = global.MMO.INPUT_MOVE_TYPE_OTHER,
range = 1 or 2,
robot = true,
moveDir =3
}
global.Facade:sendNotification(global.NoticeTable.AutoMoveBegin, movePos)
myprint("mygotoPos1 End+++++++++++++++++++++")
end
--myapi:mygotoPos(186,211) --测试成功
function mygotoPos2(posx,posy)
-- auto move 自动移动
myprint("mygotoPos2 beging+++++++++++++++++++++")
local PlayerProperty = global.Facade:retrieveProxy( global.ProxyTable.PlayerProperty )
local job = PlayerProperty:GetRoleJob()
local mapProxy = global.Facade:retrieveProxy(global.ProxyTable.Map)
local mapID = mapProxy:GetMapID()
local movePos =
{
mapID = mapID,
x = posx,
y = posy,
type = global.MMO.INPUT_MOVE_TYPE_OTHER,
range = 1 or 2,
robot = true,
}
global.Facade:sendNotification(global.NoticeTable.InputMove, movePos)
myprint("mygotoPos2 End+++++++++++++++++++++")
end
function mygotoPos(posx,posy)
-- auto move 自动移动
local PlayerProperty = global.Facade:retrieveProxy( global.ProxyTable.PlayerProperty )
local job = PlayerProperty:GetRoleJob()
local mapProxy = global.Facade:retrieveProxy(global.ProxyTable.Map)
local mapID = mapProxy:GetMapID()
local movePos =
{
mapID = mapID,
x = posx,
y = posy,
type = global.MMO.INPUT_MOVE_TYPE_OTHER,
range = 1 or 2,
robot = true,
}
myprint("69+++++++++++++")
global.Facade:sendNotification(global.NoticeTable.AutoMoveBegin, movePos)
myprint("71+++++++++++++")
local str1='移动到('..tostring(posx)..','..tostring(posy)..')'
myprint(str1)
myprint("73+++++++++++++")
end
mygotoPos(136,363) --测试成功
|