[C#][Source] BlackRain - Simple Object Manager Library menu

Shout-Out

User Tag List

Page 12 of 14 FirstFirst ... 891011121314 LastLast
Results 166 to 180 of 196
  1. #166
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by souldipper View Post
    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.
    Probably just a descriptor problem. I've not tested this revision of BlackRain beyond the launcher, simply because I haven't even had an active World of Warcraft account for over a year now.

    However, there's a huge public thread that contains pretty much all offsets you could want per version, take a look at it, or even better - reverse them yourself. If you find something else being the cause, submit an issue on the Google Code SVN and I'll take a look at it. Or one of the other dead devs. Who knows.

    [C#][Source] BlackRain - Simple Object Manager Library
  2. #167
    m4ximus's Avatar Private
    Reputation
    1
    Join Date
    Mar 2011
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    found small bug in method below

    public static T ReadRelative<T>(uint address)


    From:
    case TypeCode.Int16:
    ret = Memory.ReadUShort(address);

    case TypeCode.Single:
    ret = Memory.ReadShort(MakeAbsolute(address));

    To:
    case TypeCode.Int16:
    ret = Memory.ReadShort(address);

    case TypeCode.Single:
    ret = Memory.ReadFloat(MakeAbsolute(address));


    additionally since the existing code for reading storage fields was not working i started to use the following methods:

    Code:
     #region <Storage Field Methods>
    
            protected byte ReadStorageByte(uint field, uint pos)
            {
                var storage = ObjectManager.Read<uint>(BaseAddress + 0x08);
                return ObjectManager.Memory.ReadByte((storage + field) + pos);
            }
    
            protected int ReadStorageInt(uint field)
            {
                var storage = ObjectManager.Read<uint>(BaseAddress + 0x08);
                var result = ObjectManager.Memory.ReadInt(storage + field);
                return result;
            }
    
            protected uint ReadStorageUInt(uint field)
            {
                var storage = ObjectManager.Read<uint>(BaseAddress + 0x08);
                var result = ObjectManager.Memory.ReadUInt(storage + field);
                return result;
            }
    
            public ulong ReadStorageUInt64(uint field)
            {
                var storage = ObjectManager.Read<uint>(BaseAddress + 0x08);
                var result = ObjectManager.Memory.ReadUInt64(storage + field);
                return result;
            }
    
            #endregion
    everythign seems to be reading correctly after the change is made o.O not sure why yet.
    Last edited by m4ximus; 03-29-2011 at 07:21 PM.

  3. #168
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Could pass on the Type parameter to Read<T> as in the following example:

    Code:
    protected T GetStorageField<T>(uint field) where T : struct
            {
                field *= 4;
                var descriptorStack = Manager.Read<uint>(BaseAddress + 0x8);
    
                return Manager.Read<T>(descriptorStack + field);
            }
    If anyone could give that a go and report back their findings would be great, I've no active WoW account and don't plan to ever get one again, either.

  4. #169
    TenshiSan's Avatar Active Member
    Reputation
    33
    Join Date
    Apr 2011
    Posts
    30
    Thanks G/R
    0/27
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Windows.Forms;
    using BlackRain.Common.Objects;
    using BlackRain.Common;
    
    namespace WindowsFormsApplication1
    {
        static class Program
        {
            /// <summary>
            /// The main entry point for the application.
            /// </summary>
            [STAThread]
            static void Main()
            {
                readonly Process[] _proc = Process.GetProcessesByName("Wow.exe");
                ObjectManager.Initialize(_proc);
    
                ObjectManager.Pulse;
                foreach (WowObject obj in ObjectManager.Objects)
                {
                     lst_Objects.Items.Add(string.Format("GUID: {0} | Entry: {1} | Type: {2}", obj.GUID, obj.Entry, obj.Type));
                }
            }
        }
    }
    ------ Build started: Project: WindowsFormsApplication1, Configuration: Debug x86 ------
    C:\Users\Simon\Documents\Visual Studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs(18,13 ): error CS0106: The modifier 'readonly' is not valid for this item
    Last edited by TenshiSan; 04-11-2011 at 12:28 AM.

  5. #170
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Are you for real? Learn to code a language before you step into memory editing.

  6. #171
    !@^^@!'s Avatar Active Member
    Reputation
    23
    Join Date
    Feb 2007
    Posts
    155
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TenshiSan View Post
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Windows.Forms;
    using BlackRain.Common.Objects;
    using BlackRain.Common;
    
    namespace WindowsFormsApplication1
    {
        static class Program
        {
            /// <summary>
            /// The main entry point for the application.
            /// </summary>
            [STAThread]
            static void Main()
            {
                readonly Process[] _proc = Process.GetProcessesByName("Wow.exe");
                ObjectManager.Initialize(_proc);
    
                ObjectManager.Pulse;
                foreach (WowObject obj in ObjectManager.Objects)
                {
                     lst_Objects.Items.Add(string.Format("GUID: {0} | Entry: {1} | Type: {2}", obj.GUID, obj.Entry, obj.Type));
                }
            }
        }
    }
    ------ Build started: Project: WindowsFormsApplication1, Configuration: Debug x86 ------
    C:\Users\Simon\Documents\Visual Studio 2010\Projects\WindowsFormsApplication1\WindowsFormsApplication1\Program.cs(18,13 ): error CS0106: The modifier 'readonly' is not valid for this item

    Oh my........
    “Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning.” - Rich Cook

  7. #172
    Sychotix's Avatar Moderator Authenticator enabled
    Reputation
    1441
    Join Date
    Apr 2006
    Posts
    3,999
    Thanks G/R
    294/585
    Trade Feedback
    1 (100%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    That's not even something you need to know coding to understand. It tells you exactly what and where the problem is.

  8. #173
    lollollol1's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    26
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello gais! I don't get how to use this for example if i want to get the information from the fishing bobber to se if it has moved(a fish is hooked).

    Would be awesome if someone could help me out here^^

    ///lollollol1

  9. #174
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lollollol1 View Post
    Hello gais! I don't get how to use this for example if i want to get the information from the fishing bobber to se if it has moved(a fish is hooked).

    Would be awesome if someone could help me out here^^

    ///lollollol1
    Maybe because it contains nothing about it?

  10. #175
    ~Unknown~'s Avatar Contributor
    Reputation
    193
    Join Date
    Jan 2009
    Posts
    211
    Thanks G/R
    0/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lollollol1 View Post
    Hello gais! I don't get how to use this for example if i want to get the information from the fishing bobber to se if it has moved(a fish is hooked).

    Would be awesome if someone could help me out here^^

    ///lollollol1
    In addition to what mic said, I believe this library isn't updated for the newest patch anyway.

  11. #176
    lollollol1's Avatar Member
    Reputation
    1
    Join Date
    Mar 2008
    Posts
    26
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ohh okey i'll guess i have to learn some more about it then ^^ Thanks for your answere!

  12. #177
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ~Unknown~ View Post
    In addition to what mic said, I believe this library isn't updated for the newest patch anyway.
    You only need to update the descriptor indices and update it to look for them at 0xC. Along with a copy/paste from the info dump for the offsets and you're good to go. Nothing major has changed ever since I last updated this. Anyway, there are some spin-offs of BlackRain in several other projects which do contain up-to-date copies of the library. You may want to take a look at those.

  13. #178
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1627
    Join Date
    May 2010
    Posts
    1,846
    Thanks G/R
    193/539
    Trade Feedback
    16 (100%)
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Seifer! Your Alive! Still Retired?

  14. #179
    Seifer's Avatar Site Donator
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    270
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarkLinux View Post
    Seifer! Your Alive! Still Retired?
    Sort of. I'm working on other games than World of Warcraft.

    I might check back here occasionally and perhaps even write a thing or two if I'm in the mood. Probably won't be an update to BlackRain in all honesty, but perhaps something more powerful.

  15. #180
    ~Unknown~'s Avatar Contributor
    Reputation
    193
    Join Date
    Jan 2009
    Posts
    211
    Thanks G/R
    0/5
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Seifer View Post
    You only need to update the descriptor indices and update it to look for them at 0xC. Along with a copy/paste from the info dump for the offsets and you're good to go. Nothing major has changed ever since I last updated this. Anyway, there are some spin-offs of BlackRain in several other projects which do contain up-to-date copies of the library. You may want to take a look at those.
    Yeah, I personally still use blackrain for a couple of my projects. I was just letting that poster know it wasn't updated. If only I wasn't so lazy and I would just use EnumVisibleObjects....

Page 12 of 14 FirstFirst ... 891011121314 LastLast

Similar Threads

  1. [C#][Source] Radar and Object Manager Tester / Verifier
    By xochi in forum WoW Memory Editing
    Replies: 18
    Last Post: 01-08-2011, 02:04 AM
  2. [Source] WPF Wow Object manager
    By !@^^@! in forum WoW Memory Editing
    Replies: 11
    Last Post: 01-26-2010, 04:13 PM
  3. Mobs missing from object manager.
    By RawrSnarl in forum WoW Memory Editing
    Replies: 23
    Last Post: 12-31-2008, 01:31 PM
  4. Object Manager
    By Shamun in forum WoW Memory Editing
    Replies: 11
    Last Post: 11-28-2008, 02:06 PM
  5. WoW Object Manager ?
    By discorly in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 07-28-2007, 06:34 PM
All times are GMT -5. The time now is 05:55 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search