Skip to content

Commit

Permalink
Correct status bar info + update version for release
Browse files Browse the repository at this point in the history
  • Loading branch information
DetroitApps committed Dec 3, 2019
1 parent ad9135c commit dc4b191
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 10 deletions.
3 changes: 2 additions & 1 deletion Scenarios/ConnectPlayersOnServer.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,10 @@ Main:

window.isConnected := True

API.GuiUpdateProgressBar(i, API.GetNbWindows())
API.GuiUpdateProgressBar(A_Index, API.GetNbWindows())
i++
SleepHandler(0)
}

API.GuiUpdateProgressBar(100)
return
3 changes: 1 addition & 2 deletions Scenarios/OpenDofusInstances.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ Main:
API.GuiUpdateProgressBar(0, 3)
API.GuiUpdateProgressText("Opening Dofus instances...")

;API.ClearWindowList()
nbAccounts := API.GetNbAccounts()

i := 1
Expand Down Expand Up @@ -37,7 +36,7 @@ Main:
this_window.WaitOpen()
this_window.SetTitle()

API.AddWindowToListView(i)
API.AddWindowToListView(this_window.id)
API.GuiUpdateProgressBar(A_Index, API.GetNbActiveAccounts())

i++
Expand Down
6 changes: 3 additions & 3 deletions Scenarios/Out/MergedScenarios.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,12 @@ ConnectPlayersOnServer:

window.isConnected := True

API.GuiUpdateProgressBar(i, API.GetNbWindows())
API.GuiUpdateProgressBar(A_Index, API.GetNbWindows())
i++
SleepHandler(0)
}

API.GuiUpdateProgressBar(100)
return

;Scenario merged from: Scenarios\CycleWindows.ahk
Expand Down Expand Up @@ -254,7 +255,6 @@ OpenDofusInstances:
API.GuiUpdateProgressBar(0, 3)
API.GuiUpdateProgressText("Opening Dofus instances...")

;API.ClearWindowList()
nbAccounts := API.GetNbAccounts()

i := 1
Expand Down Expand Up @@ -285,7 +285,7 @@ OpenDofusInstances:
this_window.WaitOpen()
this_window.SetTitle()

API.AddWindowToListView(i)
API.AddWindowToListView(this_window.id)
API.GuiUpdateProgressBar(A_Index, API.GetNbActiveAccounts())

i++
Expand Down
1 change: 0 additions & 1 deletion Tools/Release Maker/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
Tools\Scenario Merger.ahk
app.ahk
resources
settings_default.ini
Expand Down
2 changes: 1 addition & 1 deletion Tools/Release Maker/build.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[Build]
Id=24
Id=29
2 changes: 1 addition & 1 deletion src/labels/labels.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ LoadProfile:
IniRead, serverSlot, %profileIniPath%, Accounts, ServerSlot%A_Index%
IniRead, nickname, %profileIniPath%, Accounts, Nickname%A_Index%
IniRead, characterClass, %profileIniPath%, Accounts, Class%A_Index%
IniRead, initiative, %profileIniPath%, Accounts, Initiative%A_Index%
IniRead, initiative, %profileIniPath%, Accounts, Initiative%A_Index%, 0
IniRead, isActive, %profileIniPath%, Accounts, IsActive%A_Index%
If (username = "ERROR" || password = "ERROR")
break
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.5-beta
1.1

0 comments on commit dc4b191

Please sign in to comment.