ManiaLive r2207

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: 96
Joined: 06 Jul 2010, 17:08
Location: Germany
Contact:

ManiaLive r2207

Post by aseco »

And once again it is time for a big update :-)

This time we've done even more innovation in the windowing system and hope it will bring pleasure ...
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).

Features you should know about
You have now the possibility to make your windows maximizeable. Use the onResize method to react on a size change of your window to make it most dynamic - you can take a look into the standard plugins on how to do this. You will also need to tell the window that it should display the maximize button by using $this->setMaximizable();
This is however only possible for ManagedWindows, like the window borders that now are automatically drawn.
If you want to give your ManagedWindow a title, you can do so by using $this->setTitle('Whatever'); Do both of these things either in the constructor, or after getting the window instance with Window::Create($login).
To use the WindowHandler features you don't have to get its instance anymore, all the methods are static and accessible from anywhere, like WindowHandler::showDialog($dialog); which will display the window above all others and deactivate all buttons below.
Furthe on, a new feature is the buzzing of windows, which you can use as a static method of the window class.
For example: MyRecordWindow::Buzz() will highlight all windows of that type that are currently minimized by any player.
There has been some deeper changes too, of course. I will short address the ones that are (maybe) going to break compability to previous plugins:
First I have renamed the Window's onShow method to onDraw (so make sure you rename it in your code as well ...) and also the onRecover to onShow.
Finally, if you call a public method of a plugin now, the pluginid is appended as last parameter and not as first one - make sure you use all parameters on a call otherwise the pluginid will end up at the wrong position!

Changes
+ dialog window now uses autonewline.
+ windowhandler has been updated.
+ general architectural improvements of the windowing system.
! managedwindow will now always have background and window border with buttons.
* managedwindows can be maximized.
+ windows can be buzzed now, which will generate blue flashing.
+ dialog windows can be displayed without reference/parent windows.
! renamed onShow to onDraw and onRecover to onShow.
+ threads have access to the Loader::config values now - introduced data sending to threads.
+ using new run script for linux using hand-detaching instead of ssdaemon
+ features new manialib version.
- fixed issue 14 uses login now instead id.
! when calling public methods of plugins the pluginid is added as last parameter now.
*/! from the next release on version numbering will happen based on the google code revision.
Last edited by aseco on 15 Feb 2011, 17:16, edited 1 time in total.
i7 920 | Nvidia GTX260 | 4Gb DDR3
www.floschnell.de | I like that comic
reaby
Posts: 956
Joined: 29 Dec 2010, 23:26
Location: Eastern Finland
Contact:

Re: ManiaLive r2207

Post by reaby »

Really really good work and many thanks for the window events!
Faster10x
Posts: 13
Joined: 26 Jan 2011, 14:06

Re: ManiaLive r2207

Post by Faster10x »

Hello all !

I have a problem when I start run.bat. I got this:

Fatal error: Exception thrown without a stack frame in Unknow on line 0


So I d'ont know where is the problem...

My config.ini:

Code: Select all

;------------------
; ManiaLive
;------------------

; the default path is 'php.exe' on windows and 'php' on linux
phpPath =C:\PHP\php.exe

; the default is %application%/logs
; logsPath = /var/logs

; whether to write console output into a file, default is Off
; runtimeLog = On

;------------------
; Dedicated Server
;------------------

server.host = 'localhost'

server.port = 5002

; standard user level is SuperAdmin
; server.user = 'SuperAdmin'

; server.password = 'SuperAdmin'

; when a connection can't be established after the given amount
; of time, it will timeout and manialive will shutdown.
server.timeout = 1

;------------------
; Admins
;------------------

; Add admins, that shall be able to control your server from game.
admins.logins[] = 'micsoccer10'

;------------------
; Plugins
;------------------

; Add plugins to load.
; plugins.load[] = 'Author\PluginName'

;------------------
; Threading
;------------------

; threading can improve performance of your application. it
; allows modules to push blocking work onto another processes,
; this can also improve stability, because timeouts or
; unexpected exceptions do not impact the main application.

; if you have stability problems try to deactivate threading first
; threading.enabled = true

; how long may a thread be busy until it is killed
; threading.busy_timeout = 20

; how long, if not busy, may it take for a thread to response to a ping
; threading.ping_timeout = 2

; how many jobs should be send on each loop.
; increasing this value will boost jobs/time
; decreasing it will result in a reaction time improvement.
; threading.chunk_size = 10

; if threading is disabled, then how much time should be spend on
; each application loop to process work that would have been assigned
; to other threads normally
; default value is 1 second.
; threading.sequential_timeout = 1

;------------------
; ManiaHome
;------------------

; enabling the maniahome feature allows other modules to send
; notifications about eg. records or other actions on your
; server to player's friends.

; disabled by default.
; maniahome.enabled = true

; maniahome.user = ''

; maniahome.password = ''

; maniahome.manialink = ''

;------------------
[hostname: testHost]
;------------------

; put here the configuration specific to an host
My run.ini:

Code: Select all

