[C++] Automated Vending Machine menu

User Tag List

Page 1 of 5 12345 LastLast
Results 1 to 15 of 62
  1. #1
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C++] Automated Vending Machine

    Automated Vending Machine

    What is it?

    The Automated Vending Machine is a C++ Gossip Script for Hearthstone / Aspire.

    What does it do?

    A player enters an item NAME or ID, and the NPC opens up a vendor window with all items matching the NAME or ID entered.

    Meant for Funservers, AVM makes a great addition to ANY mall!


    The Automated Vending Machine is highly customizable.

    There is a configuration section at the head of the script.
    You can prevent:
    Quest items
    Item sets
    Free Items
    Conjured Items

    From being purchased, and you can even set a Max Item Quality (Default is Epic).


    Screenshots:





    The Files:

    Automated_Vendor.cpp
    Setup.cpp
    Setup.h:
    Code:
    void SetupVendorScript(ScriptMgr * mgr);
    SQL Files


    Enjoy!


    Feedback is definitely welcome, and I'd be happy to edit the script to add features.

    Latest Version:

    Updated both versions (merged the two, with a configuration option), as well as the SQL file.
    Added a "banned items" table.

    To prevent an item from being bought through the Vending Machine, simply run this query in your database editor:
    Code:
    Insert into avm_banned_items values ('ITEM_ID')
    Latest version is tested and working, after many hours of debugging.
    Last edited by Jotox; 08-01-2009 at 11:40 PM.

    [C++] Automated Vending Machine
  2. #2
    Confucius's Avatar Super Moderator Don't Look Back in Anger

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1418
    Join Date
    Oct 2007
    Posts
    2,811
    Thanks G/R
    302/311
    Trade Feedback
    7 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yeah! Glad you went with my idea looks epic!

  3. #3
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yup, I actually wrote the script the same day and it's been sitting around on my desktop until today.

    Any feedback / tests yet?

  4. #4
    Confucius's Avatar Super Moderator Don't Look Back in Anger

    CoreCoins Purchaser Authenticator enabled
    Reputation
    1418
    Join Date
    Oct 2007
    Posts
    2,811
    Thanks G/R
    302/311
    Trade Feedback
    7 (100%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I'll try and test it tomorrow with some feedback +Rep2x btw nice release

  5. #5
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I lol'd. Great idea! I wish there was a screenshot though

  6. #6
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1192
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I put'ed a gold coin and and didn't get a coke great work tho heh
    If you need me you have my skype, if you don't have my skype then you don't need me.

  7. #7
    Vindicated's Avatar Contributor
    Reputation
    226
    Join Date
    Aug 2008
    Posts
    1,067
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pretty nice mate +Rep x2


  8. #8
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    So I'm going to be adding support for Extended Item Costs soon

    And I'm thinking of adding another option of search for item sets.

    Atm, I think so far this basically eliminates the need for eleven different reagent vendors in malls (unless... idk, maybe some people like search through pages of items for the one item they need?)

  9. #9
    Litedeviance's Avatar Member
    Reputation
    1
    Join Date
    Feb 2007
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didnt post this my account was hacked
    Last edited by Litedeviance; 09-03-2009 at 12:38 AM.

  10. #10
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,503
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Litedeviance View Post
    I don't get it...?
    This is why when registering to Join MMOwned you should need to take a IQ test.

    Otherwise, Epic Release! +Rep

  11. #11
    tekkeryole's Avatar Member
    Reputation
    23
    Join Date
    Jul 2008
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    unresolved external symbol "unsigned int __cdecl GetBuyPriceForItem(struct ItemPrototype *,unsigned int,class std::tr1::shared_ptr<class Player>,class std::tr1::shared_ptr<class Creature>)" (?GetBuyPriceForItem@@YAIPAUItemPrototype@@IV?$shared_ptr@VPlayer@@@tr1@std@@V?$ shared_ptr@VCreature@@@34@@Z)
    1>

    This is the only error I get, any ideas? I think maybe it needs its own class SCRIPT_DECL
    not sure.

  12. #12
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, fixed it and uploaded a new pastebin post. Re-download it, or, if you want, just replace GetBuyPriceForItem(bla) with "curItem->BuyPrice;"

  13. #13
    server1's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Anyone want to covert it to arcemu? cause that would be epic!

  14. #14
    Jotox's Avatar Contributor
    Reputation
    250
    Join Date
    Mar 2008
    Posts
    282
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Added an arcemu version to the original post.

  15. #15
    tekkeryole's Avatar Member
    Reputation
    23
    Join Date
    Jul 2008
    Posts
    34
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Jotox1 View Post
    Added an arcemu version to the original post.
    When I search, all that happens is it tells me it couldnt find what im looking for. On the second option it crashes my realm (the option that explains what the NPC does)

    Jotox, this script is SICKLY but has some tweaks to work out. I wouldnt even know where to begin with this lol. +REP anyhow

Page 1 of 5 12345 LastLast

Similar Threads

  1. [Symmetra] Place Sentries Inside Vending Machines
    By bezerker08 in forum Overwatch Exploits|Hacks
    Replies: 4
    Last Post: 12-14-2016, 08:50 PM
  2. [Item Reskin]Vending machines on zeppelins
    By T1B in forum World of Warcraft Model Editing
    Replies: 5
    Last Post: 12-04-2007, 07:35 PM
  3. Hack The Coke Machines!
    By blomstervand in forum Community Chat
    Replies: 22
    Last Post: 01-26-2007, 02:43 AM
  4. Dual Boxing, One Machine (?)
    By jsama in forum World of Warcraft General
    Replies: 3
    Last Post: 10-22-2006, 03:18 PM
  5. [Program] Cyber Key (Automated WoW Key Presser)
    By Cypher in forum World of Warcraft Bots and Programs
    Replies: 0
    Last Post: 05-26-2006, 09:06 AM
All times are GMT -5. The time now is 09:14 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search