Inventory Guardian

Restore players inventory even after server wipe

Total Downloads: 3,604 - First Release: Jan 12, 2015 - Last Update: Feb 4, 2017

5/5, 19 likes
  1. mmm well before Wulf post his version i was used the latest original with no error but simply no functionally same as all because the saved file get no good items names you know, and with the Wulf version there simply no saved items in the files and get the error i posted last time when you try to save the inventory items you know... that all i know

    Ps: there is no update this Thursday?
     
  2. Wulf

    Wulf Community Admin

    The original one is not updated for the latest version of Rust, you likely just didn't hit the error with it. The one I posted does have other issues to fix yet.
     
  3. The one you posted does still need some work as I was getting errors. I so far have got no errors with the default one. I can't wait until all problems are fixed with all plugins I use it does causes to lose members as it causes unneeded lag/problems on the server
     
  4. This still does not work at all except for the message that says your inventory has been saved, which is funny when you are standing there with NOTHING AT ALL, not even a rock and a torch, so you have to suicide to get even that !!!
    Its going to be in the long queue alongside "Welcome gifts", "Better start" and "Auto door closer" , maybe sometime in the dim and distant future
     
  5. Getting this from console:
    Code:
    [Oxide] 11:04 AM [Error] Failed to load plugin 'InventoryGuardian' (no source found)
    [Oxide] 11:05 AM [Info] Unloaded plugin Inventory Guardian v0.1.5 by Nexus
    [Oxide] 11:05 AM [Error] Failed to load plugin Inventory-Guardian (IOException: Sharing violation on path c:\games\108_61_109_188_28016\1216925\ruste\server\1216925\oxide\plugins\Inventory-Guardian.lua)
    [Oxide] 11:05 AM [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] 11:05 AM [Info] Loaded plugin Inventory Guardian v0.1.5 by Nexus
    > oxide.reload InventoryGuardian
    [Oxide] 11:06 AM [Error] Failed to load plugin 'InventoryGuardian' (no source found)
     
  6. Wulf

    Wulf Community Admin

    The first error is from your server trying to load it while it was being used by your FTP client or something else, the second is because you didn't use the actual filename.
     
  7. Gosh - the shame of it - so sorry! It works fine :)
     
  8. gettin error message on ig.save
    Code:
    [Error] Failed to call hook 'ccmdSaveInventory' on plugin 'Inventory-Guardian v0.1.5'
    File: Inventory-Guardian.lua Line: 740 bad argument #1 to 'lower' (string expected, got nil):
      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.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
     
  9. Last edited by a moderator: Sep 29, 2015
  10. ill use this version: Inventory Guardian | Page 5 | Oxide
    Code:
    [Error] Failed to call hook 'OnPlayerDisconnected' on plugin 'Inventory-Guardian v0.1.6'
    File: Inventory-Guardian.lua Line: 155 instance method 'IsBlueprint' requires a non null target object:
      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.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0
      at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    no fix for this ?:(
     
  11. You need to delete all files for this plugin in each folder plugin, data and config folders and install a fresh one
     
  12. still the same error =\
     
  13. Did you stop server first
     
  14. hm...nope
    ty. i will try this
     
  15. Getting the following error message
    Player clothes are kept but everything else gets lost:
    Code:
    File: Inventory-Guardian.lua Line: 287 field or property 'isBlueprint' does not exist:
      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 LuaGeneratedClass1.CallFunction () [0x00000] in <filename unknown>:0
      at Oxide.Core.Libraries.Timer+TimerInstance.Update () [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Oct 4, 2015
  16. Updated 13 oct.
     

    Attached Files:

    Last edited by a moderator: Nov 6, 2015
  17. IF this plugin has been updated why does it say last update was in April ??
    If I reinstall this plugin will it be the latest version ??
     
  18. You just can download latest working version from my previous post.
     
    Last edited by a moderator: Oct 13, 2015
  19. you cant really do that if you are on Multiplay/Clanforge, the latest version should already be there (0.1.5) and if you download a "new version" of the same file you get a pile of crap from them regarding the fact that you are downloading an existing file, The latest version you mentioned should be the one on Multiplay/Clanforge and why if this HAS been updated is there no mention of that fact on this plugins title page which states last update in April ??
    I removed this plugin because it clearly does not work and has not since September game update (previous post)
     
  20. Did you delete all files before installing the latest one ie plugin folder, config folder, and data folder