Jump to content

yannickkutil

Members
  • Content Count

    1
  • Donations

    0.00 GBP 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About yannickkutil

  • Rank
    Junior Member
  1. Does somebody has any idea why it does not work? this is a call from CMD_AUTH_REALMLIST using (var memory = new MemoryStream()) using (var writer = new PrimitiveWriter(memory)) { var addr = NetworkUtil.GetMatchingLocalIP(Client.IpAddress) ?? (object)"127.0.0.1"; addr = addr + ":" + 7470; writer.WriteByte((byte)0x10); //AuthServerOpCode - REALM_LIST writer.BaseStream.Position += 2; // Packet length writer.Write(0); // Unknown Value (0x0000) switch (Client.ClientInformation.Version.Build) { case 5875: // 1.12.1 case 6005: // 1.12.2 case 6141: // 1.12.3 writer.Write((byte)0x01); //Realm Count //Loop durch alle realms writer.Write((byte)0x00); //ServerType - Normal -1.1.2 writer.Write((byte)0x02); //realmflags - offline writer.WriteCString("daran"); //realmname writer.WriteCString(addr.ToString()); //server adress with port writer.WriteFloat(1); //population writer.Write((byte)0); //chars count on realm from account writer.Write((byte)9); //realmCategory - german writer.WriteByte(0x00); // Unknown Value (0x0000) -1.2 writer.Write((byte)0x00); // Unknown Value- 1.2 writer.Write((byte)0x02); // Unknown Value - 1.2 } writer.BaseStream.Position = 1; writer.Write((short)writer.BaseStream.Length-3); //packet lenght Socket.Send(memory.ToArray());

Contact Us

To contact us click here
You can also email us at [email protected]

Privacy Policy | Terms & Conditions

Repositories

The Link to the master list
of MaNGOS repositories:
Copyright © getMaNGOS. All rights Reserved.

This website is in no way associated with or endorsed by Blizzard Entertainment®
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use