From a824ec8e89f9cdb6987c2b9971ad1487065e68dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20G=C3=B3mez?= <72423267+Haruki1707@users.noreply.github.com> Date: Wed, 23 Feb 2022 21:06:59 -0600 Subject: [PATCH] PATCH v3.0.1 (Force Login included for those with Riot Client problems) --- README.md | 9 ++++++--- ValorantCC/MainWindow.xaml | 1 + ValorantCC/MainWindow.xaml.cs | 8 ++++++++ .../Resources/Download ValorantCC HD.png | Bin 0 -> 26195 bytes ValorantCC/SubWindow/src/CreateRender.cs | 9 +++++++-- ValorantCC/ValorantCC.csproj | 2 +- ValorantCC/src/BackgroundAuth.cs | 19 ++++++++++-------- 7 files changed, 34 insertions(+), 14 deletions(-) create mode 100644 ValorantCC/Resources/Download ValorantCC HD.png diff --git a/README.md b/README.md index f58275e..33c8b13 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,14 @@
-# ValorantCC (Valorant Crosshair Changer) [Download Here](https://github.com/weedeej/ValorantCC/releases/latest/download/ValorantCC.exe) +# ValorantCC (Valorant Crosshair Changer) Change your Crosshair's color to **ANY** color you want for style and/or visiblity. ![image](https://user-images.githubusercontent.com/87055977/155284250-d01577c2-5661-43b1-8759-a6a8525e7709.png) diff --git a/ValorantCC/MainWindow.xaml b/ValorantCC/MainWindow.xaml index 10ad1c7..39f091a 100644 --- a/ValorantCC/MainWindow.xaml +++ b/ValorantCC/MainWindow.xaml @@ -42,6 +42,7 @@Dms^8@2AO^quFt|@910X=j9X~NP34o@&U&>eQWk1go|5~8RIW-%l#&V)%J;r5 zzluAo8Vc}XlA^o`B*J@K$vy4<>ooLJ<_VPbM_RsAY|ftiy 7$u?HHg@7m zHH6wJ%0nY&W&7c;{bm}4V$z=!h4%`D+lPA4&3YRpu=Wb~OACQs^GB?&)`w>|IP}E= zfhq>*hj_D*#O&*yq{CB;yh{;=V3m`x>M7P9?V~|qP9-avNgZ=t)=;;eZR9-5u *PXIDwFn*%9ax5a-_5 Ocb`0aW4JLpo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ozjL-P z*f7(-=+#x8>vDzYF`99Ny4b=TnutOCn7ob2`x8g?O| EXa8fG$b3^1snkYt)+^J9VOB<{#3YaD>11!?1oU zOylB1V!NqywPmY_&Wn)sb0;a%A=EQ?K`w)=)Qe+NViJ}?0I`51V$jjX;?H$+EjLFm z%-VXHdDmLEp1F2AyIE0QvIzh4tE3P2%ic 5L~8O} z4PDCL8tX5cAEDn`9zJu;R3DGlQLXO4)jS qIGsKsNy?{NS}!;CUpe66gO-WZ;y#Yw{XBye-V7JUe$O=o-_~QLfS#`p0p3T zJdswhz@n$7c}}fCgG>WtJ1yT==vBI^#<=Qz#v+>NKi7$JwAl)TgueX%Q$b~Sr^tP- z8hSqB{&BJKuJ-*hH-%Kk`bMQS!pDbfEw@Ev58+K%yj#Y4mP+U36gF{p7l34e{3n|u zfWa0Gi1aTmTJz@4WHfOcT4`iYhr3tAu3CnKx85ufsvu#{--@Hs3a6g}H3 UqXPpHo=PPXcwg!f@; zJVzx(LqYy=k61=>2dS?B^)_S+3asi6*}ULmjAJ3SDCa$_u@lD!FmOFq0~5|aSU?lR z|F5>*eKCB?^&_7QDan_6-n2MKSFBW$MAX(8VLSVmoAYaYWq%^c?=XC}ynsN`%>RO$ zqZi-Qkn7n`rwq3105D_11!`gp_(Tj)%Z!2FcI?vV+kGnLTc N`U0b&rzhrV7 zc@E eFxjpLTL%{AxJ?f&U`u z`FHxi`2Ju0?Z2Jj|KiRdKg$zrYdEZ!O49+piy %{Bz5gHGkZY=UBL;;t%m3{PPTr#x{||Hz5#wFVn$mgK OTm9|7hR^@) imageSources = new List (); static ImageBrush RandomBG => imageSources[rand.Next(0, imageSources.Count - 1)]; @@ -33,12 +34,16 @@ static CreateRender() public static async Task GenerateRender(this ProfilesWindow profilesWindow, PublicProfile profile) { - // This will be changed and will be replaced with more efficient method of rendering multiple settings. + //More random BG xd + var RandomBGC = RandomBG; + while (RandomBGC == previousBG) + RandomBGC = RandomBG; + previousBG = RandomBGC; // Main border Border template = new Border() { - Background = RandomBG, + Background = RandomBGC, CornerRadius = new CornerRadius(7, 7, 25, 25), MinHeight = 95, MaxHeight = 95, diff --git a/ValorantCC/ValorantCC.csproj b/ValorantCC/ValorantCC.csproj index 443bd4f..246c12f 100644 --- a/ValorantCC/ValorantCC.csproj +++ b/ValorantCC/ValorantCC.csproj @@ -14,7 +14,7 @@ false - 3.0.0 +3.0.1 false diff --git a/ValorantCC/src/BackgroundAuth.cs b/ValorantCC/src/BackgroundAuth.cs index 3e26401..b94bd7b 100644 --- a/ValorantCC/src/BackgroundAuth.cs +++ b/ValorantCC/src/BackgroundAuth.cs @@ -20,9 +20,11 @@ public async void LoopCheck() { string LockfilePath = Environment.GetEnvironmentVariable("LocalAppData") + "\\Riot Games\\Riot Client\\Config\\lockfile"; //Copy pasted from Auth.cs because why not? bool lockfilexists = false; + int FlagExistsCount = 0; main.ch_display.Visibility = Visibility.Collapsed; main.buttons_group.Visibility = Visibility.Collapsed; main.controls_group.Visibility = Visibility.Collapsed; + main.ForceLoginBtn.Visibility = Visibility.Collapsed; while (true) { if (AuthObj.CheckLockFile(LockfilePath) && !lockfilexists) @@ -31,9 +33,12 @@ public async void LoopCheck() main.StatusTxt.Text = "Waiting for session. . ."; lockfilexists = true; } - if (!await LoginFlagExists()) + if (!await LoginFlagExists() && !main.PressedForceLogin) { await Task.Delay(1500); + FlagExistsCount++; + if (FlagExistsCount > 10) + main.ForceLoginBtn.Visibility = Visibility.Visible; continue; } if (lockfilexists && AuthObj.ObtainLockfileData(LockfilePath).Success) @@ -45,6 +50,7 @@ public async void LoopCheck() if (!main.LoggedIn) { main.StatusTxt.Text = "Failed. Please login to Riot Client or Start Valorant."; + main.ForceLoginBtn.Visibility = Visibility.Collapsed; await Task.Delay(1500); continue; } @@ -67,6 +73,7 @@ public async void LoopCheck() main.chkbxShareable.Visibility = Visibility.Visible; main.spinner.Visibility = Visibility.Collapsed; + main.ForceLoginBtn.Visibility = Visibility.Collapsed; main.spinner.Spin = false; main.UpdateLayout(); Trace.WriteLine(main.Height + " || " + OriginalHeight); @@ -74,7 +81,7 @@ public async void LoopCheck() return; } - await Task.Delay(1500); + await Task.Delay(500); } } @@ -85,17 +92,13 @@ public async static TaskLoginFlagExists() string content; using (FileStream fileStream = File.Open(log.FullName, FileMode.Open, FileAccess.Read, FileShare.ReadWrite)) - { using (StreamReader sr = new StreamReader(fileStream)) - { content = (String)sr.ReadToEnd().Clone(); - } - } + bool t = false; if (content.Contains("riot-messaging-service: State is now Connected")) - { t = true; - } + await Task.Delay(1); return t; }