|

Setting up your first
server by Joss
I'll put some notes here on setting up an Unreal Server,
since the default server settings are really not very
good especially for Unreal Gold. I'm going to assume
that you know how basic use of your computer, more than
just turning it on and playing Unreal. You should know
what a directory structure is, how to run Windows
Explorer (or My Computer), and how to run NotePad. If
you don't know these things, you shouldn't be messing
around with stuff :-) Go learn these things now. You
will need to get familiar with unreal.ini file, found in
the unreal\system directory (usually it is
c:\unreal\system or c:\unrealgold\system), and maybe the
user.ini file in the same directory. Experiment is best
way to learn, but know you can make the game not run.
Make a backup copy first! Then if you have problem,
revert to the backup copy. Change only little bits at a
time.
Many good reading on
www.UnrealSP.org (click on Coop Server Guide under
the Community heading).
Basic server starting: (Coop
Game) Start the game. Hit 'Esc' to get the game menus.
First, make sure you have the right network settings. Do
this by going to the Options menu and selecting
Preferences. In the Preferences dialog
box, choose the Network Connection tab. In the
drop down list, choose your internet connection type.
Mostly this will be modem or cable/dsl. Now from the
main menus choose Multiplayer, then select
Start New Multiplayer Game. Here you will find
several tabs for game options to set. The first tab is
Match, where you choose your game type and
starting map. Nyleve is a good start for Coop game,
since it is the first map with any real game play. The
second tab is Bots, which you won't use in Coop
game. The third tab is Server. Here you can set a
name for your server (the default of 'Another Unreal
Server' will surely mark you as a newbie). You must
check the box for Advertise Server for your game
to be seen on the internet. Also, for coop game,
ngWorldStatsLogging is meaningless, and you should
not check the Optimize for Lan box. Now you are
ready to actually start the game server. You can click
on either Dedicated or Start button. The
Start button starts the server with you in it.
This is known as a listen server (your game is listening
for other players) and gives you the zero ping*. This is
best to use if you will only run your server while you
are playing the game, or if your machine is a little
limited (memory, cpu). The Dedicated button
starts a dedicated server, that is, a copy of the
program is running that only serves the network. This is
best if you will be running the server on a separate
machine, or if the machine you run it on is very fast
with plenty of memory.
You can also start the game from an MS-DOS prompt; this
is the only way I know just now to be admin in a listen
server. You must first start the MS-DOS window. in this
window, CD to your unreal\system directory. Here you can
start a listen server similar to this:
C:\> unreal nyleve?game=unreali.coopgame -listen
OR
C:\> unreal nyleve?game=unreali.coopgame?listen
To change the difficulty setting (0-3 for the four game
settings) of your game, try this:
C:\> unreal nyleve?game=unreali.coopgame?difficulty=3
-listen
OR
C:\> unreal nyleve?game=unreali.coopgame?difficulty=3?listen
When you start a listen server this way, you are
automatically the admin. However, it seems that a listen
server is much easier to exploit than a dedicated
server. To start a dedicated server, use -server instead
of -listen.
What is ping? Ping is a
measure of the time it takes a data packet to travel
from your machine to the server and back again, and
greatly influences perceived lag in the game. Pings
below 300 are usually quite playable, 300-500 is
noticeably laggy, and above 500 gets nearly unplayable.
To improve pings on your server, start with your
unreal.ini file. In [Engine.GameEngine] section, set
CacheSizeMegs=64 (or about 2/3 to 3/4 of your total
system RAM (dedicated or listen), or 1/4 to 1/3 total
RAM if you run dedicated and client on same machine).
(If you use the unrealed.exe editor, change the
CacheSizeMegs in the editor engine section, too.) If it
is dedicated server only, set UseSound=False. You could
also remove the two lines ServerActors=...telefragged.com...
/ MasterServerPort=27500, since telefragged.com seems to
be defunct. In the [IpDrv.TcpNetDriver] section, change
these settings: MaxClientRate=10000 (depends on your
connection: 2600 for 56K, 10000 works well for DSL or
cable modem); NetServerMaxTickRate=12 (or 15, rather
then the default 20). There is much more you can read
about tuning your server. Take a look at some of the
admin readings on the links area.
How to login as Admin: in
order to be admin in your dedicated server, you must
first set an admin password. (For a listen server, see
Basic Server Starting above.) Since you cannot set
password from the game starting menus (in Gold) you will
have to do this in unreal.ini. In your unreal.ini file,
search for "adminpassword=" and add your desired admin
password(*) after the equal sign. Save the file and
start the dedicated game server. Now you need to start
the game client (the game you play) and join the server
as admin. An easy way to do this is to hit tab, and
type: "open 127.0.0.1?password=youradminpassword" (this
assumes the dedicated server is on the same machine. if
it is not, you will need the IP address of you game
server.) This also works for games on the internet that
you might have the admin pass for; you just need the IP
address which you can get from the server browser of the
game. This is also a way to join passworded games with
the game password.
*I suggest you put some non-printing characters in for
your password, but this will require a little more
knowledge to do.
Disable UPak: UPak was
delivered with Unreal Gold, and is the part that gives
you the Return To Na Pali monsters, weapons, and UPak
skins. One feature/bug of Gold/UPak skins is that anyone
dressed in a UPak skin on a Gold server may summon, and
maybe perform some other commands usually reserved for
Admins. In general this is a problem for admins, since
players will go around summoning any and everything,
making the game difficult for others and usually making
the engine unstable and likely to hang or crash. So, if
you want to disable this feature/bug, here is what you
have to do: disable UPak. And here's how: First, make
sure Unreal is not running. Find your unreal.ini file
and double click on it. You should get this file opened
in NotePad (or some other editor). Find a line in this
file that says "ServerPackages=UPak" and delete the
whole line. Save the file. The next time you run Unreal
game server, UPak will not be available for players,
they can't use the skins, and you also can not summon
UPak items (well, you *can*, but you won't see them in
the dedicated game). But you can still play the Return
To Na Pali single player game no problem. As a bonus,
Unreal patch224f and Unreal patch225f will now be able
to join your server. Only incompatibility then is Unreal
patch226f.
Firewall: You really have no
way to ban players in the Unreal game. A firewall is a
tool that can do many things, and for Unreal server
allows you to ban specific players (by their IP
address). The firewall I use is from
www.sygate.com but
another very good firewall can be found at
www.iss.net. Here is a
site regarding firewall selections:
http://www.firewallguide.com/
Respawning Weapons:
If you want your coop game to respawn weapons you will
have to do that in the unreal.ini file. In unreal.ini,
find the [UnrealShare.CoopGame] section, and change "bCoopWeaponMode"
from True to False. If you don't do this, then players
can only pick up any weapon once and then must find the
ammos for it in the game. Respawning weapons allows the
player to collect the weapon many times and get ammo
filled.
Connection tuning. If you want to run a server you
probably have cable modem or DSL service. You can also
run a marginal server with a dial-up modem (56K). I'll
come to this later. In the meantime, take a look at the
links above.
 |
|