23.09.2013, 02:36 | #1 (permalink) |
Registriert seit: 05.08.2013
Beiträge: 26
|
[LINUX] Server probleme
Moin ,
undzwar habe ich probleme den Namen und die Spieleranzahl zu verändern. ich habe schon alles versucht aber jedesmal nimmt der gameserver den namen vom rootserver an und setzt die SPielerzahl auf 64. betriebssystem des root ist Debian 7 Ich habe die server datei schon geändert Code:
#!/bin/bash # # armaserver: ArmA 2 Linux Dedicated Server Control Script # (c) 2010 BIStudio # ArmA 2 binary version must be 1.04 or later # #======================================================================= #======== CONFIGURATION PARAMETERS ======== #======== MUST BE EDITED MANUALLY TO FIT YOUR SYSTEM PARAMETERS ======== #======================================================================= ARMA_DIR="/home/arma2/arma2Server" CONFIG=server.cfg PORT=2302 PIDFILE=$************_DIR}/${PORT}.pid RUNFILE=$************_DIR}/${PORT}.run LOGFILE=$************_DIR}/log.${PORT}.txt SERVER=$************_DIR}/server OTHERPARAMS=-cpucount=4 #======================================================================= ulimit -c 1000000 case "$1" in start) if [ -f ${RUNFILE} ]; then $0 stop fi echo "Starting ArmA 2 server..." # file to mark we want server running... echo "go" >${RUNFILE} # launch the background watchdog process to run the server nohup </dev/null >/dev/null $0 watchdog & ;; stop) echo "Stopping ArmA 2 server..." if [ -f ${RUNFILE} ]; then # ask watcher process to exit by deleting its runfile... rm -f ${RUNFILE} fi # and terminate ArmA 2 server process if [ -f ${PIDFILE} ]; then kill -TERM $(< ${PIDFILE}) if [ -f ${PIDFILE} ]; then rm -f ${PIDFILE} fi fi ;; status) if [ -f ${RUNFILE} ]; then echo "Server should be running..." else echo "Server should not be running..." fi if [ -f ${PIDFILE} ]; then PID=$(< ${PIDFILE}) echo "PID file exists (PID=${PID})..." if [ -f /proc/${PID}/cmdline ]; then echo "Server process seems to be running..." fi fi ;; check) echo -n "ArmA 2 directory: $************_DIR} " if [ -d $************_DIR} ]; then echo "OK" else echo "MISSING!" fi echo -n "Server executable: ${SERVER} " if [ -x ${SERVER} ]; then echo "OK" else echo "ERROR!" fi echo "Port number: ${PORT}" echo -n "Config file: ${CONFIG} " if [ -f ${CONFIG} ]; then echo "OK" else echo "MISSING!" fi echo "PID file: ${PIDFILE}" echo "RUN file: ${RUNFILE}" ;; restart) $0 stop $0 start ;; watchdog) # this is a background watchdog process. Do not start directly while [ -f ${RUNFILE} ]; do # launch the server... cd $************_DIR} echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Starting server (port ${PORT})..." ${SERVER} >>${LOGFILE} 2>&1 -server -config=${CONFIG} -port=${PORT} -pid=${PIDFILE} ${OTHERPARAMS} if [ -f ${RUNFILE} ]; then echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server died, waiting to restart..." sleep 5s else echo >>${LOGFILE} "WATCHDOG ($$): [$(date)] Server shutdown intentional, watchdog terminating" fi done ;; *) echo "$0 (start|stop|restart|status|check)" ;; esac und habe die server.cfg abgeändert. Code:
// // server.cfg // // comments are written with "//" in front of them. // GLOBAL SETTINGS hostname = "Main Operation Base 2013"; // The name of the server that shall be displayed in the public server list password = "geheim"; // Password for joining, eg connecting to the server passwordAdmin = "geheim"; // Password to become server admin. When you're in Arma MP and connected to the server, type '#login xyz' //reportingIP = "armedass.master.gamespy.com"; // For ArmA1 publicly list your server on GameSpy. Leave empty for private servers //reportingIP = "arma2pc.master.gamespy.com"; // For ArmA2 publicly list your server on GameSpy. Leave empty for private servers reportingIP = "arma2oapc.master.gamespy.com"; // For Arma2: Operation Arrowhead logFile = "server_console.log"; // Tells ArmA-server where the logfile should go and what it should be called // WELCOME MESSAGE ("message of the day") // It can be several lines, separated by comma // Empty messages "" will not be displayed at all but are only for increasing the interval motd[] = { "", "", "Two empty lines above for increasing interval", "Welcome to our server", "", "", "We are looking for fun - Join us Now !", "http://www.example.com", "One more empty line below for increasing interval", "" }; motdInterval = 5; // Time interval (in seconds) between each message // JOINING RULES checkfiles[] = {}; // Outdated. maxPlayers = 64; // Maximum amount of players. Civilians and watchers, beholder, bystanders and so on also count as player. kickDuplicate = 1; // Each ArmA version has its own ID. If kickDuplicate is set to 1, a player will be kicked when he joins a server where another player with the same ID is playing. verifySignatures = 2; // Verifies .pbos against .bisign files. Valid values 0 (disabled), 1 (prefer v2 sigs but accept v1 too) and 2 (only v2 sigs are allowed). equalModRequired = 0; // Outdated. If set to 1, player has to use exactly the same -mod= startup parameter as the server. //requiredBuild = 12345 // Require clients joining to have at least build 12345 of game, preventing obsolete clients to connect // VOTING voteMissionPlayers = 1; // Tells the server how many people must connect so that it displays the mission selection screen. voteThreshold = 0.33; // 33% or more players need to vote for something, for example an admin or a new map, to become effective // INGAME SETTINGS disableVoN = 1; // If set to 1, Voice over Net will not be available vonCodecQuality = 0; // since 1.62.95417 supports range 1-20 //since 1.63.x will supports range 1-30 //8kHz is 0-10, 16kHz is 11-20, 32kHz is 21-30 persistent = 1; // If 1, missions still run on even after the last player disconnected. timeStampFormat = "short"; // Set the timestamp format used on each report line in server-side RPT file. Possible values are "none" (default),"short","full". BattlEye = 1; // Server to use BattlEye system // SCRIPTING ISSUES onUserConnected = ""; // onUserDisconnected = ""; // doubleIdDetected = ""; // //regularCheck = "{}"; // Server checks files from time to time by hashing them and comparing the hash to the hash values of the clients. Causes heavy I/O, uncomment to disable feature - READ WARNING ABOVE - makes cheating possible! // SIGNATURE VERIFICATION onUnsignedData = "kick (_this select 0)"; // unsigned data detected onHackedData = "ban (_this select 0)"; // tampering of the signature detected onDifferentData = ""; // data with a valid signature, but different version than the one present on server detected // MISSIONS CYCLE (see below) class Missions {}; ich weiss nicht wo ich es noch ändern kann. Zum anderen bekomme ich den blöden server nicht gestoppt mit Code:
./ server stop er läuft einfach weiter. Unter dem taskmanager "htop" wird er auch nicht mehr angezeigt , aber ingame taucht er noch auf. Sobald ich Code:
./server stop Code:
Dedicated host created. BattleEye Server : Initialized (v1.175) Host identity created. Und noch ein problem , undzwar bekomme ich bei starten des Servers 2 fehlermeldungen Code:
Obsolete class Animations definined in bin\config.bin/RscCompass/ Obsolete class Animations definined in bin\config.bin/RscWatch/ Vllt kennt sich jemand damit aus. mfg Gonzo Geändert von Gonzo1690 (23.09.2013 um 03:00 Uhr). |
Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1) | |
Themen-Optionen | |
Ansicht | |
|
|
Ähnliche Themen | ||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
-=DayZ PRIVATE loewenherz =- [mit Gebäude-Bau , Custom Skins und Server Events] | treiberthedriver | DayZ | 15 | 27.11.2013 02:21 |
Patch 1.59 | Buccs | Community | 83 | 10.06.2011 05:34 |
Probleme mit Ubuntu ArmA Linux Dedicated Server und ACE | Clawhammer | Multiplayer | 29 | 26.02.2011 18:49 |
Arma 2 Server Problem | S@ndviper | Multiplayer | 14 | 15.11.2010 18:45 |
[WIN] Dedicated Server Probleme | Numrollen | Technische Fragen & Probleme | 7 | 02.07.2010 19:26 |