Results 1 to 7 of 7
  1. #1
    Broseff's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    1

    I don't know the fuq this is.

    So I'm just starting to make hacks for Combat Arms.

    -I don't know if this is the right section but I need help-

    Everything was fine yesterday until I tried adding a new 'char*' class specially designed for my crosshair.

    Today when Compile it, I get this weird ass fucking error.

    Code:
    1>------ Build started: Project: First Hack, Configuration: Release Win32 ------
    1>  Hacks.cpp
    
    1>c:\users\XXX\documents\visual studio 2010\projects\first hack\first hack\Menu.h(127): error C2039: 'DrawCircle' : is not a member of 'cMenu'
    
    1>          c:\users\XXX\documents\visual studio 2010\projects\first hack\first hack\Files.h(76) : see declaration of 'cMenu'
    
    1>c:\users\XXX\documents\visual studio 2010\projects\first hack\first hack\Menu.h(152): error C2039: 'DrawCircle' : is not a member of 'cMenu'
    
    1>          c:\users\XXX\documents\visual studio 2010\projects\first hack\first hack\Files.h(76) : see declaration of 'cMenu'
    
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    It's kinda fucking annoying because I know for a fact DrawCircle is a part of cMenu, see below:

    Code:
    void cMenu::DrawCircle(int x, int y, int radius, int numSides, DWORD Color)
    {
    	#define PI 3.14159265
        D3DXVECTOR2 Line[128];
        float Step = PI * 2.0 / numSides;
        int Count = false;
        for(float a = 0; a < PI * 2.0; a += Step)
        {
            float x1 = radius * cos(a)+ x;
            float y1 = radius * sin(a)+ y;
            float x2 = radius * cos(a + Step) + x;
            float y2 = radius * sin(a + Step) + y;
            Line[Count].x = x1;
            Line[Count].y = y1;
            Line[Count + 1].x = x2;
            Line[Count + 1].y = y2;
            Count += 2;
    	}
        Directx.pLine->Begin();
    	Directx.pLine->Draw(Line, Count, Color);
        Directx.pLine->End();
    }
    
    void cMenu::CrossHair(int x, int y, LPDIRECT3DDEVICE9 pDevice)
    {
    	mMenu.DrawCircle(x, y, 8, 8, Blue);//Circle
    	mMenu.FillRGB(x-17, y, 10, 1,Red,pDevice);//Left line
    	mMenu.FillRGB(x+9, y, 10, 1,Red,pDevice); // Right line
    	mMenu.FillRGB(x, y - 17, 1, 10,Red,pDevice);//Top line
    	mMenu.FillRGB(x, y + 9, 1, 10,Red,pDevice);//Bottom line
    }
    help?
    Last edited by Broseff; 07-27-2012 at 02:00 PM.

  2. #2
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    Quote Originally Posted by Broseff View Post
    So I'm just starting to make hacks for Combat Arms.

    -I don't know if this is the right section but I need help-

    Everything was fine yesterday until I tried adding a new 'char*' class specially designed for my crosshair.

    Today when Compile it, I get this weird ass fucking error.

    Code:
    1>------ Build started: Project: First Hack, Configuration: Release Win32 ------
    1>  Hacks.cpp
    
    1>c:\users\XXX\documents\visual studio 2010\projects\first hack\first hack\Menu.h(127): error C2039: 'DrawCircle' : is not a member of 'cMenu'
    
    1>          c:\users\XXX\documents\visual studio 2010\projects\first hack\first hack\Files.h(76) : see declaration of 'cMenu'
    
    1>c:\users\XXX\documents\visual studio 2010\projects\first hack\first hack\Menu.h(152): error C2039: 'DrawCircle' : is not a member of 'cMenu'
    
    1>          c:\users\XXX\documents\visual studio 2010\projects\first hack\first hack\Files.h(76) : see declaration of 'cMenu'
    
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    It's kinda fucking annoying because I know for a fact DrawCircle is a part of cMenu, see below:

    Code:
    void cMenu::DrawCircle(int x, int y, int radius, int numSides, DWORD Color)
    {
    	#define PI 3.14159265
        D3DXVECTOR2 Line[128];
        float Step = PI * 2.0 / numSides;
        int Count = false;
        for(float a = 0; a < PI * 2.0; a += Step)
        {
            float x1 = radius * cos(a)+ x;
            float y1 = radius * sin(a)+ y;
            float x2 = radius * cos(a + Step) + x;
            float y2 = radius * sin(a + Step) + y;
            Line[Count].x = x1;
            Line[Count].y = y1;
            Line[Count + 1].x = x2;
            Line[Count + 1].y = y2;
            Count += 2;
    	}
        Directx.pLine->Begin();
    	Directx.pLine->Draw(Line, Count, Color);
        Directx.pLine->End();
    }
    
    void cMenu::CrossHair(int x, int y, LPDIRECT3DDEVICE9 pDevice)
    {
    	mMenu.DrawCircle(x, y, 8, 8, Blue);//Circle
    	mMenu.FillRGB(x-17, y, 10, 1,Red,pDevice);//Left line
    	mMenu.FillRGB(x+9, y, 10, 1,Red,pDevice); // Right line
    	mMenu.FillRGB(x, y - 17, 1, 10,Red,pDevice);//Top line
    	mMenu.FillRGB(x, y + 9, 1, 10,Red,pDevice);//Bottom line
    }
    help?
    Tire.

    Code:
    void DrawCircle(int x, int y, int radius, int numSides, DWORD Color)
    {
    	#define PI 3.14159265
        D3DXVECTOR2 Line[128];
        float Step = PI * 2.0 / numSides;
        int Count = false;
        for(float a = 0; a < PI * 2.0; a += Step)
        {
            float x1 = radius * cos(a)+ x;
            float y1 = radius * sin(a)+ y;
            float x2 = radius * cos(a + Step) + x;
            float y2 = radius * sin(a + Step) + y;
            Line[Count].x = x1;
            Line[Count].y = y1;
            Line[Count + 1].x = x2;
            Line[Count + 1].y = y2;
            Count += 2;
    	}
        Directx.pLine->Begin();
    	Directx.pLine->Draw(Line, Count, Color);
        Directx.pLine->End();
    }
    
    void CrossHair(int x, int y, LPDIRECT3DDEVICE9 pDevice)
    {
    	mMenu.DrawCircle(x, y, 8, 8, Blue);//Circle
    	mMenu.FillRGB(x-17, y, 10, 1,Red,pDevice);//Left line
    	mMenu.FillRGB(x+9, y, 10, 1,Red,pDevice); // Right line
    	mMenu.FillRGB(x, y - 17, 1, 10,Red,pDevice);//Top line
    	mMenu.FillRGB(x, y + 9, 1, 10,Red,pDevice);//Bottom line
    }

    Oh no! Vortex is gay!

  3. #3
    Broseff's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    1
    Same error. Thanks for trying though

  4. #4
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    831
    Reputation
    44
    Thanks
    401
    My Mood
    Twisted
    Add it to your header too <_<

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  5. The Following User Says Thank You to Ch40zz-C0d3r For This Useful Post:

    matypatty (07-27-2012)

  6. #5
    Broseff's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    1
    >_> Will someone TV me?

    I've only had one fucking lesson and I feel like everytime I type something it fucks it up more.

  7. #6
    Reflex-'s Avatar
    Join Date
    Mar 2011
    Gender
    male
    Location
    192.168.1.01
    Posts
    6,625
    Reputation
    584
    Thanks
    2,267
    My Mood
    Dead
    I'll TV you... Just PM me.

  8. The Following User Says Thank You to Reflex- For This Useful Post:

    Broseff (07-27-2012)

  9. #7
    Broseff's Avatar
    Join Date
    Feb 2012
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by Entourage View Post
    I'll TV you... Just PM me.
    I VMed you cuz I couldn't find PM button.

    ---------- Post added at 04:07 PM ---------- Previous post was at 03:47 PM ----------

    Fixed: Thanks to Entourage for all his help. Couldn't have done it without him!! Also VorteX heped me get started.

Similar Threads

  1. I don't know exactly if this is a glitch but..
    By Anderson Silva in forum CrossFire Glitches
    Replies: 8
    Last Post: 07-02-2010, 06:17 PM
  2. Don't know what the problem is :|
    By ciphas009 in forum Combat Arms Help
    Replies: 1
    Last Post: 12-02-2009, 11:25 PM
  3. I don't know where else to post this.... =.=
    By Joan in forum Combat Arms Hacks & Cheats
    Replies: 11
    Last Post: 08-17-2009, 05:22 PM
  4. Lol Nexon Don't know the days of the week
    By skip in forum Combat Arms Hacks & Cheats
    Replies: 21
    Last Post: 08-21-2008, 09:37 AM
  5. Werd-Up to the people I don't know anymore
    By Albatross in forum General
    Replies: 25
    Last Post: 03-16-2007, 12:48 AM