高级玩家

- 贡献度
- 39
- 金元
- 1471
- 积分
- 303
- 精华
- 0
- 注册时间
- 2009-11-25
|
原帖由 瘸腿大象 于 2009-12-3 0:02:00 发表
玩家地址是 [00DA1D2C]+1c
脚本这样写
mov eax,[00da1d2c]
cmp esi,[eax+1c]
je 原本的代码
xor eax,eax
楼主应该先把汇编基础学好。
这个地址我没用到。。。
我自己又跑了圈程序,后来发现020506D4这个地址的值存放的是我需要的东西,而且不会变。。。
应该叫他指针吧,迷糊ing~
代码改成下面的了,我自己测试了很多次,都没问题了,宠物的我没管。。。
再问大象兄一个问题,你给的玩家地址,你是怎么跟出来的?一点一点看代码找?
[ENABLE]
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
0048BACF:
jmp newmem
nop
returnhere:
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
add eax,[esi+00000398]
cmp esi,[020506D4]
je exit
mov eax,0
originalcode:
exit:
jmp returnhere
[DISABLE]
add eax,[esi+00000398] |
|