• 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

Question - Load and Unload lua

Joined
Oct 13, 2022
RedCents
414¢
I can't seem to find how to load and unload Lua with a hotkey. I want to make a button that uses Lua, guildclicky and then sends me to a zone with one click for my whole crew. But I need to be able to load and unload Lua at will without doing it on all my toons manually one at a time.
 
Just to be clear are you trying to load the Lua or use it?
For loading it add this to your ingame.cfg /Lua run guildclicky
then make a hotkey in button master or socials area /dg group /gc wherever
 
so something like /dgae /lua run guildclicky <insert zone name> to a button/hotkey and to unload /dgae /lua stop guildclicky
 
Just to be clear are you trying to load the lua or use it?
For loading it add this to your ingame.cfg /lua run guildclicky
then make a hotkey in button master or socials area /dg group /gc wherever
Trying to load Lua so i can load guildclicky. Sometimes I need Lua turned off, and forget to turn it back on.
 
It interferes with another plugin/script that is used for a specific raid.
What specific Lua script interferes with your raid and why are you unloading the whole plugin instead of just stopping that one script? There should be 0 reason to unload the plugin.
You can stop a Lua script with /Lua stop <scriptname>
 
What specific lua script interferes with your raid and why are you unloading the whole plugin instead of just stopping that one script? There should be 0 reason to unload the plugin.
You can stop a lua script with /lua stop <scriptname>
Or use the gui with /lua gui
 
What specific lua script interferes with your raid and why are you unloading the whole plugin instead of just stopping that one script? There should be 0 reason to unload the plugin.
You can stop a lua script with /lua stop <scriptname>
I guess I miss "spoke". Lua itself causes issues with it. Its a custom MQ plugin/macro/script that I didn't write, so its not mine to share here. :)
 
Basically I need to load or unload LUA. the other stuff isnt really the issue.
could you explain specifically why.

we want to help you, but all of us suspect there is a missing step or two in this conversation.

Please articulate exactly the problem you're trying to solve with this
 
What part of the Lua plugin would interfere with some other plugin/macro/anything? Unless your other plugin/macro/anything is also providing Lua, I'm pretty sure that answer should be no there is actually nothing interfering.
 
I hate to throw into this on the obviously wrong side, but I've had this happen with Lem on 2 chars in the last 3 weeks. Had to unload mq2lua to get binds back. It was like a Lua crashed without unbinding and I couldn't get it to start up again without reloading mq2lua.

I like to mess around with the Luas as I'm playing so assumed I'd done something stupid but seen a couple mentions of it around on discord.
 
could you explain specifically why.

we want to help you, but all of us suspect there is a missing step or two in this conversation.

Please articulate exactly the problem you're trying to solve with this
Lua itself causes issues with a custom MQ plugin/macro/script written by a friend for SV raid/mission. I didn't write it, so its not mine to share here or I would post it for review. In essence, I probably just need to make a hotkey that stops Lua on my crew, and a hotkey that starts it on them all.

What part of the lua plugin would interfere with some other plugin/macro/anything? Unless your other plugin/macro/anything is also providing lua, I'm pretty sure that answer should be no there is actually nothing interfering.
It doesnt run while Lua is loaded.
 
but why? is there an error? something conflicting? they both bind /lua? this custom thing defines its own lua data type? what you're saying isn't really making any sense.
From what I understand, and I am not a programmer. It is its own Lua system and isn't compatable with the one that runs inside kissassist/MQ2.
 
If you can't explain specifically, that's ok. It just means we can't help you with the root problem.
 
From what I understand, and I am not a programmer. It is its own lua system and isn't compatable with the one that runs inside kissassist/MQ2.
Above you said its a plugin or macro or script, then you say its another form of Lua language that conflicts with what the creators here use. I'm only offering a suggestion here, but if you ask and are willing to trust the more knowledgeable staff here in private, you may get your solution very easily, as well as help out the community here by finding a conflict that may arise in the future. Whomever write this code would not be the only person to ever use a similar means, so you would help everyone, hopefully anyways. I ask LOTS of stupid things I think may never be resolved, some are, some are not. We have a lot of really talented people here, just think about it.
 
I wouldn't worry about swapping between Lua plugins in your hotkeys for running something like guildclicky.

button 1: /multiline ; /dga /plugin Lua unload ; /timed 5 /dga /plugin myownlua
button 2: /multiline ; /dga /plugin myownlua unload ; /timed 5 /dga /plugin Lua
button 3: /dga /Lua run <any mq2lua script>

Curious why this person is maintaining a separate Lua plugin though. Are there just private features that the public Lua plugin is lacking? Did their Lua plugin exist before MQ and they just don't want to port things to the public plugin? Is their plugin somehow specific to this single raid that you use it for?

I know there is some like 8+ year old Lua plugin out there on the internet from mq2 days but that thing looked abandoned for a long time.
 
I wouldn't worry about swapping between lua plugins in your hotkeys for running something like guildclicky.

button 1: /multiline ; /dga /plugin lua unload ; /timed 5 /dga /plugin myownlua
button 2: /multiline ; /dga /plugin myownlua unload ; /timed 5 /dga /plugin lua
button 3: /dga /lua run <any mq2lua script>

Curious why this person is maintaining a separate lua plugin though. Are there just private features that the public lua plugin is lacking? Did their lua plugin exist before MQ and they just don't want to port things to the public plugin? Is their plugin somehow specific to this single raid that you use it for?

I know there is some like 8+ year old lua plugin out there on the internet from mq2 days but that thing looked abandoned for a long time.
Sorry for the slow response on my end. I haven't been able to play much lately nor check the forums. This basically solved it for me, thanks aquietone. I will ask the "owner" of the macro if he is ok with me posting it. :)
 
Question - Load and Unload lua

Users who are viewing this thread

Back
Top
Cart