Jump to content

Nolf 2 Dedicated Server Setup


Recommended Posts

This is from the Nolf 2 Server Readme (Game CD) As of course if you need any assistance Post you specific issue and we'll get it resolved for you

 

 

Nolf 2 Standalone Server

Version 1.3

Readme File

February 3, 2002

 

***************************************************************************

 

About This Document:

 

This document contains information about setting up and running the Nolf 2

Standalone Server application as well as important information for operators

of Nolf 2 multiplayer Hosts. Please be sure to read the Nolf 2 Manual and

Readme file included on your Nolf 2 CD as well as the v1.2 Readme file

supplied with the update before attempting to run a dedicated server.

 

***************************************************************************

 

TABLE OF CONTENTS

 

I. System Requirements

II. Setting up your Server

III. Running a Server

IV. The SCMD System

V. SCMD Commands

VI. Advanced/Debug commands

VII. Limiting Bandwidth

VIII. Recommended Player Limits

IX. Dedicated servers and Hardware T&L

 

 

I. System Requirements

===========================================================================

 

The following items are required to run a Nolf 2 dedicated server

 

1. A broadband Internet connection or LAN connection

2. A FULL installation of No One Lives Forever 2. The dedicated server cannot

operate with a minimum installation.

3. A system that meets or exceeds the minimum system requirements for the game,

which are:

 

* Windows 98,Windows98 SE, Windows ME, Windows 2000 or Windows XP.

* 500 MHz Pentium® III or equivalent processor.

* 128 MB RAM (256MB for Windows XP)

* A 32MB Hardware T&L video card

* A 16-bit DirectX compatible sound card with support for EAX 2.0.

 

NOTE: It is possible to run a dedicated server on a machine without a hardware

T&L card. Please see the section near the bottom of this document entitled

"Dedicated servers and Hardware T&L" for details.

 

 

II. Setting up your Server

===========================================================================

 

To set up a server, just follow these steps:

 

1. Select Multiplayer (Internet) or Multiplayer (LAN) from the main menu

2. Select the game type (i.e. Cooperative or Deathmatch)

3. Click Host

4. Set your game options and levels. For help, please see pages 12-14 of

your game manual.

5. For the Dedicated Server option, select Yes.

6. Click Launch.

 

The game application will now close, and the standalone server application

will start. Once your server is running, clients can search for and join it

in the same way they would a normal host.

 

Once your server is configured and launched for the first time, you will

only need to run the game application again if you wish to change settings.

If you have shut the server down and want to launch it again with the same

game mode, options, and levels, you can simply double click on the

Nolf2Serv.exe file in your Nolf2 installation folder.

 

NOTE: Server options are specific to player profiles. If you have more than

one player profile, and you run your server by doubleclicking on the

executable, you will be prompted for the profile that you want to use.

If you are running your server from a batch file or the command line and

you want to specify which profile to use, add "-profile (profile name)" to

the command like this:

 

Nolf2Serv.exe -profile player

 

III. Running your Server

===========================================================================

 

When the server starts running, the following information appears:

 

 

SERVER INFO

-----------

 

SERVER NAME: This is the name of your server as seen by players when

they are searching for servers to join.

 

GAME TYPE: Displays the game mode that the server is currently

running, such as Deathmatch or Cooperative.

 

RUNNING TIME: The time elapsed since the server was launched.

 

PEAK PLAYERS: This shows the highest number of players that were on your

server at one time.

 

TOTAL PLAYERS: This shows the total number of players that have joined

your server since it was last launched.

 

STOP SERVER: This will shut down the server.

 

 

PLAYERS

-------

 

PLAYERS: This section provides information about the players that

are currently connected to the server, including their

player name, ping, kills, tags, score, and the time elapsed

since they began playing.

 

CURRENT PLAYERS: This shows the number of players currently

connected and the maximum number of players you

specified when you launched the server.

 

AVERAGE PING: The average ping of the players currently connected to your

server.

 

BOOT PLAYER: Clicking this button will disconnect the player whose name

is currently highlighted. To highlight a player name, just

click on it.

 

MISSIONS

--------

 

This window shows a list of missions with current level that the server

