• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Help with C#/C++ box?

    Discussion in 'Requests & Discussion' started by Daphinium, Apr 3, 2016.

    1. Daphinium

      Daphinium New Member

      Joined:
      Mar 29, 2013
      Messages:
      45
      Likes Received:
      1
      Trophy Points:
      0
      I was a plugin developer for ArcheAge and knew how to make text boxes there, but i can't figure out how it fits into a grinding code here. Can anyone help?

      <HBProfile>
      using System;
      using System.Drawing;
      using System.Windows.Forms;
      using System.Threading;
      using System.Threading.Tasks;
      using System.Collections.Generic;
      using System.Linq;

      public class Skinnerr : Core
      {
      public static string GetPluginAuthor()
      {
      return "Daphinium";
      }

      public static string GetPluginDescription()
      {

      return "Skinner";
      }

      public static string GetPluginVersion()
      {
      return "0.4.0";
      }

      public Button accept;
      public Label LBLStatus;
      private TextBox drink;
      private TextBox customroutine;
      private TextBox food;
      private TextBox manapotion;
      private TextBox healthpotion;
      public RoundZone zone;
      public string path;
      public string Vfood;
      public string Vdrink;
      public string Vmanap;
      public string Vhealthp;
      public System.Windows.Forms.ComboBox comboBox1;

      public Skinner()
      {
      Button button = new Button
      {
      Text = "Start Skinnerr",
      Left = 10,
      Width = 200,
      Top = 60
      };
      this.accept = button;
      Label label = new Label
      {
      Left = 10,
      Top = 90,
      Width = 250
      };

      this.LBLStatus = label;
      this.zone = null;
      this.comboBox1 = new System.Windows.Forms.ComboBox();
      this.drink = new System.Windows.Forms.TextBox();
      this.drink.Text = "Profile x";
      this.drink.Width = 350;
      this.food = new System.Windows.Forms.TextBox();
      this.food.Text = "Profile x";
      this.food.Width = 350;
      this.manapotion = new System.Windows.Forms.TextBox();
      this.manapotion.Text = "Profile x";
      this.manapotion.Width = 350;
      this.healthpotion = new System.Windows.Forms.TextBox();
      this.healthpotion.Text = "Profile x";
      this.healthpotion.Width = 350;
      this.customroutine = new System.Windows.Forms.TextBox();
      this.customroutine.Text = "Profile x";
      this.customroutine.Width = 350;
      this.comboBox1.DropDownWidth = 330;
      this.comboBox1.Width = 200;
      this.comboBox1.Items.AddRange(new object[] {"Example Profile x",
      "Skinner (Profile x)",
      "Skinner (Profile x)",
      "Skinner (Profile x)",
      "Skinner (Profile x)",
      "Custom Routine",});
      this.comboBox1.SelectedIndex = 0;
      }


      <Name>Example Grind Profile</Name>
      <MinLevel>90</MinLevel>
      <MaxLevel>101</MaxLevel>

      <MinDurability>0.01</MinDurability>
      <MinFreeBagSlots>1</MinFreeBagSlots>

      <SellGrey>True</SellGrey>
      <SellWhite>True</SellWhite>
      <SellGreen>False</SellGreen>

      <MailWhite>False</MailWhite>
      <MailGreen>True</MailGreen>
      <MailBlue>True</MailBlue>
      <MailPurple>True</MailPurple>
      <GrindArea>
      <TargetMinLevel>90</TargetMinLevel>
      <TargetMaxLevel>101</TargetMaxLevel>
      <Factions>14 2669</Factions>
      <LootRadius>10</LootRadius>
      <MaxDistance>10</MaxDistance>
      <Hotspots>

      <Hotspot X="1400.545" Y="-367.5625" Z="7.604355" />
      <Hotspot X="1451.98" Y="-333.9596" Z="14.75216" />
      <Hotspot X="1497.688" Y="-343.4304" Z="14.40095" />
      <Hotspot X="1472.729" Y="-314.8244" Z="29.87782" />
      <Hotspot X="1462.696" Y="-289.1857" Z="36.80637" />
      <Hotspot X="1508.625" Y="-292.8405" Z="25.75293" />
      <Hotspot X="1544.867" Y="-254.4393" Z="32.37803" />
      <Hotspot X="1568.841" Y="-256.0961" Z="30.08137" />
      <Hotspot X="1583.152" Y="-248.2459" Z="28.57711" />
      <Hotspot X="1606.152" Y="-228.6444" Z="34.36099" />
      <Hotspot X="1640.388" Y="-217.1808" Z="39.87574" />
      <Hotspot X="1684.385" Y="-224.6778" Z="41.22113" />
      <Hotspot X="1708.999" Y="-228.1589" Z="40.77002" />
      <Hotspot X="1728.209" Y="-274.8765" Z="27.27019" />
      <Hotspot X="1770.704" Y="-290.2331" Z="20.36862" />
      <Hotspot X="1756.82" Y="-338.0806" Z="17.98292" />
      <Hotspot X="1736.218" Y="-327.3703" Z="19.49751" />
      <Hotspot X="1736.431" Y="-347.3201" Z="21.56298" />
      <Hotspot X="1692.614" Y="-361.9207" Z="22.05121" />
      <Hotspot X="1673.034" Y="-378.9186" Z="17.59424" />
      <Hotspot X="1661.131" Y="-413.6406" Z="22.82209" />
      <Hotspot X="1647.72" Y="-440.147" Z="31.41915" />
      <Hotspot X="1598.766" Y="-468.5985" Z="26.49499" />
      <Hotspot X="1553.091" Y="-478.4861" Z="27.87284" />
      <Hotspot X="1500.55" Y="-445.9138" Z="21.93949" />
      <Hotspot X="1473.154" Y="-421.6812" Z="16.46135" />
      <Hotspot X="1482.975" Y="-396.457" Z="11.7555" />
      <Hotspot X="1405.118" Y="-412.2632" Z="10.88111" />
      <Hotspot X="1393.238" Y="-380.5517" Z="4.40405" />

      </Hotspots>
      </GrindArea>



      </HBProfile>
       

    Share This Page