 |  WC3 Account Name Changer (C++)This is a discussion on WC3 Account Name Changer (C++) within the Development forum part of the Software/Hardware category; This finds your warcraft 3 saved account name in WC3 memory (from the bnet login screen), tells you your account's ...  Welcome on D3scene.com! Make sure to register - it's free and very quick! You have to register before you can post and participate in our discussions with 70000 other registered members. Downloads, user profiles and some forums can only be seen by registered members. After you create your free account you will be able to customize many options, you will have the full access to new hacks, latest cheats and last but not least will see no advertisements at all. We would love to see you around in our community! 
11-06-2008, 04:26 AM
|  | Codemotion.net | | Join Date: Aug 2008 Location: Azeroth
Posts: 315
Thanks: 14
Thanked 98 Times in 28 Posts
Reputation: 1040
Rep Power: 7 | | 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++ Quote:
#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 04:28 AM.
| | D3scene |
Welcome to D3scene - probably the best location for all Gamers.
To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!
The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
| 
11-09-2008, 12:15 PM
| | The Almighty Frenchie | | Join Date: Feb 2007 Location: Six feet under
Posts: 1,683
Thanks: 8
Thanked 12 Times in 9 Posts
Reputation: 314
Rep Power: 4 | | | So you mean that you can change your nickname?
That's weird.
Will everybody see this? or only the user of your program? | 
11-09-2008, 12:30 PM
| | Banned User | | Join Date: Oct 2008 Location: Australia
Posts: 2,862
Thanks: 29
Thanked 46 Times in 29 Posts
Reputation: 671
Rep Power: 0 | | | Does it just spoof it or what?
If this actually changes the name its epic o.o | 
11-09-2008, 12:34 PM
|  | I fuck for virginity | | Join Date: Feb 2007 Location: Germany(Stuttgart)
Posts: 2,206
Thanks: 97
Thanked 139 Times in 75 Posts
Reputation: 1263
Rep Power: 10 | | | ^Just spoofes | 
11-09-2008, 02:59 PM
| | The Almighty Frenchie | | Join Date: Feb 2007 Location: Six feet under
Posts: 1,683
Thanks: 8
Thanked 12 Times in 9 Posts
Reputation: 314
Rep Power: 4 | | Better rename it to WC3 Name Spoofer. | 
11-09-2008, 04:44 PM
| | Addict | | Join Date: Feb 2007 Location: Russia
Posts: 59
Thanks: 1
Thanked 0 Times in 0 Posts
Reputation: 14
Rep Power: 3 | | | 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. | 
11-09-2008, 05:00 PM
| | Wannabe Member | | Join Date: Nov 2008
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Reputation: 9
Rep Power: 2 | | | What's the point of this then? | 
11-09-2008, 07:13 PM
| | Addict | | Join Date: Feb 2007 Location: Russia
Posts: 59
Thanks: 1
Thanked 0 Times in 0 Posts
Reputation: 14
Rep Power: 3 | | oMBra Quote: |
The only use it had was to change the account name while making my ultimate tool, for the auto-join to bnet bot part.
| | 
11-09-2008, 08:28 PM
| | The Almighty Frenchie | | Join Date: Feb 2007 Location: Six feet under
Posts: 1,683
Thanks: 8
Thanked 12 Times in 9 Posts
Reputation: 314
Rep Power: 4 | | Quote:
Originally Posted by UrS 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". | 
11-10-2008, 11:13 AM
| | Banned User | | Join Date: Oct 2008 Location: Australia
Posts: 2,862
Thanks: 29
Thanked 46 Times in 29 Posts
Reputation: 671
Rep Power: 0 | | | Oh.. All that excitement for nothing lol | | D3scene |
Welcome to D3scene - probably the best location for all Gamers.
To participate in our friendly environment you have to register. After completing registration you will have full access to all threads and features. We care about members and try to make your stay as pleasant as possible. We are unique with the following feature for members - you will not see a single Advertisement!
The best: registration is completely free. It will not cost you a single penny or harm you in any way. You will lose nothing except 1 minute of your time. So why not register? We would be happy to see you around!
| | Thread Tools | | | | Display Modes | Linear Mode |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | | All times are GMT +1. The time now is 06:28 PM. | |  |