• Hail, we're RedGuides. We want you to play several EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
Easy.lua

Release Easy.lua BETA v10.0

Cannonballdex

Master Tinkerer
Creator
Commits
2
Cannonballdex submitted a new resource:

Easy.lua - Status GUI with Multiple Useful Scripts

Easy.lua

A Lua GUI with useful scripts that run with a check box.
This is a BETA version and still under construction. Please use accordingly.

Displays:
Running / Pause status
Hunger
Thirst
Drunk
Campfire Zone and Timer if up
Power Source / Qty / Power Remaining

Options:
Campfire - Will keep up a campfire if requirements for a campfire are met. (excludes safe zones)
Fellowship - Will use fellowship if a camp is up in another zone.
Power Source - Will automatically equip and destroy spent...

Read more about this resource...
 

Attachments

Last edited:
Code:
mq.cmd.echo('\agLoading... \atEasy.lua \aoby \agCannonballdex \atBETA 1.0')

My friend, the print function exists for a reason

edit: it takes the same arguments, but it just prints what you give it instead of going through the whole entire command machinery.
 
As I haven't been able to fully test this out for every possible thing that could go wrong. If you experience anything unusual or appears to broken, contact me. Also, looking for other suggestions and ideas that might enhance the script.
I know everyone has different ideas about different scripts. Sometimes I get caught up in tailoring scripts to my individual liking.

Expansion Owned:
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    51.3 KB · Views: 22
Cannonballdex updated Easy.lua with a new update entry:

Added Features and Some Changing Color Status

Added:
Grp Invis Check - Not invis shows red and Invis shows green for each toon in group
Total Players in zone - Total Ignores anyone in your guild
Color Coded - Drunk, Zone count , Sub Status to change colors depending on the status and days left will go yellow at 7 days red at 3 days
Credit to Ladon and Kaen01 and someone else I can't remember right now because I'm old and forget a lot (confirmed by my wife) (when I do I will add the credit) that I either used Ideas, helped me in some...

Read the rest of this update entry...
 
Canon, wanted to give you thanks and applause for this, very cool. I tried it last night and this morning before servers went down. I don;t fully get the three tabs options yet..Is it like 'This character' vs the group options? It auto deleted my empty Power Source which surprised me..not sure how to tell it to use another.
 
Canon, wanted to give you thanks and applause for this, very cool. I tried it last night and this morning before servers went down. I don;t fully get the three tabs options yet..Is it like 'This character' vs the group options? It auto deleted my empty Power Source which surprised me..not sure how to tell it to use another.
Click on the tabs, just moved some options to tabs for easy access. The power source will delete an empty source and equip another one if you have one in your inventory. If you want to change the name of the power source you would uncheck equip power source change your source and then recheck auto equip power source.
 
Is there a way to start the lua with it being paused and able to save the settings ?
/Lua pause easy (will pause the script and not change settings)
Using the pause button on the script doesn't actually pause the script it only stops anything from happening in the script
When you check boxes and uncheck boxes those things will run or not run. Once you check the box and /Lua end easy it will revert back to the default settings the next time you load it.

You edit these settings in the script

Code:
--Default Customized Settings--
local eat_level = 3500
local drink_level = 3500
local get_drunk = 180
local cookie_to_summon = 20
local spiced_tea_to_summon = 20
local warm_milk_to_summon =20
local brells_brew_to_summon = 20
local cooked_turkey_to_summon = 20
local scoot_distance = 500
local alert_distance = 500
local toon_assist_pct_on = 98
local toon_assist_pct_off = 90
local toon_assist_target_dist = 15
local parcel_zone = 737

Change any of these to true or false to load when the script is loaded

Code:
local options = {
        {
            name = 'Campfire',
            helper = 'Will drop a Campfire if all requirements are met for a Campfire',
            selected = false,
            action = Campfire
        }, {
            name = 'Fellowship',
            helper = 'Will teleport back to your Campfire in Another Zone if one is Placed',
            selected = false,
            action = Fellowship
        }, {
            name = 'Power Source',
            helper = 'Will replace spent Power Source and Destroy Old Power Source',
            selected = true,
            action = PowerSource
        }, {
            name = 'Respawn Bind',
            helper = 'Respawn to Bind Immediately After Death',
            selected = false,
            action = RespawnBind
        }, {
            name = 'Scoot Camp',
            helper = 'Get out of camp if PC is near',
            selected = false,
            action = CheckDistance
        }, {
            name = 'PC Alert',
            helper = 'Alert As PC gets Close',
            selected = false,
            action = CheckDistance2
        }, {
            name = 'Clear Rods',
            helper = 'Clear Mod Rod from cursor',
            selected = true,
            action = ClearModRods
        }, {
            name = 'Clear Cursor',
            helper = 'Clear any item from cursor',
            selected = false,
            action = ClearCursor
        }, {
            name = 'Destroy Rods',
            helper = 'Destroys Mod Rods on your cursor',
            selected = false,
            action = DestroyModRod
        }, {
            name = 'Claim Frags',
            helper = 'Converts Overseer Fragments to Dispenser',
            selected = true,
            action = claim_fragments
        }, {
            name = 'Force Feed',
            helper = 'Eat Specified Food when Hungry',
            selected = true,
            action = ForceFeed
        }, {
            name = 'Force Drink',
            helper = 'Drink Specified Drinks when Thirsty',
            selected = true,
            action = ForceDrink
        }, {
            name = 'Get Drunk',
            helper = 'If you have Alcohol, You will get Drunk',
            selected = false,
            action = GetDrunk
        }, {
            name = 'Close Book',
            helper = 'Closes Spell Book when open more than 10 Seconds',
            selected = true,
            action = CloseBook
        }, {
            name = 'Destroy Bulwark',
            helper = 'Destroys Empty Bulwark of Many Portals',
            selected = true,
            action = OldBulwark
        }, {
            name = 'Close PopUp',
            helper = 'Closes F2P PopUp',
            selected = true,
            action = ClosePopUp
        }, {
            name = 'Check Parcel',
            helper = 'Attempts to Retrieve Items from parcel when notified (Set for zone 737)',
            selected = true,
            action = CheckParcel
        }, {
            name = 'Auto Loot',
            helper = 'Auto Loot items checked in Advanced Loot, Only use on Master Looter',
            selected = false,
            action = LootCheck
        }, {
            name = 'Toon Assist',
            helper = 'All Connected DanNet Melee will Toon Assist the Main Tank',
            selected = false,
            action = ToonAssist
        }, {
            name = 'Lesson',
            helper = 'Use Lesson of the Devoted when Ready',
            selected = false,
            action = Lesson
        }, {
            name = 'Teach',
            helper = 'Teach Languages to Your Group',
            selected = false,
            action = Language
        }
    }
    local mercoptions = {
        {
            name = 'Pop Merc',
            helper = 'Will UnSuspend Your Mercenary when Suspended',
            selected = false,
            action = PopMerc
        }, {
            name = 'Revive Merc',
            helper = 'Will Revive a Dead Mercenary',
            selected = true,
            action = ReviveMerc
        }, {
            name = 'Lazy Merc',
            helper = 'Will place your Mercenary in Passive mode while in Safe Zones',
            selected = true,
            action = LazyMerc
        }, {
            name = 'Working Merc',
            helper = 'Will place your Mercenary in Balanced mode when leaving Safe Zones',
            selected = true,
            action = WorkingMerc
        }
    }
    local itemoptions = {
        {
            name = 'Summon Cookies',
            helper = 'Uses Fresh Cookie Dispenser',
            selected = true,
            action = CookieDispenser
        }, {
            name = 'Summon Tea',
            helper = 'Uses Spiced Iced Tea Dispenser',
            selected = true,
            action = TeaDispenser
        }, {
            name = 'Summon Milk',
            helper = 'Uses Warm Milk Dispenser',
            selected = false,
            action = MilkDispenser
        }, {
            name = 'Summon Brew',
            helper = 'Uses Brell\'s Brew Dispenser',
            selected = false,
            action = BrewDispenser
        }, {
            name = 'Endless Turkey',
            helper = 'Uses Endless Turkeys',
            selected = false,
            action = TurkeyDispenser
        }
    }
    local classoptions = {
        {
            name = 'ROG Poison',
            helper = 'Summons Poison Using Leg Slot (Rogue Only)',
            selected = false,
            action = RoguePoison
        }, {
            name = 'MAG Cauldron',
            helper = 'Summon Items Using Cauldron (Mage Only)',
            selected = false,
            action = CheckCauldron
        }
    }
 
