• 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
PowerSource.lua - Auto Equip Power Source

Release PowerSource.lua - Auto Equip Power Source 2022-11-19

Cannonballdex

Master Tinkerer
Creator
Cannonballdex submitted a new resource:

PowerSource.lua - Auto Equip Power Source - Destroy Spent Power Source and Equip a New

Simple script to auto replace a spent Power Source.

NOTE: This will destroy your spent Power Source.

Directions: Equip a Power Source and type /lua run powersource

-- powersource.lua by Cannonballdex
-- 09/22/22
-- auto swaps expended power source
-- destroys old power source
-- run script with power source of choice equipped

Read more about this resource...
 
a lot of folks don't realize that to delete something means it goes on your cursor, with automation doing lots of cursor stuff and things like double forage, might be worth mentioning that to folks
 
Definitely love this idea, I’m always forgetting to switch out power Sources. Destorying seems like a waste of good tribute :P
 
Definitely love this idea, I’m always forgetting to switch out power Sources. Destorying seems like a waste of good tribute :P
Never crossed my mind. lol I'm sure you can alter the code and save the items. :) The only time I ever think about tribute is when I am either in the guild hall cleaning my bags or cleaning out the bank. I think I have enough tribute and guild hall rent to last the rest of my life. lol
 
tried to use this. it doesn't autoswap the powersources currently. it'll pick up the power source but then it just inventories it. gots a little bit of work to do my friend :)
 
made some modifications, you can try this and see if it works

CheckSource
Lua:
    if mq.TLO.Me.Inventory('powersource').Name() ~= Source then
        mq.cmdf('/itemnotify "%s" leftmouseup',Source)
        mq.delay(1000)
        mq.cmd('/ctrl /itemnotify powersource leftmouseup')
        mq.delay(1000)
        mq.TLO.Window('ConfirmationDialogBox').Child('CD_Yes_Button').LeftMouseUp()
    end

there are better ways to do this and faster. this was just a 2 min mod to make it work for the moment
 
made some modifications, you can try this and see if it works

CheckSource
Lua:
    if mq.TLO.Me.Inventory('powersource').Name() ~= Source then
        mq.cmdf('/itemnotify "%s" leftmouseup',Source)
        mq.delay(1000)
        mq.cmd('/ctrl /itemnotify powersource leftmouseup')
        mq.delay(1000)
        mq.TLO.Window('ConfirmationDialogBox').Child('CD_Yes_Button').LeftMouseUp()
    end

there are better ways to do this and faster. this was just a 2 min mod to make it work for the moment
Did you.
run script with power source of choice equipped
 
Did you.
run script with power source of choice equipped
yes, the command /autoinventory will not work on live as luclinite sources are attunable, so every time you switch them out, a confirmation box pops up

/autoinventory will only put it back in your bag
 
How does this thing work? Does it just keep a source slotted and then swap/destroy as long as it's running? Or, will it equip/ unequip a source for when you want it to? For instance, I don't care about running a source for group stuff, but I do want to run it for raids.
 
How does this thing work? Does it just keep a source slotted and then swap/destroy as long as it's running? Or, will it equip/ unequip a source for when you want it to? For instance, I don't care about running a source for group stuff, but I do want to run it for raids.
Does it just keep a source slotted and then swap/destroy as long as it's running? Yes.

Equip a Power Source and type /Lua run powersource
-- run the script with power source of choice equipped
-- auto swaps expended power source
-- destroys old power source
 
Release PowerSource.lua - Auto Equip Power Source

Users who are viewing this thread

Back
Top
Cart