User Tag List

Page 2 of 4 FirstFirst 1 2 3 4 LastLast
Results 8 to 14 of 28

Thread: Dress NPCs coremod

  1. #8
    Exalted Member Synth's Avatar
    Join Date
    Sep 2013
    Location
    Lebanon,Beirut
    Posts
    410
    XP
    2,015,866
    Level
    259
    Thanks
    43
    Thanked 160 Times in 69 Posts
    Yay thanks for share,Keep it UP!

  2. #9
    Enthusiast Xele's Avatar
    Join Date
    Aug 2013
    Posts
    159
    XP
    1,705
    Level
    11
    Thanks
    100
    Thanked 6 Times in 5 Posts
    Once Again, Great Work!

  3. #10
    Original Poster
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,856
    XP
    13,466
    Level
    35
    Thanks
    95
    Thanked 591 Times in 418 Posts
    Example of a set I pulled from the net and put together:
    Code:
    SET @NPCENTRY := 6;
    INSERT INTO `creature_template_outfits` (`entry`, `race`, `gender`, `skin`, `face`, `hair`, `haircolor`, `facialhair`, `head`, `shoulders`, `body`, `chest`, `waist`, `legs`, `feet`, `wrists`, `hands`, `back`, `tabard`)
    VALUES (@NPCENTRY, 11, 1, 14, 4, 10, 3, 5, 31286, 43617, 0, 26267, 26270, 26272, 0, 0, 43698, 0, 0);
    INSERT INTO `creature_equip_template` (`entry`, `id`, `itemEntry1`, `itemEntry2`, `itemEntry3`)
    VALUES (@NPCENTRY, 1, 32946, 32945, 0);

    Last edited by Rochet2; 10-13-2013 at 02:40 PM.
    Awards:
    Support LOL Scripter Facepalm! Raffle Winner

  4. #11
    Epic Member Xcynic's Avatar
    Join Date
    Apr 2013
    Location
    Sweden
    Posts
    369
    XP
    9,086
    Level
    28
    Thanks
    55
    Thanked 79 Times in 58 Posts
    Looks amazing mate! Good job!

  5. #12
    Banned
    Join Date
    Apr 2013
    Location
    Fuck You Faded :D`
    Posts
    351
    Thanks
    124
    Thanked 94 Times in 51 Posts
    Figured I would post this in case any one else had any totally harmless db errors when using this like me and wanted to fix them.

    So I was adding this to my newest core when I realized that it gave you db errors for using the display id 0 Which you seem to need to when you want this to work. So then I had the bright idea of using a display id from the orb of deception since when you use the orb of deception it continues to shows your even after you have morphed into the new display id. So I tested one of those displays which you can find here http://emudevs.com/showthread.php/43...wception-works and it works fine i'm getting no db error and the mod works fine.

  6. #13
    Exalted Member Noven's Avatar
    Join Date
    Jan 2014
    Location
    Norway.
    Posts
    178
    XP
    108,988
    Level
    100
    Thanks
    44
    Thanked 8 Times in 8 Posts
    Uhm, what exactly do I do with the diff file?

  7. #14
    Original Poster
    Moderator / Eluna Dev <span style='color: #FF0000'><span class='glow_8B0000'>Rochet2</span></span>'s Avatar
    Join Date
    Apr 2013
    Location
    Finland
    Posts
    1,856
    XP
    13,466
    Level
    35
    Thanks
    95
    Thanked 591 Times in 418 Posts
    Quote Originally Posted by Noven View Post
    Uhm, what exactly do I do with the diff file?
    It contains changes made to the source code of the core.
    You should use GIT to apply the diff to your source (it does the changes for you).
    If this does not work, you can try manually doing the changes. (add the lines that have + and remove the ones that have -)

    I use git BASH.
    You can open git BASH in the TC source folder and use git apply filename.diff
    if the diff file is in the same folder you opened git bash in.

    You can also try to use git apply --reject filename.diff
    This will apply the patch where it can.
    For the failed parts it generates new files scattered in the source folders that have .rej file extension. The file is a diff file for the failed code which you need to change manually.
    For example if the patch fails for Player.cpp, the rej file will be in the same directory with Player.cpp and it will be named Player.cpp.rej

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •