Ergebnis 1 bis 19 von 19

Thema: Call of Duty 4 dedicated Linux Server installieren

  1. #1
    Colonel Avatar von Gargi
    Registriert seit
    20.01.2006
    Beiträge
    11.618

    Standard Call of Duty 4 dedicated Linux Server installieren

    Wir installieren Call of Duty 4 Dedicated Server auf einem Opensuse Linux System. Die Anleitung soll hierbei Schritt für Schritt das Serversetup beschreiben. Die dafür notwendigen Linuxbinaries müssen hierbei aus dem Netz heruntergeladen werden. Eine gute Anlaufstelle ist dabei Gamershell

    Patch Download Archive C - GamersHell.com

    oder icculus selbst:

    icculus.org headlines

    Desweiteren benötigt Ihr die Original DVD des Spiels.



    CoD4 Server installieren

    Als erstes legt Euch im Verzeichnis /usr/local/games das Verzeichnis cod4 als root an:

    Code:
    su
    [Passwort]
    
    cd /usr/local/games
    mkdir cod4
    In dieses Verzeichnis müsst Ihr nun die Verzeichnisse main und zone und den kompletten Inhalt aus dem Originalspiel hochladen. Es handelt sich hier um ca. 6 GB an Daten! Also plant hierfür genügend Zeit ein, wenn das über ftp laufen muss.

    Zieht Euch dann den aktuellen Patch (derzeit 1.7) herunter und entpackt alle Dateien des Patches als root in das /usr/local/games/cod4/ Verzeichnis. Packt dazu den Patch mit

    Code:
    tar xvfj [paketname].tar.bz2
    aus. [paketname] ersetzt entsprechend mit den ECHTEN Paketnamen .
    Kopiert die ausgepackten Dateien dann als Root in Euer cod4 Verzeichnis.

    Nun legen wir noch als normaler User in unser Homeverzeichnis das Verzeichnis .callofduty4 an (den Punkt am Anfang nicht vergessen!). In dieses kommen dann später unsere Konfigurationsdateien.

    Als nächstes richten wir den Punkbuster ein. Hierfür müsst Ihr Euch als Root im cod4 Verzeichnis befinden:

    Code:
    cd /usr/local/games/cod4
    Wir benötigen nun unter Opensuse noch das Paket upx. Das ziehen wir uns einfach mit

    Code:
    yast -i upx
    an der Konsole als Root nach.

    Nun installieren wir den Punkbuster:

    Code:
    upx -d pbsetup.run
    ./pbsetup.run -e
    Hier die Eula mit Y bestätigen.

    Dann

    Code:
    ./pbsetup.run --add-game=cod4 --add-game-path=/usr/local/games/cod4/
    Danach holen wir uns noch die aktuellen Updates:

    Code:
    ./pbsetup.run -u

    CoD4 Server starten

    In Eurem Homeverzeichnis legt dazu bitte unter .callofduty4 zwei Konfigurationsdateien an. Die folgenden Beispiele solltet Ihr auf Eure Server entsprechend anpassen:

    server.cfg:
    Code:
    //****************************************************************************** 
    // Call of Duty 4: Modern Warfare - Dedicated Server Config File 
    //****************************************************************************** 
    // Autor: 
    // Website: 
    // Datum: Nov, 2007 
    // Config-Typ: standard mode, ranked 
    // Version: 0.9 BETA 
    //****************************************************************************** 
    
    //================================================================================= 
    // Server Information 
    //================================================================================= 
    sets sv_hostname "Euer Servername" 
    sets _Admin "Adminname" 
    sets _Email "" 
    sets _Website "http://eure page falls vorhanden.de" 
    sets _Location "Germany" 
    sets _Irc "" 
    sets _Mod "" 
    sets _ModVer "" 
    sets _ModUpdate "" 
    sets _Maps "" 
    set scr_motd "" 
    
    //================================================================================= 
    // General Settings 
    //================================================================================= 
    
    // Log Settings 
    set g_logsync "2"           // 0=no log, 1=buffered, 2=continuous, 3=append 
    set logfile "1"             // 0 = NO log, 1 = log file enabled 
    set g_log "games_mp.log"     // Name of log file, default is games_mp.log 
    set sv_log_damage "1" 
    
    // Network options 
    set net_ip ""      // Set your servers IP address 
    set net_port "28960"            // Set your port number 
    set com_hunkMegs "512" 
    set net_noipx "1"                 // Allow ONLY tcp/ip protocol, player/server communications 
    
    // Server Network Mode 
    set dedicated "2"                 // 0 = Listen, 1 = LAN, 2 = Internet 
    
    // Master servers 
    set sv_master1 "cod2master.activision.com" 
    set sv_master2 "cod2authorize.activision.com" 
    set sv_master3 "cod2master.infinityward.com" 
    set sv_master3 "cod2update.activision.com" 
    set sv_master4 "master.gamespy.com:28960" 
    set sv_master5 "master0.gamespy.com" 
    set sv_master6 "master1.gamespy.com" 
    set sv_master7 "clanservers.net" 
    set sv_gamespy "1" 
    
    // Password Settings 
    set rcon_password ""            // RCON must supply pw to use 
    set sv_privatePassword ""       // Private slots, non-public slots 
    set g_password "Euer Admin Passwort"                //Server password 
    
    // Player slots setup 
    set sv_maxclients "32"         // MAX server player slots, this is TOTAL player slots 
    set sv_privateclients ""       // Number of private player slots, maxclients - privateclients = public slots 
    
    // Ping 
    set sv_minPing "0"             // MIN player ping on CONNECT, any lower and player isnt allowed to connect 
    set sv_maxping "0"           // MAX player ping on CONNECT, any higher and player isnt allowed to connect 
    
    // Client Download Settings (0=off/1=on) 
    set sv_allowdownload "1" 
    seta sv_wwwDownload "0" 
    //seta sv_wwwBaseURL "" 
    seta sv_wwwDlDisconnected "1" 
    
    // Rate 
    set sv_maxRate "20000" 
    
    // FPS 
    //set sv_fps "20" 
    
    // Drop inactive players 
    set sv_timeout "300" 
    set sv_zombietime "1" 
    set g_inactivity "0" 
    set g_inactivityspectator "0" 
    
    // AntiFlooding Settings 
    set sv_floodProtect "1" 
    set sv_reconnectlimit "3" 
    
    // Anti Cheat Settings 
    set sv_disableClientConsole "0" 
    set cl_autocmd "0" 
    set sv_cheats "0" 
    set sv_pure "1" 
    set g_banIPs "" 
    set g_no_script_spam "1" 
    set sv_punkbuster "1" 
    
    // Temporary Ban duration, in seconds 
    set sv_kickBanTime "3600" 
    
    // In-game voice communication system 
    set sv_voice "0" 
    set sv_voiceQuality "1" 
    set voice_deadChat "0" 
    set voice_global "0" 
    set voice_localEcho "0" 
    set winvoice_mic_mute "1" 
    
    // Team-Balance and Voting 
    set scr_teambalance "1" 
    set g_allowvote "1" 
    
    //================================================================================= 
    // Other Gameplay Settings 
    //================================================================================= 
    
    // General 
    set scr_game_allowkillcam                     0 
    set scr_game_onlyheadshots                   0 
    set scr_game_deathpointloss             0 
    set scr_game_suicidepointloss           0 
    set scr_team_teamkillpointloss          1 
    set scr_game_spectatetype               1         // (0-2) Disabled, Team/Players Only, Free 
    set scr_game_forceuav                   0 
    set scr_game_hardpoints                 1         // (0-1) i.e. artillery, uav, helicopter 
    
    // Hardpoints 
    set scr_hardpoint_allowartillery        1 
    set scr_hardpoint_allowuav              1 
    set scr_hardpoint_allowhelicopter       1 
    
    // Teams 
    set scr_team_fftype                     1         // (0-3) Disabled, Enabled, Reflect, Shared 
    set scr_team_teamkillspawndelay         20 
    set scr_team_kickteamkillers            3 
    
    // Player 
    set scr_player_maxhealth                100 
    set scr_player_suicidespawndelay        0 
    set scr_player_healthregentime              5 
    set scr_player_forcerespawn                1 
    set scr_player_sprinttime                    4 
    
    // UI 
    set scr_hardcore                             0 
    set scr_oldschool_mw                         0 
    set ui_hud_obituaries                         1 
    set ui_hud_showobjicons                     1 
    
    //================================================================================= 
    // Other Settings 
    //================================================================================= 
    
    set sv_allowAnonymous "0" 
    set g_antilag "0" 
    set g_compassShowEnemies "0" 
    //ui_maxclients 32 
    
    //================================================================================= 
    // Gametype Settings 
    //================================================================================= 
    
    // First gametype to load... 
    // "dm"   - free for all deathmatch 
    // "dom"  - domination 
    // "koth" - headquarters 
    // "sab"  - sabotage 
    // "sd"   - search & destroy 
    // "war"  - team deathmatch 
    
    set g_gametype "koth" 
    
    // MAPROTATION 
    set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_shipment gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant" 
    
    // Deathmatch 
    set scr_dm_scorelimit                           150 
    set scr_dm_timelimit                           10 
    set scr_dm_roundlimit                          1 
    set scr_dm_numlives                            0 
    set scr_dm_playerrespawndelay                0 
    set scr_dm_waverespawndelay                   0 
    
    // Domination 
    set scr_dom_scorelimit                        200 
    set scr_dom_timelimit                           0 
    set scr_dom_roundlimit                        1 
    set scr_dom_numlives                           0 
    set scr_dom_playerrespawndelay              0 
    set scr_dom_waverespawndelay                0 
    
    // Teamdeath Match 
    set scr_war_scorelimit                        750 
    set scr_war_timelimit                           10 
    set scr_war_roundlimit                        1 
    set scr_war_numlives                           0 
    set scr_war_playerrespawndelay              0 
    set scr_war_waverespawndelay                0 
    
    // Sabotoge 
    set scr_sab_scorelimit                        1 
    set scr_sab_timelimit                           20 
    set scr_sab_roundlimit                        0 
    set scr_sab_roundswitch                        1 
    set scr_sab_numlives                           0 
    set scr_sab_bombtimer                          30 
    set scr_sab_planttime                          2.5 
    set scr_sab_defusetime                        5 
    set scr_sab_hotpotato                          0 
    set scr_sab_playerrespawndelay              7.5 
    set scr_sab_waverespawndelay                0 
    
    // King of the Hill 
    set scr_koth_scorelimit                        250 
    set scr_koth_timelimit                        15 
    set scr_koth_roundlimit                        1 
    set scr_koth_roundswitch                      1 
    set scr_koth_numlives                          0 
    set scr_koth_playerrespawndelay              0 
    set scr_koth_waverespawndelay                0 
    set koth_autodestroytime                      60 
    set koth_spawntime                             0 
    set koth_kothmode                               0 
    set koth_capturetime                           20 
    set koth_destroytime                           10 
    set koth_delayPlayer                           0 
    set koth_spawnDelay                             60 
    
    // The following class/perk-settings might not be needed in the default-config! 
    
    //================================================================================= 
    // Class/Perk Settings 
    //================================================================================= 
    
    // limits the number of players that can choose each class type 
    set class_assault_limit                           99 
    set class_specops_limit                           99 
    set class_heavygunner_limit                     99 
    set class_demolitions_limit                      99 
    set class_sniper_limit                           99 
    
    // perks 
    set perk_allow_specialty_parabolic              1 
    set perk_allow_specialty_gpsjammer              1 
    set perk_allow_specialty_holdbreath              1 
    set perk_allow_specialty_quieter                1 
    set perk_allow_specialty_longersprint           1 
    set perk_allow_specialty_detectexplosive       1 
    set perk_allow_specialty_explosivedamage       1 
    set perk_allow_specialty_pistoldeath           1 
    set perk_allow_specialty_grenadepulldeath       1 
    set perk_allow_specialty_bulletdamage           1 
    set perk_allow_specialty_bulletpenetration    1 
    set perk_allow_specialty_bulletaccuracy         1 
    set perk_allow_specialty_rof                     1 
    set perk_allow_specialty_fastreload              1 
    set perk_allow_specialty_extraammo              1 
    set perk_allow_specialty_armorvest              1 
    set perk_allow_specialty_fraggrenade           1 
    set perk_allow_specialty_specialgrenade         1 
    set perk_allow_c4_mp                              1 
    set perk_allow_claymore_mp                       1 
    set perk_allow_rpg_mp                              1 
    
    // assault class default loadout 
    set class_assault_primary                          m16 
    set class_assault_primary_attachment              gl 
    set class_assault_secondary                        beretta 
    set class_assault_secondary_attachment            none 
    set class_assault_perk1                            specialty_null 
    set class_assault_perk2                            specialty_bulletdamage 
    set class_assault_perk3                            specialty_longersprint 
    set class_assault_grenade                          concussion_grenade 
    set class_assault_camo                               camo_none 
    set class_assault_frags                            1 
    set class_assault_special                          1 
    
    // specops class default loadout 
    set class_specops_primary                          mp5 
    set class_specops_primary_attachment              none 
    set class_specops_secondary                        usp 
    set class_specops_secondary_attachment            silencer 
    set class_specops_perk1                            c4_mp 
    set class_specops_perk2                            specialty_explosivedamage 
    set class_specops_perk3                            specialty_bulletaccuracy 
    set class_specops_grenade                          flash_grenade 
    set class_specops_camo                               camo_none 
    set class_specops_frags                            1 
    set class_specops_special                          1 
    
    // heavygunner class default loadout 
    set class_heavygunner_primary                      saw 
    set class_heavygunner_primary_attachment           none 
    set class_heavygunner_secondary                    usp 
    set class_heavygunner_secondary_attachment        none 
    set class_heavygunner_perk1                         specialty_specialgrenade 
    set class_heavygunner_perk2                         specialty_armorvest 
    set class_heavygunner_perk3                         specialty_bulletpenetration 
    set class_heavygunner_grenade                      concussion_grenade 
    set class_heavygunner_camo                           camo_none 
    set class_heavygunner_frags                         1 
    set class_heavygunner_special                      1 
    
    // demolitions class default loadout 
    set class_demolitions_primary                      winchester1200 
    set class_demolitions_primary_attachment           none 
    set class_demolitions_secondary                    beretta 
    set class_demolitions_secondary_attachment        none 
    set class_demolitions_perk1                         rpg_mp 
    set class_demolitions_perk2                         specialty_explosivedamage 
    set class_demolitions_perk3                         specialty_longersprint 
    set class_demolitions_grenade                      smoke_grenade 
    set class_demolitions_camo                           camo_none 
    set class_demolitions_frags                         1 
    set class_demolitions_special                      1 
    
    // sniper class default loadout 
    set class_sniper_primary                             m40a3 
    set class_sniper_primary_attachment               none 
    set class_sniper_secondary                           beretta 
    set class_sniper_secondary_attachment             silencer 
    set class_sniper_perk1                                specialty_specialgrenade 
    set class_sniper_perk2                                specialty_bulletdamage 
    set class_sniper_perk3                                specialty_bulletpenetration 
    set class_sniper_grenade                             flash_grenade 
    set class_sniper_camo                                camo_none 
    set class_sniper_frags                                1 
    set class_sniper_special                             1 
    
    set class_assault_movespeed                          0.95 
    set class_specops_movespeed                          1.00 
    set class_heavygunner_movespeed                     0.875 
    set class_demolitions_movespeed                     1.00 
    set class_sniper_movespeed                          1.00 
    
    set scr_enable_nightvision                          1 
    set scr_enable_music                                 1 
    set scr_enable_hiticon                               1 
    
    //================================================================================= 
    // Execute other Config-Files 
    //================================================================================= 
    
    // The following execute-command might not be needed in the default-config! 
    
    exec mp_weapons.cfg

    mp_weapons.cfg:
    Code:
    // The following weapon-settings might not be needed in the default-config! 
    
    //****************************************************************************** 
    // Enables Dropping of Specified Weapon Class 
    //****************************************************************************** 
    set class_assault_allowdrop                     1 
    set class_specops_allowdrop                     1 
    set class_heavygunner_allowdrop               1 
    set class_demolitions_allowdrop                1 
    set class_sniper_allowdrop                       1 
    
    //****************************************************************************** 
    // Assault Rifles 
    //****************************************************************************** 
    set weap_allow_m16                                1 
    set weap_allow_ak47                              1 
    set weap_allow_m4                                  1 
    set weap_allow_g3                                  1 
    set weap_allow_g36c                              1 
    set weap_allow_m14                                1            
    set weap_allow_mp44                              1 
    
    //****************************************************************************** 
    // Assault Attachments 
    //******************************************************************************            
    set attach_allow_assault_none                    1 
    set attach_allow_assault_gl                     1 
    set attach_allow_assault_reflex                1 
    set attach_allow_assault_silencer              1 
    set attach_allow_assault_acog                  1 
    
    //****************************************************************************** 
    // SMG 
    //****************************************************************************** 
    set weap_allow_mp5                                1 
    set weap_allow_skorpion                           1 
    set weap_allow_uzi                                1 
    set weap_allow_ak74u                              1 
    set weap_allow_p90                                1 
    
    //****************************************************************************** 
    // SMG Attachments 
    //****************************************************************************** 
    set attach_allow_smg_none                       1 
    set attach_allow_smg_reflex                     1 
    set attach_allow_smg_silencer                    1 
    set attach_allow_smg_acog                       1 
    
    //****************************************************************************** 
    // Shotguns 
    //****************************************************************************** 
    set weap_allow_m1014                              1 
    set weap_allow_winchester1200                    1 
    
    //****************************************************************************** 
    // Shotgun Attachments 
    //****************************************************************************** 
    set attach_allow_shotgun_none                    1 
    set attach_allow_shotgun_reflex                1 
    set attach_allow_shotgun_grip                    1 
    
    //****************************************************************************** 
    // LMG 
    //****************************************************************************** 
    set weap_allow_saw                                1 
    set weap_allow_rpd                                1 
    set weap_allow_m60e4                              1 
    
    //****************************************************************************** 
    // LMG Attachments 
    //****************************************************************************** 
    set attach_allow_lmg_none                       1 
    set attach_allow_lmg_reflex                     1 
    set attach_allow_lmg_grip                       1 
    set attach_allow_lmg_acog                       1 
    
    //****************************************************************************** 
    // Sniper Rifles 
    //****************************************************************************** 
    set weap_allow_dragunov                           1 
    set weap_allow_m40a3                              1 
    set weap_allow_barrett                            1 
    set weap_allow_remington700                     1 
    set weap_allow_m21                                1 
    
    //****************************************************************************** 
    // Sniper Attachments 
    //****************************************************************************** 
    set attach_allow_sniper_none                     1 
    set attach_allow_sniper_acog                     1 
    
    //****************************************************************************** 
    // Pistols 
    //****************************************************************************** 
    set weap_allow_beretta                            1 
    set weap_allow_colt45                            1 
    set weap_allow_usp                                1 
    set weap_allow_deserteagle                       1 
    set weap_allow_deserteaglegold                  1 
    
    //****************************************************************************** 
    // Pistol Attachments 
    //****************************************************************************** 
    set attach_allow_pistol_none                     1 
    set attach_allow_pistol_silencer                1 
    
    //****************************************************************************** 
    // Grenades 
    //****************************************************************************** 
    set weap_allow_frag_grenade                     1 
    set weap_allow_concussion_grenade              1 
    set weap_allow_flash_grenade                     1 
    set weap_allow_smoke_grenade                     1
    Legt Euch in Euer Homeverzeichnis (ich habe es unter /homeverzeichnis/bin/ kopiert) folgende Startdatei an:

    startcod4.sh:
    Code:
    #!/bin/sh
    wait 3
    pkill cod4_lnxded-bin
    cd /usr/local/games/cod4
    ./cod4_lnxded +exec server.cfg +map_rotate
    Macht diese Datei ausführbar:

    Code:
    chmod +x startcod4.sh
    Sorgt nun dafür, dass in der Firewall folgende Ports zugänglich sind:

    UDP: 20800 20810 28960

    Startet nun CoD4 als normaler User mit

    Code:
    sh startcod4.sh

    Punkbuster Update

    Auf der Serverseite solltet Ihr dann regelmäßig einmal als Root im Verzeichnis /usr/local/games/cod4 das Update laufen lassen:

    ./pbsetup.run -u

    Wenn ein Client gekickt wird, weil seine Punkbuster Dateien nicht mehr aktuell sind, dann muss er ein manuelles Setup fahren. Das Programm für Windows gibt es hier:

    PunkBuster Online Countermeasures


    Viel Spaß!

    cu
    Gargi
    Geändert von Gargi (06.07.2008 um 15:54 Uhr)

  2. #2
    Colonel
    Themenstarter
    Avatar von Gargi
    Registriert seit
    20.01.2006
    Beiträge
    11.618

    Standard

    Erratum!

    Leider hat sich der Fehlerteufel an zwei Stellen eingeschlichen. Ich bitte folgendes zu beachten:

    1.)

    Falsch ist in den server.cfg folgendes:
    Code:
    // Password Settings 
    set rcon_password ""            // RCON must supply pw to use 
    set sv_privatePassword ""       // Private slots, non-public slots 
    set g_password "Euer Admin Passwort"                //Server password
    Das Passwort gehört bei rcon_password rein. Also richtig:

    Code:
    // Password Settings 
    set rcon_password "Euer Admin Passwort"            // RCON must supply pw to use 
    set sv_privatePassword ""       // Private slots, non-public slots 
    set g_password ""                //Server password
    2.)

    Die server.cfg und mp_weapons.cfg gehört in ein Unterverzeichnis main von ./callofduty4. Also korrekt:

    [homeverzeichnsi]/.callofduty4/main

    Sorry für die beiden Fehler, kann aber leider meinen Beitrag nicht mehr editieren

    cu
    Gargi

  3. #3
    Staff Sergeant Avatar von RobMa
    Registriert seit
    27.04.2008
    Ort
    Bayern/Unterallgäu
    Beiträge
    194

    Standard

    Schönes Tut

    Das kann man doch genausogut für ein Lannetzwerk nutzen?
    Some people have some weird fetishes. Which is fine. Then they take photos of them, which is not.

  4. #4
    Colonel
    Themenstarter
    Avatar von Gargi
    Registriert seit
    20.01.2006
    Beiträge
    11.618

    Standard

    Zitat Zitat von RobMa Beitrag anzeigen
    Schönes Tut

    Das kann man doch genausogut für ein Lannetzwerk nutzen?
    Natürlich. Du musst in der server.cfg den Listen Modus von 2 auf 1 stellen. Dann ist es ein Lan Server.

    cu
    Gargi

  5. #5

    Standard

    wenn ich meinen call of duty server starten will mit deiner startdatei kommt bei mir folgender fehler

    Nopaste - No description

    Was kann das sein, habe ich die Daten falsch kopiert?

  6. #6
    Colonel
    Themenstarter
    Avatar von Gargi
    Registriert seit
    20.01.2006
    Beiträge
    11.618

    Standard

    Hallo! Kannst Du die Fehlermeldung mal bitte hier reinposten?

    cu
    Gargi

  7. #7
    Staff Sergeant
    Registriert seit
    21.12.2008
    Ort
    BLZ
    Beiträge
    145

    Standard

    Vielen Dank für das Tutorial love you .

  8. #8
    Staff Sergeant
    Registriert seit
    21.12.2008
    Ort
    BLZ
    Beiträge
    145

    Standard

    Sorry für Doublepost:

    Soweil läuft alles auf dem Server, allerdings habe ich zwei Problemchen:

    tf2@prag190:~$ cd /home/tf2/
    tf2@prag190:~$ ./cod4.sh
    ./cod4.sh: line 2: wait: pid 3 is not a child of this shell
    tf2@prag190:~$ ./cod4.sh
    ./cod4.sh: line 2: wait: pid 3 is not a child of this shell
    tf2@prag190:~$
    tf2@prag190:~$ ./cod4.sh
    tf2@prag190:~$ screen -x "cod4-server"
    There are several suitable screens on:
    23664.cod4-server (Detached)
    23649.cod4-server (Detached)
    23637.cod4-server (Detached)
    Type "screen [-d] -r [pid.]tty.host" to resume one of them.
    tf2@prag190:~$
    #!/bin/sh
    wait 3
    pkill cod4_lnxded-bin
    cd /usr/local/games/cod4
    ./cod4_lnxded +exec server.cfg +map_rotate

    Wenn ich dann Putty schliesse ist der Server, down, deshalb habe ich mir folgendes Zurechtgebastelt wo ich aber den Screen irgendwie nicht zum ansehen bekomme, diese komische Meldung da oben.

    #!/bin/sh
    cd /home/tf2/Data
    screen -A -m -d -S cod4-server ./cod4_lnxded +set loc_language 2 +exec server.cfg +map_rotate

    Ausserdem kann ich mit dieser mp_weapons.cfg nicht viel anfangen, denn wenn ich z.B. den Grenadelauncher nicht auf dem Server zulassen will set attach_allow_assault_gl 0 dann geht er trotzdem. Sorry, weiss dieser Thread ist schon alt aber vielleicht kannst du mir trotzdem helfen, Gargi!

  9. #9
    Lieutenant General Avatar von BigWhoop
    Registriert seit
    14.10.2006
    Ort
    Bielefeld
    Beiträge
    30.046

    Standard

    du hast drei screens laufen das ist das problem. beende alle und dann klappt das nach dem starten eines screens auch mit den wiederherstellen
    2.00000000 + 2.000000000 = 3.999998456

    hwmartikel - Call of Duty 4 dedicated Linux Server installieren

  10. #10
    Staff Sergeant
    Registriert seit
    21.12.2008
    Ort
    BLZ
    Beiträge
    145

    Standard

    Klingt logisch, probiere und... du hattest Recht. Funktioniert jetzt . Jemand noch eine Idee wegen den nicht funktionierenden Limitierungen?

  11. #11

    Standard

    In dem Tutorial fehlen einige Angaben...
    das Startscript ist auch nicht wirklich gut...

    hier mal mein StartScript:
    Code:
    #!/bin/bash
    
    cd /srv/game/cod4-linux-server
    
    screen -A -m -d -S cod4 /srv/game/cod4-linux-server/cod4_lnxded +set net_ip 62.75.252.222 +set net_port 28960 +set sv_punkbuster 1 +set sv_pure 1 +exec server.cfg +set fs_homepath /srv/game/cod4-linux-server +map_rotate
    Desweiteren sollte der Servter nicht als ROOT gestartet werden...!!!

    für mehr Fragen hier: cod Info Page
    die Mailing list zum Server für COD1 bis 5

  12. #12
    Staff Sergeant
    Registriert seit
    21.12.2008
    Ort
    BLZ
    Beiträge
    145

    Standard

    Dankö ^^.

  13. #13
    Staff Sergeant
    Registriert seit
    21.12.2008
    Ort
    BLZ
    Beiträge
    145

    Standard

    Hey Leute

    Wollte auf meinem Server nun einen 2ten COD4 Server laufen lassen...Habe eine andere cfg angelegt und auch ein neues Startscript

    Hier erstmal der Fehler der kommt

    Code:
    WARNING: unknown dvar 'bg_shock_volume_physics' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto2' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_autodog' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_bulletimpact' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_bulletwhizby' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_element' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto2d' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_vehicle' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_vehiclelimited' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_menu' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_body' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_body2d' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_reload' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_reload2d' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_item' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_effects1' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_effects2' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_weapon' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_weapon2d' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_nonshock' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_voice' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_local' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_local2' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_ambient' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_hurt' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_player1' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_player2' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_music' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_musicnopause' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_mission' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_announcer' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_shellshock' in file 'shock/default.shock'
    WARNING: unknown dvar 'bg_shock_volume_physics' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto2' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_autodog' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_bulletimpact' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_bulletwhizby' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_element' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto2d' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_vehicle' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_vehiclelimited' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_menu' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_body' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_body2d' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_reload' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_reload2d' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_item' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_effects1' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_effects2' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_weapon' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_weapon2d' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_nonshock' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_voice' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_local' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_local2' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_ambient' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_hurt' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_player1' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_player2' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_music' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_musicnopause' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_mission' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_announcer' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_shellshock' in file 'shock/concussion_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_physics' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto2' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_autodog' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_bulletimpact' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_bulletwhizby' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_element' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto2d' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_vehicle' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_vehiclelimited' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_menu' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_body' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_body2d' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_reload' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_reload2d' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_item' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_effects1' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_effects2' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_weapon' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_weapon2d' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_nonshock' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_voice' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_local' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_local2' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_ambient' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_hurt' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_player1' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_player2' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_music' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_musicnopause' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_mission' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_announcer' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_shellshock' in file 'shock/flashbang.shock'
    WARNING: unknown dvar 'bg_shock_volume_physics' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto2' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_autodog' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_bulletimpact' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_bulletwhizby' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_element' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto2d' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_vehicle' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_vehiclelimited' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_menu' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_body' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_body2d' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_reload' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_reload2d' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_item' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_effects1' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_effects2' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_weapon' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_weapon2d' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_nonshock' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_voice' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_local' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_local2' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_ambient' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_hurt' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_player1' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_player2' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_music' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_musicnopause' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_mission' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_announcer' in file 'shock/frag_grenade_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_shellshock' in file 'shock/frag_grenade_mp.shock'
    '0' is not a valid value for dvar 'bg_shock_viewKickPeriod'
      Domain is any number from 0.001 to 1000
    '0' is not a valid value for dvar 'bg_shock_viewKickFadeTime'
      Domain is any number from 0.001 to 1000
    WARNING: unknown dvar 'bg_shock_volume_physics' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto2' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_autodog' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_bulletimpact' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_bulletwhizby' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_element' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_auto2d' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_vehicle' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_vehiclelimited' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_menu' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_body' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_body2d' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_reload' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_reload2d' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_item' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_effects1' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_effects2' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_weapon' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_weapon2d' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_nonshock' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_voice' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_local' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_local2' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_ambient' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_hurt' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_player1' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_player2' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_music' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_musicnopause' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_mission' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_announcer' in file 'shock/damage_mp.shock'
    WARNING: unknown dvar 'bg_shock_volume_shellshock' in file 'shock/damage_mp.shock'
    Benutzt habe ich folgendes Startscript

    Code:
    #!/bin/bash
    cd /home/tf2/Data
    ./cod4_lnxded +set net_ip 62.75.224.217.222 +set net_port 28970 +set sv_punkbuster 1 +set sv_pure 1 +exec kodw.cfg +map_rotate
    many Thx und Liebe Grüsse
    IVIARSHALL


    EDIT!!!!!!!!

    Es läuft...Ich habe im Startbefehl die IP 62.75.224.217.222 und da waren 3 mal die 2 zuviel am schluss...tut mir leid für diesen riesen Post durch meinen dummen Fehler...

  14. #14

    Standard

    Hey,
    ich weiß klingt nun wohl ein wenig blöd.
    Aber ich bekomme die Daten nicht in den angelegten cod4 ordner rein kopiert.

    MfG

  15. #15
    Lieutenant General Avatar von BigWhoop
    Registriert seit
    14.10.2006
    Ort
    Bielefeld
    Beiträge
    30.046

    Standard

    hast du ein paar mehr infos?
    was hast du bissher getan? wie sieht "ls" aus? was kommt für eine fehlermeldung?
    2.00000000 + 2.000000000 = 3.999998456

    hwmartikel - Call of Duty 4 dedicated Linux Server installieren

  16. #16

    Standard

    Hi,
    wenn ich die startcod4.sh ausführen will, kommt folgender Fehler:
    Code:
    root@DebianGameServer:/home/bin# sh startcod4.sh 
    startcod4.sh: 5: ./cod4_lnxded: not found
    (starte den Server als VM. (VirtualBox))

    thx4tut.

    cya

  17. #17
    Lieutenant General Avatar von BigWhoop
    Registriert seit
    14.10.2006
    Ort
    Bielefeld
    Beiträge
    30.046

    Standard

    er kann "cod4_lnxded" nicht finden.
    2.00000000 + 2.000000000 = 3.999998456

    hwmartikel - Call of Duty 4 dedicated Linux Server installieren

  18. #18

    Standard

    äh ja, so viel englisch kann auch gerade noch so
    hab alles so gemacht wie im tut. beschrieben.
    wieso wird die datei trozdem nicht gefunden? ...und jetzt nicht antworten .."weil sie nicht da ist " oder so

  19. #19
    Lieutenant General Avatar von BigWhoop
    Registriert seit
    14.10.2006
    Ort
    Bielefeld
    Beiträge
    30.046

    Standard

    hast du denn mal geschaut wo sich die datei befindet? Ich kann ja nicht auf deinen Rechner gucken darum ist bei Linux oft eigeninitiative gefragt
    Hast du eine 32 Bit Linux distri laufen? falls nicht solltest du das mal machen.
    2.00000000 + 2.000000000 = 3.999998456

    hwmartikel - Call of Duty 4 dedicated Linux Server installieren

Aktive Benutzer

Aktive Benutzer

Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)

Ähnliche Themen

  1. Umfrage zu Call of Duty: Neu spielt sich besser als alt!?
    Von luthman uni kiel im Forum Shooter
    Antworten: 15
    Letzter Beitrag: 30.03.2008, 12:52
  2. Quake4 unter Linux installieren
    Von Gargi im Forum Linux & Mac OS
    Antworten: 0
    Letzter Beitrag: 26.07.2006, 15:02
  3. Antworten: 1
    Letzter Beitrag: 29.03.2006, 01:04
  4. 4 x Softwareraid unter Linux
    Von Gargi im Forum Linux & Mac OS
    Antworten: 14
    Letzter Beitrag: 25.03.2006, 12:55
  5. Antworten: 18
    Letzter Beitrag: 24.01.2006, 21:01

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •