ScriptUO

Official ScriptUO EasyUO Scripts => Site Scripter Libraries => Endless Nights' Script Library => Topic started by: Endless Night on August 05, 2015, 12:40:54 PM

Title: ENs - Whats Under My House ?
Post by: Endless Night on August 05, 2015, 12:40:54 PM
ENs - Whats Under My House ?
Looks under your house for any lost or mysterious items

When customizing your house sometimes things glitch and boxes/stuff end up under your house... this script allows you to find those things and recover them via the items content menu.

How to Use: Stand in the middle of your house ON THE BOTTOM FLOOR and run the script.  If you are near a hidden box it will attempt to open it.  If item has context menu it will open on the left  of screen.  To retrieve the item Stop script and click "Retrieve".   Script will find rats and others around your house just click OK to continue on. The UO Window title has a countdown of items scanned.

The Default Z index checking is #charpos - 2,  So if you stand on your roof you will find alot of items !!!

Post up  any weird stuff you find....

Code: [Select]
;=================================================================
; Script Name: ENs - WhatsUnderMyHouse
; Author: JosephAJ AKA Endless Night
; Version: 1
; Shard OSI / FS: OSI
; Revision Dates: 8/2015
; Public Release: 8/2015
; Purpose: Find items under your house
;=================================================================
; (c) 2007-2015 JosephAJ - All Rights Reserved
;  Please respect my property rights.. :)
;=================================================================
set #lpc 22000
finditem * G_24
If #findcnt > 0
  {
  For #findindex 1 #findcnt
    {
;    event sysmessage
    setuotitle #findindex : #findcnt ID: #findid Z: #findz
    if #findz < #charposZ - 2
      {
      event property #findid
      If Contents: in #property
        {
        set #lObjectID #findid
        event Macro 17 0
        }
      If  Nodraw notin #property &&  #findtype Notin IS_HS_XU_AV_OCB_NCB
        {
        set !old #contid
        exevent popup #findid
        wait 5
        if #contid <> !old  || #contid = YC
           Contpos 0 100
        display ok  Type: #findtype ID: #findid XYZ: #findx : #findy : #findz $ Description: #property  $$ If you wish to recover this item, STOP THIS SCRIPT $ then use the context menu on LEFT and click "Retrive" $ If not click Ok to continue
        }
      }
     }
   }
halt



Usage:
  You are free to use this script for not for profit personal UO game-play.
You are *not* free to modify and re-post or post on other places
or post as part of a script or work you yourself have created
or otherwise distribute without written permission from the author.
This license to use can be changed at any time for any reason.
If in doubt dont do it contact the author.

(C) 2015 All Rights Reserved JosephAJ
Commercial usage requires written permission from the author


NOTE: My scripts or any derivative of them are *not* for use in other players script/s!  
Title: Re: ENs - Whats Under My House ?
Post by: Cush on August 05, 2015, 04:15:41 PM
This is great and will be very much appreciate by people having this issue.

It has been ongoing for a good long time now. Thanks for taking the time to map this out.
Title: Re: ENs - Whats Under My House ?
Post by: KaliOfLS on August 21, 2015, 09:56:13 AM
WOW, I just ran this for sh*ts and giggles and I have three chests full as crap that are hidden.  How do I get them?  If I click retrieve, my contents can't hold them (They are very heavy)


EDIT: lol, just kidding.  They are on my steps