Piggy3590 / LC_Office

2 stars 0 forks source link

Shrimp unable to damage non-host players with LethalNetworkAPI 2.1.6 #15

Closed ryusei-gone closed 4 months ago

ryusei-gone commented 4 months ago

Shrimp will successfully target any player, host or guest, but only the host can be killed. When targeting guest players, Shrimp will keep trying to attack unsuccessfully until fed. Only related log entries I could find:

Guest side:

[Warning:Piggy.LCOffice] Force the shrimp to change position.
[Warning:Piggy.LCOffice] Force the shrimp to change position.
[Fatal  :Piggy.LCOffice] Shrimp spawned successfully, but the current position is VERY far from the network position. This error typically occurs when network quality is low or the server is experiencing heavy traffic.

Host side (message repeated continuously until disconnecting from lobby):

NullReferenceException: Object reference not set to an instance of an object
  at LCOffice.Patches.ShrimpAI.CheckTargetAvailable () [0x00137] in <01da27515b4c40238a6f20b12298fde0>:IL_0137 
  at LCOffice.Patches.ShrimpAI.Update () [0x00110] in <01da27515b4c40238a6f20b12298fde0>:IL_0110 

As of 1.0.20 downgrading to LethalNetworkAPI 2.1.4 solves the problem.

Piggy3590 commented 4 months ago

fixed in 1.0.24 (i didnt add a comma in commit message lol)