• 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

Lua - Actors not working on same pc

Joined
Jun 17, 2020
RedCents
482¢
Apologies if there is a better play to ask this, I tried searching.

On my previous pc, actors were working fine in a couple different luas. I recently got a new pc and tried to load up the same luas and the actors are not working, as in they arent communicating at all. I was previously on a vpn, which i uninstalled and that did not fix it.

I've tried both of these settings
1761526883416.png
And turned off all firewalls
1761526912872.png

Any other ideas would be appreciated. Thank you.
 
actors don't care about your netwotrk so none of that matters. A bit more information than "it doesn't work" would be required to help you.
What information would be important? I have a Lua for panther that the shaman asks for panther duration and then rebuffs it if its below a threshold. I get the print that the shaman is sending the "question" but none of the characters see the question.

I have another Lua that based around a raid event and hailing/storing responses and asking each other for the responses. They are storing and sending, but no one else is getting the messsages.
 
What information would be important? I have a lua for panther that the shaman asks for panther duration and then rebuffs it if its below a threshold. I get the print that the shaman is sending the "question" but none of the characters see the question.

I have another lua that based around a raid event and hailing/storing responses and asking each other for the responses. They are storing and sending, but no one else is getting the messsages.
maybe post the Lua and mention the line you are seeing about 'sending the question'. might help for reference.
 
This is the main part.

Lua:
local actor = actors.register(function(message)
    if message.content.id == 'request_info' then
        local response = {
            id = 'announce',
            class = myClass,
            name = myName,
            buffs = myBuffs,
        }
        if is_healer(myClass) then
            response.heals = myHeals
            response.casting = get_casting_info()
        end
        response.panther_status = panther.has_panther()
        message:send(response)
    elseif message.content.id == 'announce' then
        -- Store info about other actors
        local sender = message.sender and message.sender.character or 'unknown'
        actors_state[sender] = {
            class = message.content.class,
            buffs = message.content.buffs,
            heals = message.content.heals,
            casting = message.content.casting,
            panther_status = message.content.panther_status,
            last_update = os.time(),
        }
    elseif message.content.id == 'panther_status' then
        local sender = message.sender and message.sender.character or 'unknown'
        if not actors_state[sender] then actors_state[sender] = {} end
        actors_state[sender].panther_status = message.content
        actors_state[sender].last_update = os.time()
    elseif message.content.id == 'drop' then
        local sender = message.sender and message.sender.character or 'unknown'
        actors_state[sender] = nil
    elseif message.content.id == 'cure_discovery' then
        -- All actors should respond to discovery, not just cure-capable ones
        local response = {
            id = 'cure_discovery_response',
            class = myClass,
            name = myName,
            timestamp = os.time()
        }
        actors.send(response)
    elseif message.content.id == 'cure_discovery_response' or message.content.id == 'debuff_report' or message.content.id == 'cure_announcement' or message.content.id == 'cure_complete' then
        -- Process cure-related messages
        local cure_message = cures.process_messages(message, actors_state)
        if cure_message then
            message:send(cure_message)
        end
    end
end)
 

Attachments

Last edited by a moderator:
Alternatively, is there something I can run to test if my clients are communicating? Because my shaman in KA also isnt casting Champion outside of his group anymore (was happening on old pc)?
 
Lua - Actors not working on same pc

Users who are viewing this thread

Back
Top
Cart