[Release] C++ Morpher (50+ Options) menu

User Tag List

Page 1 of 3 123 LastLast
Results 1 to 15 of 32
  1. #1
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] C++ Morpher (50+ Options)

    Portable Morpher Stone.

    Ill leave you to make the Item how you like it, the ID is 99999 though.








    Morpher.cpp
    Code:
    //Title of Script: Morpher stone
    //Description of Script: Morphs players into display ids.
    
    
    
    
    #include "StdAfx.h"
    #include "Setup.h"
    
    #ifdef WIN32
    #pragma warning(disable:4305)        
    #endif
    
    
    class SCRIPT_DECL Morpher : public GossipScript
    {
    public:
        void GossipHello(Object * pObject, Player* Plr, bool AutoSend);
        void GossipSelectOption(Object * pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code);
        void GossipEnd(Object * pObject, Player* Plr);
        void Destroy()
        {
        delete this;
        }
    };
        void Morpher::GossipHello(Object* pObject, Player * Plr, bool AutoSend)
        {
            GossipMenu *Menu;
            objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
            Menu->AddItem(0, "Morph Set 1", 1);
            Menu->AddItem(0, "Morph Set 2", 2);
            Menu->AddItem(0, "Morph Set 3", 3);
            Menu->AddItem(0, "Morph Set 4", 4);
            Menu->AddItem(2, "Demorph", 999);
    
               if(AutoSend)
                Menu->SendTo(Plr);
        }
    
    
    //Defining Cases
    void Morpher::GossipSelectOption(Object* pObject, Player* Plr, uint32 Id, uint32 IntId, const char * Code)
        {
            GossipMenu * Menu;
            switch(IntId)
            {
         case 1:
            {
                //Morph Set 1
    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
        Menu->AddItem(5,"The Ice Dwarf", 501);
        Menu->AddItem(5,"Onyxia", 502);
        Menu->AddItem(5,"Razorgore the Untamed", 503);
        Menu->AddItem(5,"Ebonroc", 504);
        Menu->AddItem(5,"Chromaggus", 505);
        Menu->AddItem(5,"Baron Rivendare", 506);
        Menu->AddItem(5,"Stitched Horror", 507);
        Menu->AddItem(5,"Hive'Zara Wasp", 508);
        Menu->AddItem(5,"Moam", 509);
        Menu->AddItem(5,"Golemagg the Incinerator", 510);
        Menu->AddItem(5,"Hovering Obelisk", 511);
        Menu->AddItem(5,"Blue Dragon", 512);
        Menu->AddItem(5,"Fiery Ghost", 513);
        Menu->AddItem(5,"Rocket Mount", 514);
        Menu->AddItem(5,"Ghostly Gryphon", 515);
        Menu->AddItem(5,"Robot", 516);
        Menu->SendTo(Plr);
    }
            break;
    
         case 2:
            {
                //Morph Set 2
    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
        Menu->AddItem(5,"Doomwalker", 601);
        Menu->AddItem(5,"Kael'thas", 602);
        Menu->AddItem(5,"Illidan", 603);
        Menu->AddItem(5,"Dark Illidan", 604);
        Menu->AddItem(5,"Teron Gorefiend", 605);
        Menu->AddItem(5,"Lady VashJ", 606);
        Menu->AddItem(5,"Vazruden The Herald", 607);
        Menu->AddItem(5,"Archimonde", 608);
        Menu->AddItem(5,"Terestian Illhoof", 609);
        Menu->AddItem(5,"The Curator", 610);
        Menu->AddItem(5,"Draenei Phoenix", 611);
        Menu->AddItem(5,"Icy Ragnaros", 612);
        Menu->AddItem(5,"Lava Golem", 613);
        Menu->AddItem(5,"Ghostly Frost Wyrm", 614);
        Menu->AddItem(5,"Dyriad", 615);
        Menu->AddItem(5,"Frog Dragon", 616);
        Menu->SendTo(Plr);
    }
            break;
           
         case 3:
            {
                //Morph Set 3
    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
        Menu->AddItem(5,"Lich King", 701);
        Menu->AddItem(5,"Lich King (No Helmet)", 702);
        Menu->AddItem(5,"Stone Giant", 703);
        Menu->AddItem(5,"Scourage Zombie", 704);
        Menu->AddItem(5,"Loatheb", 705);
        Menu->AddItem(5,"Gluth", 706);
        Menu->AddItem(5,"Instructor Razuvious", 707);
        Menu->AddItem(5,"Gothik the Harvester", 708);
        Menu->AddItem(5,"Novos the Summoner", 709);
        Menu->AddItem(5,"King Dred", 710);
        Menu->AddItem(5,"Varos Cloudstrider", 711);
        Menu->AddItem(5,"Mom Polar Bear", 712);
        Menu->AddItem(5,"Red Draenei Prince", 713);
        Menu->AddItem(5,"Sand Tower", 714);
        Menu->AddItem(5,"Turkey", 715);
        Menu->SendTo(Plr);
    }
            break;
    
         case 4:
            {
                //Morph Set 4
    objmgr.CreateGossipMenuForPlayer(&Menu, pObject->GetGUID(), 2593, Plr);
        Menu->AddItem(5,"Spirit Healer", 801);
        Menu->AddItem(5,"Skeleton", 802);
        Menu->AddItem(5,"Infernal", 803);
        Menu->AddItem(5,"Felguard", 804);
        Menu->AddItem(5,"Super Cow", 805);
        Menu->AddItem(5,"Panda", 806);
        Menu->AddItem(5,"Hogger", 807);
        Menu->AddItem(5,"Baby Blizzard Bear (Cute)", 808);
        Menu->AddItem(5,"Mammoth", 809);
        Menu->AddItem(5,"Sand Gnome", 810);
        Menu->AddItem(5,"Female Ghost Angel", 811);
        Menu->AddItem(5,"Clockwork Gnome", 812);
        Menu->AddItem(5,"Frost Nymph", 813);
        Menu->AddItem(5,"Baby Crocodile", 814);
        Menu->SendTo(Plr);
    }
            break;
    
                
            //Ice Giant
            case 501:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 24531);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.2);
                    Plr->Gossip_Complete();
                }break;
            
            //Onyxia
            case 502:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 8570);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.1);
                    Plr->Gossip_Complete();
                }break;
            
            //Razorgore the Untamed
            case 503:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 10115);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
                    Plr->Gossip_Complete();
                }break;
            
            //Ebonroc
            case 504:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 6377);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.3);
                    Plr->Gossip_Complete();
                }break;
            
            
            //Chromaggus
            case 505:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 14367);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.2);
                    Plr->Gossip_Complete();
                }break;
            
            //Baron Rivendare
            case 506:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 6380);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Stitched Horror
            case 507:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 1693);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Hive'Zara Wasp
            case 508:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 11142);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Moam
            case 509:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 15392);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.3);
                    Plr->Gossip_Complete();
                }break;
            
            //Golemagg the Incinerator
            case 510:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 11986);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.2);
                    Plr->Gossip_Complete();
                }break;
    
            //Hovering Obelisk
            case 511:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 24470);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
                    Plr->Gossip_Complete();
                }break;
    
            //Blue Dragon
            case 512:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 24620);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 2.5);
                    Plr->Gossip_Complete();
                }break;
    
            //Fiery Ghost
            case 513:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 24905);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
    
            //Rocket Mount
            case 514:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 24710);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
    
            //Ghost Gryphon
            case 515:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 24447);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
    
            //Robot
            case 516:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 23411);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
                    Plr->Gossip_Complete();
                }break;
    
            //Baby Crocodile
            case 814:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 23495);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Doomwalker
            case 601:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 21435);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.2);
                    Plr->Gossip_Complete();
                }break;
            
            //Kael'thas
            case 602:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 20023);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
                    Plr->Gossip_Complete();
                }break;
            
            //Illidan
            case 603:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 21135);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.3);
                    Plr->Gossip_Complete();
                }break;
            
            //Dark Illidan
            case 604:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 21322);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.1);
                    Plr->Gossip_Complete();
                }break;
            
            //Teron Gorefiend - shows as an orc for some reason, display ID is right.
            case 605:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 21254);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
                    Plr->Gossip_Complete();
                }break;
            
            //Lady VashJ
            case 606:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 20748);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
                    Plr->Gossip_Complete();
                }break;
            
            //Vazruden The Herald
            case 607:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 18944);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.3);
                    Plr->Gossip_Complete();
                }break;
            
            //Archimonde
            case 608:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 20939);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.1);
                    Plr->Gossip_Complete();
                }break;
            
            //Terestian Illhoof
            case 609:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 11343);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.6);
                    Plr->Gossip_Complete();
                }break;
            
            //The Curator
            case 610:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 16958);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.2);
                    Plr->Gossip_Complete();
                }break;
            
                //Draenei Phoenix
            case 611:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 23523);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 3.0);
                    Plr->Gossip_Complete();
                }break;
            
                //Icy Ragnaros
            case 612:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 23707);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.2);
                    Plr->Gossip_Complete();
                }break;
            
                //Lava Golem
            case 613:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 23817);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.8);
                    Plr->Gossip_Complete();
                }break;
            
                //Ghostly Frost Wyrm
            case 614:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 23315);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
                    Plr->Gossip_Complete();
                }break;
            
                //Dyriad
            case 615:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 25082);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
                //Frog Dragon
            case 616:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 23351);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
                //Turkey
            case 715:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 21774);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 3.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Lich King
            case 701:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 22234);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.7);
                    Plr->Gossip_Complete();
                }break;
            
            //Lich King (NO HELM)
            case 702:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 22235);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.7);
                    Plr->Gossip_Complete();
                }break;
            
            //Stone Giant
            case 703:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 23356);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.4);
                    Plr->Gossip_Complete();
                }break;
            
            //Scourage Zombie
            case 704:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 24992);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Loatheb
            case 705:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 16110);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.3);
                    Plr->Gossip_Complete();
                }break;
            
            //Gluth
            case 706:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 16064);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.2);
                    Plr->Gossip_Complete();
                }break;
            
            //Instructor Razuvious
            case 707:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 16582);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.7);
                    Plr->Gossip_Complete();
                }break;
            
            //Gothik the Harvester
            case 708:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 16279);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.4);
                    Plr->Gossip_Complete();
                }break;
            
            //Novos the Summoner
            case 709:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 26292);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.3);
                    Plr->Gossip_Complete();
                }break;
            
            
            //King Dred
            case 710:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 5240);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.2);
                    Plr->Gossip_Complete();
                }break;
    
            
            //Varos Cloudstrider
            case 711:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 27033);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.3);
                    Plr->Gossip_Complete();
                }break;
            
                //Mom Polar Bear
            case 712:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 22708);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
                //Red Draenei Prince
            case 713:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 23334);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.6);
                    Plr->Gossip_Complete();
                }break;
            
                //Sand Tower
            case 714:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 24868);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Spirit Healer
            case 801:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 5233);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.4);
                    Plr->Gossip_Complete();
                }break;
            
            //Skeleton
            case 802:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 17970);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.6);
                    Plr->Gossip_Complete();
                }break;
            
            //Infernal
            case 803:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 169);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.7);
                    Plr->Gossip_Complete();
                }break;
            
            //Felguard
            case 804:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 14152);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
                    Plr->Gossip_Complete();
                }break;
            
            //Super Cow
            case 805:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 1060);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Panda
            case 806:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 10990);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 5.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Hogger
            case 807:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 384);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Blizzard Bear
            case 808:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 16189);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 3.0);
                    Plr->Gossip_Complete();
                }break;
            
            //Mammoth
            case 809:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 27235);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.5);
                    Plr->Gossip_Complete();
                }break;
            
                //Sand Gnome
            case 810:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 21027);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 2.5);
                    Plr->Gossip_Complete();
                }break;
            
                //Female Ghost Angel
            case 811:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 25517);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            
                //Clockwork Gnome
            case 812:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 24111);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 3.0);
                    Plr->Gossip_Complete();
                }break;
            
                //Frost Nymph
            case 813:
                {
                    Plr->SetUInt32Value(UNIT_FIELD_DISPLAYID, 24072);
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 0.6);
                    Plr->Gossip_Complete();
                }break;
            
            //Demorph
            case 999:
                {
                    Plr->Emote(EMOTE_ONESHOT_CHEER);
                    Plr->DeMorph();
                    Plr->SetFloatValue(OBJECT_FIELD_SCALE_X, 1.0);
                    Plr->Gossip_Complete();
                }break;
            }
    };
     
    
    
    void Morpher::GossipEnd(Object * pObject, Player* Plr)
    {
    GossipScript::GossipEnd(pObject, Plr);
    }
    
    void SetupMorpher(ScriptMgr * mgr)
    {
    GossipScript * gs = (GossipScript*) new Morpher();
    mgr->register_item_gossip_script(99999,gs);
    }
    Setup.cpp
    Code:
    /*
     * ArcScript Sccripts for Arcemu MMORPG Server
     * Copyright (C) 2008-2009 Arcemu Team
     * Copyright (C) 2007 Moon++  <http://www.moonplusplus.info/>
     *
     * This program is free software: you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation, either version 3 of the License, or
     * any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "StdAfx.h"
    #include "Setup.h"
    #define SKIP_ALLOCATOR_SHARING 1
    #include <ScriptSetup.h>
    
    extern "C" SCRIPT_DECL uint32 _exp_get_script_type()
    {
        return SCRIPT_TYPE_MISC;
    }
    
    extern "C" SCRIPT_DECL void _exp_script_register(ScriptMgr* mgr)
    {
        SetupMorpher(mgr);
    }
    
    #ifdef WIN32
    
    BOOL APIENTRY DllMain( HANDLE hModule, DWORD  ul_reason_for_call, LPVOID lpReserved )
    {
        return TRUE;
    }
    
    #endif
    Setup.h
    Code:
    /*
     * ArcScript Sccripts for Arcemu MMORPG Server
     * Copyright (C) 2008-2009 Arcemu Team
     * Copyright (C) 2007 Moon++  <http://www.moonplusplus.info/>
     *
     * This program is free software: you can redistribute it and/or modify
     * it under the terms of the GNU General Public License as published by
     * the Free Software Foundation, either version 3 of the License, or
     * any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program.  If not, see <http://www.gnu.org/licenses/>.
     */
    
    #ifndef GOSSIP_SCRIPTS_SETUP_H
    #define GOSSIP_SCRIPTS_SETUP_H
    
    void SetupMorpher(ScriptMgr * mgr);
    
    #endif
    Extra Credits:
    Exploded of Exploded WoW

    [Release] C++ Morpher (50+ Options)
  2. #2
    2dgreengiant's Avatar ★ Elder ★


    Reputation
    1190
    Join Date
    Feb 2007
    Posts
    7,129
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Approved, but remember next time what i said on msn
    If you need me you have my skype, if you don't have my skype then you don't need me.

  3. #3
    Mango Jerry's Avatar Banned
    Reputation
    192
    Join Date
    Jan 2008
    Posts
    1,244
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice work, Nice work.
    +3 rep, and closer to Elite!

  4. #4
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheers Mango Jerry. Glad you like it
    and cheers 2d

  5. #5
    LaAevie's Avatar Member
    Reputation
    85
    Join Date
    Mar 2008
    Posts
    143
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Look'in good Ground Zero.
    <3

  6. #6
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheers, got any suggestions? About what extra to add?

  7. #7
    1ns0mnia's Avatar Active Member
    Reputation
    67
    Join Date
    Nov 2007
    Posts
    428
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hmm, this looks alot like my old one, wonder why

    i mean i dont mind but a bit of cedit might have helped, seen as the script morphs are mine, they are in the same order as mine was in and the cheer emotes and etc, but w/e

    anyways GJ
    Last edited by 1ns0mnia; 04-06-2009 at 08:07 AM.

  8. #8
    Saytanic's Avatar Member
    Reputation
    7
    Join Date
    Jan 2009
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My suggestion is dont take insomniacs shit and take credit fag.

  9. #9
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't take this from Insomnia, and Saytanic go flame somewhere else, at least im contributing.

    Insomnia me and Exploded made this together.

  10. #10
    Saytanic's Avatar Member
    Reputation
    7
    Join Date
    Jan 2009
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Insomnia is my IRL friend on msn he said you took it or something, explain?

  11. #11
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I didn't take anything, Exploded and I made this script. I've never seen Insomnias script before.

  12. #12
    Reflection's Avatar Legendary
    Reputation
    783
    Join Date
    Mar 2008
    Posts
    3,377
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Good job Ground Zero.

    Freelance Digital Artist
    https://reflectionartwork.deviantart.com
    You did not desert me
    My brothers in arms


  13. #13
    piki101's Avatar Member
    Reputation
    1
    Join Date
    Oct 2007
    Posts
    8
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Holy Snap! Nice job! When I get around to compiling my server I'm definitly putting this in there along with Link_S's House System.

  14. #14
    Ground Zero's Avatar ★ Elder ★
    Reputation
    1132
    Join Date
    Aug 2008
    Posts
    3,504
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Cheers Reflection,

    Offtopic: did you make your sig yourself? I like it

  15. #15
    Stormrage1's Avatar Member
    Reputation
    1
    Join Date
    Feb 2009
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    where do i put the script?

    and +Rep (:

Page 1 of 3 123 LastLast

Similar Threads

  1. [Release] Healer, Morpher + Buffer NPC [LUA]
    By Syrup in forum WoW EMU General Releases
    Replies: 3
    Last Post: 09-07-2008, 04:57 PM
  2. [Release] Uber Morpher, GlobalNPC, Wishing Stone, FriendPorter for 4541 Compiles
    By LordJedi in forum World of Warcraft Emulator Servers
    Replies: 78
    Last Post: 06-29-2008, 01:41 PM
  3. [Release] MMOwned Morpher
    By Spartansp in forum World of Warcraft Emulator Servers
    Replies: 71
    Last Post: 06-09-2008, 11:49 AM
  4. [C++ RELEASE] Portable Morpher + Noob Guide To Setting It Up
    By 1ns0mnia in forum World of Warcraft Emulator Servers
    Replies: 9
    Last Post: 05-17-2008, 09:18 AM
  5. [Release] Portable Morpher MOD
    By Spartansp in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 01-11-2008, 11:41 AM
All times are GMT -5. The time now is 06:40 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search