mirror of
https://github.com/recroom2016/OpenRec.git
synced 2026-04-22 21:25:51 +00:00
Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a7ace2f895 | ||
|
|
a2775a6d95 | ||
|
|
a5ef24a1e1 |
@@ -15,6 +15,8 @@ namespace api
|
|||||||
File.WriteAllText("SaveData\\Profile\\username.txt", profile[0].username);
|
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");
|
byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192");
|
||||||
File.WriteAllBytes("SaveData\\profileimage.png", profileimage);
|
File.WriteAllBytes("SaveData\\profileimage.png", profileimage);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Root
|
public class Root
|
||||||
|
|||||||
@@ -263,7 +263,7 @@ namespace start
|
|||||||
Console.WriteLine("Failed to download profile...");
|
Console.WriteLine("Failed to download profile...");
|
||||||
goto Start;
|
goto Start;
|
||||||
}
|
}
|
||||||
;
|
|
||||||
List<ProfieStealer.Root> profile = JsonConvert.DeserializeObject<List<ProfieStealer.Root>>(data);
|
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");
|
byte[] profileimage = new WebClient().DownloadData("https://img.rec.net/" + profile[0].profileImage + "?cropSquare=true&width=192&height=192");
|
||||||
File.WriteAllBytes("SaveData\\profileimage.png", profileimage);
|
File.WriteAllBytes("SaveData\\profileimage.png", profileimage);
|
||||||
@@ -317,7 +317,9 @@ namespace start
|
|||||||
Console.WriteLine("Failed to download profile...");
|
Console.WriteLine("Failed to download profile...");
|
||||||
goto Start;
|
goto Start;
|
||||||
}
|
}
|
||||||
|
|
||||||
ProfieStealer.ProfileSteal(data2);
|
ProfieStealer.ProfileSteal(data2);
|
||||||
|
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
Console.WriteLine("Success!");
|
Console.WriteLine("Success!");
|
||||||
goto Start;
|
goto Start;
|
||||||
@@ -403,7 +405,7 @@ namespace start
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
public static string version = "";
|
public static string version = "";
|
||||||
public static string appversion = "0.7.0";
|
public static string appversion = "0.6.9";
|
||||||
public static bool bannedflag = false;
|
public static bool bannedflag = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
17
README.md
Normal file
17
README.md
Normal 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
|
||||||
4
Setup.cs
4
Setup.cs
@@ -99,6 +99,8 @@ namespace start
|
|||||||
goto tryagain;
|
goto tryagain;
|
||||||
|
|
||||||
tryagain:
|
tryagain:
|
||||||
|
if (!File.Exists("SaveData\\Rooms\\Downloaded\\roomname.txt"))
|
||||||
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
api.CustomRooms.RoomGet("gizmoface");
|
api.CustomRooms.RoomGet("gizmoface");
|
||||||
@@ -107,6 +109,8 @@ namespace start
|
|||||||
{
|
{
|
||||||
goto tryagain;
|
goto tryagain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
Console.WriteLine("Done!");
|
Console.WriteLine("Done!");
|
||||||
Console.Clear();
|
Console.Clear();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user