QuestionHelpHelp writing to memory.

Posts 1–11 of 11 · Page 1 of 1
Help writing to memory.
Hey guys, I'm making my hack still,,, I have tons D3D functions ALL working with a hook and everything... but for some reason,,, no matter what method I try,,, It won't write to memory. Maybe it is and my # of guns for gun loop is wronge?? the thread definitely is starting cause I got MsgBox in it.

So here's my DLL Main (working) and my Hacks thread. (not giving my hooks lol)

Code:
#pragma region DllMain/Thread
void Hooker(void *)
{
		Sleep(10);
		 _beginthread (MyHacks, 0, 0);

}
BOOL WINAPI DllMain(HMODULE dHandle, DWORD nReason, LPVOID Reserved)
{
	DisableThreadLibraryCalls( dHandle );
	if(nReason == DLL_PROCESS_ATTACH)
		_beginthread (Hooker, 0, 0);
	return TRUE;
	
}
#pragma endregion
There WAS D3D stuff in my "Hooker" section, but i removed it :P
then here's my Hacks section, I removed some of stuff so only got no recoil.

Code:
void MyHacks (void *)
{

    MessageBeep(MB_ICONINFORMATION);
	MessageBox(NULL, "Made by kinibayVIP4", "Hooked Successfully!",MB_OK);

	while (1) {
			if(GetAsyncKeyState(VK_F6) || GetAsyncKeyState(VK_NUMPAD1) &1) {
				reload = !reload;
        if(reload)
        {
			
            if (pWeaponMgr)
            {
                for(int i=0; i<577; i++)
                {
                DWORD Weapon = *(DWORD*)(pWeaponMgr +(4*i));
				for(int y=0; y<9; y++)
						{
                    if(Weapon){
						
						*(float*)( Weapon + (NoRecoil1 + (4*y))) = 0.0f;
						*(float*)( Weapon + (NoRecoil2 + (4*y))) = 0.0f;
						*(float*)( Weapon + (NoRecoil3 + (4*y))) = 0.0f;
						*(float*)( Weapon + (NoRecoil4 + (4*y))) = 0.0f;
						*(float*)( Weapon + (NoRecoil5 + (4*y))) = 0.0f;
						*(float*)( Weapon + (NoRecoil6 + (4*y))) = 0.0f;
						*(float*)( Weapon + (NoRecoil7 + (4*y))) = 0.0f;
                }
				}
            }
        }
		}
			}
			
			}
				
}
I HAVE tried other methods but REALLY I'm just confused now that NOTHING works for mem hacking?? can you give me a way that u write to memory?? plz.

And thats my CShell and Stuff. I'm using XoR strings. and YES I'm sure taht CShell is being impoired.. i think..
Code:
DWORD CShell = ( DWORD ) GetModuleHandleA(CShellEncrypted);
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
1. Weapon loop is about 750 not 577.
2. Checck if all offset's are updated.
3. This way of noRecoil is patched whit client error 28_3. So it will not work whitout a client error killer.
Quote Originally Posted by bandi12 View Post
1. Weapon loop is about 750 not 577.
2. Checck if all offset's are updated.
3. This way of noRecoil is patched whit client error 28_3. So it will not work whitout a client error killer.
Have you guys tried writing to one of the instructions that access these addresses?
Save the hassle of all these loops.
Quote Originally Posted by Pingo View Post
Have you guys tried writing to one of the instructions that access these addresses?
Save the hassle of all these loops.
If you are pointing to NoRecoil Bypass yes i did it.
Quote Originally Posted by bandi12 View Post
If you are pointing to NoRecoil Bypass yes i did it.
No i wasn't on about that but k.
Thanks you guys that helped me allot, I couldn't figure why it was writing but wasn't affecting my weapon :P
@Pingo yeah u mean the addys that write to the NoRecoil Addys? like a level up, between the weapon manager and the NoRecoil addys>? hard to explain but i kno what u mean :P

---------- Post added at 04:23 AM ---------- Previous post was at 03:25 AM ----------

N u guys sure the weapon loop is 750?
Quote Originally Posted by kinibayVIP4 View Post
@Pingo yeah u mean the addys that write to the NoRecoil Addys? like a level up, between the weapon manager and the NoRecoil addys>? hard to explain but i kno what u mean :P

---------- Post added at 04:23 AM ---------- Previous post was at 03:25 AM ----------

N u guys sure the weapon loop is 750?
LOL why to spend time to write them in that way when is working so fine whit loop's....

yes it's around 750 i don't realy checked them
Quote Originally Posted by bandi12 View Post
LOL why to spend time to write them in that way when is working so fine whit loop's....

yes it's around 750 i don't realy checked them
Takes longer to write a loop and multiple loops cause lag and also slower.
One address which you only need to change once or a big loop you need to keep writing too.

I choose code injection over a loop any day.
Quote Originally Posted by Pingo View Post
Takes longer to write a loop and multiple loops cause lag and also slower.
One address which you only need to change once or a big loop you need to keep writing too.

I choose code injection over a loop any day.
Explain me one thing how can a 750 loop cause lag ? LOL you need to run that loop only one time when you switch it ON/OFF that mean 1s Lag maybe but only maybe ..... LOL.
Quote Originally Posted by bandi12 View Post
Explain me one thing how can a 750 loop cause lag ? LOL you need to run that loop only one time when you switch it ON/OFF that mean 1s Lag maybe but only maybe ..... LOL.
Said multiple loops
Posts 1–11 of 11 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?