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

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

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

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

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

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

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

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

Оптимизация сервера под VDS

Статус пользователя Meelyo
сообщение 16.10.2011, 9:19
Сообщение #1
Стаж: 14 лет

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

Доброе время суток , поставил на centos сервер , сервер стоит два дня и не одного игрока , да и пинг что-то не очень , помогите решить эти проблемы.
server.cfg
Код
hostname "Сервер для тебя ! ©"
rcon_password "c-s.net.ua"
sv_aim 0
pausable 0
sv_cheats 0
mp_timelimit 25
mp_autokick 0
mp_autoteambalance 1
mp_c4timer 30
mp_flashlight 1
mp_footsteps 1
mp_forcechasecam 1
mp_freezetime 0
mp_friendlyfire 1
mp_hostagepenalty 2
mp_limitteams 2
mp_roundtime 2
mp_tkpunish 1
mp_friendlyfire 0
sv_restartround 0
sv_maxspeed 320
sv_proxies 1
allow_spectators 1
mp_startmoney 800
mp_chattime 0
sv_voiceenable 1
sv_alltalk 0
mp_forcecamera 0
sv_maxrate 20000
sv_maxupdaterate 101
sv_minrate 25000
sv_minupdaterate 30
mm_insane 0
sys_ticrate 1100
setmaster add 209.197.20.34:27010
setmaster add 209.197.4.186:27010
setmaster add 68.142.72.250:27010
setmaster add 69.28.140.245:27010
setmaster add 69.28.140.247:27010
setmaster add 69.28.151.162:27010
setmaster add 69.28.158.131:27010
setmaster add 72.165.61.136:27010
setmaster add 72.165.61.189:27010
setmaster add 72.165.61.190:27010
setmaster add games.vipeburg.info:27010
setmaster add 92.243.95.195:27010
setmaster add 77.232.219.54:27016
setmaster add 188.40.40.201:27011
setmaster add 188.40.40.201:27010
setmaster add 46.4.71.67:27010
setmaster add 46.4.71.67:27011
setmaster add 77.232.219.54:27016
setmaster add 89.28.42.226:27010
setmaster add 92.243.95.195:27010
setmaster add setmaster.info:27011
setmaster add setmaster.info:27010
setmaster add 93.157.235.50:27010
setmaster add 89.28.42.226:27010

dproto.cfg
Код
#
# 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 = 0

# 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

steam.ini
Код
PatchVersion=1.6.3.7
ProductName=cstrike

plugins.ini
Код
csf_opengl32.amxx
csf_anticheat.amxx
amxbans_main.amxx
amxbans_core.amxx
amxbans_flagged.amxx
amxbans_freeze.amxx
amxbans_ssban.amxx

; 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

; Custom - Add 3rd party plugins here
new_vip.amxx
afkkicker.amxx
high_ping_kicker.amxx
autobuyfix.amxx
;no_reklama_advanced.amxx
lastround.amxx
admin_check.amxx
instant_autoteambalance.amxx
;bullet_damage.amxx
admin_chat_colors.amxx
;statsx_shell.amxx
admin_connect.amxx
;rockthevote_custom.amxx
descriptive_fire_in_the_hole.amxx

Параметр запуска
Код
./hlds_run -console -game cstrike -master -secure +maxplayers 32 +port 27027 -pingboost 1 +map de_dust2 &

Железо VDS
Код
2.5 Mhz 1gb RAM OS centos5

Вообщем как настроить пинг поменьше и чтобы хоть кто-нибудь заходил?
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   Цитировать сообщение
FixX
сообщение 16.10.2011, 9:23
Сообщение #2
Стаж: 15 лет

Сообщений: 2200
Благодарностей: 526
Полезность: 0

попробуй -pingboost 2
параметров -master -secure нету вообще, -console не нужен на линуксе

Отредактировал: FixX, - 16.10.2011, 9:24
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя Meelyo
сообщение 16.10.2011, 9:29
Сообщение #3
Стаж: 14 лет

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

Цитата(FixX @ 16.10.2011, 10:23) *
попробуй -pingboost 2
параметров -master -secure нету вообще, -console не нужен на линуксе

Врят ли что-либо поменяется , так как пробовал
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
FixX
сообщение 16.10.2011, 9:32
Сообщение #4
Стаж: 15 лет

Сообщений: 2200
Благодарностей: 526
Полезность: 0

значит вдс говно)
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
Поблагодарили 1 раз
   + Цитировать сообщение
cs-portal
сообщение 16.10.2011, 10:01
Сообщение #5
Стаж: 16 лет

Сообщений: 8181
Благодарностей: 2709
Полезность: 0

ставь сетмастера или неставь - игроков почти не будет.избитая тема
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя Fred Perry
сообщение 16.10.2011, 13:47
Сообщение #6


Иконка группы

Стаж: 16 лет

Сообщений: 6594
Благодарностей: 2370
Полезность: 813

Цитата(cs-portal @ 16.10.2011, 11:01) *
ставь сетмастера или неставь - игроков почти не будет.избитая тема

О_о, зачем писать это если, как ты пишешь, разницы нету.


Гнилой фашистской нечисти
Загоним пулю в лоб,
Отродью человечества
Сколотим крепкий гроб!
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя papirus
сообщение 16.10.2011, 15:48
Сообщение #7


Стаж: 18 лет

Сообщений: 306
Благодарностей: 55
Полезность: 162

Если тебе дали 1 ядро. поставь mmtimer и выжми все(mm_insane 2) и vds. ~ 4000fps будет
Если 2 и более сделай привязку сервер к ядрам.
Например раньше держал 4 сервера на vds дали 8 ядер. mm_insane 0 ставил 900 fps на зм 32/32

Рейты сильно не помогут! на vds
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
FixX
сообщение 16.10.2011, 16:16
Сообщение #8
Стаж: 15 лет

Сообщений: 2200
Благодарностей: 526
Полезность: 0

Цитата(papirus @ 16.10.2011, 16:48) *
4000fps будет

дрочи дальше на циферки
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя Meelyo
сообщение 17.10.2011, 10:25
Сообщение #9
Стаж: 14 лет

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

Помогите лучше выставить рейты , чтобы пинг был получше ?
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
FixX
сообщение 17.10.2011, 10:49
Сообщение #10
Стаж: 15 лет

Сообщений: 2200
Благодарностей: 526
Полезность: 0

Цитата(Meelyo @ 17.10.2011, 11:25) *
Помогите лучше выставить рейты , чтобы пинг был получше ?

Тебе уже ответили
Это ничего не даст
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
Статус пользователя 330863
сообщение 17.10.2011, 12:56
Сообщение #11


Стаж: 16 лет

Сообщений: 4358
Благодарностей: 1079
Полезность: 497

Meelyo,
сравни пинг в кс и пинг который подсчитывается командой ping IP в cmd
Перейти в начало страницы         Просмотр профиля    Отправить личное сообщение
   + Цитировать сообщение
cs-portal
сообщение 21.10.2011, 13:12
Сообщение #12
Стаж: 16 лет

Сообщений: 8181
Благодарностей: 2709
Полезность: 0

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