Pets

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

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

4.63636/5, 44 likes
  1. do you use huntrpg also? or just pets?
    [DOUBLEPOST=1440797151][/DOUBLEPOST]idk pets and huntrpg was working great, now they arent. i updated them and hunt works mostly but same issue, not everything works. and pets works as in activates but taming does not. everything was fine a few days ago.

    NullReferenceException: Object reference not set to an instance of an object
    when other owner tries to tame a pet.
    does anyone know what this means as far as how to fix it?
     
  2. same problem here. i love this in combination with hunt...
     
  3. Same here ! like in the last post. :/
     
  4. I don't have hunt, no problems.
     
  5. Won for me too after the last file updated :) used WITH "Hunt plugin"
    Thanks
     
  6. well mine wont tame. and i do have hunt. idk whats causing it.
     
  7. Just replace the sentence ! line 173 in : Get().name.Replace("_skin", ""))
    so should be : npcPet.mdlPrefab.Get().name.Replace("_skin", "")))

    instead of:
    npcPet.mdlPrefab.Get().ToBaseEntity().LookupShortPrefabName().Replace("_skin", "")))

    But it should be in the build and not to have to modify every update :/
     
  8. ok so replace second line with first line?
    in config or actual cs?
     
  9. In .CS to the core :D !
    Yeap ! For me it's the line 175 so the result of the entire line should be:
    Code:
    if (UsePermission && !PluginInstance.HasPermission(owner, "can" + npcPet.mdlPrefab.Get().name.Replace("_skin", "")))
     
  10. ok im assuming actual cs, but for line 173 it only has a }
     
  11. changed it :p
     

    Attached Files:

    • Pets.cs
      File size:
      25.9 KB
      Views:
      184
  12. 175 ok got it.
    [DOUBLEPOST=1440801235][/DOUBLEPOST]
    I got it already but ty :)
     
  13. AHAH yeah good reflexes. I should have done that ! But i'm completely busy ! :D
     
  14. i am on a super slow pc atm. and still newbish. but i got there too lol.
    i am testing it out now thanks yall.
    [DOUBLEPOST=1440801682][/DOUBLEPOST]
    Works! yay!
     
  15. mmmm finally when taming horse ...
    NullReferenceException: Object reference not set to an instance of an object
    but ok for boar at time ^^ idk for the new updated file i try that
     
  16. use the cs file above or follow the instructions above either one... workedfor me!
     
  17. Ok for horses i just check the code and i never notice that we can't tame horses :D there are 5 levels in Hunt and there are 6 animals so ... problem ! haha.
    But with some changes we can add one level between boar and stag for example.
     
  18. It's ok now with the latest ^^ tamed horses ^^
    Thanks guys
     
  19. No problem ! you're welcome ! ;)
     
  20. i cant get pet to work at all i have hunt instaled it is not comeing up in the config like hunt or in data like hun