will be running and the order in which they will run. The current mission

is indicated with a black dot to the left of its name.

 

TIME IN LEVEL: This shows the time elapsed since the level was loaded.

 

NEXT MISSION: Ends the current level and immediately loads the next

mission.

 

SELECT MISSION: Ends the current mission and immediately loads the

highlighted mission. Double clicking on the level name

will have the same effect.

 

CONSOLE

-------

 

This shows a scrolling display of the server's internal commands and status.

Player chat, connections, disconnections, and other text is also displayed

here.

 

You can use the console to enter commands to control and maintain your

server. Please see the SCMD and advanced commands sections below for more

information on this topic.

 

 

IV. THE SCMD SYSTEM

===========================================================================

 

The SCMD interface is used to execute server side commands through a text

based console. SCMD sends commands to the server to control settings from

the hosting client, a remote client or the standalone server. It offers a

generalized user interface that works on all three of these entry points.

On a hosted or remote client, commands are entered through the chat

interface. On the Stand-alone server, commands are entered through the

console interface.

 

To use SCMD, just follow these steps:

 

1. Before launching your server (either hosted or dedicated), set the

"Allow SCMD" option to "Yes" and then specify a password.

2. Launch the server.

3. Type SCMD and press <Enter> on the command line of your dedicated

server, or in the chat interface on a host or client to see a list of

available commands. You will need to scroll up to see the entire list.

4. Log in to the system by typing SCMD followed by the password that you

specified in the host options.

 

Once you have successfully logged in, you can then use any of the other

SCMD commands. Note that only one host or client can be logged into the

system at once. The format for all SCMD commands is:

 

SCMD command [arg1] [...]

 

Example: You are logged into SCMD through a client connected to a

dedicated server, and one of the other players becomes abusive. With SCMD,

you can boot the player through your client like this:

 

Type "SCMD listclients". This will display text similar to the following:

 

Client List format: clientid) [name][ping][ip]

0) [smiley][0][0.0.0.0]

1) [Cheater][80][123.456.789.012]

2) [Player0][120][321.654.987.210]

 

From here, you can type "SCMD bootname Cheater", or "SCMD bootid 1" to

remove the problem player from the server.

 

Then, if the player logs in again and continues to cause trouble, you can

locate his IP address from the client list, and then ban that IP. For

instance, if the IP address was 123.456.789.012, you would ban it by typing

"SCMD addban 123.456.789.012". For a full list of commands, please see the

section below.

 

 

V. SCMD COMMANDS

===========================================================================

 

Following is the list of commands currently supported by SCMD:

 

Command Description

---------------------------------------------------------------------------

Help Shows a list of all commands

Login Logs into server.

Logout Logs out of server.

ListClients Lists all clients connected.

BootName Boots a player by name

BootId Boots a player by clientid

ListBans Shows all currently banned IP's.

AddBan Bans IP with mask support

(e.g. 123.456.789.012 or 123.456.789.*)

RemoveBan Removes an IP from the banned list.

BanClient Adds a client's IP to the list of bans.

ListMissions List all missions in current campaign.

Nextmission Goes to next mission

SetMission Sets the mission by mission index.

ListGameOptions List all game options that can be set.

SetGameOption Sets a game option by its index.

 

 

VI. ADVANCED/DEBUG COMMANDS

===========================================================================

 

Advanced commands can only be entered via the dedicated server command line

and not through the SCMD interface.

 

Command Description

---------------------------------------------------------------------------

Say Allows the server operator to chat with players.

Chat text must be contained within quotes.

LeashLen Specifies the allowable distance between the

client's position and where the server thinks the

client should be. Defaults to 16.0.

LeashSpring Specifies the distance inside of which the server

will interpolate the server's position to match

the client's position. Outside of this distance,

the server's position will be forced to the

client's position. Defaults to 50.0.

LeashSpringRate Defines how quickly the interpolation will happen

between the server and client positions, in the

range 0.0-1.0. Lower numbers lead to slower

interpolation.(Which gives smoother movement,

but greater error.) 0.0 will stay at the server's

position, and 1.0 will teleport the server object

to the client's position. The default value is 0.3.

BandWidthTargetServer Target bytes per second to send over the network

layer. This MUST be set correctly to avoid send

overflow. For a detailed explanation of how to use

this feature, please see the section of this

document labeled "limiting bandwidth".

IPDebug Show debug messages for the TCP/IP layer (addresses

& ports for connection/disconnection/etc.) (0 or 1)

ShowConnStats Turn on the connection bandwidth usage spew.(0 or 1)

 

 

VII. Limiting Bandwidth

===========================================================================

 

Nolf 2 allows server operators to limit the amount of data that's being

sent to players on high bandwidth connections. When used correctly,

this feature can greatly improve performance.

 

You can adjust your bandwidth limit in the host options screen before

launching your server via the bandwidth or custom bandwidth options.

 

The preset values available to you are as follows:

 

Preset Max bandwidth

------ -------------

56k 56kbps

DSL (low) 128kbps

DSL (High) 256kbps

Cable 256kbps

T1 1500kbps

T3 10000kbps

 

When you first set up your server, you should set this option to match as

closely as possible with the upstream bandwidth rating of your Internet

connection. This information can be obtained from your ISP. If none

of the available options are suitable for your connection, use the custom

bandwidth setting to enter the correct value.

 

Dedicated server operators can fine tune this setting in the console

while the server is actually running. To do this, just type

"BandWidthTargetServer" and the value you wish to use in the console,

and then press <Enter>. Values entered must be in bytes per second, not

Kilobytes per second. For instance, if you wanted to change the maximum

upstream bandwidth to 128k, the bandwidthtargerserver valirable should

be changed to 128 x 1024, which equals 131072.

 

The final comand in the console would then be:

 

BandWidthTargetServer 131072

 

NOTE: It is VERY imporant that you set this value correctly. Setting

the limit too high may result in very poor performance for players

with a high ping. Similarly, setting it too low may result in choppiness

for low ping players. You may want to experiment with different values to

find the best setting for your particular situation.

 

 

VIII. Recommended Player Limits

===========================================================================

 

The number of players that your server can realistically handle depends

heavily on your connection speed. Use the table below to determine the

maximum number of players you should specify in the host options when

setting up your server.

 

Connection # of Players

--------------------------------------------------------------

56K | 2 (including host) |

128k Upstream (low-end DSL) | 4 |

