Manialive start

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

Moderator: NADEO

Zences
Posts: 12
Joined: 02 May 2011, 11:21

Manialive start

Post by Zences »

Hi everybody,

each time i run the "run.bat" i have this resut...

Code: Select all

 -> ManiaLive\DedicatedApi\Xmlrpc\Exception with code -1000
    Password incorrect.
  - in C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.php on line 269
  - Stack: #0 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx.php(295): ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->getResult()
           #1 [internal function]: ManiaLive\DedicatedApi\Xmlrpc\Client_Gbx->query('Authenticate', 'SuperAdmin', 'SuperAdmin')
           #2 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\DedicatedApi\Connection.php(137): call_user_func_array(Array, Array)
           #3 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\DedicatedApi\Connection.php(201): ManiaLive\DedicatedApi\Connection->execute('Authenticate', Array, false)
           #4 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\DedicatedApi\Connection.php(80): ManiaLive\DedicatedApi\Connection->authenticate('SuperAdmin', 'SuperAdmin')
           #5 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\Utilities\Singleton.php(24): ManiaLive\DedicatedApi\Connection->__construct()
           #6 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\DedicatedApi\Connection.php(65): ManiaLive\Utilities\Singleton::getInstance()
           #7 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\Application\AbstractApplication.php(106): ManiaLive\DedicatedApi\Connection::getInstance()
           #8 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLiveApplication\Application.php(38): ManiaLive\Application\AbstractApplication->init()
           #9 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\Application\AbstractApplication.php(137): ManiaLiveApplication\Application->init()
           #10 C:\Serveurs\ManiaLive_1.0_r209\bootstrapper.php(19): ManiaLive\Application\AbstractApplication->run()
           #11 {main}
Could somebody help me, i see "password incorrect"...so i don't understand.
Thx.
Last edited by Knutselmaaster on 02 May 2011, 11:55, edited 1 time in total.
Reason: Put in [code] tags, for better readability.
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: Manialive start

Post by farfa »

This error append if you have not set correctly the SuperAdmin password in you ini file. If you have change it in your dedicated server config file, change it in your config.ini file
Also known as: satanasdiabolo
Zences
Posts: 12
Joined: 02 May 2011, 11:21

Re: Manialive start

Post by Zences »

it's the same password in Servermania and in config.ini
i never change it, that's what i don't understand ^^
farfa
Nadeo
Nadeo
Posts: 585
Joined: 14 Jun 2010, 16:15
Location: In front of your hood with one lap late

Re: Manialive start

Post by farfa »

The config's line in the ini file looks like this:

Code: Select all

; server.password = 'SuperAdmin'
or is it like this

Code: Select all

server.password = 'SuperAdmin'
Also known as: satanasdiabolo
Zences
Posts: 12
Joined: 02 May 2011, 11:21

Re: Manialive start

Post by Zences »

I hope that i don't understand what i forgot to do ^^
If so, sorry !!

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

; server.host = 'localhost'

; server.port = 5000

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

; server.password = 'XXXXXX'

; 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[] = 'Cyberbulle'

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

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

plugins.Freezone\Freezone.wsPassword = 'XXXXXXX'
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: Manialive start

Post by Knutselmaaster »

To make a setting available to ManiaLive, the semicolon (;) needs to be removed in front of it.

If you set

Code: Select all

; server.password = 'XXXXXX'
ManiaLive won't read that line, and use the default password (SuperAdmin)
To make the pass XXXXXX work, change the line into

Code: Select all

server.password = 'XXXXXX'
The same thing counts for all other settings.
For example, your admin login is not taken into account, you need to change the line into:

Code: Select all

admins.logins[] = 'Cyberbulle'

Edit:
This counts for all ManiaLive settings, and also for all plugins.
Every setting has a default value, which is built into the code of the plugin.
If you want to change it, put the setting (without ; ) into the ini file.
For example the freezone plugin has got a setting for the position of the widget and a setting to use test mode.
These are in 'default' when you set nothing in the .ini, but can be changed by adding

Code: Select all

plugins.Freezone\Freezone.buttonAlign = 'left';
plugins.Freezone\Freezone.buttonY = 37.7;
For the position (those are the default values), and

Code: Select all

plugins.Freezone\Freezone.testMod = true
To enable test mode.
Zences
Posts: 12
Joined: 02 May 2011, 11:21

Re: Manialive start

Post by Zences »

So, i understood.
I have to do that changes ;

Code: Select all

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

; server.host = 'localhost'

; server.port = 5000

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

 server.password = 'XXXXXX'

; 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[] = 'Cyberbulle'

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

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

plugins.Freezone\Freezone.wsPassword = 'XXXXXXX'

Tell me if i wrong.

Now i have this log error

Code: Select all

-> ManiaLive\PluginHandler\Exception with code 0
    Could not load Plugin '\ManiaLivePlugins\Freezone\Freezone\Plugin' !
  - in C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\PluginHandler\PluginHandler.php on line 187
  - Stack: #0 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\PluginHandler\PluginHandler.php(121): ManiaLive\PluginHandler\PluginHandler->loadPlugin('\ManiaLivePlugi...')
           #1 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\PluginHandler\PluginHandler.php(684): ManiaLive\PluginHandler\PluginHandler->loadPlugins()
           #2 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\Application\Event.php(39): ManiaLive\PluginHandler\PluginHandler->onInit()
           #3 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\Event\Dispatcher.php(52): ManiaLive\Application\Event->fireDo(Object(ManiaLive\PluginHandler\PluginHandler))
           #4 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\Application\AbstractApplication.php(130): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
           #5 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLiveApplication\Application.php(38): ManiaLive\Application\AbstractApplication->init()
           #6 C:\Serveurs\ManiaLive_1.0_r209\libraries\ManiaLive\Application\AbstractApplication.php(137): ManiaLiveApplication\Application->init()
           #7 C:\Serveurs\ManiaLive_1.0_r209\bootstrapper.php(19): ManiaLive\Application\AbstractApplication->run()
           #8 {main}
Last edited by Knutselmaaster on 02 May 2011, 13:07, edited 2 times in total.
Reason: Added [code] tags for readability.
TheM
Posts: 1379
Joined: 15 Jun 2010, 14:30
Location: Uden, Noord-Brabant, Netherlands
Contact:

Re: Manialive start

Post by TheM »

Have you downloaded and unzipped the Freezone plugin package?
Global moderator | Dutch moderator | Laddermoderator | ManiaWiki moderator
Server Manager/webmaster of Smurfen.net, join us on Canyon, Valley and Royal!
ESL (Game) Staff Head for TrackMania (Stadium, Canyon and Valley).
Zences
Posts: 12
Joined: 02 May 2011, 11:21

Re: Manialive start

Post by Zences »

TheM wrote:Have you downloaded and unzipped the Freezone plugin package?
So yes
But i understand what's wrong with "Could not load Plugin \ManiaLivePlugins\Freezone\Freezone\Plugin"
I just have "\ManiaLivePlugins\Freezone\Plugin" in my directory...
I replace it correctly and it's work fine.
Thanks for speed !!
Just another question before leaving, i use Xaseco with all my servers since 3 years, can i use it with
that Maniaive ?
User avatar
Knutselmaaster
Posts: 1206
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: Manialive start

Post by Knutselmaaster »

Xaseco and Freezone together can work, but you will have to do some work to make it possible, because there are some incompatibilities.
More info can be found here.

You should make sure that the freezone widget is visible, that players are forced into spectator once per 5 tracks, and that when in forced spec, the chat is totally blocked (so, not working and invisible, even when pressing the C button)
That is only for free accounts of course.
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest