The source of version 1.2 is now available at the SVN, including support for 3.3.5. All systems should be working fine and dandy now, enjoy.
Binary download available as well:
http://code.google.com/p/blackrainob...0.rar&can=2&q=
Oh and, thanks to Nesox for a few parts of the code in it.
Last edited by Seifer; 07-26-2010 at 06:10 PM.
After a bunch of years playing the game and doing lots of multiboxing I finaly got bored with that. I started to read up on mmowned to get into the memory reading and writing part of bots. Really love this framework since for me it is an easy way into making my first "bot" since C# is my nr. 1 love.
Thanks for the effort you and others have put in this framework. I know there are many others on this board that reserve +rep but since I use your framework for now this is where I start.
I have some problem when i use ObjectManager
these is the code in ObjectManager.cs
the linePHP Code:
public static void Initialize(int pID)
{
if (Initialized) // Nothing to do if we're already initialized.
return;
Memory = new BlackMagic(pID);
try
{
var TLS =Memory.FindPattern(
"EB 02 33 C0 8B D 00 00 00 00 64 8B 15 00 00 00 00 8B 34 8A 8B D 00 00 00 00 89 81 00 00 00 00",
"xxxxxx????xxx????xxxxx????xx????");
if (TLS != uint.MaxValue)
{
var ClientConnection = Memory.ReadUInt(Memory.ReadUInt(TLS + 0x16));
var ClientConnectionOffset = Memory.ReadUInt(TLS + 0x1C);
CurrentManager = Memory.ReadUInt(ClientConnection + ClientConnectionOffset);
PlayerGUID = Memory.ReadUInt64(CurrentManager + 0xC0); // Store the player's GUID.
}
}
catch (Exception ex)
{
Logging.WriteException(Color.Red, ex);
}
}
var TLS =Memory.FindPattern(
"EB 02 33 C0 8B D 00 00 00 00 64 8B 15 00 00 00 00 8B 34 8A 8B D 00 00 00 00 89 81 00 00 00 00",
"xxxxxx????xxx????xxxxx????xx????");
the Pattern "EB 02 33 C0 8B D 00 00 00 00 64 8B 15 00 00 00 00 8B 34 8A 8B D 00 00 00 00 89 81 00 00 00 00", How can I get the Pattern in wow.exe ver 3.1.3 .In china ,wow version is still 3.1.3,the lastversion of blackrain is for wow 3.3.5.
I just want to know how can I get the pattern what i need to find .
Take a deep look at 0x7C0740 in the 3.1.3 client. Compare to 0x4d7750 from 3.3.5 and figure out what the code you pasted is searching for.
Actually, they're fine. See quote:
On the other hand, GetUnitName is one big function and it does a lot more than the code in BlackRain. Point is, go injected. Anyway, enough trolling this thread.Code:.text:0072A275 mov esi, [esi+964h] .text:0072A27B test esi, esi .text:0072A27D jz short loc_72A24D .text:0072A27F mov eax, [esi+5Ch]
Good job with this project Seifer. I think you have to learn a little more about svn repositories and branching because you're not using it well
Last edited by Seifer; 08-01-2010 at 02:57 PM.
Thank for this awesome stuff!
Last edited by homer91; 09-14-2010 at 04:48 PM. Reason: correction
Will be updated as soon as I get around doing it. Also accepting community input and changes, freely PM me any working updated parts of BlackRain you have, and once tested they will be added to the SVN.
I'll be making the first few changes to the ObjectManager and add relative address support.
If people want BlackRain to work with 4.0.1, I released a *.diff (see attachment) that upgrades the latest revision (rev-07272010-v1.2.0.1) and gives it 4.0.1 compatibility. Enjoy.
So far, everything I've tested is working.
Thanks to everyone here for some of the updated descriptors and offsets.
BlackRain 4.x.zip
BlackRain has been updated with Ddebug's patch, and thus has entered a beta stage for compatilibity with 4.0.1.
Revision 50 on the SVN: blackrainobjects - Project Hosting on Google Code
As always, use the Issue Tracker for any problems you may find: Issues - blackrainobjects - Project Hosting on Google Code
Reports through PM will not be reviewed as quickly as Issue Tracker ones!
Furthermore, greetings and credits fly out to everyone contributing in the 4.0 migration thread. It's thanks to their amazing work that you are able to use stuff like this from patch to patch.
Enjoy.