WC3 Account Name Changer (C++)

This is a discussion on WC3 Account Name Changer (C++) within the Development forum part of the Software/Hardware and Mobile Phones category; This finds your warcraft 3 saved account name in WC3 memory (from the bnet login screen), tells you your account's ...


+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: WC3 Account Name Changer (C++)

  1. #1
    TyranO's Avatar
    TyranO is offline ▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐

    TyranO has much to be proud of TyranO has much to be proud of TyranO has much to be proud of TyranO has much to be proud of TyranO has much to be proud of TyranO has much to be proud of TyranO has much to be proud of TyranO has much to be proud of TyranO has much to be proud of
    Join Date
    Aug 2008
    Posts
    360
    Rep Power
    9
    Reputation
    1285

    Arrow WC3 Account Name Changer (C++)

    This finds your warcraft 3 saved account name in WC3 memory (from the bnet login screen), tells you your account's name and allows you to modify it.

    The only use it had was to change the account name while making my ultimate tool, for the auto-join to bnet bot part.

    Compiler: DevC++

    #include <windows.h>
    #include <iostream>
    #include <Tlhelp32.h>

    using namespace std;

    void EnableDebugPriv()
    {
    HANDLE hToken;
    LUID sedebugnameValue;
    TOKEN_PRIVILEGES tkp;
    OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES |TOKEN_QUERY, &hToken);
    LookupPrivilegeValue( NULL, SE_DEBUG_NAME, &sedebugnameValue);
    tkp.PrivilegeCount = 1;tkp.Privileges[0].Luid = sedebugnameValue;
    tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
    AdjustTokenPrivileges(hToken, false, &tkp, sizeof(tkp), NULL, NULL);
    CloseHandle(hToken);
    }

    int main(int argc, char *argv[])
    {
    SetConsoleTitle("account.exe");
    EnableDebugPriv();
    TCHAR War3Name[32] = TEXT("Warcraft III");
    HWND hWar3 = FindWindow(War3Name, NULL);

    if(!hWar3)
    {
    cout << "Warcraft 3 was not found." << endl;
    system( "pause" );
    return 1;
    }

    DWORD pid;
    GetWindowThreadProcessId( hWar3, &pid );
    HANDLE hOpen = OpenProcess( PROCESS_ALL_ACCESS, false, pid );
    if( !hOpen )
    {
    cout << "Can't open Warcraft III." << endl;system( "pause" );
    return 1;
    }

    // Static address of saved account names in DWORD.
    DWORD Address = 15413504;
    DWORD Buffer = 0;
    DWORD WINAPI GetLastError(void);
    SIZE_T BytesRead = 0;

    for(;;)

    {

    char Name[16];
    Name[15] = 0;

    for( unsigned int i = 0; i < 15; i++ )
    {
    ReadProcessMemory( hOpen, (LPVOID)( Address + i ), &Buffer, 1, &BytesRead );
    Name[i] = Buffer;
    }

    cout << "Your current account name is: " << Name << endl << endl << "Please type in a new account name and press enter." << endl << endl;

    SIZE_T BytesWritten = 0;
    char NewName[16];
    memset(NewName, 0, 16 );
    cin.getline (NewName,16);

    for( unsigned int j = 0; j < 15; j++ )
    {
    WriteProcessMemory( hOpen, (LPVOID)(Address + j), (LPCVOID)(NewName+ j), 1, &BytesWritten );
    }

    cout << "\n";
    cout << "Your new account name is: " << NewName << endl << endl;

    }
    }
    Last edited by TyranO; 11-06-2008 at 03:28 AM.
    ▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐▐

  2. #2
    xiN is offline Guess who's back ?
    xiN is just really nice xiN is just really nice xiN is just really nice xiN is just really nice
    Join Date
    Feb 2007
    Location
    Six feet under
    Posts
    1,602
    Rep Power
    5
    Reputation
    357
    So you mean that you can change your nickname?
    That's weird.
    Will everybody see this? or only the user of your program?

  3. #3
    risker is offline Banned User risker is a splendid one to behold risker is a splendid one to behold risker is a splendid one to behold risker is a splendid one to behold risker is a splendid one to behold risker is a splendid one to behold
    Join Date
    Oct 2008
    Location
    Australia
    Posts
    2,758
    Rep Power
    0
    Reputation
    672
    Does it just spoof it or what?
    If this actually changes the name its epic o.o

  4. #4
    Stroh's Avatar
    Stroh is offline Narf Narf



    Stroh has a brilliant future Stroh has a brilliant future Stroh has a brilliant future Stroh has a brilliant future Stroh has a brilliant future Stroh has a brilliant future Stroh has a brilliant future Stroh has a brilliant future Stroh has a brilliant future Stroh has a brilliant future Stroh has a brilliant future
    Join Date
    Feb 2007
    Location
    Filderstadt, Germany
    Posts
    2,316
    Rep Power
    13
    Reputation
    1772
    ^Just spoofes

    Signature made by eZ]aCx

  5. #5
    xiN is offline Guess who's back ?
    xiN is just really nice xiN is just really nice xiN is just really nice xiN is just really nice
    Join Date
    Feb 2007
    Location
    Six feet under
    Posts
    1,602
    Rep Power
    5
    Reputation
    357
    Better rename it to WC3 Name Spoofer.

  6. #6
    UrS is offline Addict
    UrS is on a distinguished road
    Join Date
    Feb 2007
    Location
    Russia
    Posts
    60
    Rep Power
    4
    Reputation
    15
    X-FreeLoOsE-x ,
    It's not name spoofer, it changes name in the bnet login screen, where you have to put Account\Password. Read first post more carefully.

  7. #7
    oMBra is offline Wannabe Member
    oMBra is an unknown quantity at this point
    Join Date
    Nov 2008
    Posts
    17
    Rep Power
    2
    Reputation
    9
    What's the point of this then?

  8. #8
    UrS is offline Addict
    UrS is on a distinguished road
    Join Date
    Feb 2007
    Location
    Russia
    Posts
    60
    Rep Power
    4
    Reputation
    15
    oMBra
    The only use it had was to change the account name while making my ultimate tool, for the auto-join to bnet bot part.

  9. #9
    xiN is offline Guess who's back ?
    xiN is just really nice xiN is just really nice xiN is just really nice xiN is just really nice
    Join Date
    Feb 2007
    Location
    Six feet under
    Posts
    1,602
    Rep Power
    5
    Reputation
    357
    Quote Originally Posted by UrS View Post
    X-FreeLoOsE-x ,
    It's not name spoofer, it changes name in the bnet login screen, where you have to put Account\Password. Read first post more carefully.
    Damnit, so it is another "Battle.Net joiner".

  10. #10
    risker is offline Banned User risker is a splendid one to behold risker is a splendid one to behold risker is a splendid one to behold risker is a splendid one to behold risker is a splendid one to behold risker is a splendid one to behold
    Join Date
    Oct 2008
    Location
    Australia
    Posts
    2,758
    Rep Power
    0
    Reputation
    672
    Oh.. All that excitement for nothing lol

+ Reply to Thread
Page 1 of 2 1 2 LastLast

Similar Threads

  1. Rate my WC3 Account?
    By Velocity in forum Warcraft 3 forum
    Replies: 11
    Last Post: 09-07-2007, 09:03 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Epictoon CD-Key Online Dboyz Interactive Skillhackers