[Tools] SMAdminTools

Moderator: NADEO

Triseaux
Posts: 155
Joined: 28 May 2012, 11:07

Re: [Tools] SMAdminTools

Post by Triseaux »

Yop, good jobs, good plugins.

Nice dev and nice work.
group leader : "Beniii"
WaLFuN
Posts: 15
Joined: 17 Aug 2011, 15:49
Location: http://www.orks.fr

Re: [Tools] SMAdminTools

Post by WaLFuN »

Hi, very very good work from france :p ! on my server this tools work perfectly ! :) :1010


so sorry for my bad english :(
JuJuBoSc
Posts: 17
Joined: 27 Jun 2012, 22:39

Re: [Tools] SMAdminTools

Post by JuJuBoSc »

Thanks, always great to hear :)
ylem
Translator
Translator
Posts: 32
Joined: 11 Jul 2012, 17:01

Re: [Tools] SMAdminTools

Post by ylem »

THANK YOU for this awesome tool!
User avatar
SIMOON
Posts: 202
Joined: 01 Jun 2012, 23:11
Contact:

Re: [Tools] SMAdminTools

Post by SIMOON »

I got two problem with it.
First of all, the program is not running in background, this imply I have to keep my Putty open while playing.
As we can see in your first screenshot (http://image.noelshack.com/fichiers/201 ... nTools.jpg), the prog is running but a new prompt doesn't appear.

Second thing : Any way to put multiple server in Config.ini ?
You can follow me on facebook.
You can also find a lot of horns and crosshairs on on my FTP.
My system spec
Cheers
User avatar
Dhazge
Posts: 2
Joined: 30 Aug 2011, 13:43
Location: Finland

Re: [Tools] SMAdminTools

Post by Dhazge »

SIMOON wrote:I got two problem with it.
First of all, the program is not running in background, this imply I have to keep my Putty open while playing.
You can use screen for that, it's very handy for running programs in the background.
Tutorial: http://www.kuro5hin.org/story/2004/3/9/16838/14935
Last edited by Dhazge on 07 Sep 2012, 01:37, edited 1 time in total.
User avatar
Donzi
Posts: 22
Joined: 05 Jul 2012, 10:24
Location: Germany Wiesbaden
Contact:

Re: [Tools] SMAdminTools

Post by Donzi »

Not the best, but it works (Debian Squeeze)

Code: Select all

#############################################################################
#							SMAdminTools v0.2								
#																			
#		Framework for ShootMania dedicated server using XML-RPC.			
#																			
# Plugins based, written in C# using MonoDevelop, run on Linux / Windows.	
# http://code.google.com/p/smadmintools/										
# http://forum.maniaplanet.com/viewtopic.php?f=261&t=12115					
#																			
#############		Build by JuJuBoSc under GNU GPL v3
#																			
#																			
#																			
#																			
#																			
#StartLinux.sh rewriten by DNW^Donzi										
#############################################################################
#!/bin/sh

MYEXE="SMAdminTools.exe"
MYCONFIG="Config.ini"
MYFRAMEWORK="mono"
MYSCREENNAME="SMA1"
MYPIDFILE="SMA.pid"

#############################################################################
case "$1" in

start)
if test -f $MYPIDFILE ; then
	kill -TERM `cat $MYPIDFILE` >/dev/null 2>&1
	rm $MYPIDFILE >/dev/null 2>&1
	sleep 1
	screen -dmS $MYSCREENNAME $MYFRAMEWORK $MYEXE $MYCONFIG
	ps -ef | grep SCREEN | grep $MYFRAMEWORK | grep $MYSCREENNAME | grep -v grep | awk ' { print $2 }' > $MYPIDFILE
	echo SMAdminTools $MYSCREENNAME restart
else
	screen -dmS SMA mono $MYEXE $MYCONFIG
	ps -ef | grep SCREEN | grep $MYFRAMEWORK | grep $MYSCREENNAME | grep -v grep | awk ' { print $2 }' > $MYPIDFILE
	echo SMAdminTools $MYSCREENNAME started
fi
    ;;

stop)
	kill -TERM `cat $MYPIDFILE` >/dev/null 2>&1
	rm $MYPIDFILE >/dev/null 2>&1
	echo SMAdminTools $MYSCREENNAME stopped
	;;
esac
User avatar
SIMOON
Posts: 202
Joined: 01 Jun 2012, 23:11
Contact:

Re: [Tools] SMAdminTools

Post by SIMOON »

perfectly oks with screen.
Thanks
You can follow me on facebook.
You can also find a lot of horns and crosshairs on on my FTP.
My system spec
Cheers
PoLLi
Posts: 3
Joined: 09 Sep 2012, 21:27

Re: [Tools] SMAdminTools

Post by PoLLi »

is there any way to run this tool on several dedicated Server on the same machine ?
This Tool is so great!
User avatar
Donzi
Posts: 22
Joined: 05 Jul 2012, 10:24
Location: Germany Wiesbaden
Contact:

Re: [Tools] SMAdminTools

Post by Donzi »

each instance of the tool into a private folder and edit the config is enough
or
with the startscript edit the
MYCONFIG="Config.ini"
to another ini

or on windows make copies from StartWindows.bat and edit the batch-file, same as above, to another ini
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 2 guests