Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
log cleaning
Browse files Browse the repository at this point in the history
  • Loading branch information
Glazelf committed Jun 29, 2021
1 parent 1a51296 commit 8d77bf6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions MonstieHuntieHax.WinForms/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ private void ButtonConnect_Click(object sender, EventArgs e)
StatusConnection.Text = "Connected";
Connected = true;
ButtonConnect.Text = "Disconnect";
SysBotLog.Text += Environment.NewLine + "Successfully connected.";
SysBotLog.Text += Environment.NewLine + "Connected.";
}
else
{
Expand All @@ -85,7 +85,7 @@ private void ButtonConnect_Click(object sender, EventArgs e)
StatusConnection.Text = "Disconnected";
Connected = false;
ButtonConnect.Text = "Connect";
SysBotLog.Text += Environment.NewLine + "Successfully disconnected.";
SysBotLog.Text += Environment.NewLine + "Disconnected.";
}
}
private void ButtonSysbotRead_Click(object sender, EventArgs e)
Expand All @@ -95,6 +95,7 @@ private void ButtonSysbotRead_Click(object sender, EventArgs e)

private void SysBotZeniCount_ValueChanged(object sender, EventArgs e)
{
SysBotLog.Text += Environment.NewLine + $"Writing Zeni: {SysBotZeniCount.Value}";
byte[] ZeniBytes = BitConverter.GetBytes((uint)SysBotZeniCount.Value);
PointerHandler.WritePointer(sb, DataOffsets.PointerZeni, ZeniBytes);
}
Expand All @@ -113,7 +114,7 @@ private void ReloadValues()
LogError(ex);
}

SysBotLog.Text += Environment.NewLine + "Successfully loaded values.";
SysBotLog.Text += Environment.NewLine + "Loaded values.";
}

public void LogError(Exception ex)
Expand Down

0 comments on commit 8d77bf6

Please sign in to comment.