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?

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
-
same problem here. i love this in combination with hunt...
-
-
I don't have hunt, no problems.
-
Won for me too after the last file updated
used WITH "Hunt plugin"
Thanks -
well mine wont tame. and i do have hunt. idk whats causing it.
-
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 :/ -
in config or actual cs? -
In .CS to the core
!
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", "")))
-
-
Attached Files:
-
-
[DOUBLEPOST=1440801235][/DOUBLEPOST] -
-
i am testing it out now thanks yall.
[DOUBLEPOST=1440801682][/DOUBLEPOST] -
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 -
-
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. -
Thanks guys -
-
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