User Tag List

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

  Click here to go to the first staff post in this thread.   Thread: Lua Transmog

  1. #1
    Noble Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Points: 72,395, Level: 83
    Level completed: 56%, Points required for next Level: 755
    Overall activity: 0%
    Join Date
    Nov 2013
    Location
    USA
    Posts
    623
    XP
    72,395
    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?

  2.   Click here to go to the next staff post in this thread.   #2
    ED Administrator <span style='color: #FF4500'>Tommy</span>'s Avatar
    Points: 290,329, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 100.0%
    Join Date
    Apr 2013
    Posts
    6,474
    XP
    290,329
    Level
    100
    Thanks
    766
    Thanked 1,568 Times in 922 Posts
    The table is called mangos_string.



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

  3. #3
    Original Poster
    Noble Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Points: 72,395, Level: 83
    Level completed: 56%, Points required for next Level: 755
    Overall activity: 0%
    Join Date
    Nov 2013
    Location
    USA
    Posts
    623
    XP
    72,395
    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?

  4.   Click here to go to the next staff post in this thread.   #4
    ED Administrator <span style='color: #FF4500'>Tommy</span>'s Avatar
    Points: 290,329, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 100.0%
    Join Date
    Apr 2013
    Posts
    6,474
    XP
    290,329
    Level
    100
    Thanks
    766
    Thanked 1,568 Times in 922 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');


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

  5. #5
    Original Poster
    Noble Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Points: 72,395, Level: 83
    Level completed: 56%, Points required for next Level: 755
    Overall activity: 0%
    Join Date
    Nov 2013
    Location
    USA
    Posts
    623
    XP
    72,395
    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.

  6.   Click here to go to the next staff post in this thread.   #6
    ED Administrator <span style='color: #FF4500'>Tommy</span>'s Avatar
    Points: 290,329, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 100.0%
    Join Date
    Apr 2013
    Posts
    6,474
    XP
    290,329
    Level
    100
    Thanks
    766
    Thanked 1,568 Times in 922 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.


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

  7. #7
    Original Poster
    Noble Member <span style='color: #9400D3'>Barebones</span>'s Avatar
    Points: 72,395, Level: 83
    Level completed: 56%, Points required for next Level: 755
    Overall activity: 0%
    Join Date
    Nov 2013
    Location
    USA
    Posts
    623
    XP
    72,395
    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.

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
  •