• 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 5 of 5
    1. #1
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      justintcs's Avatar
      Join Date
      Jul 2012
      Posts
      30
      Thanks (-->)
      1
      Thanks (<--)
      0

      Little help in this code

      John Kittz
      Code:
      HRESULT WINAPI DrawIndexedPrimitive(LPDIRECT3DDEVICE8 pDevice, D3DPRIMITIVETYPE Type, 
                            UINT MinIndex, UINT NumVertices, UINT StartIndex, UINT PrimitiveCount)
      {
       LPDIRECT3DVERTEXBUFFER8 Stream_Data;
       UINT Stride = 0;
      
       if(pDevice-&gt;GetStreamSource(0, &amp;Stream_Data, &amp;Stride) == D3D_OK)
       Stream_Data-&gt;Release();
       //code
       bool charms;
        
       if(Stride == 40 &amp;&amp; charms || Stride == 44 &amp;&amp; charms)
       {
      	 pDevice-&gt;SetRenderState(D3DRS_ZENABLE,false);
         pDevice-&gt;SetRenderState(D3DRS_LIGHTING,true);
         pDevice-&gt;SetRenderState(D3DRS_SHADEMODE,D3DSHADE_FLAT);
         pDevice-&gt;SetRenderState(D3DRS_AMBIENT,RED);
         pDevice-&gt;DrawIndexedPrimitive(pDevice, Type, BaseVertexIndex, MinVertexIndex, NumVertices, startIndex, primCount);
         pDevice-&gt;SetRenderState(D3DRS_ZENABLE,true);
         pDevice-&gt;SetRenderState(D3DRS_LIGHTING,true);
         pDevice-&gt;SetRenderState(D3DRS_SHADEMODE,D3DSHADE_FLAT);
         pDevice-&gt;SetRenderState(D3DRS_AMBIENT,GREEN);
       }
        if ((GetAsyncKeyState(VK_DELETE)&amp;1) == 1) //Delete Key to activate charms
      	  charms = !charms;// COlour Charms
      
        return DrawIndexedPrimitive_Pointer(pDevice, Type, MinIndex, NumVertices, StartIndex, PrimitiveCount);
      }

      I keep on get this error
      Code:
      1&gt;------ Build started: Project: wallhack, Configuration: Release Win32 ------
      1&gt;Build started 30/07/2012 10:24:40 PM.
      1&gt;InitializeBuildStatus:
      1&gt; Touching "Release\wallhack.unsuccessfulbuild".
      1&gt;ClCompile:
      1&gt; All outputs are up-to-date.
      1&gt; wallhack.cpp
      1&gt;wallhack.cpp(158): error C2065: 'BaseVertexIndex' : undeclared identifier
      1&gt;wallhack.cpp(158): error C2065: 'MinVertexIndex' : undeclared identifier
      1&gt;wallhack.cpp(158): error C2065: 'startIndex' : undeclared identifier
      1&gt;wallhack.cpp(158): error C2065: 'primCount' : undeclared identifier
      1&gt;
      1&gt;Build FAILED.
      1&gt;
      1&gt;Time Elapsed 00:00:00.33
      ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
      HELP!!

    2. #2
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      BlackPitchPL's Avatar
      Join Date
      May 2012
      Location
      POLAND
      Posts
      171
      Thanks (-->)
      1
      Thanks (<--)
      14

      Re: Little help in this code

      undeclared identifier-&gt; It's mean that YOU UNDECLARED IDENTIFIER . You have to declare it

    3. #3
      Newbie
      Learning to hack games!
       
      Feeling Normal
       
      justintcs's Avatar
      Join Date
      Jul 2012
      Posts
      30
      Thanks (-->)
      1
      Thanks (<--)
      0

      Re: Little help in this code

      [quote author=BlackPitchPL link=topic=428.msg2594#msg2594 date=1343661707]
      undeclared identifier-&gt; It's mean that YOU UNDECLARED IDENTIFIER . You have to declare it
      [/quote]
      Ya, I know but how??

    4. #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

      Re: Little help in this code

      I know it isn't really a solution to the problem but I recommend you to first learn c++ before you start off copy pasting source codes and expecting them to work
      Little help in this code

    5. #5
      Coder
      Learning to hack games!
       
      Feeling Normal
       
      BlackPitchPL's Avatar
      Join Date
      May 2012
      Location
      POLAND
      Posts
      171
      Thanks (-->)
      1
      Thanks (<--)
      14

      Re: Little help in this code

      Cheats'n'Trainers
      #define STRIDE 0
      #define NUMVERTS 1
      #define PRIMCOUNT 2
      #define STARTINDEX 3
      #define LOGVALUES 4

    Similar Game Hacker Threads

    1. [Help] C++ ESP AIMBOT SOURCE CODE GDI Drawing Source Code Help Please
      By PimpinRice in forum GH Tutorials Help
      Replies: 10
      Last Post: 10-25-2014, 04:14 PM