UpdateChecker
Moved
Total Downloads: 21,403 - First Release: Oct 24, 2014 - Last Update: Feb 1, 2018
- 5/5, 48 likes
-
Wulf Community Admin
-
nope that's the attachment
-
Actually spoke too soon, manual update check is not working, /update in chat or update in console, no output and getting following error as well in console:
Code:[Oxide] 12:11 AM [Info] [Updater] ### Update check started! [Oxide] 12:11 AM [Error] Failed to call hook 'ConsoleCommand' 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
-
Wulf Community Admin
Attached Files:
-
-
Thanks, appears ok with 0.4.3, no errors with both chat and console commands:
Code:> update [Oxide] 12:48 AM [Info] [Updater] ### Update check started! [Oxide] 12:48 AM [Info] [Updater] Supported plugin count: 15 [Oxide] 12:48 AM [Info] [Updater] Using the latest version of all plugins! [Oxide] 12:48 AM [Info] [Updater] ### Update check finished!
-
works great now
-
And it broke again, I'm assuming due to latest updates for Rust itself:
Code:[Oxide] 12:09 PM [Info] Unloaded plugin Updater v0.4.3 by Wulf / Luke Spragg [Oxide] 12:09 PM [Info] Loaded plugin Updater v0.4.3 by Wulf / Luke Spragg [Oxide] 12:09 PM [Info] [Updater] ### Update check started! [Oxide] 12:09 PM [Info] [Updater] Supported plugin count: 18 [Oxide] 12:09 PM [Info] [Updater] Using the latest version of all plugins! [Oxide] 12:09 PM [Info] [Updater] ### Update check finished! [Oxide] 12:09 PM [Error] Exception raised in web request callback File: Updater.lua Line: 43 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
, well I had to check, I'll leave this to you Wulf
Thanks, and sorry to be a pain, I just don't like errors in logs.
-
Wulf Community Admin
-
Now that you've mentioned it, I checked, and config file is completely empty, but I can't reset it, I tried removing it and reloading the plugin but to no avail, I've even tried removing both config and plugin and installing it from scratch but it still just creates empty config file...
Any idea? -
Wulf Community Admin
Attached Files:
-
-
Still someting off:
Code:[Oxide] 6:39 PM [Error] Failed to load plugin Updater File: Updater.lua Line: 17 syntax error near 'self': at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.LoadString (System.String chunk, System.String name) [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
-
Wulf Community Admin
Attached Files:
-
-
Np, loads fine now and created default config:
Code:{ "Messages": { "ChatHelp": "Use '/update' to check for plugin updates", "CheckFailed": "{plugin} update check failed!", "CheckFinished": "Update check finished!", "CheckStarted": "Update check started!", "ConsoleHelp": "Use 'update' to check for plugin updates", "NoPermission": "You do not have permission to use this command!", "NotifySubject": "{count} update(s) available on {hostname}", "NoUpdates": "Using the latest version of all plugins!", "Outdated": "{plugin} is outdated! Installed: {current}, Latest: {latest}", "Supported": "Supported plugin count: {count}", "UpToDate": "{plugin} is up-to-date, currently using version: {version}" }, "Settings": { "CheckInterval": 3600, "Command": "update", "EmailNotifications": "false", "PushNotifications": "false", "ShowUpToDate": "false" } }
Code:Oxide] 6:47 PM [Info] Loaded plugin Updater v0.4.3 by Wulf / Luke Spragg [Oxide] 6:47 PM [Info] [Updater] ### Update check started! [Oxide] 6:47 PM [Info] [Updater] Supported plugin count: 18 [Oxide] 6:47 PM [Info] [Updater] Using the latest version of all plugins! [Oxide] 6:47 PM [Info] [Updater] ### Update check finished! [Oxide] 6:47 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
-
Wulf Community Admin
-
Wulf Community Admin
Wulf updated Updater with a new update entry:
Fixed default config creation
-
FriendsAPI
Helptext
Teleportation System
Day & Night System
Plugin List
Updater
Death Notes
Notifier
Rust:IO for Oxide
AirdropControl
BetterLoot
Build
Building Owners
Crafting Controller
Easy Airdop
Gathering Manager
Give
Godmode
LimitedLadders
MazeGen
NoDecay
Prod
RemoverTool
Sign Artist
Stack Sizes
ZoneManager
RanksAndTitles
Enhanced Ban System
Let me know if you need any more info.
Thanks. -
Wulf Community Admin
-
, I had % in the hostname, never even thought of it
, removed it and no more errors.
Cheers -
Wulf Community Admin