toni, wäre noch nett wenn du paar funktionen einfügen könntest, so das ich das net immer nachtragen muss ;)
beim identen die tasten zum öffnen und schliessen des invs mit einfügen.
Code:
;function sell
func sell($countclicks)
RndSleep(1500)
MouseSend("left", "click", $STclickX, $STclickY)
RndSleep(200)
for $i = 1 to $countclicks
MouseSend("left", "click", $SBclickX, $SBclickY)
RndSleep(200)
Next
EndFunc
;deathcheck
Func death()
if _memoryread($memdeath,$hprocess) = 1 Then
$death = true
return
EndIf
EndFunc
;hardmode
func hm()
MouseSend("left", "click", $HMclickX, $HMclickY)
EndFunc
Code:
; ident all items from start row to end row (0..8) using ident kit at row/col (0..4)
Func IdentItems($StartRow, $EndRow, $IdentCol, $IdentRow)
keysend($Oinvkey)
RndSleep(500)
if $EndRow > $invMaxR Then
$end = $invMaxR
Else
$end = $EndRow
EndIf
For $row = $StartRow To $end
For $col = 0 To $invMaxC
ControlClick($client, "", "", "left", 2, $invPos[$IdentCol][$IdentRow][0], $invPos[$IdentCol][$IdentRow][1])
RndSleep(150)
MouseSend("left", "click", $invPos[$col][$row][0], $invPos[$col][$row][1])
RndSleep(150)
Next
Next
RndSleep(500)
keysend($Oinvkey)
EndFunc