Page 2 of 2
Re: Friending ridable pets
Posted: Tue Sep 14, 2010 12:30 am
by Joueur Moyen
From before t2a:
http://groups.google.com/group/rec.game ... 96e05e2e26
Frederic Marie Jun 18 1998, 3:00 am
Another very helpful command for horses is "*horse's name* friend", then
click on a trusted friend of yours, or several if applicable <G>. Whenever
you die & those friends are close by, they can then ride your horse or get
it to follow them back to safety. It still works when a horse untames itself
& gets retamed & handed back to you, it seems to remember who you declared
as "friends".
From the patch notes:
Server Publish Jan 24 2000 9:14AM CST
Taming Changes
* A fix for pet commands including the “pet friend bug”.
This thread suggests that horses couldn't be ridden as a friend, and is after the above patch note. (Did the patch change the behavior? I don't know.)
http://groups.google.com/group/rec.game ... a3f864e2a4
Damocles (replying to Zaphkiel) Feb 11 2000, 3:00 am
> You can "transfer" horses by making the person a friend. Then
>they can ride it. They don't technically own it, so if they get pulled
>over, you'll still get the speeding ticket. But....
> --Zaphkiel
Doesn't work either, both commands have been nerfed for unknown
reasons. Damned annoying, especially since animals that go wild once
seem to be useless forever after...if you tame them they will
immediately go wild again.
Re: Friending ridable pets
Posted: Tue Sep 14, 2010 12:32 am
by nightshark
well, if this is correct, you officially can't run away from pkers anymore

Re: Friending ridable pets
Posted: Thu Sep 30, 2010 11:32 am
by Ripplinger
Found some older info at
this site of game commands. Unfortunately the page doesn't have a publish date, other than noting their last update was in 2008.
But here it says about the friend command:
Friend (target required) - The pet will treat the specified player as another owner.
And obviously an owner would have full control, including riding mounts.
And then here's where the change came in, taken from
update.uo.com dated July 23, 2002:
Guarding, Friends, and the Stop Command
* The “guard” command will require a loyalty check.
* Pets will only guard their owner.
* Friends of pets will be able access the pet’s pack if it is a pack animal.
* Friends will only be able to issue movement commands to pets.
* The “stop” command will stop a pet from guarding, following, and attacking.
And hitting on this change brings to mind another discrepancy. During T2A you could still have your pets guard various items and other people. Can't seem to be able to do that here though. The above change dated July 23, 2002 is where it was changed to guarding owner only.
When breaking into houses was rampant I used to keep 2 rows of grizzlies parked in front of my doors guarding it, and it was great fun and amusement to log in and find a corpse or 2 laying at my doorstep for me to loot.

Re: Friending ridable pets
Posted: Thu Sep 30, 2010 12:37 pm
by Derrick
Thanks, very interesting.
You can guard items inside your own house, including the door and i believe the house sign. You can also guard yourself, any other pets and any friends of the pets. You cannot guard anything in a guarded town.
Re: Friending ridable pets
Posted: Thu Sep 30, 2010 3:39 pm
by Barid
Well, the info I had has already been posted... But yea, sounds like riding friended pets was in fact allowed. With pet bonding the friend command was changed so that the friend could simply confirm resurrection of the pet.
Re: Friending ridable pets
Posted: Thu Sep 30, 2010 6:44 pm
by Kaivan
Having done a recent browse through the demo scripts involving pets, I can confirm that it was indeed possible to friend someone to a pet and allow them to ride it. This is the pertinent code from horse.c:
Code: Select all
if(hasObjListVar(this, "myBoss"))
{
if(!Q4BD(this, user))
{
barkTo(this, user, "This isn't your horse; it refuses to let you ride.");
return(0x00);
}
return(0x01);
}
Q4BD is a function contained in the globals.c script. Here is it's code:
Code: Select all
integer Q4BD(object pet, object boss)
{
list Q48U;
if(!hasObjListVar(pet, "myBoss"))
{
return(0x00);
}
getObjListVar(Q48U, pet, "myBoss");
return(isInList(Q48U, boss));
}
In short, if a horse has the myBoss list variable, and the person using the horse is on that list, then a player may ride that horse.
Re: Friending ridable pets
Posted: Mon Oct 04, 2010 3:30 pm
by Ripplinger
Derrick wrote:Thanks, very interesting.
You can guard items inside your own house, including the door and i believe the house sign. You can also guard yourself, any other pets and any friends of the pets. You cannot guard anything in a guarded town.
I can guard objects and other pets, but I cannot ever guard another player with my pets, and I was sure I could do that in T2A before. I thought at first it was because the player was on a boat or friended, but I just tested it in various locations and it doesn't matter if in a house, on a boat, out in the open nowhere near a town, player is friended or not friended, I always get this message when trying to guard a player:
"This cannot be guarded by a pet or hireling."
Once friended since they can only give movement commands still, the friend can't have it guard them either.
As for friends being full owners and being able to ride mounts, is there now enough proof that's how it was up through and including T2A that we can look forward to that being changed at some point?
I'm thinking once that is corrected, guarding players might work then also.
Re: Friending ridable pets
Posted: Mon Oct 04, 2010 7:24 pm
by Derrick
Ripplinger wrote:I can guard objects and other pets, but I cannot ever guard another player with my pets, and I was sure I could do that in T2A before.
The note about guarding things in town is in there too somewhere, I'm not sure if it was '98 or '99. I really wish we had a knowledge base for things like this, everytime someone asks I go look it up again
Ripplinger wrote:
As for friends being full owners and being able to ride mounts, is there now enough proof that's how it was up through and including T2A that we can look forward to that being changed at some point?
Yes

Re: Friending ridable pets
Posted: Mon Oct 04, 2010 7:32 pm
by nightshark
sooo... will 0 tamers be able to be friended to nightmares? or will the friend command do a taming value check on both parties? that might seem out of left field, but if friends are able to ride pets, it will make a massive difference who can be friended.