CFFG - CrossFire Fantasy Games Hacks


You are not connected. Please login or register

BasicPlayerInfo string code

5 posters

Go down  Message [Page 1 of 1]

1BasicPlayerInfo string code Empty BasicPlayerInfo string code 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)

2BasicPlayerInfo string code Empty Re: BasicPlayerInfo string code 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

https://cffg.umforum.net

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

emman9666666


Registered User
Registered User

i cant make d3d i tried many times

4BasicPlayerInfo string code Empty Re: BasicPlayerInfo string code 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

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

emman9666666


Registered User
Registered User

the BasicPlayerInfo give me instant close knifeohk works fine

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

Blood-C

Blood-C
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().

http://cffg.tk

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

Cr4zy[ox]

Cr4zy[ox]
Admininstrator
Admininstrator

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

this might be closing the game

https://cffg.umforum.net

Sponsored content



Back to top  Message [Page 1 of 1]

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