Hallo, ich bekomme meinen Server nicht gestartet. Alle Spieldatein sind hochgeladen, habe die benötigten linux server Datein wie z.B. spearhead_lnxded, eine server.cfg ist vorhanden im main sowieso im mainta ordner siehe:
Code
// Server Name
// Name that will appear on the server browser
sv_hostname "Testserver"
// Game Type
// 1 Free for All
// 2 Team Based
// 3 Round Based
// 4 Objective
// 5 Tug Of War
set g_gametype 1
// Health Drop
// When enabled players will drop a health pack when killed
set g_healthdrop 1
// Realism
// Toggles reaslistic mode
set g_realismmode 0
// Fast Run Speed
// When checked, the speed at which players can run through levels is increased.
// Leaving it unchecked defaults to Medal of Honor Allied Assault's original run speed
set sv_dmspeedmult 1.100000
// Team Damage
// Toggles friendly fire
set g_teamdamage 0
// Heal Rate
// Determines how fast players heal when they use a health pickup
set g_healrate 0
// Max Players
set sv_maxclients 64
// Time Limit
// This sets the elapsed time at which the game ends, the winner being the player with the highest score at that time.
timelimit 15
// Frag Limit
// The score at which the player or team will win the current map
fraglimit 0
// Map Rotation Time
// This sets the maximum amount of time in minutes players will spend in a particular map.
maprotationtime 0
// Team Spawn Delay
// This sets a delay in seconds between spawns. This is useful if you would like the
// player spawned in batches, rather than one at a time
set sv_team_spawn_interval 15
// Round Reset Time
// This sets how long each round will take, in minutes. This can be smaller than the map rotation time, but not larger.
roundlimit 0
// Inactive Spectate
// This sets the time in seconds after which an inactive player becomes a spectator. To save server bandwidth, 60 seconds is default.
set g_inactivespectate 60
// Inactive Kick
// This sets the time in seconds after which an inactive player is kicked out of the game. 900 (15 minutes) seconds is default.
set g_inactivekick 0
// Use Gamespy
// To use GameSpy gaming service for internet-based multiplayer games.
set sv_gamespy 0
// Pure
// Verifies that the files on the client are the same as those on the server.
set sv_pure 0
// Allow Vote
// Enables players to call a vote.
set g_allowvote 0
// Flood Protect
// Limits amount of text a player can typeset sv_floodprotect 0
// Force Team Spectate
set g_forceteamspectate 1
set dmflags 0
set g_forceready 0
set g_forcespawn 0
// Invulnerable Time
// Amount of time a player is invulnerable for after spawning
set sv_invulnerabletime 3
// Team Kill Warning
// Amount of team kills before the player is warned
set g_teamkillwarn 3
// Team Kill Kick
// Amount of team kills before the player is kicked off the server.
set g_teamkillkick 5
// Team Switch Delay
// Frequency at which you can switch teams
set g_teamswitchdelay 15
// Gravity
set sv_gravity 800.000000
// Allow Join Time
set g_allowjointime 30
// Private Clients
// Clients that require a password to join
set sv_privateclients 0
// Password
// Allows you to set a password for the server
set sv_privatepassword ""
// Keywords
// Keywords which allow browsers to filter servers.
set sv_keywords ""
// Net Port
set net_port 12203
// Minimum Ping
set sv_minping 0
// Maximum Ping
set sv_maxping 0
// Maximum Rate
set sv_maxrate 0
// Map
// Starting map on the rotation.
map "DM/mohdm1"
// Map Rotation List
sv_maplist "DM/mohdm1 DM/mohdm2 DM/mohdm3 DM/mohdm4 DM/mohdm5 DM/mohdm6 DM/mohdm7 DM/MP_Bahnhof_DM DM/MP_Bazaar_DM DM/MP_Brest_DM DM/MP_Gewitter_DM DM/MP_Holland_DM DM/MP_Stadt_DM DM/MP_Unterseite_DM DM/MP_Verschneit_DM obj/MP_Ardennes_TOW obj/MP_Berlin_TOW obj/MP_Dr"
Alles anzeigen
falls diese veraltet aussehen sollte, wäre es nett ihr könnt mir da eine bessere geben.
Ich benutze ein startscript siehe:
Code
#! /bin/sh
NAME=mohshServer_port12203
DESC="Medal of Honor Spearhead"
PARAMS="+set dedicated 2 +set net_port 12203 +exec server.cfg"
DIR=/home/gameserver/server/moh/MOHAA
SCRIPT=spearhead_lnxded
DAEMON=$DIR/$SCRIPT
case "$1" in
start)
echo "Starte $DESC: $NAME"
cd $DIR
screen -d -m -S $NAME $DAEMON $PARAMS
;;
stop)
if [[ `screen -ls |grep $NAME` ]]
then
echo -n "Stoppe $DESC: $NAME"
kill `screen -ls |grep $NAME |awk -F . '{print $1}'|awk '{print $1}'`
echo " ... Server gestoppt."
else
echo "Konnte keinen laufenden Server mit PID -- $DESC -- nicht finden"
fi
;;
restart)
if [[ `screen -ls |grep $NAME` ]]
then
echo -n "Stoppe $DESC: $NAME"
kill `screen -ls |grep $NAME |awk -F . '{print $1}'|awk '{print $1}'`
echo " ... Server gestoppt ... Kommando Start wird ausgefÃŒhrt"
else
echo "Konnte keinen laufenden Server mit PID -- $DESC -- nicht finden ... Kommando Start wird ausgefÃŒhrt"
fi
echo -n "Starte $DESC: $NAME"
cd $DIR
screen -d -m -S $NAME $DAEMON $PARAMS
echo " ... Server gestartet."
;;
*)
echo "Usage: $0 Parameter eingeben {start|stop|restart}"
exit 1
;;
esac
exit 0
Alles anzeigen
mein startbefehl im SSH ist: ./start_test.sh start
aber das einzige was dann kommt ist: Starte Medal of Honor Spearhead: mohshServer_port12203
und bin danach wieder in der commandline
fehler werden nicht wirklich angezeigt, errorlogs etc. existieren nicht
ich hoffe man kann mir helfen