weapon at npc's belt menu

These ads disappear when you log in.

Results 1 to 3 of 3
  1. #1
    aidarius's Avatar Corporal CoreCoins User
    Reputation
    15
    Join Date
    Jan 2013
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)

    weapon at npc's belt

    Hi
    Because i cant solve how to make weapons visible at npc's belt i decide ask for help here. What sql table contains that option ?
    in effect it should look like on global http://images1.wikia.nocookie.net/__...l_Retainer.jpg
    Last edited by aidarius; 05-04-2013 at 12:19 PM.

  2. #2
    stoneharry's Avatar Moderator Harry

    CoreCoins User Authenticator enabled
    Reputation
    1524
    Join Date
    Sep 2007
    Posts
    4,404
    Thanks G/R
    115/101
    Trade Feedback
    0 (0%)
    I was in the process of writing a ArcEmu to TrinityCore world database converter (logon/char one already exists) however, got stuck with the horrible structure and misleading field names/table names.

    Anyway, looking at my code:
    Code:
    	// Equipment ID
    	$string = $string . "REPLACE INTO creature_equip_template VALUES (";
    	$string = $string . "'{$equipmentid}', '{$row['slot1item']}', '{$row['slot2item']}', '{$row['slot3item']}'";
    	$string = $string . ");\n";
    So the table: creature_equip_template

    Takes: Creature GUID, ItemSlot1, ItemSlot2, ItemSlot3.

    So you would insert:

    Creature GUID, WeaponDisplayID (or entry id? not sure), 0, 0.

    With ArcEmu, just use this command in game:

    .npc equip1 weaponEntryID

  3. #3
    aidarius's Avatar Corporal CoreCoins User
    Reputation
    15
    Join Date
    Jan 2013
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Thanks for advice Stoneharry, it works

Similar Threads

  1. [Release] Weapon Skill NPC!!!!
    By Jackie Moon in forum WoW EMU General Releases
    Replies: 12
    Last Post: 01-24-2009, 10:21 AM
  2. [Noobs guide] How to add working weapons to NPC's/Creatures
    By Iceknight001 in forum WoW EMU Guides & Tutorials
    Replies: 15
    Last Post: 05-18-2008, 06:49 AM
  3. [GUIDE] Creating Weapons for NPC's/Creatures
    By razordemon in forum WoW EMU Guides & Tutorials
    Replies: 1
    Last Post: 04-07-2008, 01:58 AM
  4. [Ascent] List of Class Trainers and Weapon Masters NPC spawn ID's
    By mkenzi in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 10-21-2007, 11:41 AM
  5. [Question] Adding Weapons to NPC`s
    By tedris in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 10-16-2007, 09:26 PM
All times are GMT -5. The time now is 03:22 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved. Digital Point modules: Sphinx-based search