Helpto any coders

Posts 1–5 of 5 · Page 1 of 1
to any coders
only dllmain.cpp lang ba ang gagalawin ko??

or

pati ung array.cpp & stdafx.cpp ??

And but ganun

when i click start debugging




this happens =.=

Help.. argh! xD


And can you pls. see to it if I am wrong? =)

Code:
#include <Windows.h>
bool LogIn = false;


#define WeaponMgr       0xB65E94
#define NoRecoil1       0x34C0
#define NoRecoil2       0x34C0
#define NoRecoil3       0x34C4
#define NoRecoil4       0x3B20
#define NoRecoil5       0xE98
#define NoRecoil6       0x1000


void Hacks() 
{ 



bool NoRecoil = true; 





while(1) 
{
DWORD CShell = (DWORD) GetModuleHandleA("CShell.dll") ; 
PDWORD Weapon = (PDWORD)(CShell + 0xA9BAE0 );  
DWORD pWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
//DWORD dwPlayerPointer = *(DWORD*)( CShell + PlayerPointer);





if (NoRecoil) 
if (pWeaponMgr) {
for (int i=0; i<577; i++) {
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL){
DWORD pNoRecoil = *(DWORD*)(pWeaponMgr + (4*i));
for(int y=0; y<9; y++){
if (pNoRecoil) {
*(float*)(pNoRecoil + (NoRecoil1 + (4*y))) = 0.0f;
*(float*)(pNoRecoil + (NoRecoil2 + (4*y))) = 0.0f;
*(float*)(pNoRecoil + (NoRecoil3 + (4*y))) = 0.0f;
*(float*)(pNoRecoil + (NoRecoil4 + (4*y))) = 0.0f;
*(float*)(pNoRecoil + (NoRecoil5 + (4*y))) = 0.0f;
*(float*)(pNoRecoil + (NoRecoil6 + (4*y))) = 0.0f;
}
}
}
}
}





Sleep (100);
}
}




    DWORD WINAPI Call(LPVOID)
    {
    	Hacks();
    	return 1;
    }
    BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
    {
    	if(GetModuleHandleA("CShell.dll") && GetModuleHandleA("ClientFx.fxd") && !LogIn)
    	{
    		LogIn = true;
    		CreateThread(0,0,(LPTHREAD_START_ROUTINE)Call,0,0,0);
    		DisableThreadLibraryCalls(hDll);
    	}
    	return 1;
    }
copied ei sorri xD pero inedit ko iba =)
problem pic..png168 KB · 3 downloads problempic.png642 KB · 2 downloads
That's because a compiler can't open your dll go to your visual studio files (default is in my documents) and go to your project folder >> debug and you will see your dll file
Quote Originally Posted by Ryuzaki2 View Post
That's because a compiler can't open your dll go to your visual studio files (default is in my documents) and go to your project folder >> debug and you will see your dll file
ow my bad =.= ryuzaki can you be my teacher pls. =) pls. add me in FB Darkfeather36@yahoo.com pls. pls.

and and is it complete can I turn it into a SndDrv.dll now and use it or there's still something wrong?? =)
Your Base looks weird o.O???
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?