Jump to content

Sacred 2 - Auto Save [AHK]


ameaeth

Recommended Posts

Hi friends.

I hope this is the right place to post this.

Since Sacred 2 is not the most stable of games for me espacially in multiplayer which to play I like best, I thought an auto-save feature would save me and my friends the possible trouble of lost main quest progress. So I tinkered a bit and created an AHK Script. However, at this point I have no Idea why the script won't recognize Sacred 2 running. (AHK complied script running as admin).

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

#MaxThreadsPerHotkey 2

#Persistent    ; Not really needed with this script, but included anyway.
ToggleS2 := False

$PgDn::
ToggleS2 := Not ToggleS2
If ToggleS2
    SetTimer, S2Repeat, 2000
Else
    SetTimer, S2Repeat, Off
Return

S2Repeat:
IfWinActive, AHK_CLASS Sacred2 Main
{    
    Send F7
}
Return

 

In essence I'm really just looking for some kind of auto-save so if anyone has a solution I'd be happy. :)

 

Cheers

 

 

Edited by ameaeth
Link to comment
  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
Please Sign In or Sign Up