TheStarport / FLHook

A Server Improvement for Freelancer.
GNU General Public License v3.0
30 stars 16 forks source link

Server Crash when switching characters in space #305

Open IrateRedKite opened 1 year ago

IrateRedKite commented 1 year ago

When I attempt to switch characters in space, FLHook generates the following output:

(2023-03-14 06:36:27 FLHook.dll) ERR: Ignoring disconnected client in IServerImplHook::CharacterInfoReq id=1

After this I am no longer able to connect to my local server at all, and need to restart it manually. When encountering this and replicating it I was the only player on my local server. This issue appears to be linked to cargo_drop.dll, as removing the plugin prevents this issue from occuring.

Issue does not occur when disconnecting from the server in space, only when switching characters.

IrateRedKite commented 1 year ago

This crash also occurs in a reproducible way when anti_jump_disconnect is loaded:

FLHook will then throw the ERR: Ignoring disconnected client in IServerImplHook::CharacterInfoReq id=1 error, and kick the player.

oliverpechey commented 1 year ago

@IrateRedKite I am not able to replicate this issue. Here's what I did:

  1. FLHook 4.0 with CargoDrop or AntiJump loaded
  2. .beam$ 1 liverpool
  3. Undock
  4. Dock with Jump Gate
  5. F1 > Select New Character > Go on another character

No errors in the console. No disconnect.