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...
-
Same here ! like in the last post. :/
-
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 :/ -
ok so replace second line with first line?
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", ""))) -
ok im assuming actual cs, but for line 173 it only has a }
-
changed it
Attached Files:
-
-
175 ok got it.
[DOUBLEPOST=1440801235][/DOUBLEPOST]I got it already but ty
-
AHAH yeah good reflexes. I should have done that ! But i'm completely busy !
-
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! -
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 -
use the cs file above or follow the instructions above either one... workedfor me!
-
Ok for horses i just check the code and i never notice that we can't tame horses
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. -
It's ok now with the latest ^^ tamed horses ^^
Thanks guys -
No problem ! you're welcome !
-
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
