Re: What is ManiaControl?
Posted: 11 Feb 2014, 21:00
Amazing! That's less than default XAseco2 

thats truekremsy wrote:Ofc, the code is a lot more optimized compared to XAseco, you have to think the Aseco core was built in 2006Chris92 wrote:That sounds great! That's less than default XAseco2.
Code: Select all
#!/bin/sh
php ManiaControl.php 2>&1 &
echo $! > ManiaControl.pid
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
Code: Select all
#!/bin/sh
Code: Select all
#!/bin/bash
The ^M is obvious: strip the DOS newlines from your Linux scripts.nighthawk4571 wrote:sh: /home/BagRacing/TM3Test/application/ManiaControl.sh: /bin/sh^M: bad interpreter: No such file or directory
Nah, in all Linux distro's /bin/sh is a valid path (often a symlink to /bin/bash or another shell).steeffeen wrote:just a random guess but could you please try changing the line
one could have changed the default mysql port 3306, so it's possible to configure itnighthawk4571 wrote:Why is there a port entry under the MySQL Server section? I would think 'localhost' would do here.
we've set it up on various different linux systems and didn't encounter your problems (and yes, we also tested it on Mac)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...
sorry but that your server configuration seems to be incorrect isn't our faultnighthawk4571 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.
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!