Created: 28 days ago on 05/18/2025, 03:02:38 AMUpdated: 14 days ago on 05/31/2025, 08:43:11 PM
Description: Updated 5/31/2025 Use new Backpack variable instead of Player.Serial
Updated 5/28/2025 do all items even if in bag
Updated 5/24/2025 output what the item id'd as
Updated 5/22/2025 to stop after we are done (but keep trying on failed attempts)
Originally found this one from Nalco in the Sagas Discord.
-- Item ID everything
-- UO Sagas
-- Found in the scripting discord: https://discord.com/channels/903311689112518708/1372217132586111046/1372217132586111046
-- Edited by: Jase Owns
-- ===============================
-- Last Updated:
-- 5/31/2025 Use new Backpack variable instead of Player.Serial
-- ===============================
Messages.Overhead("Starting ID Script", 89, Player.Serial)
local items = Items.FindByFilter(
{
name = "Unidentified",
hues = {0}
}
)
local totalItems = 0
for i, item in ipairs(items) do
if item.RootContainer == Player.Backpack.RootContainer then
totalItems = totalItems + 1
repeat
if item.Name ~= nil then
Messages.Overhead(item.Name, Player.Serial)
else
Messages.Overhead("No name item, lets try anyway", 214, Player.Serial)
end
Skills.Use('Item Identification')
Targeting.WaitForTarget(500)
Targeting.Target(item.Serial)
Pause(1000)
if not string.find(item.Name,"Unidentified") then
Messages.Overhead(item.Name, 89, Player.Serial)
end
until item.Name ~= nil and not string.find(item.Name,"Unidentified")
end
end
Messages.Overhead(string.format("Done IDing %d items", totalItems), 64, Player.Serial)