Hosting a Dedicated Server Guide

正在查看此主题的用户

Where can I fill admin password when I start the game? There is no place to fill it which means I'm just another player on my own server. Doesn't make sense? There used to be admin password but not anymore? Am I missing something? Reply me.  :???:
 
You have to set it in the text file you use to set all the other settings before you start up the server.
 
Hello

Which hardware requirements does a 64 slot warband dedicated server have? Im especially interested in the needed CPU.

How many slots can a AMD Athlon X2 4200+ (2,2 GHz per Core) handle?

Thanks,
Reifur
 
That should be fine for a single 64 slot server - it's more about the bandwidth which is approx 5KB upload per person/horse/bot
 
HI guys, ive just registered, ive been trying to make this dedicated server work but i just cant. I have followed all your instructions Vincenzo. I have opened the port 7240 properly, i have added to the exceptions in Windows Firewall, i have added the set_add_to_game_servers_list 1 command in the Sample_Battle.txt, and when i start Sample_Battle.bat it does everything normally(no errors) and when i go to the server list in join game, i cant see it, but it is on the LAN list. I know that many have had this problem, but i didnt solve it with the replies to others with the problem. And that Start Search button you mentioned, I cant find it anywhere in the server list.
 
maklja 说:
HI guys, ive just registered, ive been trying to make this dedicated server work but i just cant. I have followed all your instructions Vincenzo. I have opened the port 7240 properly, i have added to the exceptions in Windows Firewall, i have added the set_add_to_game_servers_list 1 command in the Sample_Battle.txt, and when i start Sample_Battle.bat it does everything normally(no errors) and when i go to the server list in join game, i cant see it, but it is on the LAN list. I know that many have had this problem, but i didnt solve it with the replies to others with the problem. And that Start Search button you mentioned, I cant find it anywhere in the server list.

Download PFChecker to make sure 7040 is open properly.
 
Yeah, i also did that several times and it says its open, but (i dont know if this is relevant) it says in the pf checker that they could not ping my router... And it says that the port is open...
 
Short Linux shellscript for automatically checking and (optionally) restarting the mount&blade dedicated server (if it crashed)

1. Create a script called something like "mountblade_server_check.bash" in the m&b directory:

插入代码块:
#!/bin/sh
mbdir="/opt/mb-server/Mount&Blade Warband Dedicated/"
process=`ps auxw | grep mb_warband_dedicated.exe | grep -v grep | awk '{print $11}'`
touch /tmp/mb-server-check
if [ -z "$process" ]; then
  touch /tmp/mb-server-check-error
  echo "MountBlade Server seems to be offline, restarting it...(done by cron-job)"
  cd "$mbdir"
  screen -d -m  wineconsole --backend=curses mb_warband_dedicated.exe -r BATTLE.txt

fi

2. Change the mbdir-variable in the script above (line 2) to your mount&blade dedicated server directory

3. Edit the the M&B-server start-command  "wineconsole --backend=curses mb_warband_dedicated.exe -r BATTLE.txt" according to your needs.

4. Make sure, that the user, under which the M&B server runs, has the rights r + x for this script.

5. Edit the crontab for the user running the M&B server: (crontab -e)

插入代码块:
*/5 * * * *  (path_to_your_moutblade_server_check_script_without brackets) >/dev/null 2>&1

Now the script will check every 5 min if the Mount&Blade-server-process is running. If not, it will restart it.

ArgH!
 
maklja 说:
Erm, ArgH im on XP...


My post was thought as an addition to the genereal toppic (Hint: Hosting a Dedicated Server Guide) of this thread, no as a specific answer to your question.... :roll: :roll: :roll:

For your problem, I would recommend to try running a normal server from within warband. When doing this, can any of your friends find the server in the list after a few minutes (tell them to refresh the list a few times btw....)
If yes, can they join the server?

- If yes, recheck you M&B dedicated Server config script.

- If there's a NO to any above, your problem is 99% that a firewall (router, your system, etc.) is blocking the communication. If you use a router, did you set up port-forwarding/Nat for the specifc port.
 
Hello ! Please help me ! I played Mount and Blade Warband about 2 year , after I was bored and I had deleted , a few days/months I took it and started to give me an error ... Because that error when I go to Multiplayer not give any server and dedicate server gives me an error ... What can I do ??  :sad: :sad: :sad:

                  Thanks in advance !  :sad: :cry:
 
i have aproblem
in the router list i cant find my riuter i have a t-home speedport w504v
but htere is only the older version t-com w504v
what should i do now?
 
