Не виден в интернете сервер, командой connect идет подключение, настройки |
Здравствуйте, гость Вход | Регистрация
Наши новости:
|

|
|
Не виден в интернете сервер, командой connect идет подключение, настройки |
Venom2013
|
28.1.2016, 19:10
Сообщение
|
|
|
Fred Perry, Dproto включен последней версии с вышеописанными настойками пытался добавить на любой мониторинг сервер - пишут что сервер оффлайн.скрипт запуска #!/bin/bash # Counter Strike # Server Management Script # Author: Daniel Gibbs # Website: http://gameservermanagers.com if [ -f ".dev-debug" ]; then exec 5>dev-debug.log BASH_XTRACEFD="5" set -x fi version="271215" #### Variables #### # Notification Email # (on|off) emailnotification="off" email="email@example.com" # Steam login steamuser="anonymous" steampass="" # Start Variables defaultmap="de_dust2" maxplayers="32" port="27015" clientport="27005" ip="91.229.216.33" updateonstart="off" # https://developer.valvesoftware.com/wiki/Co...ne_parameters_2 fn_parms(){ parms="-game cstrike -strictportbind +ip ${ip} -port ${port} +clientport ${clientport} +map ${defaultmap} -maxplayers ${maxplayers}" } #### Advanced Variables #### # Github Branch Select # Allows for the use of different function files # from a different repo and/or branch. githubuser="dgibbs64" githubrepo="linuxgsm" githubbranch="master" # Steam appid="90" appidmod="cstrike" # Server Details servicename="server" gamename="название моего сервера" engine="goldsource" filesdir="cstrike" # Directories rootdir="$(dirname $(readlink -f "${BASH_SOURCE[0]}"))" selfname="$(basename $(readlink -f "${BASH_SOURCE[0]}"))" lockselfname=".${servicename}.lock" filesdir="${rootdir}" systemdir="${filesdir}" executabledir="${filesdir}" executable="./hlds_run" servercfg="cstrike/server.cfg" servercfgdir="${filesdir}" servercfgfullpath="${servercfgdir}/${servercfg}" servercfgdefault="${servercfgdir}/lgsm-default.cfg" backupdir="${rootdir}/backups" # Logging logdays="7" gamelogdir="${systemdir}/logs" scriptlogdir="${rootdir}/log/script" consolelogdir="${rootdir}/log/console" scriptlog="${scriptlogdir}/${servicename}-script.log" consolelog="${consolelogdir}/${servicename}-console.log" emaillog="${scriptlogdir}/${servicename}-email.log" scriptlogdate="${scriptlogdir}/${servicename}-script-$(date '+%d-%m-%Y-%H-%M-%S').log" consolelogdate="${consolelogdir}/${servicename}-console-$(date '+%d-%m-%Y-%H-%M-%S').log" ##### Script ##### # Do not edit fn_getgithubfile(){ filename=$1 exec=$2 fileurl=${3:-$filename} filepath="${rootdir}/${filename}" filedir=$(dirname "${filepath}") # If the function file is missing, then download if [ ! -f "${filepath}" ]; then if [ ! -d "${filedir}" ]; then mkdir "${filedir}" fi githuburl="https://raw.githubusercontent.com/${githubuser}/${githubrepo}/${githubbranch}/${fileurl}" echo -e " fetching ${filename}...c" if [ "$(command -v curl)" ]||[ "$(which curl >/dev/null 2>&1)" ]||[ -f "/usr/bin/curl" ]||[ -f "/bin/curl" ]; then : else echo -e "e[0;31mFAILe[0mn" echo "Curl is not installed!" echo -e "" exit fi curl=$(curl --fail -o "${filepath}" "${githuburl}" 2>&1) if [ $? -ne 0 ]; then echo -e "e[0;31mFAILe[0mn" echo "${curl}" echo -e "${githuburl}n" exit else echo -e "e[0;32mOKe[0m" fi if [ "${exec}" ]; then chmod +x "${filepath}" fi fi if [ "${exec}" ]; then source "${filepath}" fi } fn_runfunction(){ fn_getgithubfile "functions/${functionfile}" 1 } core_functions.sh(){ # Functions are defined in core_functions.sh. functionfile="${FUNCNAME}" fn_runfunction } core_functions.sh getopt=$1 core_getopt.sh
Fred Perry, Я Вас только не понял как проверить в МС его? статус сервера через консоль Distro Details ================================================================================ ================= Distro: "CentOS release 6.7 (Final)" Arch: x86_64 Kernel: 2.6.32-573.12.1.el6.centos.plus.x86_64 Hostname: serverONE tmux: tmux 1.6 GLIBC: 2.12 Performance ================================================================================ ================= Uptime: 10d, 15h, 12m Avg Load: 0.02, 0.01, 0.00 Mem: total used free Physical: 3.7G 3.6G 126M Swap: 6.0G 132K 6.0G Server Details ================================================================================ ================= Server name: Server IP: 91.229.216.33:27015 RCON password: Server password: NOT SET Status: ONLINE csserver Script Details ================================================================================ ================= Service name: server csserver version: 271215 User: cs GLIBC required: 2.07 Email notification: off Update on start: off Location: /home/cs/servers/csclassic Config file: /home/cs/servers/csclassic/cstrike/server.cfg Backups ================================================================================ ================= No Backups created Command-line Parameters ================================================================================ ================= ./hlds_run -game cstrike -strictportbind +ip 91.229.216.33 -port 27015 +clientport 27005 +map de_dust2 -maxplayers 32 Ports ================================================================================ ================= Change ports by editing the command-line parameters in csserver. Useful port diagnostic command: netstat -atunp | grep srcds_linux DESCRIPTION DIRECTION PORT PROTOCOL > Game/RCON INBOUND 27015 tcp/udp < Client OUTBOUND 27005 udp Status: ONLINE |
|
|
|
Fred Perry
|
28.1.2016, 20:50
Сообщение
|
![]() ![]() |
![]() You become responsible, forever, for what you have tamed
|
|
|
|
Venom2013
|
28.1.2016, 21:15
Сообщение
|
|
|
|
|
|
|
energydance
|
28.1.2016, 21:17
Сообщение
|
![]() |
![]() Press enter to exit ...
|
|
|
|
Venom2013
|
28.1.2016, 21:17
Сообщение
|
|
|
|
|
|
|
ayabo
|
28.1.2016, 21:18
Сообщение
|
![]() |
Не reHLDS часом?
|
|
|
|
adva
|
28.1.2016, 21:20
Сообщение
|
![]() ![]() |
|
|
|
|
Venom2013
|
28.1.2016, 21:31
Сообщение
|
|
|
Просыпаюсь впервые, т.к. это второй аккаунт
|
|
|
|
Bloo
|
29.1.2016, 6:24
Сообщение
|
![]() |
|
|
|
|
Venom2013
|
29.1.2016, 9:44
Сообщение
|
|
|
|
|
|
|
Venom2013
|
29.1.2016, 16:10
Сообщение
|
|
|
|
|
|
|
![]() ![]() |