[HOW TO] Host a *dedicated* server, configure, setup webadmin - updated
*Edited with additional tips from the thread*
I'm not an expert with T:V's server yet, I do, however, have a bit more experience than someone jumping straight into it. Sharing some of the absolute basics of getting the server up and running here. I will add additional tips/advice to the first post if anyone wants to contribute.
99% of the "Another TV Server" servers are listen servers, which are lagging like mad. Here's how to get a dedicated server up and running.
Alternatively, you can add one username/password to your shortcut and then configure additional admins in the web interface (next). To do this, add ?AdminName=administrator?AdminPassword=pass to your shortcut so it looks something like:
\bin\Tribesv_mpbeta_en.exe mp-isle?maxplayers=21?AdminName=administrator?AdminPassword=pass -server
^^ That may be easier since you don't have to bother with tribesadmin.ini
Those of you familiar with UT2k3/UT2k4 servers are familiar with the web admin interface. Irrational has brought this incredibly useful tool over to T:V as well.
Open the afromentioned tribesv_mpbeta_en.ini file and find the section labeled [UWeb.WebServer]. The defaults look something like:
Change bEnabled to True to enable the admin interface on HTTP port 80. To change the default port, add a line in this section that reads: ListenPort=8080 (or whatever port you choose). In the end, it should look like:
You can access web admin by pointing your browser to the server IP/port. If it's running on your local PC with the above settings, http://localhost:8080 will work. Log in with the user/pass you set up in TribesAdmin.ini.
To specify which INI to use for server config. Useful for multiple instances from same directory:
To specify which IP to bind to - In ut2k4 this went in the shortcut, does NOT appear to be working:
To specify which PORT to bind to - In ut2k4 this went in the shortcut, does NOT appear to be working:
To specify where to log to:
A full shortcut with some of these may look like:
Copied straight from my server - self explanatory.
TO ENABLE GAME PASSWORD
PERFORMANCE AFFECTING INI SETTINGS
There are a few important settings in the [IpDrv.TcpNetDriver] area of the ini which may be of use to those of you who want to play around and tweak for the best performance out of your server.
I'm by no means an expert here.
MaxClientRate
The default value is 20000. I have found personally found that setting this to 10000 reduces overall complaints of lag *in my case*. I believe this prevents those who use LAN connection mode in their client from flooding their own connections with too much information (not sure). May also reduce server cpu usage (again not sure).
NetServerMaxTickRate=20
I have not changed this from the default value. Be very careful here - this has a huge effect on gameplay and server CPU utilization. I can't explain this setting any better than UnrealAdmin.org's tickrate article does. Give this a read when you have time - and give it a complete read. Do not play with the tickrate if you don't understand what it's going to do. I think the default value is pretty good.
Log out to log in as another user
adminlogout
Login
adminlogin Name Password
Kick somebody
admin kick PlayerName
Ban somebody
admin ban PlayerName
how do i admin someone on a server
admin promote PlayerName (i think)
1. Remove read-only attribute on the file /program/bin/default.ini
2. Under [Engine.GameEngine] add EnableCheatProtection=False
With the default settings, my 24 man CTF server (]CkB[ Don't Ask Don't Tell) hovers at 70% CPU usage under Emerald on a P4 2.8 with 1gb RAM. At a quick glance, I am averaging 1.0Mbit/s out and 500Mbit/s in according to my RTG graphs.
THANKS CANDYMAN, HELADO, RUSS, DR. CHMOD FOR SOME OF THIS INFO
KineticPoet said:There's a stripped down build of the dedicated server that we created for free download. This has no CD checking in it. This build is in VUG's hands for approval and distribution. It's unfortunate that this build is not already available to you, but I'm afraid I don't have any more information at this time,
KP
*Edited with additional tips from the thread*
I'm not an expert with T:V's server yet, I do, however, have a bit more experience than someone jumping straight into it. Sharing some of the absolute basics of getting the server up and running here. I will add additional tips/advice to the first post if anyone wants to contribute.
99% of the "Another TV Server" servers are listen servers, which are lagging like mad. Here's how to get a dedicated server up and running.
---------Step 1 - Initial Configuration - Straight from Thrax...---------
Thrax Panda said:Easy:
First go to the programs\bin directory and open your tribesv_mpbeta_en.ini file. Search for "servername=" and change your server name.
Penultimately, edit your tribesAdmin.ini and change the password.
Finally, change the short cut to lauch TV to read something like:
\bin\Tribesv_mpbeta_en.exe mp-isle?maxplayers=21 -server
Alternatively, you can add one username/password to your shortcut and then configure additional admins in the web interface (next). To do this, add ?AdminName=administrator?AdminPassword=pass to your shortcut so it looks something like:
\bin\Tribesv_mpbeta_en.exe mp-isle?maxplayers=21?AdminName=administrator?AdminPassword=pass -server
^^ That may be easier since you don't have to bother with tribesadmin.ini
---------Step 2 - SETTING UP WEB ADMIN---------
Those of you familiar with UT2k3/UT2k4 servers are familiar with the web admin interface. Irrational has brought this incredibly useful tool over to T:V as well.
Open the afromentioned tribesv_mpbeta_en.ini file and find the section labeled [UWeb.WebServer]. The defaults look something like:
Code:
[UWeb.WebServer]
Applications[0]=TribesWebAdmin.TribesServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=TribesWebAdmin.TribesImageServer
ApplicationPaths[1]=/images
DefaultApplication=0
bEnabled=False
Change bEnabled to True to enable the admin interface on HTTP port 80. To change the default port, add a line in this section that reads: ListenPort=8080 (or whatever port you choose). In the end, it should look like:
Code:
[UWeb.WebServer]
Applications[0]=TribesWebAdmin.TribesServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=TribesWebAdmin.TribesImageServer
ApplicationPaths[1]=/images
DefaultApplication=0
bEnabled=True
ListenPort=8080
You can access web admin by pointing your browser to the server IP/port. If it's running on your local PC with the above settings, http://localhost:8080 will work. Log in with the user/pass you set up in TribesAdmin.ini.
---------Additional Engine Options---------
To specify which INI to use for server config. Useful for multiple instances from same directory:
ini=tribesv_mpbeta_en.ini
To specify which IP to bind to - In ut2k4 this went in the shortcut, does NOT appear to be working:
multihome=192.168.1.8
To specify which PORT to bind to - In ut2k4 this went in the shortcut, does NOT appear to be working:
port=7777
To specify where to log to:
log=tribesv_mpbeta_en.log
A full shortcut with some of these may look like:
Tribesv_mpbeta_en.exe mp-isle?maxplayers=24?AdminName=admin?AdminPassword=X XXXXX -server ini=tribesv_mpbeta_en.ini log=tribesv_mpbeta_en.log port=7777
---------Additional tribesv_mpbeta_en.ini SETTINGS---------
Copied straight from my server - self explanatory.
Code:
[Engine.GameReplicationInfo]
ServerName=]CkB[ Dont Ask Dont Tell
AdminName=TySoft
AdminEmail=tysoft@teamwarfare.com
ShortName=CkB DADT
MOTDLine1=Welcome, enjoy the game!
MOTDLine2=Add -console to enable the console in your client.
MOTDLine3=Then press tab to access it.
MOTDLine4=
TO ENABLE GAME PASSWORD
Code:
[Engine.AccessControl]
IPPolicies=ACCEPT,*
GamePassword=PASSWORDHERE
LoginDelaySeconds=1.000000
PERFORMANCE AFFECTING INI SETTINGS
There are a few important settings in the [IpDrv.TcpNetDriver] area of the ini which may be of use to those of you who want to play around and tweak for the best performance out of your server.
I'm by no means an expert here.
MaxClientRate
The default value is 20000. I have found personally found that setting this to 10000 reduces overall complaints of lag *in my case*. I believe this prevents those who use LAN connection mode in their client from flooding their own connections with too much information (not sure). May also reduce server cpu usage (again not sure).
NetServerMaxTickRate=20
I have not changed this from the default value. Be very careful here - this has a huge effect on gameplay and server CPU utilization. I can't explain this setting any better than UnrealAdmin.org's tickrate article does. Give this a read when you have time - and give it a complete read. Do not play with the tickrate if you don't understand what it's going to do. I think the default value is pretty good.
---------Additional ADMIN CONSOLE COMMANDS---------
Log out to log in as another user
adminlogout
Login
adminlogin Name Password
Kick somebody
admin kick PlayerName
Ban somebody
admin ban PlayerName
how do i admin someone on a server
admin promote PlayerName (i think)
---------TO PREVENT PLAYERS FROM DEAD STOPPING DUE TO ANTI SPEEDHACK CODE---------
1. Remove read-only attribute on the file /program/bin/default.ini
2. Under [Engine.GameEngine] add EnableCheatProtection=False
With the default settings, my 24 man CTF server (]CkB[ Don't Ask Don't Tell) hovers at 70% CPU usage under Emerald on a P4 2.8 with 1gb RAM. At a quick glance, I am averaging 1.0Mbit/s out and 500Mbit/s in according to my RTG graphs.
THANKS CANDYMAN, HELADO, RUSS, DR. CHMOD FOR SOME OF THIS INFO
Last edited: