Skip to content
This repository was archived by the owner on Mar 16, 2021. It is now read-only.

Commit 9fcc4f8

Browse files
committed
transfer to gitlab
1 parent 94ce31c commit 9fcc4f8

File tree

6 files changed

+27
-37
lines changed

6 files changed

+27
-37
lines changed

Lib/Inject_Dll.ahk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
;=================================================================================
22
; InjectDll - An AutoHotkey library for injecting dll files into a process
33
; Copyright (C) 2016 Brian Baker https://github.com/Fooly-Cooly
4-
; Copyright (C) 2021 a1987zz https://github.com/a1987zz
5-
; Copyright (C) 2021 clownless https://github.com/clownless
4+
; Copyright (C) 2021 a1987zz https://github.com/a1987zz
5+
; Copyright (C) 2021 clownless https://github.com/clownless
66
; Requires AutoHotKey ANSI
77
;=================================================================================
88

Lib/OTA.ahk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ class OTA
66
{
77
checkupd()
88
{
9-
UrlDownloadToFile, https://api.github.com/repos/clangremlini/fet-loader/releases/latest, %A_AppData%\FET Loader\json.tmp
9+
UrlDownloadToFile, https://gitlab.com/api/v4/projects/25081260/repository/files/version.json/raw?ref=master, %A_AppData%\FET Loader\json.tmp
1010
FileRead, jsonStr, %A_AppData%\FET Loader\json.tmp
1111
VarSetCapacity(ansi, StrPut(jsonStr, "CP1251")), StrPut(jsonStr, &ansi, "CP1251")
1212
jsonStr := StrGet(&ansi, "UTF-8")
1313
parsed := JSON.Load(jsonStr)
14-
latest_release := parsed.tag_name
15-
change_log := parsed.body
16-
download_url := parsed.assets[1].browser_download_url
14+
latest_release := parsed.version
15+
change_log := parsed.changelog
16+
download_url := parsed.downloadurl
1717
if (version != latest_release)
1818
{
1919
Logging(1,"A new version is available. Latest version: " latest_release)

Lib/functions.ahk

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ ShowAbout(neutron)
1010
Gui, About:Show, w315 h155, %script% %version% | About
1111
Gui, About:Add, Text, x112 y9 w100 h30 +Center, %script% | %bruhshit%
1212
Gui, About:Add, Text, x59 y37 w200 h30 +Center, FET лоадер для FET пацанов от разработчиков из FETьмы
13-
Gui, About:Add, Link, x60 y69 w200 h20 +Center, Разработчики: <a href="https://m4x3r.xyz/">clownless</a>, <a href="https://github.com/toxyxd">toxyxd</a> и <a href="https://rf0x3d.su">rf0x3d</a>
14-
Gui, About:Add, Link, x50 y115 w100 h20 +Center, <a href="https://github.com/clangremlini/fet-loader">Github</a>
13+
Gui, About:Add, Link, x60 y69 w200 h20 +Center, Разработчики: <a href="https://clownless.xyz/">clownless</a>, <a href="https://github.com/toxyxd">toxyxd</a> и <a href="https://rf0x3d.su">rf0x3d</a>
14+
Gui, About:Add, Link, x50 y115 w100 h20 +Center, <a href="https://gitlab.com/FETLoader">Gitlab</a>
1515
Gui, About:Add, Link, x140 y115 w100 h20 +Center, <a href="https://t.me/fetloader">Telegram</a>
1616
Gui, About:Add, Link, x230 y115 w100 h20 +Center, <a href="https://fetloader.xyz">Site</a>
1717
Logging(1,"done.")
@@ -22,7 +22,7 @@ Bypass(neutron)
2222
IfNotExist, %A_AppData%\FET Loader\vac-bypass.exe
2323
{
2424
Logging(1,"Downloading vac-bypass.exe...")
25-
UrlDownloadToFile, https://github.com/%cheatrepo%/raw/main/vac-bypass.exe, %A_AppData%\FET Loader\vac-bypass.exe
25+
UrlDownloadToFile, https://gitlab.com/api/v4/projects/25080350/repository/files/vac-bypass.exe/raw?ref=main, %A_AppData%\FET Loader\vac-bypass.exe
2626
Logging(1, "done.")
2727
}
2828
Logging(1, "Running bypass...")
@@ -32,7 +32,7 @@ Bypass(neutron)
3232
}
3333
OpenSource(neutron) ; костыли по другому не работают
3434
{
35-
Run, https://github.com/clangremlini/fet-loader
35+
Run, https://gitlab.com/FETLoader/FETLoader
3636
}
3737
Inject(neutron, event)
3838
{
@@ -63,7 +63,6 @@ Inject(neutron, event)
6363
if (PID > 0 and event != "Custom" and event != "CornerStone") ;govnokod mne poxui
6464
{
6565
IniRead, dll, %A_AppData%\FET Loader\cheats.ini, cheats, %event%
66-
IniRead, cheatrepo, %A_AppData%\FET Loader\config.ini, settings, cheatrepo
6766
IniRead, forceLoadLibrary, %A_AppData%\FET Loader\config.ini, settings, forceLoadLibrary
6867
IniRead, injectMethod, %A_AppData%\FET Loader\cheats.ini, inject, %event%
6968
if (forceLoadLibrary = "true")
@@ -77,8 +76,8 @@ Inject(neutron, event)
7776
{
7877
IfNotExist, %A_AppData%\FET Loader\%dll%
7978
{
80-
Logging(1,"Trying to download " dll " from https://github.com/" cheatrepo "/raw/main/" dll " to " A_AppData "\FET Loader\" dll)
81-
UrlDownloadToFile, https://github.com/%cheatrepo%/raw/main/%dll%, %A_AppData%\FET Loader\%dll%
79+
Logging(1,"Trying to download " dll " from https://gitlab.com/FETLoader/dll-repo/raw/main/" dll " to " A_AppData "\FET Loader\" dll)
80+
UrlDownloadToFile, https://gitlab.com/api/v4/projects/25080350/repository/files/%dll%/raw?ref=main, %A_AppData%\FET Loader\%dll%
8281
if (ErrorLevel = "0")
8382
{
8483
Logging(1, "done.")
@@ -95,7 +94,7 @@ Inject(neutron, event)
9594
IfNotExist, %A_AppData%\FET Loader\emb.exe
9695
{
9796
Logging(1,"Downloading emb.exe...")
98-
UrlDownloadToFile, https://github.com/%cheatrepo%/raw/main/emb.exe, %A_AppData%\FET Loader\emb.exe
97+
UrlDownloadToFile, https://gitlab.com/api/v4/projects/25080350/repository/files/emb.exe/raw?ref=main, %A_AppData%\FET Loader\emb.exe
9998
Logging(1, "done.")
10099
}
101100
if (injectMethod = "loadlibrary")

Lib/lang_strings.ahk

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,13 @@ IfNotExist, %A_AppData%\FET Loader\config.ini
1515
{
1616
Logging(1, "Creating config file...")
1717
IniWrite, true, %A_AppData%\FET Loader\config.ini, settings, checkupdates
18-
IniWrite, clangremlini/fetloader-dll-repo, %A_AppData%\FET Loader\config.ini, settings, cheatrepo
1918
IniWrite, false, %A_AppData%\FET Loader\config.ini, settings, oldgui
2019
Logging(1, "done.")
2120
}
2221

2322

2423
isConfigValue(A_AppData "\FET Loader\config.ini","settings","oldgui","false")
2524
isConfigValue(A_AppData "\FET Loader\config.ini","settings","checkupdates","true")
26-
isConfigValue(A_AppData "\FET Loader\config.ini","settings","cheatrepo","clangremlini/fetloader-dll-repo")
27-
isConfigValue(A_AppData "\FET Loader\config.ini","settings","branch","main")
2825
isConfigValue(A_AppData "\FET Loader\config.ini","settings","forceLoadLibrary","false")
2926

3027

Web/js/iniparser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function getText() {
22
var xmlHttp = new XMLHttpRequest();
3-
var linktomainfile = "https://github.com/clangremlini/fetloader-dll-repo/raw/main/cheats.ini";
3+
var linktomainfile = "https://gitlab.com/api/v4/projects/25080350/repository/files/cheats.ini/raw?ref=main";
44
xmlHttp.open("GET", linktomainfile, false);
55
xmlHttp.send(null);
66
return xmlHttp.responseText;

loader.ahk

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
; MIT License
22
;
3-
; Copyright (c) 2021 CodISH Inc.
3+
; Copyright (c) 2021 clownless (Maxim K.)
44
;
55
; Permission is hereby granted, free of charge, to any person obtaining a copy
66
; of this software and associated documentation files (the "Software"), to deal
@@ -23,14 +23,14 @@
2323
;
2424
;@Ahk2Exe-SetName FET Loader
2525
;@Ahk2Exe-SetDescription A simple cheats loader written in AHK.
26-
;@Ahk2Exe-SetCopyright Copyright (C) 2021 CodISH inc.
27-
;@Ahk2Exe-SetCompanyName CodISH Inc.
28-
;@Ahk2Exe-SetProductVersion 3.2.1.0
29-
;@Ahk2Exe-SetVersion 3.2.1.0
26+
;@Ahk2Exe-SetCopyright Copyright (C) 2021 clownless
27+
;@Ahk2Exe-SetCompanyName Maxim K.
28+
;@Ahk2Exe-SetProductVersion 3.2.2.0
29+
;@Ahk2Exe-SetVersion 3.2.2.0
3030
;@Ahk2Exe-SetMainIcon icon.ico
3131
;@Ahk2Exe-UpdateManifest 1
3232
global script = "FET Loader"
33-
global version = "v3.2.1"
33+
global version = "v3.2.2"
3434
global build_status = "release"
3535
global times = 3 ; piece of shit, don't touch
3636

@@ -48,7 +48,6 @@ SetBatchLines, -1
4848
CoordMode, Mouse, Screen
4949

5050
FileDelete, %A_AppData%\FET Loader\Web\main.*
51-
FileDelete, %A_AppData%\FET Loader\Web\js\iniparser.*
5251
FileDelete, %A_AppData%\FET Loader\cheats.ini
5352
FileDelete, %A_AppData%\FET Loader\*.dll
5453

@@ -58,8 +57,6 @@ RegRead, winbuild, HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion, BuildLabEx
5857
RegRead, isLightMode, HKCU,SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize, SystemUsesLightTheme
5958
RegRead, isReaded, HKCU\SOFTWARE\CodISH Inc\FET Loader, isReadedDisclaimer
6059
RegRead, isDPIWarningReaded, HKCU\SOFTWARE\CodISH Inc\FET Loader, isDPIWarningReaded
61-
IniRead, cheatrepo, %A_AppData%\FET Loader\config.ini, settings, cheatrepo
62-
IniRead, branch, %A_AppData%\FET Loader\config.ini, settings, branch
6360
IniRead, oldgui, %A_AppData%\FET Loader\config.ini, settings, oldgui
6461
IniRead, cheatlist, %A_AppData%\FET Loader\cheats.ini, cheatlist, cheatlist
6562
IniRead, checkupdates, %A_AppData%\FET Loader\config.ini, settings, checkupdates
@@ -123,19 +120,20 @@ Logging(1,"Creating folders and downloading files...")
123120
IfNotExist, %A_AppData%\FET Loader\cheats.ini
124121
{
125122
Logging(1,"- Getting cheat list...")
126-
UrlDownloadToFile, https://github.com/%cheatrepo%/raw/main/cheats.ini, %A_AppData%\FET Loader\cheats.ini
123+
UrlDownloadToFile, https://gitlab.com/api/v4/projects/25080350/repository/files/cheats.ini/raw?ref=main, %A_AppData%\FET Loader\cheats.ini
127124
Logging(1,"......done.")
128125
}
126+
129127
IfNotExist, %A_AppData%\FET Loader\vac-bypass.exe
130128
{
131129
Logging(1,"- Downloading vac-bypass.exe...")
132-
UrlDownloadToFile, https://github.com/clangremlini/fetloader-dll-repo/raw/main/vac-bypass.exe, %A_AppData%\FET Loader\vac-bypass.exe
130+
UrlDownloadToFile, https://gitlab.com/api/v4/projects/25080350/repository/files/vac-bypass.exe/raw?ref=main, %A_AppData%\FET Loader\vac-bypass.exe
133131
Logging(1,"......done.")
134132
}
135133
IfNotExist, %A_AppData%\FET Loader\emb.exe
136134
{
137135
Logging(1,"- Downloading emb.exe...")
138-
UrlDownloadToFile, https://github.com/clangremlini/fetloader-dll-repo/raw/main/emb.exe, %A_AppData%\FET Loader\emb.exe
136+
UrlDownloadToFile, https://gitlab.com/api/v4/projects/25080350/repository/files/emb.exe/raw?ref=main, %A_AppData%\FET Loader\emb.exe
139137
Logging(1,"......done.")
140138
}
141139
Logging(1,"done.")
@@ -157,8 +155,8 @@ else {
157155
Logging(1,"Build No.: "winbuild)
158156
}
159157
Logging(1,"Loader Location: "A_ScriptFullPath)
160-
Logging(1,"Cheat Repo: "cheatrepo)
161-
Logging(1,"Cheat Repo Branch: "branch)
158+
Logging(1,"Cheat Repo: FETLoader/dll-repo")
159+
Logging(1,"Cheat Repo Branch: main")
162160
if (A_IsUnicode = true) {
163161
Logging(1,"Compiler Type: UTF-8")
164162
} else {
@@ -179,7 +177,7 @@ FileCreateDir, Web
179177
FileCreateDir, Web\js
180178
FileCreateDir, Web\css
181179
FileCreateDir, Web\css\fonts
182-
FileInstall, Web\js\iniparser.js, Web\js\iniparser.bak, 1
180+
FileInstall, Web\js\iniparser.js, Web\js\iniparser.js, 1
183181
FileInstall, Web\js\bootstrap-4.4.1.js, Web\js\bootstrap-4.4.1.js, 1
184182
FileInstall, Web\css\bootstrap-4.4.1.css, Web\css\bootstrap-4.4.1.css, 1
185183
FileInstall, Web\js\jquery-3.4.1.min.js, Web\js\jquery-3.4.1.min.js, 1
@@ -245,10 +243,6 @@ if (oldgui = "true")
245243
}
246244
else
247245
{
248-
newrepo = %cheatrepo%/raw/%branch%
249-
FileRead, gui, Web\js\iniparser.bak
250-
StringReplace, newgui, gui, clangremlini/fetloader-dll-repo/raw/main, %newrepo%, All
251-
FileAppend, %newgui%, Web\js\iniparser.js
252246
IniRead, cheatlist, %A_AppData%\FET Loader\cheats.ini, cheatlist, cheatlist
253247
StringSplit, cheatss, cheatlist, |
254248
cheatsCount := cheatss0

0 commit comments

Comments
 (0)