Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Sometimes it fails when someone updates and shows this on console

 

Failed to run a 15.00 timer in 'StructureUpgrade v0.5.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Game.Rust.Libraries.Player.Message (BasePlayer player, System.String message, System.String prefix, System.UInt64 userId, System.Object[] args) [0x0003d] in <b12da93ec9a6490abb29049c91c593b2>:0 
  at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Message (System.String message, System.String prefix, System.Object[] args) [0x00001] in <b12da93ec9a6490abb29049c91c593b2>:0 
  at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Reply (System.String message, System.String prefix, System.Object[] args) [0x00015] in <b12da93ec9a6490abb29049c91c593b2>:0 
  at Oxide.Game.Rust.Libraries.Covalence.RustPlayer.Reply (System.String message) [0x00008] in <b12da93ec9a6490abb29049c91c593b2>:0 
  at Oxide.Plugins.StructureUpgrade.SendStatusUpdate () [0x0017d] in <2deaff20a7c14686b4f8e642e839e91c>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0


also

 

 Failed to run a 0.08 timer in 'StructureUpgrade v0.5.1' (InvalidOperationException: Sequence contains no matching element)
  at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at Oxide.Plugins.StructureUpgrade.WorkCurrentJob () [0x0006a] in <2deaff20a7c14686b4f8e642e839e91c>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 

 

Share this comment


Link to comment

This plugin is still failing, can this be fixed????


 

Failed to run a 0.07 timer in 'StructureUpgrade v0.5.1' (InvalidOperationException: Sequence contains no matching element)

at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <351e49e2a5bf4fd6beabb458ce2255f3>:0

at Oxide.Plugins.StructureUpgrade.WorkCurrentJob () [0x0006a] in <175aacede42b4cc79eac044bb16dbfec>:0

at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

Share this comment


Link to comment
15 hours ago, AnExiledGod said:

Unload the plugin, delete the data file, reload the plugin. Should resolve.

Yes, thats what I do when it fails. But for some reason it fails, happens quite frequent. Just happened right now, and player lost the resources that plugin takes. Could you please fix it?.

This is the last error and the data

 

(19:26:32) | Failed to call hook 'UpCommand' on plugin 'StructureUpgrade v0.5.1' (IndexOutOfRangeException: Index was outside the bounds of the array.)
  at Oxide.Plugins.StructureUpgrade.GetBlocksAndCost (BuildingManager+Building building, System.Int32 grade, System.Boolean isDowngradeJob) [0x00074] in <82e30bb6be5447fa9ffe51ee5d03e909>:0 
  at Oxide.Plugins.StructureUpgrade.Upgrade (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args, Oxide.Plugins.StructureUpgrade+PaymentMethod paymentMethod) [0x00128] in <82e30bb6be5447fa9ffe51ee5d03e909>:0 
  at Oxide.Plugins.StructureUpgrade.UpCommand (Oxide.Core.Libraries.Covalence.IPlayer player, System.String command, System.String[] args) [0x00000] in <82e30bb6be5447fa9ffe51ee5d03e909>:0 
  at Oxide.Plugins.StructureUpgrade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b0] in <82e30bb6be5447fa9ffe51ee5d03e909>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0
    
(19:27:06) | Failed to run a 0.07 timer in 'StructureUpgrade v0.5.1' (InvalidOperationException: Sequence contains no matching element)
  at System.Linq.Enumerable.First[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) [0x00011] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 
  at Oxide.Plugins.StructureUpgrade.WorkCurrentJob () [0x0006a] in <82e30bb6be5447fa9ffe51ee5d03e909>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <c2afd8354b8b4f3ca451cf5a1aa111c3>:0

 

{
  "JobQueue": [
    {
      "IsDowngradeJob": false,
      "InitiatorSteamId": 76561199096163026,
      "BuildingId": 452,
      "NewGrade": 2,
      "BlocksTotal": 27,
      "BlocksWorked": 26,
      "PaymentTaken": {
        "-2099697608": 4500
      },
      "RefundGiven": {},
      "InitiatedTimestamp": "2021-07-15T19:26:46.6808396Z",
      "ReservedTimestamp": "2021-07-15T19:26:46.6818402Z",
      "CompletedTimestamp": "0001-01-01T00:00:00"
    },
    {
      "IsDowngradeJob": false,
      "InitiatorSteamId": 76561199096163044,
      "BuildingId": 465,
      "NewGrade": 1,
      "BlocksTotal": 0,
      "BlocksWorked": 0,
      "PaymentTaken": {
        "-151838493": 1740
      },
      "RefundGiven": {},
      "InitiatedTimestamp": "2021-07-15T19:29:18.3542994Z",
      "ReservedTimestamp": "0001-01-01T00:00:00",
      "CompletedTimestamp": "0001-01-01T00:00:00"
    }
  ]
}

 

Edited by Nick Las

Share this comment


Link to comment

Damn, it's more than 20 days that I posted and the developer isnt fixing the plugin. I would not recommend to buy this plugin until it's working at 100%!

Share this comment


Link to comment
On 7/26/2021 at 11:24 PM, AnExiledGod said:

Hard to fix an issue I can't replicate. 

So this plugin isn't functioning well, it keeps failing, ppl complaining about losing their materials when upgrading. I had to remove it... 

Share this comment


Link to comment

About Us

Codefling is a forward-thinking platform for developers to share and monetize their work from plugins to game assets and everything in-between.

7,098 files sold to 634 customers and $102,982 of payments processed this year!

×
×
  • 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.