Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto working 2023-12-28 #2

Open
robertlabrie opened this issue Dec 28, 2023 · 3 comments
Open

Auto working 2023-12-28 #2

robertlabrie opened this issue Dec 28, 2023 · 3 comments

Comments

@robertlabrie
Copy link

Seems to have stopped working again. I tried bumping the API version in my local AutoQueue.txt but it didn't make a difference. This was meant to work for PVP as well as dungeon finder right?

@robertlabrie
Copy link
Author

....maybe not. Digging through the code for KillCounter I don't see it registering for ACTIVITY_FINDER_STATUS_READY_CHECK

@robertlabrie
Copy link
Author

Ok yeah it's different for Cyro I dug this out of TelVar Saver

-- Auto queue stuff
function TVS.AutoQueueControl()
    if (TVS.SV.AutoAcceptQueue == false) then
        EVENT_MANAGER:UnregisterForEvent(TVS.name, EVENT_CAMPAIGN_QUEUE_STATE_CHANGED)
        return
    end
    EVENT_MANAGER:RegisterForEvent(TVS.name, EVENT_CAMPAIGN_QUEUE_STATE_CHANGED,TVS.AutoAccept)
end


function TVS.AutoAccept(eventCode, id, isGroup, state)
    local groupQueue = TVS.GetGroupQueue()

    if (state == CAMPAIGN_QUEUE_REQUEST_STATE_CONFIRMING) then
        TVS.dtvs("Entering campaign")
        ConfirmCampaignEntry(id, groupQueue, true)
    end
end

Sorry for the spam, lets keep this issue open I'm going to submit a PR

@robertlabrie
Copy link
Author

#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant