[Classic] Lua Auto Login menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Sunny_Gu's Avatar Member
    Reputation
    2
    Join Date
    Apr 2020
    Posts
    6
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Classic] Lua Auto Login

    Code:
    local username = '[email protected]' 
    local password = 'passwod'
    local account = 'WoW1' 
    local char_slot = 0 --character slot
    local realmname = 'realmname'
    if (AccountLogin and AccountLogin.UI.WoWAccountSelectDialog:IsShown()) then
        C_Login.SelectGameAccount(account)
    elseif (AccountLogin and AccountLogin.UI:IsVisible()) then
        AccountLogin.UI.AccountEditBox:SetText(username)
        AccountLogin.UI.PasswordEditBox:SetText(password)
        AccountLogin_Login()
    elseif (RealmListUI and RealmListUI:IsVisible()) then
        local categories = C_RealmList.GetAvailableCategories()
        for i = 1, #categories  do
            local realms = C_RealmList.GetRealmsInCategory(categories[i])
            for j = 1, #realms  do
                local realmAddr = realms[j]
                local realname, numChars = C_RealmList.GetRealmInfo(realmAddr)
                if realname == realmname then
                    RealmList.selectedRealm = realmAddr
                    RealmList_Update()
                    RealmList_OnOk()
                end
            end
        end
    elseif (CharacterSelect and CharacterSelect:IsVisible()) then
        if GetServerName() ~= realmname and (not RealmList or not RealmList:IsVisible()) then
            CharacterSelect_ChangeRealm()
        else
            CharacterSelect_SelectCharacter(char_slot)
            CharacterSelect_EnterWorld()
        end
    end

    These ads disappear when you log in.

  2. Thanks ChrisIsMe (1 members gave Thanks to Sunny_Gu for this useful post)
  3. #2
    xkyii's Avatar Member
    Reputation
    1
    Join Date
    Sep 2019
    Posts
    10
    Thanks G/R
    4/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    so.... how to run lua code in character select screen?

  4. #3
    ChrisIsMe's Avatar Active Member
    Reputation
    63
    Join Date
    Apr 2017
    Posts
    97
    Thanks G/R
    44/25
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by xkyii View Post
    so.... how to run lua code in character select screen?
    If you have to ask..

    But, you just inject and call framescript execute or loadstring/dostring...

Similar Threads

  1. LUA Auto Login [the final solution]
    By mnbvc in forum WoW Memory Editing
    Replies: 22
    Last Post: 01-26-2011, 11:08 AM
  2. Random Lua Auto-login Stuff
    By Cypher in forum WoW Memory Editing
    Replies: 26
    Last Post: 07-09-2010, 04:11 PM
  3. Hate getting D/C?? -- Auto Login -- useful for bots and private servers
    By ADAMZY in forum World of Warcraft Bots and Programs
    Replies: 24
    Last Post: 11-05-2007, 05:06 PM
  4. [Mac] WoWAL (WoW Auto Login)
    By Quafe in forum World of Warcraft Bots and Programs
    Replies: 17
    Last Post: 10-29-2007, 03:53 PM
  5. Auto Login
    By Relz in forum World of Warcraft Bots and Programs
    Replies: 15
    Last Post: 12-27-2006, 10:56 AM
All times are GMT -5. The time now is 11:19 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2021 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2021 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search