The bot with my resolution_settings.ini in Fr bdo client work very well i dont need change pic in res folder, the only problems is Marketplace the bot wont work in Fr Client, he dont see Buy/Bid/BidR in Fr language.Quote:
you have to edit picture in the folder of the bot... And it's annoying lol that's why I prefer keep english client for that bot...
Func AH()
$AH = Not $AH
If $AH = False Then
SetGUIStatus("Pausing AH")
Else
SetGUIStatus("Starting AH")
EndIf
While $AH = True
GetStateAH()
WEnd
EndFunc ;==>AH
Func DetectStateAH(ByRef $C)
Local $SSN = 1
FFSnapShot(1273 + $ResOffset[0], 326 + $ResOffset[2], 1326 + $ResOffset[0], 736 + $ResOffset[1], $SSN)
; buttons region
$FF3 = FFColorCount($C[4], 10, True, $C[0], $C[1], $C[2], $C[3], $SSN)
Return $FF3
EndFunc ;==>DetectStateAH
Func GetStateAH()
Local Const $PurpleBags = "res/marketplace_purplebags.bmp"
Local $x, $y, $IS
Local $auctionbid[5] = [1289, 340, 1315, 354, 0xB8B8B8] ;first button
Local $offsetbuy = 62 ;offset between buy-bid buttons
Local $SSN = 1, $FF
$ResOffset = DetectFullscreenToWindowedOffset()
$IS = _ImageSearchArea($PurpleBags, 1, $ResOffset[0], $ResOffset[1], $ResOffset[2], $ResOffset[3], $x, $y, 0, 0)
If $IS = False Then
SetGUIStatus("No PurpleBags found. Stopping.")
$AH = False
EndIf
While $AH = True
SetGUIStatus("Marketplace is working")
Sleep(Random(400, 600))
MouseClick("left", 793, 775, 1, 1)
FFSnapShot(1275, 330, 1327, 860, $SSN)
$count = 0
For $j = 0 To 6 ; number of checks
$FF = FFColorCount($auctionbid[4], 10, True, $auctionbid[0], $auctionbid[1] + $offsetbuy * $j, $auctionbid[2], $auctionbid[3] + $offsetbuy * $j, $SSN)
If $FF > 5 Then
$count += 1
EndIf
Next
If $count >= 1 Then
Bid($auctionbid, $count)
EndIf
WEnd
EndFunc ;==>GetStateAH
Func Bid($coords, $number)
Cr(@CRLF + $number)
For $i = 0 To $number - 1
MouseMove(Int($coords[0]), Int($coords[1]) + 62 * $i, 0)
Sleep(200)
MouseDown("left")
Sleep(200)
MouseUp("left")
Sleep(200)
CoSe("{ENTER}")
CoSe("{ENTER}")
Next
EndFunc ;==>Bid
try the attached script, extract it inside ur current bot folder then use f5 to start the market place and btw it only works for single itemQuote:
wat can i do with this replace Func Marketplace code or just add them?
can you explane wat meane this code pls :
Func FastFindBidBuy($x, $y)
Local $Valid[2] = [0x979292, 0xB8B8B8]
Local $SSN = 1, $FF
Local $BidR[3] = [21, 12, 21]
Local $Buy[3] = [3, 12, 21]
Local $Bid[3] = [4, 12, 21]
Local $BuyOffset[3] = [78, 54, 62] ; x, y, height 7
i can change that to make marketplace work in fr client?
I don't understand, how are you able to fix market place if the script use imagesearch ?Quote:
try the attached script, extract it inside ur current bot folder then use f5 to start the market place and btw it only works for single item
p.s resolution 1920*1080
Tray this it for Fr Lang + AZERTY keyboard 1920/1080 and the market place work nice (ty to AH) ^^Quote:
I don't understand, how are you able to fix market place if the script use imagesearch ?
By the way, how can we add that our character have to dry everything ? also golden fish
i'm only using imagesearch to know if ure on the correct window or not you can even remove that line if u want it's kinda useless and instead of using a specific color on a specific coords i'm counting a color on an area that's why it will work for most of the languagesQuote:
I don't understand, how are you able to fix market place if the script use imagesearch ?
By the way, how can we add that our character have to dry everything ? also golden fish
Thanks for answer,Quote:
i'm only using imagesearch to know if ure on the correct window or not you can even remove that line if u want it's kinda useless and instead of using a specific color on a specific coords i'm counting a color on an area that's why it will work for most of the languages
For Looting there is the Min Rarity, which means pick up everything that is of equal or higher rarity.Quote:
When I put max rarity golden fish, golden is in ? I tought he keep golden instead of Dry them :p