Правила форума Гаранты форума
Размещение рекламы AMX-X компилятор

Здравствуйте, гость Вход | Регистрация

Наши новости:

14-дек
24-апр
10-апр
11-апр

> Информационная доска

Данный раздел предназначен для обсуждения, а также решения технических проблем связанных с серверной частью. Обсуждения касательно игровых клиентов ведутся здесь.

1. Во время создания новой темы аккуратно оформляйте её, не допускайте грамматических ошибок.
2. Описывая проблему старайтесь, как можно больше рассказать о ней, а так же о действиях с сервером после которых она возникла, по возможности подкрепите информацию логами.
3. Если вопрос касается проблемы в работе сервера, то обязательно прикрепляйте список плагинов (введите в консоли сервера: meta list и amxx plugins), настройки server.cfg, логи. Так же указывайте операционную систему, версию HLDS (введите к консоли сервера: version) и где хостится сервер.

Длинную информацию скрывайте под спойлер.

Fake client.Connection was in idle state

, Client not fake. Wat a fake?
Статус пользователя xcont
сообщение 11.4.2018, 13:49
Сообщение #1
Стаж: 8 лет 2 месяца

Сообщений: 25
Благодарностей: 5
Полезность: 148

CSDM сервер с рандомным спавном

] version
Protocol version 48
Exe version 1.1.2.6 (cstrike)
Exe build: 16:05:41 Jun 15 2009 (4554)
[CSDM] This server is running CSDM 2.1.2

Сервер - готовая сборка, у румынов где-то утащил. "Server Respawn 2012 by Erader" называется

meta list

] meta list
Currently running plugins:
[ 1] dproto_EF, v0.9.391, 2014-06-08, by Crock, see
[ 2] AMX Mod X, v1.8.1.3746, Aug 16 2008, by AMX Mod X Dev Team, see
[ 3] mmtimer, v1.6, 2010/03/25, by Crock, see
[ 4] POD-Bot mm, v3.0B18c, Mar 27 2007, by Count Floyd & Bots United, see
[ 5] Fun, v1.8.1.3746, Aug 16 2008, by AMX Mod X Dev Team, see
[ 6] Engine, v1.8.1.3746, Aug 16 2008, by AMX Mod X Dev Team, see
[ 7] FakeMeta, v1.8.1.3746, Aug 16 2008, by AMX Mod X Dev Team, see
[ 8] CStrike, v1.8.1.3746, Aug 16 2008, by AMX Mod X Dev Team, see
[ 9] CSX, v1.8.1.3746, Aug 16 2008, by AMX Mod X Dev Team, see
[ 10] Ham Sandwich, v1.8.1.3746, Aug 16 2008, by AMX Mod X Dev Team, see
[ 11] CSDM2, v2.1.2, Oct 25 2008, by CSDM Team, see


Добавил POD-ботов. Максимальное число ботов - 28. Если на сервер заходит игрок - одного бота кикает. Получается 27 ботов + 1 игрок = 28 слотов. Игрок выходит - бот обратно запрыгивает. 4 слота специально оставил, чтобы игроки беспрепятственно на сервер заходили (пес ведь его знает, как эти боты кикаться будут, с какой задержкой).

И добавил несколько нужных плагинов (весь ненужный мне хлам убрал из сборки):
plugins.ini

; Стандартная фиговина
; от сих:
; AMX Mod X plugins

; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)

; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
multilingual.amxx ; Multi-Lingual management

; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
pluginmenu.amxx ; Menus for commands/cvars organized by plugin

; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands

; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map

; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands

; Counter-Strike
;restmenu.amxx ; restrict weapons menu
statsx.amxx ; stats on death or round end (CSX Module required!)
;miscstats.amxx ; bunch of events announcement for Counter-Strike
;stats_logging.amxx ; weapons stats logging (CSX Module required!)

; Enable to use AMX Mod plugins
;amxmod_compat.amxx ; AMX Mod backwards compatibility layer

; до сих

; а тут нужные мне плагины:

prochat.amxx ; Цветной чат + [admin] тег
noobjectives.amxx ; убрать цели, чтобы раунд не заканчивался
hud_customizer.amxx ; таймер, фонарик и всю фигню с экрана убирает
ultimate_restart.amxx ; рестарт командой /restart.
HighPingMode.amxx ; кик лагеров

amx_showip.amxx
amx_lastip.amxx

refill_on_kill.amxx ; перезарядка оружия после каждого убийства
specswitch.amxx ; /spec команда
admin_spec_esp.amxx ; ESP приблуда
hegiver.amxx ; граната после каждого возрождения
bullet_damage.amxx ; на экране показывает, кого и на сколько коцнул
resetscore.amxx ; команда /rs
multijump.amxx ; двойной прыжок. Очень люблю этот плагин, куда без него.
vampire.amxx ; после каждого убийства ХП-шечку немного заливает. На CSDM-сервере без этого плагина фигово
csdm_parachute.amxx ; парашют кнопочкой Е.
amxx_podbotmenu.amxx ; хз, что это за фигня. Шла в нагрузку с POD-ботами
semiclip.amxx ; делает игроков свой команды прозрачными, чтобы не подпирали


