Help does not work the source

Posts 1–13 of 13 · Page 1 of 1
Help does not work the source
Hello, here is my code, I have compiled without errors, why, when injected, not what happens?

Source:

Code:
# include "stdafx.h"
# include "windows.h"
# define WeaponMgr 0xAFF8FC / / Pointer 10,141,676 8B0D FCF8AF10 MOV ECX, DWORD PTR DS: [10AFF8FC]
# define ReloadAnimRatio 0x2650 / / offset 1014165D D998 50260000 FSTP DWORD PTR DS: [EAX +2650]
float Change = 100;

DWORD WINAPI Hacks (LPVOID)
{
  
   bool reload = true;
   while (1)
   {
     DWORD CShell = (DWORD) GetModuleHandleA ("CShell.dll");
DWORD pWeaponMgr = * (DWORD *) (CShell + WeaponMgr);

/ * Ask the code * /

if (pWeaponMgr) / / 0xAFF8FC
{
for (int i = 0; i <604; i + +) / / Weapon Loop. 604 = the number of the weapons
{
if ((* (DWORD *) ((* (DWORD *) (CShell + WeaponMgr)) + (4 * i)))! = NULL)
* (float *) ((* (DWORD *) ((* (DWORD *) (CShell + WeaponMgr)) + (4 * i))) + 0x2650) = 75.0f; / / String is "ReloadAnimRatio"
       }
     }
    }
   }

bool Ready2Hook ()
{
if (GetModuleHandleA ("CShell.dll")! = NULL
&& GetModuleHandleA ("ClientFx.fxd")! = NULL)
return 1;
return 0;
}
       
DWORD WINAPI Wait (LPVOID)
{
while (! Ready2Hook ()) Sleep (200);
CreateThread (NULL, NULL, (LPTHREAD_START_ROUTINE) Hacks, NULL, NULL, NULL);
return 0;
}
 
BOOL WINAPI DllMain (HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
DisableThreadLibraryCalls (hDll);
         
if (dwReason == DLL_PROCESS_ATTACH)
{
return 1;
}
}

Help!!! does not work the source

---------- Post added at 09:26 AM ---------- Previous post was at 08:31 AM ----------

mpgh this is the best site, please help, I thanked, or write to skype anderdem01, PLEASE HELP
# include "stdafx.h"
# include "windows.h"
# define WeaponMgr 0xAFF8FC / / Pointer 10,141,676 8B0D FCF8AF10 MOV ECX, DWORD PTR DS: [10AFF8FC]
# define ReloadAnimRatio 0x2650 / / offset 1014165D D998 50260000 FSTP DWORD PTR DS: [EAX +2650]
float Change = 100;

DWORD WINAPI Hacks (LPVOID)
{

bool reload = true;
while (1)
{
DWORD CShell = (DWORD) GetModuleHandleA ("CShell.dll");
DWORD pWeaponMgr = * (DWORD *) (CShell + WeaponMgr);

/ * Ask the code * /

if (pWeaponMgr) / / 0xAFF8FC
{
for (int i = 0; i <604; i + +) / / Weapon Loop. 604 = the number of the weapons
{
if ((* (DWORD *) ((* (DWORD *) (CShell + WeaponMgr)) + (4 * i)))! = NULL)
* (float *) ((* (DWORD *) ((* (DWORD *) (CShell + WeaponMgr)) + (4 * i))) + 0x2650) = 75.0f; / / String is "ReloadAnimRatio"
}
}
}
}

if (GetModuleHandleA ("CShell.dll")! = NULL
&& GetModuleHandleA ("ClientFx.fxd")! = NULL)
return 1;
return 0;
}

BOOL WINAPI DllMain (HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
DisableThreadLibraryCalls (hDll);

if (dwReason == DLL_PROCESS_ATTACH)
{
return 1;
}
}
Вот твой код, но его будет палить X-Trap
Here's your code, but it will be the Detect X-Trap.
You aren't creating a thread in your DLLMain.
Quote Originally Posted by Synns View Post
You aren't creating a thread in your DLLMain.
True

@Dark
yea..



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
if you don't crate thread how can hack inject .. or C++ will know.. What part is hack Creating thread is identity of new thread meaning
Void hacks();

we put Hacks in our thread.
Please explain to me, I do not understand about what you say and how to do it
Quote Originally Posted by Dimidrol View Post
Please explain to me, I do not understand about what you say and how to do it
CreateThread function

Code:
CreateThread( NULL, NULL, ( LPTHREAD_START_ROUTINE )Hacks, NULL, NULL, NULL )
ur noreload offset is wrong it's 0x269C
I'm on the ruKF, I have the correct offset, can not hook here?
o_O thist part is wrong

Quote Originally Posted by Dimidrol View Post
Code:
DWORD WINAPI Wait (LPVOID)
{
while (! Ready2Hook ()) Sleep (200);
CreateThread (NULL, NULL, (LPTHREAD_START_ROUTINE) Hacks, NULL, NULL, NULL);
return 0;
}
 
BOOL WINAPI DllMain (HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
DisableThreadLibraryCalls (hDll);
         
if (dwReason == DLL_PROCESS_ATTACH)
{
return 1;
}
}
anyways i released to you ... chage this part to that's part :

Code:
Sleep(100);
  }
}
	bool Ready2Hook()
{
    if(GetModuleHandleA("CShell.dll") != NULL
	&& GetModuleHandleA("ClientFx.fxd") != NULL)
    return 1;
  return 0;
}

DWORD WINAPI Wait(LPVOID)
{
  while(!Ready2Hook()) Sleep(200);
	CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Hacks, NULL, NULL, NULL);
  return 0;
}

BOOL WINAPI DllMain ( HMODULE hDll, DWORD dwReason, LPVOID lpReserved )
{
  DisableThreadLibraryCalls(hDll);
  
  if ( dwReason == DLL_PROCESS_ATTACH )
  {
		  Sleep(5000);
	CreateThread(0,0,(LPTHREAD_START_ROUTINE)Hacks,0,0,0);
  }
  return 1;
}
Here's your code, but it will be the Detect X-Trap.
Quote Originally Posted by gusfelix95 View Post
Here's your code, but it will be the Detect X-Trap.
you trying make a hack in which crossfire??
tryhacker vou te mandar uma pm da uma olhada lá amigo.
Quote Originally Posted by gusfelix95 View Post
tryhacker vou te mandar uma pm da uma olhada lá amigo.
This is an English forum, so please speak English
If you want to talk someone in your language, send him a private message.
Posts 1–13 of 13 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us