Economics

Moved

Total Downloads: 13,846 - First Release: Nov 10, 2014 - Last Update: Jan 10, 2018

5/5, 43 likes
  1. when will be the next oxide update?
     
  2. Wulf

    Wulf Community Admin

    For what?
     
  3. well, economics plugin doesnt work properly for me, and you said that is going to be fixed in the next oxide update... thats what u answered to another guy a few posts back
    Code:
    (08:43:54) | Failed to call hook 'Balance' on plugin 'Economics v3.1.5' (InvalidCastException: Cannot cast from source type to destination type.)
    (08:43:54) | at Oxide.Plugins.Economics.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
    thats the error that i get, in case it helps...
     
    Last edited by a moderator: Dec 8, 2017
  4. Code:
    (11:56:36) | Failed to call hook 'Balance' on plugin 'Economics v3.1.5' (InvalidCastException: Cannot cast from source type to destination type.)
    (11:56:36) | at Oxide.Plugins.Economics.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
     
    Last edited by a moderator: Dec 8, 2017
  5. This started after the last update.It worked well before.

     
  6. Same error... anything that uses Economics is broken.
    Code:
    (11:56:36) | Failed to call hook 'Balance' on plugin 'Economics v3.1.5' (InvalidCastException: Cannot cast from source type to destination type.)
    (11:56:36) | at Oxide.Plugins.Economics.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
     
  7. Nevermind.I forgot to update Economics to most recent version.My issue is solved.If somehow is connected, ServerInfo does not update Economics balance anymore. (I posted on ServerInfo's thread as well)
     
  8. V - are you sure? Because I did the same. Open your shop /s or /shop and see what happens.
     
  9. I don't use /shop command.
     
  10. when using voteformoney and claim the prize gives me this error that until yesterday did not give it ....

    Code:
    (16:15:45) | [Vote For Money] New vote on Rust-Servers: <color=red>☞ADMIN</color> MasterCard
    (16:15:45) | Failed to call hook 'Deposit' on plugin 'Economics v3.1.5' (InvalidCastException: Cannot cast from source type to destination type.)
    (16:15:45) | at Oxide.Plugins.Economics.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
     
  11. Wulf

    Wulf Community Admin

    Not an issue with this plugin, report it to the plugin's author for a workaround until Oxide is fixed for the issue.
     
  12. Fixed the second part of the post as well.I forgot to update InfoPanel to the latest version.So far so good, Economics and linked plugins work flawlessly for now.I will report if any issues occur.
     
  13. i know its being covered already but i still get this error and im not sure whats casuing it but here it is info is great thanks #
    #
    Code:
    (02:04:16) | Failed to call hook 'Deposit' on plugin 'Economics v3.1.5' (InvalidCastException: Cannot cast from source type to destination type.)
    (02:04:16) | at Oxide.Plugins.Economics.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
    (02:04:25) | No building for tool cupboard!
    (02:04:36) | No building for tool cupboard!
    (02:04:46) | No building for tool cupboard!
    (02:04:57) | No building for tool cupboard!
    (02:05:06) | No building for tool cupboard!
    (02:05:17) | No building for tool cupboard!
    (02:05:27) | No building for tool cupboard!
    (02:05:38) | No building for tool cupboard!
    (02:05:47) | No building for tool cupboard!
    (02:05:57) | No building for tool cupboard!
    (02:06:08) | No building for tool cupboard!
    (02:06:18) | No building for tool cupboard!
    (02:06:28) | No building for tool cupboard!
    (02:06:38) | No building for tool cupboard!
    (02:06:48) | No building for tool cupboard!
    (02:06:58) | No building for tool cupboard!
     
  14. Wulf

    Wulf Community Admin

    It's not an issue with this plugin, it's with hook calling in Oxide. A quick fix would be for the plugin that is using it to be updated to call the string method in Economics instead of the ulong one, which you can report to the plugin's author.
     
  15. ahh so the only other plugins i use to give money would be barrel points , MoneyTime , Quests , Rewards so i guess they are the cause of it then
     
  16. Wulf

    Wulf Community Admin

    Most of those should already be updated for it, but might be missing a few calls.
     
  17. ok im getting confused now i thought it was moneytime but after reloading each plugin 1 at a time to test them it has stoped spamming the message it appeared every 4 mins but now it dosent show
     
  18. Has anyone got this working on 7 Days to Die? The permissions as "grant group admin economics.use" or "oxide.grant group admin economics.use" don't work at all.
     
  19. Wulf

    Wulf Community Admin

    Oxide for 7 Days to Die lacks command support right now I believe, but try oxide.grant instead.
     
  20. Why do I click on the download without any response?