User Tag List

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

Thread: Lua Transmog

  1. #1
    Wonderful Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Join Date
    Nov 2013
    Location
    USA
    Posts
    622
    XP
    73,114
    Level
    83
    Thanks
    76
    Thanked 61 Times in 48 Posts

    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?
    Achievements:
    Referrer Shopper Member 1 year registered Level XL Level LXXX
    Awards:
    Donator Contest Winner LOL Smartass Friendly Raffle Winner

  2. #2
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar

    Join Date
    Apr 2013
    Posts
    7,202
    XP
    3,445,352
    Level
    378
    Thanks
    860
    Thanked 1,795 Times in 1,086 Posts
    The table is called mangos_string.


  3. #3
    Original Poster
    Wonderful Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Join Date
    Nov 2013
    Location
    USA
    Posts
    622
    XP
    73,114
    Level
    83
    Thanks
    76
    Thanked 61 Times in 48 Posts
    O.o I must be missing something because am I not supposed to be looking for the types of armor and what not?
    Achievements:
    Referrer Shopper Member 1 year registered Level XL Level LXXX
    Awards:
    Donator Contest Winner LOL Smartass Friendly Raffle Winner

  4. #4
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar

    Join Date
    Apr 2013
    Posts
    7,202
    XP
    3,445,352
    Level
    378
    Thanks
    860
    Thanked 1,795 Times in 1,086 Posts
    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');

  5. #5
    Original Poster
    Wonderful Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Join Date
    Nov 2013
    Location
    USA
    Posts
    622
    XP
    73,114
    Level
    83
    Thanks
    76
    Thanked 61 Times in 48 Posts
    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.
    Achievements:
    Referrer Shopper Member 1 year registered Level XL Level LXXX
    Awards:
    Donator Contest Winner LOL Smartass Friendly Raffle Winner

  6. #6
    Founder <span style='color: #FF4500'>Tommy</span>'s Avatar

    Join Date
    Apr 2013
    Posts
    7,202
    XP
    3,445,352
    Level
    378
    Thanks
    860
    Thanked 1,795 Times in 1,086 Posts
    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.

  7. #7
    Original Poster
    Wonderful Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Join Date
    Nov 2013
    Location
    USA
    Posts
    622
    XP
    73,114
    Level
    83
    Thanks
    76
    Thanked 61 Times in 48 Posts
    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.
    Achievements:
    Referrer Shopper Member 1 year registered Level XL Level LXXX
    Awards:
    Donator Contest Winner LOL Smartass Friendly Raffle Winner

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
  •