tio
I found a slolution. I change some sleep timers and now its working perfect for me:
This is the script im using now: (Thx to OP)
Code:Hotkey, F2, Pause ; If different pausebutton is needed, replace F2 with hotkey code F1:: ; If different pausebutton is needed, replace F1 with hotkey code loop { ;MouseClick, left, 1121, 415 ;resume game right side RandSleep(633,731) Send, o ;open friends RandSleep(833,931) MouseClick, right, 700, 361 ; 460 ; right click flist RandSleep(833,931) MouseClick, left, 740, 488 ; 600 ; join party Sleep, 1500 ;This sleep and next are the main ones. ;Runner must leave game before leecher loads into game, but after leecher connects MouseClick, left, -607, 22 ;select window left Sleep, 375 Send, {ESC} ;open menu Sleep, 375 MouseClick, left, 474, 572 ;click leave game Sleep, 375 MouseClick, left, 422, 615 ;confirm leave Sleep, 8750 MouseClick, left, 181, 415 ;resume game RandSleep(333,431) ;SEARCH FOR ADRIA, you spawn at different locations so have to perform a pixelsearch ;Color might not work for everyone, use windowspy to find color that works for you Pixelsearch, Px, Py, 970, 40, 1145, 120,0x1E2438, 4, fast MouseClick, left, %Px%, %Py% ;click adria Sleep, 2850 ;Waittime for walking to adria, if pressing esc to fast/slow adjust (Depends on movespeed) RandSleep(633,731) Send, {ESC} ;close conversation RandSleep(533,631) Send, {ESC} ;close conversation RandSleep(533,631) Send, {ESC} ;open menu RandSleep(533,731) MouseClick, left, 474, 572 ;click leave game Sleep, 8800 } return ;restart script RandSleep(x,y) { Random, rand, %x%, %y% Sleep %rand% } Pause: pause return
Hey guys been playing around with the script its pretty cool.
I have below a version scaled to work for 1600x900 resolution.
Alternatively you can scale the X and Y pixel coordinates in the script yourselves by multiplying the resolution ratios.
I do however still encounter an occasional error like once or twice an hour, so I kinda have to babysit. Basically my client just disconnects for a little while and then reconnects... any thoughts?Code:Hotkey, F2, Pause ; If different pausebutton is needed, replace F2 with hotkey code F1:: ; If different pausebutton is needed, replace F1 with hotkey code loop { ;MouseClick, left, 935, 345 ; 1121, 415 ;resume game right side RandSleep(633,731) Send, o ;open friends RandSleep(633,731) MouseClick, right, 683, 301 ; 700, 361 ; 460 ; right click flist RandSleep(633,731) MouseClick, left, 716, 407 ; 740, 488 ; 600 ; join party Sleep, 375 ;This sleep and next are the main ones. ;Runner must leave game before leecher loads into game, but after leecher connects MouseClick, left, -505, 18 ; -607, 22 ;select window left Sleep, 375 Send, {ESC} ;open menu Sleep, 375 MouseClick, left, 395, 477 ; 474, 572 ;click leave game Sleep, 375 MouseClick, left, 352, 512 ; 422, 615 ;confirm leave Sleep, 6500 MouseClick, left, 151, 346 ;181, 415 ;resume game RandSleep(233,331) ;SEARCH FOR ADRIA, you spawn at different locations so have to perform a pixelsearch ;Color might not work for everyone, use windowspy to find color that works for you Pixelsearch, Px, Py, 808, 45, 955, 100,0x1E2438, 4, fast ; 970, 40, 1145, 120,0x1E2438, 4, fast A37758 RandSleep(633,731) MouseClick, left, %Px%, %Py% ;click adria Sleep, 2750 ;Waittime for walking to adria, if pressing esc to fast/slow adjust (Depends on movespeed) RandSleep(633,731) Send, {ESC} ;close conversation RandSleep(633,731) Send, {ESC} ;close conversation RandSleep(633,731) Send, {ESC} ;open menu RandSleep(633,731) MouseClick, left, 395, 477 ; 474, 572 ;click leave game Sleep, 6500 } return ;restart script RandSleep(x,y) { Random, rand, %x%, %y% Sleep %rand% } Pause: pause return
Hey guys been playing around with the script its pretty cool.
I have below a version scaled to work for 1600x900 resolution.
Alternatively you can scale the X and Y pixel coordinates in the script yourselves by multiplying the resolution ratios.
I do however still encounter an occasional error like once or twice an hour, so I kinda have to babysit. Basically my client just disconnects for a little while and then reconnects... any thoughts?Code:Hotkey, F2, Pause ; If different pausebutton is needed, replace F2 with hotkey code F1:: ; If different pausebutton is needed, replace F1 with hotkey code loop { ;MouseClick, left, 935, 345 ; 1121, 415 ;resume game right side RandSleep(633,731) Send, o ;open friends RandSleep(633,731) MouseClick, right, 683, 301 ; 700, 361 ; 460 ; right click flist RandSleep(633,731) MouseClick, left, 716, 407 ; 740, 488 ; 600 ; join party Sleep, 375 ;This sleep and next are the main ones. ;Runner must leave game before leecher loads into game, but after leecher connects MouseClick, left, -505, 18 ; -607, 22 ;select window left Sleep, 375 Send, {ESC} ;open menu Sleep, 375 MouseClick, left, 395, 477 ; 474, 572 ;click leave game Sleep, 375 MouseClick, left, 352, 512 ; 422, 615 ;confirm leave Sleep, 6500 MouseClick, left, 151, 346 ;181, 415 ;resume game RandSleep(233,331) ;SEARCH FOR ADRIA, you spawn at different locations so have to perform a pixelsearch ;Color might not work for everyone, use windowspy to find color that works for you Pixelsearch, Px, Py, 808, 45, 955, 100,0x1E2438, 4, fast ; 970, 40, 1145, 120,0x1E2438, 4, fast A37758 RandSleep(633,731) MouseClick, left, %Px%, %Py% ;click adria Sleep, 2750 ;Waittime for walking to adria, if pressing esc to fast/slow adjust (Depends on movespeed) RandSleep(633,731) Send, {ESC} ;close conversation RandSleep(633,731) Send, {ESC} ;close conversation RandSleep(633,731) Send, {ESC} ;open menu RandSleep(633,731) MouseClick, left, 395, 477 ; 474, 572 ;click leave game Sleep, 6500 } return ;restart script RandSleep(x,y) { Random, rand, %x%, %y% Sleep %rand% } Pause: pause return
Hello.
Script works fine,but eventually bugs out every 20 mins or so.
Screens get messed up somehow.And both end up in the right part of the screen.
Then,the one account starts sending random invites to people in recently played list.
Any ideas?
I'm using the updated script.
Can anyone help me on using this? I can't get two equally proportioned windows of diablo on each side of my screen, windows key + right arrow doesn't work or left arrow
EDIT: nevermind my keyboard's anti-windows key thing was switched on
Last edited by Atheus; 07-05-2012 at 03:15 PM.
I have another problem, the runner is inviting the first person, what are the coords for the 3rd? i don't know how to get them or change them
EDIT: yet another issue, the left window keeps getting minimized to smallest size instead of the way it is when you windows key+left arrow and even after it invites the other person, the invite just stays and the runner walks around doing nothing
help please?
Last edited by Atheus; 07-05-2012 at 04:10 PM.
I think this has been fixed. Whenever the runner leaves the party, the leecher is kicked out.
EDIT: Nevermind, I was just doing it wrong.
Last edited by Carbette; 07-06-2012 at 12:36 AM.
works good, thanks so much!
Last edited by AyTony; 07-06-2012 at 02:14 AM.
I am guessing this is for 1st version. Use window spy to find the coords for the invite box of the 3rd person, and change that part of the code (should just change the y coord only).
If a screen goes out of the half-max, then the script wont work and u need to reset it. This usually happens if there is some extra lag on bnet, or your computer's load time
why the leecher is getting kicked from the party? what am i doing wrong?
Is there a solo version of doing this? Like, just having my guy kill ZK over and over and turn it in?
can anyone explain how I would get the script to work with my resolution 1680x1050
I'm getting the following error while executing the script:
Hotkey, F2, Pause
Hotkey^ ERROR
Error: Missing separator character after keyword.
Do I install the script on both copies or just one because I'm using vmware