That error occurs when you are trying to inject something into a protected process, in this case when you are trying to inject your DLL, gameguard already have protected all the memory area of cabal.Quote:
deluxor can you help me out it says cannot open process when i try to inject a dll into cabal
Quote:
Can someone tell me what's wrong?
*(DWORD*)(*(DWORD*)(*(DWORD*)(*(DWORD*)ADDR_BASE + 0x20) + 0x118) + 0x4a1c)=1;
I'm trying to add multiple-level pointer and change the value to 1.
#include "stdafx.h"
#define ADDR_GM 0x1075C48
#define ADDR_AOE 0x10C62FC
#define ADDR_RANGE 0x10C62F8
#define ADDR_BASE 0x0B8BBF0
#define A_PERCOMBO 0x7384
#define A_BARCOMBO 0x7384
#define A_WALKRUN 0x0204
#define A_NOPNLTY 0x4764
#define A_NODELAY 0x72D4
void Start();
void Start(){
while (1){
if(GetKeyState(VK_F12) < 0){
int aoecheck = 1;
//enable
if(aoecheck == 0){
*(DWORD*)ADDR_GM = 2;
*(DWORD*)ADDR_AOE = 100;
*(DWORD*)ADDR_RANGE = 7;
aoecheck = 1;
//disable
}else if(aoecheck == 1){
*(DWORD*)ADDR_GM = 0;
*(DWORD*)ADDR_AOE = 0;
*(DWORD*)ADDR_RANGE = 0;
aoecheck = 0;
}
}
if(GetKeyState(VK_F11) < 0){
int dlycheck = 1;
if(dlycheck == 0){
DWORD NODELAY = *(DWORD*)ADDR_BASE;*(DWORD*)(NODELAY+A_NODELAY) = 1629793;
dlycheck = 1;
}else if(dlycheck == 1){
DWORD NODELAY = *(DWORD*)ADDR_BASE;*(DWORD*)(NODELAY+A_NODELAY) = 1629793;
dlycheck = 0;
}
}
DWORD BAR_COMBO = *(DWORD*)ADDR_BASE;*(DWORD*)(BAR_COMBO+A_BARCOMBO) = 0;
DWORD VALUE_COMBO = *(DWORD*)ADDR_BASE;*(DWORD*)(VALUE_COMBO+A_PERCOMBO) = 0;
DWORD WALKRUN = *(DWORD*)ADDR_BASE;*(DWORD*)(WALKRUN+A_WALKRUN) = 600;
DWORD NOPNLTY = *(DWORD*)ADDR_BASE;*(DWORD*)(NOPNLTY+A_NOPNLTY) = 0;
Sleep(1);
}
}