[ManiaLive1_r267]Problem with Dedimania Plugin

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

Moderator: NADEO

Post Reply
gastg77
Posts: 23
Joined: 10 Oct 2011, 19:28

[ManiaLive1_r267]Problem with Dedimania Plugin

Post by gastg77 »

Hi.

I'm sorry but I've got a problem when I want to configure the Dedimania Plugin (ManiaLive1_StandardPlugins_r267) with ManiaLive 1 (ManiaLive1_r267).

I wrote this in the config file :

Code: Select all

[...]
plugins.load[] = 'Standard\Dedimania'
[...]
plugins.Standard\Dedimania.password = 'MY_PASSWORD' ;
plugins.Standard\Dedimania.notifications = 'On'
plugins.Standard\Dedimania.notifyNewFirstRecord = '%player% drove new first Dedimania record with a time of %time%!'
plugins.Standard\Dedimania.notifyNewRecord = '%player% just ranked %rank% on Dedimania with a time of %time%!'
plugins.Standard\Dedimania.notifyImprovedFirstRecord = '%player% beat his own first Dedimania record with a time of %time%!'
plugins.Standard\Dedimania.notifyImprovedRecord = '%player% moved on the %rank% Dedimania rank by finishing with a time of %time%!'
plugins.Standard\Dedimania.notifyImprovedRecordTimeOnly = '%player% secured his %rank% Dedimania rank by driving a time of %time%!'
[...]
And in the file "runtime.log" I've got this :

Code: Select all

[...]
[PluginHandler] All registered plugins have been loaded
[18:45:13|Dedimania] Done!
[18:45:13|Dedimania] Connected to Dedimania Version 2.3!
[18:45:13|Dedimania] Warning in rpc.php(215): AuthWarning:
Warning in method_handler.php(531): Authenticate: Tool/Version (ManiaLive/239) has been set as invalid (forbidden/obsolete tool or known bug, upgrade to the latest version) !
Warning in method_handler.php(532): Mail tm@gamers.org (in English) if you believe this to be incorrect
Error in method_handler.php(614): Not Authenticated
Error: Could not connect to Dedimania, authentication failed!

But when I write a wrong password in the config file I've got this :

Code: Select all

[PluginHandler] All registered plugins have been loaded
[18:47:52|Dedimania] Done!
[18:47:52|Dedimania] Connected to Dedimania Version 2.3!
[18:47:52|Dedimania] Warning in rpc.php(215): AuthWarning:
Warning in method_helper.php(487): Delete old bad auth
Warning in check_login_tm.php(94): Bad TMF Password for login MY_LOGIN ! (15;)
Warning in check_login_tm.php(95): Verify your login/pass on: http://official.trackmania.com/tmf-communitycode/
Warning in method_handler.php(384): Bad password for TMU/TMNF:MY_LOGIN !
Warning in method_helper.php(487): Delete old bad auth
Error in method_handler.php(614): Not Authenticated
Error: Could not connect to Dedimania, authentication failed!
It's absolutely normal. So Why do I have a strange logfile when I put the right password in my config file ?

Thank you very much.
Fadden
Posts: 181
Joined: 10 May 2011, 18:21

Re: [ManiaLive1_r267]Problem with Dedimania Plugin

Post by Fadden »

Hi,

In libraries\ManiaLiveApplication\Application.php file, you have to replace

Code: Select all

const Version = 239;
by

Code: Select all

