• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • eBuy - buying ammo and food - v2.0

    Discussion in 'Archives' started by erenion, Jan 15, 2010.

    1. panYama

      panYama Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      2,629
      Likes Received:
      49
      Trophy Points:
      0
      u don't need to add a food name if i'm correct right? u add the number it uses @ vendor screen.
       
    2. blackthorn

      blackthorn New Member

      Joined:
      Jan 25, 2010
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      1
      According to the first post in this thread, you do need the name

      How to make it work: simply open it up and add this line below the example:

      Code:
      new ItemToBuy("Vendor Name",xLocation,yLocation,zLocation,"itemName",stacktobuyat,numbertohave,item#invendor,stacksizesold),
      replacing of course everything like below

      Code:
      new ItemToBuy("Vikki Lonsav",-1272.656,-2533.512,21.38472,"Solid Shot",1000,1200,12, 200),
       
    3. panYama

      panYama Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      2,629
      Likes Received:
      49
      Trophy Points:
      0
      hmmm, then i can't figure for you how it doesn't work^^
       
    4. dushkarn

      dushkarn New Member

      Joined:
      Jan 20, 2010
      Messages:
      29
      Likes Received:
      0
      Trophy Points:
      0
      sorry but what does stacksizesold mean? :)
       
    5. fattony

      fattony New Member

      Joined:
      Feb 15, 2010
      Messages:
      56
      Likes Received:
      0
      Trophy Points:
      0
      Probably how big the stacks you are buying are. With arrows it's usually 200 and with food/drinks 5.
       
    6. Snazzyjdawg

      Snazzyjdawg New Member

      Joined:
      Mar 30, 2010
      Messages:
      131
      Likes Received:
      3
      Trophy Points:
      0
      in the defualt eBuy you give an example in there but the Z cords are missing a dash which will make the plugin not work please add the - and im sure it will solve alot of people problems. :)
       
    7. Thunderofnl

      Thunderofnl New Member

      Joined:
      Jan 15, 2010
      Messages:
      177
      Likes Received:
      0
      Trophy Points:
      0
      I tried it with an innkeeper but it doesn't open the window where you can buy stuff...
      Can you please add that E?
       
    8. Snazzyjdawg

      Snazzyjdawg New Member

      Joined:
      Mar 30, 2010
      Messages:
      131
      Likes Received:
      3
      Trophy Points:
      0
      Only places that don't have gossip (Will only buy from direct vendors) Innkeepers will not work as of now.
       
    9. greaterdeath

      greaterdeath New Member

      Joined:
      Apr 2, 2010
      Messages:
      815
      Likes Received:
      2
      Trophy Points:
      0
      What does "stacktobuyat" mean? I tried using this with my pally and set it to get Melon Juice from someone. YES, it was an innkeeper but the important part is it didnt even try to go to the vendor. Here are my coords, and I just set stacktobuyat blindly so that is probably the problem. Here it is:
      new ItemToBuy("<Vendor Name="Innkeeper Trelayne",-10516,-1161.213,28.1005,"Melon Juice",20,320,9,5),
      Also, it doesn't have the spaces and the // in front of it. Is that a problem?
       
    10. mctrix

      mctrix Member

      Joined:
      Jan 15, 2010
      Messages:
      225
      Likes Received:
      1
      Trophy Points:
      18
      if you use a addon called "automation" it will skip the gossip part for a vendor and go straight to the buy/sell this addon then works with innkeepers.
       
    11. mctrix

      mctrix Member

      Joined:
      Jan 15, 2010
      Messages:
      225
      Likes Received:
      1
      Trophy Points:
      18
      any chance of this getting updated for hb2?
       
    12. TehHuntorz

      TehHuntorz Member

      Joined:
      Jan 15, 2010
      Messages:
      63
      Likes Received:
      1
      Trophy Points:
      8
      I updated it for my own use, you can use it if it works for you, but i won't be providing support nor do i take any credit from the original author.
       

      Attached Files:

      • eBuy.cs
        File size:
        8.6 KB
        Views:
        64
    13. erenion

      erenion DEVELOPER Buddy Core Dev

      Joined:
      Jan 15, 2010
      Messages:
      321
      Likes Received:
      6
      Trophy Points:
      0
      Updated for hb 2.0
       
    14. letsgo2u

      letsgo2u New Member

      Joined:
      Jan 15, 2010
      Messages:
      252
      Likes Received:
      0
      Trophy Points:
      0

      stacktobuyat means when will your toon run to the vendor to get new food so set it to like 1 or so
       
    15. mevip

      mevip Member

      Joined:
      Apr 17, 2010
      Messages:
      340
      Likes Received:
      0
      Trophy Points:
      16
      mine dosnt work ... what am i doing wrong ?
      this is the line i added for the trader ... and items
      what did i do wrong ?
       

      Attached Files:

    16. tombstone

      tombstone New Member

      Joined:
      May 13, 2010
      Messages:
      129
      Likes Received:
      0
      Trophy Points:
      0
    17. scwinz

      scwinz New Member

      Joined:
      Apr 24, 2010
      Messages:
      24
      Likes Received:
      0
      Trophy Points:
      1
      i don't get why it'snot working

      I have done everything it says to do, honorbuddy doesn't even attempt to go and buy more arrows it just tries to shoot things without them.... anyone know what i could be doing wrong?

      could someone post what their file looks like so i can compare to mine maybe i have made an error on that....
       
      Last edited: May 24, 2010
    18. jungly

      jungly New Member

      Joined:
      Apr 19, 2010
      Messages:
      394
      Likes Received:
      5
      Trophy Points:
      0
      Doesn't work with latest version of HB stable. Error in compiling on both version
       
    19. jungly

      jungly New Member

      Joined:
      Apr 19, 2010
      Messages:
      394
      Likes Received:
      5
      Trophy Points:
      0
      Apoc helped me get this working again for the latest stable HB 1.9.2.3. thanks for the fix. Previous Error for 1.9.2.3 was: "Cannot convert Init to INT value".

      On a seperate note: I got the Inn Vendors to work with 'automaton'. Simply download the addon from wowcurse and you're set, nothing to modify on the addon. Soon as you click on the InnKeeper, in about .5 sec it clicks on 'browse goods' and by then the plugin procedure code for buying kicks in. I turn on 'automaton' for botting only and turn it off when raiding, but u can also just click 'shift' to temporarly disable addon if you want to see all INN VENDOR options.

      I'm currently lvl'ing in Barrens and this is the Inn Keeper I use
      Code:
      List<ItemToBuy> items = new List<ItemToBuy>()
              {
                  //example: new ItemToBuy("Vendor Name",xLocation,yLocation,zLocation,"itemName",stacktobuyat,numbertohave,item#invendor,stacksizesold),
                  //For example:
                  //This will buy 95 melonJuice and 95 watermelons, when stacktobuyat is less than 5 and in packs of 5's, on item# 9 of vendor. Note that it will not buy 100 total, it buys 95 because 100-5=95. Don't know why, it just does.
      
                  new ItemToBuy("Innkeeper Boorand Plainswind",-407.1227,-2645.225,96.22316,"Melon Juice",5,100,9, 5),new ItemToBuy("Innkeeper Boorand Plainswind",-407.1227,-2645.225,96.22316,"Snapvine Watermelon",5,100,3, 5),			
      
              };
      
      Also remember to add your wowhead food to your profile
      Code:
      <ProtectedItems>
      	<Item>1205</Item>
      	<!--MelonJuice-->
      
      With automaton active you should see logs similar to below. Also noticed that if you don't have enough money to buy food, it will buy whatever it can without crashing.
      Code:
      [Khryses 1.15]: Buffing#Inner Fire
      Moving to buy Melon Juice!
      Moving to vendor Melon Juice!
      Buying Melon Juice!
      Activity: Moving to hotspot
      
      Comment1: Anyone explain to me the math above, i wanted to buy 100, but it buys 95. I assume its because it does 100-5=95? Also, i found that most INN VENDORS are indoors, but HB many times the camera will be at a odd angle and HB wont be able to walk inside. So i put the camera at super far away up above view, and now its able to walk indoors most of the time without getting stuck, the other solution was for me to put camera on 'always adjust camera from behind', this helps too if 'far view doesnt help'. What camera follow do u guys use for botting (i currently use 'only when moving' and put camera far away).

      Comment2: If you sell your food/drink to the vendor thats listed in the plugin, it will screw up the plugin. If you accidently do this, to fix the problem sell to the vendor about 30 stacks of 'non related' cheapo items, cause if there's any traces of the food/drink that you are trying to buy in the 'buyback' section. This plugin for some reason will not buy that food/drink and consider it already in your bag. Don't believe me? Test it yourself.
       

      Attached Files:

      Last edited: Jun 1, 2010
    20. dav777

      dav777 Member

      Joined:
      Jan 15, 2010
      Messages:
      159
      Likes Received:
      2
      Trophy Points:
      18
      Please explain what needs to be done to fix it.
       

    Share This Page