The Gold Road Chapter – which includes the Scribing system – and Update 42 is now available to test on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/discussion/656454/
Maintenance for the week of April 22:
• PC/Mac: NA megaserver for maintenance – April 25, 6:00AM EDT (10:00 UTC) - 2:00PM EDT (18:00 UTC)
https://forums.elderscrollsonline.com/en/discussion/comment/8098811/#Comment_8098811

SpamBayes for the Elder Scrolls Online

class101
class101
✭✭✭
SpamBayes for The Elder Scrolls Online is a bayesian antispam for The Elder Scrolls Online with the exact same algorythm as seen in spambayes

Features:
  • Bayesian classification of messages
  • Scores from 0 to 100% messages
  • By default, messages from 0-20% are ham, 20-90% are unsure and 90% and greater are spams
  • Hides the spam, your ignore list is not used
  • Maximum transparence, every message, spam included, is displayed in a control center
  • Message training is done by right-clicking the player name
  • Extra option : filters colors in colorful player messages
  • Extra option : filters friends logged ON/OFF ui messages
  • Extra option : adds player names to context menu
  • Extra option : adds copy to clipboard to context menu
  • Developed with performance in mind, very small code

Terminology used:
  • Ham : A ham is a legit message, a wanted message, the opposite of a spam
  • Spam : A spam is an unwanted message, typically they are gold spams, but you can extend a spam to be a guild spam, trade spam, a specific country language you want to hide, etc.. possibilities are endless
  • Unsure : When the message is not a ham nor a spam. Your database is not filled enough to rate the message

Usage:
/spambayes or /sb to bring the UI
Right-click a player name to train a message

Zip:
Here

Source access:
svn is hosted here

Screenshots:
Main UI, Option panel and Spambayes in action with 5 spams and 43 hams trained
spambayes1.png

Same picture with the training panel on Right-click showing
spambayes2.png

As you see after training a few Vampire spams and hams, it is capable of blocking them
spambayes_salespam.png
Edited by class101 on May 10, 2014 5:21PM
  • Smaxx
    Smaxx
    ✭✭✭✭✭
    Interesting, have to try it. Although you definitely should try to add a screenshot from ESO to it. Plus the link handling is missing the special color "ignore", which may be used. Those links won't change text color but they're still links. Oh, and one more thing. Player names. For comparison, just strip the "^" and everything behind (or ignore it). "^Mx" is appended to male player characters only. For females, it's "^Fx"!
    Edited by Smaxx on April 29, 2014 7:54AM
  • class101
    class101
    ✭✭✭
    I don't see what you mean for "ignore" ?

    Else fixed ^Fx ^Mx with a call to GetUnitGender in 10003.9

    Wow screenshots removed for Eso

    Anyway thanks for sharing your opinion, you're welcome =)
    Edited by class101 on April 29, 2014 11:37AM
  • Smaxx
    Smaxx
    ✭✭✭✭✭
    |Hignore:someotherstuff|hSome Stuff|h is a valid link in the game, without defining any specific color.

    Edit: Found a serious bug, with the addon enabled it's no longer possible to open containers using the context menu in inventory screens (you'll get an exception since "UseItem()" is private).
    Edited by Smaxx on April 29, 2014 1:56PM
  • class101
    class101
    ✭✭✭
    Sure that is what I do for Player's link
    local sender    = ("|H%s:%s:%s:%s|h[%s]|h"):format("ignore", not player:find("@") and CHARACTER_LINK_TYPE or DISPLAY_NAME_LINK_TYPE, player, LINEID_TAG..lineId, player)
    

    but not here as I was unsure the color be used one day, well that is much cosmetic changes anyway because changing it won't really change something
    return ("|H%s:%s|h[%s]|h"):format(color and color:ToHex() or "ignore", table_concat({type, ntext, id}, ":"), ntext)
    

    I may not see problem of this, anyway fixed yet in source trunk hehe
    Edited by class101 on April 29, 2014 2:07PM
  • class101
    class101
    ✭✭✭
    Added a third screenshot, as you see after training a few Vampire spams and hams, it is capable of blocking them.

    Let's burn these greedy sellers =)

    spambayes_salespam.png
Sign In or Register to comment.