Jump to content

2 Screenshots

  • 58.8k
  • 980
  • 20.43 kB

This area is for discussion and questions. Please use the support area for reporting issues or getting help.

Recommended Comments



Flammable

Posted

Not sure, we use own custom plugin on the PVE servers.

DeX

Posted

On 5/2/2025 at 5:36 PM, Raul-Sorin Sorban said:

Please remove the PL data file from the data folder as Rust changed how they save things 🙂 then reload

I tried this and im still getting the errors. 

  • Administrator
Raul-Sorin Sorban

Posted

Fixing this today, I apologize for the delay guys!

Fusion 3.64

Posted

On 5/4/2025 at 6:58 AM, Raul-Sorin Sorban said:

Fixing this today, I apologize for the delay guys!

Did this get fixed, or is the workaround the way to go?

 

Develop9521

Posted

after update. 1.4.6

Failed to call hook 'OnServerSave' on plugin 'PortableLocker v1.4.6' (NullReferenceException: Object reference not set t
o an instance of an object)
  at Oxide.Plugins.PortableLocker.SaveContainer () [0x000a1] in <9d9596c7c1ae4241960e061c93aa2e8e>:0
  at Oxide.Plugins.PortableLocker.OnServerSave () [0x00008] in <9d9596c7c1ae4241960e061c93aa2e8e>:0
  at Oxide.Plugins.PortableLocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00168
] in <9d9596c7c1ae4241960e061c93aa2e8e>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <
42f9bedc659b4f4786eb778d3cd58968>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <8cb2d664f1574f2b96d
53f1c1869d96a>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <8cb2d664f1574f2b96d53f1
c1869d96a>:0
Failed to call hook 'OnServerSave' on plugin 'PortableLocker v1.4.6' (NullReferenceException: Object reference not set t
o an instance of an object)
  at Oxide.Plugins.PortableLocker.SaveContainer () [0x000a1] in <9d9596c7c1ae4241960e061c93aa2e8e>:0 148fps 203gc 10m0s
  at Oxide.Plugins.PortableLocker.OnServerSave () [0x00008] in <9d9596c7c1ae4241960e061c93aa2e8e>:0   0b/s in, 0b/s out
  at Oxide.Plugins.PortableLocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00168
] in <9d9596c7c1ae4241960e061c93aa2e8e>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <
42f9bedc659b4f4786eb778d3cd58968>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <8cb2d664f1574f2b96d
53f1c1869d96a>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <8cb2d664f1574f2b96d53f1
c1869d96a>:0

same error

delete data -> start server -> error

  • Administrator
Raul-Sorin Sorban

Posted

It has been fixed now! Please let me know 

Cr0miX

Posted

An added blacklisting logic for items (and skin ids) would be a great addition.

  • Like 1
Grumpy Old Man

Posted

hello,  love your plugin,  
but lately, the DATA get corrupted and all player lose everything. i need to delete the data file. theres many errors. 

Can you look in to it please ?  thanks 
 

plugin 'PortableLocker v1.5.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PortableLocker.SaveContainer () [0x0009d] in <45b77173a4424d66a8e3b73b00796db7>:0 
  at Oxide.Plugins.PortableLocker.Unload () [0x0007e] in <45b77173a4424d66a8e3b73b00796db7>:0 
  at Oxide.Plugins.PortableLocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00342] in <45b77173a4424d66a8e3b73b00796db7>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 

o.reload PortableLocker
[CSharp] Started Oxide.Compiler v successfully
PortableLocker was compiled successfully in 1295ms
Failed to call hook 'OnServerInitialized' on plugin 'PortableLocker v1.5.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PortableLocker.LoadContainer () [0x0006f] in <7e847d3deedd4947836b99fd6d4fe465>:0 
  at Oxide.Plugins.PortableLocker.OnServerInitialized () [0x0001e] in <7e847d3deedd4947836b99fd6d4fe465>:0 
  at Oxide.Plugins.PortableLocker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00142] in <7e847d3deedd4947836b99fd6d4fe465>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <112d89ea5d3348c8b949af0ab1a866d2>:0 
Loaded plugin PortableLocker v1.5.0 by Raul-Sorin Sorban

 

---------------------------------------

 

 

image.png.754e791934165dc9cc096e1a57ec6808.png

  • Sad 1
Papa Bear

Posted

I think my Data file was corrupted.  I can upload it if you want to take a look at it.  This is the error code I got.  After I deleted the Data Folder and reloading the plugin, I dropped some gear into the locker and then saved that data file.  I also loaded a back up from the day before.  Those  two worked fine.  When I put back the one I suspected was corrupt, it wouldn't open the locker.

Code:

