VCN WOW OLD FORUMS

VISIT VCNWOW.NET
 
HomeFAQRegisterLog in
VCN WOW IS NOW ON VCNWOW.COM
If you are looking for V.C.N






Similar topics
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» INTRODUCTION Destiny
Thu 18 Oct 2018, 6:54 pm by Destiny

» 2.4.3 oldfags still here? whats up?
Thu 18 Oct 2018, 10:05 am by Zanukan

» An Thread dedicated to Old School 2.4.3 and all its memories
Sat 19 Mar 2016, 8:56 am by Shifthappens

» Hey sexy Gentlemen and Ladies
Thu 24 Jan 2013, 11:21 am by Suspect2

» yoo
Mon 13 Aug 2012, 1:34 pm by Casp'

» hay gm
Thu 09 Aug 2012, 11:47 pm by sevenhuehuelol

» Ques for GM
Thu 09 Aug 2012, 11:43 pm by sevenhuehuelol

» YES IT IS I
Mon 30 Jul 2012, 11:21 am by Casp'

» oldfags asemble
Tue 03 Jul 2012, 3:19 pm by -BoomBox

» Oh hai...
Tue 19 Jun 2012, 3:55 pm by Queshi

» hey windir bro guess what
Tue 19 Jun 2012, 3:55 pm by Queshi

» Downpatch from 3.0.8 to 3.0?
Mon 20 Jun 2011, 12:54 pm by windir2

» Mouthless asking me for RESS! LOOL
Thu 26 May 2011, 5:29 pm by Feel

» Need an unstuck
Tue 24 Nov 2009, 2:48 am by ombladon123

» Idea for Arena Rating and Arena Rewards
Mon 23 Nov 2009, 7:58 pm by Raddau

» shammy bug
Mon 23 Nov 2009, 1:35 pm by stomstrikes

» Gentlemen?
Mon 23 Nov 2009, 1:33 pm by stomstrikes

» Rous aka Zanukan attention please
Mon 23 Nov 2009, 3:36 am by ryonis

» I cant get my tokens when i vote.
Sun 22 Nov 2009, 1:26 pm by demonolator12345

» Hi again --- imweedy
Sun 22 Nov 2009, 12:04 am by imweedy

Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest :: 1 Bot

None

Most users ever online was 395 on Sun 18 May 2008, 12:28 pm
Top posters
ServerBot (7646)
 
Swifteh (7171)
 
Charlie Face (4524)
 
Lisyhalath (3900)
 
Scruffay (3896)
 
kitch (3536)
 
Min0rity (3192)
 
Ubberpownage88 (3023)
 
bacongrease2 (2761)
 
Juicy (2649)
 
Keywords

Share | 
 

 [C++] Automated Vendor Machine

Go down 
AuthorMessage
Zanukan
WWemu Expert
WWemu Expert
avatar

Number of posts : 855
Age : 40
Joined : 2007-12-11
Points : 12366
Reputation : 3197

PostSubject: [C++] Automated Vendor Machine   Sat 07 Nov 2009, 2:49 pm

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:

http://pastebin.com/f31b84490"]Automated_Vendor.cpp
http://pastebin.com/f9f3005e
Setup.h:
Code:

void SetupVendorScript(ScriptMgr * mgr);


http://pastebin.com/f59c7a452
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')



_________________

Back to top Go down
http://www.vcnserver.net
 
[C++] Automated Vendor Machine
Back to top 
Page 1 of 1
 Similar topics
-
» Glastonbury to trial Qatar World Cup weather machine (? ALERT ?01/04???)
» Stern Pinball Releases Custom Accessories For The Walking Dead Pinball Machine
» "He so reeks of hubris. Every word that drops from his lips speaks a haughty derision of the lesser beings not benighted to be a cog in his political machine"
» STTNG Mods and Addons
» Redneck Ignorant Margarita Machine

Permissions in this forum:You cannot reply to topics in this forum
VCN WOW OLD FORUMS :: Releases :: Scripts-
Jump to: