[Plugin]Oliverde8 Hud Menu | [Manialive 1] & [Manialive 2.8]

Post here every finished plugin

Moderator: NADEO

User avatar
Knutselmaaster
Posts: 1267
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin]Oliverde8 Hud Menu | over 340 buttons ... WORKS

Post by Knutselmaaster » 27 May 2011, 01:16

admin -> game settings -> ta settings -> don't work (and time limit shows "array - array - etc")
ManiLive 220 - mlepp 495

example of error:

Code: Select all

    Occured on 27.05.2011 at 02:13:03 at process with ID #10093
    ---------------------------------
 -> ErrorException with code 0
    call_user_func_array() expects parameter 1 to be a valid callback, cannot access private method ManiaLivePlugins\MLEPP\Admin\Adapter\oliverde8HudMenu::save_GameSettings_WarmUp()
  - in /home/tmservers/servers/train/ManiaLive220/libraries/ManiaLivePlugins/oliverde8/HudMenu/Gui/Controls/Button.php on line 221
  - Stack: #0 [internal function]: ManiaLive\Application\ErrorHandling::createExcpetionFromError(2, 'call_user_func_...', '/home/tmservers...', 221, Array)
           #1 /home/tmservers/servers/train/ManiaLive220/libraries/ManiaLivePlugins/oliverde8/HudMenu/Gui/Controls/Button.php(221): call_user_func_array(Array, Array)
           #2 [internal function]: ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Button->onClick('knutselmaaster')
           #3 /home/tmservers/servers/train/ManiaLive220/libraries/ManiaLive/Gui/Windowing/Window.php(485): call_user_func_array(Array, Array)
           #4 /home/tmservers/servers/train/ManiaLive220/libraries/ManiaLive/Gui/Handler/Event.php(29): ManiaLive\Gui\Windowing\Window->onActionClick('knutselmaaster', 1677721608)
           #5 /home/tmservers/servers/train/ManiaLive220/libraries/ManiaLive/Event/Dispatcher.php(52): ManiaLive\Gui\Handler\Event->fireDo(Object(ManiaLivePlugins\oliverde8\HudMenu\Gui\Windows\RootMenu))
           #6 /home/tmservers/servers/train/ManiaLive220/libraries/ManiaLive/Gui/Handler/GuiHandler.php(46): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Gui\Handler\Event))
           #7 [internal function]: ManiaLive\Gui\Handler\GuiHandler->onPlayerManialinkPageAnswer(223, 'knutselmaaster', 1677721608)
           #8 /home/tmservers/servers/train/ManiaLive220/libraries/ManiaLive/DedicatedApi/Callback/Event.php(28): call_user_func_array(Array, Array)
           #9 /home/tmservers/servers/train/ManiaLive220/libraries/ManiaLive/Event/Dispatcher.php(52): ManiaLive\DedicatedApi\Callback\Event->fireDo(Object(ManiaLive\Gui\Handler\GuiHandler))
           #10 /home/tmservers/servers/train/ManiaLive220/libraries/ManiaLive/DedicatedApi/Connection.php(108): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\DedicatedApi\Callback\Event))
           #11 /home/tmservers/servers/train/ManiaLive220/libraries/ManiaLive/Application/AbstractApplication.php(146): ManiaLive\DedicatedApi\Connection->executeCallbacks()
           #12 /home/tmservers/servers/train/ManiaLive220/bootstrapper.php(82): ManiaLive\Application\AbstractApplication->run()
           #13 {main}

User avatar
Knutselmaaster
Posts: 1267
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin]Oliverde8 Hud Menu | over 340 buttons ... WORKS

Post by Knutselmaaster » 01 Jun 2011, 11:06

When using the jukebox buttons, i get this error and the menu hangs:

