Latest revision implements 2 new features that I noticed people were requesting...
+ ADDED: Get Unit Class.
+ ADDED: Get Unit Race.
Latest revision implements 2 new features that I noticed people were requesting...
+ ADDED: Get Unit Class.
+ ADDED: Get Unit Race.
Last edited by ddebug; 10-24-2010 at 12:19 AM.
I believe your location information in your Offsets.cs needs to be updated.
In your code(Facing is actually Pitch):
It believe it should be (Facing and Pitch updated):Code:/// <summary> /// Memory locations specific to the WowObject type. /// </summary> public enum WowObject : uint { X = 0x880, Y = 0x884, Z = 0x888, GameObjectX = 0x110, GameObjectY = 0x114, GameObjectZ = 0x118, Facing = 0x894, }
Code:/// <summary> /// Memory locations specific to the WowObject type. /// </summary> public enum WowObject : uint { X = 0x880, Y = 0x884, Z = 0x888, GameObjectX = 0x110, GameObjectY = 0x114, GameObjectZ = 0x118, Facing = 0x890, Pitch = 0x894, }
Is BlackRain still being maintained and updated?
Last edited by Fabolous1; 01-15-2011 at 03:06 AM.
Just use WRadar's BlackRain. They have an updated BlackRain.
http://www.mmowned.com/forums/world-...radar-wow.html
https://github.com/LaoArchAngel/WRadar
I have been messing with trying to return the Name of objects and players as a string, and can't seem to get it working no matter what I do. I'm using
This in WowUnit
and WowGameObjectCode:public virtual string Name { get { try { return Magic.SMemory.ReadASCIIString((IntPtr)_wowProc[0].Id, Magic.SMemory.ReadUInt((IntPtr)_wowProc[0].Id, Magic.SMemory.ReadUInt((IntPtr)_wowProc[0].Id, BaseAddress + 0xA24) + 0x60), 40); } catch (Exception) { return string.Empty; } } }
I can't even get it to just return the name for NPCs. I am using BlackMagic as a memory library and also have tried ReadUnicodeString too, still no results. These offsets are the most recent offsetsCode:public string Name { get { try { return Magic.SMemory.ReadASCIIString((IntPtr)_wowProc[0].Id, Magic.SMemory.ReadUInt((IntPtr)_wowProc[0].Id, Magic.SMemory.ReadUInt((IntPtr)_wowProc[0].Id, BaseAddress + 0x1CC) + 0xB4), 40); } catch (Exception) { return string.Empty; } } }
This is pretty much what I used in 3.3.5
I can't say anything for certain but looking at your code I'd think that the offsets were wrong.
Did you find them yourself? If not, can you provide a link to where you found them.
Code:uint unitNameBaseOffset1 = 0x964, uint unitNameBaseOffset2 = 0x5C, uint pName1 = ProcessManager.WowProcess.ReadUInt(ObjectPointer + unitNameBaseOffset1); uint pName2 = ProcessManager.WowProcess.ReadUInt(pName1 + unitNameBaseOffset2); return ProcessManager.WowProcess.ReadASCIIString(pName2,40);
I got my offsets from the new 4.0.6:13623 info dump thread, more specifically:
The code I use was adapted to my Blackrain project from XRadar, trying to use how they returned their names.
When I run my program I get an error saying Unhandled exception has ocurred in your application, blablabla. Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
It stops listing the objects after my target when I try returning my targets name and gives that error.
Last edited by Fabolous1; 02-27-2011 at 12:10 AM.
BlackRain's core has been updated to work with World of Warcraft 4.0.6. There are bound to be some things that don't work properly or are bugged; please report them to the issue tracker on our Google Code page.
There will - from now on - be a central page where you can always download the latest (and often, greatest) BlackRain package: blackrain world of warcraft
Make sure to download the BlackRain package from there, launch World of Warcraft, log into your character, and then run rain.exe. Press make it rain, and if everything goes well, it should tell you BlackRain is functional. If it's not, then you don't want to use it. Really. Just wait for an update.
Have fun, and I hope the "new theme" tickles your geek nerve.
Lulz @ the song, you don't this on a svn anymore?
Edit, found it...
Last edited by snigelmannen; 03-03-2011 at 12:27 PM.
" Spy sappin mah sentry! "
Hi,
I have a rather weird problem atm using BlackRain.
For some reason there are only some properties that display the correct values.
(Ex ObjectManager.Me.Location, ObjectManager.Me.Type, ObjectManager.Me.GUID, ..)
Hower most of the properties return the wrong information, including but not limited to: class, health, mana, level, mounted, ...
Using latest BlackRain with the correct WoW version
(rain.exe executes succesfully and tells me I'm ready to use BlackRain in my project)
Any suggestions how to solve this would be greatly appreciated.