GithubHelp home page GithubHelp logo

ostoic / raidbrowser Goto Github PK

View Code? Open in Web Editor NEW
34.0 4.0 16.0 355 KB

Bringing LFR to Wrath of the Lich King (Non-Classic)

License: MIT License

Lua 100.00%
world-of-warcraft addon world-of-warcraft-addon warmane raid-finder wotlk

raidbrowser's Introduction

License: MIT

RaidBrowser

Bringing LFR to Wotlk (Non-Classic).

This addon replaces the unused (in 3.3.5a) LFR tab in the social menu with a working raid finder. RaidBrowser works similarly to Live WoW's group finder, except raid leaders do not need to interact with the addon to list their group. RaidBrowser searches for LFR messages sent in chat and /y channels and lists any found raids in the "Browse" tab of the raid browser.

When searching for a raid to join in Global, there can be large amounts of text (and meaningless spam) to read in order to find anything. This addon does all the text processing work and lists all the raids in a coherent format. Each entry in the raid browser is formatted as follows to include raid leader name, raid name, gearscore requirements, and the list of needed roles (tank/healer/dps).

alt text

No longer will you join a raid and embarrass yourself upon realizing that you've already been locked into that raid for the week. RaidBrowser clearly highlights locked raids in red (e.g. alt text ). Any raids for which you are not saved are marked in bright green (e.g. alt text ). Thus, you will know beforehand whether you should ignore that raid or not.

Features

  • Easily find raids hosted by other players by searching for "LFM barks" in global/trade/any chat channels. Raids are listed along with the required roles, and the minimum gearscore requirement, if any were mentioned in the message.
  • Identifies saved raids by coloring their name as red for locked raids, and green for unsaved raids.
  • Join / Double click: After clicking on an entry in the raid browser, send a formatted message to the raid host with your GS, class, spec, and highest achievement obtained for that raid.
  • Tooltip Hover: Hovering your mouse over an entry in the raid browser shows the original chat message, as well as how long it's been since the message was sent.
  • Create primary and secondary raid sets (Ex: Elemental 5641gs) for use in join messages. In the given example, your message will be formatted in a manner similar to "inv 5641gs Elemental Shaman ". If you are pvping in WG while searching for raids, the addon will send information from the currently selected raidset to the raid host instead of your pvp (spec, gs).
  • Raid hosts that do not send a message after 1-2 minutes will have their entry expire in the raid browser. This ensures that the raid browser does not become cluttered.

How to Download

In order to download the latest stable version, click on "releases" which is in the repository statistics tab under the addon description (example: https://github.com/Ostoic/RaidBrowser/releases/latest). The .zip file is the addon folder, so make sure you unzip that folder to one named "RaidBrowser", then follow the instructions below.

Installation and Usage

As with any other addon, copy the RaidBrowser folder into your %WoW Folder%/Interface/AddOns directory. When ingame, type /rb to activate the raid browser UI. Alternatively, the interface can be accessed as follows:

  1. Open the social menu (Press O),
  2. Select the "Raid" tab,
  3. Click "Open Raid Browser"

It is important to join the global channel in order for the addon to find raids. If you don't want your chat window to be filled with global chatter, you can simply hide the global channel from your default chat window.

  1. Right click the "General" tab
  2. Click settings (under Filters)
  3. Select the Global Channels tab
  4. Make sure "global" is unchecked in the list of channels.

Now RaidBrowser will be able to find raids without having global being dumped into the General chat window.

See the common issues section for further help.

Examples

alt text alt text alt text

Common Issues

Improper Addon Placement

A fairly common issue when unzipping the addon is that your zip program puts the addon at RaidBrowser/RaidBrowser. Make sure that when you open the folder in the Addons directory (in %WoW Folder%/Interface/AddOns), you see all the .lua files (core.lua, RaidBrowser.toc, etc). Make sure you can see RaidBrowser.toc by going to %WoW Folder%/Interface/AddOns/RaidBrowser/RaidBrowser.toc.

Todo

  • Further improve pattern matching for better detection of LFM messages.
  • Raid host tab where "Inv x gs [achieve]" messages are parsed similarly to how LFM messages are parsed. Can select raid to host, GS min req, achievement requirement, etc which will be formatted into an auto-barked message sent to the specified channel.
  • If you run into any bugs, such as incorrect information being reported by the addon, send me a screenshot/copy of the original message and the incorrect information the addon displayed.
  • Suggestions?? Open up an issue or send me a message ingame/in discord.

Remark

Be aware that since it is difficult to consider every possible LFM message that someone could think of, this addon may consider false positives, or may omit valid LFM messages. As an example, some guild recruitment messages may be listed in the raid browser, since a lot of the language used in these messages is similar to LFM messages. On the other hand, a raid host may use unexpected words or grammar in their LFM message.

Acknowledgements

Thanks to the following people for feature ideas and bug reports:

  • Adidi
  • Swenson
  • Imbued

raidbrowser's People

Contributors

masscraxx avatar napnapnapnap avatar ostoic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

raidbrowser's Issues

Raidbrowser problem

In the raidbrowser tab when i hover the raid message it doesnt show the additional text. pls help
image

Size of The Columns

Hi. Is there any way to increase the size/width of the GS and Raid columns? If would be nice if I could also increase the size of the Raid Browser panel.

Event Callback Error

event callback error:
 Interface\AddOns\RaidBrowser\core.lua:768: invalid pattern capture

[Feature] Settings

It would be huge to be able to set some settings, like:

  • structure of inv message
  • short/full/custom spec names
  • use shorted GS (5,4k)
  • initial list sort behaviour
  • disable certain achievements for inv message (e.g. VoA)

This could either be another Tab in the RaidBrowserFrame or an entry in the Interface Settings.

It doen't work on warmane

It doen't work on warmane.
When I try to find party I can see ppl looking but I don't get annoucment in addon :(

rating

Allow for to save x-name as good/bad raid-leaders for later use and a quick tell of previous raids.

Invalid raidset bug when gs is omitted.

When information about the current spec is collected, there is a possibility that one of the two attributes (spec, gs) are omitted for whatever reason. The raidset frame then attempts to load an invalid spec/gs, resulting in a Lua error.

I believe gs is omitted in the case that an Unknown player is seen ingame and their gearscore is computed. Or when WoW's cache files are reset. Perhaps this leads to some kind of miscommunication between RaidBrowser and Gearscore?

Rare Addon Crash

Messages I believed to cause the error:
[14:36:19] [2. Trade] [REDACTED]: LFM ICC 25 REP FARM BOE RESS NEED ALL W/ME FOR [INV]
[14:36:19] [2. Trade] [REDACTED]: LFM<ICC10 11/12HC> Need 1heal,2tanks and rdps 6.2gs+(B+P Res) 5/10 [Heroic: The Crimson Hall (10 player)]
[14:36:19] [2. Trade] [REDACTED]: LFM<ICC10 11/12HC> Need 1heal,2tanks and rdps 6.2gs+(B+P Res) 5/10 [Heroic: The Crimson Hall (10 player)]
[14:36:19] [RaidBrowser]: event callback error:
Interface\AddOns\RaidBrowser\core.lua:730: invalid pattern capture

Better error messages are certainly needed!

Allow us to add keywords

for example, "LFM ZA etc..." isn't being registered, it needs Zul'Aman which nobody types.
I'm playing on 3.3.5 progressive server atm, so none of the vanilla dungeons are being registered (lbrs, ubrs, etc..)
Or for example, one wants prison runs brd to be shown, keyword (LFM) "prison".

Also would be nice to be able to modify other stuff, such as how long it takes for advert to disappear from the list
Letting us choose custom message for "join" function would be nice as well.

Cheers.

Custom formattered message

Hi, thx for this awesome addons!
One suggestion from me is that I can't custom the formatted message as I use Chinese client, so "inv 5641gs Elemental Shaman" would be "inv 5641gs xxx xxx" with Chinese words, this maybe similar on other client which language is not English, could u let us custom the message?

The Black Temple

Addon doesn't catch the name of The Black Temple and add to the list. Neither on yell nor channels.

Edit: Using "The Black Temple" achivement for LFM messages.

Tooltip no longer showing up

I've been using this addon for a while now while playing on Warmane, but yesterday or today suddenly the tooltip on hover stopped working. I'm referring to the original text you get to see when you post over an entry in the Raid Browser frame.

I did not install any new addons, and I've even tested the addon by running it on a fresh WoW install without any addons other than this one, and the result is always the same.

I turned on Lua error display as I figured something must be going wrong, and indeed, upon hovering over the entry I then get the following:

Message: [string "local a=GameTooltip;local b,c,d,e,f,g,h,i=a..."]:1: bad argument #3 to 'format' (number expected, got nil)
Time: 01/24/23 17:42:57
Count: 1
Stack: [C]: in function `format'
[string "local a=GameTooltip;local b,c,d,e,f,g,h,i=a..."]:1: in function <[string "local a=GameTooltip;local b,c,d,e,f,g,h,i=a..."]:1>

Locals: (*temporary) = "%s %u |c%s%s (%u/%u/%u) (%.0f)"
(*temporary) = "Level"
(*temporary) = nil
(*temporary) = "ffffd100"
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "number expected, got nil"

As mentioned, the addon has been working fine for months and only now this error popped up, even on a fresh WoW install.

Also maybe worth mentioning is that I tried replacing my addon with the latest version from here on Github, but this didn't make a difference (possibly even was the same version, didn't check).

Lua Error

[RaidBrowser]: event callback error:
Interface\AddOns\RaidBrowser\core.lua:768: invalid pattern capture

Black Temple Lock Info Not Updating

After having done Black Temple, Adidi noticed that lock info was not updating in RaidBrowser. Thus it would seem like you are not locked for Black Temple, despite having just done the raid.

Locale pls

Add localization files from ruRU, and scan other channel please.

Issue with Join message

The "Join" button nor double clicking does not seem to be working for me. I have tried with the Active and specific spec settings on multiple characters.
Contrary to the screenshots in the ReadMe section the addon does not even recognise any GS when saving a spec. I am suspecting my gearscore addon not being compatible

Wow_2023-02-05_11-21-35

Tooltip not showing

When i mouseover the "LFG message" in the browse addon it dont show me a tooltip with what they actually said.
Edit: I have tried it without Elvui addon aswell. Does not help sadly
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.