Screenshot Thread menu

User Tag List

Page 55 of 116 FirstFirst ... 5515253545556575859105 ... LastLast
Results 811 to 825 of 1734
  1. #811
    Floppixx's Avatar Member
    Reputation
    1
    Join Date
    Oct 2009
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Update :


    Screenshot Thread
  2. #812
    tymezz's Avatar Member
    Reputation
    9
    Join Date
    Nov 2007
    Posts
    44
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Floppixx View Post
    Update :
    -snip-
    Looks like a good health monitor for when you don't have WoW focused :P
    Last edited by tymezz; 06-05-2010 at 06:14 AM.

  3. #813
    eLaps's Avatar Active Member
    Reputation
    34
    Join Date
    Sep 2007
    Posts
    123
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by tymezz View Post
    Looks like a good health monitor for when you don't have WoW focused :P
    But not so good for the "coordination"

  4. #814
    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)
    I don't think you're supposed to read coordinates as integers...
    "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

  5. #815
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Floppixx, Firstly coordinates are floats not integers. Secondly, what is that absolute horror of ReadProcessMemory!?


  6. #816
    Floppixx's Avatar Member
    Reputation
    1
    Join Date
    Oct 2009
    Posts
    17
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by suicidity View Post
    Floppixx, Firstly coordinates are floats not integers. Secondly, what is that absolute horror of ReadProcessMemory!?
    I know but I can´t read it as float xD My result to read it as float are error´s It´s not a horror. It is easy to understand ( i am a beginner) okay .... it is much work

  7. #817
    -Ryuk-'s Avatar Elite User CoreCoins Purchaser Authenticator enabled
    Reputation
    529
    Join Date
    Nov 2009
    Posts
    1,028
    Thanks G/R
    38/51
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    [COLOR=#EE82EE][B]Heres a little movie I made today!

    Includes StopFall/SlowFall/SuperJump/InstantDrop. All 100% safe(At least ive been using them and not banned!)

    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  8. #818
    namreeb's Avatar Legendary

    Reputation
    658
    Join Date
    Sep 2008
    Posts
    1,023
    Thanks G/R
    7/215
    Trade Feedback
    0 (0%)
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)
    Been playing with Heroes of Newerth


  9. #819
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Floppixx View Post
    I know but I can´t read it as float xD My result to read it as float are error´s It´s not a horror. It is easy to understand ( i am a beginner) okay .... it is much work
    A snippet from my Memory class..

    Code:
    /// <summary>
    /// Reads memory of the Initialized Process
    /// </summary>
    /// <param name="address">Address to read memory from</param>
    /// <param name="size">Size to read</param>
    /// <param name="ret">Buffer Array</param>
    /// <returns>Status of the Read if successful</returns>
    public bool ReadMemory(uint address, int size, ref byte[] ret)
    {
    	if (!Initialized)
    		throw new Exception("Memory not initialized.");
    
    	return ReadProcessMemory(Process.Handle, address, ret, size, 0);
    }
    /// <summary>
    /// Reads memory of the Initialized Process to the specified Type
    /// </summary>
    /// <typeparam name="type">Type to return</typeparam>
    /// <param name="address">Address to read memory from</param>
    /// <returns>Bytes read returned as Type</returns>
    public type Read<type>(uint address) where type : class
    {
    	// Make sure we're not trying to handle a string
    	if (typeof(type) == typeof(string))
    		throw new Exception("Cannot read type string, use an Ascii or Unicode handler");
    
    	// Declare our return and HGlobal
    	type Return;
    	int Size = Marshal.SizeOf(typeof(type));
    	IntPtr HGlobal = Marshal.AllocHGlobal(Size);
    
    	// Copy our bytes and free our HGlobal
    	Marshal.Copy(ReadMemory(address, Size), 0, HGlobal, Size);
    	Return = Marshal.PtrToStructure(HGlobal, typeof(type)) as type;
    	Marshal.FreeHGlobal(HGlobal);
    
    	return Return;
    }
    ReadMemory is just my function to make sure my Memory class is initialized and calls RPM, Read can be called as..

    Code:
    Memory.Read<float>(0xDEADBEEF);
    Alternatively you could define it so it doesn't return, but instead sets an out type. Something like..

    Code:
    public void Read<type>(uint address, out type output) where type : class
    {
    }
    
    ...
    
    float ReadFloat;
    Memory.Read<float>(0xDEADBEEF, out ReadFloat);


  10. #820
    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 suicidity View Post
    A snippet from my Memory class..

    Code:
    /// <summary>
    /// Reads memory of the Initialized Process
    /// </summary>
    /// <param name="address">Address to read memory from</param>
    /// <param name="size">Size to read</param>
    /// <param name="ret">Buffer Array</param>
    /// <returns>Status of the Read if successful</returns>
    public bool ReadMemory(uint address, int size, ref byte[] ret)
    {
        if (!Initialized)
            throw new Exception("Memory not initialized.");
    
        return ReadProcessMemory(Process.Handle, address, ret, size, 0);
    }
    /// <summary>
    /// Reads memory of the Initialized Process to the specified Type
    /// </summary>
    /// <typeparam name="type">Type to return</typeparam>
    /// <param name="address">Address to read memory from</param>
    /// <returns>Bytes read returned as Type</returns>
    public type Read<type>(uint address) where type : class
    {
        // Make sure we're not trying to handle a string
        if (typeof(type) == typeof(string))
            throw new Exception("Cannot read type string, use an Ascii or Unicode handler");
    
        // Declare our return and HGlobal
        type Return;
        int Size = Marshal.SizeOf(typeof(type));
        IntPtr HGlobal = Marshal.AllocHGlobal(Size);
    
        // Copy our bytes and free our HGlobal
        Marshal.Copy(ReadMemory(address, Size), 0, HGlobal, Size);
        Return = Marshal.PtrToStructure(HGlobal, typeof(type)) as type;
        Marshal.FreeHGlobal(HGlobal);
    
        return Return;
    }
    You're the kind of person that would code such epic fail! :P
    Code:
    public T Read<T>() where T : struct
    {
        Type t = typeof(T);
        int size = Marshal.SizeOf(t);
        byte[] bytes = ReadBytes(size);
    
        fixed (byte* ptr = bytes)
        {
            return (T)Marshal.PtrToStructure(new IntPtr(ptr), t);
        }
    }
    This is much faster than allocating new memory, copying the data and freeing the memory again!
    EDIT: And just in case you're confused, this is from a stream class.
    Last edited by MaiN; 06-07-2010 at 04:00 AM.
    [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

  11. #821
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    One difference, My code is meant to be used in a non-unsafe context. One way to accomplish being non-unsafe is to Allocate memory and free it up when done.

    My code is not epic fail, it's restricted by some C# limitations (Talking limitations if I want to stay non-unsafe).


  12. #822
    Cypher's Avatar Kynox's Sister's Pimp
    Reputation
    1356
    Join Date
    Apr 2006
    Posts
    5,368
    Thanks G/R
    0/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  13. #823
    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 suicidity View Post
    One difference, My code is meant to be used in a non-unsafe context. One way to accomplish being non-unsafe is to Allocate memory and free it up when done.

    My code is not epic fail, it's restricted by some C# limitations (Talking limitations if I want to stay non-unsafe).
    But why do you have to use it in a non-unsafe context? Why do you not just enable unsafe support?
    [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. #824
    suicidity's Avatar Contributor
    Reputation
    207
    Join Date
    Oct 2006
    Posts
    1,439
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just because I felt like having a non-unsafe library of functions. It just so happened that it's the project I pulled up to post some code from.


  15. #825
    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 suicidity View Post
    Just because I felt like having a non-unsafe library of functions. It just so happened that it's the project I pulled up to post some code from.
    I see, like my project where I totally avoid using 'int' and 'uint' datatypes for no reason at all.
    [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

Similar Threads

  1. Screenshot Thread for Diablo 3
    By UnknOwned in forum Diablo 3 Memory Editing
    Replies: 136
    Last Post: 09-03-2018, 01:06 PM
  2. Aion Screenshot Thread
    By JD in forum Aion Exploits|Hacks
    Replies: 0
    Last Post: 11-17-2009, 11:19 AM
  3. Screenshot Thread for AoC
    By Cryt in forum Age of Conan Exploits|Hacks
    Replies: 0
    Last Post: 05-23-2008, 07:32 AM
  4. Why my server is better than yours (a screenshots thread)
    By Liania in forum World of Warcraft General
    Replies: 15
    Last Post: 02-14-2007, 11:00 PM
All times are GMT -5. The time now is 05:16 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search