Skip to content

Commit

Permalink
Fixed the operation mechanism of this program's payload when using Fr…
Browse files Browse the repository at this point in the history
…ame4 to prevent errors from occurring.
  • Loading branch information
avan06 committed May 24, 2024
1 parent 88c6bdb commit 3f33675
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions PS4CheaterNeo/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]
[assembly: AssemblyVersion("1.0.3.1")]
[assembly: AssemblyFileVersion("1.0.3.1")]
1 change: 1 addition & 0 deletions PS4CheaterNeo/SendPayload.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 6 additions & 1 deletion PS4CheaterNeo/SendPayload.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,6 @@ private void SendPayload_FormClosing(object sender, FormClosingEventArgs e)
if ((VersionBox.Text ?? "") != "") Properties.Settings.Default.PS4FWVersion.Value = VersionBox.Text;
if ((IpBox.Text ?? "") != "") Properties.Settings.Default.PS4IP.Value = IpBox.Text;
if ((PortBox.Text ?? "") != "") Properties.Settings.Default.PS4Port.Value = Convert.ToUInt16(PortBox.Text);
Properties.Settings.Default.PS4DBGType.Value = (PS4DebugLibType)PS4DBGTypeComboBox.SelectedItem;
Properties.Settings.Default.Save();
}
catch (Exception ex)
Expand All @@ -163,5 +162,11 @@ private void SendPayload_FormClosing(object sender, FormClosingEventArgs e)
}

private void VersionComboBox_SelectedIndexChanged(object sender, EventArgs e) => VersionBox.Text = (string)VersionComboBox.SelectedItem;

private void PS4DBGTypeComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
Properties.Settings.Default.PS4DBGType.Value = (PS4DebugLibType)PS4DBGTypeComboBox.SelectedItem;
Properties.Settings.Default.Save();
}
}
}
1 change: 1 addition & 0 deletions PS4CheaterNeo/common/Constant.cs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ partial class Constant
"4.55",
"4.05",
"PS5",
"11.00",
};

public static readonly Dictionary<string, Dictionary<string, object>> GameInfos = new Dictionary<string, Dictionary<string, object>>()
Expand Down
7 changes: 5 additions & 2 deletions PS4CheaterNeo/common/ps4dbg/PS4Tool.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static PS4Tool()
mutex = new Mutex(false, mutexId, out _, mSec);

mutexs = new Mutex[mutexFactor*2];
ps4s = new PS4DBG[mutexs.Length];
ps4s = new IPS4DBG[mutexs.Length];
}

/// <summary>
Expand Down Expand Up @@ -118,7 +118,10 @@ public static bool Connect(string ip, out string msg, int connectTimeout = 10000
{
ps4s[idx].Disconnect();
ps4s[idx] = null;
ps4s[idx] = new PS4DBG(ip);
if (ps4DBGType == PS4DebugLibType.ps4debug)
ps4s[idx] = new PS4DBG(ip);
else
ps4s[idx] = new FRAME4(ip);
result = ps4s[idx].Connect(connectTimeout, sendTimeout, receiveTimeout);
}
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

PS4CheaterNeo is a program to find game cheat codes, and it is based on [`ps4debug`](https://github.com/jogolden/ps4debug) and [`.Net Framework 4.8`](https://support.microsoft.com/en-us/topic/microsoft-net-framework-4-8-offline-installer-for-windows-9d23f658-3b97-68ab-d013-aa3c3e7495e0).

Currently in `version 1.0.3.0`
Currently in `version 1.0.3.1`


## Table of Contents
Expand Down

0 comments on commit 3f33675

Please sign in to comment.