Skip to content

Instantly share code, notes, and snippets.

View Byteflux's full-sized avatar
☂️

Matthew Harris Byteflux

☂️
View GitHub Profile
@Byteflux
Byteflux / ShiftClickHelper.ahk
Created June 3, 2024 07:27
AHK script for Diablo 4 to enable basic skills to be performed by shift-click despite left-click being bound to Move or Move/Interact. Additionally prevents stutter stepping when spamming shift-click attacks.
; For my personal use, this script slightly changes how shift-clicking
; works in Diablo 4.
;
; The script requires a couple of key binding changes:
; 1. Move or Move/Interact must be bound to the Left Mouse Button.
; 2. Basic Skill must be bound to Mouse Button 5 (M5).
;
; After key bindings have been set, as you'd expect you can no longer
; perform a basic skill with left click.
;
@Byteflux
Byteflux / ForceLogout.ahk
Created September 27, 2024 23:14
A simple TCP logout macro for Path of Exile using Autohotkey 2 and CurrPorts
#Requires AutoHotkey v2.0
#SingleInstance Force
LogoutHotkey := "``" ; Keybind used to trigger the logout action
ClientProcessName := "PathOfExileSteam.exe" ; Should be "PathOfExile_x64.exe" or "PathOfExileSteam.exe"
CurrPortsName := "cports.exe"
CurrPortsDownloadURL := "https://www.nirsoft.net/utils/cports-x64.zip"
TestCurrPortsPath(Path)