Originally Posted by
wittekop
ellow peoples, once again, we're back
today i edited the 1.3 script for my wizard, seems to be working nice. just tested it for ~4 hours while i was at bbq party with family. when i got back home, my char was still running and picked up ~550k gold (my wiz dies alot - no smokescreen + walks alot slower so that's ok for me..
thing is : no rares / legendaries picked up. i was watching it for about 10 minutes and i noticed after killing the mobs, sometimes he runs to the top right corner and teleports to town from there. i think he detects a brown pixel from the floor or a pillar like it's a legendary? anyone else have this problem ?
i guess the rares color code needs some tweaking, i could test by dropping some items on the floor and run it again.. will let you know soon
edit : just dropped a rare in a finished run and started it over, char doesn't pick it up. gonna try and edit the color code see what he does
make sure it looks like this
Code:
Func CheckLoot()
Sleep(Random(500,2000))
$SetLoot = PixelSearch(Round(400*$x_ratio), 0, Round(1690*$x_ratio), Round(900*$y_ratio), 0x02CE01, 4) ; set loot
If Not @error Then
MouseClick ('left', $SetLoot[0], $SetLoot[1])
Sleep(Random(800,1200))
$i+= 1
If $i <= 6 Then
Call("CheckLoot")
EndIf
EndIf
$LegendaryLoot= PixelSearch(Round(400*$x_ratio), 0, Round(1690*$x_ratio), Round(900*$y_ratio), 0xBF642F, 0) ; legendary loot
If Not @error Then
MouseClick ('left', $LegendaryLoot[0], $LegendaryLoot[1])
Sleep(Random(800,1200))
$i+= 1
If $i <= 6 Then
Call("CheckLoot")
EndIf
EndIf
If $LootRares Then
$RareLoot = PixelSearch(Round(400*$x_ratio), 0, Round(1690*$x_ratio), Round(900*$y_ratio), 0xBBBB00, 4) ; rare loot (darker for compatibility)
If Not @error Then
MouseClick ('left', $RareLoot[0], $RareLoot[1])
Sleep(Random(700,900))
$i+= 1
If $i <= 6 Then
Call("CheckLoot")
EndIf
EndIf
i have mine to not pick up legendary because it clicks the lamp for me when i have legendary on for pick up so i took it off