cRPG

cRPG => Beginner's Help and Guides => Guides => Topic started by: Blaint on May 17, 2011, 11:23:11 am

Title: How to set up a c-RPG-Server [+cRPG-server 0.271 ]
Post by: Blaint on May 17, 2011, 11:23:11 am
Quote from: Meow
Maybe someone feels like writing a complete guide on setting up a server on our guides forum.


So here is a guide to set up a c-RPG-Server
if things are incorrect notice me about it.


Requirements:
- a server/vserver, that can host a warband server with players >= 20.
- some knowledge of ftp/telnet
- knowlege of unrar/unzip
- knowlege of .bat files

If you have a linux server:
- general knowlege of linux (navigating for example)
- knowlege of .sh files
- knowlege about "screen/s"

I uploaded a "default" cRPG dedicated server.
If you have problems with the orginal dedi. server or are just too lazy, use it and skip Chapter 1-2.
(you only have to add the latest cRPG module folder (cRPG -> %/Default cRPG dedicated-server\Modules))
Download (cRPG 0.271 - outdated) :mbrepository (http://www.mbrepository.com/file.php?id=2924)   M&B-Nexus (http://mountandblade.nexusmods.com/downloads/file.php?id=2924)     uppit (http://uppit.com/sug0iwnmx12y/Default_cRPG_dedicated-server_0.271.rar)


Chapter 1: Download

The first thing you need are the offical dedicated server-files.
You can get them from the Taleworldswebsite->downloads (or simply here http://download.taleworlds.com/mb_warband_dedicated_1143.zip (http://download.taleworlds.com/mb_warband_dedicated_1143.zip))
Now unzip the file where you want (on your server)
You should now have a folder "<your path>\Mount&Blade Warband Dedicated"
In this folder you can see some .bat files.
The .bat (you have to create sh files for linux) run the server with your configs.
if you open "Sample_Battle_start.bat" with a editor you can:
Code: [Select]
mb_warband_dedicated.exe -r Sample_Battle.txt -m NativeBut what is the meaning of these parameter ?

Code: [Select]
-r Sample_Battle.txt This starts the server with the configs from Sample_Battle.txt

Code: [Select]
-m NativeThis loads the module "Native". (See instructions below how to integrate crpg)


Chapter 2: Integrate c-RPG
Now download/upload the last version of c-RPG  to your server and unzip it in the folder "Modules"
After that create a new .txt and name it what you want(where you have your Sample_Battle_start.bat ).
Copy the content of "Sample_Battle.txt" or "Sample_Siege.txt" in this .txt file (and save)
The next steps are different, if you use linux or windows.
(click to show/hide)
(click to show/hide)

Chapter 2.1: Warband Script Enhancer Integration
The WSE should come with the crpg module folder.
To integrate the WSE do these 2 steps:

1. copy the content of the WSE folder (in the crpg module) to your server's main folder (where your mb_warband_dedicated.exe is)
 
2. edit your startfile (.bat or .sh) like can see below:

Code: [Select]
mb_warband_dedicated.exe -r <your config file>.txt -m cRPG
to (for ex.)

Code: [Select]
WSELoader.exe -r <your config file>.txt -m cRPG
done


Chapter 3: Configuration
You now have to edit your config file , after you wishes.
The most of them are self-explanatory but here are some important(you should change them before start):
Code: [Select]
set_pass_adminsets the server-admin-password to ones of your choice (check Chapter: Administration for more infos)

Code: [Select]
set_server_name sets the servername to ones of your choice (e.x "set_server_name EU_cRPG_42)

Code: [Select]
set_welcome_messageset the welcome message   to ones of your choice

Code: [Select]
set_enable_valve_anti_cheat enable(1) or disable(0) VAC (not realy supported by M&B, so you can set it to 0)

Code: [Select]
set_map <map_id/map_name>Sets the start map to the one of your choice (maybe i will add a Chapter: How to add maps)

Code: [Select]
set_mission set the start Gamemode of you server.
(click to show/hide)

Code: [Select]
set_control_block_direction 1 set the block typ to auto(0) or manual (1)
Use manual !!!

Code: [Select]
set_friendly_fire_damage_friend_ratio 50half  damage to friends

Code: [Select]
set_melee_friendly_fire 1melee FF (1 = on; 0 = off)
Use 1 !!!

Code: [Select]
set_friendly_fire_damage_self_ratio 0no damage to yourself on teamhit

Code: [Select]
start  starts the server
DON'T TOUCH IT

List of  all options : here (https://www.ukgame.com/billing/knowledgebase/174/Mount-and-Warband-Commands.html)

Some hints for configuration:
* you can not change the value of money/exp granted this way
* some functions are locked (by crpg/gamemode)
* use a cfg like the offical server ( and/or nothing which gives advantage)
* you can find all these configuration options in a readme comming with the serverfiles, too

Chapter 4: Start-Server

(click to show/hide)
(click to show/hide)


Chapter 5: Maps & Mapcycle
In this Chapter, i will try to explain wehere you can find maps and how to add them to the Mapcycle.
There are different ways how to add maps, i will try to explain the methode we are using on our server atm.

Chapter 5.1: Where you can find maps

Way One:
Search for maps at the Scene-editing forum (http://forum.c-rpg.net/index.php/board,24.0.html)
Just download the map and read Chapter 5.2

Way Two:
Get the maps, you have downloaded from other servers.
You can find them at:
C:\Users\<user>\Documents\Mount&Blade Warband\SceneObj.

Chapter 5.2: Add Maps
Normaly you should have/see two different files scn.<yourmapname>.txt and scn.<yourmapname>.sco.
Copy the scn.<yourmapname>.sco to your server's scene folder (Mount&Blade Warband Dedicated/Modules/cRPG/SceneObj).
Now navigate to "Mount&Blade Warband Dedicated/Modules/cRPG" and open the file scenes.txt.
Overwrite one of the scn_blank_"x" with the content of  scn.<yourmapname>.txt
(click to show/hide)
If you now choose the map Blank_"x" on the server, your new map will be loaded.
Maybe this is not the easiest way...

Chapter 5.3: Map/Scene - cycle

Open you serverconfig and search for the lines with "add_map ... "
There you can see your map-rotation.
Now you can simply edit/remove/add this lines to add/remove new maps to the scene-cycle
using the format :
add_map <mapname>
Note: You have to restart the server after you have done your changes.


Chapter 5.4: Scene Strings/ingame scene names

After you have added the scenes to your server/-cycle you still have the problem that they were shown ingame as Blank X or the name of the map, which got overwritten with the another/new scene.
To let the right names shop up IG you have to edit the strings.txt (<yourserver/modules/cRPG)
When you open the strings.txt you can see the lines are in the format:
Code: [Select]
str_<string> <Displayname>You can now simply add/replace the blanks with your new maps using the format:
Code: [Select]
str_<mapname> <displayedmapnameHere an example:
-you want to add the Heisenberg map (scn_Heisenberg.sco)
Code: [Select]
str_Heisenberg Heisenbergthe map would be shown ingame as Heisenberg.
After you have edited the file save it.
You may have to restart the server before the changes take effect.

note: Since patch 2.32 many  scene_strings were already added

Chapter 6: Administration
Before you connect to your server, enter your choosen Admin password in the Server-Password field.
After that connect to your server.
When you press ESC you can see that you now have a button "Administrator Panel".
If you click it, you can see several changeable options.
Here you can edit the most of the options of the config file.
But attention: They won't get saved (after restart).
You also have now the ability to kick/ban players without a vote

(click to show/hide)

FAQ (Frequently Asked Questions)

These questions were not frequently asked in this threat, why have they been added to the list ?
- In the FAQ you can find answeres to some Questions/problems you still may have.

Isn't there a easier way to add new maps ?
- yes, i think look here (http://forums.taleworlds.com/index.php/topic,112508.0.html)  (but for me this methode is easier).

I don't get any XP/Money on the server?
- Take a look at :  here (http://forum.c-rpg.net/index.php/topic,5650.0.html) .

What mean the part with "<>" (ex. <yourconfig>.txt)
- That means that you can choose you own name for this file (it's like a variable)

How can you set the number of slots > 64 ?
- old:  Take a look here (http://forums.taleworlds.com/index.php/topic,108129.msg3388422.html#msg3388422)
  new: with the WSE implented you should be able to set the slotlimit >64 i think


Iam the server owner but i cannot find the button for admin-ranks/permission ?
- Your server is probably not connected to the Database.
  First take a look at that, before you contact a admin/dev

Why aren't there more FAQs ?
- dunno, ask! :D

Credits:

 The D-O-N-K-E-Y crew/devs :arrow: for this awsome mod and the chance for everyone to create a server
 Inquisitor_Renegade :arrow:  who  published the linux start script.
 cmpxchg8b  :arrow: for the WSE(Warband Script Enhancer).






I hope this is a guide was useful for you to create a crpg server or just for informativ reading

good luck
 Blaint
 
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 17, 2011, 12:41:45 pm
You need help? Something is too hard to understand? You have n idea for a new Chapter? 

===>> post it in this thread

this will help me improve the guide

// placeholder
Title: Re: How to set up a c-RPG-Server
Post by: Espu on May 17, 2011, 01:53:59 pm
Thought I'd share some scripts from my Linux-hosted dev server. Use them if you want. I use them in combination with Vincenzo's guide (http://forums.taleworlds.com/index.php/topic,113653.0.html)
with awesome success. Used on Ubuntu server 10.04.

First script just starts server under wine following Vincenzo's instructions.

run_server.sh
Code: [Select]
wineconsole --backend=curses /path/to/server/mb_warband_dedicated.exe -r config.txt -m cRPG

That one isn't much good however, as you want the server to run in screen so you can disconnect the ssh session. This executes the above script with screen in detached mode. You won't see anything in the console, use screen -r after this to access the server.

server_start.sh
Code: [Select]
screen -d -m sh server/run_server.sh

server_start.sh and run_server.sh should obviously be in one script in most cases. I have them separated for dev server reasons.

Final magic script: find the running server from process list and kill it. This could probably be done in a better way, but I'm no guru and this works. I use it in conjunction with server_start.sh to restart server when needed. No idea what would happen if it was used with multiple servers running, probably kills them all.

server_kill.sh
Code: [Select]
ps auxw | grep mb_warband_dedicated.exe | grep -v grep | grep -v wineconsole.exe | awk '{print $2}' | xargs kill -9
Title: Re: How to set up a c-RPG-Server
Post by: Espu on May 17, 2011, 01:57:37 pm
Before I forget, seems like a good base for a guide. Probably needs some tweaking based on input from people trying to use it, but a good start. I'll sticky it in the server section once we figure out how the server stuff is going to be organized here.

I would either ask Vincenzo's permission to take parts from his guide or just make link to his thread more visible. It's a great guide, I set the server up based just on that. http://forums.taleworlds.com/index.php/topic,113653.0.html
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 17, 2011, 05:25:12 pm
yes, the guide maybe needs some tweaking.
I planned to extend and optimise the guide  based on the responds from people trying to use it (which is so far 0 responds )
I linked you linux sh script with Chapter 2 ( i will move it, this is only for now)
Maybe some parts are a litte bit too hard to understand (because english is not my native language)
Another thing:
 We need some information how to create a server with more slots than normal supported (e.x. 200 slots)
 Meow said something about Hex editing...

Quote from: Vargas
I would either ask Vincenzo's permission to take parts from his guide or just make link to his thread more visible. It's a great guide, I set the server up based just on that. http://forums.taleworlds.com/index.php/topic,113653.0.html
I don't copied anything of his guide, i tried to make a guide special for crpg. (maybe, if i had copied some parts the guide would be bether :) )
Title: Re: How to set up a c-RPG-Server
Post by: Renegade on May 18, 2011, 01:40:41 am
I use the following script to start the server:
Quote
#!/bin/sh
mbdir="/whatever/warband/"
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..."
  cd "$mbdir"
  screen -d -m  wineconsole --backend=curses mb_warband_dedicated.exe -m cRPG -r cRPG.txt

fi

This scripts works well with crontab...

Anyway is kill -9 really necassary? Won't the server respond to -15? -9 is for a process what instant power off is for your PC...
If you only have one server running your script works fine, but as you guessed it kills every warband server running ;)
Title: Re: How to set up a c-RPG-Server
Post by: Espu on May 18, 2011, 02:38:36 pm
That's why I posted the "I'm no guru, can be done better". Thanks for sharing the better way! :)
Title: Re: How to set up a c-RPG-Server
Post by: HarunYahya on May 19, 2011, 09:28:39 pm
How to add maps and create map cycles ? Please if anyone can explain this ?
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 19, 2011, 09:32:50 pm
If some more people want to know how to add custom maps i will add it
(or i will maybe add it, if i have time to do that, maybe tomorrow  )


// poll added (to see what i can improve)
Title: Re: How to set up a c-RPG-Server
Post by: HarunYahya on May 20, 2011, 05:58:36 am
I just noticed i didn't thank you for making this huge guide on my previous post.
What an asshole am i sorry for that and really thanks for posting this guide =)
Hope you'll add the Map adding guide soon cuz our server definetly needs more maps than Random (Huge) Plains lol
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 21, 2011, 12:18:54 am
// first version of chapter 5:"maps" and FAQ added
Title: Re: How to set up a c-RPG-Server
Post by: Renegade on May 25, 2011, 04:25:12 pm
How to add maps and create map cycles ? Please if anyone can explain this ?

For map cycles:
set_map <map> sets the map the server runs when restarted and add_map <map> adds a map to the cycle.

For some more commands visit:
https://www.ukgame.com/billing/knowledgebase/174/Mount-and-Warband-Commands.html
(or wait for the guide to be completed  8-) )
Title: Re: How to set up a c-RPG-Server
Post by: Kung Fu Jesus on May 25, 2011, 10:38:00 pm
Thanks for this Blaint. I was finally able to view someone else's map in the editor. One question I have is I could not find the mapname.txt file UNLESS I downloaded the map manually from the repository. When I play on a normal server and download the map that way, is there also a mapname.txt file generated somewhere?
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 26, 2011, 02:52:55 pm
When you downloaded a map by playing on  server, you always have a txt file.

 it is located here:
Code: [Select]
<youruser>\Documents\Mount&Blade Warband\SceneObjthe  xp path is a little bit different...
in this path you have your downloaded maps, and the region files, with the same name, as the map.
(if you can't find the path, you may use the windows search function)

gl
(notice me, if something is hard/not to understand)

Blaint
Title: Re: How to set up a c-RPG-Server
Post by: Tiberius on May 28, 2011, 10:49:05 am
I've followed the guide down to the letter and have every file where it needs to be. When I type in the password under the search it sais, "This server is using a module not installed on your computer" ect and so on. The .bat file I'm running is edited and looks like this "mb_warband_dedicated.exe -r cRPG.txt -m cRPG" and I have the cRPG module in the folder.
Any clue whats going on?
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 28, 2011, 01:20:52 pm
Do you have uploaded to module files to your server ?
I think it its just a naming problems...
Any error in the serverscreen/log ?

btw: You can see your server ,right ?
Title: Re: How to set up a c-RPG-Server
Post by: Tiberius on May 28, 2011, 05:52:51 pm
Do you have uploaded to module files to your server ?
I think it its just a naming problems...
Any error in the serverscreen/log ?

btw: You can see your server ,right ?

I'm not sure what you mean by uploading the module files to the server, I'm runing the dedicated server from my computer with the taleworlds download.
There aren't any errors in the log everything is running and the game should be somewhere.
I can't see the server is the problem, I just type in the password I set and hit connect.
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 28, 2011, 07:04:53 pm
you want to host a cRPG server on your home-pc ?

you forgot to download/copy the cRPG files(the normal mod files) into the server (<yourserver>/modules).
the server can't start a module, which isn't in his modules folder :)
Title: Re: How to set up a c-RPG-Server
Post by: Tiberius on May 28, 2011, 08:20:37 pm
you want to host a cRPG server on your home-pc ?

you forgot to download/copy the cRPG files(the normal mod files) into the server (<yourserver>/modules).
the server can't start a module, which isn't in his modules folder :)

I have the cRPG module in the module folder. Like I said I followed the guide (Both guides in the beginning of this article) even did a few hours worth of googling several different phrase combinations. I have it unzipped into my c: drive, I copied the cRPG module from my Warband module folder into the dedicated servers module folder. I created a new .bat file and new .txt file associated with the .bat. I have it usign the cRPG module from the module folder and in the log its showing that it is running the cRPG module.

Everything looks to be working completely fine except its not. I also have steam UDP and TCP ports forwarded for the dedicated server hosting along with Warband ports. I added the set_port and set_steam_port into the .txt file to forwarded ports as well. I changed the advanced launch cmd for steam to -game M&B Warband -port (forwarded port).
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 28, 2011, 11:00:33 pm
hmm that sounds strange...
may i should upload a "default" c-rpg" server...


// uploaded it. Grab it here (http://www.mbrepository.com/file.php?id=2924)
Title: Re: How to set up a c-RPG-Server
Post by: Tiberius on May 29, 2011, 01:16:33 am
hmm that sounds strange...
may i should upload a "default" c-rpg" server...


// uploaded it. Grab it here (http://www.mbrepository.com/file.php?id=2924)
Blaint you are badass, this completely fixed whatever problem I was having! Definitely deserve some bumps in the Awesomeness meter!
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 29, 2011, 02:17:05 am
thanks  :D
it's nice to see, that i could help you.
but if you have time, it would be nice, if you compare your setup with mine.
So i can see if i made a mistake in the guide :)

Title: Re: How to set up a c-RPG-Server
Post by: Tiberius on May 29, 2011, 03:15:53 am
thanks  :D
it's nice to see, that i could help you.
but if you have time, it would be nice, if you compare your setup with mine.
So i can see if i made a mistake in the guide :)
Yeah just let me know what all you want and I can screeny or zip it. It might have just been something wrong with the dedicated server files I downloaded from taleworlds. I noticed theres a few less things in the file package you gave me than the taleworlds dl package.
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 29, 2011, 12:15:43 pm
i just removed the native module and moved the old config files into a new folder.
I think my server should be greater(filesize) then the original dedicated.

How you can help me:
-Compare you startscript(the .bat file) wih mine
-Compare you config with mine (just the ports)
Title: Re: How to set up a c-RPG-Server
Post by: ViolentCrimes on May 30, 2011, 03:15:08 am
1. For some reason friendly fire is off on my server unless I manually turn it on via admin. I have this server in the config.

set_friendly_fire 1
set_friendly_fire_damage_friend_ratio 50
set_friendly_fire_damage_self_ratio 1

When I run the batch file it shows that it was inputted. Any ideas?

2. For some reason when people connect and try to use a ladder it crashes my server any ideas?
Title: Re: How to set up a c-RPG-Server
Post by: Earthdforce on May 30, 2011, 04:51:24 am
1. For some reason friendly fire is off on my server unless I manually turn it on via admin. I have this server in the config.

set_friendly_fire 1
set_friendly_fire_damage_friend_ratio 50
set_friendly_fire_damage_self_ratio 1

When I run the batch file it shows that it was inputted. Any ideas?

2. For some reason when people connect and try to use a ladder it crashes my server any ideas?
Have you tried putting set_friendly_fire to 2 or some other number?
Title: Re: How to set up a c-RPG-Server
Post by: Espu on May 30, 2011, 08:56:41 am
hmm that sounds strange...
may i should upload a "default" c-rpg" server...

// uploaded it. Grab it here (http://www.mbrepository.com/file.php?id=2924)

Good effort. Be sure to add cRPG version number so people don't get confused with different versions floating around.
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 30, 2011, 03:55:48 pm
Good effort. Be sure to add cRPG version number so people don't get confused with different versions floating around.

ok added to the guide

Have you tried putting set_friendly_fire to 2 or some other number?

I think you can only set friendlyfire to 0 (disabled) or 1 (enabled ) and nothing else


1. For some reason friendly fire is off on my server unless I manually turn it on via admin. I have this server in the config.

set_friendly_fire 1
set_friendly_fire_damage_friend_ratio 50
set_friendly_fire_damage_self_ratio 1

When I run the batch file it shows that it was inputted. Any ideas?

2. For some reason when people connect and try to use a ladder it crashes my server any ideas?

1. Do you have checked that there is no "#" before these lines (i'm shure, that it is not, because you said it's printed to the console
2. I would recommend you a complete reinstallation of the server . Use a new config file and a new modules folder. (this should also fix 1.
Title: Re: How to set up a c-RPG-Server
Post by: ViolentCrimes on May 31, 2011, 02:10:41 am
Could you add an example config with custom maps added to it. It will help people to have something to go by.
Title: Re: How to set up a c-RPG-Server
Post by: Espu on May 31, 2011, 09:49:36 am
ok added to the guide

I meant adding a version number here: http://www.mbrepository.com/file.php?id=2924

Someone will find that later and download and come wondering why stuff doesn't work.
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on May 31, 2011, 03:33:25 pm
I meant adding a version number here: http://www.mbrepository.com/file.php?id=2924

Someone will find that later and download and come wondering why stuff doesn't work.

sry, forgot to press ok :)
Title: Re: How to set up a c-RPG-Server
Post by: Renegade on June 02, 2011, 03:30:25 pm
set_friendly_fire 1
set_friendly_fire_damage_friend_ratio 50
set_friendly_fire_damage_self_ratio 1

Don't forget set_melee_friendly_fire 1  :wink:
Otherwise you only have ranged FF.
Just look at the link i posted earlier...the most important commands are posted there.

//edit:
Blaint you removed the "your english is crap" vote option  :mrgreen:
I don't know what to vote now  :twisted:
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on June 02, 2011, 05:22:43 pm
Don't forget set_melee_friendly_fire 1  :wink:
Otherwise you only have ranged FF.
Just look at the link i posted earlier...the most important commands are posted there.

//edit:
Blaint you removed the "your english is crap" vote option  :mrgreen:
I don't know what to vote now  :twisted:

i already added a link to the guide... ;)
Title: Re: How to set up a c-RPG-Server
Post by: Blaint on June 05, 2011, 12:28:04 pm
// made the guide more linux friendly
// strings chapter added
Title: Re: How to set up a c-RPG-Server [+RtS cRPG-server ]
Post by: Blaint on July 18, 2011, 09:42:47 pm
Guide should now be up2date .
post if i forgot sth. or if you want sth. other added.

// + other improvements
Title: Re: How to set up a c-RPG-Server [+RtS cRPG-server ]
Post by: Lawlcat on September 12, 2011, 03:05:42 am
Can we still ask questions?

I've got a server running and it loads the name/welcome like in my .txt config, however it's not using the passwords I set.  I've got set_admin_pass mypassword  (obviously not mypassword, but still) and set the private password as well, but anyone can log in.

Also, anyone can hit any of the admin keys on their keyboard (m, n, b, etc) to do stuff.  If I type the admin password and log in, it gives me the administrator control panel, but if I try to type in there it acts like the panel isnt open and does the m/n/b/h nonsense.

Any ideas?
Title: Re: How to set up a c-RPG-Server [+RtS cRPG-server ]
Post by: bredeus on September 20, 2011, 11:51:53 am
So any idea how to run server from WSE?
Title: Re: How to set up a c-RPG-Server [+RtS cRPG-server ]
Post by: Blaint on September 22, 2011, 09:58:07 pm
So any idea how to run server from WSE?

sry, i did not looked in to this threat for a while ....
- - -

* WSE implentation part added (2.1)
* updated the default dedicated server
Title: Re: How to set up a c-RPG-Server [+RtS cRPG-server ]
Post by: Espu on October 07, 2011, 08:16:01 am
Here's somewhat latest configs of official servers. Map rotations might have varied slightly.

Same setup runs on both EU and NA Official servers (EU_cRPG_x, NA_cRPG_x).

Official 1, Battle - server1.cfg
(click to show/hide)

Official 2, Siege - server2.cfg
(click to show/hide)

Official 3, Duel/Strategus - server3.cfg
(click to show/hide)

Official 4, Battle - server4.cfg
(click to show/hide)

Official 5, Siege - server5.cfg
(click to show/hide)

Official 6, DTV - server6.cfg
(click to show/hide)
Title: Re: How to set up a c-RPG-Server [+Rts cRPG-server 0.241 ]
Post by: Kareem on November 13, 2011, 02:55:29 am
Good evening gentlemen, I'd just like to say that this is a brilliant guide and its easy to use, great job on it.

I just have 1 problem that is not directly related to this software. Maybe I'm a noob for asking this but I really want to have a small training server for my clan atleast on the weekends, and I tried running it with hamachi and outside of hamachi, I myself can connect to the servers but when someone else tries to join in hamachi they get message "invalid authorization key" or similar, and without hamachi they cant even see the server(which implies the server is offline). So how do I fix this problem?
Title: Re: How to set up a c-RPG-Server [+Rts cRPG-server 0.241 ]
Post by: Blaint on November 13, 2011, 08:53:46 pm
Take a look at this (http://segmentnext.com/2010/06/11/mount-blade-warband-multiplayer-lanonline-hamachi-guide/).
Maybe the parts about hamachi/LAN can help you ...
Title: Re: How to set up a c-RPG-Server [+Rts cRPG-server 0.241 ]
Post by: Kareem on November 15, 2011, 02:07:25 pm
Alright, thanks ;)
Title: Re: How to set up a c-RPG-Server [+Rts cRPG-server 0.252 ]
Post by: Espu on December 20, 2011, 07:53:50 pm
In response to popular demand: How the official servers are set up


Script below (uses fixed paths, change if you locate stuff elsewhere) can be used to start up servers that load config from config folder. We have configs for servers 1-8. Basic commands:
Code: [Select]
./servermanager.py start 1
./servermanager.py stop 1
./servermanager.py restart 1

You can also use "all" in place of number, there's a list containing what servers to act on when all is requested. Or just don't touch it.


Script:
(click to show/hide)
Title: Re: How to set up a c-RPG-Server [+Rts cRPG-server 0.252 ]
Post by: Dutchydave on January 14, 2012, 12:55:41 am
can someone point me in the right direction on how to find a "tcadmin config file" to host on a tca platform please? Also how much bandwidth would a 20 slot server use per month?Run on a windows 7 platform
Title: Re: How to set up a c-RPG-Server [+Rts cRPG-server 0.252 ]
Post by: Dutchydave on January 16, 2012, 09:11:17 am
can someone please tell me how you update a server to the patch that came out today 1.260?
Title: Re: How to set up a c-RPG-Server [+Rts cRPG-server 0.252 ]
Post by: Espu on January 17, 2012, 03:14:26 pm
If you have shell access, Python updater script is probably useful:

http://forum.c-rpg.net/index.php/topic,21410.0.html

Full mod can be downloaded from http://download.c-rpg.net/cRPG.zip
Title: Re: How to set up a c-RPG-Server [+cRPG-server 0.271 ]
Post by: Dalfador on May 11, 2012, 08:51:05 pm
Hello, does this still work? I have just tried it and have gotten an error. A quick reply would be appreciated. Thanks.
Title: Re: How to set up a c-RPG-Server [+cRPG-server 0.271 ]
Post by: Digglez on August 07, 2012, 09:08:24 pm
Quote
#adding all kingdoms to both sides just to randomize all of them
#adding less kingdoms will reduce the randomization set (used in set_randomize_factions command)
add_factions fac_kingdom_1 fac_kingdom_1
add_factions fac_kingdom_2 fac_kingdom_2
add_factions fac_kingdom_3 fac_kingdom_3
add_factions fac_kingdom_4 fac_kingdom_4
add_factions fac_kingdom_5 fac_kingdom_5
add_factions fac_kingdom_6 fac_kingdom_6
set_randomize_factions 1

Is there a list for which number corresponds to which faction?  So if say I only ever wanted RED & BLUE team colors?

I assume it would be like (once I figure out which numbers for RED & BLUE)
Quote
add_factions fac_kingdom_1 fac_kingdom_2
set_randomize_factions 0
Title: Re: How to set up a c-RPG-Server [+cRPG-server 0.271 ]
Post by: Rother on November 04, 2012, 07:29:06 pm
Thank you for your guide, it really helped me installing my server.

Anyway, I got an error saying the mb_warband_dedicated.exe / WSELoader.exe want to create a window. I solved the problem by using the linked server version 1143. The server version from the taleworlds website (1153) throws graphical output out. This might be fine on windows or linux with complete installed x window system, but it's not working on console server.

You might want add this to your guide, so other people don't get the same problem and gnaw at their keyboard. :D
Title: Re: How to set up a c-RPG-Server [+cRPG-server 0.271 ]
Post by: Keslord on April 06, 2013, 08:01:52 am
http://www.patches-scrolls.com/dl.php?file=mb_warband_dedicated_1143.zip (http://www.patches-scrolls.com/dl.php?file=mb_warband_dedicated_1143.zip)


Link in Original is dead


Title: Re: How to set up a c-RPG-Server [+cRPG-server 0.271 ]
Post by: Cezare on August 10, 2013, 11:19:42 am
Hello.
I have done all as it was written in in the guide. But when I click bat file, there is an error:
"Failed to create Warband process
Windows API error
code: 193
Message: (null)"
What is it?