User Tag List

Page 1 of 3 1 2 3 LastLast
Results 1 to 7 of 16

Thread: Lua Transmog

  1. #1
    Insane Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Points: 21,457, Level: 44
    Level completed: 79%, Points required for next Level: 193
    Overall activity: 41.4%
    Join Date
    Nov 2013
    Location
    USA
    Posts
    623
    RPG
    Reaper
    XP
    21,457
    Level
    44
    Thanks
    76
    Thanked
    61
    Donator Contest Winner LOL Smartass Friendly Raffle Winner
    Popular! Referrer 1,000 Experience Points Shopper 3 months registered 10,000 Experience Posts! Level 40 Member

    Lua Transmog

    I know the transmog script that rochet created has to take information from trinity.string if I'm not mistaken. Where can I find mangos.string?

  2. #2
    EmuDevs Admin <span style='color: #FF4500'><span class='glow_FF0000'>Tommy</span></span>'s Avatar

    Points: 26,921, Level: 50
    Level completed: 38%, Points required for next Level: 629
    Overall activity: 100.0%
    Join Date
    Apr 2013
    Posts
    5,708
    RPG
    Easelm
    XP
    26,921
    Level
    50
    Thanks
    694
    Thanked
    1359
    Member of Staff Support Smartass LOL Scripter Repacker Most Posts Facepalm! Average Top Discussion Ender Da Bomb!
    Got a Sticky! Popular! 500 Experience Points Referrer 10,000 Experience Posts! 1 year registered Member Level 50
    The table is called mangos_string.



    Owner of EmuDevs
    View the Rules before making any decision on EmuDevs.
    Turn AdBlock off to support the site.
    Check our Twitter Page for information regarding EmuDevs downtime, maintenance or 'WHATS NEW'.
    ------------------------EmuDevs FAQ-------------------------------------
    ------------------------EmuDevs "other" sites----------------------------
    -----------------------------------------------------------------------------

  3. #3
    Insane Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Points: 21,457, Level: 44
    Level completed: 79%, Points required for next Level: 193
    Overall activity: 41.4%
    Join Date
    Nov 2013
    Location
    USA
    Posts
    623
    RPG
    Reaper
    XP
    21,457
    Level
    44
    Thanks
    76
    Thanked
    61
    Donator Contest Winner LOL Smartass Friendly Raffle Winner
    Popular! Referrer 1,000 Experience Points Shopper 3 months registered 10,000 Experience Posts! Level 40 Member
    O.o I must be missing something because am I not supposed to be looking for the types of armor and what not?

  4. #4
    EmuDevs Admin <span style='color: #FF4500'><span class='glow_FF0000'>Tommy</span></span>'s Avatar

    Points: 26,921, Level: 50
    Level completed: 38%, Points required for next Level: 629
    Overall activity: 100.0%
    Join Date
    Apr 2013
    Posts
    5,708
    RPG
    Easelm
    XP
    26,921
    Level
    50
    Thanks
    694
    Thanked
    1359
    Member of Staff Support Smartass LOL Scripter Repacker Most Posts Facepalm! Average Top Discussion Ender Da Bomb!
    Got a Sticky! Popular! 500 Experience Points Referrer 10,000 Experience Posts! 1 year registered Member Level 50
    Quote Originally Posted by Barebones View Post
    O.o I must be missing something because am I not supposed to be looking for the types of armor and what not?
    Are you saying you don't have the text in the table? He has the locales text in the script, you can just copy/paste them into mangos_string:

    Code:
    local Locales = {
        {"Update menu", nil, nil, nil, nil, nil, nil, nil, nil},
        {"Remove all transmogrifications", nil, nil, nil, nil, nil, nil, nil, nil},
        {"Remove transmogrifications from all equipped items?", nil, nil, nil, nil, nil, nil, nil, nil},
        {"Using this item for transmogrify will bind it to you and make it non-refundable and non-tradeable.\nDo you wish to continue?", nil, nil, nil, nil, nil, nil, nil, nil},
        {"Remove transmogrification from %s?", nil, nil, nil, nil, nil, nil, nil, nil},
        {"Back..", nil, nil, nil, nil, nil, nil, nil, nil},
        {"Remove transmogrification", nil, nil, nil, nil, nil, nil, nil, nil},
        {"Transmogrifications removed from equipped items", nil, nil, nil, nil, nil, nil, nil, nil},
        {"You have no transmogrified items equipped", nil, nil, nil, nil, nil, nil, nil, nil},
        {"%s transmogrification removed", nil, nil, nil, nil, nil, nil, nil, nil},
        {"No transmogrification on %s slot", nil, nil, nil, nil, nil, nil, nil, nil},
        {"%s transmogrified", nil, nil, nil, nil, nil, nil, nil, nil},
        {"Selected items are not suitable", nil, nil, nil, nil, nil, nil, nil, nil},
        {"Selected item does not exist", nil, nil, nil, nil, nil, nil, nil, nil},
        {"Equipment slot is empty", nil, nil, nil, nil, nil, nil, nil, nil},
        {"You don't have enough %ss", nil, nil, nil, nil, nil, nil, nil, nil},
    }
    For example:

    Code:
    INSERT INTO `mangos_string` (`entry`, `content_default`) VALUES (10000, 'Update menu');
    INSERT INTO `mangos_string` (`entry`, `content_default`) VALUES (10001, 'Remove all transmogrifications');


    Owner of EmuDevs
    View the Rules before making any decision on EmuDevs.
    Turn AdBlock off to support the site.
    Check our Twitter Page for information regarding EmuDevs downtime, maintenance or 'WHATS NEW'.
    ------------------------EmuDevs FAQ-------------------------------------
    ------------------------EmuDevs "other" sites----------------------------
    -----------------------------------------------------------------------------

  5. #5
    Insane Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Points: 21,457, Level: 44
    Level completed: 79%, Points required for next Level: 193
    Overall activity: 41.4%
    Join Date
    Nov 2013
    Location
    USA
    Posts
    623
    RPG
    Reaper
    XP
    21,457
    Level
    44
    Thanks
    76
    Thanked
    61
    Donator Contest Winner LOL Smartass Friendly Raffle Winner
    Popular! Referrer 1,000 Experience Points Shopper 3 months registered 10,000 Experience Posts! Level 40 Member
    There is part of there script where it says trinity.string.something_slot_armor or along those lines. What you said isn't what I was looking for, but it helps.

  6. #6
    EmuDevs Admin <span style='color: #FF4500'><span class='glow_FF0000'>Tommy</span></span>'s Avatar

    Points: 26,921, Level: 50
    Level completed: 38%, Points required for next Level: 629
    Overall activity: 100.0%
    Join Date
    Apr 2013
    Posts
    5,708
    RPG
    Easelm
    XP
    26,921
    Level
    50
    Thanks
    694
    Thanked
    1359
    Member of Staff Support Smartass LOL Scripter Repacker Most Posts Facepalm! Average Top Discussion Ender Da Bomb!
    Got a Sticky! Popular! 500 Experience Points Referrer 10,000 Experience Posts! 1 year registered Member Level 50
    Quote Originally Posted by Barebones View Post
    There is part of there script where it says trinity.string.something_slot_armor or along those lines. What you said isn't what I was looking for, but it helps.
    You never said anything about it though. However, the GetDbLocaleIndex() method checks that table, but it checks mangos.string, not trinity.string. Nothing in the script shows trinity.string either. The method itself points to player->GetSession()->GetSessionDbLocaleIndex(), so it can be switched to TrinityCore & MaNGOS without the method screwing up.


    Owner of EmuDevs
    View the Rules before making any decision on EmuDevs.
    Turn AdBlock off to support the site.
    Check our Twitter Page for information regarding EmuDevs downtime, maintenance or 'WHATS NEW'.
    ------------------------EmuDevs FAQ-------------------------------------
    ------------------------EmuDevs "other" sites----------------------------
    -----------------------------------------------------------------------------

  7. #7
    Insane Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Points: 21,457, Level: 44
    Level completed: 79%, Points required for next Level: 193
    Overall activity: 41.4%
    Join Date
    Nov 2013
    Location
    USA
    Posts
    623
    RPG
    Reaper
    XP
    21,457
    Level
    44
    Thanks
    76
    Thanked
    61
    Donator Contest Winner LOL Smartass Friendly Raffle Winner
    Popular! Referrer 1,000 Experience Points Shopper 3 months registered 10,000 Experience Posts! Level 40 Member
    Oi. I need to get home so I can do this. By the way, off topic, I'm editing that Tele and going to release it once I'm done. Tbc of course.

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
  •