Equipping an Item with a Gossip menu

User Tag List

Results 1 to 2 of 2
  1. #1
    Preparation's Avatar Corporal
    Reputation
    1
    Join Date
    Aug 2013
    Posts
    26
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Equipping an Item with a Gossip

    I'm currently creating a script that detects what class you are e.g.

    Druid, It will give you 3 options:
    Feral
    Balance
    Restoration

    Currently when you choose one it will give you the gear, I'm wondering how i can make it equip the gear?

    Coding this in c++.

    Thank you

    Equipping an Item with a Gossip
  2. #2
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Take a look at the ItemHandler.cpp in TrinityCore, like this function:

    Code:
    void WorldSession::HandleSwapInvItemOpcode(WorldPacket& recvData)
    That will give you the majority of the code that you can just copy and adapt.

Similar Threads

  1. Custom Items with Extended Cost
    By Nephilim in forum World of Warcraft Emulator Servers
    Replies: 11
    Last Post: 11-09-2007, 07:40 AM
  2. PICTURE Tutorial: Extract a list of all NPCS/ITEMS with ID and Display ID!
    By selulancie in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 09-26-2007, 08:26 AM
  3. Any way to edit items with CE?
    By Mike3667 in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 09-03-2007, 11:54 AM
  4. items with no model
    By Koksy in forum World of Warcraft Emulator Servers
    Replies: 1
    Last Post: 08-30-2007, 07:39 PM
  5. [Macro] Sell all gray items with one click.
    By Alkhara Majere in forum World of Warcraft Bots and Programs
    Replies: 29
    Last Post: 02-19-2007, 01:07 PM
All times are GMT -5. The time now is 01:57 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