[First Post] Some source code to hack Crossfire VN in 2019
First of all, I'll share u bypass 28_3 to use some WeaponHack like NoReload,NoRecoil,No Spread,...
Pattern 28_3: 83 F8 FF 0F 84 ?? ?? ?? ?? 56 50 E8 //Bypass 28_3
Code:
void bypass()
{
DWORD CShell = (DWORD)GetModuleHandleA(eCShell); //eCShell is #define in Xor.h
if(CShell)
{
memcpy((void*)(CShell + 0x70036D),"\xE9\xF8\x01\x00\x00\x90",6) //use je -> jmp u'll get a pattern like: \xE9\xF8\x01\x00\x00\x90
}
}
Then:
Pattern: 0F B6 05 ?? ?? ?? 11 52 50 8D 4C 24 20 51 8D //Auto Bunny
Code:
void _Bunny()
{
DWORD CShell = (DWORD)GetModuleHandleA(eCShell);
if (CShell)
{
static bool BunnyHop = false, IsShowMess = true;
if (GetAsyncKeyState(VK_F5) & 1)
{
BunnyHop = !BunnyHop;
IsShowMess = false;
}
if (BunnyHop)
*(DWORD*)(CShell + 0x1295000) = 0; //Auto Bunny
if (!IsShowMess)
{
BunnyHop ? ShowMessage("Bunny: ON") : ShowMessage("Bunny: OFF"); //F5 = ON|Off Bunny
IsShowMess = true;
}
}
return;
}
And in the last one:
Search string: ReloadAnimRatio //This is No Reload Hack
Code:
DWORD CShell = (CShell)GetModuleHandleA(eCShell); //Get eCShell in Xor.h lib
if(CShell)
{
for (int i = 0; i<2500; i ++) //No Reload
{
DWORD hWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
DWORD Weapon = *(DWORD*)(hWeaponMgr + (4*i));
if(Weapon != 0)
{
*(float*)(Weapon + 0x13B4) = 40;
}
}
}
}
Pattern 28_3: 83 F8 FF 0F 84 ?? ?? ?? ?? 56 50 E8 //Bypass 28_3
Code:
void bypass()
{
DWORD CShell = (DWORD)GetModuleHandleA(eCShell); //eCShell is #define in Xor.h
if(CShell)
{
memcpy((void*)(CShell + 0x70036D),"\xE9\xF8\x01\x00\x00\x90",6) //use je -> jmp u'll get a pattern like: \xE9\xF8\x01\x00\x00\x90
}
}
Then:
Pattern: 0F B6 05 ?? ?? ?? 11 52 50 8D 4C 24 20 51 8D //Auto Bunny
Code:
void _Bunny()
{
DWORD CShell = (DWORD)GetModuleHandleA(eCShell);
if (CShell)
{
static bool BunnyHop = false, IsShowMess = true;
if (GetAsyncKeyState(VK_F5) & 1)
{
BunnyHop = !BunnyHop;
IsShowMess = false;
}
if (BunnyHop)
*(DWORD*)(CShell + 0x1295000) = 0; //Auto Bunny
if (!IsShowMess)
{
BunnyHop ? ShowMessage("Bunny: ON") : ShowMessage("Bunny: OFF"); //F5 = ON|Off Bunny
IsShowMess = true;
}
}
return;
}
And in the last one:
Search string: ReloadAnimRatio //This is No Reload Hack
Code:
DWORD CShell = (CShell)GetModuleHandleA(eCShell); //Get eCShell in Xor.h lib
if(CShell)
{
for (int i = 0; i<2500; i ++) //No Reload
{
DWORD hWeaponMgr = *(DWORD*)(CShell + WeaponMgr);
DWORD Weapon = *(DWORD*)(hWeaponMgr + (4*i));
if(Weapon != 0)
{
*(float*)(Weapon + 0x13B4) = 40;
}
}
}
}
) phải ko 