; config the path to your php executeable here
phpPath=C:\PHP\php.exe
; do not remove this line!
Thank you for your help ! :)
User avatar
aseco
Posts: 96
Joined: 06 Jul 2010, 17:08
Location: Germany
Contact:

Re: ManiaLive r2207

Post by aseco »

@Faster10x:
I feel like I repeat myself, but:
Is it possible that you don't have write permissions in the directory you've installed ManiaLive to?
Otherwise I don't have much of a clue because this can happen due to a wide range of possibilities ...
Did check the file permissions of the ML and logs folder help?
Which Php version are you using and which extensions do you have enabled?
I need more information to be able to determine the source to the problem ...
i7 920 | Nvidia GTX260 | 4Gb DDR3
www.floschnell.de | I like that comic
User avatar
aseco
Posts: 96
Joined: 06 Jul 2010, 17:08
Location: Germany
Contact:

Re: ManiaLive r2207

Post by aseco »

reaby wrote:Really really good work and many thanks for the window events!
Thanks!
Knutsel has told me about a few remaining bugs (mainly in some plugins that weren't updated correctly) and I will be sorting them out the next hours to days ;)
Other recommendations and requests are welcome!
There's still some very small stability issues (which seem to depend on machine configuration) that will need fix until a perfect release.
i7 920 | Nvidia GTX260 | 4Gb DDR3
www.floschnell.de | I like that comic
User avatar
maurath
Posts: 3
Joined: 07 Oct 2010, 17:36
Location: Germany

Re: ManiaLive r2207

Post by maurath »

Hi, I have a problem with mania live

I'm the same as in the instructions on http://www.manialive.com, but will not start mania live.

I am using Server version: 5.0.51a-24 + lenny5

here is my config.ini

Code: Select all

;------------------
; ManiaLive
;------------------

; the default path is 'php.exe' on windows and 'php' on linux
; phpPath = /path/php
phpPath = /usr/bin/php
; the default is %application%/logs
; logsPath = /var/logs

; whether to write console output into a file, default is Off
; runtimeLog = On

;------------------
; Dedicated Server
;------------------

server.host = 'localhost'

server.port = '5030'

; standard user level is SuperAdmin
server.user = 'SuperAdmin'

server.password = 'xxxxxxx'

; when a connection can't be established after the given amount
; of time, it will timeout and manialive will shutdown.
; server.timeout = 1

;------------------
; Admins
;------------------

; Add admins, that shall be able to control your server from game.
; admins.logins[] = 'yourloginhere'
admins.logins[] = 'maurath'
;------------------
; Plugins
;------------------

; Add plugins to load.
; plugins.load[] = 'Author\PluginName'

;------------------
; Threading
;------------------

; threading can improve performance of your application. it
; allows modules to push blocking work onto another processes,
; this can also improve stability, because timeouts or
; unexpected exceptions do not impact the main application.

; if you have stability problems try to deactivate threading first
threading.enabled = true

; how long may a thread be busy until it is killed
; threading.busy_timeout = 20

; how long, if not busy, may it take for a thread to response to a ping
; threading.ping_timeout = 2

; how many jobs should be send on each loop.
; increasing this value will boost jobs/time
; decreasing it will result in a reaction time improvement.
; threading.chunk_size = 10

; if threading is disabled, then how much time should be spend on
; each application loop to process work that would have been assigned
; to other threads normally
; default value is 1 second.
; threading.sequential_timeout = 1

;------------------
; ManiaHome
;------------------

; enabling the maniahome feature allows other modules to send
; notifications about eg. records or other actions on your
; server to player's friends.

; disabled by default.
; maniahome.enabled = true

; maniahome.user = ''

; maniahome.password = ''

; maniahome.manialink = ''

;------------------
[hostname: testHost]
;------------------

; put here the configuration specific to an host
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: ManiaLive r2207

Post by farfa »

if 5.0.51a-24 is your php version, update to php 5.3.3 to be able to run ManiaLive, otherwise it's normal that you can't start it
Also known as: satanasdiabolo
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: ManiaLive r2207

Post by Knutselmaaster »

5.0.51a-24 is the Debian version number.
You should check your php version and extensions.
User avatar
maurath
Posts: 3
Joined: 07 Oct 2010, 17:36
Location: Germany

Re: ManiaLive r2207

Post by maurath »

So I have in my PHP version 5.2.6-1 + lenny9

The command apt-get install php5 brought me the following result "PHP5 is standing on the latest"

What can I do with running PHP 5.3.3?

here my phpinfo file http://188.40.201.120/info.php
User avatar
Jojo_44
Posts: 485
Joined: 12 Jul 2010, 15:58
Location: Germany->Bavaria
Contact:

Re: ManiaLive r2207

Post by Jojo_44 »

maurath wrote:So I have in my PHP version 5.2.6-1 + lenny9

The command apt-get install php5 brought me the following result "PHP5 is standing on the latest"
http://www.tm-forum.com/viewtopic.php?p=190233#p190233

You have to do this ;)

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

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest