Jump to content
Sign in to follow this  
Metallicer

Need help at building an automatic login for "League of Legends"

Recommended Posts

Metallicer

The script ... but not ready yet =(

-----------------------------------------------------------------------------

ShellExecute("C:\Riot Games\League of Legends\lol.launcher.exe")

Opt("WinWaitDelay", 550)

WinWaitActive("League of Legends Launcher - 1, 0, 0, 31 - [user]")

//////////////////////////////////////////////////////////////

here starts an analyze of any updates for the game ... and if the update is done or there are no updates and its ready, the mouse has to click ... i tried it with

--------Opt("WinWaitDelay", 450)------------- but it didnt worked for me

because theres everytime a delay of 3 seconds or something for the analyze until the button can be clicked

//////////////////////////////////////////////////////////////

Opt("MouseClickDownDelay", 450)

MouseClick("left",1020,650,1)

WinWaitActive("PVP.net-Client","")

Opt("WinWaitDelay", 450)

MouseClick("left",870,310,1)

Send("USERNAME")

Opt("WinWaitDelay", 100)

MouseClick("left",870,365,1)

Opt("WinWaitDelay", 100)

Send("PASSWORD")

Opt("WinWaitDelay", 110)

MouseClick("left",1120,400,1)

-----------------------------------------------------------------------------

...THE LOG OF THE GAME :

03/08/2011 19:05 [iNFO] Solid LauncherLib [1.0.0.33] initializing...

03/08/2011 19:05 [WARNING] Unable to add App[League of Legends Launcher] Exe[C:\Riot Games\League of Legends\lol.launcher.exe] to Windows Firewall

03/08/2011 19:05 [WARNING] Unable to add App[League of Legends Lobby] Exe[C:\Riot Games\League of Legends\Air\LOLClient.exe] to Windows Firewall

03/08/2011 19:05 [WARNING] Unable to add App[League of Legends Game Client] Exe[C:\Riot Games\League of Legends\Game\League of Legends.exe] to Windows Firewall

03/08/2011 19:05 [iNFO] Retrieving dynamic path[http://patcher.lol-europe.com/lol-cb3.SourceURL.xml]

03/08/2011 19:05 [iNFO] Retrieved dynamic path [http://patcher.lol-europe.com/lol-cb3.SourceURL.xml][http://l3cdn.riotgames.com/]

03/08/2011 19:05 [iNFO] Patcher_AddPackage([lol-cb3.patcher],[http://l3cdn.riotgames.com/],[C:\Riot Games\League of Legends\]) successful

03/08/2011 19:05 [iNFO] Attempt to retrieve package [http://l3cdn.riotgames.com/lol-cb3.patcher.package]

03/08/2011 19:05 [iNFO] Version retrieved [lol-cb3.patcher] 14/14 [EU.Patcher.11_18_2010]/[EU.Patcher.11_18_2010] type [PACKAGE_TYPE_INCREMENTAL_VCDIFF]

03/08/2011 19:05 [iNFO] [lol-cb3.patcher] State change [PATCHER_STATE_IDLE] to [PATCHER_STATE_ALLTASKSCOMPLETE]

03/08/2011 19:05 [iNFO] Patcher_RemovePackage([lol-cb3.patcher]) successful

03/08/2011 19:05 [iNFO] Patcher_AddPackage([lol-cb3.game],[http://l3cdn.riotgames.com/],[C:\Riot Games\League of Legends\]) successful

03/08/2011 19:05 [iNFO] Attempt to retrieve package [http://l3cdn.riotgames.com/lol-cb3.game.package]

03/08/2011 19:05 [iNFO] Version retrieved [lol-cb3.game] 87/87 [EU.Game.03_02_2011]/[EU.Game.03_02_2011] type [PACKAGE_TYPE_PROGRESSIVE_VCDIFF]

03/08/2011 19:05 [iNFO] [lol-cb3.game] State change [PATCHER_STATE_IDLE] to [PATCHER_STATE_ALLTASKSCOMPLETE]

I hope u understand what i want to say and sry if its bad english ( i am from germany and not very good at it :) )

Share this post


Link to post
Share on other sites
guinness

You're unlikely to receive any Help. I would suggest you read this >> http://www.autoitscript.com/forum/forum-2/announcement-12-game-bots-and-automation/


UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Share this post


Link to post
Share on other sites
Metallicer

ah lol ?

... its not allowed to discuss such things here in the forum ?

or did i misunderstood u ?

Share this post


Link to post
Share on other sites
Metallicer

ahh sry ... okay

thank u for nothing at all :/

but okay ...

Share this post


Link to post
Share on other sites
guinness

thank u for nothing at all :/

Sarcasm? These are the Rules of AutoIt and everyone should adhere to them whether people think it is right or wrong. Edited by guinness

UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Share this post


Link to post
Share on other sites
Metallicer

no sry shouldnt be sarcasm

just wanted to say thank u for the advice but no help u know ?

... i know i know this isnt allowed here in the forum :)

Share this post


Link to post
Share on other sites
guinness

OK :)


UDF List:

 
_AdapterConnections()_AlwaysRun()_AppMon()_AppMonEx()_ArrayFilter/_ArrayReduce_BinaryBin()_CheckMsgBox()_CmdLineRaw()_ContextMenu()_ConvertLHWebColor()/_ConvertSHWebColor()_DesktopDimensions()_DisplayPassword()_DotNet_Load()/_DotNet_Unload()_Fibonacci()_FileCompare()_FileCompareContents()_FileNameByHandle()_FilePrefix/SRE()_FindInFile()_GetBackgroundColor()/_SetBackgroundColor()_GetConrolID()_GetCtrlClass()_GetDirectoryFormat()_GetDriveMediaType()_GetFilename()/_GetFilenameExt()_GetHardwareID()_GetIP()_GetIP_Country()_GetOSLanguage()_GetSavedSource()_GetStringSize()_GetSystemPaths()_GetURLImage()_GIFImage()_GoogleWeather()_GUICtrlCreateGroup()_GUICtrlListBox_CreateArray()_GUICtrlListView_CreateArray()_GUICtrlListView_SaveCSV()_GUICtrlListView_SaveHTML()_GUICtrlListView_SaveTxt()_GUICtrlListView_SaveXML()_GUICtrlMenu_Recent()_GUICtrlMenu_SetItemImage()_GUICtrlTreeView_CreateArray()_GUIDisable()_GUIImageList_SetIconFromHandle()_GUIRegisterMsg()_GUISetIcon()_Icon_Clear()/_Icon_Set()_IdleTime()_InetGet()_InetGetGUI()_InetGetProgress()_IPDetails()_IsFileOlder()_IsGUID()_IsHex()_IsPalindrome()_IsRegKey()_IsStringRegExp()_IsSystemDrive()_IsUPX()_IsValidType()_IsWebColor()_Language()_Log()_MicrosoftInternetConnectivity()_MSDNDataType()_PathFull/GetRelative/Split()_PathSplitEx()_PrintFromArray()_ProgressSetMarquee()_ReDim()_RockPaperScissors()/_RockPaperScissorsLizardSpock()_ScrollingCredits_SelfDelete()_SelfRename()_SelfUpdate()_SendTo()_ShellAll()_ShellFile()_ShellFolder()_SingletonHWID()_SingletonPID()_Startup()_StringCompact()_StringIsValid()_StringRegExpMetaCharacters()_StringReplaceWholeWord()_StringStripChars()_Temperature()_TrialPeriod()_UKToUSDate()/_USToUKDate()_WinAPI_Create_CTL_CODE()_WinAPI_CreateGUID()_WMIDateStringToDate()/_DateToWMIDateString()Au3 script parsingAutoIt SearchAutoIt3 PortableAutoIt3WrapperToPragmaAutoItWinGetTitle()/AutoItWinSetTitle()CodingDirToHTML5FileInstallrFileReadLastChars()GeoIP databaseGUI - Only Close ButtonGUI ExamplesGUICtrlDeleteImage()GUICtrlGetBkColor()GUICtrlGetStyle()GUIEventsGUIGetBkColor()Int_Parse() & Int_TryParse()IsISBN()LockFile()Mapping CtrlIDsOOP in AutoItParseHeadersToSciTE()PasswordValidPasteBinPosts Per DayPreExpandProtect GlobalsQueue()Resource UpdateResourcesExSciTE JumpSettings INISHELLHOOKShunting-YardSignature CreatorStack()Stopwatch()StringAddLF()/StringStripLF()StringEOLToCRLF()VSCROLLWM_COPYDATAMore Examples...

Updated: 22/04/2018

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.