CInputControl menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CInputControl

    I've injected a dll into wow.
    I tried to use the CInputObject.GeMovementFlag() and I've got a runtime error:
    "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

    extern "C"
    {
    CSEXPORT(ULONG) GetMovementFlag(void);
    };

    CSEXPORT(ULONG) GetMovementFlag()
    {
    CInputControl * gpInputControl = reinterpret_cast<CInputControl*>( *reinterpret_cast<DWORD*>(0x01175994) );
    return gpInputControl->GetMovementFlag();
    }

    unsigned long CInputControl::GetMovementFlag()
    {
    return *reinterpret_cast<unsigned long*>( this + 4 );
    }
    I inject the code using BlackMagic library, in C#.
    The dll of course is in C++
    I don't know what the problem is..

    CInputControl
  2. #2
    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)
    Your pointer is wrong. Durrrrrr. If you're going to copy-paste at least check the version of the code you're copy-pasting and update it if applicable.

    Also, whats with your weird casting?

    CInputControl* gpInputControl = *reinterpret_cast<CInputControl**>(PointerGoesHere);

  3. #3
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I pasted the pointer from 3.0.2 post...

  4. #4
    goderion's Avatar Active Member
    Reputation
    25
    Join Date
    Oct 2008
    Posts
    54
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here are the working offsets/addresses im currently using:

    ThreadLocalStorage: 0x0046FD15
    ThreadLocalStorage_Connection: 0x00000016
    Connection_ObjectManager: 0x00002864
    ObjectManager_FirstObject: 0x000000AC
    ObjectManager_PlayerGUID: 0x000000C0
    GetObjectByGUID: 0x0046D3C0
    GetUnitRelation: 0x00666B10
    Lua_DoString: 0x0077DEF0
    CInputControl: 0x011779A4
    CInputControl_SetFlag: 0x005548F0


    Hope this helps ^^

  5. #5
    cenron's Avatar Member
    Reputation
    12
    Join Date
    Mar 2008
    Posts
    93
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Has the structure of SetFlagMovement() changed for 3.0.3?

    Code:
    void CInputControl::SetMovementFlag( int iFlag, int bEnable, DWORD dwTime )
    {
    	GetTickCount();
    	_asm
    	{
    		push dwTime
    		push eax
    		push bEnable
    		push iFlag
    		mov ecx, this
    		call CInputControl__SetFlags
    	}
    }
    
    unsigned long CInputControl::GetMovementFlag()
    {
    	return dwMovementFlag;
    }
    Last edited by cenron; 12-04-2008 at 09:21 PM.

  6. #6
    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 Shamun View Post
    I pasted the pointer from 3.0.2 post...

    Yes, and currently its patch 3.0.3.

    DURRRRRRR

  7. #7
    cenron's Avatar Member
    Reputation
    12
    Join Date
    Mar 2008
    Posts
    93
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post

    Yes, and currently its patch 3.0.3.

    DURRRRRRR
    lol did you happen to post it any where by chance?

  8. #8
    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)
    How about you stop copy-pasting and actually LEARN WHAT YOU'RE ****ING DOING.

    It takes about 2 minutes max to update that address once you have the IDA DB generated, and thats assuming you're a beginner. Takes about 10-20 seconds if you actually know what you're doing.

    Asking for help is one thing, but if all you want to do is copy-paste and not learn anything for yourself (effectively getting us to program for you by proxy) then you can go without help.

  9. #9
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I want to learn....
    But I don't know how to use IDA (I know you will tell me to search for tuts but I read a book about RE using IDA, I guess when I done reading I will know how to find these pointers)
    Anyway the things that I've copy pasted I understand and even changed a bit...
    (I knew 3.0.2 pointers won't work but I tried)

  10. #10
    Shynd's Avatar Contributor
    Reputation
    97
    Join Date
    May 2008
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I knew flapping my wings really hard wouldn't make me fly but I tried anyway! Yeah, trying something you know won't work CERTAINLY isn't something only an idiot would do.

  11. #11
    cenron's Avatar Member
    Reputation
    12
    Join Date
    Mar 2008
    Posts
    93
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Cypher View Post
    How about you stop copy-pasting and actually LEARN WHAT YOU'RE ****ING DOING.

    It takes about 2 minutes max to update that address once you have the IDA DB generated, and thats assuming you're a beginner. Takes about 10-20 seconds if you actually know what you're doing.

    Asking for help is one thing, but if all you want to do is copy-paste and not learn anything for yourself (effectively getting us to program for you by proxy) then you can go without help.
    Dam your an angry man lol. I understand that you think this is easy and I am sure it is for you, seeing how bad ass you are. But the fact is that I am not as comfortable with asm as you are and. Its actually VERY complicated to me. I am sure there are a lot of leechers on this forum, and I have actually witnessed a lot of them begging for stuff, but when I ask for code I dont just copy and paste it and stop there. I use it kind of like a Rosetta stone to help me understand ASM. I am not trying to make money off the code. I am not even trying to post it and take credit for it. I am not sure what I have done that has offend you in a way that the hostility is necessary.

  12. #12
    jjaa's Avatar Contributor
    Reputation
    245
    Join Date
    Dec 2006
    Posts
    562
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is a great site....
    here

  13. #13
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cenron View Post
    Dam your an angry man lol. I understand that you think this is easy and I am sure it is for you, seeing how bad ass you are. But the fact is that I am not as comfortable with asm as you are and. Its actually VERY complicated to me. I am sure there are a lot of leechers on this forum, and I have actually witnessed a lot of them begging for stuff, but when I ask for code I dont just copy and paste it and stop there. I use it kind of like a Rosetta stone to help me understand ASM. I am not trying to make money off the code. I am not even trying to post it and take credit for it. I am not sure what I have done that has offend you in a way that the hostility is necessary.
    I agree with you man!

  14. #14
    Shamun's Avatar Member
    Reputation
    1
    Join Date
    Nov 2008
    Posts
    76
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you know any good RE book?

  15. #15
    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)
    THAT is why I'm angry.

    Not because you find it hard, but because you find it hard and hence are unwilling to do any work and expect others to do it for you.

    That, and you're lazy, if you bothered to look you'd see that several people (including myself) have mentioned a number of books on multiple occasions. Again you expect us to do your work for you.

Page 1 of 2 12 LastLast

Similar Threads

  1. Mouse-like turning using CInputControl?
    By xpl0itz in forum WoW Memory Editing
    Replies: 17
    Last Post: 12-30-2009, 04:49 PM
  2. Issues with using CInputControl
    By Xcron in forum WoW Memory Editing
    Replies: 6
    Last Post: 11-16-2009, 01:33 AM
  3. CinputControl Error (Crashing t3h Wow Oh Noes!)
    By luciferc in forum WoW Memory Editing
    Replies: 4
    Last Post: 01-29-2009, 08:22 AM
  4. Problem with CInputControl in C#
    By charly in forum WoW Memory Editing
    Replies: 23
    Last Post: 12-31-2008, 01:49 AM
  5. Problems CInputControl
    By goderion in forum WoW Memory Editing
    Replies: 1
    Last Post: 12-10-2008, 03:17 PM
All times are GMT -5. The time now is 11:22 PM. 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