Robbery

Moved

Total Downloads: 1,292 - First Release: Dec 15, 2014 - Last Update: Jan 11, 2018

5/5, 11 likes
  1. Wulf

    Wulf Community Admin

    Wulf updated Robbery with a new update entry:

    3.1.3

     
  2. we get this error : @Wulf

    Code:
    20:27 [Error] Failed to call hook 'OnEntityTakeDamage' on plugin 'Robbery v3.1.3' (NullReferenceException: Object reference not set to an instance of an object)
    20:27 [Debug]   at Oxide.Plugins.Robbery.StealMoney (.BasePlayer victim, .BasePlayer attacker) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Robbery.OnEntityTakeDamage (.BaseEntity entity, .HitInfo info) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Robbery.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
    
    [DOUBLEPOST=1474893060][/DOUBLEPOST]this too

    Code:
    20:30 [Debug]   at Oxide.Plugins.Robbery.StealMoney (.BasePlayer victim, .BasePlayer attacker) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Robbery.OnPlayerInput (.BasePlayer attacker, .InputState input) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Robbery.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 
    [DOUBLEPOST=1474893503][/DOUBLEPOST]when we stole from a player we get this 3 message:

    StoleMoney
    StolePoints
    StoleNothing this shouldnt be there because player has a still money and points.
     
  3. Wulf

    Wulf Community Admin

    Should be fixed in the next version, looks like there was an issue with something I switched to with the Friends API plugin.
     
  4. robbery.protection(protects players from being mugged or pickpocketed)

    grant user admin robbery.protection

    It does not work
     
  5. Wulf

    Wulf Community Admin

    It's fixed in the next version.
     
  6. Wulf

    Wulf Community Admin

    Wulf updated Robbery with a new update entry:

    4.0.0

     
  7. The Translation "es" is pretty bad

    I let u the correct translation for Spanish
    Code:
    {
      "CanBeSeen": "No puedes robar ahora, has sido visto",
      "CantHoldItem": "No puedes punguear con algo en la mano",
      "Cooldown": "Tendrás que esperar antes de intentar robar otra vez",
      "IsClanmate": "Este jugador está en tu Clan, no puedes robarle",
      "IsFriend": "Este jugador es tu Amigo, no puedes robarle",
      "IsProtected": "Este jugador está protegido, no puedes robarle",
      "NoLootZone": "No puedes robar a nadie en esta Zona",
      "StoleItem": "Lograste robar {0} {1} de {2}!",
      "StoleMoney": "Has robado €{0} de {1}!",
      "StoleNothing": "No has robado nada a {0}!",
      "StolePoints": "Has robado {0} puntos de {1}!"
    }
     
    Last edited by a moderator: Oct 25, 2016
  8. Please, fixe this:

    Code:
    [Oxide] 11:08 [Error] Failed to call hook 'OnEntityDeath' on plugin 'Robbery v4.0.0' (ArgumentException: The requested value 'noplayerloot' was not found.)
     
  9. Leave it, I fix.
     
  10. Wulf

    Wulf Community Admin

    Wulf updated Robbery with a new update entry:

    4.0.1

     
  11. Wuhuu the first lang file in english... but it seems a little little bit like google translator... ? ;)

    Maybe use something like this instead:
    Code:
    {
      "CanBeSeen": "Man sieht dich! Warte damit lieber etwas...",
      "CantHoldItem": "Taschendiebstahl nur möglich, wenn du nichts in den Händen hältst",
      "Cooldown": "Nicht so gierig, warte noch etwas",
      "IsClanmate": "Das ist ein Clan Mitglied! Was stimmt nicht mit dir?!",
      "IsFriend": "Echt jetzt? Von einem Freund? Nichts da...",
      "IsProtected": "Das Ziel ist geschützt",
      "NoLootZone": "In dieser Zone nicht möglich",
      "StoleItem": "Du hast {0} {1} von {2} erbeutet!",
      "StoleMoney": "Du hast {0} R von {1} erbeutet!",
      "StoleNothing": "Du hast nichts von {0} gestohlen!",
      "StolePoints": "Du hast {0} Punkte von {1} gestohlen!"
    }
     
  12. Wulf

    Wulf Community Admin

    Most other than English were machine translated yes.
     
  13. ... was about to say "in German" ... but good that you understand me ^^
     
  14. DOESNT WORK NOW, MAYBE UPDATE PLEASE
     
  15. Wulf

    Wulf Community Admin

    Please do not post in caps. Also, we can't help you if you do not provide any sort of details or errors.
     
  16. Probably a silly question, but when you kill a person, do you automatically get the money, or do you need to do something, like approach the corpse, or whatever?
     
  17. Wulf

    Wulf Community Admin

    Automatically.
     
  18. correct russian translation:

    Code:
                // Russian
                lang.RegisterMessages(new Dictionary<string, string>
                {
                    ["CanBeSeen"] = "Вы не можете воровать прямо сейчас, вы были замечены",
                    ["CantHoldItem"] = "Вы не можете воровать удерживая элемент",
                    ["Cooldown"] = "Подождите немного, прежде чем снова украсть",
                    ["IsClanmate"] = "Вы не можете украсть у соклановца",
                    ["IsFriend"] = "Вы не можете украсть у друга",
                    ["IsProtected"] = "Вы не можете украсть из защищенного плеера.",
                    ["NoLootZone"] = "Вы не можете украсть у игроков в этой зоне",
                    ["StoleItem"] = "Вы украли {0} {1} у {2}!",
                    ["StoleMoney"] = "Вы украли ₽{0} у {1}!",
                    ["StoleNothing"] = "Вы ничего не украли у {0}!",
                    ["StolePoints"] = "Вы украли {0} очков у {1}!"
                }, this, "ru");
     
  19. i have te latest version and this is my config, but players dont get any money by killing each other, any help please?
    {
    "Clan Protection (true/false)": true,
    "Cooldown (Seconds, 0 to Disable)": 30,
    "Friend Protection (true/false)": true,
    "Item Stealing (true/false)": false,
    "Money Stealing (true/false)": true,
    "Percent from Awake (0 - 100)": 25.0,
    "Percent from Sleeping (0 - 100)": 50.0,
    "Point Stealing (true/false)": false
    }
     
  20. Wulf

    Wulf Community Admin

    Which economy plugin are you using?