Page 1 of 2

ManiaLive 1.0 r223

Posted: 31 May 2011, 09:34
by farfa
Here is a new version of ManiaLive. This version presents only some small fixes for lap mod, and improvement in the storage class.


Upgrade
This version should work well again with the update script.
Find it in the /update directory. Windows users execute the update.bat where Linux users will have to pass the file to the php executeable.

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).

Changes
- improve utf-8 support in TM String stripping
- update ManiaLib Version
- improve data update (improvement submit by oliverde8 http://forum.maniaplanet.com/viewtopic. ... 664#p20633)
- correct issue 31, ChatSendMessage now use login to send message to one player
- update ManiaHome Client to use the latest version of the API
- correct Storage class to have a better support of the lap mod

Thanks to 4lturbo for his help on the lap mod debug

Re: ManiaLive 1.0 r223

Posted: 31 May 2011, 13:47
by schmidi
thx but copy & paste error still present (viewtopic.php?f=46&t=1235#p19892)

ManiaLive\DedicatedApi\Callback\Listener.php line 27

Code: Select all

	/**
	 * Method called when a Player quit the server
	 * @param int $playerUid
	 * @param string $login
	 * @param string $text
	 * @param bool $isRegistredCmd
	 */
	function onPlayerChat($playerUid, $login, $text, $isRegistredCmd);
onPlayerChat ... "Method called when a Player quit the server"

Re: ManiaLive 1.0 r223

Posted: 31 May 2011, 15:42
by 4lturbo
farfa wrote:Thanks to 4lturbo for his help on the lap mod debug
It's a pleasure :mrgreen:

Re: ManiaLive 1.0 r223

Posted: 02 Jun 2011, 01:19
by Mr.Crash666
Oh yes thanks Ihmo ! Modlap is so cool ;) and thanks to all developpers :)

Re: ManiaLive 1.0 r223

Posted: 06 Jun 2011, 15:46
by weerwolf
php update.php
###############################
# ManiaLive Updater
###############################

> Checking local ManiaLive version ...
> ManiaLive is at version 214
> Checking remote ManiaLive version ...

Fatal error: Class 'ManiaLib\Rest\Config' not found in /LYNX1manialive/libraries/ManiaLib/Rest/Client.php on line 57

Re: ManiaLive 1.0 r223

Posted: 06 Jun 2011, 15:51
by mistertl

Re: ManiaLive 1.0 r223

Posted: 10 Jun 2011, 17:12
by oliverde8
Hi,

just had a new problem, I foudn out that when a player disconnects from the server you destroy his rank in rankings

In Data Storage :

Code: Select all

foreach($this->ranking as $key => $player)
	   {
		  if($player->login == $login)
		  {
			 unset($this->ranking[$key]);
		  }
	   }
Why? I don't really mind that, what is not nice is that after this there is hole in the variable.
The idea would be not to do delete them(Dedicated doesen't delete them) or to reorder them.

Thanks

Re: ManiaLive 1.0 r223

Posted: 12 Jun 2011, 15:30
by Knutselmaaster
Fatal error: Call to a member function hide() on a non-object in /home/tmservers/servers/train/ManiaLive226/libraries/ManiaLive/Gui/Windowing/WindowHandler.php on line 516

Trying to close the /recs window, mlepp 657, manialive 226.
Just happens sometimes...

Re: ManiaLive 1.0 r223

Posted: 12 Jun 2011, 15:53
by oliverde8
I was trying to add button for the pluginManager to my menu, and it didn't work.

I was sure that every method that was used for chat command was added as public as if $this->setPublicMethod('openWindow'); was used ?

If not can you add $this->setPublicMethod('openWindow'); to the pluginManager so that my menu can also open the button. Or make ant method used by a chat command automatically public?
I am sure we had a while a go a discussio on this. :mrgreen:

Re: ManiaLive 1.0 r223

Posted: 13 Jun 2011, 10:09
by farfa
There is a chat command to open the pluginManager ;) it's pluginmanager