При заходе в процессе регистрации игроку пишет "Connection lost. Reconnecting".
Консоль вкидывает,
Started! Waiting for connections..
[DONE] Started resource transfer server at 22001 port.
[DONE] Client-side packages weight: 5319.307129 MB (uncompressed: 5945.374023 MB).
[INFO] MasterList: Announcing into master server...
[INFO] Initializing networking...
[DONE] Networking has been started: (IPv4-only) at 78.24.218.83:22000
[DONE] The server is ready to accept connections.
[DONE] MasterList: Connected to master list.
[N] Incoming connection from 62.68.128.34
11:02:46.937 [Info] | GM = 1954 try to signin step 1
[Threading Debugging] ERROR: GetPlayerName was called out of main thread
Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run. To ignore this, set "api-threading-debugging" to false in conf.json.
Unhandled exception. System.Exception: Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run. To ignore this, set "api-threading-debugging" to false in conf.json.
at Bootstrapper.EventInternalClass.OnThreadingException()
at GTANetworkMethods.Player.GetPlayerName(Player player)
at Golemo.Main.SignInOnTimer(Player player, String login, String pass) in F:\shadow\dotnet\resources\GameMode\Golemo\Main.cs:line 1944
Fatal error. Internal CLR error. (0x80131506)
at GTANetworkMethods.Player.GetPlayerName(GTANetworkAPI.Player)
at Golemo.Main+<SignInOnTimerd__81.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
at Golemo.Main.SignInOnTimer(GTANetworkAPI.Player, System.String, System.String)
at Golemo.Main+<ClientEvent_signind__80.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ExecutionContextCallback(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
at System.Threading.Tasks.Task.RunContinuations(System.Object)
at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TrySetResult(System.Threading.Tasks.VoidTaskResult)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult()
at GolemoSDK.nLog+<WriteAsyncd__11.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ExecutionContextCallback(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
at System.Threading.Tasks.Task.RunContinuations(System.Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Конфиг
{
"maxplayers" : 100,
"name" : "Anchous Live PRO",
"bind" : "78.24.218.83",
"port" : 22000,
"gamemode" : "roleplay",
"streamdistance" : 250.0,
"announce" : true,
"language" : "ru",
"url" : "lg-host.ru",
"voice-chat" : true,
"voice-chat-sample-rate" : 48000,
"allow-cef-debugging" : false,
"csharp" : "enabled"
}
Консоль вкидывает,
Started! Waiting for connections..
[DONE] Started resource transfer server at 22001 port.
[DONE] Client-side packages weight: 5319.307129 MB (uncompressed: 5945.374023 MB).
[INFO] MasterList: Announcing into master server...
[INFO] Initializing networking...
[DONE] Networking has been started: (IPv4-only) at 78.24.218.83:22000
[DONE] The server is ready to accept connections.
[DONE] MasterList: Connected to master list.
[N] Incoming connection from 62.68.128.34
11:02:46.937 [Info] | GM = 1954 try to signin step 1
[Threading Debugging] ERROR: GetPlayerName was called out of main thread
Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run. To ignore this, set "api-threading-debugging" to false in conf.json.
Unhandled exception. System.Exception: Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run. To ignore this, set "api-threading-debugging" to false in conf.json.
at Bootstrapper.EventInternalClass.OnThreadingException()
at GTANetworkMethods.Player.GetPlayerName(Player player)
at Golemo.Main.SignInOnTimer(Player player, String login, String pass) in F:\shadow\dotnet\resources\GameMode\Golemo\Main.cs:line 1944
Fatal error. Internal CLR error. (0x80131506)
at GTANetworkMethods.Player.GetPlayerName(GTANetworkAPI.Player)
at Golemo.Main+<SignInOnTimerd__81.MoveNext()
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.Start[[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]](System.__Canon ByRef)
at Golemo.Main.SignInOnTimer(GTANetworkAPI.Player, System.String, System.String)
at Golemo.Main+<ClientEvent_signind__80.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ExecutionContextCallback(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
at System.Threading.Tasks.Task.RunContinuations(System.Object)
at System.Threading.Tasks.Task`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].TrySetResult(System.Threading.Tasks.VoidTaskResult)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder.SetResult()
at GolemoSDK.nLog+<WriteAsyncd__11.MoveNext()
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].ExecutionContextCallback(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext(System.Threading.Thread)
at System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1+AsyncStateMachineBox`1[[System.Threading.Tasks.VoidTaskResult, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.__Canon, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]].MoveNext()
at System.Threading.Tasks.AwaitTaskContinuation.RunOrScheduleAction(System.Runtime.CompilerServices.IAsyncStateMachineBox, Boolean)
at System.Threading.Tasks.Task.RunContinuations(System.Object)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(System.Threading.Tasks.Task ByRef, System.Threading.Thread)
at System.Threading.ThreadPoolWorkQueue.Dispatch()
Конфиг
{
"maxplayers" : 100,
"name" : "Anchous Live PRO",
"bind" : "78.24.218.83",
"port" : 22000,
"gamemode" : "roleplay",
"streamdistance" : 250.0,
"announce" : true,
"language" : "ru",
"url" : "lg-host.ru",
"voice-chat" : true,
"voice-chat-sample-rate" : 48000,
"allow-cef-debugging" : false,
"csharp" : "enabled"
}