Jump to content

Seems to be an error with the TimeSpan variable

Not a Bug 1.1.11 1.1.12

Yac Vaguer

Posted

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

 

Yac Vaguer

Posted

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

 

 

Yac Vaguer

Posted

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

realedwin

Posted

/orp.test.offline <player name> <hours>

This is the correct syntax.

realedwin

Posted

 

Did you enter the hours in decimal, dotted or comma-separated?

realedwin

Posted

You have enabled the ORP penalty in the configuration and the penalty is active for this player.

realedwin

Posted

 

 

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.

 

 

realedwin

Posted

Changed Status from Pending to Not a Bug

Changed Fixed In to 1.1.12

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

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.