[Beta 0.3]Fox Control for TM²

Moderator: NADEO

Post Reply
User avatar
Libero
Posts: 69
Joined: 17 Jan 2011, 00:10

[Beta 0.3]Fox Control for TM²

Post by Libero »

Image

FoxControl is a new server controller for TrackMania Forever.
Since the start of the beta I have adapted it to TrackMania².

Now the beta version is ready!

Some features aren't available yet. So I deactivated Dedimania, the SKP System and the alternative Scorepanel.
I am working on a solution to adapt the SKP System to TM².

If you want more information about FoxControl, please read the topic at the tm-forum.de!

FoxControl has now a completly new style! But you can modify it in the config file :)


You can test FoxControl at the "FoxControl" server at Germany/Bavaria/Munich.

Download HERE!


If there are any problems feel free to post them here. But remember: It is an beta version! There could be some bugs. If you found one, please report it.

We worked hard to fix bugs and update many files for the best result.
Now FoxControl has a complete new style! But you can modify it in the config file :)

Our Team Member Jens made a new Homepage. Thanks Jens :thumbsup:
http://www.fox-control.de
And we have now a own support forum: http://forum.fox-control.de

Image
Image

Now you can add tracks directly from ManiaExchange by typing in the following command:
/add track MXId

The script is running on our Master Server so that everyone can use it.

Changelog:
**************************
*****v0.2 -> v0.3*****
**************************

- Overworked and bugfixed plugin.records.php -> You now can hide the widgets by pressing F7
- New function in chat.admin.php -> Use the command "/add track MXid" to add a track from ManiaExchange
- Bugfixed plugin.scorepanel.php
- Updated control.php
- Updated plugin.menu.php
- Updated plugin.adminpanel.php
- Updated plugin.newsupdate.php
Have fun :)

EDIT:
You could leafe the COmmunity code empty for the moment because there exists no community code at this time for tm2

EDIT2: IF you want to power up Fox COntrol for the Moment remove the "chatlog.plugin" from plugins.xml. This will bring fox controll faster. We will fix this with next update in the next days

EDIT3 (i will do the 100 ^^): Please be carefull. For the Moment Fox Control cant handle more then 30 players and maps had to be longer then 20sec. We will fix this also with the next update. Its still a beta ;)

EDIT4 (Jeah^^): The Guys from the Mania Community (http://www.mania-community.de/content.php) foound a solution to fight against the crash bug. But this will be just a stopgap up to the time the real fix will be released

Code: Select all

#! /bin/sh
#
# Your pathes looks like:
# ~~~~~~~~~~~~~~~~~~~~~~~
# /path/to/dir/GameData
# /path/to/dir/Logs
# /path/to/dir/foxbeta
#path to fox control folder

BASEPATH="EDIT THIS"
LOGPATH="$BASEPATH"

PATH=$BASEPATH:$PATH

cd $BASEPATH/
while [ true ]
        do
		if [ -f $LOGPATH/FoxControl.log ]; then
			rm $LOGPATH/FoxControl.log
		fi

		if [ -f $BASEPATH/logfile.txt ]; then
			rm $BASEPATH/logfile.txt
		fi

		# Return the PID from THIS Bash-Script
		echo $$
		/usr/bin/php -d safe_mode=0 $BASEPATH/control.php MC</dev/null >$LOGPATH/FoxControl.log 2>&1
        done
Edit it and save this as restart .sh. start with ./restart.sh& at linux systems
Last edited by Libero on 19 Aug 2011, 20:35, edited 6 times in total.
Image
Xadeon
Posts: 10
Joined: 17 Aug 2011, 11:10

Re: [Beta 0.3]Fox Control for TM²

Post by Xadeon »

I always this while passwords are well informed.

Code: Select all

[17.08.11 20:31:04] Starting [FOX CONTROL]
[17.08.11 20:31:04] Initialize the Config file..
ERROR: Invalid Password!
ERROR: Connection canceled!
User avatar
Libero
Posts: 69
Joined: 17 Jan 2011, 00:10

Re: [Beta 0.3]Fox Control for TM²

Post by Libero »

Xadeon wrote:I always this while passwords are well informed.

Code: Select all

[17.08.11 20:31:04] Starting [FOX CONTROL]
[17.08.11 20:31:04] Initialize the Config file..
ERROR: Invalid Password!
ERROR: Connection canceled!
Had you checked if ports are ok, PW is right, an the directory of the bash/sh fits?
Image
Xadeon
Posts: 10
Joined: 17 Aug 2011, 11:10

Re: [Beta 0.3]Fox Control for TM²

Post by Xadeon »

Port = 5000 (= dedicated_cfg.txt) (it is xml ?)
PW's checked.
And chmod 777 to folder ..
User avatar
ritchi2
Posts: 31
Joined: 12 Jul 2011, 12:43
Location: Izel (Belgique)
Contact:

Re: [Beta 0.3]Fox Control for TM²

Post by ritchi2 »

J'ai toujours ça quand j'essaye de lancer le Fox Control :
Google traduction : I always like it when I try to run the Fox Control:

Code: Select all

vps11593 fox # ./control.sh start
-bash: ./control.sh: /bin/sh^M: bad interpreter: No such file or directory
vps11593 fox #
Team「GSR」
Le site et le forum : http://www.teamgsr.be
Xadeon
Posts: 10
Joined: 17 Aug 2011, 11:10

Re: [Beta 0.3]Fox Control for TM²

Post by Xadeon »

Si tu es sousLinux, passe ton control.sh avec dos2unix.
User avatar
ritchi2
Posts: 31
Joined: 12 Jul 2011, 12:43
Location: Izel (Belgique)
Contact:

Re: [Beta 0.3]Fox Control for TM²

Post by ritchi2 »

Xadeon wrote:Si tu es sousLinux, passe ton control.sh avec dos2unix.
Mon serveur est sous Linux, mais je me connecter dessus via Putty sur Windows Seven.
Et en plus je suis pas super pro du ssh
Team「GSR」
Le site et le forum : http://www.teamgsr.be
User avatar
Libero
Posts: 69
Joined: 17 Jan 2011, 00:10

Re: [Beta 0.3]Fox Control for TM²

Post by Libero »

Englisch pls ^^ i dont understand france really well xD
Image
User avatar
ritchi2
Posts: 31
Joined: 12 Jul 2011, 12:43
Location: Izel (Belgique)
Contact:

Re: [Beta 0.3]Fox Control for TM²

Post by ritchi2 »

ritchi2 wrote:
Xadeon wrote:Si tu es sousLinux, passe ton control.sh avec dos2unix.
Mon serveur est sous Linux, mais je me connecter dessus via Putty sur Windows Seven.
Et en plus je suis pas super pro du ssh
Google traduction :

My server is Linux, but I connect it via Putty on Windows Seven.
And the more I'm not super pro ssh

My english is not very good :)
Team「GSR」
Le site et le forum : http://www.teamgsr.be
Xadeon
Posts: 10
Joined: 17 Aug 2011, 11:10

Re: [Beta 0.3]Fox Control for TM²

Post by Xadeon »

Install the package dos2unix, in your terminal you type "dos2unix control.sh" and it's good.
Installe le paquet dos2unix, dans ton terminal tu tapes "dos2unix control.sh" et c'est bon.
Post Reply

Return to “Dedicated Server”

Who is online

Users browsing this forum: No registered users and 3 guests