CompoundOptions

Moved

Total Downloads: 859 - First Release: May 4, 2018 - Last Update: May 4, 2018

5/5, 13 likes
  1. Code:
    22:35 [Error] Failed to call hook 'OnServerInitialized' on plugin 'CompoundOptions v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
      at ItemContainer.AddItem (ItemDefinition itemToCreate, System.Int32 p) [0x000f3] in <550e75dcbcde4035ad90c94f03c37726>:0
      at NPCVendingMachine.AddItemForSale (System.Int32 itemID, System.Int32 amountToSell, System.Int32 currencyID, System.Int32 currencyPerTransaction, System.Byte bpState) [0x0006b] in <550e75dcbcde4035ad90c94f03c37726>:0
      at Oxide.Plugins.CompoundOptions.StockNPCVending (NPCVendingMachine vending) [0x00080] in <f4632556e67c418d952629e2da9f4ed5>:0
      at Oxide.Plugins.CompoundOptions.OnServerInitialized () [0x002b9] in <f4632556e67c418d952629e2da9f4ed5>:0
      at Oxide.Plugins.CompoundOptions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00198] in <f4632556e67c418d952629e2da9f4ed5>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc1c06ce0ebd4145b07f6c3438d70a62>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0
     
  2. I too get this when trying to load additional items into the vending machines at the compound.
     
  3. same here

    Code:
    (23:24:28) | Failed to call hook 'OnServerInitialized' on plugin 'CompoundOptions v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
      at ItemContainer.AddItem (ItemDefinition itemToCreate, System.Int32 p) [0x000f3] in <550e75dcbcde4035ad90c94f03c37726>:0
      at NPCVendingMachine.AddItemForSale (System.Int32 itemID, System.Int32 amountToSell, System.Int32 currencyID, System.Int32 currencyPerTransaction, System.Byte bpState) [0x0006b] in <550e75dcbcde4035ad90c94f03c37726>:0
      at Oxide.Plugins.CompoundOptions.StockNPCVending (NPCVendingMachine vending) [0x00080] in <d83ead25df124335a75974c7411887be>:0
      at Oxide.Plugins.CompoundOptions.OnServerInitialized () [0x002b9] in <d83ead25df124335a75974c7411887be>:0
      at Oxide.Plugins.CompoundOptions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00198] in <d83ead25df124335a75974c7411887be>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <cc1c06ce0ebd4145b07f6c3438d70a62>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <901ba4905e044f67b6e6ad4ce05063c4>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <901ba4905e044f67b6e6ad4ce05063c4>:0
     
  4. Can no longer disable scientists
     
  5. Please update this plugin, hardly needed for compound turret prices too cheap for modded servers.
     
  6. delete the file from the DATA folder and everything will work.
     
    Last edited by a moderator: Jun 9, 2018
  7. That did nothing for me, scientists still spawned inside, and still shot at players when they shouldn't have even spawned inside anymore. That file in the DATA folder are just the vending machine items
     
  8. I wrote to those who have a mistake!
    Changed the ID of the items, and that if the bug was missing, you must delete the file from the date.
    and you have another problem that does not apply to what I wrote!
     
  9. @Fill^Kosel--> is right about the data file, if adding additional items to the vending machine is failing. Updated all the itemIDs to the new IDs on our server now, and it works again, no more errors!
     
  10. What does updating the i'd even mean ? If you can expound
     
  11. So is this dead ?
     
  12. This plugin needs to be updated please
     
  13. As Shinnova said above, it seems like facepunch changed all the item ID's last update. The plugin aint broken BUT your old data file is not up to date with the new item ID's. Either delete old data file and generate a new one or edit the old one with the new ID's (don't forget even the scrap ID changed).

    OxideMod/Oxide.Docs
     
  14. temporary fix
    credit goes to Mayor Queen aka Digital_Marine
     

    Attached Files:

  15. hi, @rever 2 is it possible to add kit support for the NPC in the compound ?
     
  16. Sorry guys, I'm in business trip. Soon I will fix everything
     
  17. Anyone compile the new id's?
     
  18. here are a list off all items with the new IDs
    Oxide API for Rust
     
  19. got this..
    Code:
    (07:30:04) | Failed to call hook 'OnServerInitialized' on plugin 'CompoundOptions v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
      at ItemContainer.AddItem (ItemDefinition itemToCreate, System.Int32 p) [0x000f3] in <d0b13463f2da4b51a744d3d898556a53>:0
      at NPCVendingMachine.AddItemForSale (System.Int32 itemID, System.Int32 amountToSell, System.Int32 currencyID, System.Int32 currencyPerTransaction, System.Byte bpState) [0x0006b] in <d0b13463f2da4b51a744d3d898556a53>:0
      at Oxide.Plugins.CompoundOptions.StockNPCVending (NPCVendingMachine vending) [0x00080] in <b1a4bb60952840c2970e716b48267fbd>:0
      at Oxide.Plugins.CompoundOptions.OnServerInitialized () [0x002b9] in <b1a4bb60952840c2970e716b48267fbd>:0
      at Oxide.Plugins.CompoundOptions.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00198] in <b1a4bb60952840c2970e716b48267fbd>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09b255f9a88d4ffda4779759134e116d>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <ba44835247a74c58bf6cabef8b441b56>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <ba44835247a74c58bf6cabef8b441b56>:0


    Ps : My bad .. it s ok !