User Tools

Site Tools


general:contributors:servers:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
general:contributors:servers:start [2018/03/01 02:56]
kip moved the sample config to a separate page
general:contributors:servers:start [2019/06/20 01:49]
terath86 [Troubleshooting]
Line 1: Line 1:
-====== Local Test Server ======+====== Local Dedicated ​Server ======
  
-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://​nordinvasion.com|NordInvasion]] website but you will not receive any xp or loot.  For now, it is normal to see unusual text instead of assist messages.+You can still control your character loadout ​on the normal [[https://​nordinvasion.com|NordInvasion]] website but you will not receive any xp or loot.
  
 ===== Installation ===== ===== Installation =====
  
-  - Download the [[https://​www.taleworlds.com/​en/​Games/​Warband/​Download|Dedicated Server Files]]+  - Download the [[https://​www.taleworlds.com/​en/​Games/​Warband/​Download|Dedicated Server Files]].
   - 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'​s ​modules ​folder. +  ​- Create a ''​WSE''​ folder in the directory you just created (the same folder that ''​mb_warband_dedicated.exe''​ is in). 
-  - Save a config file in the dedicated server'​s folder.  ​You can find a sample config ​[[.servers:config|here]].  For this example, we will save it as nordinvasion.cfg (you can use any name and extension). +  - Download [[https://​forums.taleworlds.com/​index.php/​topic,​324890.0.html|WSE]] and the matching Warband exes provided there. 
-  - Run the dedicated server with the following parameters: ​''​-r nordinvasion.cfg ​-m NordInvasion''​ +  - Extract the WSE files (but not folders) into the ''​WSE''​ folder. 
-  - When you load Warband, choose "Local Area Network"​ on the server list.+  - Extract the ''​mb_warband_dedicated.exe''​ file and replace your existing copy. 
 +  ​- Put a copy of the NordInvasion mod into the dedicated server'​s ​''​Modules'' ​folder. 
 +  - Save a config file in the dedicated server'​s folder.  ​For this example, we'll use the [[config|sample config]] and save it as ''​nordinvasion.cfg''​.
  
-Start command example: ''"​D:​\Programs\Mount&​Blade Warband Dedicated\mb_warband_dedicated.exe"​ -r nordinvasion.cfg -m NordInvasion''​\\ +===== Starting ​the Server =====
-You can create a shortcut with the command to make launching easier. ​ (See the instructions below for more help.)+
  
-===== Creating ​Shortcut =====+There are few different options for how to start the server. ​ You only need to choose one of them.
  
-To create ​a shortcut for launching ​the server...+  - From a shortcut ​(recommended) 
 +    - Open File Explorer to the directory you want to store the shortcut in. 
 +    - While holding Shift, right-click an empty space in the folder. 
 +    - Right-click an empty space, point at ''​New''​ and choose ''​Shortcut''​. 
 +    - Browse to the location you chose for the server, WSE, and select ''​WSELoaderServer.exe''​. 
 +    - Before clicking ''​Next'',​ add ''​ -r nordinvasion.cfg -m NordInvasion -p ..\mb_warband_dedicated.exe''​ outside the ''"''​ marks. 
 +    - Click ''​Next'',​ type a name for the shortcut, and click ''​Finish''​. 
 +    - Run the shortcut to start the server. 
 +  - From a bat file 
 +    - Create a bat file (''​NordINvasion_Start.bat''​ for example). 
 +    - Store ''​WSE\WSELoaderServer.exe -r nordinvasion.cfg -m NordInvasion -p mb_warband_dedicated.exe''​ in the bat file. 
 +    - 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 ''​Open PowerShell window here''​ or ''​Open CMD window here''​. 
 +    - Run ''​WSE\WSELoaderServer.exe -r nordinvasion.cfg -m NordInvasion -p mb_warband_dedicated.exe''​ to start the server. 
 +===== Notes =====
  
-  ​- Right-click an empty areapoint at ''​New''​ and choose ​''​Shortcut''​. +  ​* When you load the Warband client, choose ​"Local Area Network"​ on the server ​list
-  - Browse to the location you chose for the server ​and select ''​mb_warband_dedicated.exe''​+  ​* If you change the port away from 7240Warband will have problems finding ​the server ​in the Local Network list
-  ​- Before clicking ''​Next''​add the parameters given in step 5 above+  ​* If you would like others to join your serveryou will need to set up TCP and UDP port forwarding on your OS, router, and modem. ​ Unless you change the config, the only port that requires forwarding is 7240.
-  ​- Click ''​Next''​type a name for the shortcut, and click ''​Finish''​.+
  
-===== Notes =====+===== Troubleshooting ​=====
  
-  ​- If you change the port away from 7240, Warband will have problems finding the server ​in the Local Network ​list. +  ​* My server ​does not show up on the internet ​list. 
-  - 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 ​Unless ​you change ​the config, ​the only port that requires forwarding is 7240.+    * 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 combo device) 
 +    * You may need to restart ​the firewall after making ​the necessary changes.
general/contributors/servers/start.txt · Last modified: 2019/06/20 01:49 by terath86