const Version = 267;
(http://forum.maniaplanet.com/viewtopic. ... 597#p83597 & http://forum.maniaplanet.com/viewtopic. ... 634#p83634)
Elle est où la poulette ?
gastg77
Posts: 23
Joined: 10 Oct 2011, 19:28

Re: [ManiaLive1_r267]Problem with Dedimania Plugin

Post by gastg77 »

Ok thank you very much.

Ihave already read the second topic but not completely.

Thanks again.
Welly
Posts: 3
Joined: 17 Aug 2011, 00:08

Re: [ManiaLive1_r267]Problem with Dedimania Plugin

Post by Welly »

I encountered the same error when loading the dedimania plugin.
(Some questions below)

Do you know why this value is 239, because my manialive installation is up-to-date (r267) and downloaded from the official google project page.

-----
I also saw there's a problem with update.php:

Before I modify this value into libraries\ManiaLiveApplication\Application.php, the update tool looked like this (wrong Manialive local version r239):

Code: Select all

$:~/gameservers/tmf/bzhbreizhmania/ManiaLive/update$ php update.php
###############################
# ManiaLive Updater
###############################

> Checking local ManiaLive version ...
> ManiaLive is at version 239
> Checking remote ManiaLive version ...
> Remote ManiaLive is at version 239
Local version is the same or even newer than the remote one.
Do you want to proceed? (y/n):
Now, and after a manialive restart, it looks like this (right Manialive local version r267):

Code: Select all

$:~/gameservers/tmf/bzhbreizhmania/ManiaLive/update$ php update.php
###############################
# ManiaLive Updater
###############################

> Checking local ManiaLive version ...
> ManiaLive is at version 267
> Checking remote ManiaLive version ...
> Remote ManiaLive is at version 239
Local version is the same or even newer than the remote one.
Do you want to proceed? (y/n):
Is this just a bug, an oversight and do you know why?

@Fadden : merci pour cette solution!
Au passage, j'adore ta signature! :D Grosse coïncidence, j'utilise exactement la même depuis quelques années sur le forum de la team BZH. Seuls les fans peuvent comprendre... ^^
------
"Le gras, c'est la vie!"

Thank you and big up to the Manialive team, great job! :D
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: [ManiaLive1_r267]Problem with Dedimania Plugin

Post by w1lla »

Hi,

this message should be deprecated or even in fact be excluded.

to fix this try this:

go to Manialive/libraries/Manialive/Features/Updater.php

seek for the function checkUpdate()

and replace it with this:

Code: Select all

/**
	 * Routine that compares version number to
	 * the latest version online.
	 */
	function checkUpdate()
	{
		$version = 0;
		
		// check for manialive update
		try
		{
			$client = new \ManiaLib\Rest\Client();
			$client->setAPIURL(APP_API);
		}
		catch (\Exception $e)
		{
			Console::println('ERROR: Update service was unable to contact server ...');
		}
Save it and you are good to go ;) you will only see Update service was unable to contact server.

or go to libraries/ManiaLiveApplication/Application.php

and remove the following line:

Code: Select all

Updater::getInstance();
That will not use the Updater sequence.

Hope this helps you out.

with kind regards,

w1lla
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Welly
Posts: 3
Joined: 17 Aug 2011, 00:08

Re: [ManiaLive1_r267]Problem with Dedimania Plugin

Post by Welly »

Thanks, I'll try this when I'll be back home.

This error happened when I launched a manual manialive update by the following php
update.php

There's no update when I launch ManiaLive (./run +options)
...or, I don't understand what do you mean for "the Updater sequence"?

Is there a link between my dedimania version error and this updater error?

Welly.
Last edited by Welly on 05 Mar 2012, 12:46, edited 1 time in total.
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: [ManiaLive1_r267]Problem with Dedimania Plugin

Post by w1lla »

no but you dont need to use php update.php but only (./run)

php update.php will try to update to an outdated manialive.
TM² Info
SM Info
QM Info

OS: Windows 10 x64 Professional
MB: MSI 970A-G46
Processor: AMD FX-6300 3500 mHz
RAM Memory: 16 GB DDR3
Video: SAPPHIRE DUAL-X R9 280X 3GB GDDR5
KB: Logitech G510s
Mouse: Logitech G300s
Mode Creation
ManiaScript Docs
Welly
Posts: 3
Joined: 17 Aug 2011, 00:08

Re: [ManiaLive1_r267]Problem with Dedimania Plugin

Post by Welly »

OK thank you! ;)
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest