| View previous topic :: View next topic |
| Author |
Message |
Happy Grunt

Joined: 08 Nov 2007 Posts: 13 Location: South Africa
|
Posted: 11/11/2007 13:54 Post subject: [Help] Vendors sell only one of each item |
|
|
I dont know what to do anymore guys please help.
All the items sold by vendors can only be bought once. Which means one empty vial for example... How do I fix this? Which fields do I edit ad to what must I change them?
Im using the Project Silvermoon database |
|
| Back to top |
|
 |
Wizlock Sergeant


Joined: 16 Jan 2007 Posts: 50
|
Posted: 13/11/2007 14:17 Post subject: |
|
|
using sqlyog:
in the "npc_vendor" execute:
| Code: | | update table_name set column_name=0 |
the "maxcount" column is for the vendor items quantity, don't forget to check the show all box. _________________ [URL=http://elementsunited.myforum.ro/profile.php?mode=viewprofile&u=263] [/URL]
Remember to take all things in moderation (even World Of Warcraft!) |
|
| Back to top |
|
 |
Alizee Main Administrator


Joined: 16 Aug 2006 Posts: 858 Location: Onesti
|
Posted: 13/11/2007 21:48 Post subject: |
|
|
| Wizlock wrote: | using sqlyog:
in the "npc_vendor" execute:
| Code: | | update table_name set column_name=0 |
the "maxcount" column is for the vendor items quantity, don't forget to check the show all box. |
good but very not understanding ... and in this case all vendors will sell the given maxcount and will be applyed to all items
ex.
| Code: | | UPDATE `npc_vendor` SET maxcount=<value>; |
execute this query type:
| Code: | | UPDATE `npc_vendor` SET maxcount=<value> WHERE item=<value>; |
where maxcount value is max item count that the chosen vendor will sell
this is a global query for specific vendor query use :
| Code: | | UPDATE `npcvendor` SET maxcount=<value> WHERE item=<value> AND entry=<value>; |
_________________ AuF_KEn - Trance/Techno/Progressive
LISTEN TO: [URL=http://myspace.com/aufken]AuF_KEn[/URL]
-----------------------------------------------------------
Elements Fonder~! |
|
| Back to top |
|
 |
|