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 ?
whats wrong ?
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();
#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 ?
:
