-
-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Game crashes whenever your go on duty after LSPDFR reload.
Steps to Reproduce:
-
Load LSPDFR and go on-duty.
-
Wait for the inevitable LSPDFR plugin crash.
-
Load LSPDFR and go on-duty.
-
Game Crash
Actual Result:
Game Crashes.
Expected Result:
Game not to crash. Don't start server if already running.
Version:
ExternalPoliceComputer 2.0.0.6
[9/21/2025 11:04:32 PM.902] ==============================
[9/21/2025 11:04:32 PM.902] UNHANDLED EXCEPTION IN PLUGIN
[9/21/2025 11:04:32 PM.902] ------------------------------
[9/21/2025 11:04:32 PM.902] Plugin name: LSPD First Response
[9/21/2025 11:04:32 PM.902] ------------------------------
[9/21/2025 11:04:32 PM.902] Exception type: System.Net.HttpListenerException
[9/21/2025 11:04:32 PM.902] Exception message: Failed to listen on prefix 'http://+:8080/' because it conflicts with an existing registration on the machine.
[9/21/2025 11:04:32 PM.902] ------------------------------
[9/21/2025 11:04:32 PM.902] Inner exceptions:
[9/21/2025 11:04:32 PM.902] ------------------------------
[9/21/2025 11:04:32 PM.902] Stack trace:
[9/21/2025 11:04:32 PM.902] at System.Net.HttpListener.AddAllPrefixes()
[9/21/2025 11:04:32 PM.902] at System.Net.HttpListener.Start()
[9/21/2025 11:04:32 PM.902] at ExternalPoliceComputer.Server.Start() in D:\Stuff\LSPDFR Mods\ExternalPoliceComputer\ExternalPoliceComputer\ExternalPoliceComputer\Server.cs:line 21
[9/21/2025 11:04:32 PM.902] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[9/21/2025 11:04:32 PM.902] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[9/21/2025 11:04:32 PM.902] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[9/21/2025 11:04:32 PM.902] at System.Threading.ThreadHelper.ThreadStart()
[9/21/2025 11:04:32 PM.902] ==============================
[9/21/2025 11:04:32 PM.902]
[9/21/2025 11:04:32 PM.906]
[9/21/2025 11:04:32 PM.906] ==============================
[9/21/2025 11:04:32 PM.906] UNHANDLED EXCEPTION OCCURRED
[9/21/2025 11:04:32 PM.906] ------------------------------
[9/21/2025 11:04:32 PM.906] Origin: HOOK
[9/21/2025 11:04:32 PM.906] ------------------------------
[9/21/2025 11:04:32 PM.906] Exception type: System.Net.HttpListenerException
[9/21/2025 11:04:32 PM.906] Exception message: Failed to listen on prefix 'http://+:8080/' because it conflicts with an existing registration on the machine.
[9/21/2025 11:04:32 PM.906] ------------------------------
[9/21/2025 11:04:32 PM.906] Inner exceptions:
[9/21/2025 11:04:32 PM.906] ------------------------------
[9/21/2025 11:04:32 PM.906] Stack trace:
[9/21/2025 11:04:32 PM.906] at System.Net.HttpListener.AddAllPrefixes()
[9/21/2025 11:04:32 PM.906] at System.Net.HttpListener.Start()
[9/21/2025 11:04:32 PM.906] at ExternalPoliceComputer.Server.Start() in D:\Stuff\LSPDFR Mods\ExternalPoliceComputer\ExternalPoliceComputer\ExternalPoliceComputer\Server.cs:line 21
[9/21/2025 11:04:32 PM.906] at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[9/21/2025 11:04:32 PM.906] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
[9/21/2025 11:04:32 PM.906] at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
[9/21/2025 11:04:32 PM.906] at System.Threading.ThreadHelper.ThreadStart()
[9/21/2025 11:04:32 PM.906] ==============================