What is ManiaControl?

ManiaControl, the completely new designed and easy to use controller managing all your Maniaplanet server.

Moderators: kremsy, Jocy, Wabbitface, steeffeen, NADEO

kremsy
Posts: 1725
Joined: 21 Jul 2011, 09:51

Re: What is ManiaControl?

Post by kremsy » 11 Feb 2014, 20:56

Chris92 wrote:That sounds great. If you need any help beta-testing, feel free to hit me up :)
Can you share some information about how resource-hungry ManiaControl is at the moment (in terms of RAM) since I have a VPS that only has 2GB max.
First test show that it needs about 20MB Ram, on a 12 People server, but ofc we need are more exact investigation to say it exactly. But I think it should never reach more than 60-80Mb.
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

User avatar
Chris92
Translator
Translator
Posts: 951
Joined: 15 Jun 2010, 13:22
Location: Vilshofen, Germany
Contact:

Re: What is ManiaControl?

Post by Chris92 » 11 Feb 2014, 21:00

Amazing! That's less than default XAseco2 :o
Check out my Personal Twitter account!

kremsy
Posts: 1725
Joined: 21 Jul 2011, 09:51

Re: What is ManiaControl?

Post by kremsy » 11 Feb 2014, 21:00

Chris92 wrote:That sounds great! That's less than default XAseco2 :o
Ofc, the code is a lot more optimized compared to XAseco, you have to think the Aseco core was built in 2006 ;).
Lukas alias Kremsy, Developer of:
ManiaControl: http://www.maniacontrol.com
ParagonLeague: http://league.paragon-esports.com
MPAseco: http://mpaseco.org
ManiaViewer: http://www.maniaviewer.com

User avatar
Chris92
Translator
Translator
Posts: 951
Joined: 15 Jun 2010, 13:22
Location: Vilshofen, Germany
Contact:

Re: What is ManiaControl?

Post by Chris92 » 11 Feb 2014, 21:04

kremsy wrote:
Chris92 wrote:That sounds great! That's less than default XAseco2 :o
Ofc, the code is a lot more optimized compared to XAseco, you have to think the Aseco core was built in 2006 ;).
thats true :P Can't wait for this to come out
Check out my Personal Twitter account!

User avatar
nighthawk4571
Posts: 585
Joined: 20 Aug 2011, 06:39
Location: QLD, Australia
Contact:

Re: What is ManiaControl?

Post by nighthawk4571 » 20 Apr 2014, 10:45

Hi all
I have trouble getting this to start on my linux server. The script seems ok but I get an error:
Start script

Code: Select all

#!/bin/sh

php ManiaControl.php 2>&1 &

echo $! > ManiaControl.pid
Result

Code: Select all

> /home/BagRacing/TM3Test/application/ManiaControl.sh

sh: /home/BagRacing/TM3Test/application/ManiaControl.sh: /bin/sh^M: bad interpreter: No such file or directory
I have CentOS 6.5, MySQL Server 5.1.73, PHP 5.2.0.
Any ideas? I've always used XAseco but am willing to try this new controller with the new TM package but I can't find any information about the controller setup... Help please - anyone?

Cheers :?
Last edited by nighthawk4571 on 20 Apr 2014, 10:49, edited 1 time in total.
Nighthawk
Getting old, forgetting most of what I ever learned !
My name is Nighthawk. The 4571 used to be my IQ.
Image

Admin: http://bagracing.freeforums.org/portal.php
U-tUbe: https://www.youtube.com/user/bvnighthawk

User avatar
steeffeen
Translator
Translator
Posts: 2472
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: What is ManiaControl?

Post by steeffeen » 20 Apr 2014, 10:48

just a random guess but could you please try changing the line

Code: Select all

#!/bin/sh
to

Code: Select all

