Register for your free account! | Forgot your password?

You last visited: Today at 22:09

  • Please register to post and access all features, it's quick, easy and FREE!

 

AutoLogin script

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2013
Posts: 67
Received Thanks: 520
League of Legends - LOL - AutoLogin script

Get perl from here and install it

After installing perl, run cmd.exe and type: "ppm" (Perl Package Manager) and install Win32::GuiTest.

In the script you will find

MouseMoveAbsPix(900,750); #x,y position of play button
MouseMoveAbsPix(360,540); #x,y position of login button

edit based on your screen resolution. If you are unsure how to get the coordinates run this


Code:
#Script to find the coordinates of the mouse
use Win32::GuiTest qw(GetCursorPos);
while (1){
  ($x, $y) = GetCursorPos();
  print "x:$x  y:$y   \n";
}


Code:
#AutoLogin Script
use strict;
use warnings FATAL => 'all';
use Win32::GuiTest qw(:ALL);

my @windows;
system '"C:\Riot Games\League of Legends\lol.launcher.exe"';

do {
    @windows = FindWindowLike(0, "PVP.net Patcher", "");
    } until @windows; sleep 2;

&patcher();

do {
    @windows = FindWindowLike(0, "PVP.net Client", "");
    } until @windows; sleep 2;

&login();


sub patcher {
    SetForegroundWindow($windows[0]);
    MouseMoveAbsPix(900,750);               #x,y position of play button
    SendMouse("{LeftClick}");
}

sub login {
    SetForegroundWindow($windows[0]);
    Win32::GuiTest::SendKeys("PASSWORD");   #your password
    MouseMoveAbsPix(360,540);               #x,y position of login button
    SendMouse("{LeftClick}");
}
Paste the code in a file (AutoLogin.pl) and save it on the Desktop. Doublick and the it will start.



f00lish is offline  
Thanks
2 Users
Reply



« Previous Thread | Next Thread »

Similar Threads
[Suche] Autologin,-Bot/Script
Servus, ich nach 30 Minuten suchen habe ich es aufgegeben. Ich suche einen Autologin,-Bot/Script etc. für Pserver. Jede hilfreiche Antwort gibt...
1 Replies - Metin2 PServer - Discussions / Questions
[Help] AutoLogin Script (auto It)
I'd like an autologin that work with more than 1 client at the same time... the script that I have is this (Auto It): Source: Global $Paused...
4 Replies - SRO PServer Ask the Experts
[Autologin] Simple autoit script
Hey,the captcha system is out . So the ecsro minimised autologin script works on iSro too,now :) Source: Global $Paused $hWnd = WinGetHandle...
44 Replies - SRO Hacks, Bots, Cheats & Exploits
Any autologin script for 1.199?
Hi, Im looking for a AutoLogin script for the new 1.199 Update because I tried all older Scripts and noone works.
1 Replies - SRO Ask the Experts
Autologin Script with captcha identification
! Note ! AgBot is NOT supported ! Hello , with great help from thasTony I wrote a script wich logs you automatically into international silkroad...
85 Replies - SRO Hacks, Bots, Cheats & Exploits



All times are GMT +2. The time now is 22:09.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.