事情是这样的,我从一个牛人手中买来一个外挂,是用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技能
看不懂【笑哭】
失敬失敬告辞了
只有代码是没有灵魂的