[Menu] Private Servers
Glad it isn't dead, thanks Wolf. :)
Thanks given by:
(01 Dec 13, 07:16AM)Bukz Wrote: Glad it isn't dead, thanks Wolf. :)

^ :D
Thanks given by:
Update:

- Inactive servers removed
- .45, Gibbed.me, and BoB servers added
- Removed '[fixed]' tag due to its redundancy in this version

[Image: pxvvI79.png]

[Download]

Naturally, due to the new game update there has been a decline of match servers. To help the menu expand again I ask that if anyone is owner, or familiar with a server that is not on the menu to please inform me. I query whether there are currently many other servers at the moment that are not on this menu — at least that have already been disclosed — but in the near future any notifications about new servers that surface are welcome.

Most importantly, enjoy and wish to all of you a merry Christmas, or whatever you are or not celebrating :)
Thanks given by:
(24 Dec 13, 03:22AM)#M|A#Wolf Wrote: [Image: pxvvI79.png]

Can you do the following changes?
* Replace:
menuitemvar [concatword (cl 2) "Gibbed.me " (loc "USA" )] [showmenu "Gibbed"]
* With (note the colour change):
menuitemvar [concatword (cl 8) "Gibbed.me " (loc "West USA" )] [showmenu "Gibbed"]

* Update the other USA servers to either state west/central or eastern USA (it is important, west USA servers give me <200 ping, where-as east USA gives me >300).

* Replace:
newmenu "Gibbed"
menuitemvar [concatword (cl 1) "Pugsley " (cl 5) "4455"] [menuconnect gibbed.me 4455 match]
menuitemvar [concatword (cl 1) "Wednesday " (cl 5) "5566"] [menuconnect gibbed.me 5566 match]

