• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run
CHIMpS Drop

Release CHIMpS Drop 2.0

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?"
 
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