Skip to content

Commit

Permalink
Merge pull request #14 from Paradax-Elite/master
Browse files Browse the repository at this point in the history
Updated
  • Loading branch information
MManoah authored Aug 19, 2020
2 parents 56edcc9 + 2a97126 commit 4d7dcea
Show file tree
Hide file tree
Showing 11 changed files with 163 additions and 41 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
This application combines the icon changer, background changer, and also has a feature where you can see the dates of purchase of the the champions and skins on your account.

## How to install
[Click Here To Download Application 64 BIT](https://github.com/MManoah/league-profile-tool/releases/download/V.2.4.3/League.Profile.Tool.zip)
[Click Here To Download Application 64 BIT](https://github.com/Paradax-Elite/league-profile-tool/releases/download/V.2.4.4/League.Profile.Tool.zip)

[Click Here To Download Application 32 BIT](https://github.com/MManoah/league-profile-tool/releases/download/V.2.4.3/League.Profile.Tool.32.BITS.zip)
[Click Here To Download Application 32 BIT](https://github.com/Paradax-Elite/league-profile-tool/releases/download/V.2.4.4/League.Profile.Tool.zip)

then extract all the files somewhere and run league-profile-tool.exe

Expand Down
79 changes: 56 additions & 23 deletions src/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ body {
}
.sidebarcomp {
text-align: center;
margin-top: 2.3em;
margin-top: 1.8em;
display: block;
-webkit-app-region: no-drag;
}
Expand Down Expand Up @@ -54,11 +54,11 @@ h3 {
margin-top: 50%;
text-align: center;
font-size: 2.5em;
width: 260px;
width: auto;
height: 40px;
border: none;
cursor: text;
user-select: text;
cursor: default;
}
.icon {
color: white;
Expand Down Expand Up @@ -176,15 +176,15 @@ img {
transition: 0.5s;
cursor: pointer;
}
.clubPage{
.clubPage {
text-align: center;
}
#clubs{
#clubs {
font-size: 1.5em;
margin-top: 5em;
cursor: pointer;
}
#setClub{
#setClub {
padding: 0;
font-size: 1.7em;
width: 2em;
Expand All @@ -193,58 +193,57 @@ img {
padding-bottom: 1px;
cursor: pointer;
}
#sClub{
#sClub {
margin-top: -15px;
margin-bottom: 10px;
}
.clubT{
.clubT {
color: white;
font-size: 25px;
margin-top: -25px;
}
.aramM{
.aramM {
text-align: center;
}
#aramHead{
#aramHead {
margin-top: -15px;
font-size: 30px;
width: 125px;
}
.aramDes{
.aramDes {
color: white;
font-size: 25px;
margin-bottom: -20px;
}
#boost{
#boost {
padding: 0;
font-size: 30px;
height: 44px;
width: 64px;
margin-top: 13em;
cursor: pointer;
}
.club:hover{
.club:hover {
background-color: #3d91ff;
cursor: pointer;
}
#clubCode{
#clubCode {
margin-top: 0px;
cursor: text;
}
.clubCodeFocus{
.clubCodeFocus {
margin-top: 0px !important;
}
.statusGroup{

.statusGroup {
text-align: center;
}
.status{
.status {
font-size: 25px;
width: 678px;
height: 557px;
cursor: text;
}
#setStatus{
#setStatus {
padding: 0;
font-size: 25px;
height: 35px;
Expand All @@ -258,17 +257,17 @@ img {
margin-left: auto;
margin-right: auto;
}
#friendName{
#friendName {
cursor: text;
margin-top: 110px;
}
#lobbyMember{
#lobbyMember {
cursor: text;
}
#champSelect{
#champSelect {
cursor: text;
}
#getClubData{
#getClubData {
padding: 0;
font-size: 1.7em;
width: 7.1em;
Expand All @@ -277,3 +276,37 @@ img {
padding-bottom: 1px;
cursor: pointer;
}
#iconText {
cursor: text;
}
#customIcon {
text-align: center;
color: white;
font-size: 30px;
line-height: 20px;
margin-top: 50px;
}
.iconButtons {
display: inline-block;
cursor: pointer;
}
.iconB {
text-align: center;
}
.faqBody {
text-align: left;
color: white;
font-size: 30px;
margin-left: 5px;
}
dl {
margin: 0;
}
dt {
text-decoration: underline;
}
dd{
font-size: 25px;
-webkit-text-stroke-width: 0.7px;
-webkit-text-stroke-color: white;
}
29 changes: 18 additions & 11 deletions src/html/club.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,19 @@ <h4 class="clubT">*You must also be in a club first*</h4>
>
<option disabled selected value> Choose a Club </option>
<option class="club" value="blackHeart">🖤</option>
<option class="club" value="flower">🌸</option>
<option class="club" value="frog">🐸</option>
<option class="club" value="star">STAR ⭐</option>
<option class="club" value="diamond">💎</option>
<option class="club" value="ocean">🌊</option>
<option class="club" value="Sip">Sip 🧃</option>
<option class="club" value="key">🔑🔑</option>
<option class="club" value="L9">L9</option>
<option class="club" value=":)">:)</option>
<option class="club" value=":)">:)</option>
<option class="club" value=":(">:(</option>
<option class="club" value="God">God</option>
<option class="club" value="Girl">Girl</option>
<option class="club" value="eGirl">eGirl</option>
<option class="club" value="Kitty">Kitty</option>
<option class="club" value="123">123</option>
<option class="club" value="Kat">Kat</option>
Expand All @@ -35,7 +44,6 @@ <h4 class="clubT">*You must also be in a club first*</h4>
<option class="club" value="ok•••">ok•••</option>
<option class="club" value="XD:">XD:</option>
<option class="club" value="Jáññà">Jáññà</option>
<option class="club" value="lynx">lynx</option>
<option class="club" value="Λ.D">Λ.D</option>
<option class="club" value="¿kys">¿kys</option>
</select>
Expand Down Expand Up @@ -64,17 +72,16 @@ <h4 class="clubT">*You must also be in a club first*</h4>
placeholder="Custom Game Member"
/>
</div>
<div class="clubData">
<input
type="text"
id="clubCode"
class="form-control"
placeholder="Custom Club Data"
/>
</div>
<div class="clubData">
<input
type="text"
id="clubCode"
class="form-control"
placeholder="Custom Club Data"
/>
</div>
<button id="setClub" type="button">Set</button>
<button id="getClubData" type="button">Get Club Data Only</button>
</div>
</body>
</html>

35 changes: 35 additions & 0 deletions src/html/faq.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html lang="en">
<body>
<div class="dragtop"></div>
<div class="faqBody">
<dl>
<dt>I keep getting an error</dt>
<dd>
1. Open task manager then go to the details tab<br />
2. Find LeagueClient.exe then right click and click properties<br />
3. Copy the location then go to config/clientPath.txt in the profile
tool<br />
4. Paste it there, save, and restart the tool.
</dd>
<dt>Will there be more updates?</dt>
<dd>
Most likely not. The developer who made this tool will be going back
to university and will not be working on this tool anymore. I
(Paradax) have been given permission to maintain the repo and might
release new updates in the future.
</dd>
<dt>Where do I see updates/changes?</dt>
<dd>
They will be posted in the discord server and the releases section of
github
</dd>
<dt>I want to develop another version of this tool</dt>
<dd>
Go for it! If you have any questions feel free to ask in the discord
server, or send either of us a DM.
</dd>
</dl>
</div>
</body>
</html>
4 changes: 2 additions & 2 deletions src/html/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
<body>
<div class="dragtop"></div>
<h1 id="homeHead">LEAGUE PROFILE TOOL</h1>
<h4 class="version">Local Version: V.2.4.3</h4>
<h4 class="version">Local Version: V.2.4.4</h4>
<h4 id="newVersion" class="version"></h4>
<h3 class="contact">discord.gg/cXGCvt</h3>
<h3 class="contact">Check github for discord</h3>
<span class="icon icon-github-circled"></span>
<span class="icon icon-video"></span>
</body>
Expand Down
18 changes: 18 additions & 0 deletions src/html/icon.html
Original file line number Diff line number Diff line change
Expand Up @@ -217,5 +217,23 @@
width="100"
height="100"
/>
<h4 id="customIcon">
Any icon code, the icon shows to everyone <br>on the client (you will not see it) <br>however it
goes away when you log out!
</h4>
<form>
<div class="form-group">
<input
type="text"
id="iconText"
class="form-control"
placeholder="Custom Icon Code"
/>
</div>
</form>
<div class="iconB">
<button id="lolNames" class="btn btn-large btn-default iconButtons">Codes</button>
<button id="iconCode" class="btn btn-large btn-default iconButtons">Submit</button>
</div>
</body>
</html>
3 changes: 3 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ <h3 id="club">Club Tag</h3>
<div class="sidebarcomp">
<h3 id="aram">Aram</h3>
</div>
<div class="sidebarcomp">
<h3 id="faq">F.A.Q</h3>
</div>
<div class="sidebarcomp">
<h3 id="exit">Exit</h3>
</div>
Expand Down
1 change: 1 addition & 0 deletions src/javascript/faq.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion src/javascript/home.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var homeIcons = document.querySelectorAll(".icon");
var newVersion = document.querySelector("#newVersion");
mouseDown(0, "https://github.com/MManoah");
mouseDown(0, "https://github.com/MManoah/league-profile-tool");
mouseDown(1, "https://www.youtube.com/c/mmanoah");
async function load() {
let url =
Expand Down
27 changes: 26 additions & 1 deletion src/javascript/icon.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
var imgButtons = document.querySelectorAll(".sumIcon");
var text = document.querySelector("#iconText");
var iconButton = document.querySelector("#iconCode");
var lolNames = document.querySelector("#lolNames");
var iconCode = {
profileIconId: 0,
};

var anyIcon = {
icon: 0,
};
for (let i = 0; i < imgButtons.length; i++) {
imgButtons[i].addEventListener("mouseover", function () {
this.classList.add("imgButtonToggle");
Expand All @@ -15,3 +20,23 @@ for (let i = 0; i < imgButtons.length; i++) {
makeRequest("PUT", iconCode, "/lol-summoner/v1/current-summoner/icon");
});
}
iconButton.addEventListener("mousedown", function () {
let value = parseInt(text.value);
if (!isNaN(value) && !(value < 0)) {
anyIcon["icon"] = value;
makeRequest("PUT", anyIcon, "/lol-chat/v1/me");
} else {
let dialogOptions = {
type: "error",
title: "Error",
message: "Not a valid icon code",
};
dialog.showMessageBox(dialogOptions);
}
});
lolNames.addEventListener("mousedown", function (e) {
e.preventDefault();
require("electron").shell.openExternal(
"https://lolnames.gg/en/statistics/icons/"
);
});
2 changes: 1 addition & 1 deletion version.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"version": "V.2.4.3"
"version": "V.2.4.4"
}

0 comments on commit 4d7dcea

Please sign in to comment.