能力值:
( LV4,RANK:40 )
|
-
-
2 楼
HANDLE hProcess=OpenProcess(PROCESS_ALL_ACCESS,false,processid);
//读取内存
LPCVOID add = (LPCVOID)0x7794f8;
LPVOID sun=(LPVOID)&m_la;
DWORD b;
::ReadProcessMemory(hProcess,add,&sun,4,&b);
::ReadProcessMemory(hProcess,(LPCVOID)(add+0x868),&sun,4,&b);
::ReadProcessMemory(hProcess,(LPCVOID)(add+0x5578),&sun,4,&b);
|
能力值:
( LV2,RANK:10 )
|
-
-
3 楼
好像不行啊。还是通不过便宜。好像基址累加过程出错了。
::ReadProcessMemory(hProcess,add,&sun,4,&b);
::ReadProcessMemory(hProcess, (LPCVOID)(add+0x868) ,&sun,4,&b);
::ReadProcessMemory(hProcess, (LPCVOID)(add+0x5578),&sun,4,&b);
好像是这几句错了。累加到底要重新定义一个变量赋值还是怎么样,有没有简单的方法可以解决啊
|
能力值:
( LV13,RANK:240 )
|
-
-
4 楼
第一个和第二个&sun修改为 &addr
|
能力值:
( LV2,RANK:10 )
|
-
-
5 楼
4楼正解,
或者把第二个和第三个的add换成sun..
|
|
|