Jump to content


Photo

Additional chat filtering


    3 replies to this topic

    #1 modena

    modena

      Member

    • Members
    • PipPip
    • 28 posts

      Posted 15 September 2014 - 09:53 AM

      As this is not an option within game or from battlemod, does anyone happen to know of a method to block the following messages from appearing in chat log?

       

      1. Exp/Limit/Capacity

      2. Drops

      3. Records of Eminence messages

       

      I currently multi-box and the flood of text can cause issues with some programs that have chat abilities, needlessly consuming cpu/ram from the less important instances running. 

       

      Any help is greatly appreciated :)



      #2 modena

      modena

        Member

      • Members
      • PipPip
      • 28 posts

        Posted 15 September 2014 - 11:14 AM

        Nevermind, I've since figured out a way to do it with lua.



        #3 Inecroloot

        Inecroloot

          Newbie

        • Members
        • Pip
        • 9 posts

          Posted 08 October 2014 - 08:26 AM

          Mind sharing? 



          #4 Arcon

          Arcon

            Advanced Member

          • Windower Staff
          • 1189 posts
          • LocationMunich, Germany

          Posted 08 October 2014 - 10:30 AM

          Can make a blank addon and add the following:

           

          require('sets')
          
          filter = S{
              'You find * on *.',
              'You gain * points.',
              'Other text you wanna filter'
          }
           
          windower.register_event('incoming text', function(text)
              for match in filter:it() do
                  return windower.wc_match(text, match)
              end
          end)

           

          Note that I have not tested this, no guarantees.






          1 user(s) are reading this topic

          0 members, 1 guests, 0 anonymous users