[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

    [Classic] Lua Auto Login
  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
    12
    Thanks G/R
    5/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 Contributor
    Reputation
    164
    Join Date
    Apr 2017
    Posts
    210
    Thanks G/R
    67/100
    Trade Feedback
    0 (0%)
    Mentioned
    3 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 03:26 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search