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 Local_Server

# Server passwords
set_pass 
set_pass_admin admin

# Server mission (ni_beginner, ni_normal, ni_hard, ni_ragnarok, ni_cavalry)
set_mission ni_normal

# Manual block
#set_control_block_direction 1

# Map rotations
set_map ni_swadian_great_hall
add_map ni_old_shire
add_map ni_swadian_keep
add_map ni_senuzgda_cavern
add_map ni_swadian_village

# Welcome message
#set_welcome_message Welcome to the server!^^This server, like all the NordInvasion servers, is supported entirely from player contributions.^^If you enjoy the game, please consider donating at nordinvasion.com/donate.

# Factions, bots, and players
set_auto_team_balance_limit 7
set_bot_count 2 3
add_factions 21 22
set_max_players 16 16
set_randomize_factions 0

# Voting options
set_ban_voteable 0
set_factions_voteable 0
set_maps_voteable 0
set_num_bots_voteable 0
set_valid_vote_ratio 100

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

# Since default team point limit is 300, it must be overridden for NordInvasion
set_team_point_limit 100000
set_round_max_seconds 1800
set_map_time_limit 10

# If the bottleneck is your server's bandwidth, then make sure that you set a correct value for upload limit
set_upload_limit 100000000

# 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.1484965617.txt.gz · Last modified: 2017/03/23 01:26 (external edit)