[Trinity] How to make creature look like a player? menu

User Tag List

Results 1 to 8 of 8
  1. #1
    Nefarel's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Trinity] How to make creature look like a player?

    I've tried changing creature displayId to player displayId but it doesn't work as intended. How to make creature look like a player?

    [Trinity] How to make creature look like a player?
  2. #2
    Deathbringer123's Avatar Master Sergeant
    Reputation
    25
    Join Date
    Oct 2010
    Posts
    121
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Heya Now I Would Say You Would Need a Script for this

    I Have Looked for a script to do this but i havent found one yet but i will keep looking

  3. #3
    Terrorblade's Avatar Contributor I spent 5k CC and all I got was this user title
    CoreCoins Purchaser
    Reputation
    153
    Join Date
    Oct 2010
    Posts
    312
    Thanks G/R
    6/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Deathbringer123 View Post
    Heya Now I Would Say You Would Need a Script for this

    I Have Looked for a script to do this but i havent found one yet but i will keep looking
    It's actually nearly impossible, the only way this would happen is if you can force the client to send CMSG_GET_MIRRORIMAGE_DATA or w/e it is to the server from the player you want it to look like.
    Stuff & Things

  4. #4
    Deathbringer123's Avatar Master Sergeant
    Reputation
    25
    Join Date
    Oct 2010
    Posts
    121
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Very Complexed Script Then

  5. #5
    Terrorblade's Avatar Contributor I spent 5k CC and all I got was this user title
    CoreCoins Purchaser
    Reputation
    153
    Join Date
    Oct 2010
    Posts
    312
    Thanks G/R
    6/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Deathbringer123 View Post
    Very Complexed Script Then
    A script can't force a client to send a cmsg.
    Stuff & Things

  6. #6
    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)
    Of course it's possible, there are several quests on retail where creatures look like you (note the Future You quest).

    Find out how it functions and there you have it. It's probably a packet somewhere you can send with specific values.

  7. #7
    The-Eradicator's Avatar Contributor

    Reputation
    149
    Join Date
    May 2007
    Posts
    829
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Of course it's possible, there are several quests on retail where creatures look like you (note the Future You quest).

    Find out how it functions and there you have it. It's probably a packet somewhere you can send with specific values.
    Confirm. I haven't tried it, but all the data is there and I know Mirror Image is functional on TrinityCore.

    Theoretically, just send SMSG_MIRRORIMAGE_DATA. Not sure how it'll behave if the client didn't ask for it, however.

    Code:
        WorldPacket data(SMSG_MIRRORIMAGE_DATA, 68);
        data << uint64(guid);
        data << uint32(creator->GetDisplayId());
        if (creator->GetTypeId() == TYPEID_PLAYER)
        {
            Player * pCreator = creator->ToPlayer();
            data << uint8(pCreator->getRace());
            data << uint8(pCreator->getGender());
            data << uint8(pCreator->getClass());
            data << uint8(pCreator->GetByteValue(PLAYER_BYTES, 0)); // skin
            data << uint8(pCreator->GetByteValue(PLAYER_BYTES, 1)); // face
            data << uint8(pCreator->GetByteValue(PLAYER_BYTES, 2)); // hair
            data << uint8(pCreator->GetByteValue(PLAYER_BYTES, 3)); // haircolor
            data << uint8(pCreator->GetByteValue(PLAYER_BYTES_2, 0)); // facialhair
            data << uint32(pCreator->GetGuildId());  // unk
    
            static const EquipmentSlots ItemSlots[] =
            {
                EQUIPMENT_SLOT_HEAD,
                EQUIPMENT_SLOT_SHOULDERS,
                EQUIPMENT_SLOT_BODY,
                EQUIPMENT_SLOT_CHEST,
                EQUIPMENT_SLOT_WAIST,
                EQUIPMENT_SLOT_LEGS,
                EQUIPMENT_SLOT_FEET,
                EQUIPMENT_SLOT_WRISTS,
                EQUIPMENT_SLOT_HANDS,
                EQUIPMENT_SLOT_BACK,
                EQUIPMENT_SLOT_TABARD,
                EQUIPMENT_SLOT_END
            };
    
            // Display items in visible slots
            for (EquipmentSlots const* itr = &ItemSlots[0]; *itr != EQUIPMENT_SLOT_END; ++itr)
            {
                if (*itr == EQUIPMENT_SLOT_HEAD && pCreator->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_HIDE_HELM))
                    data << uint32(0);
                else if (*itr == EQUIPMENT_SLOT_BACK && pCreator->HasFlag(PLAYER_FLAGS, PLAYER_FLAGS_HIDE_CLOAK))
                    data << uint32(0);
                else if (Item const *item = pCreator->GetItemByPos(INVENTORY_SLOT_BAG_0, *itr))
                    data << uint32(item->GetProto()->DisplayInfoID);
                else
                    data << uint32(0);
            }
        }
    The most beautiful thing we can experience is the mysterious. It is the source of all true art and all science. He to whom this emotion is a stranger, who can no longer pause to wonder and stand rapt in awe, is as good as dead: his eyes are closed.
    Albert Einstein

  8. #8
    Nefarel's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Above doesn't seem to work unless I'm doing something wrong. There are quests which needs this feature so it should be possible... I'm stuck.

Similar Threads

  1. How to make it look like you have Contest Winners Tabard
    By Flizbe in forum World of Warcraft Guides
    Replies: 7
    Last Post: 11-24-2012, 03:51 AM
  2. How to - Make yourself look like mario/ luigi!
    By kentril in forum World of Warcraft Guides
    Replies: 28
    Last Post: 01-31-2010, 06:42 AM
  3. [Ubuntu] How to make ubuntu look like Mac OS X
    By Mellexx in forum Community Chat
    Replies: 0
    Last Post: 07-06-2008, 02:55 PM
  4. How to make everyone look like night elves/humans/blood elves!
    By owentheguy in forum World of Warcraft Exploits
    Replies: 27
    Last Post: 05-12-2008, 10:17 PM
All times are GMT -5. The time now is 09:40 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