Last edited:
Canon, I added 'Turnip' to the food. I normally use that with MQ2Feed, but am happily trying it out with EasyLua. I have a worry though, that if you update this Lua tomorrow, will my added info be lost? If this is the case..is it possible for a .ini be available for the options, and would not interfere with the resource being updated?
By the way I am enjoying this. Very nicely done.
 
Canon, I added 'Turnip' to the food. I normally use that with MQ2Feed, but am happily trying it out with EasyLua. I have a worry though, that if you update this lua tomorrow, will my added info be lost? If this is the case..is it possible for a .ini be available for the options, and would not interfere with the resource being updated?
By the way I am enjoying this. Very nicely done.
You can add as many as you like. :) If you let me know I can add them to the updates.

Code:
local food = {
    "Cooked Turkey",
    "Fresh Cookie",
    "Aircrips Apple",
    "Iron Ration",
    "Cluster of Kelp",
    "Large Brine Shrimp",
    "Slice of Birthday Cake",
    "Turnip",
    "Summoned: Shir Berenj"
}

local drink = {
    "Water Flask",
    "Ether-Fused Tea",
    "Warm Milk",
    "Spiced Iced Tea",
    "Summoned: Nepeta Mint Tea"
}

Also, looking at the additions.
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    63.8 KB · Views: 13
Last edited:
Cannonballdex updated Easy.lua with a new update entry:
Thanks to Coldblooded and kaen01 for helping me out with this.
Updates

Class Options - Added a checkbox for AA Rez
Check corpse in a 100 ft radius and then see if the corpse is a peer connected to DanNet
Will issue a consent to the toon, summon the corpse and cast the Rez AA
This will only use the 96% Rez AA if you have it for Cleric, Druid, Shaman or Paladin
--Blessing of Resurrection CLR
--Rejuvenation of Spirit DRU SHM
--Gift of Resurrection PAL
Updated checking peers in instanced zones using an instance table. Will revisit this some other time.

Read the rest of this update entry...
 
Thought it to be useful for a rez class that is out of your group to pick up the slack of rezzing. Not fully tested, but tested some for what I was doing and it worked great.
Oh cool, Did not think of trying it that way, I have a 110 Shaman babysitting a group, I'll turn on his rez for that group because their baby cleric goes OOM fast.
 
The new Caudron is chain-summoned when "Cauldron" is checked and the mage has the RK. II memmed.
Sry bout that. I updated the cauldron.Lua and either missed the easy.Lua or crossed a file somewhere. Update incoming.

Also, if you want to summon things from a previous cauldron, delete your cauldron and manually summon an older cauldron and it will use the older cauldron. I know the new cauldron doesn't have instant gate clickies now :(
 
For the abilities in the tab "Class" you may want to consider to add a condition for each, in order to filter to use them only if the class fits. Maybe something like:
filter class
Code:
if tostring(mq.TLO.Me.Class.ShortName()) == 'ROG' then
-- do the class stuff for ROG
end
If such filters are used, one could decide to have them all active by default and still won't get any error-messages like "you don't have the ability "hide" or "sneak".
 
Cannonballdex updated Easy.lua with a new update entry:

Added Settings

Added Clicky Settings to Clickies Tab
You can edit the amount of food and drink you want to summon in the UI
Added a Favs Tab - More on this later
Moved RespawnBind, CloseBook and PowerSource to the Camp Tab
Add Option Forage (will only forage while standing)
Clear Rods and Destroy Rods, only select none or one (if both are selected the Mod Rod will get inventoried)
Changed some dannet commands that were including the sender in the command.

Read the rest of this update entry...
 
please consider mod:
original line 789 ff
Code:
    if mq.TLO.Me.Class.ShortName() ~= 'ROG' then
        print('Script only runs on Rogue with poison clicky legs.')
        while mq.TLO.Me.Class.ShortName() ~= 'ROG' do
            break
        end
    end

to