256k Upstream (High-end DSL/Cable | 8 |

1500k+ (T1-T3) | 16 |

--------------------------------------------------------------

 

 

IX. Dedicated Servers and Hardware T&L

===========================================================================

 

The dedicated server does not require a hardware T&L enabled graphics card.

Unfortunately, the Nolf2 menu interface that must be used to set up your

server does. This can present a problem for server operators who don't want

to devote a T&L card to a machine that will only be used for this purpose.

 

However, there is a way around this. When you set up your server, the data

is saved to your player profile and other mode-related text files.

If you install to a machine without a hardware T&L card, and then copy these

files over to that machine, then you can run a server from the command line

without ever launching Nolf2.

 

Here's the list of files and folders that you will need to copy in order to

do this (assuming you installed to the default folder).

 

C:\Program Files\Fox\No One Lives Forever 2\profiles

C:\Program Files\Fox\No One Lives Forever 2\DMMissions.txt

C:\Program Files\Fox\No One Lives Forever 2\TDMMissions.txt

C:\Program Files\Fox\No One Lives Forever 2\DDMissions.txt

 

Link to comment
Share on other sites

  • 2 weeks later...

Can Someone write the command on the console to :

 

Change the

- size of the jump

- time the reload of weapons

 

and other Things like this

 

I really don't know them, Thank You !

Link to comment
Share on other sites

  • 3 months later...

I have a few other "tweaks" to optimize the settings I've learned over the last couple years. If someone is setting up a server I'd be glad to help them out.

Link to comment
Share on other sites

  • 1 month later...
I have a few other "tweaks" to optimize the settings I've learned over the last couple years. If someone is setting up a server I'd be glad to help them out.

10401[/snapback]

 

Yeah I would love to change some more settings like this laugh.gif

Link to comment
Share on other sites

  • 1 year later...

I'm setting up a server for NOLF2 with the original missions for coop multiplayer. the problem i'm running into is the SCMD SETGAMEOPTION syntax. I"m trying to adjust RunSpeed & JumpSpeed higher, but when I type SCMD LISTGAMEOPTIONS there's only 3 indexes visible. I type SCMD SETGAMEOPTION RUNSPEED 3 and theres' no change in performance.

 

Does anyone know the correct syntax for setgameoption or do i need to change a parameter in one of the files first?

 

Link to comment
Share on other sites

I'm setting up a server for NOLF2 with the original missions for coop multiplayer. the problem i'm running into is the SCMD SETGAMEOPTION syntax. I"m trying to adjust RunSpeed & JumpSpeed higher, but when I type SCMD LISTGAMEOPTIONS there's only 3 indexes visible. I type SCMD SETGAMEOPTION RUNSPEED 3 and theres' no change in performance.

 

Does anyone know the correct syntax for setgameoption or do i need to change a parameter in one of the files first?

 

Yes, the problem with SCMD is that it is limited in what it will allow the admin to do. If you want to change the jump speed as well as the weapon/armor respawn scale in a dedicated server, you must change it at the dedicated server console window, NOT SCMD. When you first start your dedicated server, you must type in these commands at the bottom line of the window. To change the height of the jump, type in: jumpspeed and it will tell you the default number it starts out at on every server. From that, if you want to go higher, just retype jumpspeed then add a space and the higher number to change it. I personally prefer: jumpspeed 1.500000 type that into the command line and press "send" or "enter" and it will change it. If you're ever unsure of what the number currently is set to on the server, just type in the command by itself without a number and it will tell you. You can change the runspeed there as well as the respawnscale, which changes the amount of time it takes for all pick up items in the map to respawn after pick up. If you ever have any more questions on how to host, please ask me. I've had over four years to figure this out. :lol:

Edited by Triggerhappy
Link to comment
Share on other sites

Yes, the problem with SCMD is that it is limited in what it will allow the admin to do. If you want to change the jump speed as well as the weapon/armor respawn scale in a dedicated server, you must change it at the dedicated server console window, NOT SCMD. When you first start your dedicated server, you must type in these commands at the bottom line of the window. To change the height of the jump, type in: jumpspeed and it will tell you the default number it starts out at on every server. From that, if you want to go higher, just retype jumpspeed then add a space and the higher number to change it. I personally prefer: jumpspeed 1.500000 type that into the command line and press "send" or "enter" and it will change it. If you're ever unsure of what the number currently is set to on the server, just type in the command by itself without a number and it will tell you. You can change the runspeed there as well as the respawnscale, which changes the amount of time it takes for all pick up items in the map to respawn after pick up. If you ever have any more questions on how to host, please ask me. I've had over four years to figure this out. :lol:

 

 

You can also add these "commands" to the server.txt file for dedicated servers.

 

4 years eh? you're catching up Trigger :whistle:

Link to comment
Share on other sites

You can also add these "commands" to the server.txt file for dedicated servers.

 

4 years eh? you're catching up Trigger :whistle:

Lol I said OVER four years. :D Not ALL of us can know everything about dedicated servers like some, ;) but I like to think I know enough to do the basic functions of hosting one. :unsure: Of course, I like to think a lot of things........... :lol:

Link to comment
Share on other sites

Lol I said OVER four years. :D Not ALL of us can know everything about dedicated servers like some, ;) but I like to think I know enough to do the basic functions of hosting one. :unsure: Of course, I like to think a lot of things........... :lol:

 

 

:mml: Don't we all B)

Link to comment
Share on other sites

  • 4 years later...

i want to host a server to play coperative missions of my choice with my friends, if i host, can i join the same server i created to play?, i tried with join ip tool, and its says something like "cannont join specific game" or something like that, i read that if i have a router i must open some ports, what its the exact protocol and that stuff to open that ports?, my router its Dlink d-600, thanks in advance XD

Link to comment
Share on other sites

You should be able to host it as a non-dedicated LAN server using the livesforever mod. That way you go in the server and others on your local network should be able too join in too.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Guidelines Privacy Policy.