Giter Site home page Giter Site logo

zbee / d4-always_gatehall Goto Github PK

View Code? Open in Web Editor NEW
4.0 3.0 0.0 35 KB

A short script to take you straight to the Season 3 Gatehall town in Diablo 4 at a single keypress

AutoHotkey 100.00%
autohotkey-script diablo diablo-4 diablo-4-script diablo-script diablo4

d4-always_gatehall's Introduction

Always Gatehall

This script will take you to Gatehall in Diablo 4, the current best town by far, whenever you press G!

The release assumes your keybinds are as follows:

  • M for map
  • F for filters on the map (not currently something you can rebind)
  • enter to confirm dialogs (to finish the teleport) (not currently something you can rebind)
  • and G to Go to Gatehall! (this does not rely on a keybind in game, but I prefer to rebind it to be the same key as my Town Portal hotkey, which it will prevent you from pressing and instead take you to gatehall)

I guess technically this is botting and you could get banned for that ... ? But since it's just teleporting you to Gatehall and would be used irregularly I don't think it would ever be found or punished.

It only looks at the screen, no memory or files, and doesn't edit anything: it just moves your mouse around, and clicks your keybinds.

Of course, it is still use at your own risk.

Use

  • Download the latest release (if your map is M and G is fine for Gatehall)
  • Extract the .exe and the images into a folder where ever
  • Run the .exe whenever you're grinding Diablo, and press G whenever you want to go to the best town!

If the keybinds are not acceptable:

  • Download the repository
  • Extract the .ahk and the images into a folder where ever
  • Edit the .ahk to your keybinds (search for ; Core keybinds in the file, and edit both the letters in {M} and g:: to be the 2 keys you want)
  • Compile the script with AHK2
  • Run the .exe whenever you're grinding Diablo, and press your hotkey whenever you want to go to the best town!

Functionality

  • It will open your map
    • If your chat is open, it will abort
    • If your map was already open, it will then reopen the map
  • If your journal was open, it will close it
  • It will get to the world map from whatever map you're on
  • Then it will zoom out your map
  • Then it will disable Waypoints on your map
  • Then it will find the gatehall waypoint
    • If it can't find gate hall it will drag your map to the bottom left, then re-search as it drags it towards the top right
  • Then it will turn the Waypoints back on
  • Then it will TP you to Gatehall if was found
    • If the click fails, it will try up to 2 more times

Compatibility

This was tested on small and medium text, at 2 different brightness settings near the default, in Season 3 (obviously. though, hopefully the Gatehall sticks around), at 16:9 2160p and 21:9 1440p.

Caveats

If you're in a special map zone that is NOT the overworld that does not show the "1", "2", etc labels next to the different world areas (only such zone I have found is Gatehall), then it relies on very specific colors that are dependent on your brightness settings to click your map to the overworld.

If the script freaks out for some reason (eg, it is scrolling the map but can't find Gatehall) it will stop working if Diablo loses focus (so: alt-tab) or if you hold Escape.

Customization

Keybinds, and colors-searched-for, are both at the top of the script for you to edit.

Other color tolerances (for the images-searched-for) can be found by searching the script for "* and increased as necessary.

d4-always_gatehall's People

Contributors

zbee avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

d4-always_gatehall's Issues

Resolution 3840x2160

Hi,

Your script is really practical! Can you make a version that works for resolution 3840x2160 16:9 plz?

Thanks :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.