mod
Code:
    if mq.TLO.Me.Class.ShortName() ~= 'ROG' then
        print('Script only runs on Rogue with poison clicky legs.')
        while mq.TLO.Me.Class.ShortName() ~= 'ROG' do
            break  --- will break aka leave the while-loop
        end
        return   ---- returns from function
    end

for the class-specific functions
 
please consider classcheck for RezCheck:
Code:
local function RezCheck ()
    local maxdistance = 100
    local corpse_count = mq.TLO.SpawnCount('pccorpse radius '..maxdistance)()
    local peer_list = split(mq.TLO.DanNet.Peers(), '|')
    if mq.TLO.Me.Class.ShortName() ~= 'CLR'and mq.TLO.Me.Class.ShortName() ~= 'DRU' and mq.TLO.Me.Class.ShortName() ~= 'SHM' and mq.TLO.Me.Class.ShortName() ~= 'PAL' then
        return -- if no rezz-class return from function
    end
 
please consider change in classcheck for CheckCauldron:

classcheck
Code:
    if  mq.TLO.Me.Class.ShortName() ~= 'MAG' then
        return
        --print('Script only runs on Magicians with a spell to summon a cauldron.')
    end

just return if no mage without message.

with these modifications one can keep those classfunctions active by default
 
please consider mod:
original line 789 ff
Code:
    if mq.TLO.Me.Class.ShortName() ~= 'ROG' then
        print('Script only runs on Rogue with poison clicky legs.')
        while mq.TLO.Me.Class.ShortName() ~= 'ROG' do
            break
        end
    end

to

mod
Code:
    if mq.TLO.Me.Class.ShortName() ~= 'ROG' then
        print('Script only runs on Rogue with poison clicky legs.')
        while mq.TLO.Me.Class.ShortName() ~= 'ROG' do
            break  --- will break aka leave the while-loop
        end
        return   ---- returns from function
    end

for the class-specific functions
Good Idea. Thanks
 
Kind of like the idea of moving some of the (what I feel like is more important) information to the top, so no matter what tab you are using you can still get the scoop on who is invis and who is in zone.
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    42.7 KB · Views: 5
Hi CBD, I'm just dipping my feet in the luas, slowly getting back into the MQ swing of things after being away for a few years... I'm trying to load easy.Lua on a lowbie toon I've created, and its ending the script with some errors that it spits out in the MQ window..
Looks(?) like because he's a lowbie toon, the nil value for power source is causing it to choke? I had a precursory look in the Lua code to see if i could disable / comment out the check for a PS until this guy is higher level and will be bothered to use them...

Here's what its spitting out at me:
1671753154045.png

I'm able to open and use the quickhud Lua with no problems, and a few other ones with no issues with gui's displaying..

Sorry, I'm still so new back to things, I'm helpless as can be!

Can you give me some direction in this issue? (If its because of no PS, I'll just wait till hes higher lvl and then start using when he can equip.. not a biggie.. but i sure want to use this.. I remember having SO MANY of my old mq2melee DOWNSHITS for all this stuff, this will be so sweet to have!

Cheers,
LorDeth
 
Hi CBD, I'm just dipping my feet in the luas, slowly getting back into the MQ swing of things after being away for a few years... I'm trying to load easy.lua on a lowbie toon I've created, and its ending the script with some errors that it spits out in the MQ window..
Looks(?) like because he's a lowbie toon, the nil value for power source is causing it to choke? I had a precursory look in the lua code to see if i could disable / comment out the check for a PS until this guy is higher level and will be bothered to use them...

Here's what its spitting out at me:
View attachment 44542

I'm able to open and use the quickhud lua with no problems, and a few other ones with no issues with gui's displaying..

Sorry, I'm still so new back to things, I'm helpless as can be!

Can you give me some direction in this issue? (If its because of no PS, I'll just wait till hes higher lvl and then start using when he can equip.. not a biggie.. but i sure want to use this.. I remember having SO MANY of my old mq2melee DOWNSHITS for all this stuff, this will be so sweet to have!

Cheers,
LorDeth
I have actually seen this error before and thought I had taken care of it. It shouldn't matter what level you are. This is a bad check on the power source.
 
Release Easy.lua

Users who are viewing this thread

Back
Top
Cart