Pik-4 / HsMod

Hearthstone Modify Based on BepInEx
GNU Affero General Public License v3.0
240 stars 39 forks source link

开启HsMod金卡特性/卡牌追踪后 敌人手中的熔火拨片会导致无限重连 #29

Closed xsshk closed 1 year ago

xsshk commented 1 year ago

打JJC遇到的,具体卡如图 image

Pik-4 commented 1 year ago

可以看看有没有log,BepInEx的log对应的是LogOutput.log,一般在BepInEx目录下,炉石对应的log是Hearthstone.log,一般在Logs目录下;此外,目前已知是开启异画特效时,会存在这种情况。如果遇到游戏卡住,可以在设置内禁用全部特效,Ctrl+D模拟重连,一般情况下,可以暂时缓解这种问题。

xsshk commented 1 year ago

目前是只开启了金卡特效,并未开启异画/钻石特效。 测试了一下,应该是 卡牌追踪 功能导致的问题 image

Hearthstone.log 观察后,无明显异常报错信息,多为成就或游戏内文本描述,故不提供 LogOutput.log 文件内容 [Message: BepInEx] BepInEx 5.4.21.0 - Hearthstone (2023/6/2 10:51:29) [Info : BepInEx] Running under Unity v2021.3.19.13201743 [Info : BepInEx] CLR runtime version: 4.0.30319.42000 [Info : BepInEx] Supports SRE: True [Info : BepInEx] System platform: Bits64, Windows [Message: BepInEx] Preloader started [Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.21.0] [Info : BepInEx] Loaded 1 patcher method from [BepInExConfigManager.Mono.Patcher 1.0.0.0] [Info : BepInEx] 2 patcher plugins loaded [Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader] [Message: BepInEx] Preloader finished [Message: BepInEx] Chainloader ready [Message: BepInEx] Chainloader started [Info : BepInEx] 2 plugins to load [Info : BepInEx] Loading [BepInExConfigManager 1.3.0] [Message:BepInExConfigManager] [UniverseLib] UniverseLib 1.5.1 initializing... [Message:BepInExConfigManager] [UniverseLib] Finished UniverseLib initial setup. [Info : BepInEx] Loading [HsMod 3.2.0.0] [Info : HsMod] Plugin HsMod is loaded! [Warning:HsMod.MyLogger] Patcher => Patched 0 methods [Warning:HsMod.MyLogger] PatchMisc => Patched 37 methods [Warning:HsMod.MyLogger] PatchFiresideGathering => Patched 3 methods [Warning:HsMod.MyLogger] PatchEmote => Patched 5 methods [Warning:HsMod.MyLogger] PatchIGMMessage => Patched 7 methods [Warning:HsMod.MyLogger] PatchMercenaries => Patched 1 methods [Warning:HsMod.MyLogger] PatchHearthstone => Patched 13 methods [Warning:HsMod.MyLogger] PatchLogArchive => Patched 1 methods [Warning:HsMod.MyLogger] PatchBattlegrounds => Patched 9 methods [Warning:HsMod.MyLogger] PatchFavorite => Patched 9 methods [Warning:HsMod.MyLogger] PatchFakeDevice => Patched 1 methods [Warning:HsMod.MyLogger] PatchDevOptioins => Patched 2 methods [Message: BepInEx] Chainloader startup complete [Info : HsMod] Plugin HsMod is started! [Warning:HsMod.MyLogger] https://h5.cyol.com/special/daxuexi/fg6pq1mx2s/images/end.jpg [Message:BepInExConfigManager] [UniverseLib] Initialized Legacy Input support [Message:BepInExConfigManager] [UniverseLib] Loaded modern bundle for Unity 2021.3.19f1 [Message:BepInExConfigManager] [UniverseLib] UniverseLib 1.5.1 initialized. [Error :HsMod.MyLogger] System.NullReferenceException: Object reference not set to an instance of an object at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] System.NullReferenceException: Object reference not set to an instance of an object at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] System.NullReferenceException: Object reference not set to an instance of an object at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] System.NullReferenceException: Object reference not set to an instance of an object at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] System.NullReferenceException: Object reference not set to an instance of an object at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] System.NullReferenceException: Object reference not set to an instance of an object at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] System.NullReferenceException: Object reference not set to an instance of an object at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward [Error :HsMod.MyLogger] System.NullReferenceException: Object reference not set to an instance of an object at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] System.NullReferenceException: Object reference not set to an instance of an object at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Error :HsMod.MyLogger] at Entity.IsControlledByOpposingSidePlayer () [0x00006] in <759512b80e20492ba464b9f11d342d7d>:0 at HsMod.Patcher+PatchHearthstone.PatchGetPremiumType (Entity __instance, TAG_PREMIUM& __result) [0x00099] in <3ae0f521beef44ba8d2107b1b2916519>:0 [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward [Warning:HsMod.MyLogger] ShowNextReward

Pik-4 commented 1 year ago

应该是观战模式的问题,疑似是炉石的bug,目前添加了卡牌揭示用于缓解该问题。如果遇到无限重连,可以考虑禁用该选项(默认为禁用),理论上开启卡牌揭示,也只会重连一次。如果还有问题,请在该issue反馈。