Ya Aprendiste a Montar un servidor Counter Strike en Linux. Ahora te veremos como dejarlo con Multiprotocolo 47 – 48 Sin morir en el intento ;)

¿Comos? Gracias a dproto, un plugin para metamod, permite ingresar clientes con protocolos 47 y 48, steam y no-steam, en servidores de Linux y Windows.

como ya repasamos la instalación de CS Server en Linux, asumiremos en esta guía, que ya tenemos montado lo básico en nuestro servidor linux ahora procederemos con la instalación de metamod y el plugin dproto.

Requerimientos mínimos:

* Una computadora con Linux (Centoos, Debian, etc).
* Soporte SHH. Virtual Shell (recomiendo Putty)
* Conexión a Internet.
* 1,5 GB de espacio en tu disco duro.
* wget, screen y tu editor de texto favorito.
* Privilegios root

Paso 1: Instalar Metamod en Linux

1. Descárgate la ultima versión desde aquí, o escribe en consola:

wget http://downloads.sourceforge.net/project/metamod/Metamod%20Binaries/1.19/metamod-1.19-linux.tar.gz

descomprimelo y copia metamod_i386.so al siguiente directorio hlds/cstrike/addons/metamod/dlls

tar xvzf metamod-1.19-linux.tar.gz
mv metamod_i386.so /hlds/cstrike/addons/metamod/dlls/

2-. Abre el liblist.gam (localizado en el directorio de tu MOD) con un editor de textos (como por ejemplo: ‘nano’ o ‘vi’)

nano liblist.gam

Cambia esta línea:

gamedll_linux 'dlls/cs_i386.so'

Por esta:

gamedll_linux ''addons/metamod/dlls/metamod_i386.so'

Guarda y cierra el archivo.

Con esto ya tenemos MetaMod Instalado, nos queda crear el archivo metamod.ini en el directorio /cstrike/ donde iremos añadiendo los mod que queramos.

Pasemos a la instalación de dproto.

Primero que todo Descarguemos el plugins dproto_0.3.0

Luego sigamos 5 simples pasos:

  1. ir a la carpeta /addons/ y crear allí una nueva carpeta llamada dproto Copiar dproto_i386.so dentro de esta nueva carpeta “/addons/dproto/”
  2. ir al directorio de instalación del Metamod (normalmente es /addons/metamod/) y abrir el archivo plugins.ini y agrega esta linea “addons/dproto/dproto_i386.so” Siempre al inicio del archivo
  3. Copiar dproto.cfg en la carpeta principal del servidor o directorio del juego (en la msima carpeta donde esta el server.cfg (cstrike))
  4. Iniciar el servidor. deberas usar este comando: “./hlds_run -binary ./hlds_i686″
  5. cuando el servidor cargue, escribe “meta list” en la consola. veras algo como esto:

Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] dproto RUN – dproto_i386.so v0.2.6 ini Start Never
[ 2] AMX Mod X RUN – amxmodx_mm_i386. v1.8.1.3 ini Start ANY
2 plugins, 2 running

Una vez finalices esos pasos, ya tendrás tu servidor MultiProtocolo.

Versión original en Ingles.

Q: What is dproto?
A: Dproto was made as replace for cbooster on double-protocoling solutions area. dproto designed to work for new p.48 HLDS, so all steam features can be used with it. Dproto has one primary goal – to allow old clients to join new servers, all another features are secondary and they were added by users requests. Also note, that dproto is not an emulator, so dont wait unique steamid generation methods. If you want this – use server-side emulators (revEmu for exmaple).

Q: How to install dproto?
A:
Quote:
1. Go to <gamedir>/addons/ and make new directory named dproto
<gamedir> – its a game directory; cstrike for Counter-Strike, valve for Half-Life, etc
2. Copy dproto.dll or dproto_i386.so to <gamedir>/addons/dproto/
3. Go to metamod installation directory (usually its <gamedir>/addons/metamod/) and edit plugins.ini:
add this line for windows
win32 addons\dproto\dproto.dll
or this for linux
linux addons/dproto/dproto_i386.so
at the beginning of the file
4. Copy dproto.cfg to server root or gamedir.
5. Start the server. You should use this command on linux:
./hlds_run -binary ./hlds_i686

when server loads, type “meta list” in console. You’ll see something like this:
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] dproto RUN – dproto_i386.so v0.2.6 ini Start Never
[ 2] AMX Mod X RUN – amxmodx_mm_i386. v1.8.1.3 ini Start ANY
2 plugins, 2 running
6. Enjoy

Q: I installed dproto, but it does not work. meta list says this:
Code: Select all | Line number On/Off | Expand/Contract
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] dproto fail load dproto_i386.so v0.2.6 ini Start Never

A: Start server with -console +log on +mp_logecho 1 parameters and look through console output. You’ll find the reason there.

Q: AmxModX admins could not authorize using their password.
A: Just replace _pw in dproto.cfg:
Quote:
ValidInfoFields_Engine = \name\bottomcolor\topcolor\model\cl_lc\cl_lw\
cl_updaterate\cl_dlmax\rate\_pw\*hltv\password

to field that you using for keep admin password.

Q: I dont see my server in steam favorites!
A: Set ServerInfoAnswerType to 0 or 2 in dproto.cfg

Q: My server is invisible in favorites in cs v24!
A: Set ServerInfoAnswerType to 1 or 2 in dproto.cfg

Q: How to make my server visible both in old no steam clients and steam?
A: Set ServerInfoAnswerType to 2 in dproto.cfg

Q: I’m getting “Error verifying STEAM UserID Ticket(server was
unable to contact the authentication server)” error when playing on legit client.
Q: Bans for legit SteamID do not work. Users with banned IDs are able to play on server.
A: Your server can’t conect/lost connection to steam servers. I dont know universal method to check connection to steam servers (if someone know it – pls tell me). If you have VAC secured server, use stat command. If it shows version as “insecure” or “insecure (secure mode enabled, disconnected from Steam3)” it means that connection to steam servers lost. This problem is not related to dproto, but i can give some tips to fix it:
1. Check if outgoing TCP connections are allowed to destination port 27030
2. Check if outgoing UDP datagrams are allowed from local ports 2690x
3. If you using linux, you should add +ip <server ip> parameter to command line. I’m using +ip 0.0.0.0 for example and it works fine.

Temas relacionados: