override public void OnExecute() { Init(); CMD_GP_LogonAccounts LogonAccounts = new CMD_GP_LogonAccounts(); LogonAccounts.dwPlazaVersion = 101318659; LogonAccounts.szMachineID = HardWare.GetMachineID(); LogonAccounts.szPassword = Encrypt.MD5Encrypt32(mPwd); LogonAccounts.szAccounts = mAccount; LogonAccounts.cbValidateFlags = 3; LogonAccounts.cbPassPortID = 0; LogonAccounts.szPassPortID = ""; socketHdr.SendPacket<CMD_GP_LogonAccounts>((ushort)MAIN_CMD.MDM_GP_LOGON, (ushort)LOGON_SUB_CMD.SUB_GP_LOGON_ACCOUNTS, LogonAccounts); }
public void OnValidatePassport(System.Object Target) { DebugKit.Log("OnValidatePassport!"); CMD_GP_LogonAccounts LogonAccounts = new CMD_GP_LogonAccounts(); LogonAccounts.dwPlazaVersion = 101318659; LogonAccounts.szMachineID = HardWare.GetMachineID(); LogonAccounts.szPassword = Encrypt.MD5Encrypt32(mPwd); LogonAccounts.szAccounts = mAccount; LogonAccounts.cbValidateFlags = 3; LogonAccounts.cbPassPortID = 1; LogonAccounts.szPassPortID = "432326197701215789"; socketHdr.SendPacket<CMD_GP_LogonAccounts>((ushort)MAIN_CMD.MDM_GP_LOGON, (ushort)LOGON_SUB_CMD.SUB_GP_LOGON_ACCOUNTS, LogonAccounts); }