hypernormalisation / Scambuster

Addon to alert you of scammers and toxic players, curated by the people who know your realm the best.
GNU General Public License v3.0
3 stars 3 forks source link

Name only matches don't appear to work #21

Open khallaah opened 9 months ago

khallaah commented 9 months ago

I'm attempting to create a new provider for our realm Shadowstrike (AU).

With the default report matching configuration, e.g.

image

With the following character data, an alert is not triggered:

        ...
    [48] = {
        name = "Sorrynotsry",
        class = "ROGUE",
        faction = "Horde",
        level = 3,
        category = "raid",
        description = "test",
        url = "https://zombo.com",
    },

However, if I give the character a GUID, e.g.

    [48] = {
        name = "Sorrynotsry",
        class = "ROGUE",
        guid = "Player-5818-00A66816",
        faction = "Horde",
        level = 3,
        category = "raid",
        description = "test",
        url = "https://zombo.com",
    },

then an alert is triggered as expected.

Unfortunately there is no API support for seasonal classic realms as far as I'm aware, so finding GUIDs for players in the blacklist is a bit painful.

CeiCode commented 8 months ago

I was testing this on Crusader Strike eu realm and I had normal warnings for players without GUID. Maybe you didn't get return due to timeout in options. Set it to 0 when testing. For GUID grab you can check my fork, I've packed into extension addon small frame that allows grabbing GUID manually via button press. GrabGUID.lua file, just add it to your repo and add it to toc file. Should work fine. I've also sorted auto updates when publishing releases via wowup for extension addon and so far this works like a charm. Even if framework is wotlk native, I yet need to experience any errors on classic.