C++ Gossip script commands menu

User Tag List

Results 1 to 1 of 1
  1. #1
    4BOLTMAIN's Avatar Sergeant
    Reputation
    2
    Join Date
    Dec 2010
    Posts
    63
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    C++ Gossip script commands

    Ive been trying my luck at some gossip code and have created basic teleport options. I have been trying to add a Bank and Mailbox option but havent found any examples for a gossip script. I am also looking for a way to add text to the window that isnt selectable.

    Code:
    	 			case GOSSIP_ACTION_INFO_DEF+101: // Open Mail
    					pPlayer->CLOSE_GOSSIP_MENU();
    					pPlayer->HandleGetMailList();
    					return false;
    				break;
    
    				case GOSSIP_ACTION_INFO_DEF+102: // Open Bank
    					pPlayer->CLOSE_GOSSIP_MENU();
    					pPlayer->SendShowBank(pPlayer->GetGUID());
    					return false;
    				break;
    The core gives me errors when I try to compile.
    Code:
    error C2039: 'HandleGetMailList' : is not a member of 'Player'
    error C2039: 'SendShowBank' : is not a member of 'Player'
    The only include I have in the script is ScriptPCH.h.
    Can someone explain what I am doing wrong here?

    Code:
    #define GOSSIP_ITEM_109  "You are not allowed to use my services in enemy territory."
    pPlayer->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ITEM_109, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+109);
    How do I make this text not selectable in the gossip window?

    C++ Gossip script commands

Similar Threads

  1. [share] mini-tut on gossip scripts lua
    By b!atch in forum World of Warcraft Emulator Servers
    Replies: 2
    Last Post: 05-29-2008, 05:11 AM
  2. how to disable /scripts command?
    By Algorithm in forum World of Warcraft Emulator Servers
    Replies: 19
    Last Post: 05-14-2008, 12:18 AM
  3. Intergrating my SkillNPC and WarpNPC to gossip scripts?
    By chronic7 in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 04-25-2008, 12:11 AM
  4. I'd like to ask if there is a website where I can find all /script commands
    By Loaril in forum WoW UI, Macros and Talent Specs
    Replies: 3
    Last Post: 01-04-2008, 08:27 AM
  5. Gossip scripting guide!
    By Le Froid in forum WoW EMU Guides & Tutorials
    Replies: 3
    Last Post: 12-13-2007, 05:06 PM
All times are GMT -5. The time now is 06:14 PM. 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