zonedguy / zoned

D2 files
MIT License
9 stars 1 forks source link

1920x1080 script not redeeming #1

Closed jaaneh closed 4 years ago

jaaneh commented 4 years ago

Hey, thanks for the scripts!

The 1920x1080 scripts all end up missing the bountes when going to redeem. My res is set correctly.

zonedguy commented 4 years ago

Odd, I've had hundreds of successful runs for those resolution files between my clan and me. That image shows it is considerably short on the X axis. Please verify that you are not running at 1920 x 1440 instead?

jaaneh commented 4 years ago

Strange. Both my monitor and d2 are running 1920x1080. Everything works fine up until the claiming and after.

zonedguy commented 4 years ago

Strange indeed. You can update the scripts to work for you be editing the files in notepad.

MouseMove is the command that changes the cursor and it does so with X, Y values. In this instance look for the text that says:

; Redeem 7 Paradox bounties

MouseMove, 190, 0, 5, R

190 is the X value which you need to change. I'm guessing you want something around 260 or more, but you'll have to test it through trial and error. Make sure once you find the right value that also put that value in the code below as a negative so the cursor moves back to the original spot:

; Exit Quest menu and return to neutral position

Send {Esc down} Sleep, 150 Send {Esc up} Sleep, 1000 MouseMove, -190, 0, 5, R Sleep, 1200

jaaneh commented 4 years ago

Cheers. 295/-295 seems to work fine for me.

Also had to change these to hit the dismantle correctly ; Open inventory, go to primary weapons then first weapon slot MouseMove, -650, 120, 5, R to MouseMove, -590, 120, 5, R

; Exit Bounties and go back to neutral position MouseMove, 650, -120, 5, R to MouseMove, 590, -120, 5, R

Works like a charm now 😄

zonedguy commented 4 years ago

Identified the issue. Running in fullscreen windowed mode on a screen with a higher resolution causes runs AHK at the native resolution not at the game resolution. This causes the relative movements to miss targets. Run the script while in fullscreen or normal windowed modes

jaaneh commented 4 years ago

Strange. These are the settings I'm running. With 1920x1080 monitor (VG248QE) Still requires me to run my custom script though.

zonedguy commented 4 years ago

What FOV are you using? Are you rendering above 100%?

On Fri, Feb 21, 2020, 7:02 PM Jan Henning notifications@github.com wrote:

Strange. These are the settings I'm running. With 1920x1080 monitor (VG248QE) Still requires me to run my custom script though.

https://camo.githubusercontent.com/87df91eb12401b13eb5d08c10480905778e0a0bb/68747470733a2f2f6a61616e792e78797a2f692f6e347079732e706e67

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/zonedguy/zoned/issues/1?email_source=notifications&email_token=ADXQMOZ7OHDPXYCRV3ODNB3REB2UDA5CNFSM4KYC63M2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMUSB7I#issuecomment-589897981, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADXQMO2DER34U46O3LBICMTREB2UDANCNFSM4KYC63MQ .

jaaneh commented 4 years ago

FOV 105, rendering 100%

jaaneh commented 4 years ago

I figured out my issue. I play with screen bounds as tiny as possible (found it boosts a couple fps for me). Running main script with default screen bounds work fine.