Register for your free account! | Forgot your password?

You last visited: Today at 23:51

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

 

[Release] IP Redeemer + Referral Counter

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2008
Posts: 324
Received Thanks: 101
[Release] IP Redeemer + Referral Counter

This is an old release that I've updated for NA only although it could be easily editted for other regions. It will allow you to for now check how many lvl 5 and lvl 10 referrals you have. I have been trying to fix the 2.0 Redeem button but I can't seem to get it to work. If anyone knows anything about javascript that can help me fix the 2.0 redeem, please fix it and I'll give you credit or help me out. Thanks

If you don't know how to use this please take a look at the old thread. Please note that you have to be on the rewards page and logged in for this to work, not the League of Legends home page!!


Fixed code below. If you want to use for another region besides NA, please copy the whole code to a notepad then press CTRL + H (For Windows users), find na. and replace all with your region and a dot after it. Ex.: euw. or br. or eun. etc
Code:
javascript:( function() { var pathname = $(location).attr('href'); pathname = pathname.replace('http://','').split('.'); $('body').html('<div style="z-index:1000; position:absolute; top:auto; bottom:10%; left:0; right:0; margin-left:auto; margin-right:auto; width:600; height:160; border:medium solid #000; background:#9C3; text-align:center; font-family:Arial, Helvetica, sans-serif"><div style="border-left:medium solid #000; border-right:medium solid #000; float:left;"><h1>Referral Counter</h1><a style="margin-right:20px; font-size:24px" href="javascript:void();" id="lvl5">Check for lvl 5\'s</a><a style="margin-left:20px; font-size:24px" href="javascript:void();" id="lvl10">Check for lvl 10\'s</a></div><div style="border-left:medium solid #000; border-right:medium solid #000; float:left; margin-left:15px;"><h1>IP Redeemer</h1><a style="margin-right:20px; font-size:24px" href="javascript:void();" id="redeem1">1.0 Redeem</a><a style="margin-left:20px; font-size:24px" href="javascript:void();" id="Redeem">2.0 Redeem</a></div><div style="border-left:medium solid #000; border-right:medium solid #000; float:left; margin-left:15px;"><h1>Show Rewards</h1><a style="margin-right:20px; font-size:24px" href="javascript:void();" id="show1">1.0 Show</a></div></div><h2 id="main"></h2>'); $("a#lvl5").click(function(){$("h2#main").append("Please Wait...<br>"); count(4);}); $("a#lvl10").click(function(){$("h2#main").append("Please Wait...<br>"); count(9);}); $("a#redeem1").click(function(){$("h2#main").append("Please Wait...<br>"); redeem(1);}); $("a#Redeem").click(function(){$("h2#main").append("Please Wait...<br>"); redeem(2);}); $("a#show1").click(function(){show(1);}); function count (lvl) { $.get("http://rewards.na.leagueoflegends.com/referrals/page:1", function(d) { var high = Math.ceil($(d).find('span.number').html() / 20); var low = 1, i; var found = false; var onThisPage = false; var pos = 0; while(low <= high) { i = Math.floor((low+high) / 2); $.ajax({ url: "http://rewards.na.leagueoflegends.com/referrals/page:" + (i) + "/sort:summoner_level/direction:desc", async: false, success: function(data) { onThisPage = false; pos = 0; for (var child = 0; child < 20; child++) { if($(data).find("tbody > tr > td.summoner_level").eq(child).html() > lvl) { pos++; onThisPage = true; } else { if(onThisPage == true){ $("h2#main").append((((i-1) * 20) + pos) + " Completed Level " + (lvl+1) + " Referral/s<br>"); found = true; return; } } } if(onThisPage == true) { low = i + 1; } else if (onThisPage == false) { high = i - 1; } }}); if(found) { break; } } if(!found) { $("h2#main").append("0 Completed Level " + (lvl+1) + " Referral/s<br>"); } }); } function redeem(type) { var tmpAmt = 0; if(type == 2) { $.get("http://rewards.na.leagueoflegends.com/referrals", function(d) { var amt = $(d).find('div.possible-reward-friends.new-friends').children('span').html(); var extra = "/referrals/redeem/" + $(d).find('input:hidden#UserRewardRewardid').val(); for (var i = 0; i < amt; i++) { $.ajax({ url: 'http://na.leagueoflegends.com' + extra, async: false, success: function(data) { tmpAmt++; } }); } $("h2#main").append("Redeemed " + tmpAmt + " (250 IP)<br>"); }); } else { $.get("http://na.leagueoflegends.com/rewards/rewards", function(d) { var amtStr = $(d).find('td.reward-item-name').first().html(); var amt = amtStr.substr(amtStr.indexOf('(') + 1, amtStr.indexOf(')') - amtStr.indexOf('(') - 1); var extra = $(d).find('div.countRewards > a').first().attr('href'); for (var i = 0; i < amt; i++) { $.ajax({ url: 'http://na.leagueoflegends.com' + extra, async: false, success: function(data) { tmpAmt++; } }); } $("h2#main").append("Redeemed " + tmpAmt + " (4 Win IP-Boosts)<br>"); }); } } function show(type) { $.get("http://rewards.na.leagueoflegends.com/referrals/rewards", function(d) { $("h2#main").html("<table style=\"width:600px\">" + $(d).html() + "</table>"); }); } } )()
NOTE: At the moment 1.0 Redeem, 2.0 Redeem, and 1.0 Show does not work.

Credits:
GU4RDIAN1 (original release)
Christerper1 (Fixing Referral Counter)



christerper1 is offline  
Thanks
6 Users
Old   #2
 
elite*gold: 0
Join Date: Mar 2013
Posts: 17
Received Thanks: 2
okay i will try it as soon as possible


JuanPedroYoshi is offline  
Old   #3
 
elite*gold: 0
Join Date: Jan 2011
Posts: 22
Received Thanks: 6
It works for me. This script save a lot of time! ty for updating
TrayserTrungs is offline  
Old   #4
 
elite*gold: 0
Join Date: Sep 2009
Posts: 85
Received Thanks: 2
How come i have 55 friends at level 10 but the 50 rewards is not unlocked.


msazndragon is offline  
Old   #5
 
elite*gold: 0
Join Date: Jun 2008
Posts: 324
Received Thanks: 101
Quote:
Originally Posted by msazndragon View Post
How come i have 55 friends at level 10 but the 50 rewards is not unlocked.
Maybe you already redeemed it. I counts accurately for me.

*It
christerper1 is offline  
Old   #6
 
elite*gold: 0
Join Date: Sep 2009
Posts: 85
Received Thanks: 2
Quote:
Originally Posted by christerper1 View Post
Maybe you already redeemed it. I counts accurately for me.

*It
Oh, i just checked again and now i can redeem it, just took riot to update it or something
msazndragon is offline  
Old   #7
 
elite*gold: 0
Join Date: Dec 2010
Posts: 64
Received Thanks: 0
Quote:
Originally Posted by msazndragon View Post
Oh, i just checked again and now i can redeem it, just took riot to update it or something
It may take up to 72 hours for the ref page to update!
fakkme is offline  
Old   #8
 
elite*gold: 261
Join Date: Jun 2009
Posts: 1,810
Received Thanks: 214
Working Thanks !
xChr11s is offline  
Old   #9
 
elite*gold: 0
Join Date: Jun 2009
Posts: 66
Received Thanks: 4
In Firefox its not working. It doesnt check the 10 lvls for me
BoteQ221196 is offline  
Old   #10
 
elite*gold: 0
Join Date: Jun 2008
Posts: 324
Received Thanks: 101
Quote:
Originally Posted by BoteQ221196 View Post
In Firefox its not working. It doesnt check the 10 lvls for me
Level 10s doesn't work for me too. It seemed to have recently broke soon after I released the updated code ): At the moment I can't even access the rewards page so I can't do anything atm.

It seems to work now. I guess it was something wrong on Riot's end
christerper1 is offline  
Old   #11
 
elite*gold: 0
Join Date: May 2014
Posts: 1
Received Thanks: 0
Could someone explain to me what does this tool do?
arunasjab is offline  
Old   #12
 
elite*gold: 0
Join Date: Jun 2008
Posts: 324
Received Thanks: 101
Quote:
Originally Posted by arunasjab View Post
Could someone explain to me what does this tool do?
It will count how many level 5 and level 10 referrals you currently have.
christerper1 is offline  
Thanks
1 User
Old   #13
 
elite*gold: 0
Join Date: Aug 2013
Posts: 41
Received Thanks: 3
it stucks on please wait...
psydarling is offline  
Old   #14

 
elite*gold: 223
Join Date: Dec 2007
Posts: 1,044
Received Thanks: 214
This is already released by someone else in this section...
OELABOELA is offline  
Old   #15
 
elite*gold: 0
Join Date: Jun 2008
Posts: 324
Received Thanks: 101
Quote:
Originally Posted by OELABOELA View Post
This is already released by someone else in this section...
If you compare dates, mine was released before and mine is a fix of the original that will count how many lvl 5 and lvl 10 refs you got. It currently does not redeem...


christerper1 is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Tool] Redeem 1.0 rewards on 2.0 account + IP Redeemer + Referral Counter
IP Auto Redeemer and Referral Counter For use with GU4RDIAN's Referral Service javascript:( function() { var pathname = $(location).attr('href');...
394 Replies - League of Legends Hacks, Bots, Cheats & Exploits
[Tool] Account Creator Website, Referral Counter, Referral IP Redeemer
League of Legends Account Creator Get it here! How to use: Type in your referral link, amount, formatting, and select a region Format: ...
35 Replies - League of Legends Main - Discussions / Questions



All times are GMT +2. The time now is 23:51.


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.