• You've discovered RedGuides 📕 an EverQuest multi-boxing community 🛡️🧙🗡️. We want you to play several EQ characters at once, come join us and say hello! 👋
  • IS THIS SITE UGLY? Change the look. To dismiss this notice, click the X --->
Resource icon

Lua - SharedDataClient (1 Viewer) 03/31/2024

Download
Joined
Sep 13, 2019
RedCents
12,997¢
aquietone submitted a new resource:

SharedDataClient - Its kinda like DanNet or NetBots built on top of the actors system

Implements an actor based SharedData TLO for MacroQuest

The script will broadcast messages over the actor system at the configured frequency containing key/value pairs of all configured properties.
Properties include a key (the name the property will be exposed as in the character data) and an expression (a parsable line of macroscript like ${Me.PctHPs}).
Properties will only be included in messages when the value has changed.
Properties will be rebroadcast even if they haven't...

Read more about this resource...
 
One random application of this:

Using it to broadcast timers which can then be used within buttonmaster, so that you can have hotkeys with cooldown timers for remote characters abilities:

The button created on some character other than the cleric:
1711413365031.png

The property added to SharedDataClient on the cleric:
image.png


Saw someone do this on project lazarus with e3next and thought it'd be neat to be able to do this without e3next.You could do similar with pre-configured DanNet observers as well.
 
Thanks aquietone I will try it asap, by now using Rekka one, but will transfer to this one soon
Wow checking it and its a great solution to use on Buttonmaster and on ui.
Azote
 
One random application of this:

Using it to broadcast timers which can then be used within buttonmaster, so that you can have hotkeys with cooldown timers for remote characters abilities:

The button created on some character other than the cleric:
View attachment 59530

The property added to SharedDataClient on the cleric:
image.png


Saw someone do this on project lazarus with e3next and thought it'd be neat to be able to do this without e3next.You could do similar with pre-configured DanNet observers as well.
AQ, you are saying that this would be able to have a (lets say) 6 Button master bars, one for your driver and the other 5 with these 'broadcast timers' for far more stay on your driver character window?
 
I am struggling with the indentation of tables, but I dont know whether it is intended.

I have the following script (which is added to Custom Sources) to store all my current buffs into a table:

INI:
local function MyBuffsFunction()

    local MyBuffs = {}
    local BuffStatus = false
    local BuffName = "abc"

    for i = 1 , 20 do
        if mq.TLO.Me.Buff(i)() ~= nil then
            BuffStatus = true
            BuffName = mq.TLO.Me.Buff(i)()
            MyBuffs[BuffName] = {BuffStatus}
        end
    end

    return {MyBuffs}
   
end

The problem is that the UI indents the Keys (in yellow) into different layers, adding a "1" layer (in white) in between. See screenshot:

Screenshot 2024-05-23 193931.png

Instead, ideally, what I would like to see if the Key (in yellow) immediately underneath the table name, such as the hypothetical example below:

Screenshot 2024-05-23 193931w.png

Any idea why the UI automatically adds those "1" in there?
 
Last edited:
Lua - SharedDataClient

Users who are viewing this thread

Back
Top