• Hail, we're RedGuides. We want you to play six (yes, 6!) EverQuest characters at once. We have scripts and a friendly community to help, please join our playstyle and say hello! 👋
  • We've added LLM sections to our Terms & Rules and Resource Rules, for everyone's sanity & in-game safety.
    Read more
    a. Do not replace your voice with an LLM. This goes for your posts and your scripts. Drafting and editing with a tool is fine, but don't take you out of what you share.
    b. Do not replace your EQ character's voice with an LLM. We don't want scripts that speak over /ooc, /shout or other public channels. This has been an unwritten rule that's kept casino scripts off the site for decades, but we're now compelled to make it clear: keep automated communication private.

    Why Does RG Review Scripts?
    Nearly every LLM-written Lua script we see is making your character do impossible things, and rarely in a way that's beneficial to you. We've seen heavy server hammering, /target over impossible distances when /nav spawn would passively accomplish the same thing, a spawn search that fires 20+ times per second, and other pointless actions that are likely annoying GMs.

    You are welcome to use LLMs as a tool to structure, draft, and edit your work, but please read critically before hitting /lua run

Lua - Actors not working on same pc

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:
Lua - Actors not working on same pc

Users who are viewing this thread

Back
Top
Cart