UpdateChecker

Moved

Total Downloads: 21,403 - First Release: Oct 24, 2014 - Last Update: Feb 1, 2018

5/5, 48 likes
  1. hi i just added this plugin on my server and without editing anything this errors came up
    Code:
    41.151.222.57:50369/76561198153484068/KillsonContact joined [windows/76561198153484068]
    [Oxide] 5:31 PM [Error] Exception raised in web request callback (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 5:31 PM [Debug]   at System.Collections.Generic.Dictionary`2[System.Object,System.Object].get_Item (System.Object key) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.GetUnaccessedObject (FieldName fieldName) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.GetArgumentValue (FieldName fieldName) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.ReplaceText (System.String format) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter+Formatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.NewStringFormatter.FormatString (IronPython.Runtime.PythonContext context, System.String format, IronPython.Runtime.PythonTuple args, IDictionary`2 kwArgs) [0x00000] in <filename unknown>:0
      at IronPython.Runtime.Operations.StringOps.format (IronPython.Runtime.CodeContext context, System.String format_string, IDictionary`2 kwargs, System.Object[] args) [0x00000] in <filename unknown>:0
      at Microsoft.Scripting.Interpreter.FuncCallInstruction`5[IronPython.Runtime.CodeContext,System.String,System.Collections.Generic.IDictionary`2[System.Object,System.Object],System.Object[],System.String].Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
      at Microsoft.Scripting.Interpreter.Interpreter.Run (Microsoft.Scripting.Interpreter.InterpretedFrame frame) [0x00000] in <filename unknown>:0
     
  2. Wulf

    Wulf Community Admin

    That's not from this plugin, that's from one of the Python plugins you are using, probably Notifier.
     
  3. ok will ask in that forum, tx wolf
     
  4. Does this plugin not support checking updates for python plugins? I have tried several different python plugins and they all have the following code template as shown below:

    Code:
    class PluginName:
        def __init__(self):
            self.Title = "Title of Plugin"
            self.Description = "This is what the plugin does"
            self.Author = "Your Name"
            self.Version = V(0, 1, 0)
            self.ResourceId = 681
    No matter what it will not count these plugins as supported plugins, nor does it actually check the versions.
     
  5. Hi, ive updated the Server and all Plugins today and Updater now sends this to log:

    Code:
    > oxide.reload Updater
    [Oxide] 7:09 AM [Info] Unloaded plugin Updater v0.4.3 by Wulf / Luke Spragg
    [Oxide] 7:09 AM [Info] Loaded plugin Updater v0.4.3 by Wulf / Luke Spragg
    [Oxide] 7:09 AM [Info] [Updater] ### Update check started!
    [Oxide] 7:09 AM [Info] [Updater] Supported plugin count: 28
    [Oxide] 7:09 AM [Info] [Updater] Using the latest version of all plugins!
    [Oxide] 7:09 AM [Info] [Updater] ### Update check finished!
    [Oxide] 7:09 AM [Error] Exception raised in web request callback
    File: Updater.lua Line: 71 attempt to index field 'server' (a nil value):
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass2.CallFunction (Int32 , System.String ) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0 
    The Check himself works without any problems and show if any supported Plugin is outdated.

    And, as TheGreatGooby writes: Is it possible to support py and cs Plugins too? Or is it only possible to support lua at this state of the Game?
     
  6. Wulf

    Wulf Community Admin

    You're using the Legacy version on an Experimental server, download the correct version and it will work fine.
     
  7. Thx 4 this fast help.
    Don'd know why this happened, cause i load the plugin from the page this "Alarm" here will show me.

    But now it seems to be working without any errors^^
     
  8. Anyway to make this actually update out of date plugins?

    Also this continually shows one of my plugins out of date but it's not XD
     
  9. error

    ошибка
     

    Attached Files:

  10. Wulf

    Wulf Community Admin

    That is not from this plugin, see the filename it mentions.
    No, an extension would need to be made the actually update plugins. If a plugin shows outdated, then the version on the file you are using doesn't match the site. Nothing I can do about it, you'd need to report it to the plugin author to correct.
     
  11. Ok, do you ever plan to make this extension?
     
  12. Wulf

    Wulf Community Admin

    No, but Oxide will have the functionality eventually. There are a few threads that discuss this.
     
  13. Wulf

    Wulf Community Admin

  14. Code:
    [Oxide] 8:31 PM [Debug] Covalence is unregistering command 'update'!
    [Oxide] 8:31 PM [Debug] Covalence is unregistering command 'global.update'!
    [Oxide] 8:31 PM [Info] Unloaded plugin Updater v0.4.4 by Wulf / Luke Spragg
    [Oxide] 8:31 PM [Error] Failed to load plugin updater (IOException: Sharing violation on path c:\games\208_167_251_236_28016\1112264\ruste\server\1112264\oxide\plugins\updater.lua)
    [Oxide] 8:31 PM [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.File.OpenRead (System.String path) [0x00000] in <filename unknown>:0
      at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (string,System.Text.Encoding)
      at System.IO.File.ReadAllText (System.String path, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.ReadAllText (System.String path) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.Load () [0x00000] in <filename unknown>:0
      at Oxide.Ext.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
    [Oxide] 8:31 PM [Info] Loaded plugin Updater v0.4.4 by Wulf / Luke Spragg
    [Oxide] 8:31 PM [Info] [Updater] ### ##############  Update check started!
    [Oxide] 8:31 PM [Info] [Updater] Supported plugin count: 18
    [Oxide] 8:31 PM [Info] [Updater] Using the latest version of all plugins!
    [Oxide] 8:31 PM [Info] [Updater] ### ##############  Update check finished!
    [Oxide] 8:31 PM [Error] Exception raised in web request callback
    File: updater.lua Line: 45 invalid use of '%' in replacement string:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass2.CallFunction (Int32 , System.String ) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0
     
  15. Wulf

    Wulf Community Admin

    The first error is from your FTP still using the plugin while Oxide tries to reload it. The other error shouldn't exist anymore. What is your server hostname?
     
  16. ! ! ! BATTLEFIELD - CLANS - GUNS & AMMO!-TONS OF PLUGINS!
     
  17. Wulf

    Wulf Community Admin

    Fix incoming. :)
     
  18. Wulf

    Wulf Community Admin

  19. still get
    Code:
    File: updater.lua Line: 45 invalid use of '%' in replacement string:
      at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0
      at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0
      at NLua.Method.LuaDelegate.CallFunction (System.Object[] args, System.Object[] inArgs, System.Int32[] outArgs) [0x00000] in <filename unknown>:0
      at LuaGeneratedClass2.CallFunction (Int32 , System.String ) [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.WebRequests+WebRequest.<OnComplete>m__1 () [0x00000] in <filename unknown>:0