Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

Commit

Permalink
[!] MINOR v3.6.0 (Fix for Crosshair Outlines not changing)
Browse files Browse the repository at this point in the history
## Crosshair Outlines Fix
- Fixed a bug where outlines color is not changing.
- Fixed a bug where Inner Lines color is not changing.
- Added @salomonj11 's Typo fixes.
  • Loading branch information
weedeej committed Jan 4, 2023
2 parents 4fcf339 + 7eb3115 commit 8c28dde
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Share your crosshair across the ValorantCC comunity!<br/>

##
- If you experience any Issues such as not working, Join us on [Discord](https://discord.gg/ME5EdK8U9v) and we'll try to fix it.
- You don't need to keep this app running in the background. Once you saved it, It will stay there.
- This does not change the game files nor touch Valorant's memory related stuff. The app only uses the Client API and send it directly to Valorant's Server.
- You don't need to keep this app running in the background. Once you save it, It will stay there.
- This does not change the game files nor touch Valorant's memory related stuff. The app only uses the Client API and sends it directly to Valorant's Server.
- Yes. Other players can see it too as it is saved server side.
- THIS IS **NOT** AN OVERLAY/HACK/CHEAT/AIMBOT.

Expand Down
2 changes: 1 addition & 1 deletion ValorantCC/ValorantCC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<AssemblyVersion></AssemblyVersion>
<FileVersion></FileVersion>
<Version>3.5</Version>
<Version>3.6</Version>
<SignAssembly>true</SignAssembly>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
</PropertyGroup>
Expand Down
1 change: 1 addition & 0 deletions ValorantCC/src/Binder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ public partial class Data
public int roamingSetttingsVersion { get; set; }
public List<Stringsetting> stringSettings { get; set; }
public List<string> settingsProfiles { get; set; }
public int modified { get;set; }
}

public partial class FetchResponseData
Expand Down
13 changes: 9 additions & 4 deletions ValorantCC/src/Crosshair/CrosshairMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ public static Data ChangeActiveProfile(List<Color> Colors, int SelectedIndex, Da
UserSettings.stringSettings.RemoveAll(setting => setting.settingEnum == "EAresStringSettingName::CrosshairColor");
UserSettings.stringSettings.RemoveAll(setting => setting.settingEnum == "EAresStringSettingName::CrosshairColorCustom");
UserSettings.stringSettings.RemoveAll(setting => setting.settingEnum == "EAresStringSettingName::CrosshairOutlineColor");

UserSettings.stringSettings.RemoveAll(setting => setting.settingEnum == "EAresStringSettingName::CrosshairADSColor");
UserSettings.stringSettings.RemoveAll(setting => setting.settingEnum == "EAresStringSettingName::CrosshairADSColorCustom");
UserSettings.stringSettings.RemoveAll(setting => setting.settingEnum == "EAresStringSettingName::CrosshairADSOutlineColor");

UserSettings.stringSettings.RemoveAll(setting => setting.settingEnum == "EAresStringSettingName::CrosshairSniperCenterDotColor");
UserSettings.stringSettings.RemoveAll(setting => setting.settingEnum == "EAresStringSettingName::CrosshairSniperCenterDotColorCustom");

Expand Down Expand Up @@ -74,15 +76,18 @@ public static Data ChangeActiveProfile(List<Color> Colors, int SelectedIndex, Da
public static CrosshairProfile ChangeProfileColors(CrosshairProfile SelectedProfile, List<Color> Colors)
{
SelectedProfile.Primary.bUseCustomColor = true;
SelectedProfile.Primary.colorCustom = SelectedProfile.Primary.Color = Colors[0];
SelectedProfile.Primary.colorCustom = Colors[0];
SelectedProfile.Primary.Color = Colors[0];
SelectedProfile.Primary.OutlineColor = Colors[1];

SelectedProfile.aDS.bUseCustomColor = true;
SelectedProfile.aDS.colorCustom = SelectedProfile.aDS.Color = Colors[2];
SelectedProfile.Primary.OutlineColor = Colors[3];
SelectedProfile.aDS.colorCustom = Colors[2];
SelectedProfile.aDS.Color = Colors[2];
SelectedProfile.aDS.OutlineColor = Colors[3];

SelectedProfile.Sniper.bUseCustomCenterDotColor = true;
SelectedProfile.Sniper.CenterDotColor = SelectedProfile.Sniper.centerDotColorCustom = Colors[4];
SelectedProfile.Sniper.CenterDotColor = Colors[4];
SelectedProfile.Sniper.centerDotColorCustom = Colors[4];
return SelectedProfile;
}

Expand Down

0 comments on commit 8c28dde

Please sign in to comment.