WoWPortal PVE Server
Would you like to react to this message? Create an account in a few clicks or log in to continue.

WoWPortal PVE Server

WoWPortal Custom PVE Server like no other!
 
Latest imagesportalHomeRegisterLog in
VCN WOW IS NOW ON HTTP://VCNWOW.NET
If you are looking for V.C.N






Similar topics
Log in
Username:
Password:
Log in automatically: 
:: I forgot my password
Latest topics
» V.C.N WOW IS NOW ON VCNWOW.NET
[C++] Automated Vendor Machine Icon_minitimeWed 06 Feb 2019, 4:50 pm by Zanukan

» INTRODUCTION Destiny
[C++] Automated Vendor Machine Icon_minitimeThu 18 Oct 2018, 6:54 pm by Destiny

» 2.4.3 oldfags still here? whats up?
[C++] Automated Vendor Machine Icon_minitimeThu 18 Oct 2018, 10:05 am by Zanukan

» An Thread dedicated to Old School 2.4.3 and all its memories
[C++] Automated Vendor Machine Icon_minitimeSat 19 Mar 2016, 8:56 am by Shifthappens

» Hey sexy Gentlemen and Ladies
[C++] Automated Vendor Machine Icon_minitimeThu 24 Jan 2013, 11:21 am by Suspect2

» yoo
[C++] Automated Vendor Machine Icon_minitimeMon 13 Aug 2012, 1:34 pm by Casp'

» hay gm
[C++] Automated Vendor Machine Icon_minitimeThu 09 Aug 2012, 11:47 pm by sevenhuehuelol

» Ques for GM
[C++] Automated Vendor Machine Icon_minitimeThu 09 Aug 2012, 11:43 pm by sevenhuehuelol

» YES IT IS I
[C++] Automated Vendor Machine Icon_minitimeMon 30 Jul 2012, 11:21 am by Casp'

» oldfags asemble
[C++] Automated Vendor Machine Icon_minitimeTue 03 Jul 2012, 3:19 pm by -BoomBox

» Oh hai...
[C++] Automated Vendor Machine Icon_minitimeTue 19 Jun 2012, 3:55 pm by Queshi

» hey windir bro guess what
[C++] Automated Vendor Machine Icon_minitimeTue 19 Jun 2012, 3:55 pm by Queshi

» Downpatch from 3.0.8 to 3.0?
[C++] Automated Vendor Machine Icon_minitimeMon 20 Jun 2011, 12:54 pm by windir2

» Mouthless asking me for RESS! LOOL
[C++] Automated Vendor Machine Icon_minitimeThu 26 May 2011, 5:29 pm by Feel

» Need an unstuck
[C++] Automated Vendor Machine Icon_minitimeTue 24 Nov 2009, 2:48 am by ombladon123

» Idea for Arena Rating and Arena Rewards
[C++] Automated Vendor Machine Icon_minitimeMon 23 Nov 2009, 7:58 pm by Raddau

» shammy bug
[C++] Automated Vendor Machine Icon_minitimeMon 23 Nov 2009, 1:35 pm by stomstrikes

» Gentlemen?
[C++] Automated Vendor Machine Icon_minitimeMon 23 Nov 2009, 1:33 pm by stomstrikes

» Rous aka Zanukan attention please
[C++] Automated Vendor Machine Icon_minitimeMon 23 Nov 2009, 3:36 am by ryonis

» I cant get my tokens when i vote.
[C++] Automated Vendor Machine Icon_minitimeSun 22 Nov 2009, 1:26 pm by demonolator12345

Who is online?
In total there are 4 users online :: 0 Registered, 0 Hidden and 4 Guests

None

Most users ever online was 395 on Sun 18 May 2008, 12:28 pm
Top posters
ServerBot (7646)
[C++] Automated Vendor Machine Vote_lcap[C++] Automated Vendor Machine Voting_bar[C++] Automated Vendor Machine Vote_rcap 
Swifteh (7171)
[C++] Automated Vendor Machine Vote_lcap[C++] Automated Vendor Machine Voting_bar[C++] Automated Vendor Machine Vote_rcap 
Charlie Face (4524)
[C++] Automated Vendor Machine Vote_lcap[C++] Automated Vendor Machine Voting_bar[C++] Automated Vendor Machine Vote_rcap 
Lisyhalath (3900)
[C++] Automated Vendor Machine Vote_lcap[C++] Automated Vendor Machine Voting_bar[C++] Automated Vendor Machine Vote_rcap 
Scruffay (3896)
[C++] Automated Vendor Machine Vote_lcap[C++] Automated Vendor Machine Voting_bar[C++] Automated Vendor Machine Vote_rcap 
kitch (3536)
[C++] Automated Vendor Machine Vote_lcap[C++] Automated Vendor Machine Voting_bar[C++] Automated Vendor Machine Vote_rcap 
Min0rity (3192)
[C++] Automated Vendor Machine Vote_lcap[C++] Automated Vendor Machine Voting_bar[C++] Automated Vendor Machine Vote_rcap 
Ubberpownage88 (3023)
[C++] Automated Vendor Machine Vote_lcap[C++] Automated Vendor Machine Voting_bar[C++] Automated Vendor Machine Vote_rcap 
bacongrease2 (2761)
[C++] Automated Vendor Machine Vote_lcap[C++] Automated Vendor Machine Voting_bar[C++] Automated Vendor Machine Vote_rcap 
Juicy (2649)
[C++] Automated Vendor Machine Vote_lcap[C++] Automated Vendor Machine Voting_bar[C++] Automated Vendor Machine Vote_rcap 
Keywords
Spotlight MEAT Meatstick

 

 [C++] Automated Vendor Machine

Go down 
AuthorMessage
Zanukan
WWemu Expert
WWemu Expert
Zanukan


Number of posts : 856
Age : 45
Joined : 2007-12-11
Points : 14310
Reputation : 3197

[C++] Automated Vendor Machine Empty
PostSubject: [C++] Automated Vendor Machine   [C++] Automated Vendor Machine Icon_minitimeSat 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:

[C++] Automated Vendor Machine Picture1hww
[C++] Automated Vendor Machine Picture1opj

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
-
» What is up with the JC vendor??
» JC vendor
» Vip vendor Read <3

Permissions in this forum:You cannot reply to topics in this forum
WoWPortal PVE Server :: Releases :: Scripts-
Jump to: