• You've discovered RedGuides, an EverQuest multi-boxing and scripting community 🧙‍♀️⚙️. We want you to play several EQ characters at once, come join us and say hello! 👋

  • A TLP without truebox has thawed (Very Vanilla ready)
    Frostreaver
CHIMpS Drop

Release CHIMpS Drop 2.0

No permission to download
Joined
Dec 26, 2017
RedCents
3,330¢
Diebold666 submitted a new resource:

CHIMpS Drop - Drop inventory items into player housing plots using wildcards, bags and categories

CHIMpS
Character Housing Inventory Management p[REDACTED] System


CHIMpS Drop will drop items from your inventory into a player housing plot.
You can specify a category of items, wildcards or specify a bag to drop all contents into the plot.

IMPORTANT RULES:
1) Arguments are forced into lowercase.
2) Single and Doublequotes are reserved. You can't use single or double quotes except to wrap multiple arguments. "Alkabar's Underwear of Warming" is bound to screw up the token...

Read more about this resource...
 
This seems to work pretty well, however is there a "collectible" category? As in it would automatically drop all collectibles into the house?"
 
I cannot find the Json file in my to try and add collectible category, has anyone had success?
 
Code:
function build_inventory_table()
    local inventory_table = {}
    for index = 1, 12, 1 do
        local index_string = string.format("pack%s", index)
        if mq.TLO.Me.Inventory[index_string] and mq.TLO.Me.Inventory[index_string].Item then
            if mq.TLO.Me.Inventory[index_string].Container then
            --print "====="
            --print (index_string)
            --print (mq.TLO.InvSlot(index_string).Item.Container)
            --            for local_index = 1, mq.TLO.InvSlot(index_string).Item.Container() , 1 do
            --    print "--"
            --    print (mq.TLO.InvSlot(index_string).Item.Item(local_index))
            --                table.insert(inventory_table, mq.TLO.InvSlot(index_string).Item.Item(local_index))
            --            end
            local local_index
        else
            table.insert(inventory_table, mq.TLO.Me.Inventory[index_string].Item.Name)
        end
    else
        print("Error: mq.TLO.Me.Inventory[" .. index_string .. "] or its Item is nil")
    end
end
return inventory_table
end

Anyone using this, this above fixes the Nil issue with line 155.
 
I am trying to figure out the category file structure but keep getting an error when I use it. This is when I run '/Lua run chimpsdrop cat='silk'. I know the problem is probably my fault and lack of understanding.

1732044163444.png

Here is the structure of the json file I have:

JSON:
{
    Name = "research",
    Description = "Research materials",
    Like_strings = { "words of", "binding powder", " papyrus", " spell scroll", " parchment", "Nilitim", "Rune of ", "Salil", "Vellum", "Smudged R", "Sooty ", "Stained fine ", "Writing Ink" },
    Exclude_strings = {}
},
{
    Name = "silk",
    Description = "Silks and Pelts for tailoring",
    Like_strings = { " silk", " skin", " pelt", " hide" , " fibers" , " fur", "leather roll" , " scale" , "strands of ether", "storm volaas hair"},
    Exclude_strings = {" silk net"}
},
{
    Name = "meat",
    Description = "Meat, parts and blood for Cooking and other... things",
    Like_strings = { "egg", " meat", " parts", " blood", " heart", " tail", " guts" },
    Exclude_strings = {}
},
{
    Name = "archery",
    Description = "Archery related TS items",
    Like_strings = { "fearbone", " feather", " wood", "lumber", " timber", "Braxi Horn" , " oak", " spinneret ", " wing bones", " branch", " bowstave", "lumber plank", " laminate", " sap", " logs" },
    Exclude_strings = {}
},
{
    Name = "gems",
    Description = "Jewelry items and high value vendor / bazaar items",
    Like_strings = { "diamond", "sapphire", "garnet", "glowrock" , "glowstone", "crystal", "meldstone", "miragestone", "uncut " },
    Exclude_strings = {}
},
{
    Name = "ore",
    Description = "Stone, Ore, Metals and other items for blacksmithing",
    Like_strings = { " ore", " stone" },
    Exclude_strings = {}
}
 
Release CHIMpS Drop

Users who are viewing this thread

Back
Top
Cart