[2.2.2] Issue with onBeginMatch, onEndMatch

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

Moderator: NADEO

Post Reply
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

[2.2.2] Issue with onBeginMatch, onEndMatch

Post by w1lla »

Hi,

with the latest dedicated version 13-08-2012 and manialive version 2.2.2

i always get errors on line 63/64 on Event.php

Code: Select all

Occured on 14.08.2012 at 15:52:13 at process with ID #9915
    ---------------------------------
 -> ErrorException with code 8
    Undefined offset: 0
  - in /root/sm/manialive/libraries/ManiaLive/DedicatedApi/Callback/Event.php on line 63
  - Stack: #0 /root/sm/manialive/libraries/ManiaLive/DedicatedApi/Callback/Event.php(63): ManiaLive\Application\ErrorHandling::createExceptionFromError(8, 'Undefined offse...', '/root/sm/manial...', 63, Array)
           #1 /root/sm/manialive/libraries/ManiaLive/Event/Dispatcher.php(58): ManiaLive\DedicatedApi\Callback\Event->fireDo(Object(ManiaLivePlugins\MLEPP\Admin\Plugin))
           #2 /root/sm/manialive/libraries/ManiaLive/Application/AbstractApplication.php(115): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\DedicatedApi\Callback\Event))
           #3 /root/sm/manialive/bootstrapper.php(67): ManiaLive\Application\AbstractApplication->run()
           #4 {main}
It seems the Event callbacks aren't properly fixed where everytime Manialive crashes on SM.

Edit 1:
Just replace all current onBeginMatch and onEndMatch with:

Code: Select all

function onBeginMatch() {}
	function onEndMatch($rankings) {}
That has fixed my problem.

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
The_Big_Boo
Posts: 1026
Joined: 15 Jun 2010, 15:46

Re: [2.2.2] Issue with onBeginMatch, onEndMatch

Post by The_Big_Boo »

Already fixed that this morning but I did not commit changes yet ;)

Thanks for reporting anyway :)
OS: Win 7 Pro x64
RAM: 2x4GB Corsair @ 1600MHz
CPU: Intel i5 760 @ 3.6GHz
Mobo: Asus P7P55D-E
GPU: NVidia GTX 760 2GB
HDD: WD Black 1TB
Sound: VIA VT1828S (onboard)
Peripherals: Razer DeathAdder - Razer DeathStalker - Logitech F310
User avatar
w1lla
Posts: 2287
Joined: 15 Jun 2010, 11:09
Location: Netherlands
Contact:

Re: [2.2.2] Issue with onBeginMatch, onEndMatch

Post by w1lla »

no problem. Just doing a duty on a report ;)
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
Post Reply

Return to “Dedicated Server Tools”

Who is online

Users browsing this forum: No registered users and 1 guest