Fake hardware input? menu

User Tag List

Page 1 of 2 12 LastLast
Results 1 to 15 of 27
  1. #1
    Reconsider's Avatar Member
    Reputation
    2
    Join Date
    Jun 2009
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Fake hardware input?

    Hello!

    I have just now got my bot up and running, external using ctm to move, loot, skin, mine, etc.
    I send input for casting skills using PostMessage.

    First of all, BIG thanks to everyone contributing on this forum for all the wonderful information

    This works fine BUT.

    After maybe 10 minutes or so I get DC. I have read around some on forum and figured that this is probably due to input-check via Warden(?) because no real input is made only CTM and PostMessage. Unfortunently I was unable to find any information as to how to fake this input..

    My question is now how do I do to make faked hardware input so that the game won't disconnect me?


    Best regards,

    Fake hardware input?
  2. #2
    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)
    Write a driver?

    Use SendInput instead of PostMessage (course, this disables background botting)?
    Don't believe everything you think.

  3. #3
    Reconsider's Avatar Member
    Reputation
    2
    Join Date
    Jun 2009
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by amadmonk View Post
    Write a driver?

    Use SendInput instead of PostMessage (course, this disables background botting)?
    Yes, and I like my background botting

    Writing a driver wouldn't help for background botting either, right?

  4. #4
    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)
    No, if you had a driver you could bypass the normal focus queues and send "real" input to arbitrary message queues (read: arbitrary windows, regardless of focus).

    However, this is not a task for the faint of heart...
    Don't believe everything you think.

  5. #5
    Reconsider's Avatar Member
    Reputation
    2
    Join Date
    Jun 2009
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by amadmonk View Post
    No, if you had a driver you could bypass the normal focus queues and send "real" input to arbitrary message queues (read: arbitrary windows, regardless of focus).

    However, this is not a task for the faint of heart...
    Unfortunently I don't think I have enough experience with driver-development (only made one for interrupt hooking) so this might not be good alternative

    Would hooking DirectInput (GetDeviceData) work you think? Because that would probably be how WoW gets input from hardware (considering I see it imports DInput8.dll)


    Edit; Got some old code for DInput hook from some other MMORPG's, gonna put it together to do random mouse-movement every few minutes or so (random interval ofc.) and see if this helps from disconnecting. Would a hook via vTable safe? Else I'll put hardware breakpoint I guess
    Last edited by Reconsider; 02-23-2010 at 06:03 PM.

  6. #6
    L33ch's Avatar Member
    Reputation
    5
    Join Date
    Aug 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    o.O

    Intresting...
    Would... a mouse driver be able to send "real" messages to a window too ?

    Sidenote: Haven't had any dc's at all with postmessage so far btw... :S


    Gonna check what it takes to write a driver...

  7. #7
    Reconsider's Avatar Member
    Reputation
    2
    Join Date
    Jun 2009
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by amadmonk View Post
    Sidenote: Haven't had any dc's at all with postmessage so far btw... :S
    Depends on how you give mouse-input I think..
    Do you use CTM or what mouse input you give?

  8. #8
    L33ch's Avatar Member
    Reputation
    5
    Join Date
    Aug 2008
    Posts
    20
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ohw, ah, Running my WoW + bot in VMware atm....
    the window has full focus all of the time, mouse movement is done in my program, clicks are done with mous_event:


    [DllImport("user32.dll",CharSet=CharSet.Auto, CallingConvention=CallingConvention.StdCall)]
    public static extern void mouse_event(long dwFlags, long dx, long dy, long cButtons, long dwExtraInfo);


    buuuuttt... if i could create a driver that made another mousepointer that could be sent to a minimized wow window with messages that would be better, cos i noticed vm's are kinda taking a lot of performance.


    Could start doing it like gamelash though...:
    http://my.mmoabc.com/article/vietdie....html?login=no

    I only have 5 accounts though, sooo.... yeah

    TLDR:
    "If you count the number of PCs, you'll get 47. My girlfriend controls 23 and I control 23. The other one is a server. All but 2 of those pcs are diskless. It got to the point that updating 46 pcs just took too long, the hard drives added to the electric bill and generated heat, so I found a good PXE solution that works great."
    Last edited by L33ch; 02-23-2010 at 08:36 PM.

  9. #9
    leather's Avatar Member
    Reputation
    1
    Join Date
    Jun 2007
    Posts
    19
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    write into the address 0x00AE2B7C with 'current time' 0x00843FD0

  10. #10
    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)
    I'm actually working on making a 'simple' driver to change your cursor location in WoW. I'll probably end up posting it when it's finished.

  11. #11
    Reconsider's Avatar Member
    Reputation
    2
    Join Date
    Jun 2009
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by leather View Post
    write into the address 0x00AE2B7C with 'current time' 0x00843FD0
    Hm..
    0x00AE2B7C seems to hold a value that changes whenever I give the game input, yes.

    But 0x00843FD0 seems to be stuck, right now at 440143243 which is about twice the value at 0x00AE2B7C (26994845)..

    Are you sure about this?


    Edit; 0x00AE2B7C is current tick count + about 500 it seems, so copying GetTickCount to there every once in a while might work
    Last edited by Reconsider; 02-25-2010 at 08:55 AM.

  12. #12
    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)
    0x843FD0 is a function.
    [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

  13. #13
    Reconsider's Avatar Member
    Reputation
    2
    Join Date
    Jun 2009
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah, I didn't even look at the memory page ;P

    Anyway, this actually seems to work.. either that or there was something bad in my code before..
    Code:
    uint realInputTime = Memory.ReadUInt(0x00AE2B7C);
    if (GetTickCount() >= fakeInputTime)
    {
    	if(fakeInputTime != 0)
    		Memory.Write(0x00AE2B7C, fakeInputTime);
    	fakeInputTime = GetTickCount() + (uint)random.Next(1000, 2000);
    }
    Have to use GetTickCount() + atleast 500, else it seems to crash.. feels safest to me to use 1000
    Thanks alot to leather ofcourse!

  14. #14
    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 Reconsider View Post
    Ah, I didn't even look at the memory page ;P

    Anyway, this actually seems to work.. either that or there was something bad in my code before..
    Code:
    uint realInputTime = Memory.ReadUInt(0x00AE2B7C);
    if (GetTickCount() >= fakeInputTime)
    {
    	if(fakeInputTime != 0)
    		Memory.Write(0x00AE2B7C, fakeInputTime);
    	fakeInputTime = GetTickCount() + (uint)random.Next(1000, 2000);
    }
    Have to use GetTickCount() + atleast 500, else it seems to crash.. feels safest to me to use 1000
    Thanks alot to leather ofcourse!
    You can't use GetTickCount if you want your input times to be reliable. When WoW starts up it chooses what timing method to use, and it's not guaranteed to be GetTickCount unless you use a CVar forcer.

    Use OsGetAsyncTimeMs instead, it's a WoW engine function, and it should be posted somewhere in the address dumps.

  15. #15
    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 Cypher View Post
    You can't use GetTickCount if you want your input times to be reliable. When WoW starts up it chooses what timing method to use, and it's not guaranteed to be GetTickCount unless you use a CVar forcer.

    Use OsGetAsyncTimeMs instead, it's a WoW engine function, and it should be posted somewhere in the address dumps.
    It's usually labeled as PerformanceCounter or PerformanceCount. One of the two.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 7
    Last Post: 03-30-2009, 04:06 PM
  2. How to Get to Fake STV --> The Netherlands.
    By Drome in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 09-28-2006, 09:29 PM
  3. Emu Server Hardware?
    By isacneuton in forum World of Warcraft General
    Replies: 0
    Last Post: 08-23-2006, 11:52 AM
  4. Hack or fake?
    By xdaluxex in forum World of Warcraft General
    Replies: 6
    Last Post: 07-24-2006, 03:25 AM
All times are GMT -5. The time now is 03:48 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