[Questions] menu

User Tag List

Thread: [Questions]

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    -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)

    [Questions]

    I hope I am allowed to ask these questions, I don't want any trouble...

    Me a xwinterx and making a bot together at the moment and we have come to the decision to ask the following questions... We did search but didn't find anything that really helped.

    First question:

    Click to move!
    I do NOT want to write values to the global CTM struct as this is to easy for warden to find me.

    I do want to Call the engine function CGPlayer_C__ClickToMove. However I don't know how I do that, I tried searching and looked at Apoc thread, but it didnt explain how to use it.

    Question two:
    Ive been fishing and interacting using Lua_DoString() but I still get my afk debuff, whats the safest way to not go afk without sending keys?

    Would it be safer to inject a dll into wow instead of writing to asm?

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

    [Questions]
  2. #2
    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 XAutomation View Post
    Ive been fishing and interacting using Lua_DoString() but I still get my afk debuff, whats the safest way to not go afk without sending keys?
    Any Ideas?
    I belive the correct way would be to change the value of LastHardwareInput, but I wouldn't know how - I am also interested in knowing.

  3. #3
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    There is a function to call that resets the Hardware Event for you. I think Chazz or someone posted it on GameDeception.

  4. #4
    namreeb's Avatar Legendary

    Reputation
    668
    Join Date
    Sep 2008
    Posts
    1,029
    Thanks G/R
    8/222
    Trade Feedback
    0 (0%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Just look at Lua_StartMovementForward() or w/e its called (or any of the other lua movement functions).

  5. #5
    -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)
    Originally Posted by miceiken View Post
    I belive the correct way would be to change the value of LastHardwareInput, but I wouldn't know how - I am also interested in knowing.
    Will let you know when I find out

    Originally Posted by lanman92 View Post
    There is a function to call that resets the Hardware Event for you. I think Chazz or someone posted it on GameDeception.
    Will look that up today

    Originally Posted by namreeb View Post
    Just look at Lua_StartMovementForward() or w/e its called (or any of the other lua movement functions).
    They are protected.
    |Leacher:11/2009|Donor:02/2010|Established Member:09/2010|Contributor:09/2010|Elite:08/2013|

  6. #6
    JuJuBoSc's Avatar Banned for scamming CoreCoins Purchaser
    Reputation
    1019
    Join Date
    May 2007
    Posts
    922
    Thanks G/R
    1/3
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by XAutomation View Post
    Ive been fishing and interacting using Lua_DoString() but I still get my afk debuff, whats the safest way to not go afk without sending keys?
    s_LastHardwareAction = 0x00AE1B7C, // 3.3.0a
    s_GetTimestamp = 0x008438B0, // 3.3.0a

    Just rewrite LastHardwareAction with the value you got from calling GetTimestamp.

  7. #7
    flo8464's Avatar Active Member
    Reputation
    30
    Join Date
    Apr 2009
    Posts
    434
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    They are protected.
    That doesn't mean you can't open it in IDA/Olly and take a look what it does.
    Hey, it compiles! Ship it!

  8. #8
    namreeb's Avatar Legendary

    Reputation
    668
    Join Date
    Sep 2008
    Posts
    1,029
    Thanks G/R
    8/222
    Trade Feedback
    0 (0%)
    Mentioned
    9 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by XAutomation View Post
    They are protected.
    I didn't say call them. I said look at them. As in, in IDA or some such application.

  9. #9
    xwinterx's Avatar Member
    Reputation
    26
    Join Date
    Apr 2009
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by JuJuBoSc View Post
    s_LastHardwareAction = 0x00AE1B7C, // 3.3.0a
    s_GetTimestamp = 0x008438B0, // 3.3.0a

    Just rewrite LastHardwareAction with the value you got from calling GetTimestamp.
    aight, I tried this after I do the lua_dostring to cast the fishing pole and it tries to log me out. I am reading the timestamp as a uint and writing the lasthardwareaction as a uint too.

  10. #10
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You DO understand that the GetTimestamp function is a function, right?

    Incidentally, your belief that it's safer to call these engine functions than to poke in a value for CTM is sort of... wrong.
    Don't believe everything you think.

  11. #11
    nitrogrlie's Avatar Member
    Reputation
    11
    Join Date
    Oct 2009
    Posts
    81
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by amadmonk View Post
    You DO understand that the GetTimestamp function is a function, right?

    Incidentally, your belief that it's safer to call these engine functions than to poke in a value for CTM is sort of... wrong.
    Besides using CTM to Move, is there any other reason to use it? I haven't tried using many of they other type flags mainly because I have not found a need to do so. Facing is perfectly well done through the CGInputControl::SetFacing(), and all the other interaction types, AFAIK, would be just as easily (if not more so) done through the use of the "interact" virtual function for that object. Am I missing something here?

  12. #12
    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)
    XAutomation:
    "I do NOT want to write values..."
    I think his point was 1-2 mem_write to ctm vs. Lua_() Or asm.InjectAndExecute is safer. (In terms of..the other 2 methods do mem_write a LOT more times, right?)

    edit: I recommend you go with something like SendKeys(wowPid, someKeys) (there are a few api's each with pros and cons) - since you want background, i forget which ones are which, look up SendMessage, PostMessage, along those lines. The turning is 100% as accurate as any function wow has.
    Last edited by abuckau907; 01-13-2010 at 09:18 PM.

  13. #13
    xwinterx's Avatar Member
    Reputation
    26
    Join Date
    Apr 2009
    Posts
    103
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by amadmonk View Post
    You DO understand that the GetTimestamp function is a function, right?

    Incidentally, your belief that it's safer to call these engine functions than to poke in a value for CTM is sort of... wrong.
    no, I honestly didnt. I am newb but learning. am researching it more now, thanks for the info. and as far as my personal belief, I am leaving it up to everyone's opinion since I also honestly have no idea which is "safer" or not. For now I got all I need for my kelsie bot, the rest of this stuff is learning and growing to work on this other project with XAuto. I gots me a looooooong way to go! Thanks for the patience.

  14. #14
    amadmonk's Avatar Active Member
    Reputation
    124
    Join Date
    Apr 2008
    Posts
    772
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by nitrogrlie View Post
    Besides using CTM to Move, is there any other reason to use it? I haven't tried using many of they other type flags mainly because I have not found a need to do so. Facing is perfectly well done through the CGInputControl::SetFacing(), and all the other interaction types, AFAIK, would be just as easily (if not more so) done through the use of the "interact" virtual function for that object. Am I missing something here?
    You need CTM (or some variant thereof) for targeted AOE spells. There may be a cleaner way to do it, but as of right now, the only way I know of to cast these spells (eg a Death Knight's "Death and Decay" spell) short of actually clicking or sending click events is by doing a CTM "left click" on the coords you want the AOE targeted.
    Don't believe everything you think.

  15. #15
    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)
    Simple.

    Code:
    // Anti-AFK
    __asm
    {
    	mov eax, 0x008438B0 ; GetTimeStamp 3.3.0a
    	call eax
    	mov dword ptr ds:[0x00AE1B7C], eax ; last hardware action 3.3.0a
    }
    CTM:

    Code:
    void CGPlayer_C::ClickToMove( WOWPOS *wPos, WGUID *wGUID, int iClickType, float fPercision )
    {
    	typedef void (__stdcall *CTM) (WOWPOS *, WGUID *, int, float );
    	CTM oClickToMove = (CTM)ADDR_CLICK_TO_MOVE;
    	DWORD dwObjAddr = GetObjAddr();
    
    	__asm { mov ecx, dwObjAddr }
    	oClickToMove( wPos, wGUID, iClickType, fPercision );
    }
    CTM Out Of Process:
    Code:
    	__asm
    	{
    		push fPercision
    		push wPos
    		push wGUID
    		push iClickType
    		mov ecx, dwObjAddr
    		mov eax, ADDR_CLICK_TO_MOVE
    		call eax
    	};
    Happy botting.
    Last edited by cenron; 01-14-2010 at 02:55 AM.

Page 1 of 2 12 LastLast

Similar Threads

  1. Model Changing Question
    By MasterYuke in forum World of Warcraft General
    Replies: 6
    Last Post: 09-17-2006, 09:56 PM
  2. Couple Private Server questions
    By Jboz in forum World of Warcraft General
    Replies: 21
    Last Post: 07-26-2006, 07:37 PM
  3. Sorry..newb mail question
    By nolbishop in forum World of Warcraft General
    Replies: 2
    Last Post: 06-07-2006, 07:21 PM
  4. Question..
    By janzi9 in forum Community Chat
    Replies: 3
    Last Post: 04-02-2006, 10:20 AM
  5. A GALB question
    By bassman in forum World of Warcraft General
    Replies: 4
    Last Post: 03-28-2006, 09:49 AM
All times are GMT -5. The time now is 03:03 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