首页 新闻 搜索 专区 学院

找懂这些代码的牛人 求帮助。

0
悬赏园豆:200 [待解决问题]

事情是这样的,我从一个牛人手中买来一个外挂,是用CE修改腾讯手游助手,现在他没时间更新,我想找个会的人帮我更新一下。我手里有之前很多版本的CT可借你参考。你拿到我的代码也不亏的。

function SearchHookAddress0()
scaner.newScan()
scaner.setOnlyOneResult(true)
scaner.firstScan(soExactValue, vtByteArray, rtRounded, "8B 7F 04 E9 * * * * 90"
,"", 0x00000000, 0x7fffffff, "+W*X-C", fsmAligned, "1", true, false, false, false)
scaner.waitTillDone()

if(scaner.getOnlyResult() ~= nil)then
local tmpAlloc = readInteger(scaner.getOnlyResult()+0x4, true)
if(tmpAlloc ~= nil)then

  tmpAlloc = scaner.getOnlyResult()+0x4+tmpAlloc+0x4+0x7
  tmpAlloc = readInteger(tmpAlloc)
  if(tmpAlloc ~= nil)then
  allocAddress = tmpAlloc
  hookAddress = scaner.getOnlyResult()+0x3
  end
  end

else
scaner.newScan()
scaner.setOnlyOneResult(true)
scaner.firstScan(soExactValue, vtByteArray, rtRounded, "8B 7F 04 89 72 04 89 7A 08"
,"", 0x00000000, 0x7fffffff, "+W*X-C", fsmAligned, "1", true, false, false, false)
scaner.waitTillDone()
if(scaner.getOnlyResult() ~= nil)then
hookAddress = scaner.getOnlyResult()+0x3
end
end
end

SkillMsg[16320] = {dis = 6500, direct = false, delay = 0, name = "橘子", allDirect = false, flyTime = 0, duckPercent = 1.0, skillRange = 2500, isOnlyDuck = true, duckLevel = 7, lifeTime = 300, cleanPercent = 0, FireState = 7}--钟馗2技能
SkillMsg[16603] = {dis = 6000, direct = false, delay = 0, name = "亚瑟", allDirect = false, flyTime = 0, duckPercent = 1.0, skillRange = 2500, isOnlyDuck = true, duckLevel = 4, lifeTime = 300, cleanPercent = 0, FireState = 7, isA = true}--杨戬2技能
SkillMsg[16630] = {dis = 6000, direct = false, delay = 200, name = "亚瑟", allDirect = false, flyTime = 0, duckPercent = 1.0, skillRange = 2500, isOnlyDuck = true, duckLevel = 7, lifeTime = 300, cleanPercent = 0, FireState = 7}--钟馗2技能

秋天1的主页 秋天1 | 初学一级 | 园豆:2
提问于:2019-08-20 23:18
< >
分享
所有回答(3)
1

看不懂【笑哭】

balahoho | 园豆:2048 (老鸟四级) | 2019-08-21 18:00
0

失敬失敬告辞了

lovexy-fun | 园豆:267 (菜鸟二级) | 2019-08-21 20:51
0

只有代码是没有灵魂的

pencile | 园豆:820 (小虾三级) | 2019-08-21 23:02
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册