• 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

Question - Point me in the right direction? Rank 2 spells auto-selector and memming?

Shadow

Ultimate seasoned veteran member
So, I created a few characters and was attempting to buy some Rk. II spell kits for them, and realized this was a very tedious task that would be better served with a Lua script, or macro. I am looking to learn Lua, so looking for a little assistance, framework, guidance on where to start?

Let's say Minor-Glowing Essence of Life for instance. Take a stack, cycle clicking through, choosing the reward offered that is a Rk. II spell, memming it, clicking the next, previous reward is gone since spell memmed, choosing the current, rinse/repeat for all expansion spell sets you have in inventory. Would this be Lua, or macro do you think? I attempted to find something already in place, but didn't have any luck.
 
The pure scribing a spell stuff can be found in a number of existing projects. Both my released Lua Tutorial or Scriber by @Kuhle started with the same base code for this task. I haven't looked into any changes made for Scriber after I provided it to him; it could be a lot better than what I do (though I'm sure I've made adjustments as well).

The rest will involve keeping an array of spell stones for each expansion, combining with a list of different levels (Minor, Median, etc.), checking inventory to see which are available, right-clicking those that are, looking at the available text to see which, if any, of the associated spells are already in the book, selecting one (or selecting the option for the existing stone if no updates are available), clicking the "claim" button, waiting for it to appear in inventory, and then scribing (if any spells are selected). I expect Overseer will have some similar logic in it's reward claims that could be adapted for your use.

You'll also want to consider if you want to allow downgrades of stones (maybe you have a lot of Median, but only a couple Minor, for example).
 
Thank you so much for the reply and I will take a look at your tutorial, and Scriber resource. I was going to look at Scriber anyway to speed up the memming when it came to Rk. II spells after I converted them. Was taking 2-3 mins per spell for some reason.
 
Question - Point me in the right direction? Rank 2 spells auto-selector and memming?

Users who are viewing this thread

Back
Top
Cart