Skip to content

Commit

Permalink
Merge pull request #80 from djravine/69-bug-idlecombos-stopped-redeem…
Browse files Browse the repository at this point in the history
…ing-chests

Detect 'switch_play_server' in server calls
  • Loading branch information
djravine authored Oct 3, 2023
2 parents 39f2c91 + c98a264 commit 9d0948b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ To all the Idle Dragoneers who inspired and assisted me!

------

## 3.65

* Detect 'switch_play_server' in server calls

## 3.64

* Fix chest ID's for buy/redeem
Expand Down
8 changes: 7 additions & 1 deletion IdleCombos.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include idledict.ahk

;Versions
global VersionNumber := "3.64"
global VersionNumber := "3.65"
global CurrentDictionary := "2.32"

;Local File globals
Expand Down Expand Up @@ -3576,6 +3576,12 @@ ServerCall(callname, parameters, newservername = "") {
WR.Close()
}
LogFile("API Call (" playservername "): " callname)
swtichPlayServer := InStr(rawdetails, "switch_play_server")
; MsgBox, % "swtichPlayServer - " swtichPlayServer
if (swtichPlayServer > 0) {
playservername := GetPlayServer(rawdetails)
ServerCall(callname, parameters, playservername)
}
if( !CheckServerCallError(data) ) {
return
}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Companion App for Idle Champions, written in [AHK](https://www.autohotkey.com/).

**v3.64** is the current supported Version. [View changelog.](https://github.com/djravine/idlecombos/blob/master/CHANGELOG.md)
**v3.65** is the current supported Version. [View changelog.](https://github.com/djravine/idlecombos/blob/master/CHANGELOG.md)

![Screenshot](https://i.imgur.com/LoeTt9r.png)

Expand Down

0 comments on commit 9d0948b

Please sign in to comment.