Skip to content

Commit

Permalink
Merge pull request #82 from djravine/81-bug-switch_play_server-respon…
Browse files Browse the repository at this point in the history
…se-not-always-obeyed

Fix variable bug
  • Loading branch information
djravine authored Oct 4, 2023
2 parents 9d0948b + 9fd5020 commit 32c8f3a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 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.66

* Fix incorrect variable in 'switch_play_server' in server calls

## 3.65

* Detect 'switch_play_server' in server calls
Expand Down
6 changes: 3 additions & 3 deletions 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.65"
global VersionNumber := "3.66"
global CurrentDictionary := "2.32"

;Local File globals
Expand Down Expand Up @@ -3576,10 +3576,10 @@ ServerCall(callname, parameters, newservername = "") {
WR.Close()
}
LogFile("API Call (" playservername "): " callname)
swtichPlayServer := InStr(rawdetails, "switch_play_server")
swtichPlayServer := InStr(data, "switch_play_server")
; MsgBox, % "swtichPlayServer - " swtichPlayServer
if (swtichPlayServer > 0) {
playservername := GetPlayServer(rawdetails)
playservername := GetPlayServer(data)
ServerCall(callname, parameters, playservername)
}
if( !CheckServerCallError(data) ) {
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.65** is the current supported Version. [View changelog.](https://github.com/djravine/idlecombos/blob/master/CHANGELOG.md)
**v3.66** 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 32c8f3a

Please sign in to comment.