31
Games & Programming / Re: C64 Games i loved when i was 12 ;)
« on: Friday, August 22, 2014, 13:40:38 PM »
I had the cartridge of Jumpman Jr and played it endlessly
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.

#!/bin/bash
#
# chkconfig: 345 73 73
# description: Starts ArmyOps server
# Source function library.
. /etc/rc.d/init.d/functions
#procid=$$
# wherever you store the assist folder for each game. Some things can be soft linked if you are space conscious
[ -f /usr/local/bin/armyops25_1/System/server-bin ] || exit 0
prog="/usr/local/bin/armyops25_1/System/server-bin"
rport=1948
args="GLOBAL Pipeline_SF "
timestamp=$(date +"%m%d%y-%H%M")
RETVAL=0
# See how we were called.
case "$1" in
start)
cd /usr/local/bin/armyops25_1/System
#save previous log. Use a logrotate cron if you need to
cp aa25.log Logs/armyops25_1-aa25.log.$timestamp
cp aa25srv.log Logs/armyops25_1-aa25srv.log.$timestamp
echo -n "Starting ArmyOps Server 1 on port $rport: "
$prog $args>/dev/null 2>&1 &
sleep 1
procid=$( pidof -s /usr/local/bin/armyops25_1/System/server-bin )
if [ $procid ]
then
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/armyops25_1
echo_success
echo
echo $procid > /var/run/armyops25_1.pid
#give cpu priority to servers if you need to
renice -1 $procid >/dev/null 2>&1
procid=$( pidof -s /usr/local/bin/armyops25_1/System/serverx )
renice -1 $procid >/dev/null 2>&1
else
echo_failure
fi
;;
stop)
echo -n "Stopping ArmyOps Server 1: "
procid=`pgrep -f wtport=9023`
if [[ $procid ]]
then
kill $procid
fi
# kill the three armyops25 processes
procid=`pgrep -f '/usr/local/bin/armyops25_1/System/server-bin'`
if [[ $procid ]]
then
kill -9 $procid
unset -v procid
fi
procid=`pgrep -f LD_LIBRARY_PATH=/usr/local/bin/armyops25_1`
if [[ $procid ]]
then
kill -9 $procid
unset -v procid
fi
procid=`pgrep -f /usr/local/bin/armyops25_1/System/serverx`
if [[ $procid ]]
then
kill -9 $procid
unset -v procid
fi
[ $RETVAL -eq 0 ] && rm -f /var/run/armyops25_1.pid
if [ $RETVAL -eq 0 ]
then
echo_success
echo
else
echo_failure
echo
fi
;;
restart|reload)
$0 stop
sleep 5
$0 start
RETVAL=$?
;;
*)
echo "Usage: armyops {start|stop|restart}"
exit 1
esac
exit $RETVAL
ServerActors=testmapvote.main to [Engine.GameEngine] section of your aa25srv.ini (and System/server/aa25srv.ini)


[testmapvote.main]
; How often to spam "Say !mapvote..." in the console. Doesn't display during a vote. Default is 60 without this .ini
advertiseSecs=60
[testmapvote.testmapvote]
; Maximum times a player can ask for a mapvote. Set to 0 to disable. 0 is default without this .ini
MaxVoteStarts=0
; Colors: 0=white 1=yellow 2=green 3=dark blue 4=cyan 5=purple 6=light blue 7=pink 8=magenta 9=red
; personal message, map list...ect. Default is 8 without this .ini
MsgColor1=8
; broadcast, asked for a mapvote, mapvote running... ect. Default is 1 without this .ini
MsgColor2=1
function bool CheckCanVote (string PlayerName)
{
local int i;
For(I=0;I<Voters.Length;I++)
{
if ( PlayerName ~= Voters[i] )
{
return False;
}
}
return True;
}I never noticed Eliz's version.[05/05/2014 01:08:49] monster'6s [ASSAULT SOUTH] yes
[05/05/2014 01:08:53] gunna'6s [ASSAULT SOUTH] yes
[05/05/2014 01:09:07] N@styTiger-Lisa [ASSAULT SOUTH] yes
[05/05/2014 01:09:40] gunna'6s [ASSAULT SOUTH] yes
[05/05/2014 01:09:54] monster'6s [ASSAULT SOUTH] yes
[05/05/2014 01:10:00] gunna'6s [ASSAULT SOUTH] yes
[05/05/2014 01:10:02] monster'6s [ASSAULT SOUTH] yes
[05/05/2014 01:10:07] gunna'6s [ASSAULT SOUTH] yes
[05/05/2014 01:10:07] monster'6s [ASSAULT SOUTH] yes
[05/05/2014 01:10:09] monster'6s [ASSAULT SOUTH] yes
[05/05/2014 01:12:36] Far_Side [ASSAULT SOUTH] why do people always gotta F u c k it up
[05/05/2014 01:12:40] [SWISS]t3ddy [ASSAULT NORTH] good way to empty the server I guess...
let me look