Jump to content

yannickkutil

Members
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 GBP 

Everything posted by yannickkutil

  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());
×
×
  • 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