OilCrate

Brings the pump jack back into the game

Total Downloads: 2,958 - First Release: Feb 20, 2017 - Last Update: Apr 19, 2018

5/5, 16 likes
  1. New version returns:

    Error while compiling: OilCrate.cs(245,35): error CS1061: Type `MiningQuarry' does not contain a definition for `_linkedDeposit' and no extension method `_linkedDeposit' of type `MiningQuarry' could be found. Are you missing an assembly reference?

    Reloaded plugin, no longer says the above.
     
  2. Wulf

    Wulf Community Admin

    Update Rust and Oxide.
     
  3. Newest Rust, Oxide 3900, now I'm getting this upon server startup:
    Code:
    Failed to call hook 'OnEntitySpawned' on plugin 'OilCrate v0.6.5' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.OilCrate.OnEntitySpawned (.BaseNetworkable entity) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.OilCrate.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    Edit: And it killed all the Jpipes. [JPipes] 0 pipes saved
     
    Last edited by a moderator: Apr 22, 2018
  4. After about 6 months I once again loaded this plugin, once a player puts down a pump jack all the quarries start gathering crude oil with “false” set in the config. When I unload and remove the plugin it the quarries still gather oil. I’m kind of over all the college kids creating crap plugins on there spare time and them abandoning them.
     
  5. Wulf

    Wulf Community Admin

    You're outdated with this plugin.
     
  6. Sorry, I must've missed an update, my bad.
     
  7. SOME normal quarries give oil after this plugin has been installed. I found similar issue in the thread but seems not to be answered

    Any idea?
     
  8. after today update:
    Code:
    23:33 [Error] Error while compiling: OilCrate.cs(103,63): error CS0103: The name `TerrainBiome' does not exist in the current context
     
  9. Replace 'TerrainBiome.ARID' by '1' at line 100

    => if (dryOnly && TerrainMeta.BiomeMap.GetBiome(pos, 1) < 0.5f)



    BiomeArid := 1
    BiomeTemperate := 2
    BiomeTundra := 4
    BiomeArctic := 8
     
  10. Wulf

    Wulf Community Admin

    Or just reference the Rust.World.dll by adding: // Reference: Rust.World to the top of the plugin.
     
  11. Error while compiling: OilCrate.cs(103,63): error CS0103: The name `TerrainBiome' does not exist in the current context
     
  12. Wulf

    Wulf Community Admin

    See the previous replies please.
     
  13. Code:
    Failed to call hook 'cmdOilCrate' on plugin 'OilCrate v0.6.6' (InvalidOperationException: Collection was modified; enumeration operation may not execute.) at System.ThrowHelper.ThrowInvalidOperationException (System.ExceptionResource resource) [0x0000b] in <e1a80661d61443feb3dbdaac88eeb776>:0 at System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () [0x00013] in <e1a80661d61443feb3dbdaac88eeb776>:0 at System.Collections.Generic.List`1+Enumerator[T].MoveNext () [0x0004a] in <e1a80661d61443feb3dbdaac88eeb776>:0 at Oxide.Plugins.OilCrate.RefreshQuarries (System.String todo) [0x00324] in <d3578c2389ae45fbbcec9791d009fb65>:0 at Oxide.Plugins.OilCrate.cmdOilCrate (BasePlayer player, System.String command, System.String[] args) [0x001ee] in <d3578c2389ae45fbbcec9791d009fb65>:0 at Oxide.Plugins.OilCrate.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00267] in <d3578c2389ae45fbbcec9791d009fb65>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <2dad53883fcd4b7faaf900f511ce972a>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <a178d34943f746dd9b92eeffb8beec48>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <a178d34943f746dd9b92eeffb8beec48>:0
     
    Last edited by a moderator: Jul 6, 2018
  14. Hello, plugins need to be updated, we can't blow up any oil.
     
  15. @Kaleidos

    Yup plugin needed a update , dont working right now.

    "Error while compiling: OilCrate.cs(103,63): error CS0103: The name `TerrainBiome' does not exist in the current context"
     
    Last edited by a moderator: Jul 9, 2018
  16. Hi, @Kaleidos fix please Quarry Craft. Thanks in advance.
     
  17. Hello, can you tell me when the plug-in will be repaired and whether there is a maintainer?
    [DOUBLEPOST=1532569625][/DOUBLEPOST]The last time the game was updated, there was no oil.
     
  18. Is there a way that its Craftable?