ExclamationAll Slots not working

Posts 1–15 of 16 · Page 1 of 2
All Slots not working
im having problems with the codes ,they work ,and decompile dll ,all working

but the all sloths arent [5,6,7,8]

can someone review the codes ,and try to find whats wrong ?



#define SLOT5 0x001021B4
#define SLOT6 0x001021B5
#define SLOT7 0x001021B6
#define SLOT8 0x001021B7


int CH_SLOT5 = 1;
int CH_SLOT6 = 1;
int CH_SLOT7 = 1;
int CH_SLOT8 = 1;
int CH_AllSlot = 1;


void Slot5()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_ServerPointer;
if(dwPlayerPtr != 0)
{
*(int*)(ADR_ServerPointer + SLOT5)= 1;
}
}

void Slot6()
{
{
*(int*)(ADR_ServerPointer + SLOT6) = 1;
}
}

void Slot7()
{
{
*(int*)(ADR_ServerPointer + SLOT7) = 1;
}
}

void Slot8()
{
{
*(int*)(ADR_ServerPointer + SLOT8) = 1;
}
}

void AllSlot()
{
{
DWORD dwPlayerPtr = *(DWORD*)ADR_ServerPointer;
if(dwPlayerPtr != 0)
{

*(int*) (ADR_ServerPointer + SLOT5) = 1;
*(int*) (ADR_ServerPointer + SLOT6) = 1;
*(int*) (ADR_ServerPointer + SLOT7) = 1;
*(int*) (ADR_ServerPointer + SLOT8) = 1;
}
}
}


Slot5();
Slot6();
Slot7();
Slot8();
AllSlot();

whats wrong ?
its not *(int*), its *(long*). Heres updated source :
#define SLOT5 0x001021B4
#define SLOT6 0x001021B5
#define SLOT7 0x001021B6
#define SLOT8 0x001021B7


int CH_SLOT5 = 1;
int CH_SLOT6 = 1;
int CH_SLOT7 = 1;
int CH_SLOT8 = 1;
int CH_AllSlot = 1;


void Slot5()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_ServerPointer;
if(dwPlayerPtr != 0)
{
*(long*)(ADR_ServerPointer + SLOT5)= 1;
}
}

void Slot6()
{
{
*(long*)(ADR_ServerPointer + SLOT6) = 1;
}
}

void Slot7()
{
{
*(long*)(ADR_ServerPointer + SLOT7) = 1;
}
}

void Slot8()
{
{
*(long*)(ADR_ServerPointer + SLOT8) = 1;
}
}

void AllSlot()
{
{
DWORD dwPlayerPtr = *(DWORD*)ADR_ServerPointer;
if(dwPlayerPtr != 0)
{

*(long*) (ADR_ServerPointer + SLOT5) = 1;
*(long*) (ADR_ServerPointer + SLOT6) = 1;
*(long*) (ADR_ServerPointer + SLOT7) = 1;
*(long*) (ADR_ServerPointer + SLOT8) = 1;
}
}
}


Slot5();
Slot6();
Slot7();
Slot8();
AllSlot();
Still not working ,if u want Tv me to see .. \:
Jz are u coding menu or no menu hu ?
No menu dude ,why ?
i cant use this codes for no menu ?
sLOTS IS long,but i see @barcoder already helped you out
yes ,but the codes are right ,but when i log in ,there are no slot's
Post ur hole source and let me show you after that mistakes that u done ..
come on msn i will help you
I think he forgot to add these to hackthread:
Slot5();
Slot6();
Slot7();
Slot8();
AllSlot();
WHY use void for every function if ur not gonna use structs ? :P
just void Hacks() and use ifs for the hacks. Lot easier
whole source :

#include <windows.h>
#include <stdio.h>

//ADDIES
#define ADR_PlayerPointer 0x009E27B0
#define ADR_ServerPointer 0x009E274C
#define OFS_Z 0x00102E8
#define OFS_Y 0x00102F0
#define OFS_X 0x00102E0
#define OFS_Nofalldamage 0x00102C8
#define ADR_STAMINA1 0x81CDAC
#define ADR_STAMINA2 0x81CDB0
#define ADR_STAMINA3 0x81CDB4
#define ADR_STAMINA4 0x81CDB8
#define ADR_STAMINA5 0x81CDBC
#define OFS_NoSpread 0x009E71CC
#define OFS_NoRecoil1 0x00C34C
#define OFS_NoRecoil2 0x00C440
#define OFS_NoRecoil3 0x00C444
#define OFS_Premium 0x00058C
#define SLOT5 0x001021B4
#define SLOT6 0x001021B5
#define SLOT7 0x001021B6
#define SLOT8 0x001021B7

//INT'S
int CH_Superjump = 1;
int CH_Nofalldamage = 1;
int CH_STAMINA = 1;
int CH_NoSpread = 1;
int CH_NoRecoil = 1;
int CH_Premium = 1;
int CH_SLOT5 = 1;
int CH_SLOT6 = 1;
int CH_SLOT7 = 1;
int CH_SLOT8 = 1;
int CH_AllSlot = 1;
// VOIDS

//SUPAJUMP
void Superjump()
{
if(CH_Superjump == 1){
if(GetAsyncKeyState(VK_CONTROL) &1){
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0){
*(float*)(dwPlayerPtr+OFS_Z) = 1000;}}}
}

void Nofalldamage ()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Nofalldamage) = -20000;
}
}

void STAMINA()
{
*(float*)ADR_STAMINA1 = 1000;
*(double*)ADR_STAMINA2 = 1000;
*(double*)ADR_STAMINA3 = 0;
*(float*)ADR_STAMINA4 = 0;
*(float*)ADR_STAMINA5 = 0;
}

