• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Page 1 of 2 12 LastLast
    Results 1 to 10 of 20
    1. #1
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491

      Smile ArmA 2 OA / DayZ Flyhack

      John Kittz
      ArmA 2 OA & DayZ Flyhack.

      Controls:
      • Turn On/Off - Insert
      • Move higher - Up arrow
      • Move down - Down arrow
      • Move forward - Numpad 8
      • Move backward- Numpad 2
      • Move left- Numpad 4
      • Move right - Numpad 6
      • Rotate left - Left arrow
      • Rotate right - Right arrow


      Usage:
      • Inject to ArmA 2 OA's process with your favourite (undetected) injector any time
      • Press insert to enable/disable

      Built for beta version 102936, might work on others.
      Battleye 1.191 Undetected

      Note: Turning on and off might be a bit buggy, I am too lazy to improve it.

      Credits: c5
      Thanks: m101jay (client pointer); fatboy88
      Attached Files Attached Files
      Last edited by c5; 03-24-2013 at 04:50 AM.
      ArmA 2 OA / DayZ Flyhack

    2. Thanks N/A, Syperus, Crypt, starr thanked for this post
    3. #2
      Learning to hack games!
       
      Feeling Normal
       
      's Avatar
      Join Date
      Jan 1970
      Posts
      0
      Thanks (-->)
      294
      Thanks (<--)
      328
      If only I had Arma 2 / DayZ then I would be able to test it for you!

      Other than that, good work c5! Great to see more work poppin' up!

    4. #3
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      Here is the source..

      I did it in endscene, obviously you can also do it externally or wherever else you like
      Code:
      #include "hack.h"
      
      HRESULT WINAPI myEndscene (LPDIRECT3DDEVICE9 pDevice)
      {
      	vFlyhack();
      
      	return pEndscene(pDevice);
      }
      and hack.h:
      Code:
      #include "Engine/Fivehax.h"
      #include "windows.h"
      #include <math.h>
      
      #define PI 3.1415926535897932
      #define CLIENT_PTR 0xDFCDD8
      
      Fivehax memory;
      
      void vFlyhack();
      void vOffsets();
      void vFly();
      
      bool bFlyhack = false;
      bool bGodmode = false;
      bool bHover = false;
      
      DWORD dArmaBase = 0;
      
      struct playerData {
      	float headingOne;
      	float headingTwo;
      	float heading;
      	float heading2;
      	float xcoord;
      	float ycoord;
      	float zcoord;
      	float zhover;
      	DWORD dwHeadingOne;
      	DWORD dwHeadingTwo;
      	DWORD dwxcoord;
      	DWORD dwycoord;
      	DWORD dwzcoord;
      	DWORD dAllowDamage;
      } player;
      
      bool restore = false;
      
      void vFlyhack()
      {
      	static bool init = false;
      	if (!init)
      	{
      		dArmaBase = memory.GetDLLBase("arma2oa.exe");
      		init = true;
      	}
      	if (memory.Read<char>(dArmaBase+0x9F9FA4) == 0) // 9F9FA5 // 9F9FAD // we dont wanna crash while not in game
      		return;
      
      	if (!bFlyhack)
      	{
      		if (GetAsyncKeyState(VK_INSERT))
      		{
      			bFlyhack = true;
      		}
      		else if (restore)
      		{
      			memory.Write<char>(player.dAllowDamage, 1);
      			restore = false;
      		}
      	}
      	else if(bFlyhack)
      	{
      		if (GetAsyncKeyState(VK_INSERT))
      		{
      			vOffsets();
      			memory.Write<float>(player.dwzcoord, 0);
      			restore = true;
      			bFlyhack = false;
      		}
      		else
      		{
      			vOffsets();
      			memory.Write<char>(player.dAllowDamage, 0);
      			vFly();
      		}
      	}
      }
      
      DWORD dPlayerOffsets[] = {0x13A8, 0x4, 0x18};
      
      void vOffsets()// and obtaining data
      {
      	DWORD temp = memory.EvaluatePointer(CLIENT_PTR);
      	temp += dPlayerOffsets[0];
      	temp = memory.EvaluatePointer(temp);
      	temp += dPlayerOffsets[1];
      	temp = memory.EvaluatePointer(temp);
      	temp += dPlayerOffsets[2];
      	temp = memory.EvaluatePointer(temp);
      	player.dwHeadingOne = temp + 0x1C;
      	player.dwHeadingTwo = temp + 0x24;
      	player.dwxcoord = temp + 0x28;
      	player.dwzcoord = temp + 0x2C;
      	player.dwycoord = temp + 0x30;
      
      	player.headingOne = memory.Read<float>(player.dwHeadingOne);
      	player.headingTwo = memory.Read<float>(player.dwHeadingTwo);
      	player.heading = atan2((double)player.headingOne,(double)player.headingTwo);
      	player.heading2 = player.heading * (float)-1.0;
      	player.heading = player.heading * (float)-1.0 + (float)1.582;
      
      	player.xcoord = memory.Read<float>(player.dwxcoord);
      	player.ycoord = memory.Read<float>(player.dwycoord);
      	player.zcoord = memory.Read<float>(player.dwzcoord);
      
      	player.dAllowDamage = memory.EvaluatePointer(dArmaBase+0x9F43E4) + 0x213;
      }
      
      #define moveDistance 0.1
      #define rotationconst 0.018//0.0001
      float movx = 0;
      float movy = 0;
      
      void vFly()
      {
      	if( GetAsyncKeyState(VK_UP) )
      	{
      		memory.Write<float>(player.dwzcoord, player.zcoord + 0.9);	
      		bHover = false;
      	}
      	else if( GetAsyncKeyState(VK_DOWN) )
      	{
      		memory.Write<float>(player.dwzcoord, player.zcoord - 0.5);
      		bHover = false;
      	}
      	else 
      	{
      		if (!bHover) 
      		{	
      			player.zhover = player.zcoord;
      			bHover = true;
      		}
      		else if (bHover)
      			memory.Write<float>(player.dwzcoord, player.zhover);
      	}
      
      	if( GetAsyncKeyState(VK_NUMPAD4) )
      	{
      		movx = moveDistance * (float)cos(player.heading2);
      		movy = moveDistance * (float)sin(player.heading2);
      
      		memory.Write<float>(player.dwxcoord, player.xcoord - movx);
      		memory.Write<float>(player.dwycoord, player.ycoord - movy);
      	}
      	
      	if( GetAsyncKeyState(VK_NUMPAD6) )
      	{
      		movx = moveDistance * (float)cos(player.heading2);
      		movy = moveDistance * (float)sin(player.heading2);
      
      		memory.Write<float>(player.dwxcoord, player.xcoord + movx);
      		memory.Write<float>(player.dwycoord, player.ycoord + movy);
      	}
      
      	if( GetAsyncKeyState(VK_NUMPAD8) )
      	{
      		movx = moveDistance * (float)cos(player.heading);
      		movy = moveDistance * (float)sin(player.heading);
      
      		memory.Write<float>(player.dwxcoord, player.xcoord + movx);
      		memory.Write<float>(player.dwycoord, player.ycoord + movy);
      	}
      	
      	if( GetAsyncKeyState(VK_NUMPAD2) )
      	{
      		movx = moveDistance * (float)cos(player.heading);
      		movy = moveDistance * (float)sin(player.heading);
      
      		memory.Write<float>(player.dwxcoord, player.xcoord - movx);
      		memory.Write<float>(player.dwycoord, player.ycoord - movy);
      	}
      
      	if(GetAsyncKeyState(VK_LEFT) )
      	{
      		if (player.headingOne >= 0 && player.headingTwo >= 0)
      		{
      			memory.Write<float>(player.dwHeadingOne, player.headingOne - rotationconst);
      			memory.Write<float>(player.dwHeadingTwo, player.headingTwo + rotationconst);
      		}
      		else if (player.headingOne > 0 && player.headingTwo < 0)
      		{
      			memory.Write<float>(player.dwHeadingOne, player.headingOne + rotationconst);
      			memory.Write<float>(player.dwHeadingTwo, player.headingTwo + rotationconst);
      		}
      		else if (player.headingOne < 0 && player.headingTwo < 0)
      		{
      			memory.Write<float>(player.dwHeadingOne, player.headingOne + rotationconst);
      			memory.Write<float>(player.dwHeadingTwo, player.headingTwo - rotationconst);
      		}
      		else if (player.headingOne <= 0 && player.headingTwo >= 0)
      		{
      			memory.Write<float>(player.dwHeadingOne, player.headingOne - rotationconst);
      			memory.Write<float>(player.dwHeadingTwo, player.headingTwo - rotationconst);
      		}
      	}
      
      	if(GetAsyncKeyState(VK_RIGHT) )
      	{
      		if (player.headingOne > 0 && player.headingTwo > 0)
      		{
      			memory.Write<float>(player.dwHeadingOne, player.headingOne + rotationconst);
      			memory.Write<float>(player.dwHeadingTwo, player.headingTwo - rotationconst);
      		}
      		else if (player.headingOne >= 0 && player.headingTwo <= 0)
      		{
      			memory.Write<float>(player.dwHeadingOne, player.headingOne - rotationconst);
      			memory.Write<float>(player.dwHeadingTwo, player.headingTwo - rotationconst);
      		}
      		else if (player.headingOne <= 0 && player.headingTwo <= 0)
      		{
      			memory.Write<float>(player.dwHeadingOne, player.headingOne - rotationconst);
      			memory.Write<float>(player.dwHeadingTwo, player.headingTwo + rotationconst);
      		}
      		else if (player.headingOne < 0 && player.headingTwo > 0)
      		{
      			memory.Write<float>(player.dwHeadingOne, player.headingOne + rotationconst);
      			memory.Write<float>(player.dwHeadingTwo, player.headingTwo + rotationconst);
      		}
      	}
      }
      If you're smart you could build a simple godmode out of it
      Last edited by c5; 03-21-2013 at 08:40 AM.
      ArmA 2 OA / DayZ Flyhack

    5. Thanks N/A, Chuck E, Fleep thanked for this post
    6. #4
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      Quote Originally Posted by Crypt View Post
      Sweet! I'll be giving out a ArmA 3 hack soon with ESP Features and Script Injection.
      Sounds great. I haven't bothered with ArmA 3 yet, not until it's in full state I guess. As far as I've noticed, nothing big hasn't changed engine wise on that part, has it?
      ArmA 2 OA / DayZ Flyhack

    7. #5
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      Chuck E's Avatar
      Join Date
      Jan 2013
      Location
      United Kingdom
      Posts
      119
      Thanks (-->)
      30
      Thanks (<--)
      20
      Thanks for releasing the source. I'm more interested in the way you coded it than the hack itself
      I think I may change my name to Cap'n Cut-n-Paste
      Last edited by Chuck E; 03-21-2013 at 01:33 PM.

    8. #6
      Kim Kong Trasher
      I don't have status.
       
      Raging
       
      c5's Avatar
      Join Date
      Jul 2012
      Location
      Mankei Iland
      Posts
      1,221
      Thanks (-->)
      97
      Thanks (<--)
      491
      Quote Originally Posted by Chuck E View Post
      Thanks for releasing the source. I'm more interested in the way you coded it then the hack itself
      I think I may change my name to Cap'n Cut-n-Paste
      Haha, I can surely say I'm no expert in trigonometry what so ever, so be warned when copying math related stuff lol
      ArmA 2 OA / DayZ Flyhack

    9. #7
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      Chuck E's Avatar
      Join Date
      Jan 2013
      Location
      United Kingdom
      Posts
      119
      Thanks (-->)
      30
      Thanks (<--)
      20
      Quote Originally Posted by c5 View Post
      Haha, I can surely say I'm no expert in trigonometry what so ever, so be warned when copying math related stuff lol
      LOL, I'll be sure to double check it, when i get to use it or anything like this

    10. #8
      RTFM
      Shootin Pool!
       
      Coding
       
      Syperus's Avatar
      Join Date
      Oct 2012
      Location
      127.0.0.1
      Posts
      436
      Thanks (-->)
      101
      Thanks (<--)
      131
      Thanks for sharing your work c5. I always like looking other peoples code and see how they create their work. @Crypt WB man. Do you have a copy of ArmA you could spare for me? Also is it ArmA 2 or 3 that you have a lot of copies of? Just curious, but either would work for me. I haven't played it before. Thanks
      Blacks Ops Zombies, BioShock Infinite Array of Bytes
      "People say I'm a bad influence. I say the world's already fucked, I'm just adding to it" -Eminem

    11. #9
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      prolink123's Avatar
      Join Date
      Mar 2013
      Posts
      1
      Thanks (-->)
      0
      Thanks (<--)
      0

      Can make sudden attack hack !!?

      Make Sudden attack source code or wall plz !!!

    12. #10
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      jamesbxv's Avatar
      Join Date
      Dec 2012
      Posts
      3
      Thanks (-->)
      0
      Thanks (<--)
      0
      Cheats'n'Trainers
      Hey there. I I'm glad to see this forum is still alive haha I was wondering if you have any extra keys for me as the last time I was testing Arma 2 hacks I got banned

    Page 1 of 2 12 LastLast

    Similar Game Hacker Threads

    1. [Help] AssaultCube Flyhack is not working
      By NeonLiiqht in forum Hacking Help
      Replies: 8
      Last Post: 05-07-2016, 03:29 AM
    2. [Release] PoE 2.04 Multihack (Client-side Flyhack, Zoom Patcher, Auto-Potions)
      By Obsta in forum Other Game Hacks
      Replies: 4
      Last Post: 10-07-2015, 03:22 PM
    3. DayZ SA Hack V0.5
      By MiDOM in forum Other Game Hacks
      Replies: 5
      Last Post: 08-09-2014, 01:43 AM

    Tags for this Thread