AntiCheat OCR

This section covers the anticheat OCR system.

WX AntiCheat, includes an OCR system that is used to scan the player's screen for suspicious text, mostly for cheat menus.

Configuration

Object whitelisting is handled through the config file, specifically the wx.whitelistedObjects table. This table contains a list of objects that will be ignored by the AntiCheat. By default, it contains all objects from scully_emotemenu.

wx.OCR = true
wx.OCRCheckInterval = 15000

wx.OCRWords = {
    "Suspicious",
    "words",
    "to",
    "scan"
}
  • wx.OCR: (Boolean) Enables the OCR system.
  • wx.OCRCheckInterval: (Number) The interval in milliseconds at which the OCR system will check the player's screen. The default value should not be changed.
  • wx.OCRWords: (Table) A list of words that will be scanned for on the player's screen.

Setup

  1. Enable the wx.OCR option in your config file.
  2. Review the wx.OCRWords option and add any additional words that you want to scan for.
  3. Configure your discord webhook in the Webhooks.OCR option in your webhook config file (see Webhooks).
  4. Restart the AntiCheat.

Explanation

The OCR system takes a screenshot of the player's screen every wx.OCRCheckInterval milliseconds and sends it to your configured discord webhook. It then searches the screenshot for any of the words in wx.OCRWords. If it finds any of the words, it will trigger a detection and punish the player according to your config.

Note: It's recommended to mute the channel for the OCR webhook, as it will send a lot of notifications.