Dproto стоял версии 0.9.0.87. Почитал в Интернете, что надо старую версию ставить. Поставил 0.9.0.391. Конфиг:
dproto.cfg

# for HLTV (default is HLTV [7])
#cid_HLTV = 7
cid_HLTV = 5

# for p.47 clients that do not support unique id generation (default is STEAM_ID_LAN [8])
#cid_NoSteam47 = 8
cid_NoSteam47 = 5

# for p.48 clients that do not support unique id generation (default is VALVE_ID_LAN [10])
#cid_NoSteam48 = 10
cid_NoSteam48 = 5

# For Legit Steam clients (default is real STEAM_xx:xx:xx [1])
cid_Steam = 1

# Client recognized as pending when they sucessfully authorized, but did not get steam id
# REMARK: Actually, it got steamid, but it is useless (STEAM_0:0:0 for example)
# default is STEAM_ID_PENDING [9]
cid_SteamPending = 9

# вот тут выделывается:
# For players having revEmu ( >= 9.74) on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_RevEmu = 1


# For players having RevEmu 2013 on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_RevEmu2013 = 1

# For players having SteamClient 2009 / revEmu > 9.82 on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_SC2009 = 1

# For players having old revEmu on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_OldRevEmu = 1

# For players having hCupa's SteamEmu on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_SteamEmu = 1

# For players having AVSMP (Cracked Steam) on client-side:
# default is real STEAM_xx:xx:xx [1]
cid_AVSMP = 1

# For SETTI ServerScanner
# default is STEAM_xx:xx:xx generated by IP [3]
cid_Setti = 3

# For SXEI Clients
# default is real STEAM_xx:xx:xx [1]
cid_SXEI = 1

# EnableSXEIdGeneration (0 / 1)
# Turns on steamid generation based on info sent by sXeI client
# Enable this only if you have sXeI server installed!
EnableSXEIdGeneration = 0

# SC2009_RevCompatMode (0 / 1)
# Enable fix to make steamids generated for SC2009 compatible with revEmu
SC2009_RevCompatMode = 1

# SteamEmuCompatMode (0 / 1)
# An analog for eSTEAMATiON's EnforceSteamEmuCompatIDMode option.
# Affects only Old RevEmu and SteamEmu emulators.
SteamEmuCompatMode = 1

# OldEstCompatMode (0 / 1)
# Enables/Disables fix for steamids generated by eST in 0.3.1 version.
# Set this to 1 if you want to make steamids generated by eST as in < 0.3.0 versions.
OldEstCompatMode = 0

# SteamIdHashSalt (string)
# Salt string for SteamIDs hashing. Irreversibly changes SteamIDs. Applies only to SteamIDs generated by emulators.
# Should be more than 16 chars length. If string is empty, hashing is not applied.
SteamIdHashSalt =

# IPGen_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by IP
IPGen_Prefix1 = 0

# IPGen_Prefix2 (int)
# STEAM_a:b:c
# second prefix (b) for authids generated by IP
IPGen_Prefix2 = 4

# Native_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by native auth method (Steam)
Native_Prefix1 = 0;

# RevEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by Steamclient 2009
SC2009_Prefix1 = 0;

# RevEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by RevEmu
RevEmu_Prefix1 = 0;

# RevEmu2013_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by RevEmu2013
RevEmu2013_Prefix1 = 0;

# OldRevEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by old RevEmu
OldRevEmu_Prefix1 = 0;

# SteamEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids generated by SteamEmu
SteamEmu_Prefix1 = 0;

# SteamEmu_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids assigned for AVSMP Clients (Cracked steam)
AVSMP_Prefix1 = 0;

# Setti_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids assigned for Setti server scanner
Setti_Prefix1 = 0;

# SXEI_Prefix1 (int)
# STEAM_a:b:c
# first prefix (a) for authids assigned for sXeI clients
SXEI_Prefix1 = 0;


# Note that banid will use steamid WITHOUT any prefixes!


# ========================================================
# ATTACKS SUPRESSION
# ========================================================

# FakePlayers_ConnectInitiationCheck (seconds)
# Sets the time, in seconds, in which client should initiate
# game session (in other words, send the "new" command) after it has
# been connected. If client did not initiated game session, it will be marked as
# fake and kicked.
# Default is 6 seconds.
# Use 0 to disable this check.
FakePlayers_ConnectInitiationCheck = 6

# FakePlayers_ClientValidationCheck (seconds)
# Sets the time, in seconds, in which client should answer to random unique command
# sent by the server. If client did not answered for this command, it will be marked as
# fake and kicked.
# Default is 8 seconds.
# Use 0 to disable this check.
FakePlayers_ClientValidationCheck = 8

# FakePlayers_AntiReconnect (0/1)
# Enables detection of fakeplayers that reconnects quickly (every < 10 seconds)
# before fake players checks have completed.
# This check will work only if FakePlayers_ClientValidationCheck and
# FakePlayers_ConnectInitiationCheck are enabled.
# Default is 1 (ON).
FakePlayers_AntiReconnect = 1

# FakePlayers_CommandsOrderCheck (0/1)
# Enable commands order checking on the start of initiated connection.
# Default is 1 (ON).
FakePlayers_CommandsOrderCheck = 1

# FakePlayers_BanTime (minutes)
# Dproto will ban IP spamming fakeplayers for time (in minutes) specified in this variable
# Default is 120 minutes.
# Use 0 for permanent ban.
# Use negative vaules to disable ban (fake players will only be kicked).
FakePlayers_BanTime = 120

# Exploits_CheckDownloads (0/1)
# Enable checking of requested download files against precached resources.
# Default is 1 (ON).
Exploits_CheckDownloads = 1

# Exploits_DisableUploads (0/1)
# Disable file uploads (not customizations) to the server.
# Default is 1 (ON).
Exploits_DisableUploads = 1


# ========================================================
# OTHER STUFF
# ========================================================

# LoggingMode:
# 0 = None
# 1 = Console
# 2 = Log Files
# 3 = Both
LoggingMode = 2

# ThreatsLoggingMode
# Enable logging of threats details.
# Default is 0 (OFF).
ThreatsLoggingMode = 0

# DisableNativeAuth (0/1)
# Disables valve/steam auth system.
# For p.47 Based: Server will not connect to auth servers.
# For All: Server will not call authorization functions.
# This is a fix for startup freeze for old (p.47) servers.
DisableNativeAuth = 0

# ServerInfoAnswerType (0/1/2)
# Sets server answer type for query requests
# 0 = New style (Source Engine)
# 1 = Old Style (Fix favorites list for p.47 clients)
# 2 = Hybrid mode - Server is visible anywhere, but there are 3 packets generated for every serverinfo request
ServerInfoAnswerType = 0

# Game_Name (string)
# Sets game name displayed for clients
# If Game_Name is empty, native game name will be used
Game_Name =

# Enables fix for proper player id displaying on HLStats server monitoring
# Enable this only if you have HLStats
HLStatsPlayerIdFix = 0

# ExportVersion (0 / 1)
# Enables/Disables exporting of dp_version cvar
# 1 = dp_version cvar will be exported to server rules. It will be visible in server monitoring tools (like HLSW)
# 0 = dp_version cvar will not be exported to server rules.
ExportVersion = 1

# HLTVExcept_IP (ip addr)
# HLTV from this IP will be able to join the server even if cid_HLTV is set to 5 (deprecated)
HLTVExcept_IP = 127.0.0.1


А проблема следующая. Захожу на сервер (с того же IP, где и сам серв) через НонСтим клиент (revEmu >= 9.74). Норм заходит, да.

L 04/11/2018 - 13:37:57: [DPROTO]: Client 28 - Set AuthIdType 1 [dp_RevEmu]; pClient = 0702F660
L 04/11/2018 - 13:37:57: "xcont<65><STEAM_0:0:488191328><>" connected, address "айпи:1039"

Закрываю клиент, запускаю заново, опять зайти пытаюсь - норм заходит, да. А вот если на другой сервак зайду, румынов пострелять, пострелял, отключился оттуда. Пытаюсь на свой зайти - три желтые полосочки во время коннекта и далее "Fake client.Connection was in idle state"

В настройках Dproto вот эти две опции пробовал отключить:
FakePlayers_ClientValidationCheck = 8
FakePlayers_ConnectInitiationCheck = 6

Тогда просто 3 желтые полосочки во время коннекта и висит. Если закрыть и попробовать еще раз законнектиться - Dproto уже не пускает.

Сервер позавчера запустил. В логах смотрел - два игрока зайти пытались. Один нормально зашел, второму написало "Fake client.Connection was in idle state"

Как эту бяку лечить?
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   Цитировать сообщение
Статус пользователя xcont
сообщение 11.4.2018, 16:45
Сообщение #2
Стаж: 8 лет 2 месяца

Сообщений: 25
Благодарностей: 5
Полезность: 148

cid_RevEmu сделал 3, чтобы SteamID по IP генерировался. Та же фигня:

Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя xcont
сообщение 11.4.2018, 16:56
Сообщение #3
Стаж: 8 лет 2 месяца

Сообщений: 25
Благодарностей: 5
Полезность: 148

Выявил некоторую закономерность. Если напрямую коннектиться к серверу - коннект происходит через 27005 порт и нормально пускает. Если поиграть на другом сервере и попробовать законнектиться на свой - коннект происходит через 1039 порт и через него не пускает.
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя xcont
сообщение 16.10.2018, 5:11
Сообщение #4
Стаж: 8 лет 2 месяца

Сообщений: 25
Благодарностей: 5
Полезность: 148

Up
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
  Ответить в данную темуНачать новую тему
 
0 пользователей и 1 гостей читают эту тему: