| | |
| | | public static ProtocolRecorder gotA126Time; |
| | | public static ProtocolRecorder gotA127Time; |
| | | public static ProtocolRecorder got0109Time; |
| | | public static ProtocolRecorder got0403Time; |
| | | public static ProtocolRecorder send0107Time; |
| | | |
| | | public static StageLoadTimeOutCatcher Begin(int stageId) |
| | |
| | | { |
| | | var title = StringUtility.Contact(stageId, "地图加载超时"); |
| | | var description = StringUtility.Contact( |
| | | "开始时间:", startTime.ToString("HH:mm:ss"), ";", |
| | | "超时时间:", DateTime.Now.ToString("HH:mm:ss"), |
| | | "0102记录:", got0102Time.ToString(), ";", |
| | | "A126记录:", gotA126Time.ToString(), ";", |
| | | "A127记录:", gotA127Time.ToString(), ";", |
| | | "0109记录:", got0109Time.ToString(), ";", |
| | | "0107记录:", send0107Time.ToString()); |
| | | "开始时间:", startTime.ToString("HH:mm:ss"), "$$", |
| | | "超时时间:", DateTime.Now.ToString("HH:mm:ss"), "$$", |
| | | got0102Time.ToString(), "$$", |
| | | gotA126Time.ToString(), "$$", |
| | | gotA127Time.ToString(), "$$", |
| | | got0109Time.ToString(), "$$", |
| | | send0107Time.ToString(), "$$", |
| | | got0403Time.ToString()); |
| | | |
| | | ExceptionCatcher.ReportException(title, description); |
| | | Stop(); |
| | |
| | | case "0107": |
| | | send0107Time = recorder; |
| | | break; |
| | | case "0403": |
| | | got0403Time = recorder; |
| | | break; |
| | | default: |
| | | break; |
| | | } |
| | | |
| | | try |
| | | { |
| | | var title = StringUtility.Contact("地图加载记录-->封包编号:", number); |
| | | var description = StringUtility.Contact(recorder.ToString(), "玩家:", PlayerDatas.Instance.baseData.PlayerName); |
| | | |
| | | ExceptionCatcher.ReportException(title, description); |
| | | } |
| | | catch (System.Exception ex) |
| | | { |
| | | |
| | | } |
| | | } |
| | | |