DefaultServerLogin issue menu

User Tag List

Results 1 to 3 of 3
  1. #1
    ValvePro's Avatar Sergeant
    Reputation
    18
    Join Date
    Jun 2012
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DefaultServerLogin issue

    Hey -
    I've issues with DefaultServerLogin sometimes he don't login correctly (see picture DefaultServerLogin issue-unbenannt-jpg).

    Other thing is how to Select Character and enterworld? ( Lua => EnterWorld() seems to be not work )

    I hope someone can help me with my issues.

    Thanks

    DefaultServerLogin issue
  2. #2
    Empted's Avatar Contributor
    Reputation
    83
    Join Date
    Aug 2011
    Posts
    117
    Thanks G/R
    0/5
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'll just leave it here, hardcoded some strings to make it clear. Also I switch realms editing config file.
    PHP Code:
                foreach (AccInfo acc in infos)
                {
                    
    string[] config=File.ReadAllLines(@"C:\Games\WoW\WTF\Config.wtf"Encoding.UTF8);
                    for(
    int i=0;i<config.Length;i++)
                        if (
    config[i].StartsWith("SET realmName"))
                        {
                            
    config[i]="SET realmName \""+acc.realm+"\"";
                        }
                    
    File.WriteAllLines(@"C:\Games\WoW\WTF\Config.wtf"config);
                    
    AI myAI;
                    
    Process wowProcess Process.Start(@"C:\Games\WoW\Wow.exe");
                    
    Thread.Sleep(5000);
                    
    myAI = new AI(wowProcess.Id);
                    
    string s = @"if (WoWAccountSelectDialog and WoWAccountSelectDialog:IsShown()) then 
                    for i = 0, GetNumGameAccounts() do 
                        if GetGameAccountInfo(i) == '" 
    acc.accountName + @"' then 
                            WoWAccountSelect_SelectAccount(i) 
                        end 
                    end 
                elseif (AccountLoginUI and AccountLoginUI:IsVisible()) then 
                    DefaultServerLogin('" 
    acc.battleName + @"', '" acc.password + @"') 
                    AccountLoginUI:Hide() 
                elseif (RealmList and RealmList:IsVisible()) then 
                    for i = 1, select('#',GetRealmCategories()) do 
                        for j = 1, GetNumRealms(i) do 
                            if GetRealmInfo(i, j) == '" 
    acc.realm + @"' then 
                                RealmList:Hide() 
                                ChangeRealm(i, j) 
                            end 
                        end 
                    end 
                elseif (CharacterSelectUI and CharacterSelectUI:IsVisible()) then 
                    if GetServerName() ~= '" 
    acc.realm + @"' and (not RealmList or not RealmList:IsVisible()) then 
                        RequestRealmList(1) 
                    else 
                        for i = 0,GetNumCharacters() do 
                            if (GetCharacterInfo(i) == '" 
    acc.charName + @"') then 
                                CharacterSelect_SelectCharacter(i) 
                                EnterWorld() 
                            end 
                        end 
                    end 
                end "
    ;
                    while (!
    myAI.IsIngame())
                    {
                        
    Thread.Sleep(2000);
                        
    myAI.LuaDoString(s);
                    }
                } 
    Last edited by Empted; 03-09-2013 at 06:05 AM.

  3. #3
    ValvePro's Avatar Sergeant
    Reputation
    18
    Join Date
    Jun 2012
    Posts
    62
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks works =) but I've a little improvement i would use this

    Code:
    SetCVar(\"realmName\", \"%s\")
    for changing realm =)


    EDIT:
    Did EnterWorld() works for you?
    And is there some lua stuff to remove "starter edition" dialog?
    Last edited by ValvePro; 03-11-2013 at 04:04 AM.

Similar Threads

  1. Issues with Deeprun Tram exploit
    By shade599 in forum World of Warcraft Exploration
    Replies: 3
    Last Post: 03-25-2007, 08:01 AM
  2. !xSpeednet Issues
    By Taldeer in forum World of Warcraft General
    Replies: 5
    Last Post: 01-28-2007, 06:32 PM
  3. DBC More issues.
    By dela in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 09-29-2006, 07:46 PM
  4. patching issue
    By Marlo in forum World of Warcraft General
    Replies: 0
    Last Post: 07-22-2006, 07:35 PM
  5. [Patch 1.11] - Known Issues (6-20-06)
    By Cypher in forum World of Warcraft General
    Replies: 1
    Last Post: 06-24-2006, 12:42 AM
All times are GMT -5. The time now is 02:32 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search