Page 1 of 7
ManiaLive, a new dedicated server manager
Posted: 28 Dec 2010, 14:35
by farfa
Greetings everyone,
Today, we are releasing a new project for the TrackMania community. This project is ManiaLive. It’s a TrackMania dedicated server manager similar to Aseco or FAST. This project is the very core of the application but can be customized with plugins. It requires PHP 5.3+ and is fully object oriented.
Plugins are simple to create, thanks to the formal architecture. The GUI layer is based on ManiaLib, so if you are already familiar with creating Manialinks with ManiaLib, you'll be ready to write some interfaces for your ManiaLive plugins.
To run ManiaLive on your server you only need PHP 5.3 (which can be downloaded at
http://www.php.net/downloads.php)
You may also need the SQLLite extension for PHP if you want to use the multi-threading feature.
For more information and documentation, visit the Manialink "
manialive" and the project's website
http://manialive.com/
If you want to discuss about ManiaLive, on the present forum
Have fun!
Re: ManiaLive, a new dedicated server manager
Posted: 28 Dec 2010, 14:56
by Hylis
Here is the launch of ManiaLive
ManiaStudio needed its own dedicated server manager, and with the help of Florian (thanks to him!) we were able to make this over the last months. And with the combined development of ManiaLib, the tools are readying themselves for the upcoming maniaplanet.
I believe that ManiaLive and ManiaLib will be great assets for the times to come. These are two key components that ManiaStudio needed to be able to build future stuff more quickly. Even if there are many good tools and developers around the dedicated server management tools, it had to be made inside the ManiaStudio team, to create the most solid environment for the future.
thanks to ManiaStudio team for it.
Florent
Re: ManiaLive, a new dedicated server manager
Posted: 29 Dec 2010, 18:36
by farfa
We inserted some interesting features today, so you can enjoy them in the package we release:
- Player object is not destroy on disconnection but at the end of the loop
- Possibility to send message in different languages (chatSendServerMessageToLanguage & chatSendToLanguage) to a list of player (just put the list as a second argument)
- Checking for updates regularly.
- Error reporting is set on startup.
- plugins can be in subpackages/folders.
- added method to force z position for a control
- removed debug messages
Re: ManiaLive, a new dedicated server manager
Posted: 29 Dec 2010, 18:49
by TheM
Thanks for the update!
farfa wrote:We inserted some interesting features today, so you can enjoy them in the package we release:
- Player object is not destroy on disconnection but at the end of the loop
Can confirm this works, my plugin can see the player information onPlayerDisconnect

Re: ManiaLive, a new dedicated server manager
Posted: 29 Dec 2010, 19:32
by TheM
TheM wrote:Thanks for the update!
farfa wrote:We inserted some interesting features today, so you can enjoy them in the package we release:
- Player object is not destroy on disconnection but at the end of the loop
Can confirm this works, my plugin can see the player information onPlayerDisconnect

Hmm... I miss the possibility to get variables from other plugins.
Because I make a SQL connection in a plugin to use it in some other plugins.
Furthermore I want to know the version of another plugin . . .
(Might be possible that I don't see some things... in that case: sorry)
Re: ManiaLive, a new dedicated server manager
Posted: 30 Dec 2010, 16:04
by aseco
TheM wrote:TheM wrote:Thanks for the update!
farfa wrote:We inserted some interesting features today, so you can enjoy them in the package we release:
- Player object is not destroy on disconnection but at the end of the loop
Can confirm this works, my plugin can see the player information onPlayerDisconnect

Hmm... I miss the possibility to get variables from other plugins.
Because I make a SQL connection in a plugin to use it in some other plugins.
Furthermore I want to know the version of another plugin . . .
(Might be possible that I don't see some things... in that case: sorry)
So, to share information with other plugins you can see this chapter in the documentation:
http://code.google.com/p/manialive/wiki ... nteraction
Every method and property of a plugin is encapsulated as long as the author has not explicitly decided to share the information with others.
So if you are the admin of both plugins, that shouldn't be a problem. define a method, declare it as public and access it from the other one. If you want to know the version number, then probably because of dependency.
You can use isPluginLoaded() and set min and/or max version for first or second parameter.
Hope this helps

Re: ManiaLive, a new dedicated server manager
Posted: 30 Dec 2010, 16:15
by www.e-gekko.net
So the treading is a MainLoop that check if some secondary Loops are in timeout or not?
Re: ManiaLive, a new dedicated server manager
Posted: 30 Dec 2010, 16:30
by aseco
www.e-gekko.net wrote:So the treading is a MainLoop that check if some secondary Loops are in timeout or not?
The thread in this case is a second process. The main loop, running in the parent process will continously check if all child processes ("threads") are still running and responding. communication is done using sqlite.

Re: ManiaLive, a new dedicated server manager
Posted: 30 Dec 2010, 18:14
by aseco
We just released a quick update to fix an issue and introduce some little improvements:
you can download the new version on
http://www.manialive.com as always.
thanks to everyone who helped us track these issues

Re: ManiaLive, a new dedicated server manager
Posted: 30 Dec 2010, 21:21
by Knutselmaaster
farfa wrote:It requires PHP 5.3+ and is fully object oriented.
5.3... That is a pitty, now all Debian 4 users need to upgrade to Debian 5, as 5.3 hasn't been compiled for Debian 4.
Won't it work with 5.2 at all?