Feature Added - A new UO module function ListItemsInBoxByObjType

Bug reports and feature requests. New features can only be added to the current development version. Bug-fixes may be back-ported.

Current release: 099 / Current development: 100
Post Reply
Yukiko
Distro Developer
Posts: 2825
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Feature Added - A new UO module function ListItemsInBoxByObjType

Post by Yukiko »

This came to me as I was helping someone to create a programme (script) to search the map for a particular item. It seems to me, when searching a large area, that being able to specify the exact ObjType when searching would reduce the amount of memory used by the created array. So here is my proposed function:

Code: Select all

ListItemsInBoxByObjType( x1, y1, z1,  x2, y2, z2, ObjType, realm := _DEFAULT_REALM )
boberski
Grandmaster Poster
Posts: 275
Joined: Tue Oct 15, 2013 12:00 pm

Re: A new UO module function ListItemsInBoxByObjType

Post by boberski »

That is a great idea Kiko. I do not even remember how many times that function would made my life easier :P
ThisIsMe
Distro Developer
Posts: 101
Joined: Sun Jul 17, 2016 1:29 am
Contact:

Re: A new UO module function ListItemsInBoxByObjType

Post by ThisIsMe »

This would be a good, would make things a lot easier for doing certain things and can already think of at least one use for a function such as this.
Post Reply