Page 1 of 2 12 LastLast
Results 1 to 15 of 24
  1. #1
    TokolocoSK's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Comendo Peru Pato Frango Búrguer.
    Posts
    2,874
    Reputation
    65
    Thanks
    6,787
    My Mood
    Yeehaw

    GameStatus CANA 25/09

    GameStatus


    Code:
    #define GameStatus      0x377C7474



  2. #2
    AznNicholas1314's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    445
    Reputation
    20
    Thanks
    670
    Quote Originally Posted by TokolocoSK View Post
    GameStatus


    Code:
    #define GameStatus      0x377C7474
    How come when i do:

    Code:
    if(*(int*)0x377C7474 == 1) //ingame
    it crashes?

  3. #3
    TokolocoSK's Avatar
    Join Date
    Feb 2011
    Gender
    male
    Location
    Comendo Peru Pato Frango Búrguer.
    Posts
    2,874
    Reputation
    65
    Thanks
    6,787
    My Mood
    Yeehaw
    #define GameStatus 0x377C7474

    if((*(BYTE *)GameStatus == 1) && recoil)



  4. The Following User Says Thank You to TokolocoSK For This Useful Post:

    AznNicholas1314 (09-25-2011)

  5. #4
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    494
    Reputation
    104
    Thanks
    625
    Quote Originally Posted by AznNicholas1314 View Post
    How come when i do:

    Code:
    if(*(int*)0x377C7474 == 1) //ingame
    it crashes?
    I guess it doesn't like being 4 bytes

  6. The Following User Says Thank You to Saltine For This Useful Post:

    AznNicholas1314 (09-25-2011)

  7. #5
    AznNicholas1314's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    445
    Reputation
    20
    Thanks
    670
    Wow, Pshhh I saw some source and they typecasted into a int wow... thanks I'ma try it now.

  8. #6
    Skaterforeva1's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    Up your ass
    Posts
    917
    Reputation
    32
    Thanks
    476
    My Mood
    Psychedelic
    Quote Originally Posted by AznNicholas1314 View Post
    Wow, Pshhh I saw some source and they typecasted into a int wow... thanks I'ma try it now.
    haha thats what happend to me lol

    ^Suck it!


  9. #7
    AznNicholas1314's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    445
    Reputation
    20
    Thanks
    670
    Omg still doesnt work.

    if(*(BYTE*)0x377C7474 == 1)
    //Hook DIP
    else
    Unhook DIP

    And BTW when I go to 0x377C7474 in olly how come it doesnt show any references? Is it not supposed to be used anywhere?
    Last edited by AznNicholas1314; 09-25-2011 at 08:07 PM.

  10. #8
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    You've got to make sure CShell is loaded before you use the address.
    Code:
    While(!GetModuleHandle("Cshell.dll"))
    Sleep(222);
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  11. #9
    AznNicholas1314's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    445
    Reputation
    20
    Thanks
    670
    Quote Originally Posted by flameswor10 View Post
    You've got to make sure CShell is loaded before you use the address.
    Code:
    While(!GetModuleHandle("Cshell.dll"))
    Sleep(222);
    Haha I just fixed it and was about to tell you guys but you posted before me :P.

    Thanks for help everyone got it perfect but the game closes randomly...

  12. #10
    mudaf_ker's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    system32
    Posts
    183
    Reputation
    10
    Thanks
    16
    My Mood
    Asleep
    i belive the sleep is 100, try that variable

  13. #11
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Quote Originally Posted by mudaf_ker View Post
    i belive the sleep is 100, try that variable
    You have no idea what you just said do you...
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  14. #12
    AznNicholas1314's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Posts
    445
    Reputation
    20
    Thanks
    670
    Hahaha doesn't really matter the sleep as long as its not too long

  15. #13
    mudaf_ker's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    system32
    Posts
    183
    Reputation
    10
    Thanks
    16
    My Mood
    Asleep
    Quote Originally Posted by flameswor10 View Post
    You have no idea what you just said do you...
    I have seen all bases use that one, it was a suggestion/question.

  16. #14
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    494
    Reputation
    104
    Thanks
    625
    Quote Originally Posted by mudaf_ker View Post
    i belive the sleep is 100, try that variable

  17. #15
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Quote Originally Posted by mudaf_ker View Post
    I have seen all bases use that one, it was a suggestion/question.
    You obviously never took the initiative to learn the basics of Programming.
    A "Sleep" is basically a delay.
    It allows you to delay your next instruction in your program by miliseconds.
    Sleep(100) = 1 second
    Sleep(222) = 2.22 seconds.

    So, in a while loop.
    A sleep will help reduce lag, and also allow you to offset the time of when the next instruction gets called.
    A sleep longer sleep is better in this case.
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

Page 1 of 2 12 LastLast

Similar Threads

  1. Sig Scan for GameStatus
    By ipwnuuaal5 in forum Combat Arms Hack Coding / Programming / Source Code
    Replies: 10
    Last Post: 09-03-2010, 03:05 PM
  2. Buying CaNa
    By ModernGee in forum Buying Accounts/Keys/Items
    Replies: 2
    Last Post: 09-01-2010, 09:54 PM
  3. SELLING 1LT CANA
    By notgeti in forum Selling Accounts/Keys/Items
    Replies: 13
    Last Post: 07-24-2010, 01:09 PM
  4. Selling CSM3 with Perma (CANA)
    By privatebomley in forum Selling Accounts/Keys/Items
    Replies: 0
    Last Post: 03-11-2010, 08:06 PM
  5. How can i play CaNa from Eu PRIZE:2.9k NX.
    By Nassy in forum Combat Arms Europe Hacks
    Replies: 8
    Last Post: 03-13-2009, 07:19 AM