From a2775a6d954f29aff72d21f08a97892d4832f1f2 Mon Sep 17 00:00:00 2001 From: recroom2016tutorial Date: Wed, 11 May 2022 21:51:00 -0400 Subject: [PATCH] openrec 0.6.9 --- ProfieStealer.cs | 10 ++++++---- Program.cs | 6 ++++-- Setup.cs | 16 ++++++++++------ 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/ProfieStealer.cs b/ProfieStealer.cs index b949a65..692b045 100644 --- a/ProfieStealer.cs +++ b/ProfieStealer.cs @@ -11,10 +11,12 @@ namespace api { public static void ProfileSteal(string data) { - List profile = JsonConvert.DeserializeObject>(data); - File.WriteAllText("SaveData\\Profile\\username.txt", profile[0].username); - byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192"); - File.WriteAllBytes("SaveData\\profileimage.png", profileimage); + List profile = JsonConvert.DeserializeObject>(data); + File.WriteAllText("SaveData\\Profile\\username.txt", profile[0].username); + byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192"); + File.WriteAllBytes("SaveData\\profileimage.png", profileimage); + + } public class Root diff --git a/Program.cs b/Program.cs index c170d98..ad59de2 100644 --- a/Program.cs +++ b/Program.cs @@ -263,7 +263,7 @@ namespace start Console.WriteLine("Failed to download profile..."); goto Start; } - ; + List profile = JsonConvert.DeserializeObject>(data); byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192"); File.WriteAllBytes("SaveData\\profileimage.png", profileimage); @@ -317,7 +317,9 @@ namespace start Console.WriteLine("Failed to download profile..."); goto Start; } + ProfieStealer.ProfileSteal(data2); + Console.Clear(); Console.WriteLine("Success!"); goto Start; @@ -403,7 +405,7 @@ namespace start } } public static string version = ""; - public static string appversion = "0.7.0"; + public static string appversion = "0.6.9"; public static bool bannedflag = false; } diff --git a/Setup.cs b/Setup.cs index 655203a..04b694e 100644 --- a/Setup.cs +++ b/Setup.cs @@ -99,13 +99,17 @@ namespace start goto tryagain; tryagain: - try + if (!File.Exists("SaveData\\Rooms\\Downloaded\\roomname.txt")) { - api.CustomRooms.RoomGet("gizmoface"); - } - catch - { - goto tryagain; + try + { + api.CustomRooms.RoomGet("gizmoface"); + } + catch + { + goto tryagain; + } + } Console.WriteLine("Done!"); Console.Clear();