Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Commit

Permalink
v1.7.1
Browse files Browse the repository at this point in the history
- Fixed Resize All button.
- Fixed a bug where it would clear log file when press Ctrl + F1.
- Change the selected slot image from cross to tick.
  • Loading branch information
mannguyen0107 committed Sep 12, 2015
1 parent fe97276 commit 607eb22
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 18 deletions.
2 changes: 1 addition & 1 deletion LFBot/GlobalVariables.ahk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Global BotVer := "1.7"
Global BotVer := "1.7.1"
Global BDActive
Global ClientWidth
Global ClientHeight
Expand Down
2 changes: 1 addition & 1 deletion LFBot/Tab_FishingBot.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Anti-AFK:
{
ModifyListView("FishingList", AFKList[a_index, 1], 2, "0")
ModifyListView("FishingList", AFKList[a_index, 1], 3, "Unknown")
ModifyListView("FishingList", AFKList[a_index, 1], 4, "AFK")
ModifyListView("FishingList", AFKList[a_index, 1], 4, "Anti-AFK")
HumanPressButton("rctrl", AFKList[a_index, 2])
}
Return
Expand Down
20 changes: 10 additions & 10 deletions LFBot/Tab_Misc.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ LoadGUIImgSetSlots()
ImgSelectedX := ImgSlotX + 6
ImgSelectedY := ImgSlotY_Base + 4
Gui, Main:Add, Picture, x%ImgSlotX% y%ImgSlotY_Base% w31 h31 gSlot%a_index%, %A_ScriptDir%/data/img/inv/slots/%a_index%.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/cross.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/tick.png
}
else if (a_index >5 and a_index <= 10)
{
Expand All @@ -259,7 +259,7 @@ LoadGUIImgSetSlots()
ImgSelectedX := ImgSlotX + 6
ImgSelectedY := ImgSlotY + 4
Gui, Main:Add, Picture, x%ImgSlotX% y%ImgSlotY% w31 h31 gSlot%a_index%, %A_ScriptDir%/data/img/inv/slots/%a_index%.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/cross.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/tick.png
}
else if (a_index >10 and a_index <= 15)
{
Expand All @@ -268,7 +268,7 @@ LoadGUIImgSetSlots()
ImgSelectedX := ImgSlotX + 6
ImgSelectedY := ImgSlotY + 4
Gui, Main:Add, Picture, x%ImgSlotX% y%ImgSlotY% w31 h31 gSlot%a_index%, %A_ScriptDir%/data/img/inv/slots/%a_index%.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/cross.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/tick.png
}
else if (a_index >15 and a_index <= 20)
{
Expand All @@ -277,7 +277,7 @@ LoadGUIImgSetSlots()
ImgSelectedX := ImgSlotX + 6
ImgSelectedY := ImgSlotY + 4
Gui, Main:Add, Picture, x%ImgSlotX% y%ImgSlotY% w31 h31 gSlot%a_index%, %A_ScriptDir%/data/img/inv/slots/%a_index%.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/cross.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/tick.png
}
else if (a_index >20 and a_index <= 25)
{
Expand All @@ -286,7 +286,7 @@ LoadGUIImgSetSlots()
ImgSelectedX := ImgSlotX + 6
ImgSelectedY := ImgSlotY + 4
Gui, Main:Add, Picture, x%ImgSlotX% y%ImgSlotY% w31 h31 gSlot%a_index%, %A_ScriptDir%/data/img/inv/slots/%a_index%.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/cross.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/tick.png
}
else if (a_index >25 and a_index <= 30)
{
Expand All @@ -295,7 +295,7 @@ LoadGUIImgSetSlots()
ImgSelectedX := ImgSlotX + 6
ImgSelectedY := ImgSlotY + 4
Gui, Main:Add, Picture, x%ImgSlotX% y%ImgSlotY% w31 h31 gSlot%a_index%, %A_ScriptDir%/data/img/inv/slots/%a_index%.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/cross.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/tick.png
}
else if (a_index >30 and a_index <= 35)
{
Expand All @@ -304,7 +304,7 @@ LoadGUIImgSetSlots()
ImgSelectedX := ImgSlotX + 6
ImgSelectedY := ImgSlotY + 4
Gui, Main:Add, Picture, x%ImgSlotX% y%ImgSlotY% w31 h31 gSlot%a_index%, %A_ScriptDir%/data/img/inv/slots/%a_index%.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/cross.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/tick.png
}
else if (a_index >35 and a_index <= 40)
{
Expand All @@ -313,7 +313,7 @@ LoadGUIImgSetSlots()
ImgSelectedX := ImgSlotX + 6
ImgSelectedY := ImgSlotY + 4
Gui, Main:Add, Picture, x%ImgSlotX% y%ImgSlotY% w31 h31 gSlot%a_index%, %A_ScriptDir%/data/img/inv/slots/%a_index%.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/cross.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/tick.png
}
else if (a_index >40 and a_index <= 45)
{
Expand All @@ -322,7 +322,7 @@ LoadGUIImgSetSlots()
ImgSelectedX := ImgSlotX + 6
ImgSelectedY := ImgSlotY + 4
Gui, Main:Add, Picture, x%ImgSlotX% y%ImgSlotY% w31 h31 gSlot%a_index%, %A_ScriptDir%/data/img/inv/slots/%a_index%.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/cross.png
Gui, Main:Add, Picture, x%ImgSelectedX% y%ImgSelectedY% w21 h22 BackgroundTrans vSelected%a_index% gSlot%a_index%, %A_ScriptDir%/data/img/inv/tick.png
}
}
Return
Expand Down Expand Up @@ -425,7 +425,7 @@ ResizeAll:
WinGet, ClientList, List, ahk_exe trove.exe
Loop, %ClientList%
{
WinGet, PID, PID, ahk_id %A_Index%
WinGet, PID, PID, % "ahk_id" ClientList%A_Index%
WinMove, ahk_pid %PID%, , , , %ClientWidth%, %ClientHeight%
}
Return
Expand Down
5 changes: 0 additions & 5 deletions LazyFishing.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,6 @@ LogPath := % A_ScriptDir . "\data\log\" . LogTimeStamp . ".txt"
log("Started LazyFishing Bot v" . BotVer, TimeStamp, LogPath)
Return


F1::
Reload
Return

; -------------------------------------------------------------------------
; ~Start~ Buttons that don't belong to any tabs.

Expand Down
6 changes: 5 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,8 @@ v1.7:
- Clean up un used variables (increases CPU performance)
- Clean up the bot folder. Deleted un use images.
- Seperate code into many sections (for development purpose).
- Added auto shutdown computer or trove.
- Added auto shutdown computer or trove.
v1.7.1 (HotFix):
- Fixed Resize All button.
- Fixed a bug where it would clear log file when press Ctrl + F1.
- Change the selected slot image from cross to tick.
Binary file modified data/img/launcher/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 607eb22

Please sign in to comment.