- UID
- 47277
- 帖子
- 837
- 主題
- 160
- 精華
- 1
- 積分
- 1765
- 楓幣
- 5181
- 威望
- 1351
- 存款
- 0
- 贊助金額
- 1300
- 推廣
- 1
- GP
- 447
- 閱讀權限
- 100
- 性別
- 男
- 在線時間
- 1379 小時
- 註冊時間
- 2014-2-17
- 最後登入
- 2024-11-3
|
看到版上很多人都說數據有問題 那我只好... 發這個文吧
//-------------------------------------CE版------------------------------------
//一般
指標:017F6D8C
偏移:B73C
寫入值:0
//輔助
指標:017F6D8C
偏移:B74C
寫入值:0
//------------------------------------BCB版------------------------------------
//This is Function
bool WritePointer(unsigned long ulBase, int iOffset, int iValue) {
__try {
*(int*)(*(unsigned long*)ulBase + iOffset) = iValue;
return true;
}
__except (EXCEPTION_EXECUTE_HANDLER) {
return false;
}
}
WritePointer(0x017F6D8C,0xB73C,0);
WritePointer(0x017F6D8C,0xB74C,0);
//------------------------------------VB版------------------------------------
//This is Function
Public Declare Function WriteProcessMemoryAPI Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
Public Function WriteMemory(ByVal hprocess As Integer, ByVal lpAddress As Long, ByVal lpBuffer As Long, ByVal lpSize As Long) As Long
WriteMemory = WriteProcessMemoryAPI(hprocess, lpAddress, lpBuffer, lpSize, False)
End Function
Public Function WritePointer(ByVal hprocess As Integer, ByVal lpAddress As Long, ByVal lpOffset As Long, ByVal lpValue As Long) As Long
WritePointer = WriteMemory(hprocess, ReadLong(hprocess, lpAddress) + lpOffset, lpValue, 4)
End Function
WritePointer(hprocess, &H17F6D8C, &HB73C, 0)
WritePointer(hprocess, &H17F6D8C, &HB74C, 0)
//--------------------------------------------------------------------------------
相信會做外掛的應該覺得這個不難哦XD
如果有任何疑問歡迎短消息我~
|
|