* With:
newmenu "Gibbed"
menuinit [echo "Pugsley has no connect password. Both servers allow mastermode to be changed, so make sure you change mastermode!"
menuitemvar [concatword (cl 8) "Pugsley " (cl 7) "4455"] [menuconnect gibbed.me 4455 match]
menuitemvar [concatword (cl 8) "Wednesday " (cl 7) "5566"] [menuconnect gibbed.me 5566 match]
Thanks given by:
(24 Dec 13, 07:40AM)RandumKiwi Wrote: Can you do the following changes?

* Update the other USA servers to either state west/central or eastern USA (it is important, west USA servers give me <200 ping, where-as east USA gives me >300).

If this is the case then my servers are west coast US as well.
Thanks given by:
My server removed from the list? I guess I can shut that down, then.
Thanks given by:
Can you add sveark.tk (1/11/111/1111) servers ? There are only 3 EU servers atm.
Thanks given by:
please add these USA(NY) servers to BoB:

usa.bob-ac.net 4999/5999/6999
Thanks given by:
(24 Dec 13, 02:54PM)MotoShadow Wrote: please add these USA(NY) servers to BoB:

usa.bob-ac.net 4999/5999/6999


dafuq that's such low ping to USA


EDIT:

schubert.pbclan.tk


arriaga.pbclan.tk
Thanks given by:
(24 Dec 13, 02:54PM)MotoShadow Wrote: please add these USA(NY) servers to BoB:

usa.bob-ac.net 4999/5999/6999

By the way guys, here's proof of what I mean. Note, this was done at 7:43am on Christmas morning, where Telecom NZ won't have been throttling connections (i.e. these pings are better than normal).

--- usa.bob-ac.net (New York (East USA)) ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 47985ms
rtt min/avg/max/mdev = 226.148/227.607/229.817/1.483 ms

--- gibbed.me (Freemont, California (West USA)) ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9009ms
rtt min/avg/max/mdev = 155.491/156.112/156.979/0.653 ms



Edit, FYI Ron:
--- schubert.pbclan.tk ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 51252ms
rtt min/avg/max/mdev = 234.523/242.575/249.813/5.379 ms

--- arriaga.pbclan.tk ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 52311ms
rtt min/avg/max/mdev = 240.886/252.073/274.131/11.936 ms
Thanks given by:
Can you add these servers to your script?

http://schubert.pbclan.tk/ Chicago, Illinois
/connect schubert.pbclan.tk 9999
/connect schubert.pbclan.tk 8888

http://arriaga.pbclan.tk/ Atlanta, Georgia
/connect arriaga.pbclan.tk 9999
/connect arriaga.pbclan.tk 8888
Thanks given by:
@RK: Don't know why I hadn't considered adding specific locations to such big countries, good idea. Regarding the colors, I'd rather stick to the ones I'm using, and about the echo message, I don't see it really necessary. Users don't need to know if they need to type match or not, the menu's purpose is so that players avoid such worries. If they really do wish to, they can use the spamconnect so others without the menu know what to type and can follow.
@X-Ray: Thanks for the note.
@jamz: Not sure if you are being ironic, but when I was updating the menu I tried connecting to your server and couldn't so I assumed it was inactive, at least for now.
@Moto: Added, thanks.
@Million: Added, thanks.
@Vanq & RR: Added, thank you. The Arriaga servers are down at the moment, hopefully that is a temporary thing.

[Image: NknX0hn.png]

[Download]
Thanks given by:
Thank you for telling me, I will check on that within a day.
Thanks given by:
Can you add:
eu.uc-clan.net 3333 match (NL)
us.uc-clan.net 3333 match (Dallas)

Thanks
Thanks given by:
(25 Dec 13, 11:26PM)Ronald_Reagan Wrote: Thank you for telling me, I will check on that within a day.

Run this script with Cron, every minute. It's a super efficient script, so it won't affect the running of your servers.

#!/bin/sh

# Checks if your AssaultCube servers are up, and if not, attempts to
# reboot them and sends you an e-mail to let you know whether that
# reboot failed or not. Please ensure you've install mailutils:
#
#    sudo apt-get install mailutils
#
# Change all of the below aliases for this to work!

###
# E-mail subject:
ESUBJECT="XYZ SERVER DIED!"
###
# E-mail address:
EMAILADDR="[email protected]"
###

###
# The AC directory (no trailing slash):
THEACDIR="/path/to/AC"
###
# Name of the server executable in bin_unix directory:
NAMEEXEC1="linux_server"
###
# Name of the shell-file to run that restarts your AC server:
ACSHEXEC1="server.sh"
###

###
# Where to place the files for counting fails, which will prevent excessive server restarts.
# Filenames are dated, so files can be arranged by name (no folders per-server required).
# It goes without saying, ensure the directory exists and read/write-permission is available.
#
FILECOUNTDIR="/path/to/where_ever"
###
# FYI: This essentially allows you to log when your server fails, so I suggest not to delete them.
#      however, if you do want to delete them, please uncomment the following line and they'll be
#      deleted once 24 hours old.
#DELETECOUNTFILES="1"
###
###    This script has no log-rotate facility, your server shouldn't be crashing that much!
###
# Name of logfiles (i.e. your servername):
NAMESERV1="AC"
###

# What to write in your e-mail if your reboot was successful:
IFSUC1="Server died, reboot succesful at "$(date +%F-%T)"."
###
# What to write in your e-mail if your reboot was *NOT* successful:
IFFAIL1="Server died. Reboot failed at "$(date +%F-%T)"."
###
# What to write in your e-mail after 3 failed restarts in 12 hours:
IFDONE1="Server died 3x in 12 hours, something is VERY wrong. Please investigate, no further reboots will be done."
###


if [ -z "$(pidof $NAMEEXEC1)" ]; then
  touch "$FILECOUNTDIR"/"$NAMESERV1"-at-"$(date +%F-%H.%M.%S)".fail && sleep 1    # Long version of time, for Windows compatiblity.
  HOWMANYFAILS=`cd "$FILECOUNTDIR" && find ./"$NAMESERV1"* -mmin -720 | wc -l`
  if [ "$HOWMANYFAILS" -le "3" ]; then
    sh "$THEACDIR"/"$ACSHEXEC1"
    sleep 5
    if [ -n "$(pidof $NAMEEXEC1)" ]; then
      echo "$IFSUC1" | mail -s "$ESUBJECT" "$EMAILADDR"
    else
      echo "$IFFAIL1" | mail -s "$ESUBJECT" "$EMAILADDR"
    fi
  elif [ "$HOWMANYFAILS" = "4" ]; then
    echo "$IFDONE1" | mail -s "$ESUBJECT" "$EMAILADDR"
  fi
  if [ "$DELETECOUNTFILES" = "1" ]; then
    cd "$FILECOUNTDIR" && find ./"$NAMESERV1"* -mmin +1440 | xargs rm -f
  fi
fi

(note, this script DOES reinvent the wheel (there are programs in Linux that checks if programs have failed, etc), HOWEVER, the "wheel", is far too complex for my needs... this simple script will do nicely)
Thanks given by:
(26 Dec 13, 01:14AM)RandumKiwi Wrote:
(25 Dec 13, 11:26PM)Ronald_Reagan Wrote: Thank you for telling me, I will check on that within a day.

Run this script with Cron, every minute. It's a super efficient script, so it won't affect the running of your servers.

#!/bin/sh

# Checks if your AssaultCube servers are up, and if not, attempts to
# reboot them and sends you an e-mail to let you know whether that
# reboot failed or not. Please ensure you've install mailutils:
#
#    sudo apt-get install mailutils
#
# Change all of the below aliases for this to work!

###
# E-mail subject:
ESUBJECT="XYZ SERVER DIED!"
###
# E-mail address:
EMAILADDR="[email protected]"
###

###
# The AC directory (no trailing slash):
THEACDIR="/path/to/AC"
###
# Name of the server executable in bin_unix directory:
NAMEEXEC1="linux_server"
###
# Name of the shell-file to run that restarts your AC server:
ACSHEXEC1="server.sh"
###

###
# Where to place the files for counting fails, which will prevent excessive server restarts.
# Filenames are dated, so files can be arranged by name (no folders per-server required).
# It goes without saying, ensure the directory exists and read/write-permission is available.
#
FILECOUNTDIR="/path/to/where_ever"
###
# FYI: This essentially allows you to log when your server fails, so I suggest not to delete them.
#      however, if you do want to delete them, please uncomment the following line and they'll be
#      deleted once 24 hours old.
#DELETECOUNTFILES="1"
###
###    This script has no log-rotate facility, your server shouldn't be crashing that much!
###
# Name of logfiles (i.e. your servername):
NAMESERV1="AC"
###

# What to write in your e-mail if your reboot was successful:
IFSUC1="Server died, reboot succesful at "$(date +%F-%T)"."
###
# What to write in your e-mail if your reboot was *NOT* successful:
IFFAIL1="Server died. Reboot failed at "$(date +%F-%T)"."
###
# What to write in your e-mail after 3 failed restarts in 12 hours:
IFDONE1="Server died 3x in 12 hours, something is VERY wrong. Please investigate, no further reboots will be done."
###


if [ -z "$(pidof $NAMEEXEC1)" ]; then
  touch "$FILECOUNTDIR"/"$NAMESERV1"-at-"$(date +%F-%H.%M.%S)".fail && sleep 1    # Long version of time, for Windows compatiblity.
  HOWMANYFAILS=`cd "$FILECOUNTDIR" && find ./"$NAMESERV1"* -mmin -720 | wc -l`
  if [ "$HOWMANYFAILS" -le "3" ]; then
    sh "$THEACDIR"/"$ACSHEXEC1"
    sleep 5
    if [ -n "$(pidof $NAMEEXEC1)" ]; then
      echo "$IFSUC1" | mail -s "$ESUBJECT" "$EMAILADDR"
    else
      echo "$IFFAIL1" | mail -s "$ESUBJECT" "$EMAILADDR"
    fi
  elif [ "$HOWMANYFAILS" = "4" ]; then
    echo "$IFDONE1" | mail -s "$ESUBJECT" "$EMAILADDR"
  fi
  if [ "$DELETECOUNTFILES" = "1" ]; then
    cd "$FILECOUNTDIR" && find ./"$NAMESERV1"* -mmin +1440 | xargs rm -f
  fi
fi

(note, this script DOES reinvent the wheel (there are programs in Linux that checks if programs have failed, etc), HOWEVER, the "wheel", is far too complex for my needs... this simple script will do nicely)

Thank you for that useful script. Will come in handy with me :)
Thanks given by:
Servers should be restarted.
Thanks given by:
@Cassius: Sure, added.
@RR: Thank you.

