MagicDescription

Moved

Total Downloads: 3,636 - First Release: Nov 12, 2015 - Last Update: May 28, 2017

5/5, 25 likes
  1. 'MagicDescription v0.1.0' is using deprecated hook 'OnRunCommand', which will stop working on Monday, 01 August 2016. Please ask the author to update to 'OnServerCommand'
     
  2. go edit the plugin file and just replace OnRunCommand with OnServerCommand , use ctrl f to find it :)
     
  3. This error is showing up int my RustAdmin program.

    (12:40:59) | [Oxide] 09:40 [Warning] 'MagicDescription v0.1.0' is using deprecated hook 'OnRunCommand', which will stop working on Monday, 01 August 2016. Please ask the author to update to 'OnServerCommand'

    Thought I would let you know, love your work by the way!
     
  4. Wulf

    Wulf Community Admin

    Wulf updated MagicDescription with a new update entry:

    1.0.0

     
  5. Looks just what I've been looking for. Giving it a test now. Thanks.
     
  6. What's wrong?
    Code:
    [Oxide] 16:31 [Error] Failed to call hook 'OnPluginLoaded' on plugin 'MagicDescription v1.0.0' (ArgumentNullException: Argument cannot be null.
    Parameter name: input)
    [Oxide] 16:31 [Debug]   at System.Text.RegularExpressions.Regex.Match (System.String input, Int32 startat) [0x00000] in :0
    at System.Text.RegularExpressions.Regex.Matches (System.String input, Int32 startat) [0x00000] in :0
    at System.Text.RegularExpressions.Regex.Matches (System.String input) [0x00000] in :0
    at Oxide.Plugins.MagicDescription.UpdateDescription (System.String text) [0x00000] in :0
    at Oxide.Plugins.MagicDescription.OnPluginLoaded () [0x00000] in :0
    at Oxide.Plugins.MagicDescription.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in :0 
     
  7. Wulf

    Wulf Community Admin

    What do you have for your description right now?
     
  8. This.
    Code:
    {
    "Description": "Добро пожаловать на сервер ******. Удобные плагины и онлайн магазин.",
    "ListPlugins": false,
    "PluginExclusions": [
    "PrivateStuff",
    "OtherName"
    ]
    }
     
  9. The latest version does not have that issue, it was updated this last week.
    [DOUBLEPOST=1470254103][/DOUBLEPOST]I have the following error when re-starting server with the plugin installed, if I take it out and drop it in after server start there's no issues. The error pops up about 6-7 times. I just hate those nasty red lines at my startup. Look into it please, in the meantime I'll pull the plugin if I need to restart.
    Code:
    [Oxide] 12:42 [Info] Loaded plugin MagicDescription v1.0.0 by Wulf/lukespragg
    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)[Oxide] 12:42 [Error] Failed to call hook 'OnPluginLoaded' on plugin 'MagicDescription v1.0.0' (ArgumentNullException: Argument cannot be null.
    Parameter name: input)
    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)[Oxide] 12:42 [Debug]  at System.Text.RegularExpressions.Regex.Match (System.String input, Int32 startat) [0x00000] in <filename unknown>:0
    at System.Text.RegularExpressions.Regex.Matches (System.String input, Int32 startat) [0x00000] in <filename unknown>:0
    at System.Text.RegularExpressions.Regex.Matches (System.String input) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.MagicDescription.UpdateDescription (System.String text) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.MagicDescription.OnPluginLoaded () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.MagicDescription.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    (Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 42)
     
    Last edited by a moderator: Aug 3, 2016
  10. Wulf

    Wulf Community Admin

    It won't hurt anything, and I likely have it fixed locally. It just happens when you don't have any replacement variables in the description for it.
     
  11. I got that same error above when I change the config this part
    Code:
    "PluginExclusions": [
    "AdminProtection",
    "PathFinding",
    "ObjectRemover",
    "StackSizes",
    "Updater",
    "Waypoints",
    "ZoneDomes",
    "HelpText",
    "AdminSpawn"
    Not sure can we do this on the config
    Code:
    [Error] Failed to call hook 'OnPluginLoaded' on plugin 'MagicDescription v1.0.0' (ArgumentNullException: Argument cannot be null.
    Parameter name: input)
    23:13 [Debug]   at System.Text.RegularExpressions.Regex.Match (System.String input, Int32 startat) [0x00000] in <filename unknown>:0
    at System.Text.RegularExpressions.Regex.Matches (System.String input, Int32 startat) [0x00000] in <filename unknown>:0
    at System.Text.RegularExpressions.Regex.Matches (System.String input) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.MagicDescription.UpdateDescription (System.String text) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.MagicDescription.OnPluginLoaded () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.MagicDescription.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    After more testing if I delete the config restart server it makes the config without an error then restart the server again and leave the config as default I get the error again
     
    Last edited by a moderator: Aug 4, 2016
  12. Wulf

    Wulf Community Admin

    As I said above, the error happens when there are no variables/commands in the description for the plugin to replace. It has nothing to do with the exclusions.
     
  13. Hi Wulf,

    My issue is that I set the plugin to "false" and restarted the server, the description then said "There is no description to display" or something like that.

    I have a description, but I'm using nearly 60 plugins so I'd rather not have them splashed across my desc' - any help would be great
     
  14. Wulf

    Wulf Community Admin

    I'll check it out.
     
  15. Wulf

    Wulf Community Admin

    Wulf updated MagicDescription with a new update entry:

    1.1.0

     
  16. Wulf

    Wulf Community Admin

    Wulf updated MagicDescription with a new update entry:

    1.2.0

     
  17. Wulf

    Wulf Community Admin

    Wulf updated MagicDescription with a new update entry:

    1.2.1

     
  18. Wulf

    Wulf Community Admin

    That isn't handled by this, add that where you normally would. This plugin just handles the text description.
     
  19. Thanks for the reply Wulf. Any thought to adding this option in a possible update or separate plugin? Command in console doesn't seem to add picture for me.