
Originally Posted by
akincbhevz
Oops, how can we help you if you don't post your source code's !
BTW, @
GMDaddy wag mo ibigay yung binigay ko sayong source code!
====dllmain.c======
#include "dll.h" // your address header
#include <windows.h>
#include <stdio.h>
//DWORD Player Pointer And ServerPointer
DWORD ammo;
DWORD *playing = (DWORD*)ADR_PlayerPointer;
DWORD *lobby = (DWORD*)ADR_ServerPointer;
//Codes / Functions
void UnliAmmo()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0){
if (GetAsyncKeyState(VK_F8)) //record ammo
{
ammo = *(int*)ADR_Unliammo;
}
if(GetAsyncKeyState(VK_F5) &1) //on
{
*(int*)ADR_Unliammo = 0;
}
if(GetAsyncKeyState(VK_F6) &1) //off
{
*(int*)ADR_Unliammo = ammo ;
}
}}
void BrokenAI()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(GetAsyncKeyState(VK_F9)) // F
{
MessageBeep(MB_ICONINFORMATION);
TeleBSType++;
switch(TeleBSType)
{
case 1://Safe zone for Broken Sunset
*(float*)(dwPlayerPtr+OFS_X) = 3580;
*(float*)(dwPlayerPtr+OFS_Y) = 2630;
*(float*)(dwPlayerPtr+OFS_Z) = 479;
break;
case 2://Ammo
*(float*)(dwPlayerPtr+OFS_X) = 3100;
*(float*)(dwPlayerPtr+OFS_Y) = 3080;
*(float*)(dwPlayerPtr+OFS_Z) = 585;
break;
case 3://Medic
*(float*)(dwPlayerPtr+OFS_X) = 3560;
*(float*)(dwPlayerPtr+OFS_Y) = 3350;
*(float*)(dwPlayerPtr+OFS_Z) = 479;
TeleBSType = 0;
break;
}
Sleep(200);
}
}
void ZombieFreeze()
{
if(GetAsyncKeyState(VK_RIGHT) & 1)
{
MessageBeep(MB_ICONINFORMATION);
*(float*) ADR_Speed = 0.0f;
}}
void SpeedHackOn()
{
if(GetAsyncKeyState(VK_UP) & 1)
{
MessageBeep(MB_ICONINFORMATION);
if (ADR_Speed > 10 )
{
*(float*)ADR_Speed = *(float*) (ADR_Speed) + 10.f; // i want to make the zombie not to attack me so I reverse the movement
}}}
void SpeedHackOff()
{
if(GetAsyncKeyState(VK_DOWN) & 1)
{
MessageBeep(MB_ICONINFORMATION);
if (ADR_Speed > 10 )
{
*(float*)ADR_Speed = *(float*) (ADR_Speed) - 10.f; // i want to make the zombie not to attack me so I reverse the movement
}}}
void Teleport()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
if (GetAsyncKeyState(VK_F10))
{
MessageBeep(MB_ICONINFORMATION);
posiX = *(float*)(dwPlayerPtr + OFS_X);
posiY = *(float*)(dwPlayerPtr + OFS_Y);
posiZ = *(float*)(dwPlayerPtr + OFS_Z);
}
if (GetAsyncKeyState(VK_F11))
{
*(float*)(dwPlayerPtr + OFS_X) = posiX;
*(float*)(dwPlayerPtr + OFS_Y) = posiY;
*(float*)(dwPlayerPtr + OFS_Z) = posiZ;
}
}
}
void GlassWall()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(GetAsyncKeyState(VK_MBUTTON)) //
{
MessageBeep(MB_ICONINFORMATION);
TeleBSType2++;
switch(TeleBSType2)
{
case 1:
*(int*)(ADR_Glasswall) = 2;
break;
case 2:
*(int*)(ADR_Glasswall) = 0;
TeleBSType2 = 0;
break;
}
Sleep(200);
}
}
void NoRecoil()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_NoRecoil1) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil2) = 0;
*(float*)(dwPlayerPtr+OFS_NoRecoil3) = 0;
}
}
void NoFog()
{
*(float*)ADR_FarFog = 1166127104;
*(float*)ADR_NearFog = 0;
}
void Scope()
{
if(GetAsyncKeyState(VK_RBUTTON))
{
*(int*)ADR_Scope = (int)1;
}
else
{
*(int*)ADR_Scope = (int)5;
}
}
void STW()
{
*(double*)ADR_STW = 0;
}
void BoneShot()
{
*(float*)ADR_BoneShot = 1235.0f;
}
void Sns()
{
*(double*)ADR_SuperNoSpread = 0;
}
void PxItem()
{
*(int*)(ADR_Sniper2x) = 1;
*(int*)(ADR_Assault2x) = 1;
}
void ExtraAmmo()
{
*(int*)(ADR_AssaultClip) = 1;
*(int*)(ADR_SniperClip) = 1;
}
void NoWater()
{
*(int*)ADR_NoWater = 0;
*(int*)ADR_WUW = 0;
}
void FullBrigth()
{
*(int*)FullBright1 = 1092779973;
*(int*)FullBright2 = 1092779973;
*(int*)FullBright3 = 1092779973;
}
void Superjump()
{
if(GetAsyncKeyState(VK_CONTROL) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = 1000;
}
}
}
void Dig()
{
if(GetAsyncKeyState(VK_MENU) &1)
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr+OFS_Z) = -3000;
}
}
}
void NFD()
{
DWORD dwPlayerPtr = *(DWORD*)ADR_PlayerPointer;
if(dwPlayerPtr != 0)
{
*(float*)(dwPlayerPtr + OFS_NFD) = -20000;
}
}
void Fast()
{
*(float*)ADR_FastAmmo = 10000.0f;
*(float*)ADR_FastMedic = 10000.0f;
*(float*)ADR_FastFlag = 10000.0f;
}
void UnliSP()
{
*(float*)ADR_UnliSp = 10000.0f;
}
void Premium()
{
DWORD dwPlayerPtr = *(DWORD*)lobby;
*(long*)(dwPlayerPtr + OFS_PREMIUM1) = 3, 10; //
*(float*)(dwPlayerPtr + OFS_PREMIUM2) = 7; // no of days that will display on your account
}
void Level()
{
DWORD dwPlayerPtr = *(DWORD*)lobby;
*(long*)(dwPlayerPtr+OFS_Level) = 999999999;
}
void Dinar()
{
DWORD dwPlayerPtr = *(DWORD*)lobby;
*(long*)(dwPlayerPtr+OFS_Dinar) = 999999999;
}
void LetsDoThisShit()
{
for(;; )
{
if(*playing)
{
UnliAmmo();
Teleport();
BrokenAI();
ZombieFreeze();
SpeedHackOff();
SpeedHackOn();
GlassWall();
NoRecoil();
NoFog();
Scope();
Sns();
STW();
FullBrigth();
BoneShot();
PxItem();
ExtraAmmo();
NoWater();
Superjump();
Dig();
NFD();
Fast();
UnliSP();
Dinar();
Level();
Premium();
}
if(*lobby)
{
Dinar();
Level();
Premium();
}}
Sleep(200);
}
BOOL WINAPI DllMain(HINSTANCE mod, DWORD status, LPVOID res)
{
if (status == DLL_PROCESS_ATTACH)
{
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)LetsDoThisShit , 0, 0, 0);
MessageBoxA(NULL,"Made By: johnix98","Credits",MB_OK);
MessageBoxA(NULL,"D3ath + Proten + X1RK + K4mot3 + Umbrela + Ace + `Kung Sino Pa`","Respect",MB_OK);
}
return TRUE;
}