Wenn ich den server so starte, dass er in putty lädt (./cod4_lnxded-bin start) bekomme ich diese ausgabe und es geht nichtmehr weiter...
Code:
CoD4 MP 1.7 build linux-i386 Jun 28 2008 begin $init ----- FS_Startup ----- Current language: english Current search path: /root/.callofduty4/main /opt/cod/cod4_new/main/iw_13.iwd (265 files) /opt/cod/cod4_new/main/iw_12.iwd (33 files) /opt/cod/cod4_new/main/iw_11.iwd (448 files) /opt/cod/cod4_new/main/iw_10.iwd (230 files) /opt/cod/cod4_new/main/iw_09.iwd (447 files) /opt/cod/cod4_new/main/iw_08.iwd (66 files) /opt/cod/cod4_new/main/iw_07.iwd (34 files) /opt/cod/cod4_new/main/iw_06.iwd (416 files) /opt/cod/cod4_new/main/iw_05.iwd (716 files) /opt/cod/cod4_new/main/iw_04.iwd (765 files) /opt/cod/cod4_new/main/iw_03.iwd (670 files) /opt/cod/cod4_new/main/iw_02.iwd (1296 files) /opt/cod/cod4_new/main/iw_01.iwd (1456 files) /opt/cod/cod4_new/main/iw_00.iwd (1054 files) /opt/cod/cod4_new/main /opt/cod/cod4_new/main_shared /opt/cod/cod4_new/players File Handles: ---------------------- 24242 files in iwd files Adding channel: error Adding channel: gamenotify Adding channel: boldgame Adding channel: subtitle Adding channel: obituary Adding channel: logfile_only Adding channel: console_only Adding channel: gfx Adding channel: sound Adding channel: files Adding channel: devgui Adding channel: profile Adding channel: ui Adding channel: client Adding channel: server Adding channel: system Adding channel: playerweap Adding channel: ai Adding channel: anim Adding channel: physics Adding channel: fx Adding channel: leaderboards Adding channel: parserscript Adding channel: script No channels added or hidden Adding channel: error Adding channel: error No channels added or hidden Adding channel: gamenotify Adding channel: obituary No channels added or hidden Adding channel: boldgame No channels added or hidden Adding channel: subtitle No channels added or hidden execing default_mp.cfg from disk execing default_mp_controls.cfg from disk No channels added or hidden execing default_mp_gamesettings.cfg from disk execing server_map.cfg from disk execing language.cfg from disk execing profiles/rankedserver/config_mp.cfg from disk Opening IP socket: localhost:28960 Hostname: 81-89-100-83 IP: 81.89.100.83 end $init 605 ms Loading fastfile code_post_gfx_mp Loading fastfile localized_code_post_gfx_mp Loading fastfile ui_mp Loading fastfile common_mp Loading fastfile localized_common_mp Loaded zone 'code_post_gfx_mp' Loaded zone 'localized_code_post_gfx_mp' Loaded zone 'ui_mp' Loaded zone 'common_mp' Loaded zone 'localized_common_mp' --- Common Initialization Complete --- PunkBuster Server: pb_sv_SsNext = 256110 (0 to 999999) PunkBuster Server: pb_sv_LogNext = 33 (1 to 999999) PunkBuster Server: PB Log File /root/.callofduty4/pb/svlogs/00000033.log Opened for COD4 (l) PunkBuster Server: 0 Power Players loaded from /root/.callofduty4/pb/pbpower.dat PunkBuster Server: 0 PB Rcon Filters loaded from /root/.callofduty4/pb/pbrcon.dat PunkBuster Server: 0 Map lines loaded from /root/.callofduty4/pb/pbsvmaps.cfg PunkBuster Server: Attempting to resolve master7.evenbalance.com PunkBuster Server: Resolved to [50.62.82.210] PunkBuster Server: PunkBuster Server for COD4 (v1.828 | A1407 C2.318) Enabled Huffman Took 0 Milliseconds Hitch warning: 7750 msec frame time PunkBuster Server: Game Version [CoD4 MP 1.7 build 13620 Thu Oct 04 00:43:04 2007 linux-i386] Hitch warning: 510 msec frame time
Code:
// for public ruleset customizations, see z_custom_ruleset.iwd // info strings sets _Admin "" sets _Email "" sets _Website "" sets _Location "" sets _Irc "" sets sv_hostname "EnigmA Gaming Funserver" sets sv_punkbuster "1" // Log Einstellungen set logfile "1" set g_logsync "2" set g_log "games_mp.log" set sv_log_damage "1" // Ping set sv_minping "0" set sv_maxping "200" set sv_voice "1" // FPS set sv_fps "20" // password settings set rcon_password "***" // read server_setup.txt why we don't specify rcon password here set sv_privatePassword "" // private slots password set g_password "" // server password // player slots, maxclients - privateclients = public slots set sv_maxclients "12" // maximum number of clients set sv_privateclients "" // number of private slots // client download settings set sv_allowdownload "1" seta sv_wwwDownload "0" seta sv_wwwBaseURL "" seta sv_wwwDlDisconnected "0" // map rotation, change to your liking set sv_maprotationcurrent "gametype sd map mp_crash" set sv_mapRotation "gametype sd map mp_crash" set g_gametype "sd" // promod settings set promod_mode "custom_public" // promod mode, for a list of promod modes see attached readme set promod_enable_scorebot "0" // match-modes only // Team Deathmatch set scr_war_scorelimit "500" set scr_war_timelimit "10" set scr_war_roundlimit "0" set scr_war_numlives "0" set scr_war_playerrespawndelay "0" set scr_war_waverespawndelay "0" // Teamkill set scr_team_fftype "0"
Code:
#!/bin/bash
#
# aubergine @ team.Ult!mate
# start/stop Script
DAEMON="/opt/cod/cod4_new/cod4_lnxded"
DIR="/opt/cod/cod4_new"
SRVNAME="EnigmA Gaming Funserver"
PARAMETERS="+set loc_language 2 +set net_ip 81.89.100.83 +set net_port 28960 +set dedicated 2 +exec server.cfg +set sv_maxclients 12 +set ttycon 0 +set developer 0 +set sv_punkbuster 1 +set fs_game mods/promodlive211"
if ! [ -x $DAEMON ]; then
exit 1
fi
stop_srv() {
killall cod4_lnxded-bin > /dev/null 2>&1
}
start_srv() {
cd $DIR
$DAEMON $PARAMETERS > /dev/null 2>&1 &
}
case "$1" in
start)
start_srv
echo ""$SRVNAME" gestartet"
;;
stop)
stop_srv
echo ""$SRVNAME" gestoppt"
;;
restart)
stop_srv
echo ""$SRVNAME" gestoppt..."
i=0
while [ $i -le 9 ]
do
echo -n ""$i"-"
sleep 1
i=$[$i+1]
done
echo -n "10: "
start_srv
echo ""$SRVNAME" neugestartet"
;;
*)
echo "Usage: ./<scriptname>.sh {start|stop|restart}"
exit 1
;;
esac
exit 0