void NoSpread()
{
DWORD dwPlrPtr = *(DWORD*) ADR_PlayerPointer;
if (dwPlrPtr !=0)
{
*(float*)(dwPlrPtr + OFS_NoSpread) = 1;
}
}

void NoRecoil()
{
DWORD dwPlrPtr = *(DWORD*) ADR_PlayerPointer;
if (dwPlrPtr !=0)
{
*(float*)(dwPlrPtr + OFS_NoRecoil1) = 0;
*(float*)(dwPlrPtr + OFS_NoRecoil2) = 0;
*(float*)(dwPlrPtr + OFS_NoRecoil3) = 0;
}
}

void Premium()
{
DWORD dwSvrPtr = *(DWORD*) ADR_ServerPointer;
if (dwSvrPtr !=0)

{
*(long*)(dwSvrPtr + OFS_Premium)= 3;
}
}

void Slot5()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_ServerPointer;
if(dwPlayerPtr != 0)
{
*(long*)(ADR_ServerPointer + SLOT5)= 1;
}
}

void Slot6()
{
{
*(long*)(ADR_ServerPointer + SLOT6) = 1;
}
}

void Slot7()
{
{
*(long*)(ADR_ServerPointer + SLOT7) = 1;
}
}

void Slot8()
{
{
*(long*)(ADR_ServerPointer + SLOT8) = 1;
}
}

void AllSlot()
{
{
DWORD dwPlayerPtr = *(DWORD*)ADR_ServerPointer;
if(dwPlayerPtr != 0)
{

*(long*) (ADR_ServerPointer + SLOT5) = 1;
*(long*) (ADR_ServerPointer + SLOT6) = 1;
*(long*) (ADR_ServerPointer + SLOT7) = 1;
*(long*) (ADR_ServerPointer + SLOT8) = 1;
}
}
}

void HackThread()
{
for(;
{
Superjump();
Nofalldamage();
STAMINA();
NoSpread();
NoRecoil();
Premium();
Slot5();
Slot6();
Slot7();
Slot8();
AllSlot();
}
Sleep(200);
}


BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD dwReasone,LPVOID lpvReserved)
{
if(dwReasone == DLL_PROCESS_ATTACH)
{
CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)Hac kThread,NULL,NULL,NULL); // Some weird shit man,leme try to se... kk and i dont even know what functions i have working at the moment s: ok, add in superjump and no fall dmage just add them in regularly like this,
}
return TRUE;
}
Thanks for the help guys <3
Fixed Source

#include <windows.h>
#include <stdio.h>

//ADDIES
#define PlayerPointer 0x009E27B0
#define ServerPointer 0x009E274C
#define OFS_Z 0x00102E8
#define OFS_Y 0x00102F0
#define OFS_X 0x00102E0
#define OFS_Nofalldamage 0x00102C8
#define ADR_STAMINA1 0x81CDAC
#define ADR_STAMINA2 0x81CDB0
#define ADR_STAMINA3 0x81CDB4
#define ADR_STAMINA4 0x81CDB8
#define ADR_STAMINA5 0x81CDBC
#define OFS_NoSpread 0x009E71CC
#define OFS_NoRecoil1 0x00C34C
#define OFS_NoRecoil2 0x00C440
#define OFS_NoRecoil3 0x00C444
#define OFS_Premium 0x00058C
#define SLOT5 0x001021B4
#define SLOT6 0x001021B5
#define SLOT7 0x001021B6
#define SLOT8 0x001021B7


void Hacks()
{
DWORD PlayerPtr = *(DWORD*)PlayerPointer;
DWORD ServerPtr = *(DWORD*)ServerPointer;
if(PlayerPtr!=0)
{


//SuperJump
if(GetAsyncKeyState(VK_CONTROL) &1){
DWORD PlayerPtr = *(DWORD*)PlayerPointer;
if(PlayerPtr != 0){
*(float*)(PlayerPtr+OFS_Z) = 1000;}}


{//NoFallDamage
*(float*)(PlayerPtr+OFS_Nofalldamage) = -20000;
}


{//Stamina
*(float*)ADR_STAMINA1 = 1000;
*(double*)ADR_STAMINA2 = 1000;
*(double*)ADR_STAMINA3 = 0;
*(float*)ADR_STAMINA4 = 0;
*(float*)ADR_STAMINA5 = 0;
}


{//NoSpread
*(float*)(PlayerPtr + OFS_NoSpread) = 1;
}


{//NoRecoil
*(float*)(PlayerPtr + OFS_NoRecoil1) = 0;
*(float*)(PlayerPtr + OFS_NoRecoil2) = 0;
*(float*)(PlayerPtr + OFS_NoRecoil3) = 0;
}

}//End of PlayerHacks

if(ServerPtr!=0)
{

{//Premium
*(long*)(ServerPtr + OFS_Premium)= 3;
}

{//All Slots
*(long*) (ServerPtr + SLOT5) = 1;
*(long*) (ServerPtr + SLOT6) = 1;
*(long*) (ServerPtr + SLOT7) = 1;
*(long*) (ServerPtr + SLOT8) = 1;
}


}
}//End of Hacks



void HackThread()
{
for(;; )
{
Hacks();//Hacks
}
Sleep(200);
}


BOOL WINAPI DllMain(HINSTANCE hMODULE,DWORD dwReason,LPVOID lpvReserved)
{
if(dwReason == DLL_PROCESS_ATTACH)
{
CreateThread(NULL,NULL,(LPTHREAD_START_ROUTINE)Hac kThread,NULL,NULL,NULL);
}
return TRUE;
}
All Slots working ? Yes

EDIT: Copy/Paste and remove space between Hac kThread :P
Posts 1–15 of 16 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?