From b5c496178f32869deea4341e2b290188c9ad6437 Mon Sep 17 00:00:00 2001 From: Glazelf Date: Tue, 13 Jul 2021 19:09:52 +0200 Subject: [PATCH 01/14] Add charm list to design Also a few other minor cleans to the design --- MonstieHuntieHax.WinForms/Main.Designer.cs | 368 ++++++++++++++++++++- 1 file changed, 361 insertions(+), 7 deletions(-) diff --git a/MonstieHuntieHax.WinForms/Main.Designer.cs b/MonstieHuntieHax.WinForms/Main.Designer.cs index 08f3dba..049465a 100644 --- a/MonstieHuntieHax.WinForms/Main.Designer.cs +++ b/MonstieHuntieHax.WinForms/Main.Designer.cs @@ -47,7 +47,29 @@ private void InitializeComponent() this.CountSysBotZeni = new System.Windows.Forms.NumericUpDown(); this.LabelSysBotZeni = new System.Windows.Forms.Label(); this.TabSysBotItems = new System.Windows.Forms.TabPage(); + this.GroupSysBotCharms = new System.Windows.Forms.GroupBox(); + this.CountSysBotCharmAdamant = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotCharmMight = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotCharmGathering = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotCharmTraining = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotCharmMounting = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotCharmSelling = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotCharmFinding = new System.Windows.Forms.NumericUpDown(); + this.LabelSysBotCharmAdamant = new System.Windows.Forms.Label(); + this.LabelSysBotCharmMight = new System.Windows.Forms.Label(); + this.LabelSysBotCharmGathering = new System.Windows.Forms.Label(); + this.LabelSysBotCharmTraining = new System.Windows.Forms.Label(); + this.LabelSysBotCharmMounting = new System.Windows.Forms.Label(); + this.LabelSysBotCharmSelling = new System.Windows.Forms.Label(); + this.CountSysBotCharmRecovery = new System.Windows.Forms.NumericUpDown(); + this.LabelSysBotCharmFinding = new System.Windows.Forms.Label(); + this.CountSysBotCharmBuying = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotCharmLucky = new System.Windows.Forms.NumericUpDown(); + this.LabelSysBotCharmRecovery = new System.Windows.Forms.Label(); + this.LabelSysBotCharmBuying = new System.Windows.Forms.Label(); + this.LabelSysBotCharmLucky = new System.Windows.Forms.Label(); this.TabSysBotMonsties = new System.Windows.Forms.TabPage(); + this.LabelWIP = new System.Windows.Forms.Label(); this.TabSysBotLog = new System.Windows.Forms.TabPage(); this.SysBotLog = new System.Windows.Forms.RichTextBox(); this.GroupSysBotConnection.SuspendLayout(); @@ -57,6 +79,19 @@ private void InitializeComponent() this.GroupSysBotCurrencies.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotBottleCaps)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotZeni)).BeginInit(); + this.TabSysBotItems.SuspendLayout(); + this.GroupSysBotCharms.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmAdamant)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmMight)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmGathering)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmTraining)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmMounting)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmSelling)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmFinding)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmRecovery)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmBuying)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmLucky)).BeginInit(); + this.TabSysBotMonsties.SuspendLayout(); this.TabSysBotLog.SuspendLayout(); this.SuspendLayout(); // @@ -218,11 +253,11 @@ private void InitializeComponent() this.GroupSysBotCurrencies.Controls.Add(this.LabelSysBotBottleCaps); this.GroupSysBotCurrencies.Controls.Add(this.CountSysBotZeni); this.GroupSysBotCurrencies.Controls.Add(this.LabelSysBotZeni); - this.GroupSysBotCurrencies.Location = new System.Drawing.Point(451, 384); + this.GroupSysBotCurrencies.Location = new System.Drawing.Point(477, 384); this.GroupSysBotCurrencies.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); this.GroupSysBotCurrencies.Name = "GroupSysBotCurrencies"; this.GroupSysBotCurrencies.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.GroupSysBotCurrencies.Size = new System.Drawing.Size(167, 79); + this.GroupSysBotCurrencies.Size = new System.Drawing.Size(141, 79); this.GroupSysBotCurrencies.TabIndex = 10; this.GroupSysBotCurrencies.TabStop = false; this.GroupSysBotCurrencies.Text = "Currencies"; @@ -231,14 +266,14 @@ private void InitializeComponent() // this.CountSysBotBottleCaps.AccessibleName = "CountSysBotBottleCaps"; this.CountSysBotBottleCaps.Enabled = false; - this.CountSysBotBottleCaps.Location = new System.Drawing.Point(83, 47); + this.CountSysBotBottleCaps.Location = new System.Drawing.Point(92, 47); this.CountSysBotBottleCaps.Maximum = new decimal(new int[] { 999, 0, 0, 0}); this.CountSysBotBottleCaps.Name = "CountSysBotBottleCaps"; - this.CountSysBotBottleCaps.Size = new System.Drawing.Size(77, 23); + this.CountSysBotBottleCaps.Size = new System.Drawing.Size(41, 23); this.CountSysBotBottleCaps.TabIndex = 6; this.CountSysBotBottleCaps.ValueChanged += new System.EventHandler(this.CountSysBotBottleCaps_ValueChanged); // @@ -246,7 +281,7 @@ private void InitializeComponent() // this.LabelSysBotBottleCaps.AccessibleName = "LabelSysBotBottleCaps"; this.LabelSysBotBottleCaps.AutoSize = true; - this.LabelSysBotBottleCaps.Location = new System.Drawing.Point(7, 49); + this.LabelSysBotBottleCaps.Location = new System.Drawing.Point(15, 49); this.LabelSysBotBottleCaps.Name = "LabelSysBotBottleCaps"; this.LabelSysBotBottleCaps.Size = new System.Drawing.Size(70, 15); this.LabelSysBotBottleCaps.TabIndex = 5; @@ -264,7 +299,7 @@ private void InitializeComponent() 0, 0}); this.CountSysBotZeni.Name = "CountSysBotZeni"; - this.CountSysBotZeni.Size = new System.Drawing.Size(97, 23); + this.CountSysBotZeni.Size = new System.Drawing.Size(70, 23); this.CountSysBotZeni.TabIndex = 1; this.CountSysBotZeni.ValueChanged += new System.EventHandler(this.SysBotZeniCount_ValueChanged); // @@ -272,7 +307,7 @@ private void InitializeComponent() // this.LabelSysBotZeni.AccessibleName = "LabelSysBotZeni"; this.LabelSysBotZeni.AutoSize = true; - this.LabelSysBotZeni.Location = new System.Drawing.Point(7, 21); + this.LabelSysBotZeni.Location = new System.Drawing.Point(15, 20); this.LabelSysBotZeni.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); this.LabelSysBotZeni.Name = "LabelSysBotZeni"; this.LabelSysBotZeni.Size = new System.Drawing.Size(33, 15); @@ -282,6 +317,7 @@ private void InitializeComponent() // TabSysBotItems // this.TabSysBotItems.AccessibleName = "TabSysBotItems"; + this.TabSysBotItems.Controls.Add(this.GroupSysBotCharms); this.TabSysBotItems.Location = new System.Drawing.Point(4, 24); this.TabSysBotItems.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); this.TabSysBotItems.Name = "TabSysBotItems"; @@ -291,9 +327,280 @@ private void InitializeComponent() this.TabSysBotItems.Text = "Items"; this.TabSysBotItems.UseVisualStyleBackColor = true; // + // GroupSysBotCharms + // + this.GroupSysBotCharms.AccessibleName = "GroupSysBotCharms"; + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmAdamant); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmMight); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmGathering); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmTraining); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmMounting); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmSelling); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmFinding); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmAdamant); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmMight); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmGathering); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmTraining); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmMounting); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmSelling); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmRecovery); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmFinding); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmBuying); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmLucky); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmRecovery); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmBuying); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmLucky); + this.GroupSysBotCharms.Location = new System.Drawing.Point(6, 6); + this.GroupSysBotCharms.Name = "GroupSysBotCharms"; + this.GroupSysBotCharms.Size = new System.Drawing.Size(122, 306); + this.GroupSysBotCharms.TabIndex = 6; + this.GroupSysBotCharms.TabStop = false; + this.GroupSysBotCharms.Text = "Prayer Charms"; + // + // CountSysBotCharmAdamant + // + this.CountSysBotCharmAdamant.AccessibleName = "CountSysBotCharmAdamant"; + this.CountSysBotCharmAdamant.Enabled = false; + this.CountSysBotCharmAdamant.Location = new System.Drawing.Point(71, 278); + this.CountSysBotCharmAdamant.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmAdamant.Name = "CountSysBotCharmAdamant"; + this.CountSysBotCharmAdamant.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmAdamant.TabIndex = 26; + // + // CountSysBotCharmMight + // + this.CountSysBotCharmMight.AccessibleName = "CountSysBotCharmMight"; + this.CountSysBotCharmMight.Enabled = false; + this.CountSysBotCharmMight.Location = new System.Drawing.Point(71, 249); + this.CountSysBotCharmMight.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmMight.Name = "CountSysBotCharmMight"; + this.CountSysBotCharmMight.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmMight.TabIndex = 25; + // + // CountSysBotCharmGathering + // + this.CountSysBotCharmGathering.AccessibleName = "CountSysBotCharmGathering"; + this.CountSysBotCharmGathering.Enabled = false; + this.CountSysBotCharmGathering.Location = new System.Drawing.Point(71, 220); + this.CountSysBotCharmGathering.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmGathering.Name = "CountSysBotCharmGathering"; + this.CountSysBotCharmGathering.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmGathering.TabIndex = 24; + // + // CountSysBotCharmTraining + // + this.CountSysBotCharmTraining.AccessibleName = "CountSysBotCharmTraining"; + this.CountSysBotCharmTraining.Enabled = false; + this.CountSysBotCharmTraining.Location = new System.Drawing.Point(71, 191); + this.CountSysBotCharmTraining.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmTraining.Name = "CountSysBotCharmTraining"; + this.CountSysBotCharmTraining.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmTraining.TabIndex = 23; + // + // CountSysBotCharmMounting + // + this.CountSysBotCharmMounting.AccessibleName = "CountSysBotCharmMounting"; + this.CountSysBotCharmMounting.Enabled = false; + this.CountSysBotCharmMounting.Location = new System.Drawing.Point(71, 162); + this.CountSysBotCharmMounting.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmMounting.Name = "CountSysBotCharmMounting"; + this.CountSysBotCharmMounting.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmMounting.TabIndex = 22; + // + // CountSysBotCharmSelling + // + this.CountSysBotCharmSelling.AccessibleName = "CountSysBotCharmSelling"; + this.CountSysBotCharmSelling.Enabled = false; + this.CountSysBotCharmSelling.Location = new System.Drawing.Point(71, 133); + this.CountSysBotCharmSelling.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmSelling.Name = "CountSysBotCharmSelling"; + this.CountSysBotCharmSelling.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmSelling.TabIndex = 21; + // + // CountSysBotCharmFinding + // + this.CountSysBotCharmFinding.AccessibleName = "CountSysBotCharmFinding"; + this.CountSysBotCharmFinding.Enabled = false; + this.CountSysBotCharmFinding.Location = new System.Drawing.Point(71, 104); + this.CountSysBotCharmFinding.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmFinding.Name = "CountSysBotCharmFinding"; + this.CountSysBotCharmFinding.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmFinding.TabIndex = 20; + // + // LabelSysBotCharmAdamant + // + this.LabelSysBotCharmAdamant.AccessibleName = "LabelSysBotCharmAdamant"; + this.LabelSysBotCharmAdamant.AutoSize = true; + this.LabelSysBotCharmAdamant.Location = new System.Drawing.Point(7, 280); + this.LabelSysBotCharmAdamant.Name = "LabelSysBotCharmAdamant"; + this.LabelSysBotCharmAdamant.Size = new System.Drawing.Size(59, 15); + this.LabelSysBotCharmAdamant.TabIndex = 19; + this.LabelSysBotCharmAdamant.Text = "Adamant:"; + // + // LabelSysBotCharmMight + // + this.LabelSysBotCharmMight.AccessibleName = "LabelSysBotCharmMight"; + this.LabelSysBotCharmMight.AutoSize = true; + this.LabelSysBotCharmMight.Location = new System.Drawing.Point(7, 251); + this.LabelSysBotCharmMight.Name = "LabelSysBotCharmMight"; + this.LabelSysBotCharmMight.Size = new System.Drawing.Size(42, 15); + this.LabelSysBotCharmMight.TabIndex = 18; + this.LabelSysBotCharmMight.Text = "Might:"; + // + // LabelSysBotCharmGathering + // + this.LabelSysBotCharmGathering.AccessibleName = "LabelSysBotCharmGathering"; + this.LabelSysBotCharmGathering.AutoSize = true; + this.LabelSysBotCharmGathering.Location = new System.Drawing.Point(7, 222); + this.LabelSysBotCharmGathering.Name = "LabelSysBotCharmGathering"; + this.LabelSysBotCharmGathering.Size = new System.Drawing.Size(62, 15); + this.LabelSysBotCharmGathering.TabIndex = 17; + this.LabelSysBotCharmGathering.Text = "Gathering:"; + // + // LabelSysBotCharmTraining + // + this.LabelSysBotCharmTraining.AccessibleName = "LabelSysBotCharmTraining"; + this.LabelSysBotCharmTraining.AutoSize = true; + this.LabelSysBotCharmTraining.Location = new System.Drawing.Point(7, 193); + this.LabelSysBotCharmTraining.Name = "LabelSysBotCharmTraining"; + this.LabelSysBotCharmTraining.Size = new System.Drawing.Size(52, 15); + this.LabelSysBotCharmTraining.TabIndex = 16; + this.LabelSysBotCharmTraining.Text = "Training:"; + // + // LabelSysBotCharmMounting + // + this.LabelSysBotCharmMounting.AccessibleName = "LabelSysBotCharmMounting"; + this.LabelSysBotCharmMounting.AutoSize = true; + this.LabelSysBotCharmMounting.Location = new System.Drawing.Point(7, 164); + this.LabelSysBotCharmMounting.Name = "LabelSysBotCharmMounting"; + this.LabelSysBotCharmMounting.Size = new System.Drawing.Size(63, 15); + this.LabelSysBotCharmMounting.TabIndex = 15; + this.LabelSysBotCharmMounting.Text = "Mounting:"; + // + // LabelSysBotCharmSelling + // + this.LabelSysBotCharmSelling.AccessibleName = "LabelSysBotCharmSelling"; + this.LabelSysBotCharmSelling.AutoSize = true; + this.LabelSysBotCharmSelling.Location = new System.Drawing.Point(7, 135); + this.LabelSysBotCharmSelling.Name = "LabelSysBotCharmSelling"; + this.LabelSysBotCharmSelling.Size = new System.Drawing.Size(45, 15); + this.LabelSysBotCharmSelling.TabIndex = 14; + this.LabelSysBotCharmSelling.Text = "Selling:"; + // + // CountSysBotCharmRecovery + // + this.CountSysBotCharmRecovery.AccessibleName = "CountSysBotCharmRecovery"; + this.CountSysBotCharmRecovery.Enabled = false; + this.CountSysBotCharmRecovery.Location = new System.Drawing.Point(71, 75); + this.CountSysBotCharmRecovery.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmRecovery.Name = "CountSysBotCharmRecovery"; + this.CountSysBotCharmRecovery.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmRecovery.TabIndex = 13; + // + // LabelSysBotCharmFinding + // + this.LabelSysBotCharmFinding.AccessibleName = "LabelSysBotCharmFinding"; + this.LabelSysBotCharmFinding.AutoSize = true; + this.LabelSysBotCharmFinding.Location = new System.Drawing.Point(7, 106); + this.LabelSysBotCharmFinding.Name = "LabelSysBotCharmFinding"; + this.LabelSysBotCharmFinding.Size = new System.Drawing.Size(50, 15); + this.LabelSysBotCharmFinding.TabIndex = 12; + this.LabelSysBotCharmFinding.Text = "Finding:"; + // + // CountSysBotCharmBuying + // + this.CountSysBotCharmBuying.AccessibleName = "CountSysBotCharmBuying"; + this.CountSysBotCharmBuying.Enabled = false; + this.CountSysBotCharmBuying.Location = new System.Drawing.Point(71, 46); + this.CountSysBotCharmBuying.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmBuying.Name = "CountSysBotCharmBuying"; + this.CountSysBotCharmBuying.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmBuying.TabIndex = 11; + // + // CountSysBotCharmLucky + // + this.CountSysBotCharmLucky.AccessibleName = "CountSysBotCharmLucky"; + this.CountSysBotCharmLucky.Enabled = false; + this.CountSysBotCharmLucky.Location = new System.Drawing.Point(71, 17); + this.CountSysBotCharmLucky.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmLucky.Name = "CountSysBotCharmLucky"; + this.CountSysBotCharmLucky.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmLucky.TabIndex = 10; + // + // LabelSysBotCharmRecovery + // + this.LabelSysBotCharmRecovery.AccessibleName = "LabelSysBotCharmRecovery"; + this.LabelSysBotCharmRecovery.AutoSize = true; + this.LabelSysBotCharmRecovery.Location = new System.Drawing.Point(7, 77); + this.LabelSysBotCharmRecovery.Name = "LabelSysBotCharmRecovery"; + this.LabelSysBotCharmRecovery.Size = new System.Drawing.Size(58, 15); + this.LabelSysBotCharmRecovery.TabIndex = 9; + this.LabelSysBotCharmRecovery.Text = "Recovery:"; + // + // LabelSysBotCharmBuying + // + this.LabelSysBotCharmBuying.AccessibleName = "LabelSysBotCharmBuying"; + this.LabelSysBotCharmBuying.AutoSize = true; + this.LabelSysBotCharmBuying.Location = new System.Drawing.Point(7, 48); + this.LabelSysBotCharmBuying.Name = "LabelSysBotCharmBuying"; + this.LabelSysBotCharmBuying.Size = new System.Drawing.Size(47, 15); + this.LabelSysBotCharmBuying.TabIndex = 8; + this.LabelSysBotCharmBuying.Text = "Buying:"; + // + // LabelSysBotCharmLucky + // + this.LabelSysBotCharmLucky.AccessibleName = "LabelSysBotCharmLucky"; + this.LabelSysBotCharmLucky.AutoSize = true; + this.LabelSysBotCharmLucky.Location = new System.Drawing.Point(7, 19); + this.LabelSysBotCharmLucky.Name = "LabelSysBotCharmLucky"; + this.LabelSysBotCharmLucky.Size = new System.Drawing.Size(41, 15); + this.LabelSysBotCharmLucky.TabIndex = 7; + this.LabelSysBotCharmLucky.Text = "Lucky:"; + // // TabSysBotMonsties // this.TabSysBotMonsties.AccessibleName = "TabSysBotMonsties"; + this.TabSysBotMonsties.Controls.Add(this.LabelWIP); this.TabSysBotMonsties.Location = new System.Drawing.Point(4, 24); this.TabSysBotMonsties.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); this.TabSysBotMonsties.Name = "TabSysBotMonsties"; @@ -303,6 +610,16 @@ private void InitializeComponent() this.TabSysBotMonsties.Text = "Monsties"; this.TabSysBotMonsties.UseVisualStyleBackColor = true; // + // LabelWIP + // + this.LabelWIP.AccessibleName = "LabelWIP"; + this.LabelWIP.AutoSize = true; + this.LabelWIP.Location = new System.Drawing.Point(148, 205); + this.LabelWIP.Name = "LabelWIP"; + this.LabelWIP.Size = new System.Drawing.Size(320, 15); + this.LabelWIP.TabIndex = 0; + this.LabelWIP.Text = "Work in progress! Thanks for using my tool so far though. :)"; + // // TabSysBotLog // this.TabSysBotLog.AccessibleName = "TabSysBot4Log"; @@ -349,6 +666,21 @@ private void InitializeComponent() this.GroupSysBotCurrencies.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotBottleCaps)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotZeni)).EndInit(); + this.TabSysBotItems.ResumeLayout(false); + this.GroupSysBotCharms.ResumeLayout(false); + this.GroupSysBotCharms.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmAdamant)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmMight)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmGathering)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmTraining)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmMounting)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmSelling)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmFinding)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmRecovery)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmBuying)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmLucky)).EndInit(); + this.TabSysBotMonsties.ResumeLayout(false); + this.TabSysBotMonsties.PerformLayout(); this.TabSysBotLog.ResumeLayout(false); this.ResumeLayout(false); @@ -377,5 +709,27 @@ private void InitializeComponent() private System.Windows.Forms.TabPage TabSysBotItems; private System.Windows.Forms.NumericUpDown CountSysBotBottleCaps; private System.Windows.Forms.Label LabelSysBotBottleCaps; + private System.Windows.Forms.GroupBox GroupSysBotCharms; + private System.Windows.Forms.NumericUpDown CountSysBotCharmAdamant; + private System.Windows.Forms.NumericUpDown CountSysBotCharmMight; + private System.Windows.Forms.NumericUpDown CountSysBotCharmGathering; + private System.Windows.Forms.NumericUpDown CountSysBotCharmTraining; + private System.Windows.Forms.NumericUpDown CountSysBotCharmMounting; + private System.Windows.Forms.NumericUpDown CountSysBotCharmSelling; + private System.Windows.Forms.NumericUpDown CountSysBotCharmFinding; + private System.Windows.Forms.Label LabelSysBotCharmAdamant; + private System.Windows.Forms.Label LabelSysBotCharmMight; + private System.Windows.Forms.Label LabelSysBotCharmGathering; + private System.Windows.Forms.Label LabelSysBotCharmTraining; + private System.Windows.Forms.Label LabelSysBotCharmMounting; + private System.Windows.Forms.Label LabelSysBotCharmSelling; + private System.Windows.Forms.NumericUpDown CountSysBotCharmRecovery; + private System.Windows.Forms.Label LabelSysBotCharmFinding; + private System.Windows.Forms.NumericUpDown CountSysBotCharmBuying; + private System.Windows.Forms.NumericUpDown CountSysBotCharmLucky; + private System.Windows.Forms.Label LabelSysBotCharmRecovery; + private System.Windows.Forms.Label LabelSysBotCharmBuying; + private System.Windows.Forms.Label LabelSysBotCharmLucky; + private System.Windows.Forms.Label LabelWIP; } } \ No newline at end of file From ddedf30b319e882db105bc963d0e961a663d86c5 Mon Sep 17 00:00:00 2001 From: Glazelf Date: Tue, 13 Jul 2021 19:13:47 +0200 Subject: [PATCH 02/14] add onclick functions --- MonstieHuntieHax.WinForms/Main.Designer.cs | 72 ++++++++++++---------- MonstieHuntieHax.WinForms/Main.cs | 50 +++++++++++++++ 2 files changed, 91 insertions(+), 31 deletions(-) diff --git a/MonstieHuntieHax.WinForms/Main.Designer.cs b/MonstieHuntieHax.WinForms/Main.Designer.cs index 049465a..0fecb96 100644 --- a/MonstieHuntieHax.WinForms/Main.Designer.cs +++ b/MonstieHuntieHax.WinForms/Main.Designer.cs @@ -331,25 +331,25 @@ private void InitializeComponent() // this.GroupSysBotCharms.AccessibleName = "GroupSysBotCharms"; this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmAdamant); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmRecovery); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmBuying); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmRecovery); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmLucky); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmBuying); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmMounting); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmSelling); this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmMight); + this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmLucky); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmSelling); this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmGathering); this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmTraining); - this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmMounting); - this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmSelling); this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmFinding); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmMounting); + this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmFinding); this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmAdamant); this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmMight); this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmGathering); this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmTraining); - this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmMounting); - this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmSelling); - this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmRecovery); - this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmFinding); - this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmBuying); - this.GroupSysBotCharms.Controls.Add(this.CountSysBotCharmLucky); - this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmRecovery); - this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmBuying); - this.GroupSysBotCharms.Controls.Add(this.LabelSysBotCharmLucky); this.GroupSysBotCharms.Location = new System.Drawing.Point(6, 6); this.GroupSysBotCharms.Name = "GroupSysBotCharms"; this.GroupSysBotCharms.Size = new System.Drawing.Size(122, 306); @@ -361,7 +361,7 @@ private void InitializeComponent() // this.CountSysBotCharmAdamant.AccessibleName = "CountSysBotCharmAdamant"; this.CountSysBotCharmAdamant.Enabled = false; - this.CountSysBotCharmAdamant.Location = new System.Drawing.Point(71, 278); + this.CountSysBotCharmAdamant.Location = new System.Drawing.Point(71, 218); this.CountSysBotCharmAdamant.Maximum = new decimal(new int[] { 999, 0, @@ -370,12 +370,13 @@ private void InitializeComponent() this.CountSysBotCharmAdamant.Name = "CountSysBotCharmAdamant"; this.CountSysBotCharmAdamant.Size = new System.Drawing.Size(43, 23); this.CountSysBotCharmAdamant.TabIndex = 26; + this.CountSysBotCharmAdamant.ValueChanged += new System.EventHandler(this.CountSysBotCharmAdamant_ValueChanged); // // CountSysBotCharmMight // this.CountSysBotCharmMight.AccessibleName = "CountSysBotCharmMight"; this.CountSysBotCharmMight.Enabled = false; - this.CountSysBotCharmMight.Location = new System.Drawing.Point(71, 249); + this.CountSysBotCharmMight.Location = new System.Drawing.Point(71, 247); this.CountSysBotCharmMight.Maximum = new decimal(new int[] { 999, 0, @@ -384,12 +385,13 @@ private void InitializeComponent() this.CountSysBotCharmMight.Name = "CountSysBotCharmMight"; this.CountSysBotCharmMight.Size = new System.Drawing.Size(43, 23); this.CountSysBotCharmMight.TabIndex = 25; + this.CountSysBotCharmMight.ValueChanged += new System.EventHandler(this.CountSysBotCharmMight_ValueChanged); // // CountSysBotCharmGathering // this.CountSysBotCharmGathering.AccessibleName = "CountSysBotCharmGathering"; this.CountSysBotCharmGathering.Enabled = false; - this.CountSysBotCharmGathering.Location = new System.Drawing.Point(71, 220); + this.CountSysBotCharmGathering.Location = new System.Drawing.Point(71, 44); this.CountSysBotCharmGathering.Maximum = new decimal(new int[] { 999, 0, @@ -398,12 +400,13 @@ private void InitializeComponent() this.CountSysBotCharmGathering.Name = "CountSysBotCharmGathering"; this.CountSysBotCharmGathering.Size = new System.Drawing.Size(43, 23); this.CountSysBotCharmGathering.TabIndex = 24; + this.CountSysBotCharmGathering.ValueChanged += new System.EventHandler(this.CountSysBotCharmGathering_ValueChanged); // // CountSysBotCharmTraining // this.CountSysBotCharmTraining.AccessibleName = "CountSysBotCharmTraining"; this.CountSysBotCharmTraining.Enabled = false; - this.CountSysBotCharmTraining.Location = new System.Drawing.Point(71, 191); + this.CountSysBotCharmTraining.Location = new System.Drawing.Point(71, 17); this.CountSysBotCharmTraining.Maximum = new decimal(new int[] { 999, 0, @@ -412,12 +415,13 @@ private void InitializeComponent() this.CountSysBotCharmTraining.Name = "CountSysBotCharmTraining"; this.CountSysBotCharmTraining.Size = new System.Drawing.Size(43, 23); this.CountSysBotCharmTraining.TabIndex = 23; + this.CountSysBotCharmTraining.ValueChanged += new System.EventHandler(this.CountSysBotCharmTraining_ValueChanged); // // CountSysBotCharmMounting // this.CountSysBotCharmMounting.AccessibleName = "CountSysBotCharmMounting"; this.CountSysBotCharmMounting.Enabled = false; - this.CountSysBotCharmMounting.Location = new System.Drawing.Point(71, 162); + this.CountSysBotCharmMounting.Location = new System.Drawing.Point(71, 131); this.CountSysBotCharmMounting.Maximum = new decimal(new int[] { 999, 0, @@ -426,12 +430,13 @@ private void InitializeComponent() this.CountSysBotCharmMounting.Name = "CountSysBotCharmMounting"; this.CountSysBotCharmMounting.Size = new System.Drawing.Size(43, 23); this.CountSysBotCharmMounting.TabIndex = 22; + this.CountSysBotCharmMounting.ValueChanged += new System.EventHandler(this.CountSysBotCharmMounting_ValueChanged); // // CountSysBotCharmSelling // this.CountSysBotCharmSelling.AccessibleName = "CountSysBotCharmSelling"; this.CountSysBotCharmSelling.Enabled = false; - this.CountSysBotCharmSelling.Location = new System.Drawing.Point(71, 133); + this.CountSysBotCharmSelling.Location = new System.Drawing.Point(71, 160); this.CountSysBotCharmSelling.Maximum = new decimal(new int[] { 999, 0, @@ -440,12 +445,13 @@ private void InitializeComponent() this.CountSysBotCharmSelling.Name = "CountSysBotCharmSelling"; this.CountSysBotCharmSelling.Size = new System.Drawing.Size(43, 23); this.CountSysBotCharmSelling.TabIndex = 21; + this.CountSysBotCharmSelling.ValueChanged += new System.EventHandler(this.CountSysBotCharmSelling_ValueChanged); // // CountSysBotCharmFinding // this.CountSysBotCharmFinding.AccessibleName = "CountSysBotCharmFinding"; this.CountSysBotCharmFinding.Enabled = false; - this.CountSysBotCharmFinding.Location = new System.Drawing.Point(71, 104); + this.CountSysBotCharmFinding.Location = new System.Drawing.Point(71, 102); this.CountSysBotCharmFinding.Maximum = new decimal(new int[] { 999, 0, @@ -454,12 +460,13 @@ private void InitializeComponent() this.CountSysBotCharmFinding.Name = "CountSysBotCharmFinding"; this.CountSysBotCharmFinding.Size = new System.Drawing.Size(43, 23); this.CountSysBotCharmFinding.TabIndex = 20; + this.CountSysBotCharmFinding.ValueChanged += new System.EventHandler(this.CountSysBotCharmFinding_ValueChanged); // // LabelSysBotCharmAdamant // this.LabelSysBotCharmAdamant.AccessibleName = "LabelSysBotCharmAdamant"; this.LabelSysBotCharmAdamant.AutoSize = true; - this.LabelSysBotCharmAdamant.Location = new System.Drawing.Point(7, 280); + this.LabelSysBotCharmAdamant.Location = new System.Drawing.Point(7, 220); this.LabelSysBotCharmAdamant.Name = "LabelSysBotCharmAdamant"; this.LabelSysBotCharmAdamant.Size = new System.Drawing.Size(59, 15); this.LabelSysBotCharmAdamant.TabIndex = 19; @@ -469,7 +476,7 @@ private void InitializeComponent() // this.LabelSysBotCharmMight.AccessibleName = "LabelSysBotCharmMight"; this.LabelSysBotCharmMight.AutoSize = true; - this.LabelSysBotCharmMight.Location = new System.Drawing.Point(7, 251); + this.LabelSysBotCharmMight.Location = new System.Drawing.Point(7, 249); this.LabelSysBotCharmMight.Name = "LabelSysBotCharmMight"; this.LabelSysBotCharmMight.Size = new System.Drawing.Size(42, 15); this.LabelSysBotCharmMight.TabIndex = 18; @@ -479,7 +486,7 @@ private void InitializeComponent() // this.LabelSysBotCharmGathering.AccessibleName = "LabelSysBotCharmGathering"; this.LabelSysBotCharmGathering.AutoSize = true; - this.LabelSysBotCharmGathering.Location = new System.Drawing.Point(7, 222); + this.LabelSysBotCharmGathering.Location = new System.Drawing.Point(7, 46); this.LabelSysBotCharmGathering.Name = "LabelSysBotCharmGathering"; this.LabelSysBotCharmGathering.Size = new System.Drawing.Size(62, 15); this.LabelSysBotCharmGathering.TabIndex = 17; @@ -489,7 +496,7 @@ private void InitializeComponent() // this.LabelSysBotCharmTraining.AccessibleName = "LabelSysBotCharmTraining"; this.LabelSysBotCharmTraining.AutoSize = true; - this.LabelSysBotCharmTraining.Location = new System.Drawing.Point(7, 193); + this.LabelSysBotCharmTraining.Location = new System.Drawing.Point(7, 19); this.LabelSysBotCharmTraining.Name = "LabelSysBotCharmTraining"; this.LabelSysBotCharmTraining.Size = new System.Drawing.Size(52, 15); this.LabelSysBotCharmTraining.TabIndex = 16; @@ -499,7 +506,7 @@ private void InitializeComponent() // this.LabelSysBotCharmMounting.AccessibleName = "LabelSysBotCharmMounting"; this.LabelSysBotCharmMounting.AutoSize = true; - this.LabelSysBotCharmMounting.Location = new System.Drawing.Point(7, 164); + this.LabelSysBotCharmMounting.Location = new System.Drawing.Point(7, 133); this.LabelSysBotCharmMounting.Name = "LabelSysBotCharmMounting"; this.LabelSysBotCharmMounting.Size = new System.Drawing.Size(63, 15); this.LabelSysBotCharmMounting.TabIndex = 15; @@ -509,7 +516,7 @@ private void InitializeComponent() // this.LabelSysBotCharmSelling.AccessibleName = "LabelSysBotCharmSelling"; this.LabelSysBotCharmSelling.AutoSize = true; - this.LabelSysBotCharmSelling.Location = new System.Drawing.Point(7, 135); + this.LabelSysBotCharmSelling.Location = new System.Drawing.Point(7, 162); this.LabelSysBotCharmSelling.Name = "LabelSysBotCharmSelling"; this.LabelSysBotCharmSelling.Size = new System.Drawing.Size(45, 15); this.LabelSysBotCharmSelling.TabIndex = 14; @@ -519,7 +526,7 @@ private void InitializeComponent() // this.CountSysBotCharmRecovery.AccessibleName = "CountSysBotCharmRecovery"; this.CountSysBotCharmRecovery.Enabled = false; - this.CountSysBotCharmRecovery.Location = new System.Drawing.Point(71, 75); + this.CountSysBotCharmRecovery.Location = new System.Drawing.Point(71, 276); this.CountSysBotCharmRecovery.Maximum = new decimal(new int[] { 999, 0, @@ -528,12 +535,13 @@ private void InitializeComponent() this.CountSysBotCharmRecovery.Name = "CountSysBotCharmRecovery"; this.CountSysBotCharmRecovery.Size = new System.Drawing.Size(43, 23); this.CountSysBotCharmRecovery.TabIndex = 13; + this.CountSysBotCharmRecovery.ValueChanged += new System.EventHandler(this.CountSysBotCharmRecovery_ValueChanged); // // LabelSysBotCharmFinding // this.LabelSysBotCharmFinding.AccessibleName = "LabelSysBotCharmFinding"; this.LabelSysBotCharmFinding.AutoSize = true; - this.LabelSysBotCharmFinding.Location = new System.Drawing.Point(7, 106); + this.LabelSysBotCharmFinding.Location = new System.Drawing.Point(7, 104); this.LabelSysBotCharmFinding.Name = "LabelSysBotCharmFinding"; this.LabelSysBotCharmFinding.Size = new System.Drawing.Size(50, 15); this.LabelSysBotCharmFinding.TabIndex = 12; @@ -543,7 +551,7 @@ private void InitializeComponent() // this.CountSysBotCharmBuying.AccessibleName = "CountSysBotCharmBuying"; this.CountSysBotCharmBuying.Enabled = false; - this.CountSysBotCharmBuying.Location = new System.Drawing.Point(71, 46); + this.CountSysBotCharmBuying.Location = new System.Drawing.Point(71, 189); this.CountSysBotCharmBuying.Maximum = new decimal(new int[] { 999, 0, @@ -552,12 +560,13 @@ private void InitializeComponent() this.CountSysBotCharmBuying.Name = "CountSysBotCharmBuying"; this.CountSysBotCharmBuying.Size = new System.Drawing.Size(43, 23); this.CountSysBotCharmBuying.TabIndex = 11; + this.CountSysBotCharmBuying.ValueChanged += new System.EventHandler(this.CountSysBotCharmBuying_ValueChanged); // // CountSysBotCharmLucky // this.CountSysBotCharmLucky.AccessibleName = "CountSysBotCharmLucky"; this.CountSysBotCharmLucky.Enabled = false; - this.CountSysBotCharmLucky.Location = new System.Drawing.Point(71, 17); + this.CountSysBotCharmLucky.Location = new System.Drawing.Point(71, 73); this.CountSysBotCharmLucky.Maximum = new decimal(new int[] { 999, 0, @@ -566,12 +575,13 @@ private void InitializeComponent() this.CountSysBotCharmLucky.Name = "CountSysBotCharmLucky"; this.CountSysBotCharmLucky.Size = new System.Drawing.Size(43, 23); this.CountSysBotCharmLucky.TabIndex = 10; + this.CountSysBotCharmLucky.ValueChanged += new System.EventHandler(this.CountSysBotCharmLucky_ValueChanged); // // LabelSysBotCharmRecovery // this.LabelSysBotCharmRecovery.AccessibleName = "LabelSysBotCharmRecovery"; this.LabelSysBotCharmRecovery.AutoSize = true; - this.LabelSysBotCharmRecovery.Location = new System.Drawing.Point(7, 77); + this.LabelSysBotCharmRecovery.Location = new System.Drawing.Point(7, 278); this.LabelSysBotCharmRecovery.Name = "LabelSysBotCharmRecovery"; this.LabelSysBotCharmRecovery.Size = new System.Drawing.Size(58, 15); this.LabelSysBotCharmRecovery.TabIndex = 9; @@ -581,7 +591,7 @@ private void InitializeComponent() // this.LabelSysBotCharmBuying.AccessibleName = "LabelSysBotCharmBuying"; this.LabelSysBotCharmBuying.AutoSize = true; - this.LabelSysBotCharmBuying.Location = new System.Drawing.Point(7, 48); + this.LabelSysBotCharmBuying.Location = new System.Drawing.Point(7, 191); this.LabelSysBotCharmBuying.Name = "LabelSysBotCharmBuying"; this.LabelSysBotCharmBuying.Size = new System.Drawing.Size(47, 15); this.LabelSysBotCharmBuying.TabIndex = 8; @@ -591,7 +601,7 @@ private void InitializeComponent() // this.LabelSysBotCharmLucky.AccessibleName = "LabelSysBotCharmLucky"; this.LabelSysBotCharmLucky.AutoSize = true; - this.LabelSysBotCharmLucky.Location = new System.Drawing.Point(7, 19); + this.LabelSysBotCharmLucky.Location = new System.Drawing.Point(7, 75); this.LabelSysBotCharmLucky.Name = "LabelSysBotCharmLucky"; this.LabelSysBotCharmLucky.Size = new System.Drawing.Size(41, 15); this.LabelSysBotCharmLucky.TabIndex = 7; diff --git a/MonstieHuntieHax.WinForms/Main.cs b/MonstieHuntieHax.WinForms/Main.cs index 3193d99..bc552af 100644 --- a/MonstieHuntieHax.WinForms/Main.cs +++ b/MonstieHuntieHax.WinForms/Main.cs @@ -108,6 +108,56 @@ private void CountSysBotBottleCaps_ValueChanged(object sender, EventArgs e) PointerHandler.WritePointer(sb, DataOffsets.PointerBottleCaps, BottleCapsBytes); } + private void CountSysBotCharmTraining_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotCharmGathering_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotCharmLucky_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotCharmFinding_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotCharmMounting_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotCharmSelling_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotCharmBuying_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotCharmAdamant_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotCharmMight_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotCharmRecovery_ValueChanged(object sender, EventArgs e) + { + + } + private void ReloadValues() { try From ad0b42fb12898fff8099f120fce00fe53ad7e463 Mon Sep 17 00:00:00 2001 From: Glazelf Date: Tue, 13 Jul 2021 23:32:18 +0200 Subject: [PATCH 03/14] add pointers for charms might need to add more pointers or add a distance between them --- MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs index 913175f..40e69e2 100644 --- a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs +++ b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs @@ -6,7 +6,9 @@ public static class DataOffsets /// Main game pointers for game version 1.0.3 /// public const string PointerZeni = "[heap+40732670]"; // u32 - public const string PointerBottleCaps = "[heap+407335FE]"; //u16 + public const string PointerBottleCaps = "[heap+407335FE]"; // u16 + public const string PointerCharmMight = "[heap+40733446]"; // u16 + public const string PointerCharmMounting = "[heap+40733426]"; // u16 /// /// Distances From 2b285c23288a099d3019de64750ec23c01547439 Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 11:43:04 +0200 Subject: [PATCH 04/14] add numeric to target fw --- .../MonstieHuntieHax.Core.csproj | 2 +- .../MonstieHuntieHax.Injection.csproj | 14 +-- .../Properties/Resources.Designer.cs | 63 ----------- .../Properties/Resources.resx | 101 ------------------ .../Properties/Settings.Designer.cs | 26 ----- .../Properties/Settings.settings | 6 -- 6 files changed, 2 insertions(+), 210 deletions(-) delete mode 100644 MonstieHuntieHax.Injection/Properties/Resources.Designer.cs delete mode 100644 MonstieHuntieHax.Injection/Properties/Resources.resx delete mode 100644 MonstieHuntieHax.Injection/Properties/Settings.Designer.cs delete mode 100644 MonstieHuntieHax.Injection/Properties/Settings.settings diff --git a/MonstieHuntieHax.Core/MonstieHuntieHax.Core.csproj b/MonstieHuntieHax.Core/MonstieHuntieHax.Core.csproj index 8d33d4d..c4486c9 100644 --- a/MonstieHuntieHax.Core/MonstieHuntieHax.Core.csproj +++ b/MonstieHuntieHax.Core/MonstieHuntieHax.Core.csproj @@ -1,7 +1,7 @@  - net5.0-windows + net5.0-windows7.0 diff --git a/MonstieHuntieHax.Injection/MonstieHuntieHax.Injection.csproj b/MonstieHuntieHax.Injection/MonstieHuntieHax.Injection.csproj index e6c898f..8728c60 100644 --- a/MonstieHuntieHax.Injection/MonstieHuntieHax.Injection.csproj +++ b/MonstieHuntieHax.Injection/MonstieHuntieHax.Injection.csproj @@ -1,7 +1,7 @@  - net5.0-windows + net5.0-windows7.0 @@ -24,11 +24,6 @@ True Resources.resx - - True - True - Settings.settings - @@ -44,11 +39,4 @@ - - - SettingsSingleFileGenerator - Settings.Designer.cs - - - diff --git a/MonstieHuntieHax.Injection/Properties/Resources.Designer.cs b/MonstieHuntieHax.Injection/Properties/Resources.Designer.cs deleted file mode 100644 index 43fe2e7..0000000 --- a/MonstieHuntieHax.Injection/Properties/Resources.Designer.cs +++ /dev/null @@ -1,63 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace MonstieHuntieHax.Injection.Properties { - using System; - - - /// - /// A strongly-typed resource class, for looking up localized strings, etc. - /// - // This class was auto-generated by the StronglyTypedResourceBuilder - // class via a tool like ResGen or Visual Studio. - // To add or remove a member, edit your .ResX file then rerun ResGen - // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] - [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - internal class Resources { - - private static global::System.Resources.ResourceManager resourceMan; - - private static global::System.Globalization.CultureInfo resourceCulture; - - [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] - internal Resources() { - } - - /// - /// Returns the cached ResourceManager instance used by this class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Resources.ResourceManager ResourceManager { - get { - if (object.ReferenceEquals(resourceMan, null)) { - global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("MonstieHuntieHax.Injection.Properties.Resources", typeof(Resources).Assembly); - resourceMan = temp; - } - return resourceMan; - } - } - - /// - /// Overrides the current thread's CurrentUICulture property for all - /// resource lookups using this strongly typed resource class. - /// - [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] - internal static global::System.Globalization.CultureInfo Culture { - get { - return resourceCulture; - } - set { - resourceCulture = value; - } - } - } -} diff --git a/MonstieHuntieHax.Injection/Properties/Resources.resx b/MonstieHuntieHax.Injection/Properties/Resources.resx deleted file mode 100644 index 4fdb1b6..0000000 --- a/MonstieHuntieHax.Injection/Properties/Resources.resx +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 1.3 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - \ No newline at end of file diff --git a/MonstieHuntieHax.Injection/Properties/Settings.Designer.cs b/MonstieHuntieHax.Injection/Properties/Settings.Designer.cs deleted file mode 100644 index 324291c..0000000 --- a/MonstieHuntieHax.Injection/Properties/Settings.Designer.cs +++ /dev/null @@ -1,26 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace MonstieHuntieHax.Injection.Properties { - - - [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.8.1.0")] - internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { - - private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); - - public static Settings Default { - get { - return defaultInstance; - } - } - } -} diff --git a/MonstieHuntieHax.Injection/Properties/Settings.settings b/MonstieHuntieHax.Injection/Properties/Settings.settings deleted file mode 100644 index 049245f..0000000 --- a/MonstieHuntieHax.Injection/Properties/Settings.settings +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - From 42a349c7b5c6ff4d8bd80c17e93186d9214d274a Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 11:59:16 +0200 Subject: [PATCH 05/14] add pointers several items and more charms thanks @priestkos what a king --- .../Structures/RAM/DataOffsets.cs | 28 ++++++++++++++++--- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs index a2b91bd..66a6c02 100644 --- a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs +++ b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs @@ -3,16 +3,36 @@ public static class DataOffsets { /// - /// Main game pointers for game version 1.0.3 + /// Pointers for game version 1.0.3 /// public const string PointerZeni = "[heap+40732670]"; // u32 public const string PointerBottleCaps = "[heap+407335FE]"; // u16 - public const string PointerCharmMight = "[heap+40733446]"; // u16 - public const string PointerCharmMounting = "[heap+40733426]"; // u16 /// - /// Distances + /// Pointers that should really be optimized out as to not need this many pointers (mostly items) /// + public const string PointerCharmTraining = "[heap+407333FE]"; // All items are u16 + public const string PointerDustOfLife = "[heap+407326A6]"; + public const string PointerAncientPotion = "[heap+407326B6]"; + public const string PointerHeartChurro = "[heap+407354E6]"; + public const string PointerSurrogateGem = "[heap+407328EE]"; + public const string PointerPowerPaintball = "[heap+40732B0E]"; + public const string PointerSuperWhetstone = "[heap+407327EE]"; + public const string PointerWeaponSphereL = "[heap+4073550E]"; + + /// + /// Distances between offsets + /// + // Make these interpolated once that isn't a preview feature anymore + public const string PointerCharmGathering = PointerCharmTraining + "+16"; + public const string PointerCharmLucky = PointerCharmGathering + "+8"; + public const string PointerCharmFinding = PointerCharmLucky + "+8"; + public const string PointerCharmMounting = PointerCharmFinding + "+8"; + public const string PointerCharmSelling = PointerCharmMounting + "+8"; + public const string PointerCharmBuying = PointerCharmSelling + "+8"; + public const string PointerCharmAdamant = PointerCharmBuying + "+8"; + public const string PointerCharmMight = PointerCharmAdamant + "+8"; + public const string PointerCharmRecovery = PointerCharmMight + "+8"; /// From 317362f6479c9d0472a1ed10a0b983b609b9bd81 Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 12:00:55 +0200 Subject: [PATCH 06/14] clean --- MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs index 66a6c02..14b2f82 100644 --- a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs +++ b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs @@ -24,7 +24,7 @@ public static class DataOffsets /// Distances between offsets /// // Make these interpolated once that isn't a preview feature anymore - public const string PointerCharmGathering = PointerCharmTraining + "+16"; + public const string PointerCharmGathering = PointerCharmTraining + "+16"; public const string PointerCharmLucky = PointerCharmGathering + "+8"; public const string PointerCharmFinding = PointerCharmLucky + "+8"; public const string PointerCharmMounting = PointerCharmFinding + "+8"; From ac952cdd949db012095b9e0b58c0bda0fbadb95f Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 12:17:06 +0200 Subject: [PATCH 07/14] remove resources --- .../MonstieHuntieHax.Injection.csproj | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/MonstieHuntieHax.Injection/MonstieHuntieHax.Injection.csproj b/MonstieHuntieHax.Injection/MonstieHuntieHax.Injection.csproj index 8728c60..9d7ebfb 100644 --- a/MonstieHuntieHax.Injection/MonstieHuntieHax.Injection.csproj +++ b/MonstieHuntieHax.Injection/MonstieHuntieHax.Injection.csproj @@ -18,21 +18,6 @@ - - - True - True - Resources.resx - - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - - 5.0.0 From ca634ecc79a518049ce851bf436aaa302fc9525c Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 13:21:14 +0200 Subject: [PATCH 08/14] add charm editing --- .../Structures/RAM/DataOffsets.cs | 42 ++++++--- MonstieHuntieHax.WinForms/Main.cs | 92 ++++++++++++++++--- 2 files changed, 108 insertions(+), 26 deletions(-) diff --git a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs index 14b2f82..68dcf1c 100644 --- a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs +++ b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs @@ -9,9 +9,10 @@ public static class DataOffsets public const string PointerBottleCaps = "[heap+407335FE]"; // u16 /// - /// Pointers that should really be optimized out as to not need this many pointers (mostly items) + /// Pointers that should really be optimized out as to not need this many pointers (mostly items). + /// All items are u16 /// - public const string PointerCharmTraining = "[heap+407333FE]"; // All items are u16 + // Charms public const string PointerDustOfLife = "[heap+407326A6]"; public const string PointerAncientPotion = "[heap+407326B6]"; public const string PointerHeartChurro = "[heap+407354E6]"; @@ -23,16 +24,33 @@ public static class DataOffsets /// /// Distances between offsets /// - // Make these interpolated once that isn't a preview feature anymore - public const string PointerCharmGathering = PointerCharmTraining + "+16"; - public const string PointerCharmLucky = PointerCharmGathering + "+8"; - public const string PointerCharmFinding = PointerCharmLucky + "+8"; - public const string PointerCharmMounting = PointerCharmFinding + "+8"; - public const string PointerCharmSelling = PointerCharmMounting + "+8"; - public const string PointerCharmBuying = PointerCharmSelling + "+8"; - public const string PointerCharmAdamant = PointerCharmBuying + "+8"; - public const string PointerCharmMight = PointerCharmAdamant + "+8"; - public const string PointerCharmRecovery = PointerCharmMight + "+8"; + public const int DifferenceCharmGathering = 0x10; + public const int DifferenceCharms = 0x8; + + /// + /// Altering Pointers + /// + private static readonly int OffsetCharmTraining = 0x407333FE; + private static readonly int OffsetCharmGathering = OffsetCharmTraining + DifferenceCharmGathering; + private static readonly int OffsetCharmLucky = OffsetCharmGathering + DifferenceCharms * 1; + private static readonly int OffsetCharmFinding = OffsetCharmGathering + DifferenceCharms * 2; + private static readonly int OffsetCharmMounting = OffsetCharmGathering + DifferenceCharms * 3; + private static readonly int OffsetCharmSelling = OffsetCharmGathering + DifferenceCharms * 4; + private static readonly int OffsetCharmBuying = OffsetCharmGathering + DifferenceCharms * 5; + private static readonly int OffsetCharmAdamant = OffsetCharmGathering + DifferenceCharms * 6; + private static readonly int OffsetCharmMight = OffsetCharmGathering + DifferenceCharms * 7; + private static readonly int OffsetCharmRecovery = OffsetCharmGathering + DifferenceCharms * 8; + + public static string PointerCharmTraining = $"[heap+{OffsetCharmTraining:X}]"; + public static string PointerCharmGathering = $"[heap+{OffsetCharmGathering:X}]"; + public static string PointerCharmLucky = $"[heap+{OffsetCharmLucky:X}]"; + public static string PointerCharmFinding = $"[heap+{OffsetCharmFinding:X}]"; + public static string PointerCharmMounting = $"[heap+{OffsetCharmMounting:X}]"; + public static string PointerCharmSelling = $"[heap+{OffsetCharmSelling:X}]"; + public static string PointerCharmBuying = $"[heap+{OffsetCharmBuying:X}]"; + public static string PointerCharmAdamant = $"[heap+{OffsetCharmAdamant:X}]"; + public static string PointerCharmMight = $"[heap+{OffsetCharmMight:X}]"; + public static string PointerCharmRecovery = $"[heap+{OffsetCharmRecovery:X}]"; /// diff --git a/MonstieHuntieHax.WinForms/Main.cs b/MonstieHuntieHax.WinForms/Main.cs index bc552af..2498e99 100644 --- a/MonstieHuntieHax.WinForms/Main.cs +++ b/MonstieHuntieHax.WinForms/Main.cs @@ -97,69 +97,78 @@ private void ButtonSysbotRead_Click(object sender, EventArgs e) private void SysBotZeniCount_ValueChanged(object sender, EventArgs e) { SysBotLog.Text += Environment.NewLine + $"Writing Zeni: {CountSysBotZeni.Value}"; - byte[] ZeniBytes = BitConverter.GetBytes((uint)CountSysBotZeni.Value); - PointerHandler.WritePointer(sb, DataOffsets.PointerZeni, ZeniBytes); + WriteHeap(CountSysBotZeni.Value, DataOffsets.PointerZeni); } private void CountSysBotBottleCaps_ValueChanged(object sender, EventArgs e) { SysBotLog.Text += Environment.NewLine + $"Writing Bottle Caps: {CountSysBotBottleCaps.Value}"; - byte[] BottleCapsBytes = BitConverter.GetBytes((uint)CountSysBotBottleCaps.Value); - PointerHandler.WritePointer(sb, DataOffsets.PointerBottleCaps, BottleCapsBytes); + WriteHeap(CountSysBotBottleCaps.Value, DataOffsets.PointerBottleCaps); } private void CountSysBotCharmTraining_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Training Charms: {CountSysBotCharmTraining.Value}"; + WriteHeap(CountSysBotCharmTraining.Value, DataOffsets.PointerCharmTraining); } private void CountSysBotCharmGathering_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Gathering Charms: {CountSysBotCharmGathering.Value}"; + WriteHeap(CountSysBotCharmGathering.Value, DataOffsets.PointerCharmGathering); } private void CountSysBotCharmLucky_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Lucky Charms: {CountSysBotCharmLucky.Value}"; + WriteHeap(CountSysBotCharmLucky.Value, DataOffsets.PointerCharmLucky); } private void CountSysBotCharmFinding_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Finding Charms: {CountSysBotCharmFinding.Value}"; + WriteHeap(CountSysBotCharmFinding.Value, DataOffsets.PointerCharmFinding); } private void CountSysBotCharmMounting_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Mounting Charms: {CountSysBotCharmMounting.Value}"; + WriteHeap(CountSysBotCharmMounting.Value, DataOffsets.PointerCharmMounting); } private void CountSysBotCharmSelling_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Selling Charms: {CountSysBotCharmSelling.Value}"; + WriteHeap(CountSysBotCharmSelling.Value, DataOffsets.PointerCharmSelling); } private void CountSysBotCharmBuying_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Buying Charms: {CountSysBotCharmBuying.Value}"; + WriteHeap(CountSysBotCharmBuying.Value, DataOffsets.PointerCharmBuying); } private void CountSysBotCharmAdamant_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Adamant Charms: {CountSysBotCharmAdamant.Value}"; + WriteHeap(CountSysBotCharmAdamant.Value, DataOffsets.PointerCharmAdamant); } private void CountSysBotCharmMight_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Might Charms: {CountSysBotCharmMight.Value}"; + WriteHeap(CountSysBotCharmGathering.Value, DataOffsets.PointerCharmGathering); } private void CountSysBotCharmRecovery_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Recovery Charms: {CountSysBotCharmRecovery.Value}"; + WriteHeap(CountSysBotCharmRecovery.Value, DataOffsets.PointerCharmRecovery); } private void ReloadValues() { + // Currencies try { uint Zeni = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerZeni); @@ -175,10 +184,65 @@ private void ReloadValues() CountSysBotBottleCaps.Enabled = false; LogError(ex); } + // Charms + try + { + uint TrainingCharms = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerCharmTraining); + CountSysBotCharmTraining.Value = TrainingCharms; + CountSysBotCharmTraining.Enabled = true; + uint GatheringCharms = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerCharmGathering); + CountSysBotCharmGathering.Value = GatheringCharms; + CountSysBotCharmGathering.Enabled = true; + uint LuckyCharms = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerCharmLucky); + CountSysBotCharmLucky.Value = LuckyCharms; + CountSysBotCharmLucky.Enabled = true; + uint FindingCharms = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerCharmFinding); + CountSysBotCharmFinding.Value = FindingCharms; + CountSysBotCharmFinding.Enabled = true; + uint MountingCharms = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerCharmMounting); + CountSysBotCharmMounting.Value = MountingCharms; + CountSysBotCharmMounting.Enabled = true; + uint SellingCharms = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerCharmSelling); + CountSysBotCharmSelling.Value = SellingCharms; + CountSysBotCharmSelling.Enabled = true; + uint BuyingCharms = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerCharmBuying); + CountSysBotCharmBuying.Value = BuyingCharms; + CountSysBotCharmBuying.Enabled = true; + uint AdamantCharms = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerCharmAdamant); + CountSysBotCharmAdamant.Value = AdamantCharms; + CountSysBotCharmAdamant.Enabled = true; + uint MightCharms = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerCharmMight); + CountSysBotCharmMight.Value = MightCharms; + CountSysBotCharmMight.Enabled = true; + uint RecoveryCharms = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerCharmRecovery); + CountSysBotCharmRecovery.Value = RecoveryCharms; + CountSysBotCharmRecovery.Enabled = true; + + SysBotLog.Text += Environment.NewLine + $"{DataOffsets.PointerCharmRecovery}"; + } catch (Exception ex) + { + CountSysBotCharmTraining.Enabled = false; + CountSysBotCharmGathering.Enabled = false; + CountSysBotCharmLucky.Enabled = false; + CountSysBotCharmFinding.Enabled = false; + CountSysBotCharmMounting.Enabled = false; + CountSysBotCharmSelling.Enabled = false; + CountSysBotCharmBuying.Enabled = false; + CountSysBotCharmAdamant.Enabled = false; + CountSysBotCharmMight.Enabled = false; + CountSysBotCharmRecovery.Enabled = false; + LogError(ex); + } SysBotLog.Text += Environment.NewLine + "Loaded values."; } + private void WriteHeap(decimal input, string pointer) + { + byte[] writeBytes = BitConverter.GetBytes((uint)input); + PointerHandler.WritePointer(sb, pointer, writeBytes); + } + public void LogError(Exception ex) { SysBotLog.Text += Environment.NewLine + $"{ex.Message}\n{ex.StackTrace}"; From f2199a6537225a603b9283ce7b80ac61909f8d74 Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 13:23:02 +0200 Subject: [PATCH 09/14] fix might charm --- MonstieHuntieHax.WinForms/Main.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MonstieHuntieHax.WinForms/Main.cs b/MonstieHuntieHax.WinForms/Main.cs index 2498e99..a48b399 100644 --- a/MonstieHuntieHax.WinForms/Main.cs +++ b/MonstieHuntieHax.WinForms/Main.cs @@ -157,7 +157,7 @@ private void CountSysBotCharmAdamant_ValueChanged(object sender, EventArgs e) private void CountSysBotCharmMight_ValueChanged(object sender, EventArgs e) { SysBotLog.Text += Environment.NewLine + $"Writing Might Charms: {CountSysBotCharmMight.Value}"; - WriteHeap(CountSysBotCharmGathering.Value, DataOffsets.PointerCharmGathering); + WriteHeap(CountSysBotCharmMight.Value, DataOffsets.PointerCharmMight); } private void CountSysBotCharmRecovery_ValueChanged(object sender, EventArgs e) From e72f8bad4f7dfe846ffa781fa6a984494674edca Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 13:27:31 +0200 Subject: [PATCH 10/14] edit comments --- MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs index 68dcf1c..e669e3b 100644 --- a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs +++ b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs @@ -10,9 +10,9 @@ public static class DataOffsets /// /// Pointers that should really be optimized out as to not need this many pointers (mostly items). - /// All items are u16 + /// All items are u16, max 999 /// - // Charms + // Other Items public const string PointerDustOfLife = "[heap+407326A6]"; public const string PointerAncientPotion = "[heap+407326B6]"; public const string PointerHeartChurro = "[heap+407354E6]"; @@ -30,6 +30,7 @@ public static class DataOffsets /// /// Altering Pointers /// + // Charms private static readonly int OffsetCharmTraining = 0x407333FE; private static readonly int OffsetCharmGathering = OffsetCharmTraining + DifferenceCharmGathering; private static readonly int OffsetCharmLucky = OffsetCharmGathering + DifferenceCharms * 1; From 5e3e490f48619350b94d831c9a900266684d60da Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 13:42:10 +0200 Subject: [PATCH 11/14] add pointers forgot to add these earlier, thanks @priestkos --- MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs index e669e3b..3eacb02 100644 --- a/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs +++ b/MonstieHuntieHax.Core/Structures/RAM/DataOffsets.cs @@ -19,7 +19,9 @@ public static class DataOffsets public const string PointerSurrogateGem = "[heap+407328EE]"; public const string PointerPowerPaintball = "[heap+40732B0E]"; public const string PointerSuperWhetstone = "[heap+407327EE]"; + public const string PointerMegaBarrelBomb = "[heap+40732B16]"; public const string PointerWeaponSphereL = "[heap+4073550E]"; + public const string PointerArmorSphereL = "[heap+407354F6]"; /// /// Distances between offsets From 77d83f08759b627f7d83b5e847bde5d963211e5b Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 13:50:08 +0200 Subject: [PATCH 12/14] add some extra items to design --- MonstieHuntieHax.WinForms/Main.Designer.cs | 641 ++++++++++++++++----- MonstieHuntieHax.WinForms/Main.cs | 45 ++ 2 files changed, 530 insertions(+), 156 deletions(-) diff --git a/MonstieHuntieHax.WinForms/Main.Designer.cs b/MonstieHuntieHax.WinForms/Main.Designer.cs index 0fecb96..fe28063 100644 --- a/MonstieHuntieHax.WinForms/Main.Designer.cs +++ b/MonstieHuntieHax.WinForms/Main.Designer.cs @@ -49,29 +49,49 @@ private void InitializeComponent() this.TabSysBotItems = new System.Windows.Forms.TabPage(); this.GroupSysBotCharms = new System.Windows.Forms.GroupBox(); this.CountSysBotCharmAdamant = new System.Windows.Forms.NumericUpDown(); + this.LabelSysBotCharmRecovery = new System.Windows.Forms.Label(); + this.LabelSysBotCharmBuying = new System.Windows.Forms.Label(); + this.CountSysBotCharmRecovery = new System.Windows.Forms.NumericUpDown(); + this.LabelSysBotCharmLucky = new System.Windows.Forms.Label(); + this.CountSysBotCharmBuying = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotCharmMounting = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotCharmSelling = new System.Windows.Forms.NumericUpDown(); this.CountSysBotCharmMight = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotCharmLucky = new System.Windows.Forms.NumericUpDown(); + this.LabelSysBotCharmSelling = new System.Windows.Forms.Label(); this.CountSysBotCharmGathering = new System.Windows.Forms.NumericUpDown(); this.CountSysBotCharmTraining = new System.Windows.Forms.NumericUpDown(); - this.CountSysBotCharmMounting = new System.Windows.Forms.NumericUpDown(); - this.CountSysBotCharmSelling = new System.Windows.Forms.NumericUpDown(); this.CountSysBotCharmFinding = new System.Windows.Forms.NumericUpDown(); + this.LabelSysBotCharmMounting = new System.Windows.Forms.Label(); + this.LabelSysBotCharmFinding = new System.Windows.Forms.Label(); this.LabelSysBotCharmAdamant = new System.Windows.Forms.Label(); this.LabelSysBotCharmMight = new System.Windows.Forms.Label(); this.LabelSysBotCharmGathering = new System.Windows.Forms.Label(); this.LabelSysBotCharmTraining = new System.Windows.Forms.Label(); - this.LabelSysBotCharmMounting = new System.Windows.Forms.Label(); - this.LabelSysBotCharmSelling = new System.Windows.Forms.Label(); - this.CountSysBotCharmRecovery = new System.Windows.Forms.NumericUpDown(); - this.LabelSysBotCharmFinding = new System.Windows.Forms.Label(); - this.CountSysBotCharmBuying = new System.Windows.Forms.NumericUpDown(); - this.CountSysBotCharmLucky = new System.Windows.Forms.NumericUpDown(); - this.LabelSysBotCharmRecovery = new System.Windows.Forms.Label(); - this.LabelSysBotCharmBuying = new System.Windows.Forms.Label(); - this.LabelSysBotCharmLucky = new System.Windows.Forms.Label(); this.TabSysBotMonsties = new System.Windows.Forms.TabPage(); this.LabelWIP = new System.Windows.Forms.Label(); this.TabSysBotLog = new System.Windows.Forms.TabPage(); this.SysBotLog = new System.Windows.Forms.RichTextBox(); + this.GroupSysBotItemsBattle = new System.Windows.Forms.GroupBox(); + this.GroupSysBotItemsCrafting = new System.Windows.Forms.GroupBox(); + this.LabelSysBotAncientPotion = new System.Windows.Forms.Label(); + this.LabelSysBotDustOfLife = new System.Windows.Forms.Label(); + this.LabelSysBotHeartChurro = new System.Windows.Forms.Label(); + this.LabelSysBotSurrogateGem = new System.Windows.Forms.Label(); + this.LabelSysBotPowerPaintball = new System.Windows.Forms.Label(); + this.LabelSysBotSuperWhetstone = new System.Windows.Forms.Label(); + this.LabelSysBotMegaBarrelBomb = new System.Windows.Forms.Label(); + this.LabelSysBotWeaponSphereL = new System.Windows.Forms.Label(); + this.LabelSysBotArmorSphereL = new System.Windows.Forms.Label(); + this.CountSysBotMegaBarrelBomb = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotSuperWhetstone = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotPowerPaintball = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotSurrogateGem = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotHeartChurro = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotDustOfLife = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotAncientPotion = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotWeaponSphereL = new System.Windows.Forms.NumericUpDown(); + this.CountSysBotArmorSphereL = new System.Windows.Forms.NumericUpDown(); this.GroupSysBotConnection.SuspendLayout(); this.GroupSysBotStatus.SuspendLayout(); this.SysBotTabControl.SuspendLayout(); @@ -82,17 +102,28 @@ private void InitializeComponent() this.TabSysBotItems.SuspendLayout(); this.GroupSysBotCharms.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmAdamant)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmRecovery)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmBuying)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmMounting)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmSelling)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmMight)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmLucky)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmGathering)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmTraining)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmMounting)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmSelling)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmFinding)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmRecovery)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmBuying)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmLucky)).BeginInit(); this.TabSysBotMonsties.SuspendLayout(); this.TabSysBotLog.SuspendLayout(); + this.GroupSysBotItemsBattle.SuspendLayout(); + this.GroupSysBotItemsCrafting.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotMegaBarrelBomb)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotSuperWhetstone)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotPowerPaintball)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotSurrogateGem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotHeartChurro)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotDustOfLife)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotAncientPotion)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotWeaponSphereL)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotArmorSphereL)).BeginInit(); this.SuspendLayout(); // // TextBoxIP @@ -317,6 +348,8 @@ private void InitializeComponent() // TabSysBotItems // this.TabSysBotItems.AccessibleName = "TabSysBotItems"; + this.TabSysBotItems.Controls.Add(this.GroupSysBotItemsCrafting); + this.TabSysBotItems.Controls.Add(this.GroupSysBotItemsBattle); this.TabSysBotItems.Controls.Add(this.GroupSysBotCharms); this.TabSysBotItems.Location = new System.Drawing.Point(4, 24); this.TabSysBotItems.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); @@ -372,6 +405,96 @@ private void InitializeComponent() this.CountSysBotCharmAdamant.TabIndex = 26; this.CountSysBotCharmAdamant.ValueChanged += new System.EventHandler(this.CountSysBotCharmAdamant_ValueChanged); // + // LabelSysBotCharmRecovery + // + this.LabelSysBotCharmRecovery.AccessibleName = "LabelSysBotCharmRecovery"; + this.LabelSysBotCharmRecovery.AutoSize = true; + this.LabelSysBotCharmRecovery.Location = new System.Drawing.Point(7, 278); + this.LabelSysBotCharmRecovery.Name = "LabelSysBotCharmRecovery"; + this.LabelSysBotCharmRecovery.Size = new System.Drawing.Size(58, 15); + this.LabelSysBotCharmRecovery.TabIndex = 9; + this.LabelSysBotCharmRecovery.Text = "Recovery:"; + // + // LabelSysBotCharmBuying + // + this.LabelSysBotCharmBuying.AccessibleName = "LabelSysBotCharmBuying"; + this.LabelSysBotCharmBuying.AutoSize = true; + this.LabelSysBotCharmBuying.Location = new System.Drawing.Point(7, 191); + this.LabelSysBotCharmBuying.Name = "LabelSysBotCharmBuying"; + this.LabelSysBotCharmBuying.Size = new System.Drawing.Size(47, 15); + this.LabelSysBotCharmBuying.TabIndex = 8; + this.LabelSysBotCharmBuying.Text = "Buying:"; + // + // CountSysBotCharmRecovery + // + this.CountSysBotCharmRecovery.AccessibleName = "CountSysBotCharmRecovery"; + this.CountSysBotCharmRecovery.Enabled = false; + this.CountSysBotCharmRecovery.Location = new System.Drawing.Point(71, 276); + this.CountSysBotCharmRecovery.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmRecovery.Name = "CountSysBotCharmRecovery"; + this.CountSysBotCharmRecovery.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmRecovery.TabIndex = 13; + this.CountSysBotCharmRecovery.ValueChanged += new System.EventHandler(this.CountSysBotCharmRecovery_ValueChanged); + // + // LabelSysBotCharmLucky + // + this.LabelSysBotCharmLucky.AccessibleName = "LabelSysBotCharmLucky"; + this.LabelSysBotCharmLucky.AutoSize = true; + this.LabelSysBotCharmLucky.Location = new System.Drawing.Point(7, 75); + this.LabelSysBotCharmLucky.Name = "LabelSysBotCharmLucky"; + this.LabelSysBotCharmLucky.Size = new System.Drawing.Size(41, 15); + this.LabelSysBotCharmLucky.TabIndex = 7; + this.LabelSysBotCharmLucky.Text = "Lucky:"; + // + // CountSysBotCharmBuying + // + this.CountSysBotCharmBuying.AccessibleName = "CountSysBotCharmBuying"; + this.CountSysBotCharmBuying.Enabled = false; + this.CountSysBotCharmBuying.Location = new System.Drawing.Point(71, 189); + this.CountSysBotCharmBuying.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmBuying.Name = "CountSysBotCharmBuying"; + this.CountSysBotCharmBuying.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmBuying.TabIndex = 11; + this.CountSysBotCharmBuying.ValueChanged += new System.EventHandler(this.CountSysBotCharmBuying_ValueChanged); + // + // CountSysBotCharmMounting + // + this.CountSysBotCharmMounting.AccessibleName = "CountSysBotCharmMounting"; + this.CountSysBotCharmMounting.Enabled = false; + this.CountSysBotCharmMounting.Location = new System.Drawing.Point(71, 131); + this.CountSysBotCharmMounting.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmMounting.Name = "CountSysBotCharmMounting"; + this.CountSysBotCharmMounting.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmMounting.TabIndex = 22; + this.CountSysBotCharmMounting.ValueChanged += new System.EventHandler(this.CountSysBotCharmMounting_ValueChanged); + // + // CountSysBotCharmSelling + // + this.CountSysBotCharmSelling.AccessibleName = "CountSysBotCharmSelling"; + this.CountSysBotCharmSelling.Enabled = false; + this.CountSysBotCharmSelling.Location = new System.Drawing.Point(71, 160); + this.CountSysBotCharmSelling.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmSelling.Name = "CountSysBotCharmSelling"; + this.CountSysBotCharmSelling.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmSelling.TabIndex = 21; + this.CountSysBotCharmSelling.ValueChanged += new System.EventHandler(this.CountSysBotCharmSelling_ValueChanged); + // // CountSysBotCharmMight // this.CountSysBotCharmMight.AccessibleName = "CountSysBotCharmMight"; @@ -387,6 +510,31 @@ private void InitializeComponent() this.CountSysBotCharmMight.TabIndex = 25; this.CountSysBotCharmMight.ValueChanged += new System.EventHandler(this.CountSysBotCharmMight_ValueChanged); // + // CountSysBotCharmLucky + // + this.CountSysBotCharmLucky.AccessibleName = "CountSysBotCharmLucky"; + this.CountSysBotCharmLucky.Enabled = false; + this.CountSysBotCharmLucky.Location = new System.Drawing.Point(71, 73); + this.CountSysBotCharmLucky.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotCharmLucky.Name = "CountSysBotCharmLucky"; + this.CountSysBotCharmLucky.Size = new System.Drawing.Size(43, 23); + this.CountSysBotCharmLucky.TabIndex = 10; + this.CountSysBotCharmLucky.ValueChanged += new System.EventHandler(this.CountSysBotCharmLucky_ValueChanged); + // + // LabelSysBotCharmSelling + // + this.LabelSysBotCharmSelling.AccessibleName = "LabelSysBotCharmSelling"; + this.LabelSysBotCharmSelling.AutoSize = true; + this.LabelSysBotCharmSelling.Location = new System.Drawing.Point(7, 162); + this.LabelSysBotCharmSelling.Name = "LabelSysBotCharmSelling"; + this.LabelSysBotCharmSelling.Size = new System.Drawing.Size(45, 15); + this.LabelSysBotCharmSelling.TabIndex = 14; + this.LabelSysBotCharmSelling.Text = "Selling:"; + // // CountSysBotCharmGathering // this.CountSysBotCharmGathering.AccessibleName = "CountSysBotCharmGathering"; @@ -417,36 +565,6 @@ private void InitializeComponent() this.CountSysBotCharmTraining.TabIndex = 23; this.CountSysBotCharmTraining.ValueChanged += new System.EventHandler(this.CountSysBotCharmTraining_ValueChanged); // - // CountSysBotCharmMounting - // - this.CountSysBotCharmMounting.AccessibleName = "CountSysBotCharmMounting"; - this.CountSysBotCharmMounting.Enabled = false; - this.CountSysBotCharmMounting.Location = new System.Drawing.Point(71, 131); - this.CountSysBotCharmMounting.Maximum = new decimal(new int[] { - 999, - 0, - 0, - 0}); - this.CountSysBotCharmMounting.Name = "CountSysBotCharmMounting"; - this.CountSysBotCharmMounting.Size = new System.Drawing.Size(43, 23); - this.CountSysBotCharmMounting.TabIndex = 22; - this.CountSysBotCharmMounting.ValueChanged += new System.EventHandler(this.CountSysBotCharmMounting_ValueChanged); - // - // CountSysBotCharmSelling - // - this.CountSysBotCharmSelling.AccessibleName = "CountSysBotCharmSelling"; - this.CountSysBotCharmSelling.Enabled = false; - this.CountSysBotCharmSelling.Location = new System.Drawing.Point(71, 160); - this.CountSysBotCharmSelling.Maximum = new decimal(new int[] { - 999, - 0, - 0, - 0}); - this.CountSysBotCharmSelling.Name = "CountSysBotCharmSelling"; - this.CountSysBotCharmSelling.Size = new System.Drawing.Size(43, 23); - this.CountSysBotCharmSelling.TabIndex = 21; - this.CountSysBotCharmSelling.ValueChanged += new System.EventHandler(this.CountSysBotCharmSelling_ValueChanged); - // // CountSysBotCharmFinding // this.CountSysBotCharmFinding.AccessibleName = "CountSysBotCharmFinding"; @@ -462,6 +580,26 @@ private void InitializeComponent() this.CountSysBotCharmFinding.TabIndex = 20; this.CountSysBotCharmFinding.ValueChanged += new System.EventHandler(this.CountSysBotCharmFinding_ValueChanged); // + // LabelSysBotCharmMounting + // + this.LabelSysBotCharmMounting.AccessibleName = "LabelSysBotCharmMounting"; + this.LabelSysBotCharmMounting.AutoSize = true; + this.LabelSysBotCharmMounting.Location = new System.Drawing.Point(7, 133); + this.LabelSysBotCharmMounting.Name = "LabelSysBotCharmMounting"; + this.LabelSysBotCharmMounting.Size = new System.Drawing.Size(63, 15); + this.LabelSysBotCharmMounting.TabIndex = 15; + this.LabelSysBotCharmMounting.Text = "Mounting:"; + // + // LabelSysBotCharmFinding + // + this.LabelSysBotCharmFinding.AccessibleName = "LabelSysBotCharmFinding"; + this.LabelSysBotCharmFinding.AutoSize = true; + this.LabelSysBotCharmFinding.Location = new System.Drawing.Point(7, 104); + this.LabelSysBotCharmFinding.Name = "LabelSysBotCharmFinding"; + this.LabelSysBotCharmFinding.Size = new System.Drawing.Size(50, 15); + this.LabelSysBotCharmFinding.TabIndex = 12; + this.LabelSysBotCharmFinding.Text = "Finding:"; + // // LabelSysBotCharmAdamant // this.LabelSysBotCharmAdamant.AccessibleName = "LabelSysBotCharmAdamant"; @@ -502,111 +640,6 @@ private void InitializeComponent() this.LabelSysBotCharmTraining.TabIndex = 16; this.LabelSysBotCharmTraining.Text = "Training:"; // - // LabelSysBotCharmMounting - // - this.LabelSysBotCharmMounting.AccessibleName = "LabelSysBotCharmMounting"; - this.LabelSysBotCharmMounting.AutoSize = true; - this.LabelSysBotCharmMounting.Location = new System.Drawing.Point(7, 133); - this.LabelSysBotCharmMounting.Name = "LabelSysBotCharmMounting"; - this.LabelSysBotCharmMounting.Size = new System.Drawing.Size(63, 15); - this.LabelSysBotCharmMounting.TabIndex = 15; - this.LabelSysBotCharmMounting.Text = "Mounting:"; - // - // LabelSysBotCharmSelling - // - this.LabelSysBotCharmSelling.AccessibleName = "LabelSysBotCharmSelling"; - this.LabelSysBotCharmSelling.AutoSize = true; - this.LabelSysBotCharmSelling.Location = new System.Drawing.Point(7, 162); - this.LabelSysBotCharmSelling.Name = "LabelSysBotCharmSelling"; - this.LabelSysBotCharmSelling.Size = new System.Drawing.Size(45, 15); - this.LabelSysBotCharmSelling.TabIndex = 14; - this.LabelSysBotCharmSelling.Text = "Selling:"; - // - // CountSysBotCharmRecovery - // - this.CountSysBotCharmRecovery.AccessibleName = "CountSysBotCharmRecovery"; - this.CountSysBotCharmRecovery.Enabled = false; - this.CountSysBotCharmRecovery.Location = new System.Drawing.Point(71, 276); - this.CountSysBotCharmRecovery.Maximum = new decimal(new int[] { - 999, - 0, - 0, - 0}); - this.CountSysBotCharmRecovery.Name = "CountSysBotCharmRecovery"; - this.CountSysBotCharmRecovery.Size = new System.Drawing.Size(43, 23); - this.CountSysBotCharmRecovery.TabIndex = 13; - this.CountSysBotCharmRecovery.ValueChanged += new System.EventHandler(this.CountSysBotCharmRecovery_ValueChanged); - // - // LabelSysBotCharmFinding - // - this.LabelSysBotCharmFinding.AccessibleName = "LabelSysBotCharmFinding"; - this.LabelSysBotCharmFinding.AutoSize = true; - this.LabelSysBotCharmFinding.Location = new System.Drawing.Point(7, 104); - this.LabelSysBotCharmFinding.Name = "LabelSysBotCharmFinding"; - this.LabelSysBotCharmFinding.Size = new System.Drawing.Size(50, 15); - this.LabelSysBotCharmFinding.TabIndex = 12; - this.LabelSysBotCharmFinding.Text = "Finding:"; - // - // CountSysBotCharmBuying - // - this.CountSysBotCharmBuying.AccessibleName = "CountSysBotCharmBuying"; - this.CountSysBotCharmBuying.Enabled = false; - this.CountSysBotCharmBuying.Location = new System.Drawing.Point(71, 189); - this.CountSysBotCharmBuying.Maximum = new decimal(new int[] { - 999, - 0, - 0, - 0}); - this.CountSysBotCharmBuying.Name = "CountSysBotCharmBuying"; - this.CountSysBotCharmBuying.Size = new System.Drawing.Size(43, 23); - this.CountSysBotCharmBuying.TabIndex = 11; - this.CountSysBotCharmBuying.ValueChanged += new System.EventHandler(this.CountSysBotCharmBuying_ValueChanged); - // - // CountSysBotCharmLucky - // - this.CountSysBotCharmLucky.AccessibleName = "CountSysBotCharmLucky"; - this.CountSysBotCharmLucky.Enabled = false; - this.CountSysBotCharmLucky.Location = new System.Drawing.Point(71, 73); - this.CountSysBotCharmLucky.Maximum = new decimal(new int[] { - 999, - 0, - 0, - 0}); - this.CountSysBotCharmLucky.Name = "CountSysBotCharmLucky"; - this.CountSysBotCharmLucky.Size = new System.Drawing.Size(43, 23); - this.CountSysBotCharmLucky.TabIndex = 10; - this.CountSysBotCharmLucky.ValueChanged += new System.EventHandler(this.CountSysBotCharmLucky_ValueChanged); - // - // LabelSysBotCharmRecovery - // - this.LabelSysBotCharmRecovery.AccessibleName = "LabelSysBotCharmRecovery"; - this.LabelSysBotCharmRecovery.AutoSize = true; - this.LabelSysBotCharmRecovery.Location = new System.Drawing.Point(7, 278); - this.LabelSysBotCharmRecovery.Name = "LabelSysBotCharmRecovery"; - this.LabelSysBotCharmRecovery.Size = new System.Drawing.Size(58, 15); - this.LabelSysBotCharmRecovery.TabIndex = 9; - this.LabelSysBotCharmRecovery.Text = "Recovery:"; - // - // LabelSysBotCharmBuying - // - this.LabelSysBotCharmBuying.AccessibleName = "LabelSysBotCharmBuying"; - this.LabelSysBotCharmBuying.AutoSize = true; - this.LabelSysBotCharmBuying.Location = new System.Drawing.Point(7, 191); - this.LabelSysBotCharmBuying.Name = "LabelSysBotCharmBuying"; - this.LabelSysBotCharmBuying.Size = new System.Drawing.Size(47, 15); - this.LabelSysBotCharmBuying.TabIndex = 8; - this.LabelSysBotCharmBuying.Text = "Buying:"; - // - // LabelSysBotCharmLucky - // - this.LabelSysBotCharmLucky.AccessibleName = "LabelSysBotCharmLucky"; - this.LabelSysBotCharmLucky.AutoSize = true; - this.LabelSysBotCharmLucky.Location = new System.Drawing.Point(7, 75); - this.LabelSysBotCharmLucky.Name = "LabelSysBotCharmLucky"; - this.LabelSysBotCharmLucky.Size = new System.Drawing.Size(41, 15); - this.LabelSysBotCharmLucky.TabIndex = 7; - this.LabelSysBotCharmLucky.Text = "Lucky:"; - // // TabSysBotMonsties // this.TabSysBotMonsties.AccessibleName = "TabSysBotMonsties"; @@ -654,6 +687,269 @@ private void InitializeComponent() this.SysBotLog.TabIndex = 5; this.SysBotLog.Text = "Started application."; // + // GroupSysBotItemsBattle + // + this.GroupSysBotItemsBattle.AccessibleName = "GroupSysBotItemsBattle"; + this.GroupSysBotItemsBattle.Controls.Add(this.CountSysBotAncientPotion); + this.GroupSysBotItemsBattle.Controls.Add(this.CountSysBotDustOfLife); + this.GroupSysBotItemsBattle.Controls.Add(this.CountSysBotHeartChurro); + this.GroupSysBotItemsBattle.Controls.Add(this.CountSysBotSurrogateGem); + this.GroupSysBotItemsBattle.Controls.Add(this.CountSysBotPowerPaintball); + this.GroupSysBotItemsBattle.Controls.Add(this.CountSysBotSuperWhetstone); + this.GroupSysBotItemsBattle.Controls.Add(this.CountSysBotMegaBarrelBomb); + this.GroupSysBotItemsBattle.Controls.Add(this.LabelSysBotMegaBarrelBomb); + this.GroupSysBotItemsBattle.Controls.Add(this.LabelSysBotSuperWhetstone); + this.GroupSysBotItemsBattle.Controls.Add(this.LabelSysBotPowerPaintball); + this.GroupSysBotItemsBattle.Controls.Add(this.LabelSysBotSurrogateGem); + this.GroupSysBotItemsBattle.Controls.Add(this.LabelSysBotHeartChurro); + this.GroupSysBotItemsBattle.Controls.Add(this.LabelSysBotDustOfLife); + this.GroupSysBotItemsBattle.Controls.Add(this.LabelSysBotAncientPotion); + this.GroupSysBotItemsBattle.Location = new System.Drawing.Point(447, 6); + this.GroupSysBotItemsBattle.Name = "GroupSysBotItemsBattle"; + this.GroupSysBotItemsBattle.Size = new System.Drawing.Size(172, 225); + this.GroupSysBotItemsBattle.TabIndex = 7; + this.GroupSysBotItemsBattle.TabStop = false; + this.GroupSysBotItemsBattle.Text = "Battle Items"; + // + // GroupSysBotItemsCrafting + // + this.GroupSysBotItemsCrafting.AccessibleName = "GroupSysBotItemsCrafting"; + this.GroupSysBotItemsCrafting.Controls.Add(this.CountSysBotArmorSphereL); + this.GroupSysBotItemsCrafting.Controls.Add(this.CountSysBotWeaponSphereL); + this.GroupSysBotItemsCrafting.Controls.Add(this.LabelSysBotArmorSphereL); + this.GroupSysBotItemsCrafting.Controls.Add(this.LabelSysBotWeaponSphereL); + this.GroupSysBotItemsCrafting.Location = new System.Drawing.Point(460, 391); + this.GroupSysBotItemsCrafting.Name = "GroupSysBotItemsCrafting"; + this.GroupSysBotItemsCrafting.Size = new System.Drawing.Size(159, 75); + this.GroupSysBotItemsCrafting.TabIndex = 8; + this.GroupSysBotItemsCrafting.TabStop = false; + this.GroupSysBotItemsCrafting.Text = "Crafting"; + // + // LabelSysBotAncientPotion + // + this.LabelSysBotAncientPotion.AccessibleName = "LabelSysBotAncientPotion"; + this.LabelSysBotAncientPotion.AutoSize = true; + this.LabelSysBotAncientPotion.Location = new System.Drawing.Point(6, 19); + this.LabelSysBotAncientPotion.Name = "LabelSysBotAncientPotion"; + this.LabelSysBotAncientPotion.Size = new System.Drawing.Size(89, 15); + this.LabelSysBotAncientPotion.TabIndex = 0; + this.LabelSysBotAncientPotion.Text = "Ancient Potion:"; + // + // LabelSysBotDustOfLife + // + this.LabelSysBotDustOfLife.AccessibleName = "LabelSysBotDustOfLife"; + this.LabelSysBotDustOfLife.AutoSize = true; + this.LabelSysBotDustOfLife.Location = new System.Drawing.Point(6, 48); + this.LabelSysBotDustOfLife.Name = "LabelSysBotDustOfLife"; + this.LabelSysBotDustOfLife.Size = new System.Drawing.Size(70, 15); + this.LabelSysBotDustOfLife.TabIndex = 9; + this.LabelSysBotDustOfLife.Text = "Dust of Life:"; + // + // LabelSysBotHeartChurro + // + this.LabelSysBotHeartChurro.AccessibleName = "LabelSysBotHeartChurro"; + this.LabelSysBotHeartChurro.AutoSize = true; + this.LabelSysBotHeartChurro.Location = new System.Drawing.Point(6, 77); + this.LabelSysBotHeartChurro.Name = "LabelSysBotHeartChurro"; + this.LabelSysBotHeartChurro.Size = new System.Drawing.Size(79, 15); + this.LabelSysBotHeartChurro.TabIndex = 9; + this.LabelSysBotHeartChurro.Text = "Heart Churro:"; + // + // LabelSysBotSurrogateGem + // + this.LabelSysBotSurrogateGem.AccessibleName = "LabelSysBotSurrogateGem"; + this.LabelSysBotSurrogateGem.AutoSize = true; + this.LabelSysBotSurrogateGem.Location = new System.Drawing.Point(6, 108); + this.LabelSysBotSurrogateGem.Name = "LabelSysBotSurrogateGem"; + this.LabelSysBotSurrogateGem.Size = new System.Drawing.Size(89, 15); + this.LabelSysBotSurrogateGem.TabIndex = 10; + this.LabelSysBotSurrogateGem.Text = "Surrogate Gem:"; + // + // LabelSysBotPowerPaintball + // + this.LabelSysBotPowerPaintball.AccessibleName = "LabelSysBotPowerPaintball"; + this.LabelSysBotPowerPaintball.AutoSize = true; + this.LabelSysBotPowerPaintball.Location = new System.Drawing.Point(6, 135); + this.LabelSysBotPowerPaintball.Name = "LabelSysBotPowerPaintball"; + this.LabelSysBotPowerPaintball.Size = new System.Drawing.Size(92, 15); + this.LabelSysBotPowerPaintball.TabIndex = 11; + this.LabelSysBotPowerPaintball.Text = "Power Paintball:"; + // + // LabelSysBotSuperWhetstone + // + this.LabelSysBotSuperWhetstone.AccessibleName = "LabelSysBotSuperWhetstone"; + this.LabelSysBotSuperWhetstone.AutoSize = true; + this.LabelSysBotSuperWhetstone.Location = new System.Drawing.Point(6, 164); + this.LabelSysBotSuperWhetstone.Name = "LabelSysBotSuperWhetstone"; + this.LabelSysBotSuperWhetstone.Size = new System.Drawing.Size(100, 15); + this.LabelSysBotSuperWhetstone.TabIndex = 12; + this.LabelSysBotSuperWhetstone.Text = "Super Whetstone:"; + // + // LabelSysBotMegaBarrelBomb + // + this.LabelSysBotMegaBarrelBomb.AccessibleName = "LabelSysBotMegaBarrelBomb"; + this.LabelSysBotMegaBarrelBomb.AutoSize = true; + this.LabelSysBotMegaBarrelBomb.Location = new System.Drawing.Point(6, 193); + this.LabelSysBotMegaBarrelBomb.Name = "LabelSysBotMegaBarrelBomb"; + this.LabelSysBotMegaBarrelBomb.Size = new System.Drawing.Size(108, 15); + this.LabelSysBotMegaBarrelBomb.TabIndex = 13; + this.LabelSysBotMegaBarrelBomb.Text = "Mega Barrel Bomb:"; + // + // LabelSysBotWeaponSphereL + // + this.LabelSysBotWeaponSphereL.AccessibleName = "LabelSysBotWeaponSphereL"; + this.LabelSysBotWeaponSphereL.AutoSize = true; + this.LabelSysBotWeaponSphereL.Location = new System.Drawing.Point(6, 19); + this.LabelSysBotWeaponSphereL.Name = "LabelSysBotWeaponSphereL"; + this.LabelSysBotWeaponSphereL.Size = new System.Drawing.Size(102, 15); + this.LabelSysBotWeaponSphereL.TabIndex = 14; + this.LabelSysBotWeaponSphereL.Text = "Weapon Sphere L:"; + // + // LabelSysBotArmorSphereL + // + this.LabelSysBotArmorSphereL.AccessibleDescription = "LabelSysBotArmorSphereL"; + this.LabelSysBotArmorSphereL.AutoSize = true; + this.LabelSysBotArmorSphereL.Location = new System.Drawing.Point(6, 48); + this.LabelSysBotArmorSphereL.Name = "LabelSysBotArmorSphereL"; + this.LabelSysBotArmorSphereL.Size = new System.Drawing.Size(92, 15); + this.LabelSysBotArmorSphereL.TabIndex = 15; + this.LabelSysBotArmorSphereL.Text = "Armor Sphere L:"; + // + // CountSysBotMegaBarrelBomb + // + this.CountSysBotMegaBarrelBomb.AccessibleName = "CountSysBotMegaBarrelBomb"; + this.CountSysBotMegaBarrelBomb.Enabled = false; + this.CountSysBotMegaBarrelBomb.Location = new System.Drawing.Point(120, 191); + this.CountSysBotMegaBarrelBomb.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotMegaBarrelBomb.Name = "CountSysBotMegaBarrelBomb"; + this.CountSysBotMegaBarrelBomb.Size = new System.Drawing.Size(42, 23); + this.CountSysBotMegaBarrelBomb.TabIndex = 14; + this.CountSysBotMegaBarrelBomb.ValueChanged += new System.EventHandler(this.CountSysBotMegaBarrelBomb_ValueChanged); + // + // CountSysBotSuperWhetstone + // + this.CountSysBotSuperWhetstone.AccessibleName = "CountSysBotSuperWhetstone"; + this.CountSysBotSuperWhetstone.Enabled = false; + this.CountSysBotSuperWhetstone.Location = new System.Drawing.Point(120, 162); + this.CountSysBotSuperWhetstone.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotSuperWhetstone.Name = "CountSysBotSuperWhetstone"; + this.CountSysBotSuperWhetstone.Size = new System.Drawing.Size(42, 23); + this.CountSysBotSuperWhetstone.TabIndex = 15; + this.CountSysBotSuperWhetstone.ValueChanged += new System.EventHandler(this.CountSysBotSuperWhetstone_ValueChanged); + // + // CountSysBotPowerPaintball + // + this.CountSysBotPowerPaintball.AccessibleName = "CountSysBotPowerPaintball"; + this.CountSysBotPowerPaintball.Enabled = false; + this.CountSysBotPowerPaintball.Location = new System.Drawing.Point(120, 133); + this.CountSysBotPowerPaintball.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotPowerPaintball.Name = "CountSysBotPowerPaintball"; + this.CountSysBotPowerPaintball.Size = new System.Drawing.Size(42, 23); + this.CountSysBotPowerPaintball.TabIndex = 16; + this.CountSysBotPowerPaintball.ValueChanged += new System.EventHandler(this.CountSysBotPowerPaintball_ValueChanged); + // + // CountSysBotSurrogateGem + // + this.CountSysBotSurrogateGem.AccessibleName = "CountSysBotSurrogateGem"; + this.CountSysBotSurrogateGem.Enabled = false; + this.CountSysBotSurrogateGem.Location = new System.Drawing.Point(120, 104); + this.CountSysBotSurrogateGem.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotSurrogateGem.Name = "CountSysBotSurrogateGem"; + this.CountSysBotSurrogateGem.Size = new System.Drawing.Size(42, 23); + this.CountSysBotSurrogateGem.TabIndex = 17; + this.CountSysBotSurrogateGem.ValueChanged += new System.EventHandler(this.CountSysBotSurrogateGem_ValueChanged); + // + // CountSysBotHeartChurro + // + this.CountSysBotHeartChurro.AccessibleName = "CountSysBotHeartChurro"; + this.CountSysBotHeartChurro.Enabled = false; + this.CountSysBotHeartChurro.Location = new System.Drawing.Point(120, 75); + this.CountSysBotHeartChurro.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotHeartChurro.Name = "CountSysBotHeartChurro"; + this.CountSysBotHeartChurro.Size = new System.Drawing.Size(42, 23); + this.CountSysBotHeartChurro.TabIndex = 5; + this.CountSysBotHeartChurro.ValueChanged += new System.EventHandler(this.CountSysBotHeartChurro_ValueChanged); + // + // CountSysBotDustOfLife + // + this.CountSysBotDustOfLife.AccessibleName = "CountSysBotDustOfLife"; + this.CountSysBotDustOfLife.Enabled = false; + this.CountSysBotDustOfLife.Location = new System.Drawing.Point(120, 46); + this.CountSysBotDustOfLife.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotDustOfLife.Name = "CountSysBotDustOfLife"; + this.CountSysBotDustOfLife.Size = new System.Drawing.Size(42, 23); + this.CountSysBotDustOfLife.TabIndex = 18; + this.CountSysBotDustOfLife.ValueChanged += new System.EventHandler(this.CountSysBotDustOfLife_ValueChanged); + // + // CountSysBotAncientPotion + // + this.CountSysBotAncientPotion.AccessibleName = "CountSysBotAncientPotion"; + this.CountSysBotAncientPotion.Enabled = false; + this.CountSysBotAncientPotion.Location = new System.Drawing.Point(120, 17); + this.CountSysBotAncientPotion.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotAncientPotion.Name = "CountSysBotAncientPotion"; + this.CountSysBotAncientPotion.Size = new System.Drawing.Size(42, 23); + this.CountSysBotAncientPotion.TabIndex = 19; + this.CountSysBotAncientPotion.ValueChanged += new System.EventHandler(this.CountSysBotAncientPotion_ValueChanged); + // + // CountSysBotWeaponSphereL + // + this.CountSysBotWeaponSphereL.AccessibleName = "CountSysBotWeaponSphereL"; + this.CountSysBotWeaponSphereL.Enabled = false; + this.CountSysBotWeaponSphereL.Location = new System.Drawing.Point(107, 17); + this.CountSysBotWeaponSphereL.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotWeaponSphereL.Name = "CountSysBotWeaponSphereL"; + this.CountSysBotWeaponSphereL.Size = new System.Drawing.Size(42, 23); + this.CountSysBotWeaponSphereL.TabIndex = 16; + this.CountSysBotWeaponSphereL.ValueChanged += new System.EventHandler(this.CountSysBotWeaponSphereL_ValueChanged); + // + // CountSysBotArmorSphereL + // + this.CountSysBotArmorSphereL.AccessibleName = "CountSysBotArmorSphereL"; + this.CountSysBotArmorSphereL.Enabled = false; + this.CountSysBotArmorSphereL.Location = new System.Drawing.Point(107, 46); + this.CountSysBotArmorSphereL.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.CountSysBotArmorSphereL.Name = "CountSysBotArmorSphereL"; + this.CountSysBotArmorSphereL.Size = new System.Drawing.Size(42, 23); + this.CountSysBotArmorSphereL.TabIndex = 9; + this.CountSysBotArmorSphereL.ValueChanged += new System.EventHandler(this.CountSysBotArmorSphereL_ValueChanged); + // // Main // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); @@ -680,18 +976,31 @@ private void InitializeComponent() this.GroupSysBotCharms.ResumeLayout(false); this.GroupSysBotCharms.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmAdamant)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmRecovery)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmBuying)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmMounting)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmSelling)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmMight)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmLucky)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmGathering)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmTraining)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmMounting)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmSelling)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmFinding)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmRecovery)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmBuying)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.CountSysBotCharmLucky)).EndInit(); this.TabSysBotMonsties.ResumeLayout(false); this.TabSysBotMonsties.PerformLayout(); this.TabSysBotLog.ResumeLayout(false); + this.GroupSysBotItemsBattle.ResumeLayout(false); + this.GroupSysBotItemsBattle.PerformLayout(); + this.GroupSysBotItemsCrafting.ResumeLayout(false); + this.GroupSysBotItemsCrafting.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotMegaBarrelBomb)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotSuperWhetstone)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotPowerPaintball)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotSurrogateGem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotHeartChurro)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotDustOfLife)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotAncientPotion)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotWeaponSphereL)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.CountSysBotArmorSphereL)).EndInit(); this.ResumeLayout(false); } @@ -741,5 +1050,25 @@ private void InitializeComponent() private System.Windows.Forms.Label LabelSysBotCharmBuying; private System.Windows.Forms.Label LabelSysBotCharmLucky; private System.Windows.Forms.Label LabelWIP; + private System.Windows.Forms.GroupBox GroupSysBotItemsBattle; + private System.Windows.Forms.GroupBox GroupSysBotItemsCrafting; + private System.Windows.Forms.Label LabelSysBotDustOfLife; + private System.Windows.Forms.Label LabelSysBotAncientPotion; + private System.Windows.Forms.Label LabelSysBotSuperWhetstone; + private System.Windows.Forms.Label LabelSysBotPowerPaintball; + private System.Windows.Forms.Label LabelSysBotSurrogateGem; + private System.Windows.Forms.Label LabelSysBotHeartChurro; + private System.Windows.Forms.Label LabelSysBotArmorSphereL; + private System.Windows.Forms.Label LabelSysBotWeaponSphereL; + private System.Windows.Forms.NumericUpDown CountSysBotSuperWhetstone; + private System.Windows.Forms.NumericUpDown CountSysBotMegaBarrelBomb; + private System.Windows.Forms.Label LabelSysBotMegaBarrelBomb; + private System.Windows.Forms.NumericUpDown CountSysBotArmorSphereL; + private System.Windows.Forms.NumericUpDown CountSysBotWeaponSphereL; + private System.Windows.Forms.NumericUpDown CountSysBotAncientPotion; + private System.Windows.Forms.NumericUpDown CountSysBotDustOfLife; + private System.Windows.Forms.NumericUpDown CountSysBotHeartChurro; + private System.Windows.Forms.NumericUpDown CountSysBotSurrogateGem; + private System.Windows.Forms.NumericUpDown CountSysBotPowerPaintball; } } \ No newline at end of file diff --git a/MonstieHuntieHax.WinForms/Main.cs b/MonstieHuntieHax.WinForms/Main.cs index a48b399..903e251 100644 --- a/MonstieHuntieHax.WinForms/Main.cs +++ b/MonstieHuntieHax.WinForms/Main.cs @@ -166,6 +166,51 @@ private void CountSysBotCharmRecovery_ValueChanged(object sender, EventArgs e) WriteHeap(CountSysBotCharmRecovery.Value, DataOffsets.PointerCharmRecovery); } + private void CountSysBotAncientPotion_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotDustOfLife_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotHeartChurro_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotSurrogateGem_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotPowerPaintball_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotSuperWhetstone_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotMegaBarrelBomb_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotWeaponSphereL_ValueChanged(object sender, EventArgs e) + { + + } + + private void CountSysBotArmorSphereL_ValueChanged(object sender, EventArgs e) + { + + } + private void ReloadValues() { // Currencies From dbd0708ff84ac2196979d2c412dd3a5195b19e10 Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 13:53:49 +0200 Subject: [PATCH 13/14] add armor sphere editing also add some categorizing in event fucntions --- MonstieHuntieHax.WinForms/Main.cs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/MonstieHuntieHax.WinForms/Main.cs b/MonstieHuntieHax.WinForms/Main.cs index 903e251..f8c949c 100644 --- a/MonstieHuntieHax.WinForms/Main.cs +++ b/MonstieHuntieHax.WinForms/Main.cs @@ -94,6 +94,7 @@ private void ButtonSysbotRead_Click(object sender, EventArgs e) ReloadValues(); } + // Currencies private void SysBotZeniCount_ValueChanged(object sender, EventArgs e) { SysBotLog.Text += Environment.NewLine + $"Writing Zeni: {CountSysBotZeni.Value}"; @@ -106,6 +107,7 @@ private void CountSysBotBottleCaps_ValueChanged(object sender, EventArgs e) WriteHeap(CountSysBotBottleCaps.Value, DataOffsets.PointerBottleCaps); } + // Charms private void CountSysBotCharmTraining_ValueChanged(object sender, EventArgs e) { SysBotLog.Text += Environment.NewLine + $"Writing Training Charms: {CountSysBotCharmTraining.Value}"; @@ -166,6 +168,7 @@ private void CountSysBotCharmRecovery_ValueChanged(object sender, EventArgs e) WriteHeap(CountSysBotCharmRecovery.Value, DataOffsets.PointerCharmRecovery); } + // Battle Items private void CountSysBotAncientPotion_ValueChanged(object sender, EventArgs e) { @@ -201,6 +204,7 @@ private void CountSysBotMegaBarrelBomb_ValueChanged(object sender, EventArgs e) } + // Crafting private void CountSysBotWeaponSphereL_ValueChanged(object sender, EventArgs e) { @@ -278,6 +282,29 @@ private void ReloadValues() CountSysBotCharmRecovery.Enabled = false; LogError(ex); } + // Battle Items + try + { + + } catch (Exception ex) + { + LogError(ex); + } + // Crafting + try + { + uint WeaponSphereLs = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerWeaponSphereL); + CountSysBotWeaponSphereL.Value = WeaponSphereLs; + CountSysBotWeaponSphereL.Enabled = true; + uint ArmorSphereLs = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerArmorSphereL); + CountSysBotArmorSphereL.Value = ArmorSphereLs; + CountSysBotArmorSphereL.Enabled = true; + } catch (Exception ex) + { + CountSysBotWeaponSphereL.Enabled = false; + CountSysBotArmorSphereL.Enabled = false; + LogError(ex); + } SysBotLog.Text += Environment.NewLine + "Loaded values."; } From 7fcb7056ad141749f6b8a1a7275ec9473d2427b1 Mon Sep 17 00:00:00 2001 From: Glazelf Date: Sat, 17 Jul 2021 14:01:57 +0200 Subject: [PATCH 14/14] add editing for items mentioned earlier --- MonstieHuntieHax.WinForms/Main.cs | 60 +++++++++++++++++++++++-------- 1 file changed, 46 insertions(+), 14 deletions(-) diff --git a/MonstieHuntieHax.WinForms/Main.cs b/MonstieHuntieHax.WinForms/Main.cs index f8c949c..d5d205b 100644 --- a/MonstieHuntieHax.WinForms/Main.cs +++ b/MonstieHuntieHax.WinForms/Main.cs @@ -171,48 +171,57 @@ private void CountSysBotCharmRecovery_ValueChanged(object sender, EventArgs e) // Battle Items private void CountSysBotAncientPotion_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Ancient Potions: {CountSysBotAncientPotion.Value}"; + WriteHeap(CountSysBotAncientPotion.Value, DataOffsets.PointerAncientPotion); } private void CountSysBotDustOfLife_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Dust Of Lifes: {CountSysBotDustOfLife.Value}"; + WriteHeap(CountSysBotDustOfLife.Value, DataOffsets.PointerDustOfLife); } private void CountSysBotHeartChurro_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Heart Churros: {CountSysBotHeartChurro.Value}"; + WriteHeap(CountSysBotHeartChurro.Value, DataOffsets.PointerHeartChurro); } private void CountSysBotSurrogateGem_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Surrogate Gems: {CountSysBotSurrogateGem.Value}"; + WriteHeap(CountSysBotSurrogateGem.Value, DataOffsets.PointerSurrogateGem); } private void CountSysBotPowerPaintball_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Power Paintballs: {CountSysBotPowerPaintball.Value}"; + WriteHeap(CountSysBotPowerPaintball.Value, DataOffsets.PointerPowerPaintball); } private void CountSysBotSuperWhetstone_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Super Whetstones: {CountSysBotSuperWhetstone.Value}"; + WriteHeap(CountSysBotSuperWhetstone.Value, DataOffsets.PointerSuperWhetstone); } private void CountSysBotMegaBarrelBomb_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Mega Barrel Bombs: {CountSysBotMegaBarrelBomb.Value}"; + WriteHeap(CountSysBotMegaBarrelBomb.Value, DataOffsets.PointerMegaBarrelBomb); } // Crafting private void CountSysBotWeaponSphereL_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Weapon Sphere Ls: {CountSysBotWeaponSphereL.Value}"; + WriteHeap(CountSysBotWeaponSphereL.Value, DataOffsets.PointerWeaponSphereL); } private void CountSysBotArmorSphereL_ValueChanged(object sender, EventArgs e) { - + SysBotLog.Text += Environment.NewLine + $"Writing Armor Sphere Ls: {CountSysBotArmorSphereL.Value}"; + WriteHeap(CountSysBotArmorSphereL.Value, DataOffsets.PointerArmorSphereL); } private void ReloadValues() @@ -267,8 +276,9 @@ private void ReloadValues() CountSysBotCharmRecovery.Value = RecoveryCharms; CountSysBotCharmRecovery.Enabled = true; - SysBotLog.Text += Environment.NewLine + $"{DataOffsets.PointerCharmRecovery}"; - } catch (Exception ex) + SysBotLog.Text += Environment.NewLine + $"{DataOffsets.PointerCharmRecovery}"; + } + catch (Exception ex) { CountSysBotCharmTraining.Enabled = false; CountSysBotCharmGathering.Enabled = false; @@ -285,8 +295,29 @@ private void ReloadValues() // Battle Items try { - - } catch (Exception ex) + uint AncientPotions = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerAncientPotion); + CountSysBotAncientPotion.Value = AncientPotions; + CountSysBotAncientPotion.Enabled = true; + uint DustOfLifes = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerDustOfLife); + CountSysBotDustOfLife.Value = DustOfLifes; + CountSysBotDustOfLife.Enabled = true; + uint HeartChurros = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerHeartChurro); + CountSysBotHeartChurro.Value = HeartChurros; + CountSysBotHeartChurro.Enabled = true; + uint SurrogateGems = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerSurrogateGem); + CountSysBotSurrogateGem.Value = SurrogateGems; + CountSysBotSurrogateGem.Enabled = true; + uint PowerPaintballs = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerPowerPaintball); + CountSysBotPowerPaintball.Value = PowerPaintballs; + CountSysBotPowerPaintball.Enabled = true; + uint SuperWhetstones = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerSuperWhetstone); + CountSysBotSuperWhetstone.Value = SuperWhetstones; + CountSysBotSuperWhetstone.Enabled = true; + uint MegaBarrelBombs = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerMegaBarrelBomb); + CountSysBotMegaBarrelBomb.Value = MegaBarrelBombs; + CountSysBotMegaBarrelBomb.Enabled = true; + } + catch (Exception ex) { LogError(ex); } @@ -299,7 +330,8 @@ private void ReloadValues() uint ArmorSphereLs = (uint)PointerHandler.GetPointerAddress(sb, DataOffsets.PointerArmorSphereL); CountSysBotArmorSphereL.Value = ArmorSphereLs; CountSysBotArmorSphereL.Enabled = true; - } catch (Exception ex) + } + catch (Exception ex) { CountSysBotWeaponSphereL.Enabled = false; CountSysBotArmorSphereL.Enabled = false;