Jump to content

Seems to be an error with the TimeSpan variable

Not a Bug 1.1.11 1.1.12

Failed to run command '/orp.test.offline' on plugin 'OfflineRaidProtection'. (OverflowException: TimeSpan overflowed because the duration is too long.) at System.TimeSpan.Interval (System.Double value, System.Int32 scale) [0x00051] in :0 at System.TimeSpan.FromHours (System.Double value) [0x00000] in :0 at Oxide.Plugins.OfflineRaidProtection.cmdTestOffline (BasePlayer player, System.String _command, System.String[] args) [0x000bf] in :0 at Oxide.Game.Rust.Libraries.Command+ChatCommand.HandleCommand (BasePlayer sender, System.String name, System.String[] args) [0x0001b] in :0 at Oxide.Game.Rust.Libraries.Command.HandleChatCommand (BasePlayer sender, System.String name, System.String[] args) [0x00015] in :0 at Oxide.Game.Rust.RustCore.TryRunPlayerCommand (BasePlayer basePlayer, System.String message, System.String commandPrefix) [0x000c2] in :0

 

Share this comment


Link to comment

I think this is breaking the plugin, and not activating the protection, I'm still investigating but seems to be the case 

 

 

Share this comment


Link to comment

image.jpeg.2fe427e66f9c699f5d23da9c0810e6a8.jpeg

 

 

 

I can raid other people bases even if the protection is on 

 

 

Permissions looks fine too 

image.jpeg.e8fc37abb84bf69cb158c1c2e7cb4c4c.jpeg

 

 

image.jpeg.d8ac8b0f5c06adb2e6638459df15e3a2.jpeg

Share this comment


Link to comment

 

 

Your OverflowException is caused by a number that is too large.

I have updated the texts to show the correct information for the penalty status.

If you do not see the scale in the status text, it means the player has no protection.

Please update the plugin and let me know if you have any problems. Please tell me how to reproduce them and send me the configuration file.

 

 

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

83.7k

Files Sold

Total number of files sold.

1.6m

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.