From 7f747f7abce28bc11f56a580e13b80924d9a8348 Mon Sep 17 00:00:00 2001 From: Syping Date: Sun, 26 Oct 2025 04:02:37 +0100 Subject: [PATCH] fix uid system --- Program.cs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Program.cs b/Program.cs index 25e374a..ea1b89b 100644 --- a/Program.cs +++ b/Program.cs @@ -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);