AAO25.com

Assist => Support => Server Support => Topic started by: Meterweise on Friday, February 22, 2013, 09:34:46 AM

Title: The Project
Post by: Meterweise on Friday, February 22, 2013, 09:34:46 AM
Ok now i ordered a Virtual Server with Ubuntu 2 Ghz 1Gb Ram 100 Gb HDD and 100Mbit Netspeed for 4,49 €/Month today and the Provider say this Server is Gamerserver siutable. So let´s start.

Setup VNC
Setup AAO25
Setup Mods
Setup Controllpanel for Admins

I will make a daily Soap out of it here :-)

Stay tuned :-) :up:
Title: Re: The Project
Post by: BiG_SerGiO on Friday, February 22, 2013, 10:29:59 AM
Nice (except the mods part...), where is it hosted?
Title: Re: The Project
Post by: Meterweise on Friday, February 22, 2013, 10:32:52 AM
Don´t you like Mods? They are the Salt in the Soup :-) Makes every Server unique. No cheating stuff. just lil Fun. The Server is hosted at Webtropia. Looks like they need some Time to set it up :-) But the Price is really good. Windows is available for same Price btw. But i decided to use Ubuntu.

Maybe some will follow and help keep 2.5 alive.
Title: Re: The Project
Post by: BiG_SerGiO on Friday, February 22, 2013, 11:22:11 AM
http://www.webtropia.com/de/vserver/vserver-vs-linux-s.html
4,49€ first 3 months, after that it will be 8,99€.

I was looking for something like that but UK to host 2 or 3 Official Game Servers. If anyone knows prices like that let me know please.
Title: Re: The Project
Post by: Meterweise on Saturday, February 23, 2013, 15:01:23 PM
DAY 2:

Today i got all info to start!

So tightvnc was installed and AA2.5 is just installing and starting. The Server Name should be -=FP=- Flyingpigs Server 2. Sure it will change. But atm i just need to know if it works. We´ll see :-)

The nano aa25.ini command didn´t work with ubuntu 12.10. no such command. I edited the file local and uploaded it. :-) Now it needs very long to decompress files. But im on a good way :-)

stay tuned
Title: Re: The Project
Post by: Meterweise on Saturday, February 23, 2013, 15:45:09 PM
Oh yesss Server is online with very low Ping and SF Mod. Working great. Now just some Cosmetics to do :-)
Title: Re: The Project
Post by: [SWISS]Merlin on Saturday, February 23, 2013, 18:41:34 PM
if you need a lipstick, just tell me :D
Title: Re: The Project
Post by: Possessed on Saturday, February 23, 2013, 18:57:34 PM
if you need a lipstick, just tell me :D
hhmmmmmmmmmm  :suck: :cheer:
Title: Re: The Project
Post by: tacstealth on Monday, February 25, 2013, 13:25:55 PM
hi, i made a project similar to you www.freeserver.ca

for you nano command, try that

apt-get install vim

after that use vim aao25.ini

Have fun if you need help just contact me ;)
Title: Re: The Project
Post by: Meterweise on Tuesday, February 26, 2013, 02:36:39 AM
ah thank u mate!Very helpfull.
But i have another Problem!
When i start Server with ./server-bin GLOBAL bridge via SSH console the Server kills when i close the Console. How do i keep the Server alive without stay logged in via SSH? I tried & at the end of the Command. But that didn´t work.
Any Ideas?

Thank you
Title: Re: The Project
Post by: tacstealth on Tuesday, February 26, 2013, 08:13:11 AM
pm send
Title: Re: The Project
Post by: Killjoy on Tuesday, February 26, 2013, 15:18:57 PM
why is this becomming a scope-game? no skill anymore. and, why is no one modding sf server to m16? always this one way street with scope scope scope and super jump or sniping shotgun. why not mod to no-jump...?

its just a shortcut to skills that are false imho.
Title: Re: The Project
Post by: Jason on Tuesday, February 26, 2013, 16:09:53 PM
Makes every Server unique.

a modded server is not unique when every other server is a modded server.  :shock:
Title: Re: The Project
Post by: Possessed on Tuesday, February 26, 2013, 20:22:11 PM
no jump, m4, reduced life + cqb map.
Title: Re: The Project
Post by: [SWISS]Merlin on Wednesday, February 27, 2013, 03:05:44 AM
yes, why jumping and shotguns?
good question.

we should sit around the map, having a party, no shooting at anybody, drinking beer, having fun.
but some should bring some girls in, otherwise no fun.
 ;)
Title: Re: The Project
Post by: Meterweise 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
Title: Re: The Project
Post by: BiG_SerGiO 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.
Title: Re: The Project
Post by: BiG_SerGiO 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 ;)
Title: Re: The Project
Post by: [SWISS]Merlin 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
Title: Re: The Project
Post by: Meterweise 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!!!!! :-)
Title: Re: The Project
Post by: Petrol on Tuesday, March 05, 2013, 03:58:00 AM
Are you login  throw ssh to root account?
Are you running game server as root?
Title: Re: The Project
Post by: [SWISS]Merlin 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.
Title: Re: The Project
Post by: [SWISS]Merlin 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.
Title: Re: The Project
Post by: Meterweise 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.
Title: Re: The Project
Post by: [SWISS]Merlin on Wednesday, March 06, 2013, 06:42:33 AM
sur, i will do so this evening
Title: Re: The Project
Post by: [SWISS]Merlin 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
Title: Re: The Project
Post by: Meterweise 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?

Title: Re: The Project
Post by: [SWISS]Merlin 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
Title: Re: The Project
Post by: [SWISS]Merlin 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.