This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
general:contributors:localserver [2017/10/28 03:54] – added a note about port forwarding kip | general:contributors:servers:start [2018/03/10 22:19] – added a troubleshooting section kip | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Local Test Server ====== | + | ====== Local Dedicated |
- | If for some reason you need a local server to test things on, this is the guide for you. | + | If for some reason you need a local server to test things on (scenes with bots for example), this is the guide for you. |
- | You may equip gear on the normal [[https:// | + | You can still control your character loadout |
===== Installation ===== | ===== Installation ===== | ||
- | - Download the [[https:// | + | - Download the [[https:// |
- Extract them to whatever directory you wish. | - Extract them to whatever directory you wish. | ||
- | - Put a copy of the NordInvasion mod into the dedicated server' | + | |
- | - Save a config file in the dedicated server' | + | - Download [[https:// |
- | - Run the dedicated server with the following parameters: | + | - Extract the WSE files (but not folders) into the '' |
- | - When you load Warband, choose "Local Area Network" | + | - Extract the '' |
+ | | ||
+ | - Save a config file in the dedicated server' | ||
- | Start command example: ''" | + | ===== Starting |
- | You can create a shortcut with the command to make launching easier. | + | |
- | ===== Sample Config ===== | + | There are a few different options for how to start the server. |
- | < | + | - From a shortcut (recommended) |
- | # Server | + | - Open File Explorer to the directory you want to store the shortcut in. |
- | set_server_name Local_Server | + | - While holding Shift, right-click an empty space in the folder. |
+ | - Right-click an empty space, point at '' | ||
+ | - Browse to the location you chose for the server, WSE, and select '' | ||
+ | - Before clicking '' | ||
+ | - Click '' | ||
+ | - Run the shortcut to start the server. | ||
+ | - From a bat file | ||
+ | - Create a bat file ('' | ||
+ | - Store '' | ||
+ | - Run the bat file to start the server. | ||
+ | - From CMD / PowerShell (very manual) | ||
+ | - Open File Explorer to the directory containing your copy of mb_warband_dedicated.exe. | ||
+ | - While holding Shift, right-click an empty space in the folder. | ||
+ | - Click '' | ||
+ | - Run '' | ||
+ | ===== Notes ===== | ||
- | # Server passwords | + | * When you load the Warband client, choose "Local Area Network" |
- | set_pass | + | * If you change the port away from 7240, Warband will have problems finding the server in the Local Network list. |
- | set_pass_admin admin | + | * If you would like others to join your server, you will need to set up TCP and UDP port forwarding on your OS, router, and modem. |
- | # Server mission (ni_beginner, | + | ===== Troubleshooting |
- | set_mission ni_normal | + | |
- | + | ||
- | # Manual block | + | |
- | # | + | |
- | + | ||
- | # 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 | + | |
- | # | + | |
- | + | ||
- | # 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' | + | |
- | 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... | + | |
- | + | ||
- | - Right-click an empty area, point at '' | + | |
- | - Browse to the location you chose for the server and select '' | + | |
- | - Before clicking '' | + | |
- | - Click '' | + | |
- | + | ||
- | ===== Notes ===== | + | |
- | | + | |
- | - If you would like others to join your server, you will need to set up TCP and UDP port forwarding on your OS, router, and modem. | + | * Make sure that you have forwarded both TCP and UDP. |
+ | * You need to forward through several points of your network. | ||
+ | * Router | ||
+ | * OS firewall | ||
+ | * Modem (if you don't have a modem/router |