Page 4 of 6
Re: eXpansion 0.9.6 (16/06/2014)
Posted: 01 Jul 2014, 19:11
by oliverde8
It is due to some caracters in the nickname or login. Due to the way xmlrpc protocol is built some caracters are forbiden in the maniascript code which causes this issue.
There is no solution for this

Re: eXpansion 0.9.6 (16/06/2014)
Posted: 04 Jul 2014, 21:50
by TheBigG.
Hi,
i did add a 2nd admin group and after removing Permission_expansion_pluginStartStop it is still possible for that group to start and stop plugins. How do i prevent them from doing that?
Re: eXpansion 0.9.6 (16/06/2014)
Posted: 04 Jul 2014, 23:09
by oliverde8
TheBigG. wrote:Hi,
i did add a 2nd admin group and after removing Permission_expansion_pluginStartStop it is still possible for that group to start and stop plugins. How do i prevent them from doing that?
it might be an issue with with the permission check I am going to check that, if you removed the permission he shouldn't be able to do it XD
Edit : Sorry for that the /admin plugins command had the correct permissions but the button in the server management window was chacking with votes permission
Fixed on all branches

Re: eXpansion 0.9.6 (16/06/2014)
Posted: 12 Jul 2014, 12:29
by TheBigG.
for me its still not fixed the only thing that did change is that now the button doesn't change from active to inactive but the plugin does.
you are still able to make right click than "Server-Steuerung" than plugin managment and turn plugins on and off
also expansion did crash with this in log
Code: Select all
PHP Fatal error: Call to a member function getRelPath() on a non-object in /home/tm2/ex_6001_krip_1/libraries/ManiaLivePlugins/eXpansion/Gui/Windows/Window.php on line 198
Fatal error: Call to a member function getRelPath() on a non-object in /home/tm2/ex_6001_krip_1/libraries/ManiaLivePlugins/eXpansion/Gui/Windows/Window.php on line 198
edit:
skip doesn't work for me
i get this in error log
Code: Select all
[2014-07-12T15:09:43+00:00]
Occured on 12.07.2014 at 15:09:43 at process with ID #10222
---------------------------------
-> ManiaLive\PluginHandler\DependencyNotFoundException with code 0
Plugin "\ManiaLivePlugins\eXpansion\Players\Players" needs "\ManiaLivePlugins\eXpansion\Chat_Admin\Chat_Admin" to be installed!
- in /home/tm2/ex_6001_krip_1/vendor/maniaplanet/manialive-lib/ManiaLive/PluginHandler/PluginHandler.php on line 166
- Stack: #0 /home/tm2/ex_6001_krip_1/vendor/maniaplanet/manialive-lib/ManiaLive/PluginHandler/PluginHandler.php(134): ManiaLive\PluginHandler\PluginHandler->checkDependencies(Object(ManiaLivePlugins\eXpansion\Players\Players))
#1 /home/tm2/ex_6001_krip_1/vendor/maniaplanet/manialive-lib/ManiaLive/PluginHandler/PluginHandler.php(47): ManiaLive\PluginHandler\PluginHandler->prepare(Object(ManiaLivePlugins\eXpansion\Players\Players))
#2 /home/tm2/ex_6001_krip_1/libraries/ManiaLivePlugins/eXpansion/Core/Core.php(723): ManiaLive\PluginHandler\PluginHandler->load('\\ManiaLivePlugi...')
#3 /home/tm2/ex_6001_krip_1/libraries/ManiaLivePlugins/eXpansion/Core/Core.php(343): ManiaLivePlugins\eXpansion\Core\Core->checkPluginsOnHold()
#4 /home/tm2/ex_6001_krip_1/vendor/maniaplanet/manialive-lib/ManiaLive/DedicatedApi/Callback/Event.php(75): ManiaLivePlugins\eXpansion\Core\Core->onBeginMap(Array, false, NULL)
#5 /home/tm2/ex_6001_krip_1/vendor/maniaplanet/manialive-lib/ManiaLive/Event/Dispatcher.php(120): ManiaLive\DedicatedApi\Callback\Event->fireDo(Object(ManiaLivePlugins\eXpansion\Core\Core))
#6 /home/tm2/ex_6001_krip_1/vendor/maniaplanet/manialive-lib/ManiaLive/Application/Application.php(123): ManiaLive\Event\Dispatcher::dispatch(Object(ManiaLive\DedicatedApi\Callback\Event))
#7 /home/tm2/ex_6001_krip_1/bootstrapper.php(73): ManiaLive\Application\Application->run()
#8 {main}
but if i enable this plugin i get
Code: Select all
[PluginHandler] Loading plugin "\ManiaLivePlugins\eXpansion\Chat_Admin\Chat_Admin" 0.9.6...
PHP Fatal error: Cannot use object of type ManiaLivePlugins\eXpansion\AdminGroups\AdminCmd as array in /home/tm2/ex_6001_krip_1/libraries/ManiaLivePlugins/eXpansion/AdminGroups/AdminGroups.php on line 648
Fatal error: Cannot use object of type ManiaLivePlugins\eXpansion\AdminGroups\AdminCmd as array in /home/tm2/ex_6001_krip_1/libraries/ManiaLivePlugins/eXpansion/AdminGroups/AdminGroups.php on line 648
Re: eXpansion 0.9.6 (16/06/2014)
Posted: 12 Jul 2014, 18:07
by oliverde8
Can you try a clean install? sama database just reinstall the files? THose oare incredible errors that requires the expansion core functions to be unloaded to happen and the plugin manager shouldn't allow those plugins to be unloaded on the first place.
Chat Admin for exemple is a core plugin, normally it shouldn't be possible to unload it. IF you were able to unload it once due to a bug I will investigate well everythng might go crazy after that.
I am on holiday this weekend so won't be able to look before tuesday?
Re: eXpansion 0.9.6 (16/06/2014)
Posted: 12 Jul 2014, 18:11
by TheBigG.
ok i will try
Re: eXpansion 0.9.6 (16/06/2014)
Posted: 12 Jul 2014, 18:18
by oliverde8
thanks, I have seen that effectively I have forgoten to put the Admin chat plugin as Core plugin fixing that could probably fix your issue with no reinstall but I can't test what I code so I won't be to check
I will re check the permisson issue, that is strange, I will also recheck that;
But won't be able to be of much help before tuesday, first time I am away from my computer in 4 month