Failed to run command '/locker' on plugin 'PortableLocker'. (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.PortableLocker.GetContainer (System.UInt64 steamId) [0x00010] in <37650c75579047bfae895c5c016a7eec>:0

at Oxide.Plugins.PortableLocker.CreateLocker (System.UInt64 steamId, System.Boolean initial) [0x00052] in <37650c75579047bfae895c5c016a7eec>:0

at Oxide.Plugins.PortableLocker.OpenLocker (BasePlayer player, System.String[] args) [0x000bb] in <37650c75579047bfae895c5c016a7eec>:0

at Oxide.Plugins.PortableLocker.<InstallCommands>b__48_0 (BasePlayer player, System.String command, System.String[] args) [0x00000] in <37650c75579047bfae895c5c016a7eec>:0

at Oxide.Game.Rust.Libraries.Command+ChatCommand.HandleCommand (BasePlayer sender, System.String name, System.String[] args) [0x0001b] in <9601bcdf370d4ac489d9ea2f1f7702db>:0

at Oxide.Game.Rust.Libraries.Command.HandleChatCommand (BasePlayer sender, System.String name, System.String[] args) [0x00015] in <9601bcdf370d4ac489d9ea2f1f7702db>:0

at Oxide.Game.Rust.RustCore.TryRunPlayerCommand (BasePlayer basePlayer, System.String message, System.String commandPrefix) [0x000c2] in <9601bcdf370d4ac489d9ea2f1f7702db>:0

Papa Bear

Posted

The above code doesn't happen when you load the plugin, just when you type the /locker command.

 

Fusion 3.64

Posted

I had the same problem, but even after deleting the data file, anything placed in the locker that is a stackable item, will no longer stack if you  die, or reboot your server.  Still waiting for a fix.

 

Papa Bear

Posted (edited)

I think my Data file was corrupted.  I can upload it if you want to take a look at it.  This is the error code I got.  After I deleted the Data Folder and reloading the plugin, I dropped some gear into the locker and then saved that data file.  I also loaded a back up from the day before.  Those  two worked fine.  When I put back the one I suspected was corrupt, it wouldn't open the locker.

Quote

Fusion 3.64 224

Posted 14 hours ago

I had the same problem, but even after deleting the data file, anything placed in the locker that is a stackable item, will no longer stack if you  die, or reboot your server.  Still waiting for a fix.

Well, that's something I didn't think of.  Stackable items.  I'm not sure that is involved in this, but I am willing to test it.  I did give it to Google Gemini (A.I.) and it thought maybe because my server did an update during a restart, before I had a chance to run an Oxide Patch (My Host doesn't do it automatically).  So, that's what I was chalking it up to.  But, I'll give this a try and see if I can crash the data file (I'm the only one with permission, while I work this out).

Edited by Papa Bear
Fusion 3.64

Posted

My guess is that there is a state change that takes place, but I am not the Dev.  I've reached out to the author a couple of times, but other than being told that he is looking at it now (back on the 8th), I have heard nothing. 

Grumpy OldMan

Posted

DATA file get corrupted on high pop server,  every wipe it crash,. and since it's encrypted, its impossible to know what players had in it,  the only way to fix it it's to delete de DATA file and everyone lose everything,  4 times in 4 months, 

the plugin need to be fix. 

Papa Bear

Posted (edited)

Quote

DATA file get corrupted on high pop server,  every wipe it crash,. and since it's encrypted, its impossible to know what players had in it,  the only way to fix it it's to delete de DATA file and everyone lose everything,  4 times in 4 months, 

the plugin need to be fix. 

My guess it's anytime we run the plugin without first applying the Oxide patch (on my server, it's only done manually) then it corrupts the data file.  I'm not sure if it's only when the client (player update) updates their file before launching via Steam or if it's when the Server restarts (or wipes) and the version number changes, but doesn't match via the Oxide Update (patch).

Other than backing up the data file for every restart, and/or update, we can also revoke the permission for all players (including admin) to make sure the locker plugin doesn't get activated until after the Oxide Patch is been applied.  

But, you are correct ... we need this fixed.  First, why the hell encrypt a data file?  most will have it Steam ID, allowing us to see what is being saved and  giving us an avenue to fix an issue, player by player.

Secondly, why does Codefling allow a plugin to be sold for money when it is obviously faulty?  Every Dev I've ever written to on Codefling is responsive.  Some, go beyond what I would expect.  But, there are a couple that shy  clear of interacting with their customers.  

 

Edited by Papa Bear
Grumpy OldMan

Posted

1 hour ago, Papa Bear said:

My guess it's anytime we run the plugin without first applying the Oxide patch (on my server, it's only done manually) then it corrupts the data file.  I'm not sure if it's only when the client (player update) updates their file before launching via Steam or if it's when the Server restarts (or wipes) and the version number changes, but doesn't match via the Oxide Update (patch).

Other than backing up the data file for every restart, and/or update, we can also revoke the permission for all players (including admin) to make sure the locker plugin doesn't get activated until after the Oxide Patch is been applied.  

But, you are correct ... we need this fixed.  First, why the hell encrypt a data file?  most will have it Steam ID, allowing us to see what is being saved and  giving us an avenue to fix an issue, player by player.

Secondly, why does Codefling allow a plugin to be sold for money when it is obviously faulty?  Every Dev I've ever written to on Codefling is responsive.  Some, go beyond what I would expect.  But, there are a couple that shy  clear of interacting with their customers.  

 

i was able to fix it with Claude and Chat GPT no more plroblem 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Like 5
  • Love 2

User Feedback

2.2m

Downloads

Total number of downloads.

10.4k

Customers

Total customers served.

150.6k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.