• 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
Resource icon

Release Grouper 1.2

No permission to download
vandersl updated Grouper with a new update entry:

Auto-hide buttons and a few tweaks.

Updated behavior of the 'show buttons' toggle to support automatic hiding / showing of the buttons when the window loses or gains focus. This behavior is enabled by default. To disable it (always show the buttons) click the toggle arrow. The setting is saved in the config file per character. Note that to save the config settings you must close and restart Grouper.

Also tweaked the following:
- will no longer get that annoying ImGui warning about duplicate button IDs
- added tooltip help...

Read the rest of this update entry...
 
What the heck is going on inside of init.Lua?

Code:
-- (Re)starts Grouper.lua (thanks to rouneq for the restart snippet).

local mq = require('mq')

local function luaCommand(command, ...)
    local line = table.concat({...}, ' ')
    mq.cmd.lua(command .. " " .. line)
end

local function luaRun(...)
    luaCommand("run", ...)
end

local function luaStop(...)
    if (string.lower(select(1, ...)) == "restart") then
        mq.exit()
    end
    luaCommand("stop", ...)
end

local function luaRestart(...)
    luaStop(...)
    mq.delay(100)
    luaRun(...)
end

luaRestart('grouper/grouper.lua')
 
@vandersl take a look at what brain is pointing out - there's some weird code practices there, but also, your "main file" should be your init.Lua and that should be the "guts" of your script, then your script can call or run other things if needed - you should rename the "grouper.Lua" to "init.Lua" and then have the init.Lua run the "grouperwatcher.Lua" or something (heavy empasis on something)

also, with regards to cwtn and commands and such - please remove the aliases - the cwtn plugins create those aliases, and you're potentially overwriting if folk's had changed them for their personal use. also, please use "nosave" for changing people's cwtn settings, like burnallnamed.
 
@brainiac , @Sic

The funny business with the init.Lua was my attempt at being able to restart the script without first unloading it. init.Lua is the main script that then stops / spawns the grouper.Lua script. I at least find this handy when developing to avoid having to first stop all instances before restarting after making a change. Not sure what issues this will cause other than it looking funny to see 'Running Lua script 'grouper/grouper' with PID' and 'Ending Lua script 'grouper' with PID' in the MQ window, but if it has the potential for incompatibity with the Lua manager in future I will take it out and just use the main 'init.Lua'.

Creating the CWTN aliases was put in before the update to the CTWN plugins that added them automatically. I must have missed the memo when that change was made, but now I see that creating the aliases is under 'Spoiler: old info' in your hotkeys listing. I will take that part out as no longer required.

I know the preference is to use 'nosave' when changing settings in a script (e.g., mission automation, etc.) where the change is not being made by the user and they may not know it was changed or that they need to change it back. I am a little less decided on using it here, as all I am doing is broadcasting the command to all members under user control. But I will defer to better minds here and add 'nosave' for the CWTN commands.

Thanks for the feedback.
 
You should just take out the reloader thing. Make a hotkey or alias to stop/start or just hit the up arrow in the console to replay command history
 
vandersl updated Grouper with a new update entry:

Incorporate feedback from @Sic and @brainiac

Incorporated feedback:
- remove funky reloading method
- CWTN changes are nosave
- no longer creates CWTN aliases when using Setup

Note - The script still issues some MQ2Boxr commands when using Camp Off, Camp On and Chase. These do not support 'nosave' so use of these commands will make changes to your CWTN mode that will persist after reloading the plugins.

Read the rest of this update entry...
 
Also, I know @Sic and @brainiac will be very busy for the next while, so I will not post any more updates to Grouper or release planned updates to Siwtcher for at least a week. I didn't realize they would take the time to review right away and I don't want to take any more time from their schedules. Thanks guys.
 
Also, I know @Sic and @brainiac will be very busy for the next while, so I will not post any more updates to Grouper or release planned updates to Siwtcher for at least a week. I didn't realize they would take the time to review right away and I don't want to take any more time from their schedules. Thanks guys.

don't worry about me. post away.
 
Also, I know @Sic and @brainiac will be very busy for the next while, so I will not post any more updates to Grouper or release planned updates to Siwtcher for at least a week. I didn't realize they would take the time to review right away and I don't want to take any more time from their schedules. Thanks guys.
Post your updates bro, you don't get in anyone's way - you got stuff to update? Update it
 
Well, ok then. I have a Switcher update to do, but probably won't submit until after the patch. Things will be hectic enough.
as long as you're making that call entirely based on your personal load - you're not disrupting anyone else (other than potential users)
 
Release Grouper

Users who are viewing this thread

Back
Top
Cart