Need for Speed: Hot Pursuit 2/Online
Jump to navigation
Jump to search
OpenSpy
Server hosting
Dedicated Server
Configuration
According to the official ReadMe documentation, the following ports are used by the game:
- TCP 80, 8511, 28900
- UDP 1230, 8512, 27900, 61220 through 61230
There are three editable files inside the game's save data folder (usually Documents/EA Games/Need for Speed: Hot Pursuit 2, but can be changed with the widescreen fix):
banlist.txt (possibly referring to bootlist.txt?)
This records the identities of players who you have banned. It adds one line for each player you ban. To un-ban a player, simply edit this file and remove the corresponding line.
netprefs.ini
Users can modify the netprefs.ini file to specify custom ports for the game servers. If this file is deleted it will be recreated with default settings.
server.ini
Various game options for a hosted server can be configured here.
Server Console Commands
Can be found in an online game by pressing the ~ key and then typing "/?".
Command | Function | Client-side or server-side? |
---|---|---|
/name [playername] | Requests change to new client name | Client |
/voteboot [playername] | Adds a vote to boot client, if eligible to vote | Client |
/votebootbyid [id] | Same as voteboot but using client id for identification. | Client |
/votemap [trackname] or /votemap [tracknumber] | (e.g. /votemap Coastal Parklands) Adds a vote to change track, if eligible to vote. Also recognizes Random. Only first 5 chars of track name needed, English only. | Client |
/setup | If in setup mode, launches car select dialog | Client |
/startrace | Attempts to start race immediately, without a countdown | Server |
/boot [playername] | Boots player. player is banned until next setup phase. | Server |
/ban [playername] | Bans the player permanently. to un-ban, must hand edit ban file. | Server |
/bootbyid [id] | Same as boot but using client id for identification. | Server |
/banbyid [id] | Same as ban but using client id for identification. | Server |
/send [playername],[message] | Sends a directed message to player. | Both |
/quit or /exit | Exit directly to desktop. | |
/disconnect | Exit to FE, equivalent to disconnect button. | |
/challenge or /reset | Equivalent to request restart button if client, resets if running server. | |
/idlist | Shows list of connected clients with the server assigned client ID. |
Command | Function |
---|---|