Невозможно залогиниться на сервере. RAGE 1.1

quartzz720

Участник портала
Автор темы
28 Окт 2020
33
4
20
Здравствуйте. Возникла данная проблема - жму на кнопку "войти", а в консоли вижу такое чудо
Код:
[Threading Debugging] ERROR: GetPlayerIp was called out of main thread
Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run.
22:12:02.512 | Error | Account | System.Exception: Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run.
   at Bootstrapper.EventInternalClass.OnThreadingException()
   at GTANetworkMethods.Player.GetPlayerAddress(Player player)
   at GTANetworkAPI.Player.get_Address()
   at NeptuneEvo.Core.nAccount.Account.LoginIn(Player client, String login_, String pass_) in C:\serverfiles\dotnet\resources\client\Core\nAccount.cs:line 90
[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.
22:12:02.531 | Error | GM | signin: Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run.
Подскажите пожалуйста, что с этим чудом поделать?
 

MakDag

Участник портала
4 Окт 2020
20
1
13
Здравствуйте. Возникла данная проблема - жму на кнопку "войти", а в консоли вижу такое чудо
Код:
[Threading Debugging] ERROR: GetPlayerIp was called out of main thread
Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run.
22:12:02.512 | Error | Account | System.Exception: Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run.
   at Bootstrapper.EventInternalClass.OnThreadingException()
   at GTANetworkMethods.Player.GetPlayerAddress(Player player)
   at GTANetworkAPI.Player.get_Address()
   at NeptuneEvo.Core.nAccount.Account.LoginIn(Player client, String login_, String pass_) in C:\serverfiles\dotnet\resources\client\Core\nAccount.cs:line 90
[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.
22:12:02.531 | Error | GM | signin: Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run.
Подскажите пожалуйста, что с этим чудом поделать?
Попробуй в conf.json вписать данную строчку:

"api-threading-debugging" : false,
 

shaz3ro

Участник портала
15 Сен 2020
10
0
10
Здравствуйте. Возникла данная проблема - жму на кнопку "войти", а в консоли вижу такое чудо
Код:
[Threading Debugging] ERROR: GetPlayerIp was called out of main thread
Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run.
22:12:02.512 | Error | Account | System.Exception: Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run.
   at Bootstrapper.EventInternalClass.OnThreadingException()
   at GTANetworkMethods.Player.GetPlayerAddress(Player player)
   at GTANetworkAPI.Player.get_Address()
   at NeptuneEvo.Core.nAccount.Account.LoginIn(Player client, String login_, String pass_) in C:\serverfiles\dotnet\resources\client\Core\nAccount.cs:line 90
[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.
22:12:02.531 | Error | GM | signin: Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run.
Подскажите пожалуйста, что с этим чудом поделать?
Так-с по поваду входа вот фикс :

HWID = client.GetData<string>("RealHWID");
NAPI.Task.Run(() => IP = client.Address);
SocialClub = row["socialclub"].ToString();

А вот с этим...


22:12:02.531 | Error | GM | signin: Non-thread-safe API has been invoked out of main thread. Check NAPI.Task.Run.


Я ХЗ