(Tutorial) Starting WoW-Memory Reading/Writing menu

User Tag List

Page 13 of 14 FirstFirst ... 91011121314 LastLast
Results 181 to 195 of 199
  1. #181
    punkedalex's Avatar Private
    Reputation
    5
    Join Date
    Nov 2012
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    please someone enlight me how do i get this baseaddress cuz all i get is 0x400000 ...

    (Tutorial) Starting WoW-Memory Reading/Writing
  2. #182
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1584
    Join Date
    May 2010
    Posts
    1,828
    Thanks G/R
    188/531
    Trade Feedback
    16 (100%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Code:
    MEMORY_BASIC_INFORMATION mbi;
    uint Traverse;
    
    VirtualQueryEx(hProcess,(LPVOID)Traverse,&mbi,sizeof(mbi));
    
    mbi.BaseAddress

  3. #183
    punkedalex's Avatar Private
    Reputation
    5
    Join Date
    Nov 2012
    Posts
    5
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    found how , thanks
    Last edited by punkedalex; 11-15-2012 at 02:23 AM.

  4. #184
    abuckau907's Avatar Active Member
    Reputation
    49
    Join Date
    May 2009
    Posts
    225
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DarkLinux View Post
    Code:
    MEMORY_BASIC_INFORMATION mbi;
    uint Traverse;
    
    VirtualQueryEx(hProcess,(LPVOID)Traverse,&mbi,sizeof(mbi));
    
    mbi.BaseAddress
    Process.MainModule.BaseAddress == very first mbi's base? why doesn't that seem right?...


    alex, if you're on an older machine (without ASLR) it will always be that number. (I'm on windows xp sp3 - same thing)

  5. #185
    MyNewName's Avatar Banned I Suck At This CoreCoins Purchaser
    Reputation
    280
    Join Date
    Jan 2012
    Posts
    334
    Thanks G/R
    0/0
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I dont want to burn your thread up. (Wish i could borrow that sarcasm someone used a few pages ago) But Just a quick question, and slightly bent topic. But what is a good book to learn C#(Forgive me if I sound like I was born addicted to crack). But I want to run an experiment. Please only people who have a clue respond via Inbox. **And i'll tell you the experiment,**-****Shhh****

  6. #186
    Linda513's Avatar Private
    Reputation
    1
    Join Date
    Nov 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you're writing to memory, isn't that detectable?
    Last edited by Linda513; 11-16-2012 at 02:33 AM.

  7. #187
    DarkLinux's Avatar Former Staff
    CoreCoins Purchaser Authenticator enabled
    Reputation
    1584
    Join Date
    May 2010
    Posts
    1,828
    Thanks G/R
    188/531
    Trade Feedback
    16 (100%)
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Everything is detectable... Even the bots that do not write to memory... It just depends on how bad Blizz wants your ass XD

  8. #188
    homer91's Avatar Active Member CoreCoins Purchaser
    Reputation
    79
    Join Date
    Oct 2008
    Posts
    259
    Thanks G/R
    59/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes. Yes it is.

  9. #189
    Stany8's Avatar Member
    Reputation
    1
    Join Date
    Apr 2008
    Posts
    30
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm getting a 'Win32Exception was unhandled' exception, meaning that it doesn't have the rights to execute the project, if I start it up as administrator it works, though it doesn't work when I just press F5. Is there any way I can start up my project as administrator automatically?

  10. #190
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Stany8. ofc there is a way. what program do you use to make the program in? visual studio? if y open visual studio with adminstrator.


    //edit: for more info about the error you get. make f.eks. a try function to see if it can handle it or show the error
    Last edited by flowtek333; 02-01-2013 at 11:28 AM.

  11. #191
    Jadd's Avatar 🐸 Premium Seller
    Reputation
    1511
    Join Date
    May 2008
    Posts
    2,432
    Thanks G/R
    81/333
    Trade Feedback
    1 (100%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Stany8 View Post
    I'm getting a 'Win32Exception was unhandled' exception, meaning that it doesn't have the rights to execute the project, if I start it up as administrator it works, though it doesn't work when I just press F5. Is there any way I can start up my project as administrator automatically?
    Add an app manifest.

  12. #192
    Decodex's Avatar Private
    Reputation
    1
    Join Date
    Jan 2012
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi, I completed this tutorial, my character name is printed to the listbox but I'm not getting the xyz coordinates, can someone put a newbie like me in the correct way?.

    I'm ingame and running the app as admin, here is the little code.


    Code:
    private void button1_Click(object sender, EventArgs e)
            {
                
                BlackMagic wow = new BlackMagic();
                wow.OpenProcessAndThread(SProcess.GetProcessFromProcessName("Wow"));
    
                IntPtr baseWOW = wow.MainModule.BaseAddress;
    
                string playername = wow.ReadASCIIString((uint)baseWOW + 0xE28468, 256);
                float playerx = wow.ReadFloat((uint)baseWOW + 0x7E8);
                float playery = wow.ReadFloat((uint)baseWOW + 0x7EC);
                float playerz = wow.ReadFloat((uint)baseWOW + 0x7F0);
     
                listBox1.Items.Add(playername);
                listBox1.Items.Add(playerx.ToString());
                listBox1.Items.Add(playery.ToString());
                listBox1.Items.Add(playerz.ToString());
     
            }
    The xyz values I'm getting are 0.

    Thanks in advance.
    Last edited by Decodex; 02-04-2013 at 02:45 PM.

  13. #193
    flowtek333's Avatar Sergeant
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    39
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Decodex by finding the xyz with BaseWOW aint the best idea at all..

    use movementdata to get xyz. most allways 100% right

    uint movementdata = wow.ReadUInt(playerbase + 0x100);
    float playerx = wow.ReadFloat(movementdata + 0x10);
    float playery = wow.ReadFloat(movementdata + 0x14);
    float playerz = wow.ReadFloat(movementdata + 0x18 );

    ps.. offset old, find the offset on the forum

  14. #194
    zdohdds's Avatar Active Member
    Reputation
    16
    Join Date
    Feb 2013
    Posts
    46
    Thanks G/R
    19/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    dereferencing "memory reading is impossible"

    Good morning.

    I have inject dll with ChatListener for 3.3.5a:

    WoWChat.h
    Code:
    #ifndef WOWCHAT_H
    #define WOWCHAT_H
    
    class WoWChatClass
    {
    private:
    	unsigned int index;
    	struct WoWChatStruct
    	{
    		long long SenderGuid;
    		unsigned int Unknow[13];
    		char FormattedMessage[3000];
    		char Text[3000];
    		unsigned int MessageType;
    		unsigned int ChannelNumber;
    		unsigned int Sequence;
    		unsigned int Time;
    	} *pWoWChatStruct;
    
    public:
    	WoWChatClass();
    	~WoWChatClass();
    	long long getSenderGuid() { return pWoWChatStruct->SenderGuid; }
    	char* getFormattedMessage() { return pWoWChatStruct->FormattedMessage; }
    	char* getText() { return pWoWChatStruct->Text; }
    	unsigned int getMessageType() { return pWoWChatStruct->MessageType; }
    	unsigned int getChannelNumber() { return pWoWChatStruct->ChannelNumber; }
    	unsigned int getSequence() { return pWoWChatStruct->Sequence; }
    	unsigned int getTime(){ return pWoWChatStruct->Time; }
    
    	WoWChatStruct* getPointWoWChat() { return pWoWChatStruct; }
    	void setPointWoWChat(unsigned int address) { pWoWChatStruct = (WoWChatStruct*)address; }
    
    	char* CheckNewMessage();
    
    	void Init();
    };
    
    #endif
    WoWChat.cpp
    Code:
    void WoWChatClass::Init(){
    	setPointWoWChat(Memory::Read<unsigned int>(Offsets::Chat::ChatBuffer_start));
    	index = Memory::Read<unsigned int>(Offsets::Chat::ChatBuffer_count);
    }
    
    WoWChatClass::WoWChatClass(){
    	setPointWoWChat(Memory::Read<unsigned int>(Offsets::Chat::ChatBuffer_start));
    	index = Memory::Read<unsigned int>(Offsets::Chat::ChatBuffer_count);
    }
    WoWChatClass::~WoWChatClass(){ delete this->pWoWChatStruct; }
    
    char* WoWChatClass::CheckNewMessage(){
    	unsigned int newIndex = 0;
    	unsigned int newAddress = 0;
    	newIndex = Memory::Read<unsigned int>(Offsets::Chat::ChatBuffer_count);
    	if (newIndex == index) return NULL;
    
    	if (newIndex < index){
    		for (; index < 60 ; index++){
    			newAddress = Offsets::Chat::ChatBuffer_start + (Offsets::Chat::ChatBuffer_next * index);
    			setPointWoWChat(newAddress);
    			if (getText()[0] == '.') {
    				if (index == 59) index = 0; else index++;
    				return getText();
    			}
    		}
    		index = 0;
    	}
    
    	for (; index < newIndex; index++){
    		newAddress = Offsets::Chat::ChatBuffer_start + (Offsets::Chat::ChatBuffer_next * index);
    		setPointWoWChat(newAddress);
    		if (getText()[0] == '.') {
    			if (index == 59) index = 0; else index++;
    			return getText();
    		}
    	}
    
    	return NULL;
    }
    Sometimes when i set a new pointer (setPointWoWChat(newAddress)) in the char* WoWChatClass::CheckNewMessage() i can get issue:

    Code:
    pWoWChatStruct->SenderGuid; // <--memory reading is impossible, but a new pointer of struct is fine
    PS: I'm just using dereferencing like reading of variables and struct

  15. #195
    ioctl's Avatar Active Member
    Reputation
    23
    Join Date
    Jan 2013
    Posts
    35
    Thanks G/R
    2/4
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Your code is a little confusing, and I'm not familiar with the chat message structures, but that "delete" in the constructor is a very obvious bug. You don't own that memory; don't try to delete it. Bizarre things will happen. Maybe that's causing your problems, maybe not. In fact, I would just get rid of that member -- keeping your class structured like this is going to give you headaches; the less state variables you have, the better. I would do this:
    * Move all of those methods for retrieving chat fields (text, channel number, etc.) onto the WoWChat struct. If you want to avoid c++ fanciness, just leave all the fields public.
    * Add a method that returns index of the latest message, however that is determined (looks like a ring buffer?), and a method that advances the index.
    *
    ChatBuffer_start + ChatBuffer_next * index
    feels like you should have a struct of size ChatBuffer_next, and just do ChatBuffer[index].
    * Now CheckNewMessage() can look something like:
    Code:
    if (index != GetLatestIndex()) {
        index = GetNextIndex();
        return ChatMessageAt(index);
    } else {
       return nullptr;
    }
    Calling code would look like:
    Code:
    WowChat* message;
    while (message = wow_chat_manager.CheckNewMessage()) {
      DoSomethingWithMessageText(message->getText());
    }

  16. Thanks zdohdds (1 members gave Thanks to ioctl for this useful post)
Page 13 of 14 FirstFirst ... 91011121314 LastLast

Similar Threads

  1. WoW Memory reading/writing questions
    By mathix in forum WoW Memory Editing
    Replies: 3
    Last Post: 03-11-2013, 08:17 AM
  2. [Bot] WoW Memory Reading Help (Player Name)
    By zamba1587 in forum WoW Memory Editing
    Replies: 5
    Last Post: 08-05-2011, 01:27 AM
  3. [Request][Bounty] WoW memory reading example script c++
    By foxlin in forum WoW Bots Questions & Requests
    Replies: 4
    Last Post: 07-27-2011, 09:08 AM
  4. How do i know if a Bot is using memory reading / writing?
    By sturmtiger in forum WoW Bots Questions & Requests
    Replies: 1
    Last Post: 01-06-2011, 06:31 AM
  5. In process memory reading/writing
    By unbekannt1 in forum WoW Memory Editing
    Replies: 7
    Last Post: 06-08-2010, 06:52 PM
All times are GMT -5. The time now is 11:23 AM. 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