HELP @DaneCoder

Posts 1–9 of 9 · Page 1 of 1
HELP @DaneCoder
WHATS WRoNG WITH MY CODE PLEASE help me with this


/* Replace "dll.h" with the name of your header */
#include "dll.h"
#include <windows.h>


#define ADR_PlayerPointer 0xA95790
#define ADR_ServerPointer 0xA94738
#define ADR_GlassWall 0xA938C8
#define OFS_Weapon1 0xCC50
#define OFS_Weapon2 0xDB08
#define FullBright1 0xA95C4C
#define FullBright2 0xA95C48
#define FullBright3 0xA95C44


DWORD *ingame= (DWORD*) ADR_PlayerPointer;
DWORD *outgame= (DWORD*)ADR_ServerPointer;


void glasswall()
{
if(GetKeyState(VK_MBUTTON))
*(int*)ADR_GlassWall = 1;
else
{
*(int*)ADR_GlassWall = 0;
}
}
if(CH_WeaponHack == 1)
{
if(GetAsyncKeyState(VK_F7) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_WEAPON1) = 114;}}}



void Automatic()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
*(int*)FullBright1 = 1092779973;
*(int*)FullBright2 = 1092779973;
*(int*)FullBright3 = 1092779973;
*(float*)(dwPlayerPtr+OFS) = -2000;
}



void HackThread()
{
for(;; )
{
if(*ingame)
{
glasswall();
Automatic();
}
//if(*outgame)
{
}
Sleep(50);
}
}
//--------------------------End HackThread--------------------------//

//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z","MESSAGE",MB_OK);
MessageBoxA(NULL,"Suya Sila","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z","MESSAGE",MB_OK);
MessageBoxA(NULL,"Suya Sila","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z","MESSAGE",MB_OK);
MessageBoxA(NULL,"Suya Sila","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z","MESSAGE",MB_OK);
MessageBoxA(NULL,"Suya Sila","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z","MESSAGE",MB_OK);
MessageBoxA(NULL,"Suya Sila","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z","MESSAGE",MB_OK);
MessageBoxA(NULL,"Suya Sila","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z","MESSAGE",MB_OK);
MessageBoxA(NULL,"Suya Sila","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;
}
My godness ... how could you make it like this, it's horrible ...

change to this :

Code:
void glasswall()
{
if(GetKeyState(VK_MBUTTON))
{
*(int*)ADR_GlassWall = 1;
}
else
{
*(int*)ADR_GlassWall = 0;
}
}

void WeaponHack()
{
if(GetAsyncKeyState(VK_F7) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_WEAPON1) = 114;
}
}
}



void Automatic()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
*(int*)FullBright1 = 1092779973;
*(int*)FullBright2 = 1092779973;
*(int*)FullBright3 = 1092779973;
*(float*)(dwPlayerPtr+OFS) = -2000;
}



void HackThread()
{
for(;; )
{
if(*ingame)
{
glasswall();
Automatic();
WeaponHack();
}
Sleep(50);
}
}
//--------------------------End HackThread--------------------------//

//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z","MESSAGE",MB_OK);
MessageBoxA(NULL,"Suya Sila","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;
}
Quote Originally Posted by n4n033 View Post
My godness ... how could you make it like this, it's horrible ...

change to this :

Code:
void glasswall()
{
if(GetKeyState(VK_MBUTTON))
{
*(int*)ADR_GlassWall = 1;
}
else
{
*(int*)ADR_GlassWall = 0;
}
}

void WeaponHack()
{
if(GetAsyncKeyState(VK_F7) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PLAYERPOINTER;
if(dwPlayerPtr != 0)
{
*(long*)(dwPlayerPtr+OFS_WEAPON1) = 114;
}
}
}



void Automatic()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_Playerpointer;
*(int*)FullBright1 = 1092779973;
*(int*)FullBright2 = 1092779973;
*(int*)FullBright3 = 1092779973;
*(float*)(dwPlayerPtr+OFS) = -2000;
}



void HackThread()
{
for(;; )
{
if(*ingame)
{
glasswall();
Automatic();
WeaponHack();
}
Sleep(50);
}
}
//--------------------------End HackThread--------------------------//

//--------------------------End--------------------------//
BOOL WINAPI DllMain(HINSTANCE hModule, DWORD dwReason, LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
MessageBoxA(NULL,"Made By :ÏÐðl Ed'z Jham'z","MESSAGE",MB_OK);
MessageBoxA(NULL,"Suya Sila","Message",MB_OK);
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)HackThread , 0, 0, 0);
}
return TRUE;
}

Can you give me a Source of Weapon?
Quote Originally Posted by killallbosz View Post
Can you give me a Source of Weapon?
What do you mean by source of weapons ? Weapons ID numbers or Weapon hack source code ?
Quote Originally Posted by n4n033 View Post
What do you mean by source of weapons ? Weapons ID numbers or Weapon hack source code ?
I Mean that Source Code or Addy
Sir ? Can you give me an addy and source of weapon hack and Zopk ?
Yes

SOURCE OR ADDIES SEnd For You SourceCodes Succes
@n4n033 can you please sent me only a message on how to find the addies of Weapon sources of Dump ?
Who uses that many message boxes?
Posts 1–9 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?