• 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

Tip - Hotkey to Get all toons currently running luas

boxbuddy

I am not an emulator
Creator
Joined
Dec 17, 2018
RedCents
1,290¢
Pronouns
He/They
Forgive me if something like this has been posted before, but I haven't been able to find anything like it.

Ever wonder if your toons are running all the luas that they should be? Maybe one crashed and you didn't get notified? Or maybe you're writing your own luas and want to check for stability. Either way, there isn't a direct way to bulk get all of the running scripts without going through each box and doing /lua ps and checking that way... Until today!
Just stick the following command in a hotbutton, and enjoy:
/bcaa //lua parse local function myRS() local i = ""; for pid in string.gmatch(mq.TLO.Lua.PIDs(), "%d+") do i = i .. tostring(mq.TLO.Lua.Script(pid).Name() .. " ") end return i end mq.cmd("/bc " .. myRS())
Output would be:
<Toon1> lootly rgmercs boxhud overseer
<Toon2> overseer lootly rgmercs
<Toon3> lootly rgmercs
Oh, looks like Toon3's overseer crashed! Now you know and can fix it.
 
This somewhat goes hand-in-hand with
 
This somewhat goes hand-in-hand with
smh it uses dannet and I'm a Linux user :P
If everybody switched their Luas to using the lib/dannet/helpers.lua to assist with writing their code then I'd be more excited to finish my dannet to EQBC helper Lua library so that no one has to feel left out if they're running on older hardware/on Linux. Right now I'm stuck on thinking of a way to process observers via EQBC without completely spamming your EQBCS at a dangerously fast rate (I've noticed Windows EQBCS has difficulty processing sending thousands of EQBC messages per minute compared to a self-compiled Linux EQBC server, which doesn't care if it gets spammed).

Anyways, I have another super script that restarts my "unstable" scripts every so often over EQBC (only 1 toon runs the script). Seems like Watchdog does something similar except it waits for toons to actually crash before restarting lol.
 
Tip - Hotkey to Get all toons currently running luas

Users who are viewing this thread

Back
Top
Cart