Skip to content

Commit

Permalink
minor bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Eruyome committed Dec 2, 2016
1 parent 5e28a5e commit 6222f08
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
5 changes: 5 additions & 0 deletions TradeUpdates.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
The following is a list of what has been updated, starting with 1.1.0

1.2.3
=================================================================================================
Finally fixed league parsing (default between temp-leagues).
Minor bug fixes.

1.2.2
=================================================================================================
Fixed some advanced search gui options not resetting properly after searching.
Expand Down
4 changes: 4 additions & 0 deletions trade_data/TradeMacro.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,14 @@ CustomInputSearch:
RequestParams.name := ItemName
RequestParams.league := LeagueName
Item.Name := ItemName

ShowToolTip("Running search...")

Payload := RequestParams.ToPayload()
Html := TradeFunc_DoPostRequest(Payload)
ParsedData := TradeFunc_ParseHtml(Html, Payload)
SetClipboardContents(ParsedData)

ShowToolTip("")
ShowToolTip(ParsedData, true)
}
Expand Down
7 changes: 6 additions & 1 deletion trade_data/TradeMacroInit.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,12 @@ TradeFunc_CheckIfTempLeagueIsRunning() {
tempLeagueDates := TradeFunc_GetTempLeagueDates()

If (!tempLeagueDates) {
defaultLeague := "standard"
If (InStr(TradeOpts.SearchLeague, "standard")) {
defaultLeague := "standard"
}
Else {
defaultLeague := "hardcore"
}
Return 0
}

Expand Down
2 changes: 1 addition & 1 deletion trade_data/Version.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
TradeReleaseVersion := "1.2.2"
TradeReleaseVersion := "1.2.3"
TradeAHKVersionRequired := "1.1.24.01"

0 comments on commit 6222f08

Please sign in to comment.