XYZHack question. menu

User Tag List

Results 1 to 6 of 6
  1. #1
    Sel3n's Avatar Member
    Reputation
    10
    Join Date
    Jul 2009
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    XYZHack question.

    I'm trying to write an automated XYZ, after watch this thread http://www.mmowned.com/forums/wow-me...n-not-dc.html; it works great, but I would know if anyone knows an alternative method to send the heartbeat packet, because I in this moment I use the following code to send the heartbeat packet to the server, I simulate left and right arrows (it's the classic way).

    Also, I have one bug, when I quit my program, And I relaunch it, PostMessage don't work, that also I want to know if an alternative method is possible, and hu, anyone can say to me if using LastHardwareAction is a good way?

    PS : This works great on short distance but on long distance, i get d/c, or monsters attack me and I die, bref, just another useless anecdote.

    Code:
    PostMessage(hwnd, (int)WMessages.WM_KEYDOWN, (int)VKeys.VK_LEFT, 0);
                        Thread.Sleep(50);
    PostMessage(hwnd, (int)WMessages.WM_KEYUP, (int)VKeys.VK_LEFT, 0);
    PostMessage(hwnd, (int)WMessages.WM_KEYDOWN, (int)VKeys.VK_RIGHT, 0);
                        Thread.Sleep(50);
    PostMessage(hwnd, (int)WMessages.WM_KEYUP, (int)VKeys.VK_RIGHT, 0);
    I don't think PostMessage is the better way.
    If anyone have an idea =)
    Last edited by Sel3n; 08-23-2009 at 01:59 PM.

    XYZHack question.
  2. #2
    Mr.Zunz's Avatar Contributor
    Reputation
    92
    Join Date
    Mar 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Make sure you actually have the correct windowhandle (hWnd)


  3. #3
    Sel3n's Avatar Member
    Reputation
    10
    Join Date
    Jul 2009
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have the correct hwnd, I use
    Code:
    [DllImport("user32.dll", EntryPoint = "FindWindowEx")]
            public static extern int FindWindowEx(
                int hwndParent, int hwndChild, int lpClass, string lpTitle);
    to find it, and PostMessage run correctly at the first time, I had re-test and now that works all time, surely a bug with Gamecam when I recorded, but now this works great.

    Now anyone can say me If update LastHardwareAction can realize the same effect than spamming PostMessage (keep connection alive and not d/c)?

  4. #4
    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)
    Originally Posted by Sel3n View Post
    Now anyone can say me If update LastHardwareAction can realize the same effect than spamming PostMessage (keep connection alive and not d/c)?

    Yes.

    For your nuding:
    http://www.mmowned.com/forums/wow-me...dge-hacks.html
    Last edited by Robske; 08-23-2009 at 02:26 PM.
    "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. #5
    Mr.Zunz's Avatar Contributor
    Reputation
    92
    Join Date
    Mar 2007
    Posts
    393
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, it's just like an real keypress so when you send lets say, Space. Your char jumps thus it wont get afk...


  6. #6
    Sel3n's Avatar Member
    Reputation
    10
    Join Date
    Jul 2009
    Posts
    115
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Okay, thanks to all (I don't know if "thanks to all" is the real good syntax, i'm not english x)), and +rep for the link, it looks a very good way for my XYZ.

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 08:42 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