▲ Наверх
Время на сайте
Текущее время на сайте

Текущая дата на сайте
На сайте...
Всего на сайте: 23
Гостей: 21
Пользователи: 
- отсутствуют
Роботы: 
Google
Голосование

Ваш любимый шутер от Valve?

Half-Life (все части)
CS 1.6
CS:S v.34
CS:S v2230303
CS:GO

 
 

Instruction to install RevEmu on CS:GO server (Linux)

Stanly
30 мая 2015 11:39
   Сообщение #1

Храброе сердце
  • 150
Награды:
 
Репутация: 82
Группа: Пользователи
Сообщений: 1780
Регистрация: 7.11.2012

Предупреждения:
Instruction to install RevEmu on CS:GO server (Linux):

[RevEmu] - the folder in which you unzipped the latest version of RevEmu (at the moment from 01.08.2015)
[ServerRoot] - the root folder of your server (where located file srcds.exe or srcds_run)

1. Install server CS:GO using SteamCMD and install / update MetaMod last version (stable branch) and SourceMod last version (stable branch) on the server.
2. Download the latest version of RevEmu (at the moment from 01.08.2015)
3. Open folder [RevEmu]/linux/ and copy file rev.ini to [ServerRoot], file steam_appid.txt no need to copy
4. After that open folder [ServerRoot]/bin and rename original library steamclient.so to steamclient_valve.so
5. From folder [RevEmu]/linux/bin copy library steamclient.so to [ServerRoot]/bin
6. Open file [ServerRoot]/csgo/cfg/server.cfg (if you don't have this file, you need create it) using notepad and change parameter sv_lan to "0". If you don't have that parameter, then add it in end of file. And you need to write these lines: "host_info_show 2" and "host_players_show 2" (without quotes). After that save file.
7. Open your bat file (file, which launching your server) and add to it next parameters: +sv_pure 0 and +sv_lan 0
8. In the file [ServerRoot]\rev.ini uncomment next line: "#EnableNSNetSvc = UDP". Should be = "EnableNSNetSvc = UDP" (without quotes). And line "#DisableUnlockedItems = True" - have to be comment or like this: "DisableUnlockedItems = False" (without quotes)
9. Now on the server machine you should open the certain port as UDP. The number of this port depends on the port of your server using the following formula: 27015 (let's say it's the port of your server) - 5000 (fixed value) = 22015 (this port you need to open as UDP). Without this port no-steam players won't be able to connect to your server. It is responsible for create lobby for no-steam players and for send items (weapons, knives, stickers, etc) on the server and back to clients.
10. Launch your server and try connect using no-steam client, which you can download from this page

How to open port 22015 (let's say this is your calculated port according to the formula specified above in the ninth paragraph) on my server machine:

If your server is on hosting:
1. On hosting you usually don't have permission to open or close ports, so you should test if this port is opened or not (i wrote about it below) and then write to support of hosting and ask to open port 22015 as UDP

If your server is on your PC (Linux):
1. You can do it via iptables
2. You should write this command to open port 22015:

iptables -A INPUT -p udp --dport 22015 -j ACCEPT

If your server is on your PC (Windows):
1. You should open settings of your router -> Forwarding -> Virtual servers and then you should add port 22015 as UDP

If your server is on your PC (MAC):
1. Look this video on youtube and you will understand how you can do it

How test if port 22015 (let's say this is your calculated port according to the formula specified above in the ninth paragraph) is opened on my server machine or not:

1. Before start writing to support of hosting, you should test if port 22015 is opened as UDP or not. To test it you should install nmap on your PC. How to install nmap on Linux, on Windows and on Mac OS X.
2. nmap command for get info about port 22015:

nmap -sU xxx.xxx.xxx.xxx -p 22015 // it's UDP scanning (which you need)
nmap -sV ххх.ххх.ххх.ххх -p 1-65535 // it's TCP scanning with all ports

If you will get answer like this:

22015/udp open
or
22015/udp open|filtered

Then you should try to connect to your server via no-steam client. If you can't connect to your server and you sure that you install RevEmu like in tutorial then you should write to support of hosting and ask to open port 22015 as UDP in order to no-steam players will be able to connect to your server.

If you will get answer like this:

22015/udp closed

It means that port 22015 is closed and you should write to support of hosting immediately and ask to open port 22015 as UDP in order to no-steam players will be able to connect to your server.

In order to all weapons and stickers will work on your server, you need:

1. In the file [ServerRoot]\rev.ini uncomment next line: "#EnableNSNetSvc = UDP". Should be = "EnableNSNetSvc = UDP" (without quotes). And line "#DisableUnlockedItems = True" - have to be comment or like this: "DisableUnlockedItems = False" (without quotes)
2. On the server machine port 22015 (let's say this is your calculated port according to the formula specified above in the ninth paragraph) should be opened as UDP. It is responsible for send items on the server and back to clients.
3. And restart your server.
Stanly
8 июня 2015 11:10
   Сообщение #2

Храброе сердце
  • 150
Награды:
 
Репутация: 82
Группа: Пользователи
Сообщений: 1780
Регистрация: 7.11.2012

Предупреждения:
Instruction was updated.
Stanly
14 июня 2015 00:06
   Сообщение #3

Храброе сердце
  • 150
Награды:
 
Репутация: 82
Группа: Пользователи
Сообщений: 1780
Регистрация: 7.11.2012

Предупреждения:
Instruction was updated.
Stanly
4 августа 2015 12:17
   Сообщение #4

Храброе сердце
  • 150
Награды:
 
Репутация: 82
Группа: Пользователи
Сообщений: 1780
Регистрация: 7.11.2012

Предупреждения:
Instruction was updated.
loaded
12 октября 2015 23:13
   Сообщение #5

Юнец
  • 0
Награды:

Репутация: 0
Группа: Пользователи
Сообщений: 6
Регистрация: 26.01.2015

Предупреждения:
Dont work :((( all port open al update is on server!

why dont work Connecting to public(5.189.155.188:27015) ...
Server using 'public' lobbies, requiring pw no, lobby id ffffffffffffffff
pls help

server on linux dedicat
Stanly
13 октября 2015 09:11
   Сообщение #6

Храброе сердце
  • 150
Награды:
 
Репутация: 82
Группа: Пользователи
Сообщений: 1780
Регистрация: 7.11.2012

Предупреждения:
loaded,
it means, that you did something wrong.
Most likely port 22015 isn't opened.
loaded
13 октября 2015 20:16
   Сообщение #7

Юнец
  • 0
Награды:

Репутация: 0
Группа: Пользователи
Сообщений: 6
Регистрация: 26.01.2015

Предупреждения:
is open man!! i dont know i update all metamod, source mod last update rev.ini all is update ..
1чел. читают эту тему (гостей: 1)
Пользователей: 0

  Сейчас: 22 октября 2018 02:03