|
||
|
|||||||
| Server Support on Windows Get (and give) support on general questions related to the RunUO server itself. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Join Date: Aug 2003
Location: Australia
Age: 41
Posts: 198
|
How or where do I edit to adjust the NPC vendors and bankers Hear Speech Range.
What is happening is players are standing outside the Buildings and accessing Bankers. And the NPC Vendors don't respond to speech at all, even if you're standing on top of them. I'd like to stop this and have it so the player enter the building and must be within 2-3 tiles to have vendors and bankers respond to speech. Any help appreciated |
|
|
|
|
|
#2 (permalink) |
|
Forum Expert
|
Hrmm interesting. If you look in BaseVendor.cs there is this
Code:
public override bool PlayerRangeSensitive{ get{ return true; } }
|
|
|
|
|
|
#3 (permalink) |
|
Join Date: Aug 2003
Location: Australia
Age: 41
Posts: 198
|
I fixed the Banker problem sorta. I changed this in Banker.cs
Code:
public override bool HandlesOnSpeech( Mobile from )
{
if ( from.InRange( this.Location, 12 ) )
return true;
return base.HandlesOnSpeech( from );
}
public override void OnSpeech( SpeechEventArgs e )
{
if ( !e.Handled && e.Mobile.InRange( this.Location, 12 ) )
Code:
public override bool HandlesOnSpeech( Mobile from )
{
if ( from.InRange( this.Location, 3 ) )
return true;
return base.HandlesOnSpeech( from );
}
public override void OnSpeech( SpeechEventArgs e )
{
if ( !e.Handled && e.Mobile.InRange( this.Location, 3 ) )
For some reason my vendors don't respond to speech, at present you have to click on them and use the menu. Can't figure out just yet how to change this, so they are like the banker... be within 3 tiles and say "buy" or "sell" and they respond. |
|
|
|
|
|
#5 (permalink) |
|
Join Date: Aug 2003
Location: Australia
Age: 41
Posts: 198
|
Sorry for the confusion.
Bank problem is sorted, they can not longer access their bankboxs from outside the banks using speech. Now they have to go inside the building and either click on the banker and use the menu or be within 3 tiles to use speech. The problem I am still having is my NPC Vendors don't respond to speech at all. The only way to access them at present is by clicking on them and using the menu. |
|
|
|
|
|
#7 (permalink) | |
|
Account Terminated
|
Quote:
Even a minor thing could have effected this feature. |
|
|
|
|
|
|
#8 (permalink) | |
|
Join Date: Aug 2003
Location: Australia
Age: 41
Posts: 198
|
Quote:
|
|
|
|
|
|
|
#9 (permalink) |
|
Master of the Internet
Join Date: Aug 2003
Posts: 5,688
|
this might be helpful
http://runuo.com/forum/showthread.php?t=40464
__________________
The first line of the first rule in the forum rules and guidelines "Be respectful of others. " For questions, information, and support for XmlSpawner and its addons, visit the XmlSpawner Support Forum |
|
|
|
|
|
#10 (permalink) | |
|
Join Date: Aug 2003
Location: Australia
Age: 41
Posts: 198
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|