Forum

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

Author Topic: The Project  (Read 5892 times)

0 Members and 1 Guest are viewing this topic.

Offline Meterweise

Re: The Project
« Reply #15 on: Monday, March 04, 2013, 03:34:16 AM »
Well jump around with SHotguns may be childish. But let player choose the Weapon they want is usefull i think.

But now back to the Project :-)

After 1 week the Server is running well and mostly busy. No Performance or Speed or Lag Problems. But if you don´t know much about Linux then u r F.CKED ! :-)

1. Problem was to keep Server alive when u close SSH Console. WIth help from here i know how now. Thanks alot for that! Maybe this should be added to the aa25 Linux dedicated Server Readme.

2. How to simply restart the Server. I still don´t know how to do this. I can restart but it is so complicated. There must be an other way. I have to find out.

3. Still looking for an extra Control Panel to manage the Server like restart.......!Maybe i try this one. http://teklab.de/ sorry it is german.

4. Is there something like Account History for 2.5. The entries at anticheat are only till 2.8.x ended.

5. Is there a way to simply watch screenshots? maybe with PBCool? THis was very cool but looks like Graf stopped it and doesn´t continue http://www.server-viewer.de/

So i hope u can give me some usefull Answers :-)

Cya
Jens

Offline BiG_SerGiO

  • Administrator
  • Epic Poster
  • *
  • Posts: 2,232
  • "I got soul but i'm not a soldier..."
    • View Profile
    • Portuguese Warriors
  • AA: [PTwars]b!6
Re: The Project
« Reply #16 on: Monday, March 04, 2013, 07:08:57 AM »
Quote from: Meterweise
1. Problem was to keep Server alive when u close SSH Console. WIth help from here i know how now. Thanks alot for that! Maybe this should be added to the aa25 Linux dedicated Server Readme.

Well you could use the command Screen. But first, what program are you using to connect SSH? That's also very important as Putty may be powerful but there are better option out there now.
I recommend you WinSCP:
http://winscp.net/eng/download.php

There also Bitvise SSH Client:
http://www.bitvise.com/ssh-client-download

But i have been using for now mRemoteNG with kitty (putty sub):
http://www.mremoteng.org/download -> this one allows me tabbed sessions, so i can connect to different SSH connections with only one program open.

Now about your question, i also didn't knew it before i needed during this week so i googled and found this that i have also been using.
After you login to you VPS by SSH, type screen, if it says there isn't installed, then type for the first time apt-get install screen (worked for me), so after installed type the command and only after that you type ./server-bin GLOBAL weapons_cache (or whatever map). When you need to get out or leave just press CTRL+A and right after press CTRL+D, you can now type exit or just close the window. Next time you login you just type screen -r and it will restore your previous session.
I'm really new to linux so i may have typed some non sense but at least works for me.

Quote from: Meterweise
2. How to simply restart the Server. I still don´t know how to do this. I can restart but it is so complicated. There must be an other way. I have to find out.
I have been typing ps aux | grep server-bin, i get the process id and after i just type kill id_number, like kill 3214. After i just need to start the server again, it should be very quick. Don't know if there are better ways to do it...

Quote from: Meterweise
3. Still looking for an extra Control Panel to manage the Server like restart.......!Maybe i try this one. http://teklab.de/ sorry it is german.
Not using one but there are options like:
http://www.tcadmin.com/

Or free like:
http://www.brainless.us/Products.aspx

Quote from: Meterweise
4. Is there something like Account History for 2.5. The entries at anticheat are only till 2.8.x ended.
There are but only for private stuff at the moment, for security reasons. It may be open to the public in the future but for now if you need any info you can just PM me and i will answer when i can.

Quote from: Meterweise
5. Is there a way to simply watch screenshots? maybe with PBCool? THis was very cool but looks like Graf stopped it and doesn´t continue http://www.server-viewer.de/

You can watch directly from your server, check the folder:
armyops/System/pb/svss -> there should be a html file there, msgpbssv.html or pbsvss.htm. Check with your provider if they offer html access to files, if so you can access those main files and check all server SS.
"Three things can not hide for long: the Moon, the Sun and the Truth"?
Hmm?

https://vortexservers.com/clients/aff.php?aff=406

Offline BiG_SerGiO

  • Administrator
  • Epic Poster
  • *
  • Posts: 2,232
  • "I got soul but i'm not a soldier..."
    • View Profile
    • Portuguese Warriors
  • AA: [PTwars]b!6
Re: The Project
« Reply #17 on: Monday, March 04, 2013, 08:28:42 AM »
I'm running 3 servers on Debian 6 x86, but on 2 different VPS:
First:
http://battletracker.com/aaoserver/176.58.97.74:1716/
http://battletracker.com/aaoserver/176.58.97.74:1720/

Second:
http://battletracker.com/aaoserver/92.48.80.207:1716/

The 3 servers have some ini tweaking, tickrate and other stuff. If anyone wants to test them and give me some feedback later please. And btw, i may be able to rent 1 server or 2 if you like ;)
"Three things can not hide for long: the Moon, the Sun and the Truth"?
Hmm?

https://vortexservers.com/clients/aff.php?aff=406

Offline [SWISS]Merlin

Re: The Project
« Reply #18 on: Monday, March 04, 2013, 09:17:49 AM »
have you seen this on other thread? of course has to be edited, but that with restart and so - not that bad i guess.

runserver.sh

#!/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

Offline Meterweise

Re: The Project
« Reply #19 on: Tuesday, March 05, 2013, 03:51:10 AM »
Ah ok thanks Guys. So if the Screenshots are in folder /root/armyops/System/pb/svss/  and there is File msgpbssv.html what should be the Adress?
http://46.228.199.116/root/armyops/System/pb/svss/msgpbssv.html doesn´t work for me. HELP :-)

And i don´t get those damn Server Rules to run. I have a ServerRules.cfg and a ServerRules.txt.
I gave myself 100 pb power
i set an Admin Password.

copied files to pb Folder and System Folder (why not :-)

I try admin pb_sv_load ServerRules.cfg ...nothing
i try admin pb_sv_load ServerRules.txt .....nothing

admin pb_sv_task 22 240 say €ÿ ******************************************************************************************
admin pb_sv_task 25 240 say €ÿ ### ÿ€ Welcome on the ÿÿ  -=Flying Pigs=- ÿ€ server  €ÿ ###
admin pb_sv_task 28 240 say €ÿ ### ÿ€ Visit the Pigs  forum,Adres = ÿÿ flyingpigsforums.freeforums.org €ÿ ###
admin pb_sv_task 31 240 say €ÿ *****************************************************************************************
admin pb_sv_task 34 240 say €ÿ ## Rule  1   ÿ€ Hackers and cheaters will not be tolerated on Pigs server !€ÿ ##
admin pb_sv_task 37 240 say €ÿ ## Rule  2   ÿ€ We kick for Pigs members.We pay we play ! €ÿ ##
admin pb_sv_task 40 240 say €ÿ ## Rule  3   ÿ€ Respect all players.No matter what honor ! €ÿ ##
admin pb_sv_task 43 240 say €ÿ ## Rule  4   ÿ€ No bad language, this is a fun server ! €ÿ ##
admin pb_sv_task 46 240 say €ÿ ## Rule  5   ÿ€ Assault must have passed their Tower at 3 Minutes Mark ! €ÿ ##
admin pb_sv_task 49 240 say €ÿ ## Rule  6   ÿ€ Permanent Camping will result in sudden Kick ! €ÿ ##
admin pb_sv_task 52 240 say €ÿ ## Rule  7   ÿ€ No Begging for weapons ! €ÿ ##
admin pb_sv_task 55 240 say €ÿ ## Rule  8   ÿ€ No votekicks when Pigs are present ! €ÿ ##
admin pb_sv_task 58 240 say €ÿ ## Rule  9  ÿ€ We perform english and dutch chat on Pigs Server ! €ÿ ##
admin pb_sv_task 61 240 say €ÿ ## Rule 10  ÿ€ No 203 Rules,Nade where you can ! €ÿ ##
admin pb_sv_task 63 240 say €ÿ ## Rule 11  ÿ€ Don't accuse players of hacks and cheats without Proof ! €ÿ ##
admin pb_sv_task 66 240 say €ÿ ## Rule 12  ÿ€ No Ghosting, Dead men Can't Talk ! €ÿ ##
admin pb_sv_task 69 240 say €ÿ **************************************************************************************
admin pb_sv_task 72 240 say €ÿ           Play fair.Be friendly.Respect all players !
admin pb_sv_task 75 240 say €ÿ If You Think You Have Been Unfair Kicked And/Or Banned By Admin/Member !
admin pb_sv_task 78 240 say €ÿ                  !!!!!!!!!! POST IT ON THE FORUM !!!!!!!!!!
admin pb_sv_task 81 240 say ÿ€  We are temporary recruiting so don't be shy about posting an application!

i added ServerRules.cfg to pbsv.cfg pb_sv_load ServerRules.cfg and the Server won´t start!!!!

DAMN I START GETTING GREY HAIR!!!!! :-)

Offline Petrol

Re: The Project
« Reply #20 on: Tuesday, March 05, 2013, 03:58:00 AM »
Are you login  throw ssh to root account?
Are you running game server as root?

Offline [SWISS]Merlin

Re: The Project
« Reply #21 on: Tuesday, March 05, 2013, 04:49:15 AM »
doesn't is should be in the

ServerMessage.cfg ?

you will find it at the system\pb folder. try that.
this you do not have to start, it's automatic started i guess.
« Last Edit: Tuesday, March 05, 2013, 04:55:56 AM by [SWISS]Merlin »

Offline [SWISS]Merlin

Re: The Project
« Reply #22 on: Tuesday, March 05, 2013, 04:54:07 AM »
Ah ok thanks Guys. So if the Screenshots are in folder /root/armyops/System/pb/svss/  and there is File msgpbssv.html what should be the Adress?
http://46.228.199.116/root/armyops/System/pb/svss/msgpbssv.html doesn´t work for me. HELP :-)

you need to run a web service like apache to make them visible/accessible to all over the world,
if you mean someting like i did on our servers (www.swiss-clan-site.enjin.com) left side).

oh, i just did see that you are running an apache server already. i can post you my config. i guess you have a problem with the rights and config of apache.
« Last Edit: Tuesday, March 05, 2013, 04:57:45 AM by [SWISS]Merlin »

Offline Meterweise

Re: The Project
« Reply #23 on: Wednesday, March 06, 2013, 03:53:05 AM »
Ca u please try watching my Screenshots? The ip and path is written above. Apache Tomcat is running. Or help with config Apache if needed?

Oh and this Chatlog thing would be great too. I had this with 2.6 with SSGR by S-O-T Nutter. But only 2.6.
« Last Edit: Wednesday, March 06, 2013, 03:56:38 AM by Meterweise »

Offline [SWISS]Merlin

Re: The Project
« Reply #24 on: Wednesday, March 06, 2013, 06:42:33 AM »
sur, i will do so this evening

Offline [SWISS]Merlin

Re: The Project
« Reply #25 on: Wednesday, March 06, 2013, 11:21:20 AM »
the config for Apache i did send you with pm.
after loading the config file, i only do this command at my clan page:

http://178.196.49.30:8080/server0/msgpbssv.html

but do not forget to define the port you want to join over- normaly it's 80 (on my side it's already used for others, so i did define port 8080). yours should look then like:
http://46.228.199.116:80/xxxxxxxx.html


and for the chatlog:

Prog:  http://www.s-o-t.com/uploads/ACIChatLogger20_Release.zip
Instructions:  http://www.s-o-t.com/uploads/CLReadme20.html

enjoy :D


btw: your link did not work, sorry
« Last Edit: Wednesday, March 06, 2013, 11:36:13 AM by [SWISS]Merlin »

Offline Meterweise

Re: The Project
« Reply #26 on: Friday, March 08, 2013, 04:24:19 AM »
Ok I setup Chatlogger and it is installed and the ChatLogs.html is where it should be. I found it with sudo find / -name ChatLogs.htm in the pb/svss Folder.

I used the modfied Version by Possessed called SOTChatlogger. Same as ACI but optimized for 25.
Server works. But can´t access ChatLogs.html by http://46.228.199.116/46.228.199.116/ChatLogs.html.

Does this have to do with this Apache Config again?


Offline [SWISS]Merlin

Re: The Project
« Reply #27 on: Friday, March 08, 2013, 09:49:31 AM »
i guess it is more the one problem.
first you should not install a application into root, because root isn't world readable.
so you can change the rights to make it readable. do so by
chmod o+rx /root
maybe thats all about the access problem
but your link for the chatlogs is strange (better the one for PB sreenshots). you have 2 times ip address. strange.
try that with the rights first. if not working, just make the config-file (the code is the same like mine, but other location) with your path and filenames.
good luck

btw: the link for the chatlogger should looks like
http://46.228.199.116/root/armyops/System/pb/svss/ChatLogs.html
« Last Edit: Friday, March 08, 2013, 09:58:28 AM by [SWISS]Merlin »

Offline [SWISS]Merlin

Re: The Project
« Reply #28 on: Friday, March 08, 2013, 12:19:27 PM »
and for the server rules, if you do not have the ServerMessage.cfg in the pb folder, just create it.
there you put in the Messages.

 

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