Results 1 to 15 of 15
  1. #1
    MoHaX27's Avatar
    Join Date
    Mar 2017
    Gender
    male
    Posts
    1
    Reputation
    10
    Thanks
    0

    Question Problem with CGlobalVarsBase

    I have a problem with CGlobalVarsBase. The class returns a bad value. How do I fix this?

    i.imgur . com/KeiqUld.png

    I tried to get the class in this way

    Code:
    Globals = **(CGlobalVarsBase***)((*(DWORD**)Client)[0] + 0xA3);
    And so here it is

    Code:
    PDWORD pdwClient = (PDWORD)*(PDWORD)Client;
     
    DWORD dwInitAddr = (DWORD)(pdwClient[0]);
     
    for (DWORD dwIter = 0; dwIter <= 0xFF; dwIter++)
    {
    	if (*(PBYTE)(dwInitAddr + dwIter) == 0xA3)
    	{
    		Globals = (CGlobalVarsBase*)*(PDWORD)*(PDWORD)(dwInitAddr + dwIter + 1);
    		break;
    	}
    }

  2. #2
    0x28's Avatar
    Join Date
    Oct 2015
    Gender
    male
    Posts
    53
    Reputation
    10
    Thanks
    193
    You have 2 options here
    Globals = **(CGlobalVarsBase***)(Utilities::Memory::FindPatt ern("client.dll", (PBYTE)"\xA1\x00\x00\x00\x00\x75\x0F\x8B\x8E\x00\x 00\x00\x00", "x????xxxx????") + 0x1);
    or
    Globals = PlayerInfo->GetGlobalVars();

  3. #3
    kittoniumbp's Avatar
    Join Date
    Dec 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    169
    My Mood
    Inspired
    Quote Originally Posted by 0x28 View Post
    You have 2 options here

    or
    oh look the big skid shares his code, which turns out to be paste

  4. #4
    Razon91's Avatar
    Join Date
    Nov 2014
    Gender
    male
    Location
    star69
    Posts
    62
    Reputation
    10
    Thanks
    120
    Quote Originally Posted by kittoniumbp View Post
    oh look the big skid shares his code, which turns out to be paste
    Oh, look a clueless Ukranian kid with broken English who doesn't know what he's talking about

  5. #5
    kittoniumbp's Avatar
    Join Date
    Dec 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    169
    My Mood
    Inspired
    Quote Originally Posted by Razon91 View Post
    Oh, look a clueless Ukranian kid with broken English who doesn't know what he's talking about
    tell that to my framework which is basically 14k lines

  6. #6
    bee_tee_gee's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    157
    Reputation
    10
    Thanks
    64
    Quote Originally Posted by kittoniumbp View Post
    tell that to my framework which is basically 14k lines
    Translation: tell that to my broken garbage with too many checkboxes to even know what tf is going on

  7. The Following User Says Thank You to bee_tee_gee For This Useful Post:

    Razon91 (04-09-2017)

  8. #7
    kittoniumbp's Avatar
    Join Date
    Dec 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    169
    My Mood
    Inspired
    Quote Originally Posted by bee_tee_gee View Post
    Translation: tell that to my broken garbage with too many checkboxes to even know what tf is going on
    broken? maybe 1.5 months ago, fail

  9. #8
    bee_tee_gee's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    157
    Reputation
    10
    Thanks
    64
    Quote Originally Posted by kittoniumbp View Post
    broken? maybe 1.5 months ago, fail
    hey, at least you're taking responsibility for your own actions instead of blaming others for your failures. you'll learn to do that more as you complete puberty

  10. #9
    kittoniumbp's Avatar
    Join Date
    Dec 2016
    Gender
    male
    Posts
    8
    Reputation
    10
    Thanks
    169
    My Mood
    Inspired
    Quote Originally Posted by bee_tee_gee View Post
    hey, at least you're taking responsibility for your own actions instead of blaming others for your failures. you'll learn to do that more as you complete puberty
    what this means pubrety xD

  11. #10
    bee_tee_gee's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    157
    Reputation
    10
    Thanks
    64
    Quote Originally Posted by kittoniumbp View Post
    what this means pubrety xD
    it's a point in your life where you finally get circumcised and you'll actually be happy for once in your life. oh wait, never mind what I said. your country has a circumcision rate of 32%

  12. #11
    Xhyphs's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    48
    Reputation
    10
    Thanks
    35
    My Mood
    Cheeky
    Quote Originally Posted by bee_tee_gee View Post
    it's a point in your life where you finally get circumcised and you'll actually be happy for once in your life. oh wait, never mind what I said. your country has a circumcision rate of 32%
    I'm sure you're happy your jewish parents decided to mutilate your khrum

  13. #12
    bee_tee_gee's Avatar
    Join Date
    Jun 2015
    Gender
    male
    Posts
    157
    Reputation
    10
    Thanks
    64
    Quote Originally Posted by Xhyphs View Post
    I'm sure you're happy your jewish parents decided to mutilate your khrum
    not jewish, and who are you

  14. #13
    CFive's Avatar
    Join Date
    Oct 2017
    Gender
    female
    Posts
    3
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by MoHaX27 View Post
    I have a problem with CGlobalVarsBase. The class returns a bad value. How do I fix this?

    i.imgur . com/KeiqUld.png

    I tried to get the class in this way

    Code:
    Globals = **(CGlobalVarsBase***)((*(DWORD**)Client)[0] + 0xA3);
    And so here it is

    Code:
    PDWORD pdwClient = (PDWORD)*(PDWORD)Client;
     
    DWORD dwInitAddr = (DWORD)(pdwClient[0]);
     
    for (DWORD dwIter = 0; dwIter <= 0xFF; dwIter++)
    {
    	if (*(PBYTE)(dwInitAddr + dwIter) == 0xA3)
    	{
    		Globals = (CGlobalVarsBase*)*(PDWORD)*(PDWORD)(dwInitAddr + dwIter + 1);
    		break;
    	}
    }

    ****** .com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/client/cdll_client_int.cpp#L870-#L872
    Code:
    Globals = **(CGlobalVarsBase***)((*(DWORD**)client)[0] + 0x53);

  15. #14
    aerialnoodle's Avatar
    Join Date
    Aug 2017
    Gender
    male
    Posts
    12
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by CFive View Post
    ****** .com/ValveSoftware/source-sdk-2013/blob/master/mp/src/game/client/cdll_client_int.cpp#L870-#L872
    Code:
    Globals = **(CGlobalVarsBase***)((*(DWORD**)client)[0] + 0x53);
    7 months???

  16. #15
    CFive's Avatar
    Join Date
    Oct 2017
    Gender
    female
    Posts
    3
    Reputation
    10
    Thanks
    1
    Quote Originally Posted by aerialnoodle View Post
    7 months???
    only took me like 30 seconds to reverse lol. I just saw this thread and thought I'd bump it with an answer seeing as there was another one.

Similar Threads

  1. problem with account gamefifa
    By gamefifa in forum WarRock - International Hacks
    Replies: 2
    Last Post: 05-09-2007, 08:36 AM
  2. Problem with Warrock
    By BurakG in forum WarRock - International Hacks
    Replies: 10
    Last Post: 04-30-2007, 04:13 PM
  3. Problem with trainers mades for CE, help me pls
    By juanitobalde in forum General Game Hacking
    Replies: 0
    Last Post: 04-24-2007, 04:31 AM
  4. Problem With The New Pb Hw Ban Spoofer!
    By naomelembro14 in forum WarRock - International Hacks
    Replies: 5
    Last Post: 03-16-2007, 07:29 AM
  5. Problem(with login)
    By 22061988 in forum WarRock - International Hacks
    Replies: 3
    Last Post: 11-01-2006, 12:07 AM