User Tools

Site Tools


general:contributors:servers:start

This is an old revision of the document!


Local Test Server

If for some reason you need a local server to test things on, this is the guide for you.

You may equip gear on the normal NordInvasion website but you will not receive any xp or loot. For now, it is normal to see unusual text instead of assist messages.

Installation

  1. Extract them to whatever directory you wish.
  2. Put a copy of the NordInvasion mod into the dedicated server's modules folder.
  3. Save a config file in the dedicated server's folder. For this example, we will use the sample below and call it nordinvasion.cfg.
  4. Run the dedicated server with the following parameters: -r nordinvasion.cfg -m NordInvasion
  5. When you load Warband, choose “Local Area Network” on the server list.

Start command example: “D:\Programs\Mount&Blade Warband Dedicated\mb_warband_dedicated.exe” -r nordinvasion.cfg -m NordInvasion
You can create a shortcut with the command to make launching easier. (See the instructions below for more help.)

Sample Config

# Server name
set_server_name NI_Local_Server

# Server passwords
set_pass password
set_pass_admin AdminPassword

# Server factions
#   The 1st number stays 21 (Swadia).  The 2nd number is the Nord difficulty.
#   Nord factions: 23 (Normal) | 24 (Hard) | 25 (Ragnarok) | 26 (Cavalry)
add_factions 21 23
set_randomize_factions 0

# Map rotations
set_map ni_port_assault
add_map ni_hypers_hell
add_map ni_old_shire
add_map ni_swadian_outskirts
add_map ni_mountain_outpost
add_map ni_swadian_castle
add_map ni_swadian_hamlet
add_map ni_royal_observatory
add_map ni_offshore
add_map ni_swadian_temple
add_map ni_mountain_pass
add_map ni_hidden_cave
add_map ni_swadian_city
add_map ni_swadian_bay
add_map ni_kings_reach
add_map ni_lake_town
add_map ni_caravan_ambush
add_map ni_fortress_under_siege
add_map ni_swadian_keep
add_map ni_swadian_old_village
add_map ni_the_first_defence
add_map ni_swadian_hamlet
add_map ni_swadian_overgrown
add_map ni_coastal_raid
add_map ni_swadian_village
add_map ni_handes_retreat
add_map ni_traders_valley
add_map ni_swadian_great_hall
add_map ni_swadian_town

# List of cavalry maps
#   add_map ni_beach_assault
#   add_map ni_dills_and_hills
#   add_map ni_plains_of_knudarr

# Manual blocking
#set_control_block_direction 1

# Battle mode (multiplayer_iv)
set_mission multiplayer_iv

# Max players (first one is non-premium member limit, second one is premium member limit)
set_max_players 16 16
set_bot_count 2 3

# Voting options
set_maps_voteable 0
set_factions_voteable 0
set_num_bots_voteable 0
set_ban_voteable 0

# Friendly-fire settings
set_friendly_fire 1
set_friendly_fire_damage_friend_ratio 0
set_melee_friendly_fire 1
set_friendly_fire_damage_self_ratio 10

# Since default team point limit is 300, the line below is necessary for this mode
#set_team_point_limit 100000
set_round_max_seconds 1800
set_map_time_limit 5

# If you are running more than one dedicated server on the same computer, you must give different ports to each of them
set_port 7240

set_server_log_folder Logs
set_server_ban_list_file Logs\ban_list.txt

start

Creating a Shortcut

To create a shortcut for launching the server…

  1. Right-click an empty area, point at New and choose Shortcut.
  2. Browse to the location you chose for the server and select mb_warband_dedicated.exe.
  3. Before clicking Next, add the parameters given in step 5 above.
  4. Click Next, type a name for the shortcut, and click Finish.
general/contributors/servers/start.1438287771.txt.gz · Last modified: 2017/03/23 01:26 (external edit)