EnchantTools

Add enchanted tools to the game that mining melted resources.

Total Downloads: 1,062 - First Release: Apr 22, 2017 - Last Update: Apr 23, 2017

5/5, 12 likes
  1. Is it possible to fix this problem without the creator of the plugin? Самому как то можно исправить?
     
  2. PLS FIX PLUGIN. SANKS!
     
  3. This problem, when mined with an ax of the horse, deer, processed and not produced, and bears and pigs, produces, please correct. Thank you!
     
  4. I don't... I was unable to understand what you're saying...
     
  5. Axe in revised form on horses and deer not working, not producing processed meat and bear and pigs produces
    Russian speak? Если да то не добывает в переработанном виде мясо топором из Лошади и оленя, а вот медведь и свинья работает, сразу добывает в переработанном виде мясо, на лошадь и оленя не работает... Думаю теперь понятно?)
     
  6. Hardly. But I know the reason. This plugin usese switch case to figure out wich type of the item it should cook, and there is no such types. It also wouldn't work on raw human meat as well as dear meat. Both horses and dear have the "deermeat.raw" type. If you want this to work you should add

    Code:
    case "deermeat.raw":
        ReplaceContents(-322501005, ref item);
        break;
    
    To the line 62 of the plugin.
     
  7. Sanks!
     
  8. The problem is, if you have in the inventory axe, you're out of the game, another character took it out, it stops working, does not produce in processed form
    Unable to solve the problem?
     
  9. I'm not an owner of this plugin, But I already told him what must be done. He just doesn't seems to be online for a while...
     
  10. You might be able to do? help?
     
  11. Code:
    03:52 [Error] Failed to initialize plugin 'EnchantTools v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Game.Rust.Libraries.Command.AddChatCommand (System.String command, Oxide.Core.Plugins.Plugin plugin, System.Action`3 callback) [0x00000] in <filename unknown>:0
      at Oxide.Game.Rust.Libraries.Command.AddChatCommand (System.String name, Oxide.Core.Plugins.Plugin plugin, System.String callback) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnchantTools.Init () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.EnchantTools.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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    03:52 [Info] Unloaded plugin EnchantTools v1.0.3 by MalkoR
     
  12. Not working properly, FIX IT PLEASE!!!!!
    I am admin. I set to false for all players in config. Gave permission to myself and one vip. Then i wasnt able to gather smelted also the Vip player was unable. I set to use by all players to true and its working. Now only ADMIN can make enchant tools YEA good, but if die and someone steal the pickace for example, will not turn into normal tool. Thats why i tried false to use by all players and then if grant someone permission he mine ores instead of smelted too. Fix?
     
  13. I'm not sure that I understood all that you've write, but something tells me that you are doing something wrong...
    There is 2 permissions - enchanttools.admin - it allows you to use the command to create the tools, and enchanttools.use - if the parametr CanUseByAllPlayers is set to false, it is used to determine if the tool would work for a specific player as enchanted.
    If you want only some of the players to be able to use it - set the CanUseByAllPlayers to false and give the players you want enchanttools.use.
     
  14. 1. CanUseByAllPlayers to false
    2. give the players you want enchanttools.use.
    3. They all mine ores instead of smelted resources. (both with or without permission)
    4. Only if set CanUseByAllPlayers to true, plugin works but for everyone who somehow receive pick by admin command.
    Ideas about fix now?

     
    Last edited by a moderator: Mar 1, 2018
  15. The plugin does not work! When extracting resources, errors appear:
    Code:
    15:01 [Error] Failed to call hook 'OnDispenserGather' on plugin 'EnchantTools v1.0.3' (NullReferenceException: Object reference not set to an instance of an object)
      at Oxide.Plugins.EnchantTools.ReplaceContents (System.Int32 ItemId, Item& item) [0x00010] in <3878c294d7f147baaf07d731e59e0fb3>:0
      at Oxide.Plugins.EnchantTools.OnDispenserGather (ResourceDispenser dispenser, BaseEntity entity, Item item) [0x001c2] in <3878c294d7f147baaf07d731e59e0fb3>:0
      at Oxide.Plugins.EnchantTools.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000b8] in <3878c294d7f147baaf07d731e59e0fb3>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <17b9f46063fe4ac9ae4a1000712647ce>: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
    
    Please, issue a patch
     
    Last edited by a moderator: Jun 12, 2018