Vendor Accessibility on 2nd Floor From Ground

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.
Post Reply
User avatar
Sexy Smithy
Posts: 520
Joined: Sun May 09, 2010 8:46 am
Location: La La Land

Vendor Accessibility on 2nd Floor From Ground

Post by Sexy Smithy »

I know on OSI/EA servers you used to be able access vendors on the second floor from outside on the ground so long as you could see them to 2x click them. I am not sure what era it was that they introduced that. Does anyone here know? As it is right now, you cannot purchase items from a vendor a floor up from you even if they are visible and you have line of sight.

I'm referring to player vendors in player housing, like say the front of a keep on the second floor balcony.
Special Projects Minion.
Image

User avatar
Faust
Posts: 6247
Joined: Mon Sep 22, 2008 7:01 pm

Re: Vendor Accessibility on 2nd Floor From Ground

Post by Faust »

That is how the regular vendors work but player vendors missed the modification. However, regular vendors definitely shouldn't be functioning in this fashion since it was proven to be inaccurate on the demo. This was probably possible for player vendors though even in this era. This would have to be verified on there too.

User avatar
BobDobbs
UOSA Donor!!
UOSA Donor!!
Posts: 1466
Joined: Thu Jun 03, 2010 4:37 pm
Location: Isle of the Avatar
Contact:

Re: Vendor Accessibility on 2nd Floor From Ground

Post by BobDobbs »

Does that mean I would be able to stock vendors from my home?
Image
"Every normal man must be tempted, at times, to spit upon his hands, hoist the black flag, and begin slitting throats." - H.L. Mencken
UOSA Last.fm group!

Pirul
Posts: 5754
Joined: Wed Jan 27, 2010 8:19 pm
Location: New Windmere

Re: Vendor Accessibility on 2nd Floor From Ground

Post by Pirul »

BobDobbs wrote:Does that mean I would be able to stock vendors from my home?
Yes, as you can also do now on any type of house. You'd just have to keep the keep ( :P ) public.
Image
<ian> 2 chicks making out are not gay

User avatar
BobDobbs
UOSA Donor!!
UOSA Donor!!
Posts: 1466
Joined: Thu Jun 03, 2010 4:37 pm
Location: Isle of the Avatar
Contact:

Re: Vendor Accessibility on 2nd Floor From Ground

Post by BobDobbs »

Pirul wrote:
BobDobbs wrote:Does that mean I would be able to stock vendors from my home?
Yes, as you can also do now on any type of house. You'd just have to keep the keep ( :P ) public.
My vendor house is in front of the house I actually live in, so I was wondering if I could stock my vendors as well as check their inventory (which I can do now, just can't stock).
Image
"Every normal man must be tempted, at times, to spit upon his hands, hoist the black flag, and begin slitting throats." - H.L. Mencken
UOSA Last.fm group!

User avatar
Faust
Posts: 6247
Joined: Mon Sep 22, 2008 7:01 pm

Re: Vendor Accessibility on 2nd Floor From Ground

Post by Faust »

Most likely this only falls under the 'buying' mechanism that probably neglects line of sight much like the current inaccuracy for regular vendors that exist. Restocking a vendor still probably requires line of sight and range. The buying mechanism more than likely just required range without a line of sight check. However, looking at a player vendors contents could be done pretty far away. The majority of these mechanics simply need to be verified on the demo for certainty though.

Mikel123
UOSA Subscriber!
UOSA Subscriber!
Posts: 4607
Joined: Wed Jun 24, 2009 7:44 pm

Re: Vendor Accessibility on 2nd Floor From Ground

Post by Mikel123 »

BobDobbs wrote:My vendor house is in front of the house I actually live in, so I was wondering if I could stock my vendors as well as check their inventory (which I can do now, just can't stock).
I dunno, wouldn't it have to be at least 5 tiles away? Maybe 4 if you're talking a vendor on the front steps...

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

Re: Vendor Accessibility on 2nd Floor From Ground

Post by Derrick »

There's a possibility that this may be addressed soon in a natural manner as there is currently some active research pertaining to OSI's line of sight algorithm.

I don't think there were player vendors in June '98, so the demo will not help us on this issue. Once LOS is corrected, we can check to make sure the range is the same, and then hopfully everything that should work will work.

There are of course obvious concerns regarding any LOS changes, especially in the potential change of what items are and are not reachable from a distance. A high regard will be paid to this before any changes are made.
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
Faust
Posts: 6247
Joined: Mon Sep 22, 2008 7:01 pm

Re: Vendor Accessibility on 2nd Floor From Ground

Post by Faust »

Player vendors definitely existed in '98 and even '97 when they were first introduced Derrick. :wink:
12/16/97 - http://wiki.uosecondage.com/?title=1997_Patch_Notes wrote: Vendors (you can now hire NPCs to run your shop)
Tavernkeepers now sell "a contract for employment."
Use this contract near a house you own to create a vendor.
Vendors must be paid: they cost 100 coins per day, plus 1% of the value of everything they've got. This is withdrawn from they gold they hold for their employer.
If a vendor runs out of gold, he will destroy the gold he's holding and kill himself, leaving all the goods he's got on the corpse.
Vendors answer to their name, "vendor" and "shopkeeper"
Employers can give items to their vendors, and are prompted for an asking price and a description.
Employers and customers alike can open up the containers in a vendor.
Employers can freely take items from a vendor.
Employers can give containers full of items to vendors, and set a price on the container as a whole.
Customers can buy items from a vendor using gold they have on their person or in the bank.
Customers can use appraise and identify on items a vendor sells.
Customers can open items in a vendor's inventory if they are for sale.
You can shove through vendors.
You cannot steal from a vendor.
Vendors have the gold given to them from purchases, and employers may of course collect it (though they shouldn't collecy all of it, as noted above)

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

Re: Vendor Accessibility on 2nd Floor From Ground

Post by Derrick »

Thanks, didn't see them in demo, likely due to the dated templates, but also I may just not have noticed.
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
Faust
Posts: 6247
Joined: Mon Sep 22, 2008 7:01 pm

Re: Vendor Accessibility on 2nd Floor From Ground

Post by Faust »

Will be nice to see the original algorithm used for line of sight though.

roguan
UOSA Donor!!
UOSA Donor!!
Posts: 55
Joined: Thu Jul 22, 2010 10:01 pm
Location: Stockholm, Sweden

Re: Vendor Accessibility on 2nd Floor From Ground

Post by roguan »

From Tavernkeeper Template:

Code: Select all

<eq             vendor_deed_template 0 0 1 SELLABLE>
<eq             vendor_deed_template 0 0 1 BUYABLE>
From the vendordeed script:

Code: Select all

  setObjVar(vendor, "owner", user);
  setObjVar(vendor, "multi", house);
 [b] attachScript(vendor, "vendor");[/b]
  disableBehaviors(vendor);
  Q4WQ(house, vendor);
  deleteObject(this);
I assume this is the line of site check from the vendor script:

Code: Select all

ONEVENT( speech , "*" )(object speaker, string arg)
{
  i[b]f(!isFreelyViewable(this, speaker))[/b]
  {
    return(0x01);
  }
...
More to come.
"The NPK"

Image

Post Reply