Page 2 of 15
Re: [Plugin] eXpansion plugin pack for Manialive + youtube d
Posted: 23 Feb 2013, 20:43
by reaby
The project has now another developer, thanks oliver for joining the project
so we have now also new homepages, forums, wiki and new github page, checkit out at the first posting!
Re: [Plugin] eXpansion plugin pack for Manialive + youtube d
Posted: 23 Feb 2013, 21:25
by oliverde8
I am really happy of taking part in this project, I thanks Reaby for allowing me to join the project.
Re: eXpansion plugin pack [Manialive 2.7] updated: 20.3.2013
Posted: 20 Mar 2013, 11:29
by reaby
Bump,
Lots have been done in few last weeks, we have squared out bugs and memory leaks and the plugin pack runs quite good already, dedimania is now extracted from the plugin pack to encourage developers to build for manialive

Re: eXpansion plugin pack [Manialive 2.7] updated: 20.3.2013
Posted: 20 Mar 2013, 15:28
by 4lturbo
Nice

Lap mode in it (on local record) thk oliverde8
But, i read the code, and there are mistakes in LocalRecords.php, on onPlayerFinish() function you don't manage lap mode (line 173: return if lap mode) so you don't save race time, you only save lap time on onPlayerFinishLap()
onPlayerFinish() : when player finish race (lap or not lap mode)
onPlayerFinishLap() : when player finish a lap (only lap mode)
Re: eXpansion plugin pack [Manialive 2.7] updated: 20.3.2013
Posted: 20 Mar 2013, 16:45
by oliverde8
4lturbo wrote:Nice

Lap mode in it (on local record) thk oliverde8
But, i read the code, and there are mistakes in LocalRecords.php, on onPlayerFinish() function you don't manage lap mode (line 173: return if lap mode) so you don't save race time, you only save lap time on onPlayerFinishLap()
onPlayerFinish() : when player finish race (lap or not lap mode)
onPlayerFinishLap() : when player finish a lap (only lap mode)
Thanks,
if 5 laps track for exemple the last lap won't send a onPlayerFinishLap() but a onPlayerFinish()? Am I correct?
I thought both events were sent
Re: eXpansion plugin pack [Manialive 2.7] updated: 20.3.2013
Posted: 20 Mar 2013, 18:22
by 4lturbo
if there are 5 laps :
1st lap : onPlayerFinishLap();
2nd lap : onPlayerFinishLap();
3rd lap : onPlayerFinishLap();
4th lap : onPlayerFinishLap();
5th lap : onPlayerFinishLap(); and onPlayerFinish();
Re: eXpansion plugin pack [Manialive 2.7] updated: 20.3.2013
Posted: 20 Mar 2013, 21:53
by oliverde8
Then what I did is ok
I just take in account every lap individually, and ingore the onPlayerFinish as it has the sum of all the laps. At the moment records are considered on 1 lap only. The best record is the one with the fastest lap not the one that did the 5 laps the fastest
YOu can configure to have record based on total amount of laps ore based on best lap time. You can switch from 1 to another without problem but can not have both at the same time.
Re: eXpansion plugin pack [Manialive 2.7] updated: 20.3.2013
Posted: 21 Mar 2013, 00:50
by 4lturbo
ok, for those who play in lap mode, final time and lap time are important, like F1 grand prix, there are lap record and race record

. Otherwise so much play in Time Attack mode ( time are lap time)
Re: eXpansion plugin pack [Manialive 2.7] updated: 20.3.2013
Posted: 21 Mar 2013, 09:11
by oliverde8
4lturbo wrote:ok, for those who play in lap mode, final time and lap time are important, like F1 grand prix, there are lap record and race record

. Otherwise so much play in Time Attack mode ( time are lap time)
I understand it could be changed but we have frozen developement of new features, si it will be on the next version

Re: eXpansion plugin pack [Manialive 2.7] updated: 20.3.2013
Posted: 22 Mar 2013, 20:38
by hackie
Maybe a stupid question , but where can I dowload this masterpiece ?
Okay, i found a download link.
I don't understand , all I get are errors.
Occured on 22.03.2013 at 21:54:26 at process with ID #5432
---------------------------------
-> ManiaLive\PluginHandler\Exception with code 0
Plugin "eXpension-master\core" not found!
- in E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\PluginHandler\PluginHandler.php on line 107
- Stack: #0 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\PluginHandler\PluginHandler.php(196): ManiaLive\PluginHandler\PluginHandler->register('eXpension-maste...')
#1 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\Event.php(31): ManiaLive\PluginHandler\PluginHandler->onInit()
#2 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Event\Dispatcher.php(58): ManiaLive\Application\Event->fireDo(Object(ManiaLive\PluginHandler\PluginHandler))
#3 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\AbstractApplication.php(89): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
#4 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLiveApplication\Application.php(23): ManiaLive\Application\AbstractApplication->init()
#5 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\AbstractApplication.php(96): ManiaLiveApplication\Application->init()
#6 E:\Manialive server\ManiaLive 2.7\bootstrapper.php(69): ManiaLive\Application\AbstractApplication->run()
#7 {main}
[2013.03.22 21:55:09]
Occured on 22.03.2013 at 21:55:09 at process with ID #4736
---------------------------------
-> ManiaLive\PluginHandler\Exception with code 0
Plugin "eXpension\core" not found!
- in E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\PluginHandler\PluginHandler.php on line 107
- Stack: #0 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\PluginHandler\PluginHandler.php(196): ManiaLive\PluginHandler\PluginHandler->register('eXpension\core')
#1 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\Event.php(31): ManiaLive\PluginHandler\PluginHandler->onInit()
#2 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Event\Dispatcher.php(58): ManiaLive\Application\Event->fireDo(Object(ManiaLive\PluginHandler\PluginHandler))
#3 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\AbstractApplication.php(89): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
#4 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLiveApplication\Application.php(23): ManiaLive\Application\AbstractApplication->init()
#5 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\AbstractApplication.php(96): ManiaLiveApplication\Application->init()
#6 E:\Manialive server\ManiaLive 2.7\bootstrapper.php(69): ManiaLive\Application\AbstractApplication->run()
#7 {main}
[2013.03.22 21:56:25]
Occured on 22.03.2013 at 21:56:25 at process with ID #4884
---------------------------------
-> ManiaLive\PluginHandler\Exception with code 0
Plugin "eXpension\Menu" not found!
- in E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\PluginHandler\PluginHandler.php on line 107
- Stack: #0 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\PluginHandler\PluginHandler.php(196): ManiaLive\PluginHandler\PluginHandler->register('eXpension\Menu')
#1 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\Event.php(31): ManiaLive\PluginHandler\PluginHandler->onInit()
#2 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Event\Dispatcher.php(58): ManiaLive\Application\Event->fireDo(Object(ManiaLive\PluginHandler\PluginHandler))
#3 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\AbstractApplication.php(89): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
#4 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLiveApplication\Application.php(23): ManiaLive\Application\AbstractApplication->init()
#5 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\AbstractApplication.php(96): ManiaLiveApplication\Application->init()
#6 E:\Manialive server\ManiaLive 2.7\bootstrapper.php(69): ManiaLive\Application\AbstractApplication->run()
#7 {main}
[2013.03.22 21:57:12]
Occured on 22.03.2013 at 21:57:12 at process with ID #6016
---------------------------------
-> ManiaLive\PluginHandler\Exception with code 0
Plugin "eXpansion\Menu" not found!
- in E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\PluginHandler\PluginHandler.php on line 107
- Stack: #0 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\PluginHandler\PluginHandler.php(196): ManiaLive\PluginHandler\PluginHandler->register('eXpansion\Menu')
#1 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\Event.php(31): ManiaLive\PluginHandler\PluginHandler->onInit()
#2 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Event\Dispatcher.php(58): ManiaLive\Application\Event->fireDo(Object(ManiaLive\PluginHandler\PluginHandler))
#3 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\AbstractApplication.php(89): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
#4 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLiveApplication\Application.php(23): ManiaLive\Application\AbstractApplication->init()
#5 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\AbstractApplication.php(96): ManiaLiveApplication\Application->init()
#6 E:\Manialive server\ManiaLive 2.7\bootstrapper.php(69): ManiaLive\Application\AbstractApplication->run()
#7 {main}
[2013.03.22 22:12:50]
Occured on 22.03.2013 at 22:12:50 at process with ID #5868
---------------------------------
-> ManiaLive\PluginHandler\Exception with code 0
Plugin "oliverde8\HudMenu" not found!
- in E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\PluginHandler\PluginHandler.php on line 107
- Stack: #0 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\PluginHandler\PluginHandler.php(196): ManiaLive\PluginHandler\PluginHandler->register('oliverde8\HudMe...')
#1 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\Event.php(31): ManiaLive\PluginHandler\PluginHandler->onInit()
#2 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Event\Dispatcher.php(58): ManiaLive\Application\Event->fireDo(Object(ManiaLive\PluginHandler\PluginHandler))
#3 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\AbstractApplication.php(89): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
#4 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLiveApplication\Application.php(23): ManiaLive\Application\AbstractApplication->init()
#5 E:\Manialive server\ManiaLive 2.7\libraries\ManiaLive\Application\AbstractApplication.php(96): ManiaLiveApplication\Application->init()
#6 E:\Manialive server\ManiaLive 2.7\bootstrapper.php(69): ManiaLive\Application\AbstractApplication->run()
#7 {main}