SmartlyDressedGames / Unturned-3.x-Community

Community portion of the Unturned-3.x repo. If you have access to the source code you can find it here:
https://github.com/SmartlyDressedGames/Unturned-3.x/
84 stars 18 forks source link

My 'rocket. cs' is likely to fail to trigger the explosion #4646

Closed hyjhkt closed 1 month ago

hyjhkt commented 1 month ago

The following are the errors that occur when a rocket object encounters other objects:

IIlllIlIllIIllIl moved x:3430.445 y:138.8539(+29.26218) z:-374.2656 in the last second (0.009994507) 科比暴揍驾驶员 [科比暴揍直升机] killed themself. IIlllIlIllIIllIl moved x:3431.243 y:138.8539(+29.26218) z:-373.4839 in the last second (0.009994507) AAAA-小南梁永远爱你 [六&] was shot in the torso by 墨... [mohanhan]! ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <47fc8c70fa834cbf8141d7c1a7589125>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) [0x00000] in <47fc8c70fa834cbf8141d7c1a7589125>:0 at TR.武器伤害显示UI.Plugin.‫‌‏​‮‪‏‌‏‮‭‭‍‫‬‍‍‭‪‬‮ (Steamworks.CSteamID , UnityEngine.Transform , System.UInt16& , System.Boolean& , SDG.Unturned.EDamageOrigin ) [0x0024d] in <8bb62406c13549ee839c8a756d857820>:0 at SDG.Unturned.ResourceManager.damage (UnityEngine.Transform resource, UnityEngine.Vector3 direction, System.Single damage, System.Single times, System.Single drop, SDG.Unturned.EPlayerKill& kill, System.UInt32& xp, Steamworks.CSteamID instigatorSteamID, SDG.Unturned.EDamageOrigin damageOrigin, System.Boolean trackKill) [0x00018] in <6b1f72456e95430bacde60da03e38772>:0 at SDG.Unturned.DamageTool.explode (SDG.Unturned.ExplosionParameters parameters, System.Collections.Generic.List`1[SDG.Unturned.EPlayerKill]& kills) [0x002c9] in <6b1f72456e95430bacde60da03e38772>:0 at SDG.Unturned.Rocket.OnTriggerEnter (UnityEngine.Collider other) [0x0010b] in <6b1f72456e95430bacde60da03e38772>:0

GPTChatReview >> 与数据库中的:谁™把你放出来了??? 匹配,匹配度:73 AAAA-小南梁永远爱你 moved x:1740.461 y:109.7005(+18.98504) z:283.0547 in the last second (0.01000214) NullReferenceException at (wrapper managed-to-native) UnityEngine.Transform.get_position_Injected(UnityEngine.Transform,UnityEngine.Vector3&) at UnityEngine.Transform.get_position () [0x00000] in :0 at OpenMirrorFlash.Main+6D0B23063BCB46CD.MoveNext () [0x00142] in <6acea66a22fc490d9864d5d431c72690>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0

ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <47fc8c70fa834cbf8141d7c1a7589125>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) [0x00000] in <47fc8c70fa834cbf8141d7c1a7589125>:0 at TR.武器伤害显示UI.Plugin.‫‏‮​‬‬‫‮​‪‎‍‪​‎‪‌‫‎‮‍​​‭‮ (SDG.Unturned.DamagePlayerParameters& , System.Boolean& ) [0x002a3] in <8bb62406c13549ee839c8a756d857820>:0 at (wrapper delegate-invoke) .invoke_void_DamagePlayerParameters&_bool&(SDG.Unturned.DamagePlayerParameters&,bool&) at SDG.Unturned.DamageTool.damagePlayer (SDG.Unturned.DamagePlayerParameters parameters, SDG.Unturned.EPlayerKill& kill) [0x00026] in <6b1f72456e95430bacde60da03e38772>:0 at SDG.Unturned.DamageTool.damage (SDG.Unturned.Player player, SDG.Unturned.EDeathCause cause, SDG.Unturned.ELimb limb, Steamworks.CSteamID killer, UnityEngine.Vector3 direction, System.Single damage, System.Single times, SDG.Unturned.EPlayerKill& kill, System.Boolean applyGlobalArmorMultiplier, System.Boolean trackKill, SDG.Unturned.ERagdollEffect ragdollEffect) [0x00056] in <6b1f72456e95430bacde60da03e38772>:0 at SDG.Unturned.DamageTool.explode (SDG.Unturned.ExplosionParameters parameters, System.Collections.Generic.List`1[SDG.Unturned.EPlayerKill]& kills) [0x008af] in <6b1f72456e95430bacde60da03e38772>:0 at SDG.Unturned.Grenade.Explode () [0x000b9] in <6b1f72456e95430bacde60da03e38772>:0

hyjhkt commented 1 month ago

JK妹妹 moved x:1740.461 y:109.7005(+19.61433) z:283.0547 in the last second (0.01000214) ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <47fc8c70fa834cbf8141d7c1a7589125>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) [0x00000] in <47fc8c70fa834cbf8141d7c1a7589125>:0 at TR.武器伤害显示UI.Plugin.‫‌‏​‮‪‏‌‏‮‭‭‍‫‬‍‍‭‪‬‮ (Steamworks.CSteamID , UnityEngine.Transform , System.UInt16& , System.Boolean& , SDG.Unturned.EDamageOrigin ) [0x0024d] in <8bb62406c13549ee839c8a756d857820>:0 at SDG.Unturned.ResourceManager.damage (UnityEngine.Transform resource, UnityEngine.Vector3 direction, System.Single damage, System.Single times, System.Single drop, SDG.Unturned.EPlayerKill& kill, System.UInt32& xp, Steamworks.CSteamID instigatorSteamID, SDG.Unturned.EDamageOrigin damageOrigin, System.Boolean trackKill) [0x00018] in <6b1f72456e95430bacde60da03e38772>:0 at SDG.Unturned.DamageTool.explode (SDG.Unturned.ExplosionParameters parameters, System.Collections.Generic.List`1[SDG.Unturned.EPlayerKill]& kills) [0x002c9] in <6b1f72456e95430bacde60da03e38772>:0 at SDG.Unturned.Rocket.OnTriggerEnter (UnityEngine.Collider other) [0x0010b] in <6b1f72456e95430bacde60da03e38772>:0

hsahgh1321 [gjxdgfss123] was shot in the torso by 科比暴揍驾驶员 [科比暴揍直升机]! hsahgh1321 moved x:1740.461 y:110.1381(+137.7724) z:283.0547 in the last second (0.4475403) AAAA-小南梁永远爱你 [六&] was chopped in the head by 天亦云亦如神乐 [超级牛的大子]! 妖夜回廊 [M4SOPMOD||] was chopped in the leg by I like 创夜阑 [Ashyspirit]! 天亦云亦如神乐 [超级牛的大子] was shot in the arm by CH_XHG [CHXHG]! ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary2[TKey,TValue].FindEntry (TKey key) [0x00008] in <47fc8c70fa834cbf8141d7c1a7589125>:0 at System.Collections.Generic.Dictionary2[TKey,TValue].get_Item (TKey key) [0x00000] in <47fc8c70fa834cbf8141d7c1a7589125>:0 at TR.武器伤害显示UI.Plugin.‫‌‏​‮‪‏‌‏‮‭‭‍‫‬‍‍‭‪‬‮ (Steamworks.CSteamID , UnityEngine.Transform , System.UInt16& , System.Boolean& , SDG.Unturned.EDamageOrigin ) [0x0024d] in <8bb62406c13549ee839c8a756d857820>:0 at SDG.Unturned.ResourceManager.damage (UnityEngine.Transform resource, UnityEngine.Vector3 direction, System.Single damage, System.Single times, System.Single drop, SDG.Unturned.EPlayerKill& kill, System.UInt32& xp, Steamworks.CSteamID instigatorSteamID, SDG.Unturned.EDamageOrigin damageOrigin, System.Boolean trackKill) [0x00018] in <6b1f72456e95430bacde60da03e38772>:0 at SDG.Unturned.DamageTool.explode (SDG.Unturned.ExplosionParameters parameters, System.Collections.Generic.List`1[SDG.Unturned.EPlayerKill]& kills) [0x002c9] in <6b1f72456e95430bacde60da03e38772>:0 at SDG.Unturned.Grenade.Explode () [0x000b9] in <6b1f72456e95430bacde60da03e38772>:0

SDGNelson commented 1 month ago

Sorry about the error. It looks like it's happening in a plugin "TR.武器伤害显示UI", not vanilla code, however. I'd suggest contacting the plugin developer's support. It might be an issue with the config for the plugin.