What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Battle.net logger?

wozoki

New Member
Joined
Jan 15, 2010
Messages
580
Reaction score
5
lately i have gotten so many accounts running its actually a pain every time i have to buy new RaF gametime.

So i have been looking for a way to auto-log into battle.net. I have tried AutoIt and i got it working with all my e-mail addresses but I cant make it work for battle.net and i cant ask on their forums as they don't support stuff like that :/
So... :P Is there anyone here that maybe already has a working autoit script or enough skill to make one? Or maybe something else... :)

I know i probably sound like a lazy mother******, and yeah, that's true :D
 
NvM. I got it working :)

In case anyone is interested here it is. It doesn't click the "log in" button tho :P

#include <IE.au3>
Opt("WinTitleMatchMode", 0)


$oIE = _IECreate ("https://eu.battle.net/login/en/")
_IELoadWait ($oIE)


$o_form = _IEFormGetObjByName ($oIE, 0)
$o_login = _IEFormElementGetObjByName ($o_form, "accountName")
$o_password = _IEFormElementGetObjByName ($o_form, "password")


$username = "[email protected]
$password = "yourpassword"


_IEFormElementSetValue ($o_login, $username)
_IEFormElementSetValue ($o_password, $password)


WinSetState ( "Internet", "", @SW_MAXIMIZE )
 
Back
Top