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

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

    1. krakaskillz

      krakaskillz New Member

      Joined:
      Jan 15, 2010
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      If u can upload urs that would be great, the 2 that are listed on here are coming with errors.

      Code:
      [SIZE=1]Plugin eBuy hb2.0.cs could not be compiled! Compiler errors:[/SIZE]
      [SIZE=1]File: eBuy hb2.0.cs Line: 76 Error: Cannot implicitly convert type 'uint' to 'int'. An explicit conversion exists (are you missing a cast?)[/SIZE]
      
       
    2. jungly

      jungly New Member

      Joined:
      Apr 19, 2010
      Messages:
      394
      Likes Received:
      5
      Trophy Points:
      0
      Uploaded for 1.9.2.3
       
    3. krakaskillz

      krakaskillz New Member

      Joined:
      Jan 15, 2010
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      ty ty for this, and to you too Apoc
       
    4. jungly

      jungly New Member

      Joined:
      Apr 19, 2010
      Messages:
      394
      Likes Received:
      5
      Trophy Points:
      0
      think i Found the prob with melon juice.
       
      Last edited: Jun 1, 2010
    5. dbtor

      dbtor New Member

      Joined:
      May 18, 2010
      Messages:
      48
      Likes Received:
      0
      Trophy Points:
      0
      You've probably set the numbers wrong, this is what I use in zul'drak.

      new ItemToBuy("Marissa Everwatch",5462.965,-2639.05,306.5519,"Fillet of Icefin",10,150,6,5),

      It goes to the vendor when it has 10 or 50 food (only just got it working and im not too sure about the stacktobuyat number) it buys 150.
       
    6. dav777

      dav777 Member

      Joined:
      Jan 15, 2010
      Messages:
      159
      Likes Received:
      2
      Trophy Points:
      18
      Thanks for this. Will test it now :)
       
    7. jungly

      jungly New Member

      Joined:
      Apr 19, 2010
      Messages:
      394
      Likes Received:
      5
      Trophy Points:
      0
      I run three HB, everytime Ebuy plugin gets executed it uses up 40% resources for each HB when its done it returns back to 5% resources. Sometimes all three HB plugins kick in and thats now 120% > 100% resources. So two of the three HB freeze. Anyone know how to add a timer in the script so if 'Toonx' needs to Ebuy and its quarter past the hour, its permited to go ebuy, while the other HB's wait for their turn.
       
    8. slateford

      slateford New Member

      Joined:
      Jan 15, 2010
      Messages:
      75
      Likes Received:
      0
      Trophy Points:
      0
      I think this needs an update, i really need a plugin that will go and purchase food and drink at the moment.
       
      Last edited: Jun 2, 2010
    9. dbtor

      dbtor New Member

      Joined:
      May 18, 2010
      Messages:
      48
      Likes Received:
      0
      Trophy Points:
      0
      I've found that it doesn't quite make it to the vendor, it knows when it needs to buy food and it runs to near the vendor but never quites get there, i've found mine just strafing around like an idiot about 10 yards away from the vendor alot.

      I've checked the cords and tried with 3 different vendors, exactly the same problem.
       
    10. stevenr

      stevenr Member

      Joined:
      Jan 15, 2010
      Messages:
      871
      Likes Received:
      0
      Trophy Points:
      16
      What is the problem?
       
      Last edited: Jun 6, 2010
    11. sfagent07

      sfagent07 New Member

      Joined:
      Jan 15, 2010
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      0
      fails to compile on 1.9.2.5
       
    12. highvoltz

      highvoltz Well-Known Member

      Joined:
      Mar 22, 2010
      Messages:
      1,729
      Likes Received:
      141
      Trophy Points:
      63
      If you're getting an error similar to "Cannot implicitly convert type 'uint' to 'int'." then open eBuy with a text editor and go to line number 76 and change
      Code:
      number += item.StackCount; 
      to this,
      Code:
      number += (int)item.StackCount;
       
      Last edited: Jun 15, 2010
    13. edor5555

      edor5555 New Member

      Joined:
      Jun 9, 2010
      Messages:
      2
      Likes Received:
      0
      Trophy Points:
      0
      Thanks for the fix^
      but its not working,my hunter dont have ammo (tauren start zone) and its not buying ammo automate..
      Edit : lol i forget to edit the file with the new vendor -_-
      Ty its works.
       
    14. anibud

      anibud New Member

      Joined:
      May 30, 2010
      Messages:
      9
      Likes Received:
      2
      Trophy Points:
      0
      Thanks for the great plugin erenion!

      I was having a few issues with this plugin so I fixed it up a bit. Feel free to polish this up and re-release it. Just PM me and I'll remove my attachment.

      Until then, here is my updated plugin with the following changes:
      - better stuck routine checking
      - bot actually get to vendor now
      - reduced cpu load
      - exit plugin if you are dead or a ghost.
       

      Attached Files:

    15. Speedydowt

      Speedydowt New Member

      Joined:
      Apr 7, 2010
      Messages:
      10
      Likes Received:
      0
      Trophy Points:
      0
      Working flawlessly on tuaren starting point :)
       
    16. muggsie

      muggsie New Member

      Joined:
      Jul 8, 2010
      Messages:
      4
      Likes Received:
      0
      Trophy Points:
      0
      Doesn't buy anything for me with 1.9.5.0. Anyone else?
       
    17. xxjtntimexx

      xxjtntimexx New Member

      Joined:
      Jul 16, 2010
      Messages:
      11
      Likes Received:
      0
      Trophy Points:
      0
      I get an error when trying to use:
      Code:
      File: eBuy hb2.0.cs Line: 74 Error: Cannot implicitly convert type 'uint' to 'int'. An explicit conversion exists (are you missing a cast?)
      How do I fix?
       
    18. mushuhappiness

      mushuhappiness New Member

      Joined:
      Jun 3, 2010
      Messages:
      38
      Likes Received:
      0
      Trophy Points:
      0
      Any chance for an update for 1.9.5.2? Got a priest that likes to drink alot :p
       
    19. paxxx

      paxxx Community Developer

      Joined:
      Jan 15, 2010
      Messages:
      260
      Likes Received:
      9
      Trophy Points:
      18
      hey folks,

      made some little changes to get it work with HB 1.9.5.2....

      hopefully it works for you too, if so - please + rep :eek:

      (btw: of course you have to change the vendor + what to buy in the file before getting started!)
       

      Attached Files:

    20. flaZh

      flaZh New Member

      Joined:
      Jun 15, 2010
      Messages:
      14
      Likes Received:
      0
      Trophy Points:
      0
      "Plugin from F:\Games\World of Warcraft\HB\Plugins\eBuy hb2.0.cs could not be compiled! Compiler errors:
      File: eBuy hb2.0.cs Line: 76 Error: Cannot implicitly convert type 'uint' to 'int'. An explicit conversion exists (are you missing a cast?)"

      On 1.9.5.5
       

    Share This Page