• 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
  • Results 1 to 8 of 8
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      waked war's Avatar
      Join Date
      Oct 2013
      Posts
      12
      Thanks (-->)
      0
      Thanks (<--)
      0

      Question Menu ON | OFF help (Fleep Source)

      Silent VPN
      Hello,

      I finally got a cross hair to work but it will not start turned off.
      As well it WILL NOT turn off if I select it.

      Attachment 2055

      Most of this is in the d3d9dev.cpp

      GLOBAL:

      Code:
      #include <iostream>
      #include <windows.h>
      #include "main.h"
      #include "d3d9.h"
      #include <ctime> //for the clock
      #include "Hacks.h"
      Hacks hacks;
      
      // FOR CROSSHAIR -- GLOBAL-----------------
      float ScreenCenterX = 0.0f;
      float ScreenCenterY = 0.0f;
      D3DCOLOR redt = D3DCOLOR_XRGB( 255, 0, 0 );
      //-----------------------------------------
      END SCENE: For the original coding I had to put " == " or i would get Errors

      Code:
      HRESULT APIENTRY hkIDirect3DDevice9::EndScene()
      {
      	hacks.KeyBoardInput();
      	hacks.DrawMenu(m_pD3Ddev);
      			// ON | OFF?
      	hacks.hack[CROSSHAIR].on; // CROSSHAIR --------------------------------------------
      	{
      	if (CROSSHAIR == CROSSHAIR)
      {   
         D3DRECT rec1 = {ScreenCenterX-25, ScreenCenterY, ScreenCenterX+ 25, ScreenCenterY+1};
         D3DRECT rec2 = {ScreenCenterX, ScreenCenterY-25, ScreenCenterX+ 1,ScreenCenterY+25};  
         m_pD3Ddev->Clear( 1, &rec1, D3DCLEAR_TARGET, D3DXCOLOR(1.0, 0.0, 0.0, 1.0), 0,  0 );//red
         m_pD3Ddev->Clear( 1, &rec2, D3DCLEAR_TARGET, D3DXCOLOR(1.0, 0.0, 0.0, 1.0), 0,  0 );
      
          D3DRECT rec3 = {ScreenCenterX-15, ScreenCenterY, ScreenCenterX+ 15, ScreenCenterY+1};
         D3DRECT rec4 = {ScreenCenterX, ScreenCenterY-15, ScreenCenterX+ 1,ScreenCenterY+15};  
         m_pD3Ddev->Clear( 1, &rec3, D3DCLEAR_TARGET, D3DXCOLOR(0.0, 0.0, 0.0, 0.0), 0,  0 );// black
         m_pD3Ddev->Clear( 1, &rec4, D3DCLEAR_TARGET, D3DXCOLOR(0.0, 0.0, 0.0, 0.0), 0,  0 );
         
         D3DRECT rec5 = {ScreenCenterX-3, ScreenCenterY, ScreenCenterX+ 3, ScreenCenterY+1};
         D3DRECT rec6 = {ScreenCenterX, ScreenCenterY-3, ScreenCenterX+ 1,ScreenCenterY+3};  
         m_pD3Ddev->Clear( 1, &rec5, D3DCLEAR_TARGET, D3DXCOLOR(1.0, 0.0, 0.0, 1.0), 0,  0 );// black
         m_pD3Ddev->Clear( 1, &rec6, D3DCLEAR_TARGET, D3DXCOLOR(1.0, 0.0, 0.0, 1.0), 0,  0 );
      }
      	return m_pD3Ddev->EndScene();
      }
      }

      ORIGINAL: Crosshair code

      Code:
      if (GetAsyncKeyState (VK_INSERT)&1)
      {
      xhair = !xhair;
      }
      
      if (xhair)
      {    D3DRECT rec1 = {ScreenCenterX-25, ScreenCenterY, ScreenCenterX+ 25, ScreenCenterY+1};
         D3DRECT rec2 = {ScreenCenterX, ScreenCenterY-25, ScreenCenterX+ 1,ScreenCenterY+25};  
         psyDevice->Clear( 1, &rec1, D3DCLEAR_TARGET, D3DXCOLOR(1.0, 0.0, 0.0, 1.0), 0,  0 );//red
         psyDevice->Clear( 1, &rec2, D3DCLEAR_TARGET, D3DXCOLOR(1.0, 0.0, 0.0, 1.0), 0,  0 );
      
         
         D3DRECT rec3 = {ScreenCenterX-15, ScreenCenterY, ScreenCenterX+ 15, ScreenCenterY+1};
         D3DRECT rec4 = {ScreenCenterX, ScreenCenterY-15, ScreenCenterX+ 1,ScreenCenterY+15};  
         psyDevice->Clear( 1, &rec3, D3DCLEAR_TARGET, D3DXCOLOR(0.0, 0.0, 0.0, 0.0), 0,  0 );// black
         psyDevice->Clear( 1, &rec4, D3DCLEAR_TARGET, D3DXCOLOR(0.0, 0.0, 0.0, 0.0), 0,  0 );
         
         D3DRECT rec5 = {ScreenCenterX-3, ScreenCenterY, ScreenCenterX+ 3, ScreenCenterY+1};
         D3DRECT rec6 = {ScreenCenterX, ScreenCenterY-3, ScreenCenterX+ 1,ScreenCenterY+3};  
         psyDevice->Clear( 1, &rec5, D3DCLEAR_TARGET, D3DXCOLOR(1.0, 0.0, 0.0, 1.0), 0,  0 );// black
         psyDevice->Clear( 1, &rec6, D3DCLEAR_TARGET, D3DXCOLOR(1.0, 0.0, 0.0, 1.0), 0,  0 );
      
      }
      Hacks.h @ End of Header

      Code:
      	struct Fall_Options
      	{
      		bool crosshair;
      	};

      Hacks.cpp | HotKeys:


      Code:
      void Hacks::KeyBoardInput()
      {
      	//      SELECTION UP+DOWN
      	if(GetAsyncKeyState(VK_UP)&1)
      	{
      		if(MenuIndex > 0)
      		{
      			MenuIndex--;
      		}
      	}
      
      		if(GetAsyncKeyState(VK_DOWN)&1)
      		{
      			if(MenuIndex < MAX_MENU_ITEMS-1)
      			{
      			MenuIndex++;
      			}
      		}
      		//     HIDE+SHOW MENU | Enable hack
      		if(GetAsyncKeyState(VK_RIGHT)&1)
      		{
      			hack[MenuIndex].on = !hack[MenuIndex].on;
      			if(MenuIndex == CROSSHAIR);
      		}
      
      		if(GetAsyncKeyState(VK_LEFT)&1)
      		{
      			hack[MenuIndex].on = !hack[MenuIndex].on;
      			if(MenuIndex == CROSSHAIR);//////////////////////////////
      		}
      
      		if(GetAsyncKeyState(VK_INSERT)&1)
      		{
      			hack[HIDE_MENU].on = !hack[HIDE_MENU].on;
      		}
      }
      Virus Scan 1
      Virus Scan 2
      Fleeps Source edited by me:
      Last edited by waked war; 10-08-2013 at 01:04 PM.

    2. #2
      Learning to hack games!
       
      Feeling Normal
       
      's Avatar
      Join Date
      Jan 1970
      Posts
      0
      Thanks (-->)
      294
      Thanks (<--)
      328
      Can you please provide 2 virus scans of your zip file.

      Article#6 - Posting Files:

      If you post an attachment of anything other than an image, you need to provide 2 virus scans before the attachment gets approved, we recommend that you use Virus total and Jotti virus scan Make sure you provide the links to those scans complete.
      This is to make sure other members do not get any malware. Also Don't post links to other sites, ESPECIALLY sites that require a user to complete a survey's prior to download.

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      waked war's Avatar
      Join Date
      Oct 2013
      Posts
      12
      Thanks (-->)
      0
      Thanks (<--)
      0
      Last edited by waked war; 10-08-2013 at 10:29 AM.

    4. #4
      Learning to hack games!
       
      Feeling Normal
       
      's Avatar
      Join Date
      Jan 1970
      Posts
      0
      Thanks (-->)
      294
      Thanks (<--)
      328
      Thread is back.

      Approved!

    5. #5
      Hacker
      ^.^
       
      Eating
       
      NTvalk's Avatar
      Join Date
      Jul 2013
      Location
      Your RAM
      Posts
      512
      Thanks (-->)
      176
      Thanks (<--)
      146
      Code:
      if (GetAsyncKeyState (VK_INSERT)&1)
      {
      xhair = !xhair;
      }
      maybe try xhair = NULL?

    6. #6
      Respected Hacker
      Learning to hack games!
       
      Coding
       
      till0sch's Avatar
      Join Date
      Oct 2012
      Location
      Germany.
      Posts
      1,168
      Thanks (-->)
      179
      Thanks (<--)
      340
      if (CROSSHAIR == CROSSHAIR)

      This makes no sense because crosshair will obviously always be crosshair. I think

      if (hacks.hack[CROSSHAIR].on)

      Makes more sense.
      Last edited by till0sch; 10-13-2013 at 02:18 PM.

    7. #7
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      waked war's Avatar
      Join Date
      Oct 2013
      Posts
      12
      Thanks (-->)
      0
      Thanks (<--)
      0
      I think i tried that to every possible thing but I will try again

    8. #8
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      waked war's Avatar
      Join Date
      Oct 2013
      Posts
      12
      Thanks (-->)
      0
      Thanks (<--)
      0
      Silent VPN
      Quote Originally Posted by till0sch97 View Post
      if (CROSSHAIR == CROSSHAIR)

      This makes no sense because crosshair will obviously always be crosshair. I think

      if (hacks.hack[CROSSHAIR].on)

      Makes more sense.
      thanks man it worked ,

      Its the simplest things, I guess I didn't try if (hacks.hack[CROSSHAIR].on) in the EndScene I was kinda worried more about the hotkeys in hacks.cpp

      also if (CROSSHAIR == CROSSHAIR) would always be on but the crosshair was always on even if this was different but thanks a bunch
      Last edited by waked war; 10-16-2013 at 07:29 AM.

    Similar Game Hacker Threads

    1. [Source Code] [Fleep Hack Updated for CS GO] cs go hack source code
      By vikingtiger911 in forum CS:GO Hacks
      Replies: 50
      Last Post: 09-27-2017, 03:05 AM
    2. [Source Code] DirectX D3D Menu Source Code
      By thebassdropper in forum Direct-X, OpenGL
      Replies: 8
      Last Post: 03-27-2017, 06:44 AM
    3. [Help] [Fleep Hack CS:GO] Source Code ESP { NEED HELP }
      By vikingtiger911 in forum GH Tutorials Help
      Replies: 16
      Last Post: 02-02-2016, 09:52 AM
    4. [Source Code] Simple Bunny Hop Using Source Engine Functions [CS:Source]
      By Simon-Benyo in forum Tutorials and Snippets
      Replies: 7
      Last Post: 10-11-2015, 01:18 PM
    5. ~ Help please ( Fleep )
      By Glitch in forum Hacking Help
      Replies: 2
      Last Post: 11-07-2013, 08:31 PM

    Tags for this Thread