Topic removed :)

If you make a Client-side script you can publish it here for other players to use
Post Reply
Luna
Expert Scribe
Posts: 34
Joined: Tue Dec 05, 2017 6:32 am

Topic removed :)

Post by Luna »

Topic outdated :roll: I only wanted to post a script for someone in-game.
Last edited by Luna on Thu Mar 08, 2018 10:27 am, edited 2 times in total.
Shindaril
Grandmaster Scribe
Posts: 96
Joined: Tue Jul 01, 2014 12:11 pm

Re: [EASYUO] Find Item Not Locked Down in House

Post by Shindaril »

Hiya,

It's a nice script for a rather unique need. Didn't test it myself, so I cannot tell if it picks up items in your neighborg's house as well, though, I do assume it will. However, a couple of pointers to consider...

Using #SysTime requires more CPU usage than using #sCnt (seconds since Windows boot) or #sCnt2 (10ths of second since Windows boot), so I'd recommend using the #sCnt2 for 1.5 second timer in your specific script.

Secondly, you could just ifnoreitem #CharID in the init to rule out yourself from the finditem. It's more of a cosmetic thing, but one less item to find with the finditem, which already is a slow command, though it won't really matter in a script like this.

And lastly, finditem has a max range of 18 tiles. You could use this to your advantage here. Advice the user to use the script in the center of their house and use "finditem * G_10" (to give 1 tile for error), thus preventing neighborg's items from being scanned and giving you the option not to call finditem more than once. The rest can be done as you already did, with for loop on #FindIndex, allowing you to mark them all once and without moving around.

----

Now, to widen your perspective in this matter, you could also do a script that scans for all items within 2 tiles from you, on the same floor (using z axis) and trying to pick up things. If you can pick something up, it's not locked or secured and can be placed into your backpack or a container within your backpack. Naturally, this would require the user to move through the whole house to get them all, but I'm giving this more as an example how you have other ways to do things like this with EasyUO. Of course, there are more possibilities here, but I'll definately give this script a try when I log in again and actually visit my house again...It's the small things we commonly overlook, which can and will ruin our day in the end XD
Post Reply