#!/bin/bash
?
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks

    User avatar
    Xymph
    Posts: 1403
    Joined: 15 Jun 2010, 20:35
    Contact:

    Re: What is ManiaControl?

    Post by Xymph » 20 Apr 2014, 10:55

    nighthawk4571 wrote:sh: /home/BagRacing/TM3Test/application/ManiaControl.sh: /bin/sh^M: bad interpreter: No such file or directory
    The ^M is obvious: strip the DOS newlines from your Linux scripts. ;)
    steeffeen wrote:just a random guess but could you please try changing the line
    Nah, in all Linux distro's /bin/sh is a valid path (often a symlink to /bin/bash or another shell).
    Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
    Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub

    User avatar
    nighthawk4571
    Posts: 585
    Joined: 20 Aug 2011, 06:39
    Location: QLD, Australia
    Contact:

    Re: What is ManiaControl?

    Post by nighthawk4571 » 20 Apr 2014, 12:30

    OK, I sorted that out and the script now works but...

    ManiaControl starts, then quits with a transport error 111 - 'Couldn't authenticate with user 'SuperAdmin'. I know I have the correct details here.

    I've changed the Server Connection Port in the server.xml file between 5040 and 2340 - same result.
    Why is there a port entry under the MySQL Server section? I would think 'localhost' would do here.

    Thanks Xymph for your input but I did spot the DOS issue and fixed that before this post. :)
    I'm running XAseco2 until & unless I can get this new controller working. It really shouldn't be hard in linux and, as I read somewhere, the files were tested on unix systems - was that Mac I wonder...

    Cheers 8-)
    Nighthawk
    Getting old, forgetting most of what I ever learned !
    My name is Nighthawk. The 4571 used to be my IQ.
    Image

    Admin: http://bagracing.freeforums.org/portal.php
    U-tUbe: https://www.youtube.com/user/bvnighthawk

    User avatar
    steeffeen
    Translator
    Translator
    Posts: 2472
    Joined: 14 Oct 2012, 16:22
    Location: Germany

    Re: What is ManiaControl?

    Post by steeffeen » 20 Apr 2014, 12:43

    nighthawk4571 wrote:Why is there a port entry under the MySQL Server section? I would think 'localhost' would do here.
    one could have changed the default mysql port 3306, so it's possible to configure it
    'localhost' is the host and not the port, you probably don't have to adjust these 2 lines so i don't see your problem
    nighthawk4571 wrote:I'm running XAseco2 until & unless I can get this new controller working. It really shouldn't be hard in linux and, as I read somewhere, the files were tested on unix systems - was that Mac I wonder...
    we've set it up on various different linux systems and didn't encounter your problems (and yes, we also tested it on Mac)
    which brings me to my next point
    nighthawk4571 wrote:ManiaControl starts, then quits with a transport error 111 - 'Couldn't authenticate with user 'SuperAdmin'. I know I have the correct details here.
    I've changed the Server Connection Port in the server.xml file between 5040 and 2340 - same result.
    sorry but that your server configuration seems to be incorrect isn't our fault
    maniacontrol doesn't care about your port choice, only your network settings do
    are you trying to connect from remote? then you have to enable that in your dedicated_cfg
      Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

      ManiaControl, FancyManiaLinks

      User avatar
      nighthawk4571
      Posts: 585
      Joined: 20 Aug 2011, 06:39
      Location: QLD, Australia
      Contact:

      Re: What is ManiaControl?

      Post by nighthawk4571 » 20 Apr 2014, 12:57

      Well, I think I'm getting somewhere:

      Code: Select all

      > /home/BagRacing/TM3/application/ManiaControl.sh
      
      Starting ManiaControl ...
      
      Checking for installed MySQLi ... FOUND!
      
      Checking for installed cURL   ... FOUND!
      
      20.Apr 14 21:48:22 Loading ManiaControl v0.01...
      
      20.Apr 14 21:48:22 Starting ManiaControl v0.01!
      
      20.Apr 14 21:48:22 Connecting to server at 127.0.0.1:5040...
      
      20.Apr 14 21:48:23 Server Connection successfully established!
      
      PHP Parse error:  syntax error, unexpected '[' in /home/BagRacing/TM3/application/plugins/Dedimania/Dedimania.php on line 812
      
      20.Apr 14 21:48:24 Quitting ManiaControl!
      Hmmm - an edit needed? I never touched this file, honest!

      * I lease a dedicated host server, which is in a rack in Brisbane (200km away), which I manage via Webmin. I have about 20 TM servers, rpc services (remoteRPC, adminserv, TMOS etc) and a couple of websites on it.
      Last edited by nighthawk4571 on 20 Apr 2014, 13:12, edited 1 time in total.
      Nighthawk
      Getting old, forgetting most of what I ever learned !
      My name is Nighthawk. The 4571 used to be my IQ.
      Image

      Admin: http://bagracing.freeforums.org/portal.php
      U-tUbe: https://www.youtube.com/user/bvnighthawk

      Post Reply

      Return to “ManiaControl”

      Who is online

      Users browsing this forum: No registered users and 1 guest