[SQL Query] File to Add Small Pets to Vendor menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Whitethebunny's Avatar Member
    Reputation
    2
    Join Date
    Apr 2008
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [SQL Query] File to Add Small Pets to Vendor

    Simple SQL query to add Small Pets to a vendor, also Vendor query available at bottom.

    Directions:
    -Copy text into a Notepad document.
    -Run a 'Replace' replacing: ##### with your Vendors ID.
    -Save file as "[Anything].sql"
    -Run query in your database.

    Note: If you do not have a 2.4 database, simply remove all of the queries following the item entry "8489" i.e. Delete entries 35227 and on.

    Code:
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '11825', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '11826', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '4401', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '10398', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '34492', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '34493', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '23713', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '32588', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '20371', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '23083', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '34425', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '13584', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '32616', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '32622', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '30360', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '33993', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '25535', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '13583', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '22114', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '33154', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '32617', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '34478', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '32233', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '13582', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '19450', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '11023', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '34535', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '10360', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '29958', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '29901', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '29364', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '10361', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '29960', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '8485', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '8486', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '8487', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '8488', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '8489', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '35227', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '35350', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '32498', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '33818', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '38628', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '35504', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '34955', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '35349', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '38050', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '33816', '1', '0');
    INSERT INTO `vendors` (`entry`, `item`, `amount`, `max_amount`) VALUES ('#####', '39656', '1', '0');

    SQL Query for a Small Pets vendor.

    Directions:
    -Copy text into a Notepad document.
    -Run a 'Replace' replacing: ##### with your Vendors ID.
    -Save file as "[Anything-NPC].sql"
    -Run query in your database.


    Code:
    INSERT INTO `creature_names` (`name`, `subname`, `info_str`, `type`, `family`, `rank`, `male_displayid`, `female_displayid`, `male_displayid2`, `female_displayid2`, `civilian`, `Leader`, `entry`) VALUES ('Small Pets', 'Vendor', '', '0', '0', '0', '8909', '0', '0', '0', '0', NULL, '#####');
    INSERT INTO `creature_proto` (`minlevel`, `maxlevel`, `Faction`, `minhealth`, `maxhealth`, `mana`, `Scale`, `npcflags`, `attacktime`, `mindamage`, `maxdamage`, `rangedattacktime`, `rangedmindamage`, `rangedmaxdamage`, `mountdisplayid`, `combat_reach`, `boss`, `equipmodel1`, `equipmodel2`, `equipmodel3`, `respawntime`, `armor`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `auras`, `money`, `invisibility_type`, `death_state`, `walk_speed`, `run_speed`, `fly_speed`, `entry`) VALUES ('70', '70', '35', '10000', '10000', '100', '3', '4224', '1500', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '2.5', '8', '14', '#####');
    Last edited by Whitethebunny; 07-22-2008 at 12:17 AM. Reason: Added Vendor NPC

    [SQL Query] File to Add Small Pets to Vendor
  2. #2
    Hellgawd's Avatar Member
    Reputation
    710
    Join Date
    Jun 2007
    Posts
    2,480
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pretty nifty. Here's an idea for next time, or even edit this for this time: Make the vendor for us!
    Save us the work.

  3. #3
    dongel's Avatar Member
    Reputation
    7
    Join Date
    Nov 2007
    Posts
    137
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Looks good , im gonna check it out

Similar Threads

  1. {Release} sql qurey and file to add azshara crater to your server
    By *TraPStaR* in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 02-06-2008, 12:10 PM
  2. Warrior Stances SQL Query
    By toxic11b in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 12-18-2007, 07:35 PM
  3. GM Sword ( My first attempt on a .SQL weapon file )
    By Wheeze201 in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 12-15-2007, 04:10 PM
  4. [GUIDE] Making Gold Off Of Small Pets
    By Hellgawd in forum World of Warcraft Guides
    Replies: 11
    Last Post: 10-14-2007, 10:49 AM
  5. Small Pet ---> Panda! +Rep!
    By -Lex in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 08-15-2007, 06:10 PM
All times are GMT -5. The time now is 03:16 AM. 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