UpdateChecker

Moved

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

5/5, 48 likes
  1. Wulf

    Wulf Community Admin

  2. Wulf

    Wulf Community Admin

  3. Wulf

    Wulf Community Admin

  4. Code:
    [Oxide] 3:06 AM [Error] Exception raised in web request callback
    File: updater.lua Line: 167 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 
    Getting this error i don't know whats causing it.
     
  5. Wulf

    Wulf Community Admin

    Use the updated version.
     
  6. Great plugin! I was sure my plugins were up to date but I was wrong.. Thanks for the work :)
     
  7. I'm getting the above error still, and I have latest version:

    Code:
    [Oxide] 2:30 PM [Info] Loaded plugin Updater v0.3.4 by Wulfspider
    [Oxide] 2:30 PM [Info] [Updater] ### Update check started!
    [Oxide] 2:30 PM [Info] [Updater] Supported plugin count: 14
    [Oxide] 2:30 PM [Info] [Updater] Using the latest version of all plugins!
    [Oxide] 2:30 PM [Info] [Updater] ### Update check finished!
    [Oxide] 2:30 PM [Error] Exception raised in web request callback
    File: Updater.lua Line: 62 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
     
  8. Wulf

    Wulf Community Admin

    That's not at all the same or related to the previous errors. Did you modify the plugin file at all? If not, try deleting your config file and reloading the plugin.
     
  9. I see, but no, I didn't change the config file, it is default, and I've now tried removing it and reloading the plugin, and even removing both config and plugin itself and installing it gain, but I'm still getting the same error.
    The thing is, I believe it is working fine, it is just that every time it runs, at the end of the run it throws above error as well.

    Thanks.
     
  10. Wulf

    Wulf Community Admin

    Do you have Push or Email enabled?
     
  11. No, at least not that I know of. These are all the plugins I have currently:
    AirdropControl.cs
    BetterLoot.cs
    CraftingController.cs
    deathnotes.py
    EasyAirdrop.cs
    GatherManager.cs
    Give.cs
    Godmode.cs
    helptext.lua
    LimitedLadders.cs
    m-Time.lua
    notifier.py
    PluginList.lua
    RemoverTool.cs
    SignArtist.cs
    StackSizes.cs
    Updater.lua
    ZoneManager.cs

    None of them are also set to use push or email as well.

    Thanks.
     
  12. Wulf

    Wulf Community Admin

    Could you upload Updater.lua for me to see please?
     
  13. Sure, here it is.
    Thanks.
     

    Attached Files:

  14. Wulf

    Wulf Community Admin

  15. Great, thanks for the update :), however it did not resolve my issue:
    Code:
    [Oxide] 10:00 PM [Info] Loaded plugin Updater v0.4.1 by Wulf / Luke Spragg
    [Oxide] 10:00 PM [Info] [Updater] ### Update check started!
    [Oxide] 10:00 PM [Info] [Updater] Supported plugin count: 14
    [Oxide] 10:00 PM [Info] [Updater] Using the latest version of all plugins!
    [Oxide] 10:00 PM [Info] [Updater] ### Update check finished!
    [Oxide] 10:00 PM [Error] Exception raised in web request callback
    File: Updater.lua Line: 40 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
    Could this be related to any other plugins? Asking because it detects 14 supported plugins and I have more, although I don't see what would that matter, the others just do not have resourceID or whatever I guess.
     
  16. Wulf

    Wulf Community Admin

    No, it only shows the count that have ResourceId set.
     
  17. Wulf

    Wulf Community Admin

    Wulf updated Updater with a new update entry:

    A few tweaks and some cleanup

     
  18. Hey wolf hate to be a pest but the updater isn't working. I type /update in the chat bar and nothing happens, don't even get an error.
     
  19. Wulf

    Wulf Community Admin

    Mmmm, I may need to rename something. Try the below attachment please.
     

    Attached Files:

  20. Ok so in my server screen it shows an error now.
    Code:
    2:32 PM [Info] [Updater] ### Update check started!
    2:32 PM [Error] Failed to call hook 'ChatCommand' on plugin 'Updater'
    File: Updater.lua Line: 53 attempt to call method 'SendChatMessage' (a string 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 (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Jun 25, 2015