
Bank
Safe player storage
Total Downloads: 2,483 - First Release: Sep 7, 2016 - Last Update: Apr 29, 2018
- 5/5, 12 likes
-
> oxide.reload Bank
[Oxide] 16:14 [Error] Bank plugin failed to compile!
[Oxide] 16:14 [Error] Bank.cs(257,51): error CS0266: Cannot implicitly convert type `int' to `ulong'. An explicit conversion exists (are you missing a cast?) -
fix for latest update? thanks
-
Update
-
For those who are experiencing problems with the plugin here is how to fix to the current version of rust
On line 100 of Bank.cs replace
Code:ItemProfile newItem = new ItemProfile(item.info.itemid.ToString(), item.amount, item.position, item.flags, item.condition, item.skin, contents, primaryMagazine, ammoType, dataInt);
Code:ItemProfile newItem = new ItemProfile(item.info.itemid.ToString(), item.amount, item.position, item.flags, item.condition, Convert.ToInt32(item.skin), contents, primaryMagazine, ammoType, dataInt);
On line 248 of Bank.cs replaceCode:item.skin = profile.skin;
Code:item.skin = Convert.ToUInt32(profile.skin);
Code:held.skinID = profile.skin;
Code:held.skinID = Convert.ToUInt32(profile.skin);
Last edited by a moderator: Nov 4, 2016 -
can you post the .cs file fixed version? i tried your fixes and it won't compile , thanks
EDIT : Working now.Last edited by a moderator: Nov 4, 2016 -
Worked, thanks.
-
Calytic Community Admin Community Mod
-
Calytic Community Admin Community Mod
-
Calytic Community Admin Community Mod
-
Still throws red and yellow error messages when loading, deleted it, my server spams chat so can't get hold of the error message.
-
any readme on setting up the npc to work as the banker?
Last edited by a moderator: Nov 8, 2016 -
[Oxide] 14:07 [Warning] 'Bank v0.0.41' is using deprecated hook 'CanUseDoor', which will stop working on Tuesday, 03 January 2017. Please ask the author to update to 'CanUseLock'
-
Dont working for me...
This when I try to install it
Code:(03:53:21) | [Oxide] 03:53 [Error] Failed to initialize plugin 'Bank v0.0.41' (NullReferenceException: Object reference not set to an instance of an object)(03:53:21) | [Oxide] 03:53 [Debug] at Oxide.Plugins.Bank.LoadDefaultConfig () [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.Plugin.LoadConfig () [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0(03:53:21) | [Oxide] 03:53 [Info] No previous version to rollback plugin: Bank
-
I have tried the above version, I have tried editing it and nothing. Can someone post a working version of this addon?
-
-
-
Items seem again to be not holding their condition when placed in bank - water bottles refilling, tools fixing themselves. Not sure how you fixed last time, but could you take another look?
-
I this normal?
When install:
Code:(22:10:01) | [Oxide] 22:10 [Info] Loaded plugin Bank v0.0.41 by Calytic (22:10:01) | [Oxide] 22:10 [Error] Failed to initialize plugin 'Bank v0.0.41' (NullReferenceException: Object reference not set to an instance of an object) (22:10:01) | [Oxide] 22:10 [Debug] at Oxide.Plugins.Bank.LoadDefaultConfig () [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.LoadConfig () [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00000] in <filename unknown>:0 (22:10:01) | [Oxide] 22:10 [Info] No previous version to rollback plugin: Bank
Code:(22:11:17) | [Oxide] 22:11 [Error] Failed to call hook 'cmdBank' on plugin 'Bank v0.0.41' (NullReferenceException: Object reference not set to an instance of an object) (22:11:17) | [Oxide] 22:11 [Debug] at Oxide.Core.Libraries.Lang.GetMessage (System.String key, Oxide.Core.Plugins.Plugin plugin, System.String userId) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Bank.GetMsg (System.String key, .BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Bank.CanPlayerBank (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Bank.ShowBank (.BasePlayer player, .BaseEntity target) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Bank.cmdBank (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Bank.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
-
got a huge bug with the bank
when someone uses its bank next to someone and the other person opens the crafting menu while the first person is in the bank the bank breaks down and drops all items but the same items stay in the bank so they get dublicatet does anyone know the solution for this problem ?