Forum

ASSIST, AMERICA'S ARMY COMMUNITY - RELIVE THE GLORY DAYS OF AMERICA'S ARMY 2.5

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Pirigoso

Pages: [1]
1
General Chat / Re: Linux Server Installation
« on: Tuesday, March 20, 2012, 00:04:29 AM »
old script screen

runserver.sh
Code: [Select]

#!/bin/bash
   RED="\033[0;31m"
   GRAY="\033[1;30m"
   LIGHT_GRAY="\033[0;37m"
   CYAN="\033[0;36m"
   LIGHT_CYAN="\033[1;36m"
   RED="\033[0;31m"
   BLUE="\033[0;34m"
   GREEN="\033[0;32m"
   NO_COLOUR="\033[0m"

# --- Edit ---
screen=`which screen`
ServerName="ArmyOps Server 2.8"
export gamedir="/home/vipnetgames/aao285"
PATH="${PATH}:/home/vipnetgames/aao285/System"
export PATH=$PATH
ScreenName="AAO"
mapgame="Tunnel.aao"
LOG_NAME=`date '+%m%d%Y_Hr%H_Mn%M'`
ScreenExec="${gamedir}/System/server-bin global $mapgame -nohomedir -ini=server.ini -log=../Logs/$LOG_NAME"
# --- Ende ---
echo "$LOG_NAME" >> $gamedir/System/aateste.txt
echo "$PATH" >> $gamedir/System/aateste.txt
echo "$ScreenExec" >> $gamedir/System/aateste.txt
echo "$screen" >> $gamedir/System/aateste.txt

ServerPid=`$screen -list | grep $ScreenName | cut -d"." -f1`

case $1 in
        start)
           echo "starte $ServerName Server ..."
           echo "updating PB + AASA Files"
           cd /
           cd ${gamedir}/System
           echo "finished now starting Server"
           #cd System
           $screen -d -m -S ${ScreenName} ${ScreenExec}
           #cd -
        ;;
        stop)
           echo "stoppe $ServerName Server ..."
           kill $ServerPid
        ;;
        restart)
           echo "stoppe $ServerName Server ..."
           kill $ServerPid
           sleep 2
           echo "starte $ServerName Server ..."
           echo "updating PB + AASA Files"
           #./System/update.sh
           echo "finished now starting Server"
           cd System
           $screen -d -m -S ${ScreenName} ${ScreenExec}
           #cd -
        ;;
       status)
          printf "$CYAN Americas Army Server$NO_COLOUR\t\t\t["
          aao="` ps ax  | grep SCREEN | grep $ScreenName | tr "\n" "<"| cut -d "<" -f 1 | cut -d ":" -f2| cut -d " " -f2`"
          if [ -z $aao ]; then
                printf "$RED FALSE"
                printf " $NO_COLOUR]\n"
                cd /
                   cd ${gamedir}/System
                $screen -d -m -S ${ScreenName} ${ScreenExec}
          else
                printf "$GREEN OK"
        printf " $NO_COLOUR]\n"
        fi
       ;;
        *)

           echo "Usage: $0 {start|stop|restart|status}"
           exit 2
        ;;
esac

2
General Chat / Re: Add my server aao25.com site
« on: Monday, March 19, 2012, 19:12:00 PM »
Server OS: Linux 64debian Dedicate
Server Link: Fiber 6/6 dl/up

3
General Chat / Add my server aao25.com site
« on: Monday, March 19, 2012, 19:10:47 PM »
Hello i am Pirigoso from Brazil, please add my server in official server list

server IP 201.47.246.186
Server NAME: Brazilian Elite Force
Server TAG: [BRA-EF]
Server SS: http://ss.braef.com.br
Server TS2: ts.braef.com.br
website: http://www.braef.com.br "update"
email [email protected]

4
General Chat / Re: Linux Server Installation
« on: Monday, March 19, 2012, 19:01:37 PM »
apt-get install ia32-libs-gtk

5
General Chat / Re: develop radar
« on: Monday, March 19, 2012, 18:50:59 PM »
RADAR? Crazy? BFx?

this GAME IS AA RealSimulator

Pages: [1]

Download Assist

×

Download Game Client

Important: Battletracker no longer exists. However, old Battletracker accounts may still work. You can create a new 25Assist account here

Download Server Manager