Jump to content
Sign in to follow this  
Spayker

Gamespy server list problem.

Recommended Posts

Hey, everyone! I need your help, guys, in configuring server.

I have a linux server (Debian lenny 64-bit). on this server I've uploaded arma 2 (1.07) + OA (v. 1.54).

Server.cfg:

hostname = "Arma 2 CO";
password = "";
passwordAdmin = "******";
reportingIP = "arma2oapc.master.gamespy.com";
logFile = "server_console.log";
motd[] = {
"", "", "", 
"Welcome to Arma 2 CO server!",
"Server Settings: Veteran, 3rdPerson = on, VoN = off, Voting = 60%",
"TS3: 78.46.34.213:9987",
"Max ping = 180 ms",
"Don't cheat or hack or will be ip range banned",
"Default difficulty mode is Veteran",
"Have fun!"
};
motdInterval = 5;
checkfiles[] = {};
maxPlayers = 32;
kickDuplicate = 1;
doubleIdDetected = "kick (_this select 0)";
verifySignatures = 0;
equalModRequired = 0;
voteMissionPlayers = 1;
voteThreshold = 0.60;
disableVoN = 1;
vonCodecQuality = 0;
persistent = 1;
onUserConnected = "";
onUserDisconnected = "";
regularCheck = "{}";
onHackedData = "name_test=toArray (_this select 1);name_cut=[];for '_l' from 0 to 4 do{name_cut set [_l,name_test select _l];};name_test=toString name_cut;if(name_test!=""beta"")then{kick (_this select 0);};";
onDifferentData = "name_test=toArray (_this select 1);name_cut=[];for '_l' from 0 to 4 do{name_cut set [_l,name_test select _l];};name_test=toString name_cut;if(name_test!=""beta"")then{kick (_this select 0);};";
onUnsignedData = "name_test=toArray (_this select 1);name_cut=[];for '_l' from 0 to 4 do{name_cut set [_l,name_test select _l];};name_test=toString name_cut;if(name_test!=""beta"")then{kick (_this select 0);};";
BattlEye = 1;
class Missions
{
class CTI_Warfare
{
template = "warfare be v2.063@co@zgmv4.takistan";
difficulty = "veteran";
};
}; 

Arma2server start script:

#!/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/arma2
CONFIG=server.cfg
PORT=2302
PIDFILE=${ARMA_DIR}/${PORT}.pid
RUNFILE=${ARMA_DIR}/${PORT}.run
LOGFILE=${ARMA_DIR}/log.${PORT}.txt
SERVER=${ARMA_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: ${ARMA_DIR} "
if [ -d ${ARMA_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 ${ARMA_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

log.2302.txt:

WATCHDOG (8709): [Thu Sep  2 23:58:43 CEST 2010] Starting server (port 2302)...
Item str_disp_server_control listed twice
Item str_disp_left listed twice
23:58:48 Dedicated host created.
String STR_BAF_CFGMAGAZINES_BAF_PUTIED_V10 not found
String STR_BAF_CFGMAGAZINES_BAF_PUTIED_V20 not found
String STR_BAF_CFGMAGAZINES_BAF_PUTIED_V30 not found
String STR_BAF_CFGMAGAZINES_BAF_PUTIED_V40 not found
23:58:48 BattlEye Server: Initialized (v1.107)
23:58:48 Host identity created.
ArmA 2 OA Console version 1.54 : port 2302 - Sockets
23:59:02 Player Spayker connecting.
23:59:02 Mission Warfare BE V2.063@CO@ZGMv4 - Takistan read from bank.
23:59:03 Player Spayker connected (id=1031748).
Warning Message: No challenge value was received from the master server.
GameSpy QR2 error: 5, No challenge value was received from the master server.
0:00:32 Roles assigned.
0:00:32 Reading mission ...
Warning: looped for animation: ca\wheeled\data\anim\uaz_cargo01_v0.rtm differs (looped now 0)! MoveName: kia_uaz_cargo02
Warning: looped for animation: ca\wheeled\data\anim\uaz_cargo01_v0.rtm differs (looped now 1)! MoveName: uaz_cargo02
0:00:38 Mission read.
0:01:41 Game started.
0:01:42 BattlEye Server: Player #0 Spayker (92.112.27.178:2304) - GUID: d3dcf429c679f9af82eb9a3b31c4df44
0:01:42 BattlEye Server: Failed to resolve BE Master 'arma21.battleye.com'
0:01:42 BattlEye Server: Update attempt failed
WATCHDOG (8867): [Fri Sep  3 00:02:14 CEST 2010] Starting server (port 2302)...
Item str_disp_server_control listed twice
Item str_disp_left listed twice
0:02:19 Dedicated host created.
String STR_BAF_CFGMAGAZINES_BAF_PUTIED_V10 not found
String STR_BAF_CFGMAGAZINES_BAF_PUTIED_V20 not found
String STR_BAF_CFGMAGAZINES_BAF_PUTIED_V30 not found
String STR_BAF_CFGMAGAZINES_BAF_PUTIED_V40 not found
0:02:19 BattlEye Server: Initialized (v1.107)
0:02:19 Host identity created.
Warning Message: No challenge value was received from the master server.
GameSpy QR2 error: 5, No challenge value was received from the master server.

With these server setting, I can't see my server in public server list. Also I can connect to it, using dedicate connection. Help plz me with this problem. :confused:

Share this post


Link to post
Share on other sites
Warning Message: No challenge value was received from the master server.

GameSpy QR2 error: 5, No challenge value was received from the master server.

This part is rather telling.

Since you can connect directly, it looks like at least the port forwarding is working, so connections can be established from the outside. But if the server isn't able to communicate with the Gamespy master server, it looks like it is unable to initiate a connection from within the network.

Are you perhaps running a Linux firewall on that machine?

Edited by MadDogX

Share this post


Link to post
Share on other sites
This part is rather telling.

Since you can conntect directly, it looks like at least the port forwarding is working, so connections can be established from the outside. But if the server isn't able to communicate with the Gamespy master server, it looks like it is unable to initiate a connection from within the network.

Are you perhaps running a Linux firewall on that machine?

It was deleted (clam av) from host server today. But problem is left. I can't see this server in public list. Logs are the same... Plz help!!!

Edited by Spayker

Share this post


Link to post
Share on other sites

Well, Can somebody help or everybody care?

---------- Post added at 05:23 PM ---------- Previous post was at 04:19 PM ----------

Problem fixed. Reason - dns server on host was badly configured...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×