ZK AutoHotKey (2 computers) UPDATED all screens menu

User Tag List

Page 5 of 6 FirstFirst 123456 LastLast
Results 61 to 75 of 84
  1. #61
    08449's Avatar Contributor

    Reputation
    100
    Join Date
    Feb 2007
    Posts
    244
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DeadlyDragon View Post
    soz posted a bit late, ill update the code and add more detailed instructions.



    Shouldnt be running there, probs isnt finding her, working on something for different screen sizes.

    Can't you do a pixelsearch just for the upper side of the window? Shouldn't ever select leah's belonging then!



    ZK AutoHotKey (2 computers) UPDATED all screens
  2. #62
    lostsk8r's Avatar Active Member

    Reputation
    22
    Join Date
    Apr 2009
    Posts
    313
    Thanks G/R
    15/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I looked up that error, seems like something wrong with p_DesiredColor,p_PosX area.. not sure what

  3. #63
    DeadlyDragon's Avatar Active Member
    Reputation
    31
    Join Date
    Sep 2006
    Posts
    125
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by lostsk8r View Post
    I keep getting:

    This is a AutoHotKey scriptnot auto it.

    And leech:

    Originally Posted by 08449 View Post
    Can't you do a pixelsearch just for the upper side of the window? Shouldn't ever select leah's belonging then!
    I am using pixel search, my guess is they are doing somehting wrong when setting up thats why i posted the video tutorial on how to set it up.

  4. #64
    Sarick's Avatar Contributor
    Reputation
    269
    Join Date
    Apr 2007
    Posts
    397
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Holy ****, made it so it completes quest in 10 seconds.
    +5 or +6

  5. #65
    DeadlyDragon's Avatar Active Member
    Reputation
    31
    Join Date
    Sep 2006
    Posts
    125
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice one, yea i had it set up to do it more slowly because not everyones computers can load and react that fast did u just change wait times?

  6. #66
    Mikevin's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DeadlyDragon View Post
    I am using pixel search, my guess is they are doing somehting wrong when setting up thats why i posted the video tutorial on how to set it up.
    It's sees a part of the sand as the same pixelcolor, I'm not sure if it's just luck or only with certain settings though.

    Setting pixelsearch to use 0 variation fixes it for me it seems.
    Pixelsearch, Px, Py, Ax, 8, Ax2, Ay2, color, 0, fast ;Searches for adria, change color is needed

    If it only works sometimes remove this line from the else block.
    "Send, {ESC} ;Skips the chat"
    You can not rejoin with the ESC menu open so this makes it try again.

  7. #67
    DeadlyDragon's Avatar Active Member
    Reputation
    31
    Join Date
    Sep 2006
    Posts
    125
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If u take that out the quest chat log for completion may not complete intime before u join the new game. I will add a safeguard in the next version to check if the option menu is up, will be late tomorrow as im travelling

  8. #68
    Mikevin's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by DeadlyDragon View Post
    If u take that out the quest chat log for completion may not complete intime before u join the new game. I will add a safeguard in the next version to check if the option menu is up, will be late tomorrow as im travelling
    Yeah I had that problem, thought of another way now.

    I now use space to skip chat, this guarantees no menu.

    Send, {Space} ;Skips the chat
    Send, {Space} ;Skips the chat
    Send, {Space} ;Skips the chat
    Send, {Space} ;Skips the chat

    Still goes to the right sometimes though. Not sure how this can happen as it seems you only pixelsearch in an area.

    Edit: Space somehow doesn't seem to work but I know why its runs to the right. If no coords are given with the click command it clicks the current position which is to the right. I guess this is because the pixelsearch didn't find anything which is a result of the color of adria's dress being pretty dynamic.
    Last edited by Mikevin; 06-22-2012 at 10:50 AM.

  9. #69
    lostsk8r's Avatar Active Member

    Reputation
    22
    Join Date
    Apr 2009
    Posts
    313
    Thanks G/R
    15/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    haha I feel so dumb, thanks

  10. #70
    12Seconds's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Mikevin View Post
    Yeah I had that problem, thought of another way now.

    I now use space to skip chat, this guarantees no menu.

    Send, {Space} ;Skips the chat
    Send, {Space} ;Skips the chat
    Send, {Space} ;Skips the chat
    Send, {Space} ;Skips the chat

    Still goes to the right sometimes though. Not sure how this can happen as it seems you only pixelsearch in an area.

    Edit: Space somehow doesn't seem to work but I know why its runs to the right. If no coords are given with the click command it clicks the current position which is to the right. I guess this is because the pixelsearch didn't find anything which is a result of the color of adria's dress being pretty dynamic.

    Spaces does work you need to add a delay timer between about 500ms each, change the {esc} -> {space}s.
    As for the clicking on the right side of the screen, you are correct that it does not find the pixel. This problem is due to the time it is given to find the pixel within 500ms, I changed mine a bit longer to 750ms which works good for me, here's what I have changed:

    Code:
    Loop
    {
    Sleep, 200
    if WaitPixelColor(globe, Gx, Gy)  = 0  ;White blip on health globe
    {
    Sleep, 1000
    Pixelsearch, Px, Py, Ax, 8, Ax2, Ay2, color, 3, fast    ;Searches for adria, change color is needed
    Sleep, 750                ;Longer delay time to search for pixel originally 500ms
    MouseClick, left,  %Px%,  %Py%     ;Click on adria
    if % WaitPixelColor(0, Chatx, Chaty, 5000) = 2   ;Waits for the black background of the chat box that pops up
    {
    Pixelsearch, Px, Py, CBx2, CBy2, CBx, CBy,color, 4, fast
    Sleep, 200
    MouseClick, left,  %Px%,  %Py%
    WaitPixelColor(0, Chatx, Chaty, 5000)
    Send, {Space}    ;Skips the chat
    Sleep, 500
    Send, {Space}    ;Skips the chat
    Sleep, 500
    Send, {Space}    ;Skips the chat
    Sleep, 500
    Send, {Space}    ;Skips the chat
    Sleep, 500
    Send, {Space}    ;Skips the chat
    Sleep, 2500
    Send, o    ;Open friends
    Sleep, 3500    ;Increase this depending on how long it takes host to create his game and "Join game" come available
    MouseClick, right, Hostx, Hosty ; Right click on top friend
    Sleep, 1000
    MouseClick, left , JGx, JGy ; Left click on join game and repeat;
    Sleep, 7000
    }
    else
    {
    Send, {Space}    ;Skips the chat
    Sleep, 500
    Send, {Space}    ;Skips the chat
    Sleep, 500
    Send, {Space}    ;Skips the chat
    Sleep, 500
    Send, {Space}    ;Skips the chat
    Sleep, 500
    Send, {Space}    ;Skips the chat
    Sleep, 2500
    Send, o    ;Open friends
    Sleep, 3000    ;Increase this depending on how long it takes host to create his game and "Join game" come available
    MouseClick, right, Hostx, Hosty ; Right click on top friend
    Sleep, 1000
    MouseClick, left , JGx, JGy ; Left click on join game and repeat;
    Sleep, 5000
    }
    }
    }
    return
    You can delete some of the {spaces} or you can make it random by adding a random variable and make a switch statement, not sure if autohotkey have any switch statement, if not just do an if else statement works the same way.

    Edit: To make it random space pounding instead of constant 4 spaces every time which makes it suspicious.
    Add: (Either on top of the script or above the loop (I put mine at the top of the script kind of a habit putting instance variables on top)
    Code:
    Random rnd, 3,5
    Optional: Add a function for randomsleep time:
    Code:
    RandS(x,y) 
    {
    Random, rnds, %x%, %y%
    Sleep %rnds%
    }
    Change those spaces to:
    Code:
    if(rnd = 3)
    {
    	Send, {Space}    ;Skips the chat
    	RandS(500,750)
    	Send, {Space}    ;Skips the chat
    	RandS(500,750)
    	Send, {Space}    ;Skips the chat
    }
    else if(rnd = 4)
    {
    	Send, {Space}    ;Skips the chat
    	RandS(500,750)
    	Send, {Space}    ;Skips the chat
    	RandS(500,750)
    	Send, {Space}    ;Skips the chat
    	RandS(500,750)
    	Send, {Space}    ;Skips the chat
    }
    else if(rnd = 5)
    {
    	Send, {Space}    ;Skips the chat
    	RandS(500,750)
    	Send, {Space}    ;Skips the chat
    	RandS(500,750)
    	Send, {Space}    ;Skips the chat
    	RandS(500,750)
    	Send, {Space}    ;Skips the chat
    	RandS(500,750)
    	Send, {Space}    ;Skips the chat
    }
    I am not sure if I need the %rnd% == 3 etc in the if statement or just keep it the way I have it. If anyone with more experiences autohotkey can confirm which is correct that would be appreciated. Other than that I think the if statement is functioning correctly.

    Cheers
    Last edited by 12Seconds; 06-22-2012 at 01:44 PM. Reason: Random sleep/ifstatement for spaces

  11. #71
    ladam's Avatar Member
    Reputation
    3
    Join Date
    Apr 2008
    Posts
    31
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I found that I keep clicking to the right of the screen. So what I did was modify the pixel search, get it to go to WP first (This seems to always center your character). Then the distance from the WP to adria is always the same. So I just put a static location for that.

  12. #72
    3t3rn4l's Avatar Member
    Reputation
    3
    Join Date
    Dec 2010
    Posts
    114
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why does it say party locked after a few games when I have auto join enabled?

  13. #73
    Mikevin's Avatar Member
    Reputation
    1
    Join Date
    Dec 2008
    Posts
    16
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by 12Seconds View Post
    ...
    Thanks, I finally fixed mine by using:
    Pixelsearch, Px, Py, 0, 0, 400, 300, color, 3, fast ;Searches for adria, change color is needed
    at 800x600 resolution. Works like a charm and has for a couple of hours. Don't need the spaces anymore since it doesn't go to the right anymore.

    I think the spaces are better but the randomization is probably overkill. I think monitoring that kind of behavior would be too much work for blizzard.

  14. #74
    DeadlyDragon's Avatar Active Member
    Reputation
    31
    Join Date
    Sep 2006
    Posts
    125
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I used to have it clicking the wp but it just took too long. Mikevine there was an option in there to use for smaller screens, have no idea how it worked because i didnt really have any one to test iot lol. I am going to put in a safeguard so that it wont press esc to bring up the menu. The update wont come untill tonight or so though.

  15. #75
    DaSyco's Avatar Member
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    25
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    do i have to save the code as a certain file? first time using autohotkey and im kinda lost

Page 5 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. [Tool] SVNUpdater - Update all SVN links with one click
    By backwards in forum World of Warcraft Bots and Programs
    Replies: 8
    Last Post: 01-25-2014, 07:58 PM
  2. [request] Update all npc's to level 19
    By Pedregon in forum WoW EMU Questions & Requests
    Replies: 5
    Last Post: 04-25-2010, 04:18 PM
  3. [WIP] Magical Forest (updated, new screens!)
    By The Lex in forum World of Warcraft Model Editing
    Replies: 8
    Last Post: 03-15-2010, 05:32 AM
  4. Update: All wow id's New sounds and morph codes
    By henk in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 12-16-2007, 02:30 PM
All times are GMT -5. The time now is 02:37 PM. 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