Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Release Archive

Custom Script Release Archive This is a pre-script database archive of what our users had released.

 
 
Thread Tools Display Modes
Old 02-08-2006, 05:16 PM   #1 (permalink)
Forum Newbie
 
Join Date: Feb 2006
Posts: 7
Default Small issue with DetectHidden.cs

Came across a small problem earlier in DetectHidden.cs.

The following line:

Code:
bool inHouse = ( house != null && house.IsFriend( src ) );
Should be:

Code:
bool inHouse = ( house != null && house.IsInside( src ) && house.IsFriend( src ) );
The original code allows houses to be searched from outside, even half a screen away. The edited version of course requires the player to be inside the house to do a proper search. While it isn't a game-stopping issue or anything, it is easy to fix so I thought I'd post it.
Apocrypha is offline  
 

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5