Results 1 to 14 of 14
  1. #1
    coogle007's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    267
    Reputation
    18
    Thanks
    297
    My Mood
    Aggressive

    Border & BackGround Gellin's Base

    Hi to all can tou explain me how do a background and a border in gellin's base?
    I use the code of acid but i hae some errors on compile
    Globals
    LPD3DXFONT pFont;
    LPDIRECT3DDEVICE9 pDevice;
    void FillRGB( int x, int y, int w, int h, D3DCOLOR color, IDirect3DDevice9* pDevice )
    {
    if( w < 0 )w = 1;
    if( h < 0 )h = 1;
    if( x < 0 )x = 1;
    if( y < 0 )y = 1;

    D3DRECT rec = { x, y, x + w, y + h };
    pDevice->Clear( 1, &rec, D3DCLEAR_TARGET, color, 0, 0 );
    }

    void DrawBorder( int x, int y, int w, int h, int px, D3DCOLOR BorderColor, IDirect3DDevice9* pDevice )
    {
    FillRGB( x, (y + h - px), w, px, BorderColor, pDevice );
    FillRGB( x, y, px, h, BorderColor, pDevice );
    FillRGB( x, y, w, px, BorderColor, pDevice );
    FillRGB( (x + w - px), y, px, h, BorderColor, pDevice );
    }

    void DrawBox( int x, int y, int w, int h, D3DCOLOR BoxColor, D3DCOLOR BorderColor, IDirect3DDevice9* pDevice )
    {
    FillRGB( x, y, w, h, BoxColor, pDevice );
    DrawBorder( x, y, w, h, 1, BorderColor, pDevice );
    }

    DrawBox (X,Y,W,H,Back Color,Border Color,pDevice);

    1>.\Base.cpp(70) : error C2065: 'X' : undeclared identifier
    1>.\Base.cpp(70) : error C2065: 'Y' : undeclared identifier
    1>.\Base.cpp(70) : error C2065: 'W' : undeclared identifier
    1>.\Base.cpp(70) : error C2065: 'H' : undeclared identifier
    1>.\Base.cpp(70) : error C2065: 'Back' : undeclared identifier
    1>.\Base.cpp(70) : error C2146: syntax error : missing ')' before identifier 'Color'
    1>.\Base.cpp(70) : error C2059: syntax error : ')'

  2. #2
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    dude this is simple all you do is DECLARE H,Y,W, and X then add a curly brace at the end. But that's prolly not all of it. Just a 2 second check!

  3. #3
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Lol it's a direct copy + paste.

  4. #4
    NOOBJr's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in NOOB
    Posts
    1,423
    Reputation
    112
    Thanks
    693
    Really from who crash?

  5. #5
    CodeDemon's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    vagina
    Posts
    1,070
    Reputation
    50
    Thanks
    940
    My Mood
    Fine
    Its a C+P from ac1d's list of functions. He didnt even set the variables when calling the function >.>

  6. #6
    coogle007's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Posts
    267
    Reputation
    18
    Thanks
    297
    My Mood
    Aggressive
    I fix it close

  7. #7
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by Zane Slayman View Post
    add a curly brace at the end
    A curly Brace? /
    Dont ban me

  8. #8
    ac1d_buRn's Avatar
    Join Date
    Aug 2009
    Gender
    female
    Location
    CA Source Section
    Posts
    3,404
    Reputation
    157
    Thanks
    4,003
    My Mood
    Flirty
    Quote Originally Posted by markoj View Post
    A curly Brace? /
    [php]
    }// I R A CURLY BRACE. DELETE ME AND YOU DIEEEEE
    [/php]

    /

  9. #9
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by ac1d_buRn View Post


    [php]
    }// I R A CURLY BRACE. DELETE ME AND YOU DIEEEEE
    [/php]

    /
    I know lol but isn't it called a called a bracket, not a curly brace >.>
    Dont ban me

  10. #10
    Yepikiyay's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    320
    Reputation
    10
    Thanks
    37
    My Mood
    Drunk
    Quote Originally Posted by markoj View Post
    I know lol but isn't it called a called a bracket, not a curly brace >.>
    what acid says goes hes ma pimp

    I Hate You
    Current Status: Online Playing MineCraft

  11. #11
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    Quote Originally Posted by markoj View Post
    I know lol but isn't it called a called a bracket, not a curly brace >.>
    [php]
    ")" // <--- This is a bracket
    "}" // <--- This is a curly brace
    [/php]

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  12. The Following User Says Thank You to Jason For This Useful Post:

    tempta43 (08-27-2010)

  13. #12
    cosconub's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    in the programming section MPGH Cash: $90,000,000,000
    Posts
    372
    Reputation
    -4
    Thanks
    39
    My Mood
    Psychedelic
    change what i highlight in red to what u want and what

    DrawBox(X, Y, W, H, D3DCOLOR_XRGB(0, 0, 0),D3DCOLOR_ARGB(255, 255, 0, 0),pDevice);

    that if you do it porperly will give you a black bg with a red border i think.

    i use a picture gui. so yea.

  14. #13
    markoj's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    s
    Posts
    1,064
    Reputation
    60
    Thanks
    407
    My Mood
    Bored
    Quote Originally Posted by J-Deezy View Post


    [php]
    ")" // <--- This is a bracket
    "}" // <--- This is a curly brace
    [/php]
    Bracket - Wikipedia, the free encyclopedia
    Dont ban me

  15. #14
    freedompeace's Avatar
    Join Date
    Jul 2010
    Gender
    female
    Posts
    3,033
    Reputation
    340
    Thanks
    2,792
    My Mood
    Sad
    DrawBox (0,0,1000,1000,D3DCOLOR_ARGB(255,255,255,255),D3DC OLOR_ARGB(255,255,0),&pDevice);
    ]
    ^typed on my mobile, excuse spellling mistakes.

Similar Threads

  1. [TUT] How to fix the D3D errors in C++ - Gellin's Base
    By CAFlames in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 24
    Last Post: 09-15-2010, 09:04 PM
  2. Gellin's Base Errors
    By whatup777 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 24
    Last Post: 07-07-2010, 01:43 AM
  3. Gellin's Base
    By Krypton1x in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 22
    Last Post: 06-19-2010, 02:15 AM
  4. Gellin's Base Isn't Working
    By -DeathStalker- in forum Combat Arms Help
    Replies: 1
    Last Post: 01-24-2010, 07:18 PM
  5. How to make Fog RGB Changer on Gellin's Base !
    By Crash in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 4
    Last Post: 01-20-2010, 06:58 PM