Jump to content


Photo

KupoPower finding?


    1 reply to this topic

    #1 Sammeh

    Sammeh

      Member

    • Members
    • PipPip
    • 24 posts

      Posted 11 December 2016 - 11:25 AM

      Anyone know how to programatically check for KupoPowers?

       

      I had written a homepoint addon/lua to warp to HomePoints and a separate but equal one for SurvivalGuides, then the survival guide one stopped working and I realized because of  Thrifty Transit.    Wrote a really ugly work around (basically making the user reset/chose another menu style) but I'd rather be able to determine if it's in effect and use it there.

       

       

       



      #2 Iryoku

      Iryoku

        Advanced Member

      • Windower Staff
      • 488 posts

        Posted 28 December 2016 - 03:10 AM

        The only ways I know of to do this is to read the message from packets or read the text directly from the chat log. The first is more robust and easier to get working with different client languages, but requires you to maintain a list of message IDs, which update often. The second requires you to get all of the Kupower strings for every language, and is easier to get false positives.






        1 user(s) are reading this topic

        0 members, 1 guests, 0 anonymous users