Custom Guard menu

Shout-Out

User Tag List

Thread: Custom Guard

Results 1 to 3 of 3
  1. #1
    Sylex's Avatar Active Member
    Reputation
    101
    Join Date
    May 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Custom Guard

    How would I make this script functionable in .cpp?

    Code:
     //////////////////////
               // Custom City Guards
               //////////////////////
    
                     case 1:     // Auction House
                Plr->Gossip_SendPOI(9861.23, 2334.55, 6, 6, 0, "RTK Town Auction House");
                break;
                
            case 2:        // The Bank
                Plr->Gossip_SendPOI(9938.45, 2512.35, 6, 6, 0, "RTK Town Bank");
                break;
            
            case 3:        // Hippogryph Master
                Plr->Gossip_SendPOI(9945.65, 2618.94, 6, 6, 0, "RTK Town Village");
                break;
                
            case 4:        // Guild Master
                Plr->Gossip_SendPOI(10076.40, 2199.59, 6, 6, 0, "RTK Town Guild Master");
                break;
                
            case 5:        // The Inn
                Plr->Gossip_SendPOI(10133.29, 2222.52, 6, 6, 0, "RTK Town Inn");
                break;
                
            case 6:        // Mailbox
                Plr->Gossip_SendPOI(9942.17, 2495.48, 6, 6, 0, "RTK Town Mailbox");
                break;
            
            case 7:        // Stable Master
                Plr->Gossip_SendPOI(10167.20, 2522.66, 6, 6, 0, "RTK Town Stable Master");
                break;
                
            case 8:        // Weapon Trainers
                Plr->Gossip_SendPOI(9907.11, 2329.70, 6, 6, 0, "RTK Town Weapons Trainers");
                break;
                
            case 9:    // Battlemaster
                {
                    Plr->Gossip_SendPOI(9981.9, 2325.9, 6, 6, 0, "Battlemasters Darnassus");
                }break;
                
            case 10:    // Class Trainer
                {
                    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 4264, Plr); 
                Menu->AddItem( 0, "Druid",                8);
                Menu->AddItem( 0, "Hunter",               9);
                Menu->AddItem( 0, "Mage",                 10);
                Menu->AddItem( 0, "Paladin",              11);
                Menu->AddItem( 0, "Priest",               12);
                Menu->AddItem( 0, "Rogue",                13);
                Menu->AddItem( 0, "Shaman",               14);
                Menu->AddItem( 0, "Warlock",              15);
                Menu->AddItem( 0, "Warrior",              16);
                    Menu->SendTo(Plr);
                }break;
    
            case 11:    // Profession Trainer
                {
                    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 4273, Plr);
                      Menu->AddItem( 0, "Alchemy"              ,17);
                Menu->AddItem( 0, "Blacksmithing"        ,18);
            Menu->AddItem( 0, "Cooking"              ,19);
            Menu->AddItem( 0, "Enchanting"           ,20);
            Menu->AddItem( 0, "Engineering"          ,21);
            Menu->AddItem( 0, "First Aid"            ,22);
            Menu->AddItem( 0, "Fishing"              ,23);
            Menu->AddItem( 0, "Herbalism"            ,24);
            Menu->AddItem( 0, "Leatherworking"       ,25);
            Menu->AddItem( 0, "Mining"               ,26);
            Menu->AddItem( 0, "Skinning"             ,27);
            Menu->AddItem( 0, "Tailoring"            ,28); 
                    Menu->SendTo(Plr);
                }break;
            
            case 12:    // Druid
                {
                    Plr->Gossip_SendPOI(10186, 2570.46, 6, 6, 0, "RTK Town Druid Trainer");
                }break;
    
            case 13:    // Hunter
                {
                    Plr->Gossip_SendPOI(10177.29, 2511.10, 6, 6, 0, "RTK Town Hunter Trainer");
                }break;
    
            case 14:    // Priest
                {
                    Plr->Gossip_SendPOI(9659.12, 2524.88, 6, 6, 0, "RTK Town Priest Trainer");
                }break;
        
            case 15:    // Rogue
                {
                    Plr->Gossip_SendPOI(10122, 2599.12, 6, 6, 0, "RTK Town Rogue Trainer");
                }break;
    
            case 16:    // Warrior
                {
                    Plr->Gossip_SendPOI(9951.91, 2280.38, 6, 6, 0, "RTK Town Terrace");
                }break;
                
            case 17: //Alchemy
                {
                    Plr->Gossip_SendPOI(10075.90, 2356.76, 6, 6, 0, "RTK Town Alchemy Trainer");
                }break;
    
            case 18: //Cooking
                {
                    Plr->Gossip_SendPOI(10088.59, 2419.21, 6, 6, 0, "RTK Town Cooking Trainer");
                }break;
                
            case 19: //Enchanting
                {
                    Plr->Gossip_SendPOI(10146.09, 2313.42, 6, 6, 0, "RTK Town Enchanting Trainer");
                }break;
    
            case 20: //First Aid
                {
                    Plr->Gossip_SendPOI(10150.09, 2390.43, 6, 6, 0, "RTK Town First Aid Trainer");
                }break;
    
            case 21: //Fishing
                {
                    Plr->Gossip_SendPOI(9836.20, 2432.17, 6, 6, 0, "RTK Town Fishing Trainer");
                }break;
    
            case 22: //Herbalism
                {
                    Plr->Gossip_SendPOI(9757.17, 2430.16, 6, 6, 0, "RTK Town Herbalism Trainer");
                }break;
    
            case 23: //Leatherworking
                {
                    Plr->Gossip_SendPOI(10086.59, 2255.77, 6, 6, 0, "RTK Town Leatherworking Trainer");
                }break;
    
            case 24: //Skinning
                {
                    Plr->Gossip_SendPOI(10081.40, 2257.18, 6, 6, 0, "RTK Town Skinning Trainer");
                }break;
    
            case 25: //Tailoring
                {
                    Plr->Gossip_SendPOI(10079.70, 2268.19, 6, 6, 0, "RTK Town Tailor");
                }break;
    I am not sure what to do..I want it to be able to make a menu like all other City guards and tell people where to go.

    Custom Guard
  2. #2
    Lich King's Avatar Contributor
    Reputation
    100
    Join Date
    May 2007
    Posts
    911
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would love to help but I don't know

  3. #3
    NineOneOne's Avatar Member
    Reputation
    14
    Join Date
    Aug 2006
    Posts
    126
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    First of all, you have no start to the script. No main menu, there is nothing hooked to most of the cases. You just need the start and end to that script to make it a full .cpp

Similar Threads

  1. [Guide] Custom Mall Guards
    By Cursed in forum WoW EMU Guides & Tutorials
    Replies: 23
    Last Post: 04-08-2008, 01:14 PM
  2. gank in gadgetzan guards or players cant hurt u
    By Zanatons in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 07-29-2006, 12:53 PM
  3. Custom Computer Build (opinions/comments?)
    By Matt in forum Community Chat
    Replies: 11
    Last Post: 07-23-2006, 12:57 PM
  4. Make NPC Guards Mad!
    By Tbone in forum World of Warcraft Exploits
    Replies: 19
    Last Post: 07-14-2006, 10:34 PM
  5. New Custom Model Swapping Fix (1.11 Working)
    By Matt in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 06-23-2006, 06:05 PM
All times are GMT -5. The time now is 04:32 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