Jump to content
Welcome, Guest
Existing user? Sign In

Sign In



Sign Up
The MatriX
  • Welcome To Ghbsys
  • CS GO Streaming Version is released. Have fun streaming while cheating!
  • Have a Payment Issue? Send us a Support ticket.
  • Make a thread if you need support or join our discord for live support.
  • Have Suggestions? Make a thread and you'll earn Ghbsys Points for implemented suggestions.
  • Join our discord to stay well connected! Don't forget to integrate your discord to the site
  • Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum

    Welcome to [GHB] - GAmEhAcKbAsTaRdS Forum, like most online communities you must register to view or post in our community, but don't worry this is a simple free process that requires minimal information for you to signup. Be apart of [GHB] - GAmEhAcKbAsTaRdS Forum by signing in or creating an account.
    • Start new topics and reply to others
    • Subscribe to topics and forums to get email updates
    • Get your own profile page and make new friends
    • Send personal messages to other members.

    D3D Hilfe


    generaldenta
     Share

    Recommended Posts

    ich habe diese beiden fehler

     

    c:\dokumente und einstellungen\******\desktop\d3d-empty\d3d8dev.cpp(455) : error C2601: 'EndScene' : local function definitions are illegal
    c:\dokumente und einstellungen\*******\desktop\d3d-empty\d3d8dev.cpp(455) : fatal error C1903: unable to recover from previous error(s); stopping compilation

    Link to comment
    Share on other sites

    ich habe diese beiden fehler

     

    c:\dokumente und einstellungen\******\desktop\d3d-empty\d3d8dev.cpp(455) : error C2601: 'EndScene' : local function definitions are illegal
    c:\dokumente und einstellungen\*******\desktop\d3d-empty\d3d8dev.cpp(455) : fatal error C1903: unable to recover from previous error(s); stopping compilation

     

    puh ohne code-ausschnit wirds da schwer :S, irgendwo ne "{" oder "}" vergessen tipp ich mal, oder ein ";"

    Link to comment
    Share on other sites

    achso sry

    also er zeigt das an wo der fehler ist

     

    HRESULT APIENTRY hkIDirect3DDevice8::EndScene(void)
    
    {
    if (m_pFont_new)
    m_pFont_new->DrawText(15.0f, 100.0f, txtRed, "RENAME ME D3D");
    
    if (m_pFont_INFO)
    	{
    if (CH_Menu)
    	{
    //-----------------------
    //-------OK below here just copy ONE of the lines and change to the hack your adding!
    sprintf(unlimammostring, "%s", (CH_Unlimammo ?  "Unlim ammo ON" : "Unlim ammo OFF"));
    sprintf(boxsstring, "%s", (CH_Boxs ?  "Boxs ON" : "Boxs OFF"));
    sprintf(circlesstring, "%s", (CH_Circles ?  "Circles ON" : "Circles OFF"));
    
    
    ////--------------------------- this determines if the hack is highlighted -------------//
    ///--Same again Copy ONE of these and paste under the last one and change to your hack!
    		 if(highlight[1]==1)
    		  m_pFont_INFO->DrawText(15.0f, 120.0f, txtRed, unlimammostring);
    			  else
    		 m_pFont_INFO->DrawText(15.0f,120.0f, txtGreen, unlimammostring);
    
    			  if(highlight[2]==1)
    		  m_pFont_INFO->DrawText(15.0f, 130.0f, txtRed, boxsstring);
    			  else
    		 m_pFont_INFO->DrawText(15.0f,130.0f, txtGreen, boxsstring);
    		 if(highlight[3]==1)
    		 m_pFont_INFO->DrawText(15.0f, 140.0f, txtRed,  circlesstring);
    			  else
    		m_pFont_INFO->DrawText(15.0f,140.0f, txtGreen,  circlesstring);
    
    
    
    ////-------------------------------------------------------------------------------------------------//
    
    
    ////------------------------This is how to use our menu ----------------------------------//
    
    if(GetAsyncKeyState(VK_UP)&1)
      {
      //ADD +1 to were the 3 is so if its a new hack the 3 will be 4
      for(int i=0; i < 3; i++)	  
      {
    	  if (highlight[i] == 1)
    	  {
    		  int a = i-1;
    
    		  if(a < 1)
    		  break;
    
    		  else 
    		  {
    			  highlight[a]=1;
    		  highlight[i]=0;
    		  break;
    		  }
    	  }
      }
     }
    
     if(GetAsyncKeyState(VK_DOWN)&1)
     {
      for(int i=0; i < 3; i++)   //Same again with the 3 add +1 with every hack!
      {
    	  if (highlight[i] == 1)
    	  {
    		  int a = i+1;
    
    		  if(a > 2)	//Same with the 2 add +1 with every hack
    		  break;
    
    		  else 
    		  {
    			  highlight[a]=1;
    		  highlight[i]=0;
    		  break;
    		  }
    	  }
      }
     }
    
    ////------------------------ Activate hacks on/off here ------------------------------------//
    
    if (GetAsyncKeyState(VK_INSERT)&1)
     CH_Menu = !CH_Menu;
    //--------------------------------------------------
    //---Copy ONE of these and paste under the last!
    //When adding a hack were the numbers are in the [*] Change it each time going in 1,2,3,4 and so on
    
    if(highlight[1] == 1 && (GetAsyncKeyState(VK_RIGHT)&1)) 
      CH_Unlimammo = !CH_Unlimammo;
    
    if(highlight[2] == 1 && (GetAsyncKeyState(VK_RIGHT)&1)) 
      CH_Boxs = !CH_Boxs;
    
    if(highlight[3] == 1 && (GetAsyncKeyState(VK_RIGHT)&1))
     CH_Circles = !CH_Circles;
    
    
    //---------Paste above me!
    //Once done hit Build then Rebuild to test for erros!
    //Then build again and then Batch then rebuld all!
    //Any errors then goto www.wr.ruworth.com
    //Try to work them out b4 you do! 
    ;}
    {
    
    
    
    return m_pD3Ddev->EndScene();
    }

     

    bei dem

    {
    if (m_pFont_new)
    m_pFont_new->DrawText(15.0f, 100.0f, txtRed, "RENAME ME D3D");

     

    zeigt er das an

    Link to comment
    Share on other sites

    hab jetzt nicht die einzelnen klammern gegugt ^^ aber irgendwo da müsste der fehler sein glaub ich

     

    ..

     

    ;}

    {

     

     

     

    return m_pD3Ddev->EndScene();

    }

    Link to comment
    Share on other sites

    ne ist nicht

     

    hab schon versucht das ;} so zumachen };

     

    ging nicht immer noch die gleichen fehler

     

    das wäre noch "falscher" als jetzt ^^ semilkon nach } gibts soweit ich weis nur nach Klassen

     

    EndScene()

    {

     

    if(menu)

    {

    //code

    }

     

    return EndScene();

    }

     

    so sollte es aussehen und nicht

    ...

    ;}

    {

     

    return EndScene();

    }

    Link to comment
    Share on other sites

    er zeigt eine genaue fehlerZEILE an!!! also gib diese bekannt und nummereriere die +- 5 zeilen in deinem code... würde mann sich leichter tun!

    Link to comment
    Share on other sites

    also ich hab ein bischen umgeändert jetzt habe ich nur noch 1 fehler

     

    d3d8dev.cpp
    c:\dokumente und einstellungen\*******\desktop\d3d-empty\d3d8dev.cpp(565) : error C2447: missing function header (old-style formal list?)

     

    neo hat ja gesagt ich soll die +- 5 zeilen nehmen :

     

    if(highlight[1] == 1 && (GetAsyncKeyState(VK_RIGHT)&1)) 
      CH_Unlimammo = !CH_Unlimammo;
    
    if(highlight[2] == 1 && (GetAsyncKeyState(VK_RIGHT)&1)) 
      CH_Boxs = !CH_Boxs;
    
    if(highlight[3] == 1 && (GetAsyncKeyState(VK_RIGHT)&1))
     CH_Circles = !CH_Circles;
    
    
    ;}
    
    {
    return m_pD3Ddev->EndScene();
    }
    
    HRESULT APIENTRY hkIDirect3DDevice8::Clear(DWORD Count,CONST D3DRECT* pRects,DWORD Flags,D3DCOLOR Color,float Z,DWORD Stencil)
    {
    return m_pD3Ddev->Clear(Count, pRects, Flags, Color, Z, Stencil);
    }
    
    HRESULT APIENTRY hkIDirect3DDevice8::SetTransform(D3DTRANSFORMSTATETYPE State,CONST D3DMATRIX* pMatrix)
    {
    return m_pD3Ddev->SetTransform(State, pMatrix);
    }

     

    hier zeigt er den fehler an :

     

    {
    return m_pD3Ddev->EndScene();
    }

     

    bei dem ersten "{"

    Edited by generaldenta
    Link to comment
    Share on other sites

    also ich hab ein bischen umgeändert jetzt habe ich nur noch 1 fehler

     

    d3d8dev.cpp
    c:\dokumente und einstellungen\*******\desktop\d3d-empty\d3d8dev.cpp(565) : error C2447: missing function header (old-style formal list?)

     

    neo hat ja gesagt ich soll die +- 5 zeilen nehmen :

     

    if(highlight[1] == 1 && (GetAsyncKeyState(VK_RIGHT)&1)) 
      CH_Unlimammo = !CH_Unlimammo;
    
    if(highlight[2] == 1 && (GetAsyncKeyState(VK_RIGHT)&1)) 
      CH_Boxs = !CH_Boxs;
    
    if(highlight[3] == 1 && (GetAsyncKeyState(VK_RIGHT)&1))
     CH_Circles = !CH_Circles;
    
    
    ;}
    
    {
    return m_pD3Ddev->EndScene();
    }
    
    HRESULT APIENTRY hkIDirect3DDevice8::Clear(DWORD Count,CONST D3DRECT* pRects,DWORD Flags,D3DCOLOR Color,float Z,DWORD Stencil)
    {
    return m_pD3Ddev->Clear(Count, pRects, Flags, Color, Z, Stencil);
    }
    
    HRESULT APIENTRY hkIDirect3DDevice8::SetTransform(D3DTRANSFORMSTATETYPE State,CONST D3DMATRIX* pMatrix)
    {
    return m_pD3Ddev->SetTransform(State, pMatrix);
    }

     

    hier zeigt er den fehler an :

     

    {
    return m_pD3Ddev->EndScene();
    }

     

    bei dem ersten "{"

     

    wie schon im ersten oder zweiten post von mir

     

    ;}

     

    {

    return m_pD3Ddev->EndScene();

    }

     

     

    ist totaler shit insbesondere

     

    {
    return m_pD3Ddev->EndScene();
    }

    Link to comment
    Share on other sites

    Guest
    This topic is now closed to further replies.
     Share

    • Recently Browsing   0 members

      • No registered users viewing this page.
    ×
    ×
    • Create New...