private void registerMonstersButton_Click(object sender, EventArgs e) { this.richTextBox1.Text += "Please move at least once on the map and then attack the monsters you want to register.\n\n"; registerMonstersButton.Enabled = false; stopButton.Enabled = true; startButton.Enabled = false; this.attackPackets = new List <RecordedPacket>(); this.movementPacket = null; if (manager != null) { manager.AddFilterAction(attackOperationCode, this.FilterAttackPackets); manager.AddFilterAction(movementOperationCode, this.FilterMovementPackets); } }