public void Update(IdentificationFailedForBadVersionMessage msg) { if (msg == null) { throw new ArgumentNullException("msg"); } RequieredVersion = msg.requiredVersion; }
public static void IdentificationFailedForBadVersionMessageTreatment(Message message, byte[] packetDatas, AccountUC account) { IdentificationFailedForBadVersionMessage identificationFailedForBadVersionMessage = (IdentificationFailedForBadVersionMessage)message; using (BigEndianReader reader = new BigEndianReader(packetDatas)) { identificationFailedForBadVersionMessage.Deserialize(reader); } account.Log(new ErrorTextInformation("Echec de connexion : Dofus a été mis à jour (" + identificationFailedForBadVersionMessage.requiredVersion.major + "." + identificationFailedForBadVersionMessage.requiredVersion.minor + "." + identificationFailedForBadVersionMessage.requiredVersion.release + "." + identificationFailedForBadVersionMessage.requiredVersion.revision + "." + identificationFailedForBadVersionMessage.requiredVersion.patch + "." + identificationFailedForBadVersionMessage.requiredVersion.buildType + ")." + " BlueSheep supporte uniquement la version " + GameConstants.Major + "." + GameConstants.Minor + "." + GameConstants.Release + "." + GameConstants.Revision + "." + GameConstants.Patch + "." + GameConstants.BuildType + " du jeu. Consultez le forum pour être alerté de la mise à jour du bot."), 0); account.SocketManager.DisconnectFromGUI(); }
private void IdentificationFailedForBadVersionMessageHandler(DofusClient Client, IdentificationFailedForBadVersionMessage Message) { // }
private void HandleIdentificationFailedForBadVersionMessage(IAccount account, IdentificationFailedForBadVersionMessage message) { Logger.Default.Log($"Wrong Dofus version. -> {message.RequiredVersion}"); }
private void HandleIdentificationFailedForBadVersion(IdentificationFailedForBadVersionMessage msg) { Console.WriteLine("Bad version !"); }
private void IdentificationFailedForBadVersionMessageHandler(DofusClient client, IdentificationFailedForBadVersionMessage message) { client.Logger.Log("La version n'est pas bonne. Version requise : " + message.RequiredVersion, LogMessageType.Public); }
public static void HandleIdentificationFailedForBadVersionMessage(Bot bot, IdentificationFailedForBadVersionMessage message) { bot.ClientInformations.Update(message); bot.OnCharacterIdentified(false); }