CFFG - CrossFire Fantasy Games Hacks


You are not connected. Please login or register

BasicPlayerInfo string code

View previous topic View next topic Go down  Message [Page 1 of 1]

1 BasicPlayerInfo string code on Sun Sep 02, 2012 2:03 pm

emman9666666


Registered User
Registered User
i really need help my source code i use is this


Code:
#include <Windows.h>
#define WeaponMgr              0xB65E94//
#define BasicPlayerInfo        0xAFED64//

#define knifeOHK              0xBA4//
#define CrouchSpeed            0xC//



void UndetectedBase()
{
  DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
 
  if (GetModuleHandleA("ClientFx.fxd")&&GetModuleHandleA("CShell.dll"))
  {
 


        if (CShell + WeaponMgr)
 
for(int i=0; i<700; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
{
for (int j=0; j<10 ; j++)
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + knifeOHK+j*4) = 2000;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+BasicPlayerInfo)) +(4*i))) + CrouchSpeed+j*4) = 2;
}
}
}
  }
  Sleep(151);
}
 
void Base()
{
  for(;;)UndetectedBase();
}
 
BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
  if (dwReason == DLL_PROCESS_ATTACH)
  {
      DisableThreadLibraryCalls(hDll);
      CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Base, NULL, NULL, NULL);
  }
  return TRUE;

}


plz help me



Last edited by emman9666666 on Sun Sep 02, 2012 2:10 pm; edited 1 time in total (Reason for editing : i did wrong first time)

View user profile

2 Re: BasicPlayerInfo string code on Sun Sep 02, 2012 2:10 pm

stockup11


Leecher
Leecher
i relllay dont know sry its really wiredo mabye got easier base like d3d menu hack

View user profile http://cffg.umforum.net

3 Re: BasicPlayerInfo string code on Sun Sep 02, 2012 2:11 pm

emman9666666


Registered User
Registered User
i cant make d3d i tried many times

View user profile

4 Re: BasicPlayerInfo string code on Sun Sep 02, 2012 3:45 pm

buddhayang


Senior Member
Senior Member
emman9666666 wrote:i really need help my source code i use is this


Code:
#include <Windows.h>
#define WeaponMgr              0xB65E94//
#define BasicPlayerInfo        0xAFED64//

#define knifeOHK              0xBA4//
#define CrouchSpeed            0xC//



void UndetectedBase()
{
  DWORD CShell = (DWORD)GetModuleHandleA("CShell.dll");
 
  if (GetModuleHandleA("ClientFx.fxd")&&GetModuleHandleA("CShell.dll"))
  {
 


        if (CShell + WeaponMgr)
 
for(int i=0; i<700; i++)
{
if((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr))+(4*i)) ) != NULL)
{
for (int j=0; j<10 ; j++)
{
*(float*)((*(DWORD*)((*(DWORD*)(CShell+WeaponMgr)) +(4*i))) + knifeOHK+j*4) = 2000;
*(float*)((*(DWORD*)((*(DWORD*)(CShell+BasicPlayerInfo)) +(4*i))) + CrouchSpeed+j*4) = 2;
}
}
}
  }
  Sleep(151);
}
 
void Base()
{
  for(;;)UndetectedBase();
}
 
BOOL WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
{
  if (dwReason == DLL_PROCESS_ATTACH)
  {
      DisableThreadLibraryCalls(hDll);
      CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Base, NULL, NULL, NULL);
  }
  return TRUE;

}


plz help me

i think ur loops are wrong

View user profile

5 Re: BasicPlayerInfo string code on Sun Sep 02, 2012 4:25 pm

emman9666666


Registered User
Registered User
the BasicPlayerInfo give me instant close knifeohk works fine

View user profile

6 Re: BasicPlayerInfo string code on Sun Sep 09, 2012 10:43 pm

Blood-C

avatar
Registered User
Registered User
buddhayang wrote:i think ur loops are wrong

Huh? It's not wrong but it needs a small correction:

Instead of:
Code:
for(;;)UndetectedBase();

You should do:
Code:
for(;;Sleep(151))UndetectedBase();

& remove Sleep(151); in UndetectedBase().

View user profile http://cffg.tk

7 Re: BasicPlayerInfo string code on Mon Sep 10, 2012 7:27 am

Cr4zy[ox]

avatar
Admininstrator
Admininstrator
*(float*)((*(DWORD*)((*(DWORD*)(CShell+BasicPlayerInfo)) +(4*i))) + CrouchSpeed+j*4) = 2;

this might be closing the game





[You must be registered and logged in to see this image.]
View user profile http://cffg.umforum.net

Sponsored content


View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum