Help with CSGO Triggerbot, ProcMem Error: MODULE: Process Platform Invalid.
First of all, yes, this is another typical c&p code. I know that but I simply want to get something to work using my visual studio, so that I know all my settings/compile etc are all correct so I can get on with my own thing. I am not looking for someone to tell me "learn it yourself" or "look it up" because, trust me, I'v spend hours and hours this week searching it, and still can't find the answer. I would really appreciate if someone could guide me in the right direction to fixing this error.
I am compiling in 64 bit btw which is the same as my computer.
I also discovered that the more times I past the line
, the more times I receive this error in the console. So i guess it's something to do with that but I'm unsure.
If anyone can help me, thanks in advance! I really appreciate it
CODE:
I am compiling in 64 bit btw which is the same as my computer.
I also discovered that the more times I past the line
::
DWORD ClientDll = Mem.Read<DWORD>(Mem.Module("client.dll"));
If anyone can help me, thanks in advance! I really appreciate it

CODE:
:
#include <iostream>
#include "ProcMem.h"
#include <Windows.h>
ProcMem Mem;
void Trigger();
using namespace std;
int main() {
Mem.Process("csgo.exe");
while (true) {
Trigger();
Sleep(5);
}
}
// + I NEED TO CHANGE THESE AFTER UPDATES //
const DWORD LocBase = 0xA844DC;
const DWORD EntBase = 0x4A9F6D4;
const DWORD CrossHairOS = 0xAA44;
// - I NEED TO CHANGE THESE AFTER UPDATES //
// + I DON'T NEED TO CHANGE THESE - EVER //
const DWORD TeamOS = 0xF0;
const DWORD healthOS = 0xFC;
const DWORD EntLoopDist = 0x10;
// - I DON'T NEED TO CHANGE THESE - EVER //
DWORD ClientDll = Mem.Read<DWORD>(Mem.Module("client.dll"));
DWORD Player = Mem.Read<DWORD>(ClientDll + LocBase);
int LocTeam = Mem.Read<int>(Player + TeamOS);
int crossHid = Mem.Read<int>(Player + CrossHairOS);
void Trigger() {
DWORD EnemyInCH = Mem.Read<DWORD>(ClientDll + EntBase + ((crossHid - 1) * EntLoopDist));
int EnemyHealth = Mem.Read<int>(EnemyInCH + healthOS);
int EnemyTeam = Mem.Read<int>(EnemyInCH + TeamOS);
if (LocTeam != EnemyTeam && EnemyHealth > 0) {
cout << "should shoot now" << endl;
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
Sleep(1000);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
Sleep(100);
cout << "shot" << endl;
}
}
#include "ProcMem.h"
#include <Windows.h>
ProcMem Mem;
void Trigger();
using namespace std;
int main() {
Mem.Process("csgo.exe");
while (true) {
Trigger();
Sleep(5);
}
}
// + I NEED TO CHANGE THESE AFTER UPDATES //
const DWORD LocBase = 0xA844DC;
const DWORD EntBase = 0x4A9F6D4;
const DWORD CrossHairOS = 0xAA44;
// - I NEED TO CHANGE THESE AFTER UPDATES //
// + I DON'T NEED TO CHANGE THESE - EVER //
const DWORD TeamOS = 0xF0;
const DWORD healthOS = 0xFC;
const DWORD EntLoopDist = 0x10;
// - I DON'T NEED TO CHANGE THESE - EVER //
DWORD ClientDll = Mem.Read<DWORD>(Mem.Module("client.dll"));
DWORD Player = Mem.Read<DWORD>(ClientDll + LocBase);
int LocTeam = Mem.Read<int>(Player + TeamOS);
int crossHid = Mem.Read<int>(Player + CrossHairOS);
void Trigger() {
DWORD EnemyInCH = Mem.Read<DWORD>(ClientDll + EntBase + ((crossHid - 1) * EntLoopDist));
int EnemyHealth = Mem.Read<int>(EnemyInCH + healthOS);
int EnemyTeam = Mem.Read<int>(EnemyInCH + TeamOS);
if (LocTeam != EnemyTeam && EnemyHealth > 0) {
cout << "should shoot now" << endl;
mouse_event(MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0);
Sleep(1000);
mouse_event(MOUSEEVENTF_LEFTUP, 0, 0, 0, 0);
Sleep(100);
cout << "shot" << endl;
}
}

