1. Hi folks,

    I've spent hours trying to resolve this by myself but am at my wits end. I have a fully updated experimental server with the most recent release of Oxide (build 58).

    I'm trying to load a simple plugin but every single time I try I get the following:

    Code:
    1:13 PM [Error] Failed to load plugin kits (Plugin is missing version)
    1:13 PM [Debug]   at Oxide.Lua.Plugins.LuaPlugin.Load () [0x00000] in <filename unknown>:0
      at Oxide.Lua.Plugins.LuaPluginLoader.Load (System.String directory, System.String name) [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.LoadPlugin (System.String name) [0x00000] in <filename unknown>:0 
    Now this looks like it's a straightforward issue with the plugin missing its version, but it's not!

    I have everything defined perfectly fine:

    Code:
    PLUGIN.Title = "Kits"
    PLUGIN.Description = "ZC Server Kits"
    PLUGIN.Author = "ZC"
    PLUGIN.Version = "1.0"
    I haven't a clue what is going wrong, has anybody got any idea or any experience with this error?

    Cheers,
    Marc
     
  2. The Version notation had changed, Just check An existing plugin for the correct syntax To define the Version.
     
  3. Oh but I did my good man, this is a snippet from Rick Voter Reward which was updated only today;

    Mine is identical in its notation.

    Thanks for the reply Mughisi
     
    Last edited by a moderator: Dec 19, 2014
  4. Wulf

    Wulf Community Admin

    You can't use Legacy plugins on Experimental. They'd need to be converted to it.
     
  5. I don't follow you, is this not in the correct format? This gives the exact same error.

    Code:
    PLUGIN.Title = "Test"
    PLUGIN.Description = "Test"
    PLUGIN.Version = "0.1"
    PLUGIN.Author = "Test"function PLUGIN:Init()
        print("Test Loaded.")
    end
    Oh just to clarify, I don't use the Rick Voter plugin I was using it as an example for the PLUGIN.Version bit
     
  6. Wulf

    Wulf Community Admin

    No, that snippet uses the Legacy version format as @Mughisi said. For examples of Experimental, please see http://oxidemod.org/resources/. You'll need to change a good bit if you are trying to convert Voter Rewards, as a lot of the functions changed with both name and arguments.
     
  7. PLUGIN.Name = "Test"
    PLUGIN.Title = "Test"
    PLUGIN.Version = V(0, 1, 0)
    PLUGIN.Description = "Test"
    PLUGIN.Author = "Test"
     
  8. Wulf

    Wulf Community Admin

    You don't need Name anymore, not since a few months back. ;)
     
  9. Oh my God... I've searched for hours and hours and couldn't find that, you are both gentlemen, thank you!