Warden

From StealthBot Wiki

(Redirected from The Warden)
Jump to: navigation, search

Warden is an anti-cheating mechanism developed by Blizzard Entertainment for all of their clients. Currently it is active on World of Warcraft, StarCraft, and WarCraft III, Diablo II (in game only as of yet), and all of those games' expansions.

Contents

Warden in Games

Every time you connect to Battle.net, your game downloads raw machine code (think of it as a stripped down DLL) and executes it. Then Battle.net asks your client to check specific regions of the game's memory and report back. If the memory segments you respond with are not the anticipated value, you are marked as a cheater and kicked from Battle.net.

Warden in Bots

Warden affects bots because they simply don't respond to Warden's requests. That's not what Battle.net anticipates, so you get kicked after two minutes. Battle.net doesn't know that your connection is a bot, because the bot is a good enough emulation of Blizzard's clients. If it did, it would instantly kick all bots off. Blizzard doesn't support third-party clients.

Warden in StealthBot

StealthBot can use Warden.dll, a library Hdx wrote that will handle and respond correctly to Warden's requests. It is in a DLL format so that it can be updated without needing an update to a bot, because Warden itself can be updated at any time.

Warden.ini is a configuration file used by Warden.dll. It contains the memory segments Warden is looking for. Without those, you could not respond to its requests, and once again, you'd be kicked from Battle.net.

Frequently asked questions

  • Question: What if it says the following and disconnects me after three minutes?
    Error

    [07:50:23 PM] [Warden] Could not read segment from Warden.ini, you will be disconnected soon
    [07:50:23 PM] [Warden] Make sure you've got the latest Warden data from http://www.stealthbot.net/redir/warden/

  • Answer:

    There are a few things that cause this. An update to Warden, a new patch coming out for your product, or you messing with Warden.ini's data. In all 3 cases it's a simple fix. Download the latest zip file and extract it to your bot's folder, replacing anything it asks you to. Important: This must be done while the bot is closed!

    If that does not fix it, wait a while because someone most likely needs to update the data in the zip file. This usually happens on patches as it takes a few minutes to gather all the information that's needed.


  • Question: My anti-virus program pops up saying something about 'Data Execution'. What is this?
  • Answer:

    This should never happen, but some over-zealous anti-virus programs may detect a buffer overflow exploit and stop it. This is simply how Warden works, so you'll have to disable your anti-virus program if it's giving you this problem. Though, as mentioned, this should never happen. If it does please post with screenshots and the version of your anti-virus on the forum.


Warden.zip

This archive is provided on the StealthBot forums and is maintained by the staff to provide the following files for Warden support with StealthBot and any other bot designed to support the library.

Warden.dll

Main article: Warden.dll

This DLL was developed by Hdx to work with any Battle.net bot to respond correctly to Warden's requests. Place this in your bot's folder.

Warden.ini

Main article: Warden.ini

This INI file comes with Hdx's Warden.dll to store offsets so that users don't need to acquire them with the use of the game files. Place this in your bot's folder.

Zlib1.dll

This is the standard zlib library which the DLL uses to deflate (a form of decompression) the warden modules. Place this in your bot's folder.

See also