ResearchControl

This plugin allows you to manage all what can be done with the research table. Speed and cost.

Total Downloads: 484 - First Release: Oct 17, 2017 - Last Update: Dec 23, 2017

5/5, 4 likes
  1. Vlad-00003 submitted a new resource:

    ResearchControl - This plugin allows you to manage all what can be done with the research table. Speed and cost.

    Read more about this resource...
     
  2. Отличный плагин, спасибо автору.

    Great plugin, thanks to the author.
     
  3. Glad to hear it =3
     
  4. The amount of scrap needed to research the items i have edited is not changing in game, am I doing something wrong?
    https://i.imgur.com/adhtE1i.png
    Also, in terms of permissions, where am i supposed to type them in? The console doesnt seem to work.
    Thanks
     
  5. a lil typo in config: Research not Reserach
     
  6. The amount would not change in game. You would still see the default values, cos they are being rendered by the game itself. But the actuall taken amount would be the one from config. I mentioned it in the overivew.
    Dang. Maybe I'll change it, but for now....Hey, there is only 11 downloads, give me a moment.
     
  7. Vlad-00003 updated ResearchControl with a new update entry:

    1.0.1


    [DOUBLEPOST=1508332805][/DOUBLEPOST]
    And I don't get the console part. If you are asking how to use permissions:
    oxide.grant user(group) <user(group) name> <permission>
    For example:
    oxide.grant user vlad researchcontrol.vip
    oxide.grant group default researchcontrol.punish
     
  8. Code:
    Failed to call hook 'OnItemResearchStart' on plugin 'ResearchControl v1.0.1' (Ar
    gumentNullException: Argument cannot be null.
    Parameter name: key)
      at System.Collections.Generic.Dictionary`2[BasePlayer,ItemDefinition].Contains
    Key (.BasePlayer key) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ResearchControl.OnItemResearchStart (.ResearchTable table) [0
    x00000] in <filename unknown>:0
      at Oxide.Plugins.ResearchControl.DirectCallHook (System.String name, System.Ob
    ject& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod meth
    od, 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[] arg
    s) [0x00000] in <filename unknown>:0
     
  9. Looks like there is a problem with your config... Can you try to delete it and generate again, so I can see if it works?
     
  10. yup, already try
    [DOUBLEPOST=1509112481][/DOUBLEPOST]all work, but i dont understand how cfg change
     
  11. Vlad-00003 updated ResearchControl with a new update entry:

    1.0.2

     
  12. still getting the error after a new config and updated the plugin
    Code:
    (14:00:30) | Failed to call hook 'OnItemResearch' on plugin 'ResearchControl v1.0.2' (ArgumentException: An element with the same key already exists in the dictionary.)
    (14:00:30) | at System.Collections.Generic.Dictionary`2[BasePlayer,ItemDefinition].Add (.BasePlayer key, .ItemDefinition value) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ResearchControl.OnItemResearch (.Item item, .BasePlayer player) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.ResearchControl.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
     
  13. The cost consumption value is incorrect
     
  14. Already exists? Well, have you recive any over errors from this plugin?
    Like what?
     
  15. Vlad-00003 updated ResearchControl with a new update entry:

    1.0.3

     
  16. For example, I revised the cost of research to 800, but the study showed 750. My players didn't know that it needed 800, and they might think it was the server
     
  17. I wrote that in the overview. The visible value in-game cannot be changed, due to it's being rendered on the client, so....
    The only thing that is changing is the actual value.
    Also - if the research requires(by the game rules) 750 scrap, and you've set the cost to 10, the button to research will only appear to the player if he'll put at least 750 of scrap. Sorry - but that cannot be changed.
     
  18. Would be cool to have a way to give things their default values
     
  19. You can delete the config and let the plugin re-create it. Everything would have default values =)
     
  20. The default cfg values are incorrect though