From cbb4009abdf84cf020be9cfc1de88dc436652bb3 Mon Sep 17 00:00:00 2001
From: client_Wu Xijin <364452445@qq.com>
Date: 星期一, 07 一月 2019 10:44:07 +0800
Subject: [PATCH] Merge branch 'master' into CrossServerBoss
---
Utility/StageLoadTimeOutCatcher.cs | 28 ++++++++++++++++++++++++++--
1 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/Utility/StageLoadTimeOutCatcher.cs b/Utility/StageLoadTimeOutCatcher.cs
index b4be209..5233a56 100644
--- a/Utility/StageLoadTimeOutCatcher.cs
+++ b/Utility/StageLoadTimeOutCatcher.cs
@@ -7,7 +7,12 @@
{
const int timeOut = 20;//绉�
+
+ public static DateTime got0102Time = DateTime.MinValue;
+ public static DateTime gotA126Time = DateTime.MinValue;
+ public static DateTime gotA127Time = DateTime.MinValue;
public static DateTime got0109Time = DateTime.MinValue;
+ public static DateTime send0107Time = DateTime.MinValue;
public static StageLoadTimeOutCatcher Begin(int stageId)
{
@@ -43,12 +48,31 @@
var description = StringUtility.Contact(
"寮�濮嬫椂闂�:", startTime.ToString("HH:mm:ss"), ";",
"瓒呮椂鏃堕棿:", DateTime.Now.ToString("HH:mm:ss"),
- "鏈嶅姟鍣ㄦ槸鍚﹀噯澶囦腑:", StageManager.Instance.isServerPreparing,
- "涓婁竴娆℃帴鏀跺埌0109鐨勬椂闂�:", got0109Time);
+ "0102鏃堕棿:", got0102Time.ToString("HH:mm:ss"), ";",
+ "A126鏃堕棿:", gotA126Time.ToString("HH:mm:ss"), ";",
+ "A127鏃堕棿:", gotA127Time.ToString("HH:mm:ss"), ";",
+ "0109鏃堕棿:", got0109Time.ToString("HH:mm:ss"), ";",
+ "0107鏃堕棿:", send0107Time.ToString("HH:mm:ss"));
ExceptionCatcher.ReportException(title, description);
Stop();
}
}
+ public static void ReportChangeMapRecord(GameNetSystem.SocketType socketType, string protocol, DateTime time)
+ {
+ try
+ {
+ var title = StringUtility.Contact("鍦板浘鍔犺浇璁板綍-->鐜╁鍚嶇О锛�", PlayerDatas.Instance.baseData.PlayerName);
+ var description = StringUtility.Contact("鏈嶅姟鍣�:", socketType, ";", "鍗忚缂栧彿:", protocol, ";", "鏃堕棿:", time.ToString("HH:mm:ss"));
+
+ ExceptionCatcher.ReportException(title, description);
+ }
+ catch (System.Exception ex)
+ {
+
+ }
+
+ }
+
}
--
Gitblit v1.8.0