Имею три сервера на одном pc (port's :27015 , :27016 и :27017) ,хочу соединить чат между ними, и чет не доперает как заставит работать этот plugin
http://forums.alliedmods.net/showthread.php?t=62279 Там на 3 странице был уже такой вопрос но както все равно не пойму ...
Quote (Alka)
Man, let the default port "18107" and you must do in this way:
1.Take the plugin...here
Code:
Code
register_cvar("serverlist","10.20.139.2:27016 ;10.20.139.2:27018",FCVAR_SERVER)
add a ";" at the end of last ip too look like this
Code:
Code
register_cvar("serverlist","10.20.139.2:27016;10.20.139.2:27018;",FCVAR_SERVER)
2. Let's say that you'r ip is 10.0.0.0.
Master: 10.0.0.0:27015
SERVER A: 10.20.139.2:18107
SERVER B: 10.20.139.2:18107
Then on server MASTER you must put the "serverlist" cvar like this
Code:
Code
register_cvar("serverlist","10.20.139.2:18107;10.20.139.2:18107;",FCVAR_SERVER)
Then on server A you must put the "serverlist" cvar like this
Code:
Code
register_cvar("serverlist","10.0.0.0:18107;10.20.139.2:18107;",FCVAR_SERVER)
Then on server B you must put the "serverlist" cvar like this
Code:
Code
register_cvar("serverlist","10.0.0.0:18107;10.20.139.2:18107;",FCVAR_SERVER)
and done. You will see al chat's.
Note: Don't matter waht you'r server port is , put the Ip and DEFAULT socket port "18107" ; "10.1.1.2:18107" ;)
Там както 3 сервера получается MASTER , A и B ...
Если кто знает как сделать помогите.
Добавлено (2009-04-07, 0:15 Am)
---------------------------------------------
Нужна помощ