Code: Select all

 -> ErrorException with code 0
    Undefined property: ManiaLivePlugins\oliverde8\HudMenu\Gui\Windows\RootMenu::$sub
  - in /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLivePlugins/oliverde8/HudMenu/Gui/Windows/RootMenu.php on line 115
  - Stack: #0 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLivePlugins/oliverde8/HudMenu/Gui/Windows/RootMenu.php(115): ManiaLive\Application\ErrorHandling::createExcpetionFromError(8, 'Undefined prope...', '/home/tmservers...', 115, Array)
           #1 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLivePlugins/oliverde8/HudMenu/HudMenu.php(339): ManiaLivePlugins\oliverde8\HudMenu\Gui\Windows\RootMenu->onClick(Object(ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Button))
           #2 [internal function]: ManiaLivePlugins\oliverde8\HudMenu\HudMenu->onClick('knutselmaaster', Object(ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Button))
           #3 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLivePlugins/oliverde8/HudMenu/Gui/Controls/Button.php(203): call_user_func_array(Array, Array)
           #4 [internal function]: ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Button->onClick('knutselmaaster')
           #5 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLive/Gui/Windowing/Window.php(485): call_user_func_array(Array, Array)
           #6 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLive/Gui/Handler/Event.php(29): ManiaLive\Gui\Windowing\Window->onActionClick('knutselmaaster', 402653186)
           #7 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLive/Event/Dispatcher.php(52): ManiaLive\Gui\Handler\Event->fireDo(Object(ManiaLivePlugins\oliverde8\HudMenu\Gui\Windows\RootMenu))
           #8 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLive/Gui/Handler/GuiHandler.php(46): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Gui\Handler\Event))
           #9 [internal function]: ManiaLive\Gui\Handler\GuiHandler->onPlayerManialinkPageAnswer(234, 'knutselmaaster', 402653186)
           #10 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLive/DedicatedApi/Callback/Event.php(28): call_user_func_array(Array, Array)
           #11 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLive/Event/Dispatcher.php(52): ManiaLive\DedicatedApi\Callback\Event->fireDo(Object(ManiaLive\Gui\Handler\GuiHandler))
           #12 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLive/DedicatedApi/Connection.php(108): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\DedicatedApi\Callback\Event))
           #13 /home/tmservers/servers/fun/ManiaLive223/libraries/ManiaLive/Application/AbstractApplication.php(146): ManiaLive\DedicatedApi\Connection->executeCallbacks()
           #14 /home/tmservers/servers/fun/ManiaLive223/bootstrapper.php(82): ManiaLive\Application\AbstractApplication->run()
           #15 {main}
manialive223, mlepp502

oliverde8
Posts: 1322
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: [Plugin]Oliverde8 Hud Menu | over 340 buttons ... WORKS

Post by oliverde8 » 01 Jun 2011, 12:27

I will have a look in it, I was quite bussy this last week and will be bussy for another week or 2 :?
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...

oliverde8
Posts: 1322
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: [Plugin]Oliverde8 Hud Menu | over 340 buttons ... WORKS

Post by oliverde8 » 11 Jun 2011, 12:34

Hi, I dodn't left the project I am still working on the menu and listening the comments. I have started to add new demanded features.

I hope to come with a new version by the end of the week. Meanwhile here is the SVN lik to get the latest version if you want to test it : svn://91.121.149.10/TM_ML_HudMenu

I added what Knultmaster asked:
-Menu is now multidirectional
-Menu Label positions can bve changed relatively to the button position
-Menu labels can now be aligned left or right

I Fixed :
-The switches not workin
-The submenu that should hide never hided

To COme
-Root Menu will get all the attributes of a sub menu. "TO put link and stuf"

The new config file is in the ManiaLivePlugin/oliverde//HudMenu folder as it is easier for SVN commits :)
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...

User avatar
Knutselmaaster
Posts: 1267
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin]Oliverde8 Hud Menu | over 340 buttons ... WORKS

Post by Knutselmaaster » 11 Jun 2011, 12:38

Cool, can't wait to try this out, thanks Oli :)

User avatar
Knutselmaaster
Posts: 1267
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin]Oliverde8 Hud Menu | over 340 buttons ... WORKS

Post by Knutselmaaster » 11 Jun 2011, 19:13

There is a strange thing, when i change the position of the icons, it works (but not for the main buttons menu - admin and a custom button i added) but when i close the menu and reopen it, they're back at the place they were without the setting.

oliverde8
Posts: 1322
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: [Plugin]Oliverde8 Hud Menu | over 340 buttons ... WORKS

Post by oliverde8 » 11 Jun 2011, 19:58

I will have a look tomorrow
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...

User avatar
Knutselmaaster
Posts: 1267
Joined: 15 Jun 2010, 18:03
Location: Somewhere between Paris and Disney in France.
Contact:

Re: [Plugin]Oliverde8 Hud Menu | over 340 buttons ... WORKS

Post by Knutselmaaster » 11 Jun 2011, 23:03

At search tracks, there are two options with the same name (search by tmx style), one should be tmx difficulty.
Search by medals has double entries for every medal, where it should be "bronze" and "no bronze" etc.

oliverde8
Posts: 1322
Joined: 16 Jun 2010, 07:33
Location: in a Blue Box

Re: [Plugin]Oliverde8 Hud Menu | over 340 buttons ... WORKS

Post by oliverde8 » 12 Jun 2011, 08:32

FIxed thanks,

I will look in to the icons changing size later today
Image
Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...

User avatar
refresh
Posts: 74
Joined: 15 Jun 2010, 13:33
Location: Nantes, France

Re: [Plugin]Oliverde8 Hud Menu | over 340 buttons ... WORKS

Post by refresh » 12 Jul 2011, 10:55

