Pets

Do you want a pet? This plugin is for you!

Total Downloads: 12,218 - First Release: Mar 22, 2015 - Last Update: Jun 11, 2018

4.63636/5, 44 likes
  1. Another problem is we cannot see where we spot the pet cone colors way point is out of order ^^ not easy to feed or attack target
    BR
     
  2. 1º) I create a group:
    • oxide.group add animals

    2º) Assign permissions:
    • oxide.grant group animals cannpc
    • oxide.grant group animals canwolf
    3º) Added user (me):
    • oxide.usergroup add "Arqueiro Verde" animals
    Then, I can use /npc, but don't have permission to command a wolf (I spawned a lot of wolves, but didn't work)...[/QUOTE]


    ITS NOT WORKING /npc = Unknown Command
     
  3. If I good npc is not a animal pet !!
     
  4. /pet help is no longer available. If you type it when you don't have a pet it says you don't have a pet, but once you have a pet it does nothing.

    As an admin it's very hard to explain to people how to use it and I would very much appreciate it it help worked.

    Also can it be made to work when you don't have a pet? People need to know how to get a pet to begin with so help might be a good idea with/without a pet.

    Thanks.
     
    Last edited by a moderator: Mar 15, 2017
  5. I agree that some extra explanation would be nice. FYI you can customize the config\pets.json file yourself to include some help or re-word things so they are more self explanatory.
    For mine I edited the Activated msg to include info on how to capture. Once captured, the new pet msg says to type /pet info right away. /pet info gives the pet stats but it also gives some help info. You can edit any of these to suit your needs on the server.

    Code:
    {
      "Activated msg": "NPC Mode activated! Press <color=pink>USE</color> while near to capture.",
      "Already tamed msg": "This Npc is already tamed by other player!",
      "Attack msg": "Attack!",
      "Closer msg": "You need to get closer!",
      "Deactivated msg": "NPC Mode deactivated!",
      "Distance to loot Npc": 1.0,
      "Distance when target will be ignored by NPC": 70.0,
      "Draw disabled msg": "Draw disabled!",
      "Draw enabled msg": "Draw enabled!",
      "Draw system disabled msg": "Draw system was disabled by administrator!",
      "Eat msg": "Time to eat!",
      "Enable draw system": true,
      "Follow msg": "Follow command!",
      "Free pet msg": "Now your per is free!",
      "Info msg": "<color=red>Health: {health}%</color>, <color=orange>Hunger: {hunger}%</color>, <color=cyan>Thirst: {thirst}%</color>, <color=teal>Sleepiness: {sleep}%</color>, <color=lightblue>Stamina: {stamina}%</color>. Commands: <color=brown>/pet sleep</color>, <color=brown>/pet free</color>, <color=brown>/pet info</color>, <color=brown>/pet draw</color>, <color=pink>RELOAD</color> + <color=pink>USE</color> to have pet follow you. Press <color=pink>USE</color> on corpses to feed pet.",
      "Main button to controll pet": "USE",
      "Max distance to take Npc": 10.0,
      "New pet msg": "Now you have a new pet! <color=brown>/pet info</color>",
      "No command perm msg": "No Permission!",
      "No pet msg": "You don't have a pet!",
      "No take perm msg": "You don't have permission to take this NPC!",
      "Open Inventory msg": "Now open your inventory if you want loot pet!",
      "Pet's Attack Modificator": 2.0,
      "Pet's Health Modificator": 3.0,
      "Pet's Speed Modificator": 1.5,
      "Reload msg": "You can not tame so often! Wait!",
      "Reload time to take new Npc": 60.0,
      "Second button to use follow|unfollow": "RELOAD",
      "Sleep msg": "Sleep command!",
      "UnFollow msg": "UnFollow command!",
      "Use permissions": true
    }
    [DOUBLEPOST=1489590941][/DOUBLEPOST]Pets doesn't use /npc for a command.. it uses /pets
     
  6. Thanks! I didn't know that was possible!
     
  7. @Nogrod Great plugin! My players really enjoy it,

    I noticed my RCON getting filled up with the messages below,
    I have another plugin installed that controls animal population and another that kills animals when attacking sleeping players,
    and I believe players pets are getting deleted LOL,
    Im totally okay with this happening, but these messages below are filling up RCON
    Could I have an option to disable these messages? :)

    Also, just curious if you knew, How does an animal get destroyed improperly?

    Code:
    Calling 'OnServerSave' on 'Pets v0.5.6' took 356ms
    Entity is NULL but is still in saveList - not destroyed properly? chicken[0]
    Entity is NULL but is still in saveList - not destroyed properly? wolf[0]
    Entity is NULL but is still in saveList - not destroyed properly? chicken[0]
    Entity is NULL but is still in saveList - not destroyed properly? chicken[0]
    Entity is NULL but is still in saveList - not destroyed properly? wolf[0]
    Entity is NULL but is still in saveList - not destroyed properly? stag[0]
    Entity is NULL but is still in saveList - not destroyed properly? wolf[0]
    Entity is NULL but is still in saveList - not destroyed properly? wolf[0]
    Entity is NULL but is still in saveList - not destroyed properly? bear[0]
    Saved 110,894 ents, serialization(0.08), write(0.12), disk(0.01) totalstall(0.44).
    Saving complete
     
  8. I get the same errors. It seems to be from freeing an animal. I could be wrong.
     
  9. In my testing, that happens any time an active pet is killed before being freed. Very annoying in RCON indeed. I've tried to find the Pets database to clear/destroy them as it says but can't find where the info is stored to delete. If the creator is reading this, if you could just tell us where that data is located we could clear it ourselves! A command to delete all Pets from the system would be even nicer. :)
     
  10. well im getting a problem. the commands /pet sleep does work and the message comes up but the pet doesnt sleep lol any ideas?
     
  11. (15:00:51) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:51) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:51) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:51) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:52) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:52) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:52) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:52) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:53) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:53) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:53) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)

    (15:00:53) | Failed to call hook 'OnEntityTakeDamage' on plugin 'Pets v0.5.6' (NullReferenceException: Object reference not set to an instance of an object)
     
  12. How to get HP to Pet please? I tried to let him eat other Pets, but dont work..
     
  13. @D3NNY make him eat players bodys
     
  14. Hi you have not do a good search :) try this:
    Solved - Entity is NULL but is still in saveList | Page 2 | Oxide

    can temporary help
     
  15. hello i can use /npc beacause i don't have permission. Help please what is the permission ?
     
  16. Code:
    (14:39:58) | Calling 'OnServerSave' on 'Pets v0.5.6' took 211ms
    (14:39:59) | Entity is NULL but is still in saveList - not destroyed properly? bear[0]
    (14:39:59) | Entity is NULL but is still in saveList - not destroyed properly? stag[0]
    (14:39:59) | Entity is NULL but is still in saveList - not destroyed properly? bear[0]
    (14:39:59) | Entity is NULL but is still in saveList - not destroyed properly? bear[0]
    (14:39:59) | Entity is NULL but is still in saveList - not destroyed properly? bear[0]
    (14:39:59) | Entity is NULL but is still in saveList - not destroyed properly? bear[0]
    Plugin needs fix so that nulls are no longer saved. Or if its null on save, do whatever pet free does.

    edit: i found savelistfix which works to remove the above. still should be fixed
     
    Last edited by a moderator: Apr 4, 2017
  17. Show me where I insult? next time I simply leave you with your issue ungrateful people
     
  18. Assembly referenced by Pets plugin does not exist: RustBuild.dll
    Assembly referenced by Pets plugin does not exist: Behave.Unity.Runtime.dll