[Help] PlayerAdress menu

User Tag List

Page 4 of 6 FirstFirst 123456 LastLast
Results 46 to 60 of 83
  1. #46
    unbekannt1's Avatar Member
    Reputation
    -6
    Join Date
    Apr 2009
    Posts
    54
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok i fixed the problem using :
    Code:
    hWnd = processes[0].MainWindowHandle;
    Thanks to all that helped

    [Help] PlayerAdress
  2. #47
    cxs's Avatar Member
    Reputation
    11
    Join Date
    Nov 2007
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    using your code i made this hope this help someone
    this helpme during the prosses xD
    Code:
    #include <iostream> 
    #include <Windows.h> 
    bool EnableDebugPrivilege();
    using namespace std; 
    HWND hwnd;
    DWORD ID;
    DWORD rw=0;
    HANDLE handle;
    unsigned int playerbase;
    unsigned int base;
    int main(void){
        unsigned int puffer;
        unsigned int buffer;
        unsigned adress = 0x010B65F4;
        hwnd = 0;
     
        EnableDebugPrivilege();
     hwnd = FindWindow(0,"World of Warcraft");
     GetWindowThreadProcessId(hwnd, &ID);                                                                                                                                                                   // Funktion
     handle = OpenProcess(PROCESS_ALL_ACCESS, 0, ID); 
        cout <<"hwnd: "  << hwnd << "\n";
        cout <<"ID: "  << ID << "\n";
        cout <<"handle: "  << handle << "\n";
     
     ReadProcessMemory(handle, (LPCVOID)adress, &puffer, sizeof(puffer), &rw);
     cout <<"Step 1:"  << puffer << "\n";
     
        puffer = puffer + 0x34;
     cout <<"Step 2:"  << puffer << "\n";
     ReadProcessMemory(handle, (LPCVOID)puffer, &puffer, sizeof(puffer), &rw);
     cout <<"Step 3:"  << puffer << "\n";
     
     puffer = puffer + 0x24;
     cout <<"Step 4:"  << puffer << "\n";
     ReadProcessMemory(handle, (LPCVOID)puffer, &playerbase, sizeof(puffer), &rw);
     cout <<"PlayerBase:"  << playerbase << "\n";
     
     base = playerbase + 0x8;
        cout <<"Life Step 1:"  << base << "\n";
     
     ReadProcessMemory(handle, (LPCVOID)base, &base, sizeof(buffer), &rw);
     cout <<"Life Step 2:"  << base << "\n";
     base = base + 0x17 * 4;
     cout <<"Life Step 3:"  << base << "\n";
     ReadProcessMemory(handle, (LPCVOID)base, &buffer, sizeof(buffer), &rw);
     cout <<"\n------------------\n\nHP: "  << buffer << "\n\n\n";
     
        system("Pause");
    }
    bool EnableDebugPrivilege()
    {
     TOKEN_PRIVILEGES priv;
     HANDLE hThis, hToken;
     LUID luid;
      hThis = GetCurrentProcess();
     OpenProcessToken(hThis, TOKEN_ADJUST_PRIVILEGES, &hToken);
     LookupPrivilegeValue(0, TEXT("seDebugPrivilege"), &luid);
     priv.PrivilegeCount = 1;
     priv.Privileges[0].Luid = luid;
     priv.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
     AdjustTokenPrivileges(hToken, false, &priv, 0, 0, 0);
      CloseHandle(hToken);
     CloseHandle(hThis);
     return true;
    }
    i know the code is awful but... xDD
    sorri mi english xD
    PD: this works every time i runned
    Last edited by cxs; 05-01-2009 at 01:03 AM. Reason: add PD

  3. #48
    kakamunsug's Avatar Member
    Reputation
    -2
    Join Date
    Dec 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by unbekannt1 View Post
    Ok i fixed the problem using :
    Code:
    hWnd = processes[0].MainWindowHandle;
    Thanks to all that helped
    Good to know you solved it with my solution.
    Always happy to help.

  4. #49
    halloman's Avatar Banned
    Reputation
    8
    Join Date
    Jul 2008
    Posts
    88
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone can help me?

    I can show my Hit Points with this code :

    Code:
    #include <iostream> 
    #include <Windows.h> 
    bool EnableDebugPrivilege();
    using namespace std; 
    HWND hwnd;
    DWORD ID;
    DWORD rw=0;
    HANDLE handle;
    unsigned int playerbase;
    unsigned int base;
    
    
    
    int mainzwei(void)
    {
        unsigned int puffer;
        unsigned int buffer;
        unsigned adress = 0x010B65F4;
        hwnd = 0;
        
        EnableDebugPrivilege();
        
        hwnd = FindWindow(0,"World of Warcraft");
        GetWindowThreadProcessId(hwnd, &ID);                                                                                                                                                                   // Funktion
        handle = OpenProcess(PROCESS_ALL_ACCESS, 0, ID);
         
        ReadProcessMemory(handle, (LPCVOID)adress, &puffer, sizeof(puffer), &rw);
        puffer = puffer + 0x34;
        
        ReadProcessMemory(handle, (LPCVOID)puffer, &puffer, sizeof(puffer), &rw);
        puffer = puffer + 0x24;
        
        ReadProcessMemory(handle, (LPCVOID)puffer, &playerbase, sizeof(puffer), &rw);
        base = playerbase + 0x8;
        
        ReadProcessMemory(handle, (LPCVOID)base, &base, sizeof(buffer), &rw);
        base = base + 0x17 * 4;
        
        ReadProcessMemory(handle, (LPCVOID)base, &buffer, sizeof(buffer), &rw);
        cout <<"\nHP: "  << buffer << "\n\n\n";
        
        system("Pause");
    }
    bool EnableDebugPrivilege()
    {
        TOKEN_PRIVILEGES priv;
        HANDLE hThis, hToken;
        LUID luid;
        hThis = GetCurrentProcess();
        OpenProcessToken(hThis, TOKEN_ADJUST_PRIVILEGES, &hToken);
        LookupPrivilegeValue(0, TEXT("seDebugPrivilege"), &luid);
        priv.PrivilegeCount = 1;
        priv.Privileges[0].Luid = luid;
        priv.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
        AdjustTokenPrivileges(hToken, false, &priv, 0, 0, 0);
        CloseHandle(hToken);
        CloseHandle(hThis);
        return true;
    }
    
    int main(void){
    mainzwei();
    }
    this is an extra test project and it works

    but now i want to display ma Hit Points on a Text Label :

    Code:
    this->zXcoord->Text = "here i want to have my hit points :D";
    anyone an idea?
    Last edited by halloman; 05-01-2009 at 05:40 AM.

  5. #50
    cxs's Avatar Member
    Reputation
    11
    Join Date
    Nov 2007
    Posts
    37
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    a little function that i made
    Code:
    unsigned int ReadWowMem(unsigned int adress,unsigned int arg1,unsigned int arg2)
    {
             int i;
             buffer=adress;
             offset[0]=arg1;
             offset[1]=arg2;
             for(i=0;i<=2;i++)
             {         
              ReadProcessMemory(handle, (LPCVOID)buffer, &buffer, sizeof(buffer), &rw);
              buffer+=offset[i];
             }
             return buffer;
    }
    usage:

    Code:
    playerbase=ReadWowMem(badress,0x34,0x24);
    cout <<"Hp: " << ReadWowMem(playerbase+0x8,0x17*4,0) << "\n";
    can anyone helpmeto avoid the
    offset[0]=arg1;
    offset[1]=arg2;
    is another method to do that?
    dont wanna opent a topic fo this

  6. #51
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cxs View Post
    a little function that i made
    Code:
    unsigned int ReadWowMem(unsigned int adress,unsigned int arg1,unsigned int arg2)
    {
             int i;
             buffer=adress;
             offset[0]=arg1;
             offset[1]=arg2;
             for(i=0;i<=2;i++)
             {         
              ReadProcessMemory(handle, (LPCVOID)buffer, &buffer, sizeof(buffer), &rw);
              buffer+=offset[i];
             }
             return buffer;
    }
    usage:

    Code:
    playerbase=ReadWowMem(badress,0x34,0x24);
    cout <<"Hp: " << ReadWowMem(playerbase+0x8,0x17*4,0) << "\n";
    can anyone helpmeto avoid the
    offset[0]=arg1;
    offset[1]=arg2;
    is another method to do that?
    dont wanna opent a topic fo this
    Use a proper method signature. (I.E; variable param size signature)

  7. #52
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just interested, how do you retrieve this offset?

    Code:
    0x010B65F4

  8. #53
    kakamunsug's Avatar Member
    Reputation
    -2
    Join Date
    Dec 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by halloman View Post
    but now i want to display ma Hit Points on a Text Label :

    Code:
    this->zXcoord->Text = "here i want to have my hit points :D";
    anyone an idea?

    Code:
    this->zXcoord->Text = "Health: " + healthVar;
    Fix'd.
    Conversion will be necessary but since I don't know the syntax for C++ I'll just tell you how to do it in C# which would be Convert.ToString(var) or var.ToString() but idk in C++.

    You have the solution though, so just cast it as a string.

  9. #54
    kakamunsug's Avatar Member
    Reputation
    -2
    Join Date
    Dec 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by flo8464 View Post
    Just interested, how do you retrieve this offset?

    Code:
    0x010B65F4
    In case you're using blackmagic, and your BM instance is called "wow" you could do it like this;
    Code:
    playerHP = wow.ReadUInt(wow.ReadUInt(0x010B65F4) + hpOffset);
    Then of course, you need to have the hp offsets which you can get in the descriptors list.

  10. #55
    SKU's Avatar Contributor
    Reputation
    306
    Join Date
    May 2007
    Posts
    565
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd really like to post a facepalm pic now.

    Apooooooooc!

    flo8464: reverse engineering
    Last edited by SKU; 05-02-2009 at 04:36 PM.

  11. #56
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by SKU View Post
    I'd really like to post a facepalm pic now.

    Apooooooooc!

    flo8464: reverse engineering
    You have permission. Just this once.

  12. #57
    SKU's Avatar Contributor
    Reputation
    306
    Join Date
    May 2007
    Posts
    565
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yay! To make it even better, let's combine it with a lolcat!




    (yeah I couldn't find a better one -.-)

  13. #58
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This kid is ****ing money. Keep posting, man; I need the laughs.

  14. #59
    kakamunsug's Avatar Member
    Reputation
    -2
    Join Date
    Dec 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Shynd View Post
    This kid is ****ing money. Keep posting, man; I need the laughs.
    /rant

    Too bad botting theories, game hacking and process hijacking isn't common knowledge, maybe they should start teaching it in tech school so that everyone knows about it.
    Really, I respect the work you do, but the attitude on this forum... I mean come on, instead of /facepalming and lol'ing at everyone that asks a question that is below your knowledge, doesn't mean that you knew that to begin with.

    I bet you also started out in a scenario 'oh' not so different to the guy above your post.
    It's really ****ing annoying, no one wants to ask questions (and you don't want them to learn) so essentially they could just shut the section because it's worthless without the Q&A.

    Sigh, and no, it's not directly towards you Shynd, you just happened to be the one that got the reply.

    Enjoy

    /endrant

  15. #60
    hamburger1's Avatar Member
    Reputation
    10
    Join Date
    Apr 2009
    Posts
    48
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok i got the offset by myself...

Page 4 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. Help WoW Fish-Bot
    By Eliteplague in forum World of Warcraft General
    Replies: 2
    Last Post: 12-10-2024, 05:46 PM
  2. HELP: Gold Scam Exploit
    By GoldDragon in forum World of Warcraft General
    Replies: 11
    Last Post: 01-23-2007, 07:26 PM
  3. Banner Ad Redesign help
    By Matt in forum Community Chat
    Replies: 57
    Last Post: 07-08-2006, 08:40 PM
  4. Hit points and talent points? Please help
    By hankusdankus in forum World of Warcraft General
    Replies: 6
    Last Post: 05-04-2006, 02:00 PM
  5. bot help
    By xwhitedeathx in forum World of Warcraft General
    Replies: 3
    Last Post: 05-01-2006, 03:50 AM
All times are GMT -5. The time now is 05:06 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search