Hi, I installed the files and put plugins.load[] = 'oliverde8\HudMenu' in my config.ini but it doesn't works. What am I supposed to do?
You do not explain how to install it...

Here is the log

Code: Select all

[PluginHandler] Start plugin load process:
[PluginHandler] is loading oliverde8\HudMenu ...
PHP Fatal error:  Class 'ManiaLib\Gui\Elements\' not found in C:\ManiaLive\libra
ries\ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Button.php on line 173
PHP Stack trace:
PHP   1. {main}() C:\ManiaLive\bootstrapper.php:0
PHP   2. ManiaLive\Application\AbstractApplication->run() C:\ManiaLive\bootstrap
per.php:82
PHP   3. ManiaLiveApplication\Application->init() C:\ManiaLive\libraries\ManiaLi
ve\Application\AbstractApplication.php:137
PHP   4. ManiaLive\Application\AbstractApplication->init() C:\ManiaLive\librarie
s\ManiaLiveApplication\Application.php:38
PHP   5. ManiaLive\Event\Dispatcher::dispatch() C:\ManiaLive\libraries\ManiaLive
\Application\AbstractApplication.php:130
PHP   6. ManiaLive\Application\Event->fireDo() C:\ManiaLive\libraries\ManiaLive\
Event\Dispatcher.php:52
PHP   7. ManiaLive\PluginHandler\PluginHandler->onInit() C:\ManiaLive\libraries\
ManiaLive\Application\Event.php:39
PHP   8. ManiaLive\PluginHandler\PluginHandler->loadPlugins() C:\ManiaLive\libra
ries\ManiaLive\PluginHandler\PluginHandler.php:683
PHP   9. ManiaLivePlugins\oliverde8\HudMenu\HudMenu->onReady() C:\ManiaLive\libr
aries\ManiaLive\PluginHandler\PluginHandler.php:158
PHP  10. ManiaLivePlugins\oliverde8\HudMenu\HudMenu->LoadXML() C:\ManiaLive\libr
aries\ManiaLivePlugins\oliverde8\HudMenu\HudMenu.php:44
PHP  11. ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Button->setButton() C:\
ManiaLive\libraries\ManiaLivePlugins\oliverde8\HudMenu\HudMenu.php:169
PHP  12. ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Button->start() C:\Mani
aLive\libraries\ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Button.php:109

Fatal error: Class 'ManiaLib\Gui\Elements\' not found in C:\ManiaLive\libraries\
ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Button.php on line 173

Call Stack:
    0.0005     352664   1. {main}() C:\ManiaLive\bootstrapper.php:0
    0.0193    2130344   2. ManiaLive\Application\AbstractApplication->run() C:\M
aniaLive\bootstrapper.php:82
    0.0193    2130344   3. ManiaLiveApplication\Application->init() C:\ManiaLive
\libraries\ManiaLive\Application\AbstractApplication.php:137
    0.0193    2130344   4. ManiaLive\Application\AbstractApplication->init() C:\
ManiaLive\libraries\ManiaLiveApplication\Application.php:38
    0.1965    3973472   5. ManiaLive\Event\Dispatcher::dispatch() C:\ManiaLive\l
ibraries\ManiaLive\Application\AbstractApplication.php:130
    0.5156    4094440   6. ManiaLive\Application\Event->fireDo() C:\ManiaLive\li
braries\ManiaLive\Event\Dispatcher.php:52
    0.5156    4094440   7. ManiaLive\PluginHandler\PluginHandler->onInit() C:\Ma
niaLive\libraries\ManiaLive\Application\Event.php:39
    0.5156    4094440   8. ManiaLive\PluginHandler\PluginHandler->loadPlugins()
C:\ManiaLive\libraries\ManiaLive\PluginHandler\PluginHandler.php:683
    0.5334    4612144   9. ManiaLivePlugins\oliverde8\HudMenu\HudMenu->onReady()
 C:\ManiaLive\libraries\ManiaLive\PluginHandler\PluginHandler.php:158
    0.5336    4617368  10. ManiaLivePlugins\oliverde8\HudMenu\HudMenu->LoadXML()
 C:\ManiaLive\libraries\ManiaLivePlugins\oliverde8\HudMenu\HudMenu.php:44
    0.5415    5412360  11. ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Butto
n->setButton() C:\ManiaLive\libraries\ManiaLivePlugins\oliverde8\HudMenu\HudMenu
.php:169
    0.5415    5412696  12. ManiaLivePlugins\oliverde8\HudMenu\Gui\Controls\Butto
n->start() C:\ManiaLive\libraries\ManiaLivePlugins\oliverde8\HudMenu\Gui\Control
s\Button.php:109

Appuyez sur une touche pour continuer...
Image

Post Reply

Return to “ManiaLive Plugins”

Who is online

Users browsing this forum: No registered users and 1 guest