cRPG > Guides
How to set up a c-RPG-Server [+cRPG-server 0.271 ]
Renegade:
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
--- End quote ---
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 ;)
Espu:
That's why I posted the "I'm no guru, can be done better". Thanks for sharing the better way! :)
HarunYahya:
How to add maps and create map cycles ? Please if anyone can explain this ?
Blaint:
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)
HarunYahya:
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
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version