Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Results 1 to 3 of 3
  1. #1
    Grunt

    Join Date
    Jan 2010
    Location
    USA
    Posts
    47
    Rep Power
    17
    Reputation
    6

    [SHARE] Vendor creator from wowhead.com search page


    Register to remove this ad
    ALL Credits for this go to yuffles from wow-v.com I did not create any of this it is simply a share because I found it extremely useful and wanted other people to be able to use it

    EZVendor is a tool I have written and released under the GNU GPLv3 (for details please see COPYING) to generate an SQL dump file containing creature_template entries and npc_vendor_item entries for MaNGOS, and with some quick changes in the SQL Template folder you can adapt this to ArcEmu/Trinity or practically any other format. (However I do not have experience with projects other than MaNGOS so I cannot do that)

    How does it work?

    You create a global "vendor prototype." All vendors you create from then on are based on that and can be edited from those values (at the moment certain prototype options are projected across all vendors and cannot be changed)

    Each vendor you create has its own search URL. This URL is a wowhead item search results URL that you can paste in or use the built in web browser (Embedded IE6 ) to change. Items are added to the vendor in the order they appear on this page. Your items will be sorted on your vendor simply by using Wowhead's sort by columns features which are incredibly powerful. Combined with wowhead's filtering features you can add practically ANY collection of items you could imagine to a vendor.

    When you want to add the information to a database click "export sql." The SQL is generated on the fly from your template files and wowhead search data. If you have a lot of vendors this may take some time as each wowhead page needs to be fully downloaded.

    I will not go into too much detail here because the source is available, but wowhead uses a javascript list of items (all items found up to 200, not just the ones displayed on that page) and it is loaded, executed, and parsed by this program to produce a list of item-IDs.


    I am not responsible if you mess up your database with garbage from bogus search URLs, if it doesn't start with "Items - World of Warcraft" use at your own risk.

    As always I would love feedback, suggestions, criticism, etc.

    Update:
    DarkVanir has made some very nice SQL templates for Arcemu and Aspire. They are available from the repository as well (gzipped in the root directory) so you may export SQL for those databases as well.

  2. #2
    Banned

    Join Date
    Aug 2008
    Location
    Scotland
    Posts
    652
    Rep Power
    0
    Reputation
    103
    Looks extremely good. Can't you yest, must spread.. but to who? nobody really posts things anymore XD

  3. #3
    Grunt

    Join Date
    Jan 2010
    Location
    USA
    Posts
    47
    Rep Power
    17
    Reputation
    6

    Register to remove this ad
    haha yeah, maybe ill post a lot and get the contributor tag...that would be cool but yeah I have found this to be very time efficient so I have a lot more time to fail at C++ scripting, YAY! lol

 

 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 06:25 PM.
Powered by vBulletin® Copyright ©2000-2026, Jelsoft Enterprises Ltd.
vBulletin Licensed to: MMOPro.org
vBulletin Skin By: PurevB.com