Register for your free account! | Forgot your password?

You last visited: Today at 00:28

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

Advertisement



Battlepass Autofarm

Discussion on Battlepass Autofarm within the Teamfight Tactics forum part of the Other Online Games category.

Reply
 
Old   #1
 
jastolfo's Avatar
 
elite*gold: 0
Join Date: Oct 2020
Posts: 4
Received Thanks: 5
Cool Battlepass Autofarm

Step by step
1.You gonna need perl so install it. (strawberry)
2.Save the code here as anything.pl.
3.First time you run it the console tells you the missing modules, you know what to do. (don't?)
4.Now you should have everything ready, with the client open, run the script and enjoy

queue ids:
1090: normal
1100: ranked
1130: hyperroll (gives 50 exp)
1160: double


changes from last version:
- forget about python
- you can do other thing while it's running

PHP Code:
use warnings;
use 
MIME::Base64;
use 
LWP::UserAgent;
use 
JSON::Parse 'parse_json';
use 
Time::HiRes qw(sleep);
my $lala 1;
my $gati 0;
my $dead 0;
my $earn;
my $need;
my $alp;
my ($auth,$port) = @{ auth() };
my $ua LWP::UserAgent->newssl_opts=>{verify_hostname=>0}, protocols_allowed=>['https']);
my $header = ['Accept'=>'application/json''Content-Type'=>'application/json''Authorization'=>"Basic $auth"];
my $boku = ${onegai('GET','lol-summoner/v1/current-summoner',undef)}{displayName};
my @co = (state());
while (
1) {
    
my $state state();
    if (
$co[-1ne $state) {
        
push@co,$state;
        print 
"gf: $state\n";
    }
    if (
$state eq 'Lobby') {
        
onegai('POST','lol-lobby/v2/lobby/matchmaking/search',undef)   
    } 
elsif ($state eq 'None') {
        
onegai('POST','lol-lobby/v2/lobby','{"queueId": 1130}')
    } 
elsif ($state eq 'Matchmaking') {
        
# wait
    
elsif ($state eq 'InProgress') {
        
sleep 30;
        if (
endgame() == 1){
            
miles();
            
sleep 15;
            
system('taskkill/im "League of Legends.exe"');
            
system('taskkill/im "League of Legends.exe"');        
        }
    } 
elsif ($state eq 'ReadyCheck') {
        
onegai('POST','lol-matchmaking/v1/ready-check/accept',undef); 
    } 
elsif ($state eq 'WaitingForStats') {
        
sleep 13;
        
onegai('POST','lol-lobby/v2/play-again',undef);
    } 
elsif ($state eq 'EndOfGame') {
        
onegai('POST','lol-lobby/v2/play-again',undef);
    }
  
sleep 3;
}
sub state {return onegai('GET','lol-gameflow/v1/gameflow-phase',undef);}
sub onegai 
  
my $url "https://127.0.0.1:$port/$_[1]";
  
my $req HTTP::Request->new($_[0], $url$header);
  
$req->content($_[2]);
  
my $data $ua->request($req)->content;
  if (
$data) {
    return 
parse_json($data)
  }      
}
sub miles{
    
my $mino int($gati 60);
    
my $seco $gati 60;
    print 
"game $lala dura: $mino:$seco\n";
    
my %eko = %{onegai('GET','lol-tft/v2/tft/battlepass',undef)};
  
$earn int($eko{activeMilestone}{pointsEarnedForMilestone});
  
$need int($eko{activeMilestone}{pointsNeededForMilestone});
    print 
"earned: $earn\n";
  print 
"needed: $need\n";
    
$lala++;
}
sub endgame {
  
my $req HTTP::Request->new(GET=>'https://127.0.0.1:2999/liveclientdata/allgamedata') or die $!;
  if (
$req && $ua->request($req)->content) {
    
my %data = %{parse_json($ua->request($req)->content)};
    
$alp $data{allPlayers};
    
$gati int($data{gameData}{gameTime});
        foreach 
my $x (@{$alp}) {
      foreach 
my $c (keys %{$x}) {
        if (
$x->{summonerNameeq $boku) {
                    
$dead $x->{isDead};
          
last;
        }
      }
    }
  }
    return 
$dead;    
}
sub auth {
  
my $proc = `WMIC path win32_process get Caption,Commandline | find "--remoting-auth-token="`;
  if (
$proc =~ /--remoting-auth-token=(\S+)".*?--app-port=(\d+)/) {
    return [ encode_base64(qq(\x72\x69\x6f\x74:$1)), $2 ]
  }

jastolfo is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Selling] Fortnite Account | S4 Max Battlepass, S5 Battlepass| 99 Wins FULL EMAIL ACCESS
08/25/2018 - Fortnite Trading - 3 Replies
LINK: https://www.g2g.com/ref-2126704/Multi-Platform-For tnite-Account--S4-Max-Battlepass--98-Wins-FULL-EMA IL-ACCESS Account stats: https://fortnitetracker.com/profile/pc/P%CE%B1t%CE %B1r Skins: https://ibb.co/cTFu09 Pickaxes: https://ibb.co/np2TQ9
Climb/Jump - Autofarm
07/28/2012 - Shaiya - 4 Replies
:rtfm::rtfm::rtfm::rtfm::rtfm::rtfm::rtfm::rtfm::r tfm::rtfm::rtfm::handsdown::handsdown::handsdown:: handsdown::handsdown: sorry i need a Junp hack for Shaiya IT or others hack 2012 please climb hack /Jump and autofarm urgent pleas ty for help and with Saiya Packet Editor cant use other codes for AP or Item mal ?
Suche funktionierenden Travian 4 Bot / autoFarm
12/28/2011 - Browsergames - 0 Replies
Wie der Titel schon verlauten lässt suche ich einen Travian 4 Bot (bzw. ein Programm, welches autofarm möglich macht) Bitte verweist mich nicht auf Google, ich habe keins gefunden. Alle funktionierten entweder nicht, bis auf eins welches dann aber auf russisch war. jQBot T4 Hoffe ihr könnt mir helfen Danke mariii



All times are GMT +1. The time now is 00:28.


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

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.