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

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

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

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

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

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

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

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

STEAM_0:1:0

, Сервер не правильно определяет STEAM
Статус пользователя ravenyd123
сообщение 3.10.2011, 9:54
Сообщение #1


Стаж: 15 лет

Сообщений: 728
Благодарностей: 57
Полезность: 119

Вчера началось такое, что у 40-70% СТИМовских игроков их STEAM_ID не правильно определяется сервером. В amx_who показывает STEAM_0:1:0. А у некоторых других стим-игроков все нормально показывает, например у меня. Вроде ничего не ставил вчера, что могло бы так повлиять на это.

dproto
#
# General rule for modifying this file:
# DONT CHANGE ANYTHING IF YOU DONT KNOW WHAT IT MEANS
#

# ========================================================
# DPROTO CONFIGURATION
# ========================================================

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


# ========================================================
# AUTHID MANAGEMENT
# ========================================================

# ClientID types (for cid_* options)
# 1: Real (or generated by HW) steam (STEAM_xx:xx:xx)
# 2: Real (or generated by HW) valve (VALVE_xx:xx:xx)
# 3: STEAM_ by IP
# 4: VALVE_ by IP
# 5: Deprecated - client will be rejected
# 6: reserved for future use
# 7: HLTV
# 8: STEAM_ID_LAN
# 9: STEAM_ID_PENDING
# 10: VALVE_ID_LAN
# 11: VALVE_ID_PENDING
# 12: STEAM_666:88:666

# Use these options to set authid's for clients

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

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

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

# 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_PENDGIND [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 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

# SC2009_RevCompatMode (0 / 1)
# Enable fix to make steamids generated for SC2009 compatibble 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

# 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;

# 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;

# 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 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_BanTime (minutes)
# Dproto will ban IP spamming fakeplayers for time (in minutes) specified in this variable
# use 0 for permanent ban
# use negative vaules to disable ban (fake players will only be kicked)
FakePlayers_BanTime = 120

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

# 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)
# 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 - best solution for now, server is visible anywhere
ServerInfoAnswerType = 2

# MasterClient (0/1)
# Enables master-client emulation; it helps to register server on master list
# if you having "You server is old" error.
# USE THIS ONLY WITH -nomaster MODE!
# you can use Master_GameVersion to set version of game
MasterClient = 1

# Master_GameVersion (string)
# Sets version of game that master-client will send on master-server
Master_GameVersion = 1.1.2.6/Stdio

# SubServer_Enable (0/1)
# Enables secondary mini-server that redirects clients on main server.
# Use the SubServer_AnswerType parameter to set answer type to info queries
# Use the SubServer_Port parameter to set secondary server port
# Use the SubServer_MasterClient parameter to enable master-client for secondary server.
# This is useful feature if you want all clients to see you server.
# Its possible if you set different answer types for main and secondary servers.
# Clients which cant "see" main server will be able to see secondary
SubServer_Enable = 0
SubServer_Port = 28015
SubServer_MasterClient = 0
SubServer_AnswerType = 0
SubServer_RedirectCommand = connect 169.254.141.3:27015
SubServer_IP = 0.0.0.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 displaing 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 (deprectaed)
HLTVExcept_IP = 127.0.0.1


server.cfg
hostname "**********"
rcon_password "********"

sv_contact "**********"
sv_maxupdaterate 101
sv_minupdaterate 30
sv_minrate 25000
sv_maxrate 25000
sys_ticrate 1100

mp_autokick 0
mp_autoteambalance 2
mp_buytime 0.70
mp_c4timer 35
mp_fadetoblack 0
mp_flashlight 1
mp_forcecamera 0
mp_footsteps 1
mp_freezetime 3
mp_friendlyfire 1
mp_logdetail 1
mp_logfile 1
mp_playerid 0
mp_roundtime 1.75
mp_timelimit 45
mp_tkpunish 0
mp_startmoney 800
sv_allowdownload 1
sv_downloadurl "************"
sv_allowupload 0
sv_alltalk 0
sv_voiceenable 1
sv_voicequality 5
sv_voicecodec voice_speex
sv_cheats 0
sv_aim 1

log on
sv_logbans "1"
sv_logecho "1"
sv_logfile "1"
sv_logflush "1"
pausable 0
allow_spectators 3
sv_region 255

sv_rcon_banpenalty 120
sv_rcon_maxfailures 3
sv_rcon_minfailures 3
sv_rcon_minfailuretime 30

// load ban files
exec listip.cfg
exec banned.cfg


plugins.ini
; AMX Mod X plugins
superban.amxx

; 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


; Custom - Add 3rd party plugins here


FullSpawns.amxx
evil-recorder.amxx
xredirect.amxx
deagsmapmanager.amxx
auto_rr.amxx
setmaster.amxx
admin_esp_mini.amxx
server_connect_message.amxx
afk_manager.amxx


bild

] rcon version
Protocol version 48
Exe version 1.1.2.6/Stdio ()
Exe build: 16:56:12 Mar 8 2010 (4883)


Система

CentOS 6
Linux AuroraLan 2.6.32.27 #8 SMP Fri Sep 30 13:19:51 MSD 2011 i686 i686 i386 GNU/Linux


start.sh
taskset -c 0 ./hlds_run -game cstrike +ip 192.168.66.101 +maxplayers 32 +port 27015 +map de_dust2_2x2 -pingboost 3
Через screen
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   Цитировать сообщение
Статус пользователя JIokoMoTuB
сообщение 3.10.2011, 12:09
Сообщение #2


Стаж: 16 лет

Сообщений: 2174
Благодарностей: 566
Полезность: 425

попробуй так

Цитата
# for p.47 clients that do not support unique id generation (default is STEAM_ID_LAN [8] )
cid_NoSteam47 = 3

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


Empower isn't phoenix
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя ravenyd123
сообщение 3.10.2011, 12:32
Сообщение #3


Стаж: 15 лет

Сообщений: 728
Благодарностей: 57
Полезность: 119

Проблема решена.
Кто-то из админов прописал в консоли :
amx_cvar sv_lan 1

И я так понял, что сервер перенастроился для локальных коннектов, и видимо не очень корректно работает так с интернетом.
Вернул sv_lan 0 - Проблема исчезла.
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
Поблагодарили 1 раз
   + Цитировать сообщение
Статус пользователя JIokoMoTuB
сообщение 3.10.2011, 15:39
Сообщение #4


Стаж: 16 лет

Сообщений: 2174
Благодарностей: 566
Полезность: 425

Зачем выдавать флаги все? Достаточно кик, бан, голосования. остальное это просто баловство.


Empower isn't phoenix
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
  Тема закрытаНачать новую тему
 
0 пользователей и 1 гостей читают эту тему: