3 Commits

Author SHA1 Message Date
recroom2016tutorial
a7ace2f895 Merge branch 'master' of https://github.com/recroom2016/OpenRec 2022-05-11 21:51:06 -04:00
recroom2016tutorial
a2775a6d95 openrec 0.6.9 2022-05-11 21:51:00 -04:00
Nexus
a5ef24a1e1 Create README.md 2022-05-08 23:18:23 +01:00
4 changed files with 37 additions and 12 deletions

View File

@@ -11,10 +11,12 @@ namespace api
{
public static void ProfileSteal(string data)
{
List<Root> profile = JsonConvert.DeserializeObject<List<Root>>(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<Root> profile = JsonConvert.DeserializeObject<List<Root>>(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

View File

@@ -263,7 +263,7 @@ namespace start
Console.WriteLine("Failed to download profile...");
goto Start;
}
;
List<ProfieStealer.Root> profile = JsonConvert.DeserializeObject<List<ProfieStealer.Root>>(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;
}

17
README.md Normal file
View File

@@ -0,0 +1,17 @@
# Welcome to OpenRec!
---
OpenRec is a RecRoom server software made by recroom2016!
### Branches
- Master / main
- Nightly
The master branch is the public branch where all the latest updates are published.
The nightly branch is where all the experimental updates that are needed to be tested before release are.
---
### Getting in contact with the community
If you are new to this we recommend you joining our Discord!
Link: https://discord.com/invite/daC8QUhnFP

View File

@@ -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();