[Release][C#]WhiteMagic - Injected .NET Helper Library menu

Shout-Out

User Tag List

Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 54
  1. #16
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Updated to 0.0.1.1, with a few fixes, and new features. (I think I addressed them all)

    - Added x64 support. Simply build with X64 as a define.
    - Added support to turn off most exceptions. Simply build with NOEXCEPTIONS as a define.
    - Cleaned up some code.
    - Added more documentation, etc.
    - Fixed a bug in the Detour class that caused it to crash. (Forgot to set the _win32 var)
    - Minor other fixes

    [Release][C#]WhiteMagic - Injected .NET Helper Library
  2. #17
    LegacyAX's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2009
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do'in The Dirty Dirty inprocess, But still as nice as always ... respect. +Rep

    *Spread once again

  3. #18
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LegacyAX View Post
    Do'in The Dirty Dirty inprocess, But still as nice as always ... respect. +Rep

    *Spread once again
    "Dirty dirty inprocess"?

    You're retarded.

    Neither method (in or out of process) is any more 'dirty' than the other. They both have benefits and they both have trade-offs.

  4. #19
    vulcanaoc's Avatar Member
    Reputation
    31
    Join Date
    Jul 2008
    Posts
    125
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think he may have meant "doing the dirty dirty", you know, like the rappers say.

    EDIT: relevant comment: I like the library name Apoc

  5. #20
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by vulcanaoc View Post
    I think he may have meant "doing the dirty dirty", you know, like the rappers say.

    EDIT: relevant comment: I like the library name Apoc

    At any rate, he's Jay/Krypton/etc so he's still retarded.

  6. #21
    LegacyAX's Avatar Active Member
    Reputation
    21
    Join Date
    Apr 2009
    Posts
    193
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It was a joke, chill your ass out. Get your facts str8 kid.

  7. #22
    kynox's Avatar Member
    Reputation
    830
    Join Date
    Dec 2006
    Posts
    888
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by LegacyAX View Post
    It was a joke, chill your ass out. Get your facts str8 kid.
    You're younger than Cypher. You don't get the right to call him a kid, kid.

  8. #23
    barthen's Avatar Contributor Authenticator enabled
    Reputation
    94
    Join Date
    Apr 2007
    Posts
    112
    Thanks G/R
    4/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for sharing. Does using the GPL as the license for the library force you to release you're private bot as GPL? :yuck:

  9. #24
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1358
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/6
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by barthen View Post
    Thanks for sharing. Does using the GPL as the license for the library force you to release you're private bot as GPL? :yuck:
    No, only if you use it in a PUBLIC bot. As long as it stays private the source can stay closed.

  10. #25
    Viano's Avatar Active Member
    Reputation
    37
    Join Date
    May 2008
    Posts
    172
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, call me an idiot but I do not understand the following function.

    Code:
    Read<IntPtr>(0x0123E908, 0x397C);
    Why are you adding these two addresses instead of just using one directly?

    Code:
    public T Read<T>(params IntPtr[] addresses)
            {
                var tmp = new List<ADDR>();
                foreach (IntPtr ptr in addresses)
                {
                    tmp.Add((ADDR) ptr.ToInt32());
                }
                return Read<T>(tmp.ToArray());
            }
    And maybe a question which will not be answered: How do you find those two addresses (0x0123E908, 0x397C)? Can you use Olly to do that? I am in the middle of Lena's tutorials but it would just be great to have a short or long () description on how to find EndScene() or other functions (always posted by Apoc in the offsets sticky) pointers in WoW?
    Last edited by Viano; 09-25-2009 at 08:45 AM.
    Viano

  11. #26
    Robske's Avatar Contributor
    Reputation
    305
    Join Date
    May 2007
    Posts
    1,062
    Thanks G/R
    3/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Viano View Post
    Ok, call me an idiot but I do not understand the following function.

    Code:
    Read<IntPtr>(0x0123E908, 0x397C);
    Why are you adding these two addresses instead of just using one directly?
    Double read

    [[0x0123E908]+0x397C]
    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." - Martin Golding
    "I cried a little earlier when I had to poop" - Sku

  12. #27
    Viano's Avatar Active Member
    Reputation
    37
    Join Date
    May 2008
    Posts
    172
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Robske View Post
    Double read

    [[0x0123E908]+0x397C]
    Yes, of course, but why not using 0x1242284 directly?

    Does the function Read(params ADDR[] addresses) read the base pointer value and then adds the value of the pointer plus offset to the value of the base pointer? Why?
    Viano

  13. #28
    MaiN's Avatar Elite User
    Reputation
    335
    Join Date
    Sep 2006
    Posts
    1,047
    Thanks G/R
    0/10
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Viano View Post
    Yes, of course, but why not using 0x1242284 directly?
    Because reading from 0x0123E908 doesn't *always* return 0x0123E908.
    [16:15:41] Cypher: caus the CPU is a dick
    [16:16:07] kynox: CPU is mad
    [16:16:15] Cypher: CPU is all like
    [16:16:16] Cypher: whatever, i do what i want

  14. #29
    adaephon's Avatar Active Member
    Reputation
    76
    Join Date
    May 2009
    Posts
    167
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Apoc Not meaning to necro-bump, but I was having a problem with finding whether a struct has the StructLayoutAttribute using
    Code:
    type.GetCustomAttributes(typeof(StructLayoutAttribute), true)
    and I remembered that your WhiteMagic library used that as well. So I tested it quickly with yours, using a small dummy struct with the StructLayout(LayoutKind.Sequential) attribute, and it always errors as well (relevant WhiteMagic code below). Any idea why GetCustomAttributes might ignore StructLayoutAttribute?

    Code:
            public T ReadStruct<T>(IntPtr address) where T : struct
            {
                if (!Utilities.HasAttrib<StructLayoutAttribute>(typeof(T)))
                    throw new MissingAttributeException("StructLayoutAttribute is missing.");
    
                return (T) Marshal.PtrToStructure(address, typeof (T));
            }
    
            internal static bool HasAttrib<T>(Type item)
            {
                return item.GetCustomAttributes(typeof (T), true).Length != 0;
            }

  15. #30
    Apoc's Avatar Angry Penguin
    Reputation
    1388
    Join Date
    Jan 2008
    Posts
    2,750
    Thanks G/R
    0/13
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by adaephon View Post
    @Apoc Not meaning to necro-bump, but I was having a problem with finding whether a struct has the StructLayoutAttribute using
    Code:
    type.GetCustomAttributes(typeof(StructLayoutAttribute), true)
    and I remembered that your WhiteMagic library used that as well. So I tested it quickly with yours, using a small dummy struct with the StructLayout(LayoutKind.Sequential) attribute, and it always errors as well (relevant WhiteMagic code below). Any idea why GetCustomAttributes might ignore StructLayoutAttribute?

    Code:
            public T ReadStruct<T>(IntPtr address) where T : struct
            {
                if (!Utilities.HasAttrib<StructLayoutAttribute>(typeof(T)))
                    throw new MissingAttributeException("StructLayoutAttribute is missing.");
    
                return (T) Marshal.PtrToStructure(address, typeof (T));
            }
    
            internal static bool HasAttrib<T>(Type item)
            {
                return item.GetCustomAttributes(typeof (T), true).Length != 0;
            }
    I'm honestly not sure, however, you can completely remove those checks if you understand that anything you pass to/from the marshaler needs to be properly defined. (Eg; structs MUST be adorned with the StructLayout attribute, and formatted properly, etc) Those checks were just to ensure 'new' users didn't get confused and post 58209482 questions because they failed to understand how things work.

    If you know how it works, you can remove most (or all) of the exception throwing. Some of them are just sanity checks, while others are 'noob-beater' checks.

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. [Release] LuaMe Version 1 (Script Helper)
    By Envoke in forum WoW EMU Programs
    Replies: 14
    Last Post: 04-05-2009, 03:05 AM
  2. [Release] Ascent/Arc/Asoure GM Helper
    By xeross155 in forum WoW EMU General Releases
    Replies: 5
    Last Post: 11-07-2008, 03:28 PM
  3. [Release]Custom Launcher[Vb.Net]
    By Emptie[Imp] in forum WoW EMU Programs
    Replies: 12
    Last Post: 10-13-2008, 01:13 PM
  4. [RELEASE] GamerzWoW Launcher - VB9.NET Source!
    By whitekidney in forum World of Warcraft Bots and Programs
    Replies: 9
    Last Post: 04-26-2008, 03:59 PM
  5. [RELEASE] GamerzWoW Launcher - VB9.NET Source!
    By whitekidney in forum WoW EMU Programs
    Replies: 0
    Last Post: 04-26-2008, 11:48 AM
All times are GMT -5. The time now is 06:53 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