Lockdown

From SkullSecurity
Revision as of 15:36, 1 June 2007 by 143.127.131.4 (talk)
Jump to navigation Jump to search

Those of you who know me know that I use Linux as my primary operating system. As a result, I am unable to connect to Battle.net with any clients. That is why, for the purpose of cross-platform compatibility, I'm posting source code that emulates Battle.net's lockdown system.

Note that this code was 100% written by me, and is available for free under the BSD license, which you will find at the top of all code files. The bottom line is that, if you wish to use the source, you may, provided that the file's copyright notice remains intact and that credit is given to the authors (in this case "x86" or, if you wish, "iago").

Note

Apparently, this only runs on my computer. It doesn't seem to be a major flaw, though, hopefully I'll be able to fix it shortly.

Downloads

  • Complete Project (Visual Studio 2005)
    • Although I'm packaging this with an executable, that executable assumes that you have all the files you need in the same place as me, which isn't likely.
  • Lockdown Source (important files only)
  • Screendump Executable (lets you take the screendump of games)


Here is a IDA database of the lockdown file I worked on. Should be somewhat educational:

Please note that this code is simply for demonstration, and has not been thoroughly tested. It doesn't do anything except calculate the values, so it's up to others to incorporate it into a bot or .dll or whatever.

The three main game files, the 20 lockdown files, and a screendump of the game are required. I cannot provide those here for legal reasons, unfortunately. The screendump can be taken with the screendump executable (extract into your game directory, follow the instructions at the top of the .bat file), and the rest you'll have to find on your own.

I believe that this code will work for any Blizzard product, but it has only been tested with original Starcraft.

If you think you can improve on my code, please feel free, and be sure to send me the final result! I am more than happy to incorporate your changes!

Enjoy, and please direct any questions to me: ronld@javaop.com