fix uid system

This commit is contained in:
Syping 2025-10-26 04:02:37 +01:00
parent b70731e633
commit 7f747f7abc

View file

@ -31,10 +31,7 @@ internal static class Program {
photo.Jpeg = jpegStream.ToArray();
}
Byte[] buffer = new Byte[4];
Random.Shared.NextBytes(buffer);
UInt32 photoUid = BitConverter.ToUInt32(buffer, 0);
Int32 photoUid = Random.Shared.Next(1, Int32.MaxValue);
if (photo.Format == PhotoFormat.GTA5) {
DateTimeOffset photoTime = DateTimeOffset.FromUnixTimeSeconds(Random.Shared.Next(1356998400, 1388534399));
photo.SetHeader("PHOTO - 10/26/25 02:28:08", 798615001, 0);