Economics

Moved

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

5/5, 43 likes
  1. Wulf

    Wulf Community Admin

    Delete or update your oxide/lang per the update notes.
     
  2. tryed that same problem
     
  3. Hi,

    Balance command seem return only "Player Found" ?
     
  4. Wulf

    Wulf Community Admin

    Saw what I missed, fixed for next update.

    There is nothing that returns "Player Found" exactly, could I see the EXACT thing you are seeing please?
     
  5. Oups sorry my bad.

    17:40:24 | PlayerBalance
     
  6. Wulf

    Wulf Community Admin

    What does your oxide/lang file look like for it?
     
  7. Does I need to wipe lang for Economics? Sorry I saw lot of updates and I don't take a look for each updates you did.

    What about different plugins like Nteleportation and Quests, I need to wipe lang too?
     
  8. Wulf

    Wulf Community Admin

    No, you don't need to wipe the other plugin lang files. What does your oxide/lang file look like for Economics?
     
  9. Code:
    {
      "CommandBalance": "balance",
      "CommandDeposit": "deposit",
      "CommandSetMoney": "setmoney",
      "CommandTransfer": "transfer",
      "CommandWithdraw": "withdraw",
      "CommandWipe": "ecowipe",
      "DataSaved": "Economics data saved!",
      "DataWiped": "Economics data wiped!",
      "NegativeBalance": "Balance can not be negative!",
      "NewPlayerBalance": "New player balance: {0:C}",
      "NotAllowed": "You are not allowed to use the '{0}' command",
      "NoPlayersFound": "No players found with '{0}'",
      "PlayerBalance": "Player balance: {0:C}",
      "PlayerLacksMoney": "'{0}' does not have enough money!",
      "PlayersFound": "Multiple players were found, please specify: {0}",
      "ReceivedFrom": "You have received {0} from {1}",
      "TransferredTo": "{0} transferred to {1}",
      "TransferToSelf": "You can not transfer money yourself!",
      "UsageBalance": "{0} - check your balance",
      "UsageDeposit": "{0} <name or id> <amount> - transfer [amount] to [name] player (fee may apply)",
      "UsageTransfer": "Usage: {0} <name or id> <amount>",
      "UsageWithdraw": "Usage: {0} <amount>",
      "UsageWipe": "Usage: {0} - wipes all economics data",
      "YouLackMoney": "You do not have enough money!",
      "YouLostMoney": "You lost: {0:C}",
      "YouReceivedMoney": "You received: {0:C}",
      "YourBalance": "Your balance is: {0:C}",
      "UsageBalanceOthers": "{0} <name or id> - check balance of a player",
      "UsageSetMoney": "Usage: {0} <name or id> <amount>"
    }
    My en file

    Code:
    {
      "ChatName": "<color=#939393><color=2bce42>[Argent]</color></color>",
      "NoPermission": "<color=#939393>Vous n'avez pas la permission!</color>",
      "NoPlayer": "<color=#939393>Pas de joueur trouvé !</color>",
      "New_Player_Balance": "<color=#939393>Argent du joueur: <color=#ce422b>{0:C}</color></color>",
      "Syntax_Error": "<color=#939393>Erreur syntaxe : <color=#ce422b>/{0} <nom/steamid> <argent></color></color>",
      "Withdraw_Error": "<color=#939393><color=#ce422b>'{0}'</color> n'a pas assez d'argent!</color>",
      "My_Balance": "<color=#939393>Votre argent: <color=#ce422b>{0:C}</color></color>",
      "Received": "<color=#939393>Vous avez reçu: <color=#ce422b>{0:C}</color></color>",
      "Lost": "<color=#939393>Vous avez perdu: <color=#ce422b>{0:C}</color></color>",
      "Balance": "<color=#939393>Argent du joueur: <color=#ce422b>{0:C}</color></color>",
      "Transfer_Money_Error": "<color=#939393>Vous n'avez pas assez d'argent !</color>",
      "Transfer_Negative_Error": "<color=#939393>L'argent ne peut être négatif !</color>",
      "Transfer_Error": "<color=#939393>Vous pouvez pas vous échanger de l'argent à vous-même!</color>",
      "Transfer_Success": "<color=#939393>Vous avez transférer de l'argent à <color=#ce422b>'{0}'!</color>",
      "Transfer_Success_To": "<color=#939393><color=#ce422b>'{0}'</color> vous a transférer de l'argent !</color>",
      "Save_Success": "<color=#939393>Données sauvegardé !</color>",
      "Help1": "<color=#939393><color=#ce422b>/balance </color>- Voir votre argent</color>",
      "Help2": "<color=#939393><color=#ce422b>/transfer <nom> <argent> </color>- transfère de l'argent au joueur</color>"
    }
    Fr file
     
  10. Wulf

    Wulf Community Admin

    Yeah, I'd suggest deleting that and letting it be recreated per the update notes. You have a couple outdated there.
     
  11. Thanks.

    Does we need to delete after each update of plug-in?
    Because I deleted only when dev said 'do a fresh install'
     
  12. Wulf

    Wulf Community Admin

    No, I changed some messages in the last update, which was noted in the changelog I believe.
     
  13. Yea it's noted on the changelog sorry.

    After compiling a plugin with fresh update with messages changes like you did, does the plugin will erase the previous lang file by the newer ?

    If yes, I only need to count number of lines in EN file and compare with FR file
     
  14. Wulf

    Wulf Community Admin

    No, the oxide/lang files are only updated with new or removed entries, it won't update existing. So you'd need to either delete that file for it to be recreated to update it manually.
     
  15. Haan bad xD

    Thank you Wulf for your support
     
  16. Code:
    Failed to call hook 'TransferCommand' on plugin 'Economics v3.1.4' (FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.)
      at System.String.FormatHelper (System.Text.StringBuilder result, IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (IFormatProvider provider, System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at System.String.Format (System.String format, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Economics.Lang (System.String key, System.String id, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Economics.Message (IPlayer player, System.String key, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Economics.TransferCommand (IPlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      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
    tried to send money to another player - error
     
  17. Wulf

    Wulf Community Admin

    See Economics | Page 23 | Oxide.
     
  18. I deleted the economics lanuage file and then reloaded the plugin
    still same issue on transfer.
     
  19. Wulf

    Wulf Community Admin

    "Saw what I missed, fixed for next update." :p
     
  20. Wulf

    Wulf Community Admin

    Wulf updated Economics with a new update entry:

    3.1.5