The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vendor Buy
Author Message
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #1
Vendor Buy
I'm not at home right now, does anyone know a good way to make sure that when you say "buy" that the nearest vendor by you gets it? i have this situation where i will say "vendor buy" and a vendor 5-6 spaces behind the closest vendor sells to me. i was thinking just adding los + dist check under the vendor speech def. cause you can't complete a purchase when your so far away anyways. this is one of those things that has annoyed for for a decade, and i just never fixed it lol, i'd just type in "shana buy" and carry on. Lol
(This post was last modified: 02-08-2013 08:00 AM by Soulless.)
02-08-2013 06:19 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #2
RE: Vendor Buy
this helps prevent from buying off vendors that are a shit ton distance away. but then the other vendors around them dont sell to me...

IF !(<CANSEELOS <SRC.UID>>) || (<SRC.DISTANCE <UID>> >3)
RETURN 1
ENDIF

anyone else know what im talking about? anyone annoyed by this?
02-08-2013 03:29 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #3
RE: Vendor Buy
It should pick up the nearest one by default, unless you interacted with another one first it will go back to that guy.

Just use a macro to say 'bye', 'buy' - should pick up the nearest npc at the time Sad

I haven't experienced any vendors over about 5 tiles pick up a buy command from a player, and we dont really have any vendors much closer than 5 tiles, if we do our players bye/buy/guards speech macros tend to be fine.

ULTIMA ONE
The modern, sphere powered Ultima Online server
02-08-2013 08:26 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Soulless
Super Moderator
****

Posts: 335
Likes Given: 29
Likes Received: 49 in 27 posts
Joined: Jun 2012
Reputation: 12

Ye Olde Sphere

Post: #4
RE: Vendor Buy
for some reason it sometimes picks someone whos like beyond a wall, or further away than the other vendor.

but in retrospect, i did not try it with gm off. so, that kinda shoulda been my first step. thank you though btw, if it does turn out to be an issue for me i'll just look to see what removes that recently talked to memory from the npc. unless that doesnt work. then i'll just learn to deal.
02-09-2013 09:02 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)