tell us if you fixed it man![]()

Pets
Do you want a pet? This plugin is for you!
Total Downloads: 12,246 - First Release: Mar 22, 2015 - Last Update: Jun 11, 2018
- 4.63636/5, 44 likes
-
I tried using another button in the config but it still failed.
I am going to try commenting out the line for LOOK_ALT in the main file.
The version 0.5.2 has the following in the code:
case "FORWARD": return BUTTON.FORWARD;
case "BACKWARD": return BUTTON.BACKWARD;
case "LEFT": return BUTTON.LEFT;
case "RIGHT": return BUTTON.RIGHT;
case "JUMP": return BUTTON.JUMP;
case "DUCK": return BUTTON.DUCK;
case "SPRINT": return BUTTON.SPRINT;
case "INVENTORY": return BUTTON.INVENTORY;
case "FIRE_PRIMARY": return BUTTON.FIRE_PRIMARY;
case "FIRE_SECONDARY": return BUTTON.FIRE_SECONDARY;
case "CHAT": return BUTTON.CHAT;
case "RELOAD": return BUTTON.RELOAD;
case "PREVIOUS": return BUTTON.PREVIOUS;
case "SLOT1": return BUTTON.SLOT1;
case "SLOT2": return BUTTON.SLOT2;
case "SLOT3": return BUTTON.SLOT3;
case "SLOT4": return BUTTON.SLOT4;
case "SLOT5": return BUTTON.SLOT5;
case "SLOT6": return BUTTON.SLOT6;
case "SLOT7": return BUTTON.SLOT7;
case "SLOT8": return BUTTON.SLOT8;
case "LOOK_ALT": return BUTTON.LOOK_ALT;
default: return BUTTON.USE;
[DOUBLEPOST=1449442479][/DOUBLEPOST]After removing LOOK_ALT I then get an error for SLOT8
(09:53:31) | [Oxide] 9:52 AM [Error] Pets.cs(647,45): error CS0117: `BUTTON' does not contain a definition for `SLOT8'
Will keep removing code and let you know when I get it to work.
[DOUBLEPOST=1449443893][/DOUBLEPOST]I removed each line that was in error and eventually got it to work with only the following:
We now just need the code changed to add the other keys back with whatever the new assignment names are.
I am not a coder and will never pretend to be. LOL
case "FORWARD": return BUTTON.FORWARD;
case "BACKWARD": return BUTTON.BACKWARD;
case "LEFT": return BUTTON.LEFT;
case "RIGHT": return BUTTON.RIGHT;
case "JUMP": return BUTTON.JUMP;
case "DUCK": return BUTTON.DUCK;
case "SPRINT": return BUTTON.SPRINT;
case "FIRE_PRIMARY": return BUTTON.FIRE_PRIMARY;
case "FIRE_SECONDARY": return BUTTON.FIRE_SECONDARY;
case "RELOAD": return BUTTON.RELOAD;
default: return BUTTON.USE; -
updated the description to the latest buttons, and again you are not using the latest plugin version from download...since the latest one only has 618 lines...
-
I just downloaded the 1 from the main page. Same version number, different code.
This is the issue with the versions that are in the thread released by other people.
Sorry, my bad for assuming the version number was the same.
Will try the main 1 now.
EDIT:
The Main Page Downloaded file worked fine
I have created a Pet Help file using GUI Help to explain for players on my server how to use this plugin for Chickens only as that is what I have turned on for my server for everyone.
I have included a copy of my config file if anyone wants it.
It does make the GUI Help plugin for Pets only so if you already use it, copy the part of this code you want and modify your own config.
[DOUBLEPOST=1449536466,1449444253][/DOUBLEPOST]Hi Nogrod,
Is there a way to use any other keys for the plugin? LOOK_ALT used to be a good choice as it was hardly used.
Most of the current list of keys are constantly used for things and can be annoying as the main Pet Key.
The only 1 I see that is not used as a main key is FIRE_THIRD but I can't see that as a key assignment in the RUST options
FORWARD
BACKWARD
LEFT
RIGHT
JUMP
DUCK
SPRINT
USE
FIRE_PRIMARY
FIRE_SECONDARY
RELOAD
FIRE_THIRD
Thank you.Attached Files:
Last edited by a moderator: Dec 8, 2015 -
-
@Wulf
we need you in hereplease help us
-
Ask the question and either Nogrod or someone else might be able to help -
Ever since todays update it stopped working. /pet comes up unknown command
-
-
I love this plugin. The only thing i wish is that there was a command to make the pets follow you instead of having to spam e all the time. That and it would be awesome to have a pet tp home with you. Stop me if these are impossible things.
-
The command to make a pet follow is the 'Use' key and the 'Reload' key Together at the same time by default.
-
How Would I do Remove Group permission for an animal
- oxide.grant group animals revoke canwolf?
-
hello I install the plugin add a group and all the permision and when I want to take a pet it tells me that I have not how to make a little tutorial for installation and plugin configuration will sympat thank you.
-
Wulf Community Admin
See the Overview for the list of perm names. -
Thanks Bren.
-
Any chance you can port this to Hurtworld? Wanna have some yeti pet
-
i dont know its just me or the FOLLOW COMMAND is very hard to use. I have to hold down secondary fire + main button more than 5 to 6 times to give the command sometimes.
-
My fav pet is the chicken, call players over while my chicken hides in the bush and then attack . he wont even know whats hurting him
i had no idea a chicken could kill an armored player so fast lol
-
is possible to make bears and horse ride-able, or maybe who knows play as the bear or any animal
there is an idea huh . just imagine crawling up to a player a as bear and biting his head off
-
sry but how i get a animal ? i can use "/pet" and than? okay i got it, ineed to click "E" xDD
Last edited by a moderator: Jan 11, 2016 -
grant user steamid pets.canbear
still says you dont have a permission to use this command ? any idea