• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • We can rebuild Mr.Gear buyer!

    Discussion in 'Honorbuddy Forum' started by UsernameInvalid, Aug 29, 2014.

    1. UsernameInvalid

      UsernameInvalid Community Developer

      Joined:
      Jul 27, 2014
      Messages:
      273
      Likes Received:
      11
      Trophy Points:
      18
      For all of you out there that have a little knowledge in the programming field, Mr.Gearbuyer has fallen to the wayside when attempting to use it for JP gear ( heirlooms/Niazo temple ) now before you go saying "JP is disappearing in 2 months QQ just use gold in WoD" I do not wish to waste my time now saving up gold to spend buying out heirlooms for 15 accounts with gold, when i can grind out the JP as much as I please right now.

      I am going to do my best, but I am hoping the rest of the community can help me out here!

      https://www.thebuddyforum.com/honorbuddy-forum/plugins/pvp/68598-plugin-gearbuyer.html ----> Original Thread

      bamsdev - Revision 188: /trunk/MrGearBuyer ----> SVN Trunk

      First things I have noticed;

      MGBConfig.cs

      if (MrGearBuyer.HomeZ == 0 && MrGearBuyer.HomeZ == 0 && MrGearBuyer.HomeX == 0 || !MrGearBuyer.HPSet)

      HomePointTEXT.Text = "My Current HomePoint is 0,0,0. Please Set a HomePoint to Use HomePoint Features!";

      HomePointTEXT.Text = "My Current HomePoint is X= " + MrGearBuyer.HomeX + " Y= " + MrGearBuyer.HomeY +
      " Z= " + MrGearBuyer.HomeZ + " ";

      should that be ZZX or XYZ for 3D coordinates?

      Methods.cs

      //<Vendor Name="Larisse Pembraux" Entry="52027" Type="Repair" X="-8802.316" Y="343.9184" Z="107.0503" />
      newVendor = new ManualVendor
      {
      NpcId = 52027,
      NpcName = "Larisse Pembraux",
      NpcLocation = new WoWPoint(-8802.316, 343.9184, 107.0503)
      };
      vendor.Add(newVendor);

      What would ManualVendor be in this scripting? Is this the cause of the plugin functioning up until having to "manually" purchase the items from the vendor? Is there any way to change this?

      Would love a post from CodeNameGama or BamBam and am willing to donate on behalf of the community for work done on this for end of expansion and advice on how to implement it going into WoD for personal use!
       
    2. Stormchasing

      Stormchasing Community Developer

      Joined:
      Jan 15, 2011
      Messages:
      4,029
      Likes Received:
      48
      Trophy Points:
      48
      1st it should by xYZ for 3D coordinates, seems to be a type, nothing more
      2nd the Manual Vendor is an override for the database (dunno if they were added already), and will use the data from the plugin the find the npc as a vendor (well it has some more functions, but that's it basicly ... a simple override or ... additional data to the data that hb already owns)
       

    Share This Page