Friending ridable pets

For ideas on how to make Second Age a better shard. Can it get any better? Maybe.
Forum rules
Posts in this forum are expected to be constructive, realistic and civil. Inflamatory or off topic posts will be removed.
Joueur Moyen
Posts: 175
Joined: Sat May 22, 2010 9:16 pm

Re: Friending ridable pets

Post 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.

User avatar
nightshark
UOSA Subscriber!
UOSA Subscriber!
Posts: 4550
Joined: Mon Apr 20, 2009 10:47 pm

Re: Friending ridable pets

Post by nightshark »

well, if this is correct, you officially can't run away from pkers anymore :D
<green> grats pink and co. .... the 3 of you f---ing scrubs together can blow up a bard. IMPRESSIVE

Ripplinger
Posts: 127
Joined: Sun Aug 15, 2010 7:38 am

Re: Friending ridable pets

Post 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. :)

User avatar
Derrick
Posts: 9004
Joined: Thu Dec 13, 2007 7:49 pm
Location: Cove
Contact:

Re: Friending ridable pets

Post 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.
Image
"The text in this article or section may be incoherent or very hard to understand, and should be reworded if the intended meaning can be determined."

Barid
Posts: 14
Joined: Thu Sep 02, 2010 1:54 am

Re: Friending ridable pets

Post 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.

Kaivan
UOSA Donor!!
UOSA Donor!!
Posts: 2923
Joined: Wed Aug 13, 2008 11:07 pm

Re: Friending ridable pets

Post 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.
UOSA Historian and former staff member: August 11, 2008 - June 19, 2016

Useful links for researching T2A Mechanics

Stratics - UO Latest Updates - Newsgroup 1 - Noctalis - UO98.org

Ripplinger
Posts: 127
Joined: Sun Aug 15, 2010 7:38 am

Re: Friending ridable pets

Post 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.

User avatar
Derrick
Posts: 9004
Joined: Thu Dec 13, 2007 7:49 pm
Location: Cove
Contact:

Re: Friending ridable pets

Post 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.
Sept. 22nd Publish Sep 22 1999 4:27PM CST wrote:
  • Pets
    • Pets will only guard the following:
      • The owner
        The corpse of the owner
        Items in the house of the owner
        Other pets of the owner
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 :)
Image
"The text in this article or section may be incoherent or very hard to understand, and should be reworded if the intended meaning can be determined."

User avatar
nightshark
UOSA Subscriber!
UOSA Subscriber!
Posts: 4550
Joined: Mon Apr 20, 2009 10:47 pm

Re: Friending ridable pets

Post 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.
<green> grats pink and co. .... the 3 of you f---ing scrubs together can blow up a bard. IMPRESSIVE

Post Reply