Valhalla Legends Forums Archive | Battle.net Bot Development | Accounts

AuthorMessageTime
Death-Merchant
How do you make a bot make accounts on connect?
September 12, 2003, 10:25 PM
Camel
0x2A (SID_CREATEACCOUNT) or 0x3D (SID_CREATEACCOUNT2)

[edit] Also note that when creating an account, the password should only be hashed once.
September 12, 2003, 10:29 PM
hismajesty
https://davnit.net/bnet/vL/phpbbs/index.php?board=17;action=display;threadid=2316
September 12, 2003, 11:11 PM
Zakath
This is a bit old, but it should still work:

[code]void Connection::ProcPacket29( BYTE *data, int size ) {
   DWORD Result = *(LPDWORD)(data + 4);

   if ( !Result ) {
      ErrorMessage( "Login failed, attempting to create account..." );
   
      DWORD Hash[6];
      HashData(Hash, cfg.Password, strlen(cfg.Password));
   
      Insert( Hash[0] );
      Insert( Hash[1] );
      Insert( Hash[2] );
      Insert( Hash[3] );
      Insert( Hash[4] );
      Insert( cfg.AccountName );
      SendPacket(0x3D);
      return;
   }
   LogonMessage( "Login Accepted!" );
}[/code]
September 13, 2003, 2:48 AM

Search