and still I coded for expansion during 3 hours in the train yesterday

Re: eXpansion 0.9.6 (16/06/2014)
Posted: 12 Jul 2014, 18:55
by TheBigG.
don't hurry and enjoy your holidays

Re: eXpansion 0.9.6 (16/06/2014)
Posted: 17 Jul 2014, 17:22
by TheBigG.
hi,
would it be possible to update the widgets after driving a new record?
atm you have 2 local records till skip and dedimania doesn't update at all during race.

Re: eXpansion 0.9.6 (16/06/2014)
Posted: 17 Jul 2014, 18:16
by oliverde8
TheBigG. wrote:hi,
would it be possible to update the widgets after driving a new record?
atm you have 2 local records till skip and dedimania doesn't update at all during race.

Hey, for dedimania it seems there is still a problem to be specific I think it only doesen't show firs records. For the local records it is your fauly

the system doesen't like your login or nickname XD. Can you pass me your login and nickname by PM and I will check if I can maybe ignore the caracters you use
To make it simple the Maniascript code that updates the LocalRecords is sent at the beginning of the map with all records list using user login as key.
The maniascript is sent through the xmlrpc protocol that doesn't support the xml CDATA tags.
So if we put -- in the script it crashes the protocol.
Solution we remove the -- from the script before sending it
Problem it changes the key of our old records, so the system doesn't recognize your true login as a login that has already a record. So when you drive a new record it sees that you login--1 you have no record because your record has been saved under login1 instead.
At the moment our system is very severe it removes plenty of stuff that might just work but we has a lot of crashes due to this so we went for something that doesn't work well sometimes instead of something that crashed sometimes
But whatever we do this problem can not be solved until Nadeo add some text replace functionality to maniascript. That way we can replace the -- with @ for exemple that is illegal in logins then once the script is loaded replace the @ with -- again.