Damn!!!
if i do this code DMA injection of MP then the conquer.exe crached
Code:
Dim NewBytes10(16) As Byte
* * * * * *Dim NewBytes20(5) As Byte
* * * * * *'Poke 4B0F70 89 1D 6C 0F 4B 00 89 5D 08 31 DB E9 5D E5 FB FF
* * * * * *'Poke 46F4D8 E9 93 1A 04 00
* * * * * *NewBytes10(1) = &H89S
* * * * * *NewBytes10(2) = &H1DS
* * * * * *NewBytes10(3) = &H6CS
* * * * * *NewBytes10(4) = &HFS
* * * * * *NewBytes10(5) = &H4BS
* * * * * *NewBytes10(6) = &H0S
* * * * * *NewBytes10(7) = &H89S
* * * * * *NewBytes10(8) = &H5DS
* * * * * *NewBytes10(9) = &H8S
* * * * * *NewBytes10(10) = &H31S
* * * * * *NewBytes10(11) = &HDBS
* * * * * *NewBytes10(12) = &HE9S
* * * * * *NewBytes10(13) = &H5DS
* * * * * *NewBytes10(14) = &HE5S
* * * * * *NewBytes10(15) = &HFBS
* * * * * *NewBytes10(16) = &HFFS
* * * * * *NewBytes20(1) = &HE9S : NewBytes20(2) = &H93S : NewBytes20(3) = &H1AS : NewBytes20(4) = &H4S : NewBytes20(5) = &H0S
* * * * * *hWnd = FindWindow(vbNullString, COWiN)
* * * * * *GetWindowThreadProcessId(hWnd, pID)
* * * * * *pHandle = OpenProcess(PROCESS_ALL_ACCESS, False, pID)
* * * * * *WriteProcessMemoryBuffer(pHandle, &H4B0F70, NewBytes10(1), 16, 0)
* * * * * *WriteProcessMemoryBuffer(pHandle, &H46F4D8, NewBytes20(1), 5, 0)
* * * * * *CloseHandle(pHandle)
* * * * * *System.Array.Clear(NewBytes10, 0, NewBytes10.Length)
* * * * * *System.Array.Clear(NewBytes20, 0, NewBytes20.Length)
* * * * * *hWnd = FindWindow(vbNullString, COWiN)
* * * * * *GetWindowThreadProcessId(hWnd, pID)
* * * * * *pHandle = OpenProcess(PROCESS_ALL_ACCESS, False, pID)
* * * * * *Dim CurrentMP As Integer
* * * * * *ReadProcessMemory(pHandle, CURRENT_MP_LOCATION, CurrentMP, Len(Read_Current_MP), 0)
* * * * * *CloseHandle(pHandle)
and the Code DMA injection of HP is doing well
Code:
Dim NewBytes1(11) As Byte
* * * * * *Dim NewBytes2(4) As Byte
* * * * * *Dim NewBytes3(5) As Byte
* * * * * *'Poke 4D290E 50 6A 01 8B CF A3 FE 28 4D 00 E9
* * * * * *'Poke 4D2919 1F D4 F4 FF
* * * * * *'Poke 41FD37 E9 D2 2B 0B 00
* * * * * *NewBytes1(1) = &H50S
* * * * * *NewBytes1(2) = &H6AS
* * * * * *NewBytes1(3) = &H1S
* * * * * *NewBytes1(4) = &H8BS
* * * * * *NewBytes1(5) = &HCFS
* * * * * *NewBytes1(6) = &HA3S
* * * * * *NewBytes1(7) = &HFES
* * * * * *NewBytes1(8) = &H28S
* * * * * *NewBytes1(9) = &H4DS
* * * * * *NewBytes1(10) = &H0S
* * * * * *NewBytes1(11) = &HE9S
* * * * * *NewBytes2(1) = &H1FS : NewBytes2(2) = &HD4S : NewBytes2(3) = &HF4S : NewBytes2(4) = &HFFS
* * * * * *NewBytes3(1) = &HE9S : NewBytes3(2) = &HD2S : NewBytes3(3) = &H2BS : NewBytes3(4) = &HBS : NewBytes3(5) = &H0S
* * * * * *hWnd = FindWindow(vbNullString, COWiN)
* * * * * *GetWindowThreadProcessId(hWnd, pID)
* * * * * *pHandle = OpenProcess(PROCESS_ALL_ACCESS, False, pID)
* * * * * *WriteProcessMemoryBuffer(pHandle, &H4D290E, NewBytes1(1), 11, 0)
* * * * * *WriteProcessMemoryBuffer(pHandle, &H4D2919, NewBytes2(1), 4, 0)
* * * * * *WriteProcessMemoryBuffer(pHandle, &H41FD37, NewBytes3(1), 5, 0)
* * * * * *CloseHandle(pHandle)
* * * * * *System.Array.Clear(NewBytes1, 0, NewBytes1.Length)
* * * * * *System.Array.Clear(NewBytes2, 0, NewBytes2.Length)
* * * * * *System.Array.Clear(NewBytes3, 0, NewBytes3.Length)
* * * * * *hWnd = FindWindow(vbNullString, COWiN)
* * * * * *GetWindowThreadProcessId(hWnd, pID)
* * * * * *pHandle = OpenProcess(PROCESS_ALL_ACCESS, False, pID)
* * * * * *Dim CurrentHP As Integer
* * * * * *ReadProcessMemory(pHandle, CURRENT_HP_LOCATION, CurrentHP, Len(Read_Current_HP), 0)
* * * * * *CloseHandle(pHandle)
and this are my public read adressess of the HP and MP
Code:
Public Const CURRENT_HP_LOCATION As Integer = &H4D28FE
Public Const CURRENT_MP_LOCATION As Integer = &H4B0F6C
Has someone an idea what the problem can be?
i have discover that it is hard to read the memory's and write Code Caves..
conquer.exe has been good protected i think, and i don't like that, because im think you can get botjailed with that
Please Help,
DyNy