mirror of
https://github.com/Syping/ragephoto-cli.git
synced 2025-11-09 21:25:18 +01:00
fix uid system
This commit is contained in:
parent
b70731e633
commit
7f747f7abc
1 changed files with 1 additions and 4 deletions
|
|
@ -31,10 +31,7 @@ internal static class Program {
|
||||||
photo.Jpeg = jpegStream.ToArray();
|
photo.Jpeg = jpegStream.ToArray();
|
||||||
}
|
}
|
||||||
|
|
||||||
Byte[] buffer = new Byte[4];
|
Int32 photoUid = Random.Shared.Next(1, Int32.MaxValue);
|
||||||
Random.Shared.NextBytes(buffer);
|
|
||||||
UInt32 photoUid = BitConverter.ToUInt32(buffer, 0);
|
|
||||||
|
|
||||||
if (photo.Format == PhotoFormat.GTA5) {
|
if (photo.Format == PhotoFormat.GTA5) {
|
||||||
DateTimeOffset photoTime = DateTimeOffset.FromUnixTimeSeconds(Random.Shared.Next(1356998400, 1388534399));
|
DateTimeOffset photoTime = DateTimeOffset.FromUnixTimeSeconds(Random.Shared.Next(1356998400, 1388534399));
|
||||||
photo.SetHeader("PHOTO - 10/26/25 02:28:08", 798615001, 0);
|
photo.SetHeader("PHOTO - 10/26/25 02:28:08", 798615001, 0);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue