[Login LUA] [Battle.Net] Help? menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Login LUA] [Battle.Net] Help?

    Hello I cannot get this to work. It always selects the first Battle.Net account, even if the chosen one isnt the first in the list.

    Code:
      DoString("if (WoWAccountSelectDialog:IsShown()) then for i=0, GetNumGameAccounts() do local name = GetGameAccountInfo(i); if ( name == " + BNet + ") then selectedName = name; selectedIndex = i; end end WoWAccountSelect_SelectAccount(selectedIndex); WoWAccountSelect_Accept(); end");
    Thanks in advance +Reps for helps
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

    [Login LUA] [Battle.Net] Help?
  2. #2
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    May seem obvious, but i++ ?

  3. #3
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Seifer View Post
    May seem obvious, but i++ ?
    Quotin this for lulz

    Your BNET isn't encapsulated by quotes.
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  4. #4
    caytchen's Avatar Contributor
    Reputation
    138
    Join Date
    Apr 2007
    Posts
    162
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This may seem obvious, but stop shoveling all this stuff into a single query. You're programming in C#, so properly wrap Frames and the API into respective classes, otherwise you end up writing your bot logic in LUA embedded in C#.

  5. #5
    Apoc's Avatar Angry Penguin
    Reputation
    1387
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/12
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by caytchen View Post
    This may seem obvious, but stop shoveling all this stuff into a single query. You're programming in C#, so properly wrap Frames and the API into respective classes, otherwise you end up writing your bot logic in LUA embedded in C#.
    This may seem obvious, but wrapping all this stuff in a single query is multitudes faster than multiple queries for no apparent reason!

    Though; he should have at least used a literal string, and formatted the damned Lua if its that long.

  6. #6
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Solved!

    For anyone that wants the code:
    Code:
     DoString("if (WoWAccountSelectDialog:IsShown()) then for i=0, GetNumGameAccounts() do local name = GetGameAccountInfo(i); if (name ~= nil and name == '" + BNet + "') then selectedIndex = i; WoWAccountSelect_SelectAccount(selectedIndex); end end WoWAccountSelect_Accept(); end");
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  7. #7
    dunmcl's Avatar Corporal
    Reputation
    11
    Join Date
    Jun 2010
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not worked for me. WoW crash with exeption:

    This application has encountered a critical error:

    ERROR #132 (0x85100084) Fatal Exception
    Program: c:\WoW\Wow.exe
    Exception: 0xC00000FD (STACK_OVERFLOW) at 001B:5A7DDCD7

    WoWBuild: 12340

  8. #8
    streppel's Avatar Active Member
    Reputation
    77
    Join Date
    Mar 2007
    Posts
    196
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by dunmcl View Post
    Not worked for me. WoW crash with exeption:

    This application has encountered a critical error:

    ERROR #132 (0x85100084) Fatal Exception
    Program: c:\WoW\Wow.exe
    Exception: 0xC00000FD (STACK_OVERFLOW) at 001B:5A7DDCD7

    WoWBuild: 12340
    Exception tells you what is wrong,the stack overflows, so what does it tell you also? it's the function you are calling that is wrong,not what was posted here

  9. #9
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by streppel View Post
    Exception tells you what is wrong,the stack overflows, so what does it tell you also? it's the function you are calling that is wrong,not what was posted here

    You my friends are wrong.

    You can't just use this anymore since 3.3.5
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  10. #10
    streppel's Avatar Active Member
    Reputation
    77
    Join Date
    Mar 2007
    Posts
    196
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
                Lua.DoString("AccountLoginAccountEdit:SetText('Battlenetusername')");
                Lua.DoString("AccountLoginPasswordEdit:SetText('battlenetpassword')");
                Lua.DoString("AccountLogin_Login()");
    this is what i do and it works

  11. #11
    DrGonzo's Avatar Contributor
    Reputation
    144
    Join Date
    Jun 2009
    Posts
    132
    Thanks G/R
    0/59
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    New workaround?

  12. #12
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by streppel View Post
    Code:
                Lua.DoString("AccountLoginAccountEdit:SetText('Battlenetusername')");
                Lua.DoString("AccountLoginPasswordEdit:SetText('battlenetpassword')");
                Lua.DoString("AccountLogin_Login()");
    this is what i do and it works
    The first two lines will work fine.

    The last line work work unless you are in the correct fibre(if im not mistaken) Fibers (Windows)

    EDIT: streppel are you sure your on patch 3.3.5
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  13. #13
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by -Ryuk- View Post



    You my friends are wrong.

    You can't just use this anymore since 3.3.5
    No, you're the one who's wrong. It works fine if you're not a stupid retard. This should obviously be executed from the main thread if you do not want to corrupt and destroy pretty much everything.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  14. #14
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by MaiN View Post
    No, you're the one who's wrong. It works fine if you're not a stupid retard. This should obviously be executed from the main thread if you do not want to corrupt and destroy pretty much everything.
    Then I am wrong

    I use lua via endscene and it fails.
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  15. #15
    mnbvc's Avatar Banned
    Reputation
    120
    Join Date
    Jul 2009
    Posts
    273
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    DefaultServerLogin() works since ever, they didn't change anything
    you are all doing it wrong! :P

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 07-15-2012, 06:44 AM
  2. Replies: 4
    Last Post: 10-24-2011, 09:18 AM
  3. Battle.net Account - Please Read! (This will help alot of yous)
    By Ranku in forum World of Warcraft Exploits
    Replies: 11
    Last Post: 04-01-2009, 10:18 AM
  4. Battle.net Accounts (Question, please help!!)
    By bijar in forum World of Warcraft General
    Replies: 4
    Last Post: 03-27-2009, 07:02 AM
All times are GMT -5. The time now is 10:50 AM. 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