• Warhammer Online Addons
  • Warhammer Online
  • Average Rating:

  • Your Rating

  • Share
  • Report Abuse

LibFilter

 

Project Updated:
Files Updated: Fri, Nov 21 2008
Supports Game Version: Beta 3.0
Category: Chat & Communication, and Development Tools
Tags:

[Edit Tags]

Project Manager: instant
Additional Authors: No additional authors
Current Version: LibFilter v1.0 beta
License: Public Domain
Development Site: CurseForge
Avg Daily DL (last 30 days): 0
Downloads Total: 369
Favorites: 2
Comments: 0
  • Curse Giveaways
  • Alganon

    Alganon

    Alganon Open Beta Key Giveaway Alganon is an upcoming fantasy-based MMORPG that allows thousands of people to play together in a virtual world that features a rich history dominated by commanding deities...

    Get Key

  • Contests
  • About LibFilter
  •  

LibFilter - Filtering for you!

Current Author:     instant (instant0@gmail.com)
Version:     Release 1.0 beta (2008-11-21)
Website:     http://www.bod-guild.com
-------------------------------------------------------------------------

What is LibFilter:

LibFilter is a library that addon authors can utilize to create custom
filters to use for sending chat messages to the client.

By using a custom filter, you have the option to pick the colour and
what tab to display the text in, and you also give the user customization
options(*) to decide him/herself where they want the text to be displayed,
and how it should look.

-------------------
How does it work:
-------------------
LibFilters adds the supplied information (supplied by developer using the library) to the ingame chat filtering database.

This is done through the following code:

 LibFilter.AddCustomFilter(UNIQUEID, FRIENDLYNAME, TAB, R, G, B)

Example:
 LibFilter.AddCustomFilter(1234, "Addons", 1, 255, 190, 0)

The formatting is as follows:
- UNIQUE ID, FRIENDLY NAME, CHAT TAB, RED, GREEN, BLUE

- UNIQUE ID for the chat text. This is the "ID" you will send text to using for example:  
  
 local outp = "Hello World, Hei og Hopp";
 TextLogAddEntry("Chat", 1234 , StringToWString(outp));

As you see we use the value '1234' in TextLogAddEntry, the same as our UNIQUE ID above. This can easily be replaced with a variable you define at the start of your project.

The "Chat" text needs to be supplied. StringToWString is optionable, depending on the text/values you are printing out.  

- FRIENDLY NAME is the name the user will see in his filtering/colouring options

- CHAT TAB is the chat tab the text is to be output to. Currently the Library removes filtering for all other chat tabs for the specified ID. By Default, Chat is 1, Combat is 2, etc.

- RED, GREEN, BLUE are the RGB values from 0-255 for each colour value. The source code for LibFilter contains a small list of some of the most used colours.

------------------
KNOWN LIMITATIONS
------------------
* This library does not remember the user settings between each session
(nor does the game for that matter)
* This library will only add the chat text to 1 channel, unless the user selects more (which of course, the settings will be reset upon CTD/Logou/Reloadui)

------------------
THANK YOUS
------------------
- WAR Addon Community
- WARDIFF at http://code.google.com/p/wardiff/

  • Downloads (1)
  •  
File Name Release Type Game Version Downloads Date
Addon Curse.com Beta 2.3.3 0 9/29/2008
  File Name Release Type Game Version Downloads Date  
  LibFilter v1.0 beta Release Beta 3.0 369 11/21/2008
  • 1 page(s)
  • Comments

Add Comment  

Add

You need to login or register to post.

Benefits of Registration

  • Interact with hundreds of thousands of other gamers on an open social network.
  • Post your stories, news, images, videos, and other content to share.
  • Create a network with your fellow gamers or join an existing one.
  • Gain reputation for everything you do.
  • Similar Addons
  •  

Average downloads per day

  1. 310 LibSlash Development Tools
  2. 118 Phantom Buffs & Debuffs, Development...
  3. 58 LibSurveyor Development Tools
  4. 55 NerfedButtons Action Bars, and Development...
  5. 20 TortallDPSCore Combat, and Development Tools