Page 9 of 14

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

Posted: 06 May 2011, 14:48
by oliverde8
Sorry about this late update had completely fogoth about it

-Sub menus not showing at the correct position sometimes SOLVED.
-Fatal error: Call to a member function setRoots() on a non-object in ... Error SOLVED
-if you open ML while you already are in the server you don't get all the buttons you just get the ones in the XML file, you will need to leave and re enter the server to see all buttons SOLVED, you will see all the buttons now.

Known problems :
If you use pluginManager and use it to add and remove plugins it might create double entries.
I explain :
-if you just enablea plugin once there is no big problems, the buttons if there is any will be added. But you will need to get out and come in the server to see them. I will try to add something that will update the menu you have on the end of the challange.
-If you disable a plugin, the buttons of that plugin sill continue to exist and they wont be remove. if you click on them nothing happens. It won't crash ML
-If you reEnable a plugin you disabled you will have 2 times the buttons. Depending on how they were added, the 2 of them might work or not.

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

Posted: 06 May 2011, 17:07
by jouko200
40 buttons works :D :roll:

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

Posted: 06 May 2011, 23:59
by reaby
nouse & i found something today worth double checking:
1) restart manialive when admins are on server & menu is active
2) disconnect
3) connect back
4) manialive crash.

^^ manialink error, ask nouse for logs if needed, i think you can easily reproduce this one.

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

Posted: 07 May 2011, 01:51
by oliverde8
Oups :oops: forgot to destroy the windows of that players onDisconnect.

I updated, thanks hopefully last probleme

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

Posted: 12 May 2011, 19:59
by corto-72
Hi Oliver,

since upgrading Manialive to R214, I am getting this error with your plugin (v0.23):

Code: Select all

-----------------------------------------------------
PHP 5.3.1 or newer    -> required  -> [ Yes ] 5.3.5-1ubuntu7.2
Standard PHP Library  -> required  -> [ Yes ]
JSON                  -> required  -> [ Yes ]
OpenSSL               -> required  -> [ Yes ]
cURL with SSL         -> required  -> [ Yes ] 7.21.3 (OpenSSL/0.9.8o) (with OpenSSL/0.9.8o)
SQLite                -> optionnal -> [ Yes ]
-----------------------------------------------------
[20:58:06] XML-RPC connection established
[20:58:06] Successfully authentified with XML-RPC server
[20:58:07] Current map: C01-Race
[PluginHandler] Start plugin load process:

 -> ManiaLive\PluginHandler\Exception with code 0
    Could not load Plugin '\ManiaLivePlugins\oliverd8\HudMenu\Plugin' !
  - in
      /var/www/ManiaLive/libraries/ManiaLive/PluginHandler/PluginHandler.php on
      line 186
  - Stack: #0
      /var/www/ManiaLive/libraries/ManiaLive/PluginHandler/PluginHandler.php(12
      0):
      ManiaLive\PluginHandler\PluginHandler->loadPlugin('\ManiaLivePlugi...')
           #1
      /var/www/ManiaLive/libraries/ManiaLive/PluginHandler/PluginHandler.php(68
      3): ManiaLive\PluginHandler\PluginHandler->loadPlugins()
           #2
      /var/www/ManiaLive/libraries/ManiaLive/Application/Event.php(39):
      ManiaLive\PluginHandler\PluginHandler->onInit()
           #3
      /var/www/ManiaLive/libraries/ManiaLive/Event/Dispatcher.php(52):
      ManiaLive\Application\Event->fireDo(Object(ManiaLive\PluginHandler\Plugin
      Handler))
           #4
      /var/www/ManiaLive/libraries/ManiaLive/Application/AbstractApplication.ph
      p(130):
      ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\Application\Event))
           #5
      /var/www/ManiaLive/libraries/ManiaLiveApplication/Application.php(38):
      ManiaLive\Application\AbstractApplication->init()
           #6
      /var/www/ManiaLive/libraries/ManiaLive/Application/AbstractApplication.ph
      p(137): ManiaLiveApplication\Application->init()
           #7 /var/www/ManiaLive/bootstrapper.php(82):
      ManiaLive\Application\AbstractApplication->run()
           #8 {main}
Any ideas? Thanks in advance.

Cheers
Corto

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

Posted: 13 May 2011, 09:13
by oliverde8
It can't find the plugin :S

Can you check it is there?

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

Posted: 13 May 2011, 22:58
by corto-72
doh! I indicated oliverd8/HudMenu, as opposed to oliverde8/HudMenu... :mrgreen:

sorry about that, it got me crazy! Stupid typo! Thanks anyway for the great job!

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

Posted: 14 May 2011, 08:49
by oliverde8
corto-72 wrote:doh! I indicated oliverd8/HudMenu, as opposed to oliverde8/HudMenu... :mrgreen:

sorry about that, it got me crazy! Stupid typo! Thanks anyway for the great job!
^^Thanks ;) , It is okay I do so much of crazy errors that it would be stupid to think others don't and get mad with them :)

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

Posted: 26 May 2011, 01:22
by Knutselmaaster
Testing this and playing a bit with the settings, i have some requests.
-Could the direction it folds out be configurable (up/down and left/right) so that it doesn't go offscreen when i put it on top and/or in the left border.
-Could you make the icon position configurable, i prefer having the icons in the frame instead of on the border.
-Could you add a text align x and y option, preferably separated for the root and the rest.

But i've been clicking like a madman, all bugs seem to have vanished. (manialive 220 - mlepp 476)
Very nice job.

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

Posted: 26 May 2011, 06:38
by oliverde8
Nice to know that there isn't any bug anymore :)

ALl which you asked are in my todo list, I will do that after the widgets