ManiaLive r2028

Discuss the Dedicated Server Tools developed by Nadeo Live such as ManiaLive, Trust Circles, Dedicated Manager, Competition Manager and Lobbies

Moderator: NADEO

User avatar
aseco
Posts: 99
Joined: 06 Jul 2010, 17:08
Location: Germany
Contact:

ManiaLive r2028

Post by aseco » 25 Jan 2011, 13:18

We proudly present a new ManiaLive version.

As you see, we have added some new features, but not all of them are visible - take a closer look to the changes list at the bottom of the post.
Image

Upgrade
Since release r1830 you can use the the Updater script which will do all the dirty work for you.
On windows simply execute ManiaLive/update/update.bat.
For linux you need to navigate to ManiaLive/update and then execute "php update.php".

Download
If you want to upgrade from any older version or this is your first install, go to http://www.manialive.com.
See the download tab for the latest release, download and extract it.

Plugins
As always you can download just the core, but that won't do much :-)
Download the new plugin package on: http://code.google.com/p/manialive/downloads/list
Extract it to the ManiaLive folder. After that you need to add the plugins in your config file so that they are loaded (read the wiki on the google project on how to do that).
Attention, I created a new user "Standard" which will contain all the new plugins, so it is not "Flo" anymore.
Please change that in your config after you downloaded the new files.

Features you should know about
One big new feature is, that you will be able to load and unload plugins during the runtime of ManiaLive.
These plugins will need to support some certain rules (in general freeing resources when unloaded), but that should not be too difficult to implement. This will become available in the next days ... surprise :o
Another change is that the windowing system now supports ManagedWindows. You won't have to care about conflicts with other plugins. The system will only draw one window at a time (centered on the screen), all other windows will be put into the socalled "Taskbar". In the end it's up to you whether you create a self-managed window or one that is organized by ManiaLive. You just need to inherit from Window or ManagedWindow to achieve the result you like most.

Changes
- secured require_once in the autoload method
+ now plugins class can be named Plugin (e.g: the full class name will be \ManiaLivePlugins\MyName\MySuperPluginName\Plugin)
+ add unregister method to ChatCommand\Interpreter
* Plugins can now be loaded and unloaded while running
+ add onUnload method called when plugin is unset
+ Implemented new threading methods for plugins
+ automatic plugin destruction and freeing of resources that have been required through the plugin interface.
* ManagedWindow, will be displayed on screen center. Only one ManagedWindow can be shown at a time. Every further window will be moved into the "Taskbar" for fast access.
+ Windowing system speed and stability improvements.
* Fixed memory leaks.
+ Plugin events for loading and unloading.
Last edited by aseco on 07 Feb 2011, 17:10, edited 1 time in total.
i7 920 | Nvidia GTX260 | 4Gb DDR3
www.floschnell.de | I like that comic

oliverde8
Posts: 1328
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: ManiaLive r2028

Post by oliverde8 » 25 Jan 2011, 17:54

Realy nice :D

The Taskbar seems a bit to big, very very nice but maybe a button to make it big or small?

I just found something new that stops my HudMenu to work xd the first parameter the method called with the callPublicMethod seems to be the name of the plugin that called the method. I am sure it is useful but that means that I can't call any method that are ChatMethods, chat methods first parameter needs to be the login.

oliver still complaining xd

private $plugin_handler; change to protected $plugin_handler;
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...

User avatar
Knutselmaaster
Posts: 1276
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: ManiaLive r2028

Post by Knutselmaaster » 26 Jan 2011, 01:43

Plugin loading @ runtime, taskbar, this certainly becomes something great!
How about the system resources? Is it comparable with xaseco in therms of memory usage and processor load?

User avatar
aseco
Posts: 99
Joined: 06 Jul 2010, 17:08
Location: Germany
Contact:

Re: ManiaLive r2028

Post by aseco » 26 Jan 2011, 10:40

Knutselmaaster wrote:Plugin loading @ runtime, taskbar, this certainly becomes something great!
How about the system resources? Is it comparable with xaseco in therms of memory usage and processor load?
It's almost impossible to do a comparison XAseco against ManiaLive, but ManiaLive is used for instance to apply rules to the FreeZone and drawing some interface stuff. Each server is running 60 instances of ManiaLive and the dedicated server without problems. Of course: the more interface you do, the more CPU load will be generated, but I think it still is at good value for price ;-) . Fact is that it is running with better performance on linux, I did some testing and the threading is quite smooth on my ubuntu. Default memory usage (only ML without php process) is at about 5-6mb and a bit more (~1mb) on windows. Everything else depends on the plugins that have been loaded and how many people are using the server.
i7 920 | Nvidia GTX260 | 4Gb DDR3
www.floschnell.de | I like that comic

User avatar
aseco
Posts: 99
Joined: 06 Jul 2010, 17:08
Location: Germany
Contact:

Re: ManiaLive r2028

Post by aseco » 26 Jan 2011, 10:49

oliverde8 wrote:Realy nice :D

The Taskbar seems a bit to big, very very nice but maybe a button to make it big or small?

I just found something new that stops my HudMenu to work xd the first parameter the method called with the callPublicMethod seems to be the name of the plugin that called the method. I am sure it is useful but that means that I can't call any method that are ChatMethods, chat methods first parameter needs to be the login.

oliver still complaining xd

private $plugin_handler; change to protected $plugin_handler;
okay, for next release I will mark every plugin's chat command method as public. (forgot about it in this one)
I will also think about a solution to your problem. maybe I will just create an exception or turn it around so that the pluginid will be the last parameter. This needs thinking :roll:
Expand/collapse buttons for the taskbar can be a nice idea: worth considering.
Oh, the plugin_handler is private by good reason ... well and in fact, there is some cases when public methods need to be set to make them accessable from ManiaLive core, but triggered from some other plugin they would cause trouble!
i7 920 | Nvidia GTX260 | 4Gb DDR3
www.floschnell.de | I like that comic

User avatar
Knutselmaaster
Posts: 1276
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: ManiaLive r2028

Post by Knutselmaaster » 27 Jan 2011, 12:19

Code: Select all

PHP Notice:  Trying to get property of non-object in /home/tmservers/servers/freezone/ManiaLive/libraries/ManiaHome/ManiaHomeClient.php on line 24
PHP Notice:  Trying to get property of non-object in /home/tmservers/servers/freezone/ManiaLive/libraries/ManiaHome/ManiaHomeClient.php on line 24
PHP Notice:  Trying to get property of non-object in /home/tmservers/servers/freezone/ManiaLive/libraries/ManiaHome/ManiaHomeClient.php on line 24
PHP Notice:  Trying to get property of non-object in /home/tmservers/servers/freezone/ManiaLive/libraries/ManiaHome/ManiaHomeClient.php on line 24
I get this warning every now and then, any ideas why?

Edit:
Small cosmetic problem, in the profiler, when more than 5 plugins are loaded, the pluginnames fall outside the panel.

User avatar
Jojo_44
Posts: 500
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: ManiaLive r2028

Post by Jojo_44 » 27 Jan 2011, 16:43

Hi I get this error on my debian system:
Launching ManiaLive Daemon with the following arguments:
start-stop-daemon: stat php: No such file or directory (No such file or directory)
Thanks for help, Jojo
Image
my english sounds very unfriendly but it isn´t ;)

User avatar
farfa
Nadeo
Nadeo
Posts: 600
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: ManiaLive r2028

Post by farfa » 27 Jan 2011, 16:45

start the debian doc to setup Start-stop-daemon it's not always setup. If it's setup, open the run file and put directly the full path to start-stop-daemon command
Also known as: satanasdiabolo

User avatar
Jojo_44
Posts: 500
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: ManiaLive r2028

Post by Jojo_44 » 27 Jan 2011, 17:05

Ok thank you.

regards, Jojo

Edit:
The problem is that only the root can access to the start-stop-daemon. A normal user can´t use the start-stop-daemon and i will not run the script as root ;) The problem occurs on all linux debian systems ...

regards, Jojo
Image
my english sounds very unfriendly but it isn´t ;)

reaby
Posts: 965
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: ManiaLive r2028.. request for taskbar

Post by reaby » 30 Jan 2011, 16:40

a request...

Taskbar is a really good feature, but could it have an ability for windows to have minimize button and a function to trigger a highlite event.. (blinking borders or something other similar)?

Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest