Логи

dead_soul

Участник
Сообщения
69
Реакции
7
Как исправить эту ошибку?
L 07/02/2015 - 08:42:13: SourceMod error session started
L 07/02/2015 - 08:42:13: Info (map "de_dust2") (file "errors_20150702.log")
L 07/02/2015 - 08:42:13: [SM] Native "GetClientIP" reported: Client 4 is not connected
L 07/02/2015 - 08:42:13: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/02/2015 - 08:42:13: [SM] [0] Line 331, D:\sourcemod\addons\sourcemod\scripting\sourcebans.sp::OnClientAuthorized()
L 07/02/2015 - 09:03:06: [SM] Native "GetClientIP" reported: Client 34 is not connected
L 07/02/2015 - 09:03:06: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/02/2015 - 09:03:06: [SM] [0] Line 331, D:\sourcemod\addons\sourcemod\scripting\sourcebans.sp::OnClientAuthorized()
L 07/02/2015 - 09:38:02: [SM] Native "GetClientIP" reported: Client 8 is not connected
L 07/02/2015 - 09:38:02: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/02/2015 - 09:38:02: [SM] [0] Line 331, D:\sourcemod\addons\sourcemod\scripting\sourcebans.sp::OnClientAuthorized()
L 07/02/2015 - 09:44:19: [SM] Native "GetClientIP" reported: Client 9 is not connected
L 07/02/2015 - 09:44:19: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/02/2015 - 09:44:19: [SM] [0] Line 331, D:\sourcemod\addons\sourcemod\scripting\sourcebans.sp::OnClientAuthorized()
L 07/02/2015 - 15:16:07: [SM] Native "GetClientTeam" reported: Client 19 is not in game
L 07/02/2015 - 15:16:07: [SM] Displaying call stack trace for plugin "svinorez.smx":
L 07/02/2015 - 15:16:07: [SM] [0] Line 165, D:\programing\svinorez\svinorez.sp::SetSkin()
L 07/02/2015 - 15:16:07: [SM] Native "GetClientTeam" reported: Client 19 is not in game
L 07/02/2015 - 15:16:07: [SM] Displaying call stack trace for plugin "svinorez.smx":
L 07/02/2015 - 15:16:07: [SM] [0] Line 165, D:\programing\svinorez\svinorez.sp::SetSkin()
L 07/02/2015 - 15:35:37: Error log file session closed.
 

Danyas

Участник
Сообщения
2,174
Реакции
1,072
Юзай
PHP:
if (IsClientInGame(client))
Тут Line 165, D:\programing\svinorez\svinorez.sp
и тут Line 331, D:\sourcemod\addons\sourcemod\scripting\sourcebans .sp
 

Danyas

Участник
Сообщения
2,174
Реакции
1,072
Юзай
PHP:
if (IsClientInGame(client))
Тут Line 165, D:\programing\svinorez\svinorez.sp
и тут Line 331, D:\sourcemod\addons\sourcemod\scripting\sourcebans .sp[/QUO



GetClientIP(client, ip, sizeof(ip)); заменить на ??
Смотри, если у тебя на строке 331
PHP:
GetClientIP(client, ip, sizeof(ip));
то ты должен заменить на
PHP:
if (IsClientInGame(client))  GetClientIP(client, ip, sizeof(ip))
 

dead_soul

Участник
Сообщения
69
Реакции
7

dead_soul

Участник
Сообщения
69
Реакции
7

Вложения

  • Снимок.jpg
    Снимок.jpg
    17.8 КБ · Просмотры: 24

dead_soul

Участник
Сообщения
69
Реакции
7
Все разобрался почему ошибка была ) Спасибо )

Добавлено через 14 часов 5 минут
Снова
L 07/03/2015 - 06:40:59: SourceMod error session started
L 07/03/2015 - 06:40:59: Info (map "de_dust2") (file "errors_20150703.log")
L 07/03/2015 - 06:40:59: [SM] Native "GetClientUserId" reported: Client 18 is not connected
L 07/03/2015 - 06:40:59: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/03/2015 - 06:40:59: [SM] [0] Line 337, D:\sourcemod\addons\sourcemod\scripting\sourcebans.sp::OnClientAuthorized()
L 07/03/2015 - 06:44:36: [SM] Native "GetClientUserId" reported: Client 18 is not connected
L 07/03/2015 - 06:44:36: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/03/2015 - 06:44:36: [SM] [0] Line 337, D:\sourcemod\addons\sourcemod\scripting\sourcebans.sp::OnClientAuthorized()
L 07/03/2015 - 08:42:33: [SM] Native "GetArrayCell" reported: Invalid index 20 (count: 20)
L 07/03/2015 - 08:42:33: [SM] Displaying call stack trace for plugin "offlineban.smx":
L 07/03/2015 - 08:42:33: [SM] [0] Line 534, F:\портал\временная\на линь\server\dm\cstrike\addons\sourcemod\scripting\offlineban.sp::CreateBanSB()
L 07/03/2015 - 08:42:33: [SM] [1] Line 522, F:\портал\временная\на линь\server\dm\cstrike\addons\sourcemod\scripting\offlineban.sp::CheckAdmins()
L 07/03/2015 - 08:42:33: [SM] [2] Line 445, F:\портал\временная\на линь\server\dm\cstrike\addons\sourcemod\scripting\offlineban.sp::MenuHandler_MenuReason()
L 07/03/2015 - 12:14:19: [SM] Native "GetClientUserId" reported: Client 39 is not connected
L 07/03/2015 - 12:14:19: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/03/2015 - 12:14:19: [SM] [0] Line 337, D:\sourcemod\addons\sourcemod\scripting\sourcebans.sp::OnClientAuthorized()
L 07/03/2015 - 12:17:37: [SM] Native "GetClientUserId" reported: Client 4 is not connected
L 07/03/2015 - 12:17:37: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/03/2015 - 12:17:37: [SM] [0] Line 337, D:\sourcemod\addons\sourcemod\scripting\sourcebans.sp::OnClientAuthorized()
L 07/03/2015 - 12:20:44: [SM] Native "GetClientUserId" reported: Client 26 is not connected
L 07/03/2015 - 12:20:44: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/03/2015 - 12:20:44: [SM] [0] Line 337, D:\sourcemod\addons\sourcemod\scripting\sourcebans.sp::OnClientAuthorized()
L 07/03/2015 - 12:24:27: [SM] Native "GetClientUserId" reported: Client 38 is not connected
L 07/03/2015 - 12:24:27: [SM] Displaying call stack trace for plugin "sourcebans.smx":
L 07/03/2015 - 12:24:27: [SM] [0] Line 337, D:\sourcemod\addons\sourcemod\scripting\sourcebans.sp::OnClientAuthorized()
 
Последнее редактирование:
Сверху Снизу