Barotrauma icon indicating copy to clipboard operation
Barotrauma copied to clipboard

Crash when trying to disconnect owner peer (expecting a removed network event)

Open esirprus opened this issue 1 year ago • 4 comments

Disclaimers

  • [X] I have searched the issue tracker to check if the issue has already been reported.
  • [X] My issue happened while using mods.

What happened?

when the campaign runs, suddenly the server owner "9Eagle" was kicked by the server.

Reproduction steps

dont know how to reproduce, sorry...

Bug prevalence

Happens every now and then

Single player or multiplayer?

Multiplayer hosted from the in-game menu (= using a listen server)

-

No response

Version

v1.2.8.0 (Winter Update hotfix 2)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

servercrashreport (85).log

esirprus avatar Feb 21 '24 14:02 esirprus

A previous crash seemed to be due to the game being too laggy servercrashreport (67).log

esirprus avatar Feb 21 '24 14:02 esirprus

Encountered the same error, any workaround?

sunxyw avatar Jun 13 '24 17:06 sunxyw

@Regalis11
It looks like lastSentToAnyone is set to an event id that has already been removed,and events[0] has the same id. In the following logs, the latest create id is increased but the Last sent id is unchanged.

This is a log of the last time it happened on a dedicated server. Hope it helps [08/13/2024 16:05:55] WARNING: ServerEntityEventManager is lagging behind! Last sent id: 27594, latest create id: 60373 [08/13/2024 16:05:55] suger阿糖 was kicked because they were expecting a removed network event (60372, last available is 27594)

serverlog.txt

github-liuzhongkun avatar Aug 15 '24 03:08 github-liuzhongkun