1. Calytic

    Calytic Community Admin Community Mod

    Calytic submitted a new resource:

    MineAnywhere - Mine all the rocks, all the wood, all the junk, even the ground

    Read more about this resource...
     
  2. Very nice idea !

    But I need to ask, will you add some feature for avoid abuse?
    I mean, if ppl can Mine or use the Hatchet everywhere, they never will to go out of their bases.

    Will be nice add something like a "stamina" or "Timer of usage" or something for avoid exploiting... just an idea.
     
  3. Been testing it Stones seem to work fine. Wood things are giving sticks only. Grass nothing. Didn't get a chance to try snow, or deployables yet
     
  4. (06:11:15) | [Oxide] 05:10 [Error] Failed to call hook 'OnHitWood' on plugin 'MineAnywhere v0.0.1' (ArgumentException: An element with the same key already exists in the dictionary.)

    (06:11:16) | [Oxide] 05:10 [Debug] at System.Collections.Generic.Dictionary`2[System.String,Oxide.Plugins.MineAnywhere+StaticResourceNode].Add (System.String key, Oxide.Plugins.StaticResourceNode value) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.MineAnywhere.HitNode[StaticResourceNode] (.BasePlayer player, ResourceType type, .BaseEntity hitEntity) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.MineAnywhere.TriggerHit (.BasePlayer player, ResourceType type, .BaseEntity hitEntity) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.MineAnywhere.OnHitWood (.BasePlayer player, .HitInfo info) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.MineAnywhere.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (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 name, System.Object[] args) [0x00000] in <filename unknown>:0
     
  5. I second this idea. I like the overall thought, but if you can gather resources right outside your building, by hitting the ground, people will just put up a large stone wall and gather inside it and only risk themselves when going to radtowns/airdrops. I'll probably test the plugin myself as well, just to assist in development.

    Perhaps you cannot use it within a certain radius of a cupboard you have access to? That way the player still needs to venture away from their base, but not spend so much time searching for nodes. I'm not even sure how that is coded. Maybe same theory as how you can't place a cupboard within the radius of another cupboard?
     
  6. It's really not OP at all especially with stock settings. There's a setting in the config "depletionRate": 25.0, So with that setting 4 hits and that node is used up. You can set exactly what and how much they get from w/e node you want to enable so if you only want people to get 2 stones per hit from rocks you set it to that and with 25% depletion that means they'd get a whopping 8 stones from that node. Just not all the settings and surfaces are working yet but Calytic will get it worked out, he always does.
     
  7. Yeah, but with my server, I have gather rate increased and ZLevels, which makes that rate increase. I just think people will exploit it far too easily. I LOVE the idea, because it is realistic. But balanced with the other aspects of the game, not so much... Just a suggestion about the cupboard thing though. I'm installing it to my server now, just to see if it indeed makes players want to abuse it. I'll play with the levels of gather and see if just turning those levels down fixes the exploitability.
     
  8. I have a 10x gather server too That gather rate doesnt affect this This plugin has it's own gather rate setting in the config just for this
     
  9. Calytic

    Calytic Community Admin Community Mod

    Calytic updated MineAnywhere with a new update entry:

    0.0.11


    [DOUBLEPOST=1481752330][/DOUBLEPOST]
    Already does this, you can set the time and distance of a node.
     
  10. Calytic

    Calytic Community Admin Community Mod

    Yea, sorry those wouldn't work, I had to update HooksExtended as I added those features before I released this but after I published that. You can't update a resource awaiting approval and I just got to it.
    [DOUBLEPOST=1481752797][/DOUBLEPOST]
    Probably not going to do that. I would suggest increasing the node size or duration if you're concerned about that.
     
  11. Calytic

    Calytic Community Admin Community Mod

    Calytic updated MineAnywhere with a new update entry:

    0.0.2

     
  12. Nice idea but need permissions :)
    ... and in my dreams - berries from bushes by press E! It would be EPIC)))
     
    Last edited by a moderator: Dec 15, 2016
  13. mine doesnt work
     
  14. I like this idea. Need an in-game way to get Blueberries and Blackberries!
     
  15. Calytic

    Calytic Community Admin Community Mod

    Calytic updated MineAnywhere with a new update entry:

    0.0.3

     
  16. Failed to call hook 'OnHitWood' on plugin 'MineAnywhere v0.0.3' (NullReferenceException: Object reference not set to an instance of an object)
     
  17. Installed this and hook extended all went well except in game nothing happens and the error log reports ([03/27/2017 12:41:01] [MineAnywhere] HooksExtended is required to use this MineAnywhere! HooksExtended for Rust | Oxide)
    It is installed but says it is not.
     
  18. Donno if it was mentioned, but if you could make it so guns don't deteriorate/gather items when you shoot a truck on the other side of a field, that would make the mod a bit more legit
     
  19. As of todays update getting error when players hit loot spawns (junk piles):
    Code:
    Failed to call hook 'OnHitMetal' on plugin 'MineAnywhere v0.0.3' (NullReferenceException: Object reference not set to an instance of an object)
    at Oxide.Plugins.MineAnywhere.TriggerHit (.BasePlayer player, ResourceType type, .BaseEntity hitEntity) [0x00000] in :0 at Oxide.Plugins.MineAnywhere.OnHitMetal (.BasePlayer player, .HitInfo info) [0x00000] in :0 at Oxide.Plugins.MineAnywhere.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0
     
    Last edited by a moderator: Oct 27, 2017
  20. There used to be a plugin allowing you to mine anywhere. Just wondering what happened to it? @Calytic