From 4f067880a01aec17e6dd4a097f97467fbf1d5b4e Mon Sep 17 00:00:00 2001 From: clownless Date: Sat, 30 Jan 2021 22:38:49 +0400 Subject: [PATCH] 3.1.1 merge --- FileInstall/Web/css/shit.css | 9 ++++++ FileInstall/Web/js/shit.js | 29 +++++++++++++++++++ FileInstall/Web/main.html | 56 ++++++++++++++++++++++++++++-------- FileInstall/cheats | 2 +- loader.ahk | 6 ++-- 5 files changed, 86 insertions(+), 16 deletions(-) diff --git a/FileInstall/Web/css/shit.css b/FileInstall/Web/css/shit.css index 92c7375..5803d01 100644 --- a/FileInstall/Web/css/shit.css +++ b/FileInstall/Web/css/shit.css @@ -15,6 +15,15 @@ user-select: none; } +.cheat-info{ + position: absolute; + color: #1d97aa; + left: 135px; + width: 230px; + top: 50px; + white-space: pre-line; + word-wrap: break-all; +} body { diff --git a/FileInstall/Web/js/shit.js b/FileInstall/Web/js/shit.js index b82e155..2dfd457 100644 --- a/FileInstall/Web/js/shit.js +++ b/FileInstall/Web/js/shit.js @@ -6,6 +6,8 @@ function GetSelectedCheat() function CheatButtonClicked() { document.getElementById("inject_button").disabled = false; + GetCheatStatus(GetSelectedCheat()); + GetCheatAbout(GetSelectedCheat()); } function BypassButtonClicked() { @@ -28,3 +30,30 @@ function toggleTheme() { setTheme(theme_light, "#000000") } } +function GetCheatAbout(zaebalo) +{ + var bruh = parseINIString(inifile)["info"][zaebalo]; + console.log(bruh); + document.getElementById("shit228").textContent = bruh; + return +} +function GetCheatStatus(zaebalo) { + var status = parseINIString(inifile)["status"][zaebalo]; + console.log(status); + if (status == "Use at own risk") + { + document.getElementById("shit").textContent = "Use at own risk"; + document.getElementById("cheatstatus").className = "text-warning"; + } + if (status == "DETECT") + { + document.getElementById("shit").textContent = "DETECT"; + document.getElementById("cheatstatus").className = "text-danger"; + } + if (status == "UNDETECT") + { + document.getElementById("shit").textContent = "UNDETECT"; + document.getElementById("cheatstatus").className = "text-success"; + } + return +} \ No newline at end of file diff --git a/FileInstall/Web/main.html b/FileInstall/Web/main.html index 26136f6..8893c5b 100644 --- a/FileInstall/Web/main.html +++ b/FileInstall/Web/main.html @@ -24,18 +24,44 @@
@@ -71,6 +97,12 @@ } createCheatsButtons(); +
+ +
+
+ +
diff --git a/FileInstall/cheats b/FileInstall/cheats index 0aba0cd..b5ece12 160000 --- a/FileInstall/cheats +++ b/FileInstall/cheats @@ -1 +1 @@ -Subproject commit 0aba0cd602c7881434cc15db5c7ac7e4291c474e +Subproject commit b5ece125bd54e3f1c434415751d77cd9ba96ba3b diff --git a/loader.ahk b/loader.ahk index 83aa71d..60e7976 100644 --- a/loader.ahk +++ b/loader.ahk @@ -25,12 +25,12 @@ ;@Ahk2Exe-SetDescription A simple cheats loader written in AHK. ;@Ahk2Exe-SetCopyright Copyright (C) 2021 CodISH inc. ;@Ahk2Exe-SetCompanyName CodISH Inc. -;@Ahk2Exe-SetProductVersion 3.1.0.0 -;@Ahk2Exe-SetVersion 3.1.0.0 +;@Ahk2Exe-SetProductVersion 3.1.1.0 +;@Ahk2Exe-SetVersion 3.1.1.0 ;@Ahk2Exe-SetMainIcon icon.ico ;@Ahk2Exe-UpdateManifest 1 global script = "FET Loader YG" -global version = "v3.1.0" +global version = "v3.1.1" global build_status = "release" global times = 3 ; piece of shit, don't touch