I have a question. I got my server running, but how do I run it in a module other than Native? I right-clicked Sample_Duel_start.bat and selected 'edit with notepad'. I replaced '-m Native' with '-m Kengeki Gaiden'. When I restarted my server, the server list got the game mode correct (which was duel), but it was still running on Native. Yes, I did save the notepad file after I edited it. I don't know what I did wrong. If anyone has a hotfix or knows how to change the mod, please reply as soon as possible! Thanks.
EDIT: I'm still looking for a reply, but I felt I also had to list this. I edited the Sample_Duel_start.bat file thing with a different notepad software, called Notepad++. If that's the case, please notify me so I can install a different version of notepad. If the notepad thing has nothing to do with it, please tell me if I'm doing anything wrong. Also, don't say it's the mod's problem, because I've tried editing the module using 2-3 different ones (PW_4_alpha4, and another one I forgot about). Anyway, please reply!
 
The -m option:

Did you use the directory name, where the module is stored?´Please post the folder name  (+path), where you dedicatd server is installed & running and the folder name (+path) where the module is installed.....

And - do you run the server under linux or windows?
 
ArgH! 说:
The -m option:

Did you use the directory name, where the module is stored?´Please post the folder name  (+path), where you dedicatd server is installed & running and the folder name (+path) where the module is installed.....

And - do you run the server under linux or windows?
First of all, I run it on Windows. Well, the folder WAS in the desktop. I just read over Vincenzo's guide after reading your post, and I noticed I was to move the folder into OS (C:smile:. I'm restarting the server and trying it again. If it doesn't work after placing the folder in OS (C:smile:, I'll edit this post.

EDIT: Yeah, I restarted the server, but it was still running on Native. When I right-click Sample_Conquest_start and select edit, it reads -m mm russia3, but it still runs on Native. Here is the directory: C:\Mount&Blade Warband Dedicated. If you have any further fixing options, please respond! Oh, and here is where the module is: C:\Program Files (x86)\Steam\steamapps\common\mountblade warband\Modules\mm russia3.
 
TrinityArse 说:
First of all, I run it on Windows. Well, the folder WAS in the desktop. I just read over Vincenzo's guide after reading your post, and I noticed I was to move the folder into OS (C:smile:. I'm restarting the server and trying it again. If it doesn't work after placing the folder in OS (C:smile:, I'll edit this post.

EDIT: Yeah, I restarted the server, but it was still running on Native. When I right-click Sample_Conquest_start and select edit, it reads -m mm russia3, but it still runs on Native. Here is the directory: C:\Mount&Blade Warband Dedicated. If you have any further fixing options, please respond! Oh, and here is where the module is: C:\Program Files (x86)\Steam\steamapps\common\mountblade warband\Modules\mm russia3.

As I thought.  :lol:

Take a look at the folder, where the dedicated server is installed. There is also  folder called 'Modules'. Now copy the folder of your module over into this folder. Tadaaa - problem solved!

Background:
The dedicaded server is more like a parallel installation of M&B. So, if you want to run a module, it has to be placed in the 'Modules'-folder of the dedicated server. Modules installed in the normal M&B-folders(your installed game) are not recognized/read by the dedicated server.

If you are still stuck,  visit me on our teamspeak3-server:  ts.openobject.eu
I usually hang around there in the evenings (CET+1 timezone) My nick there is the same as here.

Let me know, if it worked.

cu ArgH!
 
ArgH! 说:
TrinityArse 说:
First of all, I run it on Windows. Well, the folder WAS in the desktop. I just read over Vincenzo's guide after reading your post, and I noticed I was to move the folder into OS (C:smile:. I'm restarting the server and trying it again. If it doesn't work after placing the folder in OS (C:smile:, I'll edit this post.

EDIT: Yeah, I restarted the server, but it was still running on Native. When I right-click Sample_Conquest_start and select edit, it reads -m mm russia3, but it still runs on Native. Here is the directory: C:\Mount&Blade Warband Dedicated. If you have any further fixing options, please respond! Oh, and here is where the module is: C:\Program Files (x86)\Steam\steamapps\common\mountblade warband\Modules\mm russia3.

As I thought.  :lol:

Take a look at the folder, where the dedicated server is installed. There is also  folder called 'Modules'. Now copy the folder of your module over into this folder. Tadaaa - problem solved!

Background:
The dedicaded server is more like a parallel installation of M&B. So, if you want to run a module, it has to be placed in the 'Modules'-folder of the dedicated server. Modules installed in the normal M&B-folders(your installed game) are not recognized/read by the dedicated server.

If you are still stuck,  visit me on our teamspeak3-server:  ts.openobject.eu
I usually hang around there in the evenings (CET+1 timezone) My nick there is the same as here.

Let me know, if it worked.

cu ArgH!

It worked! Thanks for your help, mate.
 
I have a question regarding the ban list. How would I manually add someone?

For instance, I checked logs, saw the ID 555555 TKing, so in the ban list file I added "#555555 #TKing", yet this player returned the next night. I reckon I'm adding them in wrong. Could someone point me in the right direction?

Thanks!
 
后退
顶部 底部