This site has been archived and made available for preservation purposes. No edits can be made.

How to set up the server and connect

This is an old revision of this page, as edited 05-12-2012, 07:15 PM by foxtacles (contribs). It may differ significantly from the current revision.
[talk]Notice|This page is outdated and needs to be re-written.[/talk]
This short guide will give you the information you need to run a server and connect to it.

[top]Connecting to a server

Copy "vaultmp.exe" and "vaultmp.dll" to your Fallout 3 and / or Fallout: New Vegas folder (where Fallout3.exe / FalloutNV.exe is located). Copy "default.fos" to your Fallout 3 / Fallout: New Vegas savegames folder (Documents/My Games/Fallout3 or FalloutNV/Saves). Run vaultmp.exe. Write the address of the MasterServer to the text input field named "Master" and click the button "Master Query". If everything works correctly, a list of servers should appear in your browser. Now you only have to select one and push "Join Server". Check the value of the key "game" before joining and make sure you run vaultmp.exe from either Fallout 3 / Fallout: New Vegas folder, depending on which game server you want to play on. You need to disable Windows Live (patched xlive.dll) as well as FOSE / NVSE (see Download (binaries / source)). Note: direct connect (without querying a MasterServer) to a Dedicated Server is not possible at the moment.

[top]Set up the Dedicated Server

If you want others to be able to connect to your Dedicated Server (from the internet), you have to forward port 1770 (default) in your router configuration and in your firewall (or define an exception). Create a shortcut to "vaultserver.exe". Parameter list:
  • -q, -query

Enable direct query. In case the client is not able to reach the MasterServer, he will query the Dedicated Server instead.
Disabled by default.
  • -a, -announce [MasterServer:Port]

Announce to a MasterServer. The port is optional (default is 1660).
Disabled by default.
  • -s, -script [script]

Specify the AMX script to run alongside the server.
Disabled by default.
  • -p, -port [port]

The port the server will listen to.
Default: 1770.
  • -c, -connections [num]

The maximum amount of parallel connections (players).
Default: 32.
  • -nv, -newvegas

Run a Fallout: New Vegas server.
Default: Fallout 3.
You should put at least the following parameter string to your shortcut:
-a [MasterServer] -q
If you run a local MasterServer, put "127.0.0.1" instead of [MasterServer]. You may also use the official one; write "vaultmp.com" in that case.

[top]Set up the MasterServer

If you want others to be able to connect to your Dedicated Server (from the internet), you have to forward port 1660 (default) in your router configuration and in your firewall (or define an exception). Run "vaultmaster.exe". You can also choose our MasterServer (address: "vaultmp.com") to announce your Dedicated Server, so it's not necessary to run one by yourself.

[top]Compiling the source

Get yourself a working copy of vaultmp/trunk (see Download (binaries / source)). To compile vaultmp you need MinGW compiler version 4.5 or later. We recommend installing Code::Blocks IDE because there are already project files ready to use. Code::Blocks can be found here: https://www.codeblocks.org/downloads/26 If you don't have MinGW installed you may want to choose the package which got MinGW bundled. In case you followed that step you still need to upgrade your MinGW to the latest version. To do this, download the package "MinGWUpgrade4.zip" from here. Take this archive and extract all of the contents of the sub-archives directly into your MinGW folder, which is by default: Program Files/CodeBlocks/MinGW. Use the .cbp files to open the projects. Vault-Tec Multiplayer Mod consists of five parts:
  • vaultmp.cbp
  • vaultserver/vaultserver.cbp
  • vaultmaster/vaultmaster.cbp
  • vaultmpdll/vaultmpDLL.cbp
  • vaultgui/vaultgui.cbp

If you need further help, ask in the forums and we'll be happy to help.