1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Greetings Guest!!

    In order to combat SPAM on the forums, all users are required to have a minimum of 2 posts before they can submit links in any post or thread.

    Dismiss Notice

GenericGumpGetToolTipId() function seemed broken

Discussion in 'UHall' started by lucitus, Oct 28, 2011.

  1. lucitus

    lucitus UOEC Modder
    Stratics Veteran

    Joined:
    May 13, 2008
    Messages:
    1,426
    Likes Received:
    45
    The result is that we cant see any tooltips of generic gumps in the EC.

    Hope you can get a fix on the way for it soon.

    Thanks!
     
  2. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,675
    Likes Received:
    865
    It's not broken. It has been replaced with GenericGumpGetToolTipText()...

    IMHO not a good thing since there are no advantages at all and the virtue gump now has stop showing the tooltips....
     
  3. Supreem

    Supreem Founder, Citadel Studios
    VIP Stratics Veteran

    Joined:
    Sep 2, 2008
    Messages:
    153
    Likes Received:
    25
    The GenericGumpGetToolTipId function has been changed to GenericGumpGetToolTipText. This returns the already localized string which allows us to parse tokens in the c code before it gets to lua.
     
  4. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,675
    Likes Received:
    865
    On virtue gump returns all blank strings so probably something is missing ...
     
  5. lucitus

    lucitus UOEC Modder
    Stratics Veteran

    Joined:
    May 13, 2008
    Messages:
    1,426
    Likes Received:
    45
    Yeah good question, how are the parameters for the function?

    Code:
    GenericGumpGetToolTipText(gumpId, windowName)
    
    Returns a blank wstring.
     
  6. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,675
    Likes Received:
    865
    the parameters are right, but not all gumps seems to return a string even if there was a cliloc before :/

    IMHO they should leave also the GenericGumpGetToolTipTid...
     
  7. Supreem

    Supreem Founder, Citadel Studios
    VIP Stratics Veteran

    Joined:
    Sep 2, 2008
    Messages:
    153
    Likes Received:
    25
    The virtue gump was indeed broken. In the next patch it will be fixed.
     
  8. Ned888

    Ned888 Seasoned Veteran

    Joined:
    Aug 30, 2011
    Messages:
    362
    Likes Received:
    0
    Now THAT ^^^ is an awesome response! Thank you very much!
     
  9. Mirt

    Mirt Certifiable
    Stratics Veteran

    Joined:
    Dec 28, 2009
    Messages:
    1,726
    Likes Received:
    286
    Yeap. Impressively fast as well.
     
  10. lucitus

    lucitus UOEC Modder
    Stratics Veteran

    Joined:
    May 13, 2008
    Messages:
    1,426
    Likes Received:
    45
    Fixed thanks for the good response!
     
  11. Ezekiel Zane

    Ezekiel Zane Grand Inquisitor
    Stratics Veteran Stratics Legend

    Joined:
    Jul 29, 2003
    Messages:
    4,556
    Likes Received:
    113
    In the EC, after it's fixed, will it then show your character's status in a virtue when you hover over the virtue symbol?
     
  12. Pinco

    Pinco UOEC Modder
    Stratics Veteran Stratics Legend

    Joined:
    Jul 25, 2005
    Messages:
    5,675
    Likes Received:
    865
    this already exist with the latest version of my ui :p