Page 6 of 13 FirstFirst ... 45678 ... LastLast
Results 76 to 90 of 189
  1. #76
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Quote Originally Posted by CoderNever View Post
    Lol Directx is not a language if you knew how to fully code C++. Using Directx functions would be extremely easy its just a matter of knowing your arguments, and what each argument means, and how to define them.
    yeh.. well... i no c++ just not the terms of d3d (all that shit...)



    @Seal... Your crosshair has no errors and it compiles but when i use it in game i d/c...

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  2. #77
    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 msflames3 View Post


    yeh.. well... i no c++ just not the terms of d3d (all that shit...)



    @Seal... Your crosshair has no errors and it compiles but when i use it in game i d/c...
    There is nothing wrong with my X-Hair.
    The SetViewPort gets the screen width and halfs it to find the perfect center!

    Also, Are you actually doing that code in SetViewPort. If you not, heres where you need it.

    Globals:
    [php]
    typedef HRESULT ( WINAPI* tSetViewport)( LPDIRECT3DDEVICE9 pDevice, CONST D3DVIEWPORT9* pViewport);
    tSetViewport oSetViewport;
    [/php]

    And the actuall SVP
    [php]
    HRESULT WINAPI nSetViewport(LPDIRECT3DDEVICE9 pDevice,CONST D3DVIEWPORT9* pViewport)
    {
    ScreenCenterX = ( float )pViewport->Width / 2;
    ScreenCenterY = ( float )pViewport->Height / 2;
    }
    [/php]

  3. The Following User Says Thank You to ac1d_buRn For This Useful Post:

    CAFlames (07-10-2010)

  4. #78
    CAFlames's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Where ever my imagination takes me
    Posts
    3,006
    Reputation
    202
    Thanks
    2,944
    My Mood
    Twisted
    Quote Originally Posted by ac1d_buRn View Post


    There is nothing wrong with my X-Hair.
    The SetViewPort gets the screen width and halfs it to find the perfect center!

    Also, Are you actually doing that code in SetViewPort. If you not, heres where you need it.

    Globals:
    [php]
    typedef HRESULT ( WINAPI* tSetViewport)( LPDIRECT3DDEVICE9 pDevice, CONST D3DVIEWPORT9* pViewport);
    tSetViewport oSetViewport;
    [/php]

    And the actuall SVP
    [php]
    HRESULT WINAPI nSetViewport(LPDIRECT3DDEVICE9 pDevice,CONST D3DVIEWPORT9* pViewport)
    {
    ScreenCenterX = ( float )pViewport->Width / 2;
    ScreenCenterY = ( float )pViewport->Height / 2;
    }
    [/php]
    kay well im trying his 1 more time then ill take ur advice and try urs again... ill update my progress

    Ty

    Current Works:
    ---Horror Game





    [IMG]https://i645.photobucke*****m/albums/uu180/drgnforce9/Siggys/signature3.jpg[/IMG]
    Special thanks to drgnforce9 for my sig picture

    Quote Originally Posted by m_t_h View Post

    CAflames is one epic coder.

    Rep and thanks him.. or you're perma banned.

  5. #79
    juggernault5's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    .....In my Computer......
    Posts
    59
    Reputation
    10
    Thanks
    2
    My Mood
    Hot
    Wow a lot of error when i entered it on visual c++

  6. #80
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by ac1d_buRn View Post


    There is nothing wrong with my X-Hair.
    The SetViewPort gets the screen width and halfs it to find the perfect center!

    Also, Are you actually doing that code in SetViewPort. If you not, heres where you need it.

    Globals:
    [php]
    typedef HRESULT ( WINAPI* tSetViewport)( LPDIRECT3DDEVICE9 pDevice, CONST D3DVIEWPORT9* pViewport);
    tSetViewport oSetViewport;
    [/php]

    And the actuall SVP
    [php]
    HRESULT WINAPI nSetViewport(LPDIRECT3DDEVICE9 pDevice,CONST D3DVIEWPORT9* pViewport)
    {
    ScreenCenterX = ( float )pViewport->Width / 2;
    ScreenCenterY = ( float )pViewport->Height / 2;
    }
    [/php]
    Why would you hook SetViewport ? Just use GetViewport...

  7. #81
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    653
    Reputation
    70
    Thanks
    1,157
    My Mood
    Bitchy
    You cant use ID3DXAnything anymore unless you use either the version of d3dx the game uses or a statically linked version from 2004.

  8. #82
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by mmbob View Post
    You cant use ID3DXAnything anymore unless you use either the version of d3dx the game uses or a statically linked version from 2004.
    I use ID3DXFont. What version of DX does the game use ?

  9. #83
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    653
    Reputation
    70
    Thanks
    1,157
    My Mood
    Bitchy
    I dont know for sure since I have like 4 d3dx9s in my CA folder, but its probably August 2007.

  10. #84
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by mmbob View Post
    I dont know for sure since I have like 4 d3dx9s in my CA folder, but its probably August 2007.
    People seem to have problems with my hack, some say it closes after a few games...

  11. #85
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    653
    Reputation
    70
    Thanks
    1,157
    My Mood
    Bitchy
    If your problem is with d3dx9, you'll D/C before the login screen. For the closing after a few games, the only thing you can really do with that is mess around with your creating of stuff until its stable.

  12. #86
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by mmbob View Post
    If your problem is with d3dx9, you'll D/C before the login screen. For the closing after a few games, the only thing you can really do with that is mess around with your creating of stuff until its stable.
    I would doubt it's the creating stuff because it was fine before the emergency maintenance but now people say it D/Cs. Did HS update or something ?

  13. #87
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    653
    Reputation
    70
    Thanks
    1,157
    My Mood
    Bitchy
    Quote Originally Posted by Sealionone View Post
    I would doubt it's the creating stuff because it was fine before the emergency maintenance but now people say it D/Cs. Did HS update or something ?
    Yes, HS updated a few hours before the maintenance. And maybe I should have said the releasing/freeing/deleting since that is what causes most crashes when going in/out of game, at least in my experience.

  14. #88
    Crash's Avatar
    Join Date
    Aug 2009
    Gender
    male
    Location
    JAville
    Posts
    2,881
    Reputation
    163
    Thanks
    3,291
    My Mood
    Sleepy
    Quote Originally Posted by mmbob View Post
    Yes, HS updated a few hours before the maintenance. And maybe I should have said the releasing/freeing/deleting since that is what causes most crashes when going in/out of game, at least in my experience.
    Yeah I do that, although not in reset. I just have it set a var in reset and then re-create in present.

  15. #89
    mmbob's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    ja
    Posts
    653
    Reputation
    70
    Thanks
    1,157
    My Mood
    Bitchy
    Quote Originally Posted by Sealionone View Post
    Yeah I do that, although not in reset. I just have it set a var in reset and then re-create in present.
    Hmm.. do you release your old font in present too? Thats what always seems to crash me.

  16. #90
    juggernault5's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    .....In my Computer......
    Posts
    59
    Reputation
    10
    Thanks
    2
    My Mood
    Hot
    You enter it on c++???

Page 6 of 13 FirstFirst ... 45678 ... LastLast

Similar Threads

  1. [Release] Class library with some useful functions.
    By t7ancients in forum C# Programming
    Replies: 8
    Last Post: 05-17-2011, 04:41 AM
  2. Useful Functions
    By Iamazn1 in forum Visual Basic Programming
    Replies: 6
    Last Post: 01-15-2011, 12:14 AM
  3. [Release] DrawCheckBox Function
    By DeadLinez in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 17
    Last Post: 09-10-2010, 04:49 AM
  4. [Discussion] Ideas for my next launcher release, look, functions & more
    By teun95 in forum CrossFire Hacks & Cheats
    Replies: 17
    Last Post: 03-02-2010, 04:38 PM
  5. [Release] USE OPK FOR COMBAT ARMS NO DOWNLOAD UNPATCHABLE AND UNDETECTABLE!!!
    By wetrichard in forum Combat Arms Hacks & Cheats
    Replies: 114
    Last Post: 05-24-2009, 09:40 AM