Help with CSGO Triggerbot, ProcMem Error: MODULE: Process Platform Invalid.

Posts 1–6 of 6 · Page 1 of 1
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
 
::
DWORD ClientDll = Mem.Read<DWORD>(Mem.Module("client.dll"));
, 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:

 
:
#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;
}
}
/Moved to the correct section.
Code:
DWORD ClientDll = Mem.Read<DWORD>(Mem.Module("client.dll"));
is suppose to be,
Code:
DWORD ClientDll = Mem.Module("Client.dll");
Yeah sorry, I forgot to change that. I tried searching a solution and someone said to put in "DWORD ClientDll = Mem.Read<DWORD>(Mem.Module("client.dll"));" instead of "DWORD ClientDll = Mem.Module("Client.dll");", realised it didn't work, and forgot to change it back. Anyway, that doesnt seem to be the problem fixed since i still get it

But thanks anyway man
Quote Originally Posted by CactusDEV View Post
I am compiling in 64 bit btw which is the same as my computer.
That's your problem.
csgo is 32bit not 64bit; compile your program accordingly. (Also don't capitalize names such as "client.dll")

Other thoughts are don't use ProcMem, the implementation is really sloppy and it tries to control when your cheat should exit, poor programming.
Instead, write your own, it's extremely simple.
Believe this has been solved.

/Closed.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us