- 注册时间
- 2012-3-5
- 最后登录
- 1970-1-1
该用户从未签到
|
我找到完美国际的TAB选怪CALL和使用物品CALL,用代码注入器能成功,可是用C++代码时游戏就错误退出,
麻烦版主帮忙,用C++如何写这两个CALL,或指出问题出在哪?
用代码注入器的代码:
1、TAB选怪
push 101
push 03d
mov eax,[0a581e0]
mov ecx,[eax+1c]
mov ecx,[ecx+18]
mov ecx,[ecx+8]
call 004f0120
2、使用物品
push 1
push 0x21aa // 物品ID号
push 0 //背包下标
push 0
mov ecx,[0x0a581e0]
mov ecx,[ecx+0x20]
add ecx,0x0ec
call 0x631ac0
C++代码
_asm
{
push 0x101
push 0x03d
mov eax,[0x0a581e0]
mov ecx,[eax+0x1c]
mov ecx,[ecx+0x18]
mov ecx,[ecx+0x8]
mov eax, 0x004f0120
call eax
}
_asm
{
push 1
push 0x21aa // 物品ID号
push 0 //背包下标
push 0
mov ecx,[0x0a581e0]
mov ecx,[ecx+0x20]
add ecx,0x0ec
mov eax, 0x631ac0
call eax
}
加上pushad和popad也不行,指点下,该怎么写? |
|