Skip to content

Commit

Permalink
Last Cleanup For Release
Browse files Browse the repository at this point in the history
  • Loading branch information
krxdev-kaan committed Jun 27, 2020
1 parent 2883829 commit 17f794c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions WindowsClient/AqHaxCSGO/Forms/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -687,8 +687,8 @@ private void skinSaveButton_Click(object sender, EventArgs e)

private void knifeSelectionBox_SelectedIndexChanged(object sender, EventArgs e)
{
Globals.SelectedKnife = (string)knifeSelectionBox.SelectedItem;
Console.WriteLine(Globals.SelectedKnife);
if (knifeSelectionBox.SelectedItem != null) Globals.SelectedKnife = (string)knifeSelectionBox.SelectedItem;
else Globals.SelectedKnife = "Bayonet";
}
#endregion

Expand Down
1 change: 0 additions & 1 deletion WindowsClient/AqHaxCSGO/Forms/TCPForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public void ExecuteServer()
IPHostEntry ipHost = Dns.GetHostEntry(Dns.GetHostName());
IPAddress ipAddr = LocalIPAddress();
IPEndPoint localEndPoint = new IPEndPoint(ipAddr, 8080);
Console.WriteLine(ipAddr.MapToIPv4());

Socket listener = new Socket(ipAddr.AddressFamily,
SocketType.Stream, ProtocolType.Tcp);
Expand Down
1 change: 0 additions & 1 deletion WindowsClient/AqHaxCSGO/Misc/Globals.cs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ private static Dictionary<string, KnifeObj> InitializeList()
for (int i = 0; i < 19; i++)
{
res.Add(listNames[i], new KnifeObj( (ItemDefinitionIndex)Enum.Parse(typeof(ItemDefinitionIndex), itemDefNames[i]), knifeModels[i]));
Console.WriteLine((int)((ItemDefinitionIndex)Enum.Parse(typeof(ItemDefinitionIndex), itemDefNames[i])));
}

return res;
Expand Down
1 change: 0 additions & 1 deletion WindowsClient/AqHaxCSGO/Objects/EngineDLL.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public static int GetModelIndexByName(string modelName)
{
int modelPrecacheDictItem = Memory.Read<int>(modelPrecacheDictItems + 0xC + i * 0x34);
string modelPrecacheDictItemName = Memory.ReadString(modelPrecacheDictItem, 128, Encoding.ASCII);
Console.WriteLine(modelPrecacheDictItemName);
if (modelPrecacheDictItemName == modelName)
{
return i;
Expand Down

0 comments on commit 17f794c

Please sign in to comment.