Page 3 of 4

Re: ManiaLive r2207

Posted: 10 Feb 2011, 13:42
by 4lturbo
Also, $player->isSpectator is never update, this value is always empty

Re: ManiaLive r2207

Posted: 11 Feb 2011, 22:55
by franck70
Hello, new update and Crash :shock:

[22:51:57] XML-RPC connection established
[22:51:57] Successfully authentified with XML-RPC server
[22:51:58] [MLEPP] Enabling MLEPP Database v1.22 . . .
[22:51:58] [MLEPP] Enabling MLEPP v1.15 . . .
[22:51:58] [MLEPP] Plugin: Add/Remove Tracks v0.31 by TheM & reaby.
PHP Fatal error: Call to undefined method ManiaLivePlugins\Standard\Admin\Admin::enablePluginEvents() in C:\Users\Franck et Sandrine\Desktop\programme serveur tm\ManiaLive\libraries\ManiaLivePlugins\Standard\Admin\Admin.php on line 50

Fatal error: Call to undefined method ManiaLivePlugins\Standard\Admin\Admin::enablePluginEvents() in C:\Users\Franck et Sandrine\Desktop\programme serveur tm\ManiaLive\libraries\ManiaLivePlugins\Standard\Admin\Admin.php on line 50
Appuyez sur une touche pour continuer...

Re: ManiaLive r2207

Posted: 11 Feb 2011, 23:22
by Knutselmaaster
Did you fill in an admin login in your config.ini?
Is your ManiaLive running if you start it without mlepp installed?

It seems like you put the mlepp plugins before the standard plugins in your config.ini, you should try to load all standard plugins from the ManiaLive distribution that you want to you use before the others, that might help.

Re: ManiaLive r2207

Posted: 12 Feb 2011, 00:06
by weerwolf
anyone idea about the error posted in http://forum.maniaplanet.com/viewtopic. ... =10#p10130 ?

Re: ManiaLive r2207

Posted: 12 Feb 2011, 08:33
by franck70
Hi Knutselmaaster , yes I fill, it's very strange because it's work before I do the update.bat.The Plugins "standard" are before the plugins MLEPP in my config.ini.

Re: ManiaLive r2207

Posted: 12 Feb 2011, 12:54
by Gulp
oliverde8 wrote:Hi,

I just have found a probleme with onPlayerNewBestTime event. When you restart ML it works well but after it just stops working on other tracks. (works but not as expected)

I have looked in to your code :oops: it seems that $player->bestTime isn't reseted onEndChallenge
I just added $player->bestTime = 0 onEndChallenge to see the effect and it was working.

Thanks
Hi,
I got a problem with this function too.

Example:

-First Track:
Player did 0:13.45 => New Best Score

-Second Track:
Player did 0:15.34 => No New Best Score (ManiaLive remembering 0:13.45 that is < 0:15.34) even if this is a new score. :?

oliverde8 where did you put your fix? In the ML code or in your plugin?

Re: ManiaLive r2207

Posted: 12 Feb 2011, 13:48
by Knutselmaaster
franck70 wrote:Hi Knutselmaaster , yes I fill, it's very strange because it's work before I do the update.bat.The Plugins "standard" are before the plugins MLEPP in my config.ini.
So does it run without mlepp installed?
Did you check if the standard plugins are still in the /libraries/ManiaLivePlugins/Standard folder?

Re: ManiaLive r2207

Posted: 12 Feb 2011, 19:01
by oliverde8
franck70 wrote:Hello, new update and Crash :shock:

[22:51:57] XML-RPC connection established
[22:51:57] Successfully authentified with XML-RPC server
[22:51:58] [MLEPP] Enabling MLEPP Database v1.22 . . .
[22:51:58] [MLEPP] Enabling MLEPP v1.15 . . .
[22:51:58] [MLEPP] Plugin: Add/Remove Tracks v0.31 by TheM & reaby.
PHP Fatal error: Call to undefined method ManiaLivePlugins\Standard\Admin\Admin::enablePluginEvents() in C:\Users\Franck et Sandrine\Desktop\programme serveur tm\ManiaLive\libraries\ManiaLivePlugins\Standard\Admin\Admin.php on line 50

Fatal error: Call to undefined method ManiaLivePlugins\Standard\Admin\Admin::enablePluginEvents() in C:\Users\Franck et Sandrine\Desktop\programme serveur tm\ManiaLive\libraries\ManiaLivePlugins\Standard\Admin\Admin.php on line 50
Appuyez sur une touche pour continuer...
Nothing works with the latest update :? Even the standard plugins don't work. Once we learn about all the changes done we will make a new version .

The actual version at maniaLive.com is not the latest version :? which you get when you use the update script. You can actually use that version and wait

Gulp wrote:
oliverde8 wrote:Hi,

I just have found a probleme with onPlayerNewBestTime event. When you restart ML it works well but after it just stops working on other tracks. (works but not as expected)

I have looked in to your code :oops: it seems that $player->bestTime isn't reseted onEndChallenge
I just added $player->bestTime = 0 onEndChallenge to see the effect and it was working.

Thanks
Hi,
I got a problem with this function too.

Example:

-First Track:
Player did 0:13.45 => New Best Score

-Second Track:
Player did 0:15.34 => No New Best Score (ManiaLive remembering 0:13.45 that is < 0:15.34) even if this is a new score. :?

oliverde8 where did you put your fix? In the ML code or in your plugin?
I had to change ManiaLive/data/Storage.php and add in newChallenge $player->bestTime = 0 for each player.

Re: ManiaLive r2207

Posted: 12 Feb 2011, 19:13
by franck70
Ty Oliverde8.

Re: ManiaLive r2207

Posted: 13 Feb 2011, 09:54
by Gulp
Works fine now. Thanks for the tip oliverde8 ;)