[Image: zGKgwRw.png]

[Download]
Thanks given by:
i can't join sveark.tk 1 and 11 because of lame choice of server port.
Thanks given by:
Hello, here is an updated version since it wasn't really updated these last months.

[Image: amshk02.jpg]

[Download]
Thanks given by:
(19 Oct 14, 07:16PM)Million Wrote: Hello, here is an updated version since it wasn't really updated these last months.

[Image: amshk02.jpg]

Nice work, but XRD.me is hosted in Montreal, Canada. :D
Thanks given by:
Nice work Million! :D
So i don't have to edit it on my own x)
Thanks given by:
(19 Oct 14, 08:10PM)Vanquish Wrote: Nice work, but XRD.me is hosted in Montreal, Canada. :D

Can confirm, do something like East CA. I've mentioned this before but you should totally include Hyperblast under my name. It's sort of a match server in that you're supposed to do players vs players....
Thanks given by:
Okay, I edited that :)

[Download]
Thanks given by:
Updated this to include |AoX| and to make the gema section functional...
[Image: pmenu_1.jpg]
[Image: pmenu_2.jpg]
[Image: pmenu_3.jpg]
[EDIT: UPDATED TO INCLUDE .rC| Sweden Match Servers]
[Image: rc_menu.png]
[Image: rc_menu2.png]
[DOWNLOAD]
Thanks given by:
So this is now a community project? Sure, why not. :P
Thanks given by:
(23 Oct 14, 09:20AM)Orynge Wrote: So this is now a community project? Sure, why not. :P

Do you know how important this is??
Thanks given by:
wouldn't it be easier to use the serverbrowser + favourites for this?
Thanks given by:
No because most private servers don't appear in the serverbrowser and I don't even know how the favourite thing works :D
Thanks given by:
and you don't know, how the serverbrowser works...
pls check out the command "addserver" - also, read the file config/favourites.cfg
Thanks given by: