This repository has been archived by the owner on Jan 7, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
763be86
commit 7d1d489
Showing
31 changed files
with
672 additions
and
213 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
bin/ | ||
obj/ | ||
obj/ | ||
Binaries/ |
Binary file not shown.
Binary file added
BIN
+224 KB
.vs/ProSwapperLobby/FileContentIndex/3e20a492-8c6b-4235-b99f-98a2f833a437.vsidx
Binary file not shown.
Binary file added
BIN
+1.69 MB
.vs/ProSwapperLobby/FileContentIndex/5d212499-49d2-4d9a-8efd-9cafe6aa303e.vsidx
Binary file not shown.
Binary file added
BIN
+109 KB
.vs/ProSwapperLobby/FileContentIndex/76e500ee-c352-41ae-a1f7-7239a2b5ad00.vsidx
Binary file not shown.
Binary file removed
BIN
-1.41 MB
.vs/ProSwapperLobby/FileContentIndex/958a039c-2890-4bfb-b1d5-08bdc814569e.vsidx
Binary file not shown.
Binary file added
BIN
+1.41 MB
.vs/ProSwapperLobby/FileContentIndex/a4e9a90d-1c3d-4832-b015-141d7e09a157.vsidx
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
{ | ||
"Disable": false, | ||
"DiscordID": 703033424541384784 | ||
"DisableMessage": "Hello World", | ||
"DiscordID": 703033424541384784, | ||
"KeyLifetime": 172800 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,46 +11,3 @@ Select one of the tabs to start swapping! | |
|
||
<br /> | ||
<iframe src="https://discord.com/[email protected]&theme=dark" width="350" height="500" allowtransparency="true" frameborder="0" sandbox="allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-scripts"></iframe> | ||
|
||
|
||
@code { | ||
|
||
|
||
protected override void OnInitialized() | ||
{ | ||
base.OnInitialized(); | ||
|
||
using (WebClient wc = new()) | ||
{ | ||
string data = wc.DownloadString("https://pro-swapper.github.io/api/LobbyAPI.json"); | ||
|
||
var apiresp = JsonConvert.DeserializeObject<Data.API.Rootobject>(data); | ||
|
||
if (apiresp.Disable == true) | ||
{ | ||
Process.GetCurrentProcess().Kill(); | ||
} | ||
|
||
apiresp.DiscordID = 703033424541384784; | ||
|
||
Services.MainService.DiscordWidgetAPI = JsonConvert.DeserializeObject<Data.DiscordWidgetAPI.Root>(wc.DownloadString($"https://discord.com/api/guilds/{apiresp.DiscordID}/widget.json")); | ||
} | ||
|
||
ProSwapperLobby.DiscordRPC.InitializeRPC(); | ||
|
||
Directory.CreateDirectory(Services.MainService.ProSwapperFolder + "\\.Config"); | ||
MainService.InitConfig(); | ||
|
||
Console.Clear(); | ||
Console.Title = "Pro Swapper Lobby | Made by Kye#5000"; | ||
Console.ForegroundColor = ConsoleColor.Red; | ||
Console.WriteLine("Please do not close this window when using Pro Swapper or the website will not work"); | ||
Console.WriteLine(string.Empty); | ||
Console.WriteLine(string.Empty); | ||
Console.ForegroundColor = ConsoleColor.Blue; | ||
Console.WriteLine($"Pro Swapper Lobby is currently running on http://localhost:6969, if you need any help please ask for help on the Pro Swapper Discord server: {Services.MainService.DiscordWidgetAPI.instant_invite}"); | ||
Console.WriteLine(string.Empty); | ||
Console.WriteLine(string.Empty); | ||
Console.WriteLine($"If you have paid for this software, you have been scammed. It is free to download at {Services.MainService.DiscordWidgetAPI.instant_invite} and is also available on GitHub: https://github.com/Pro-Swapper"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.