Last edited by kallellkryptonite; 06-14-2012 at 08:13 AM.
Still gettin line 95 error
$frmBot = GUICreate("notAres' Sarkoth Extension", 280, 121, Round(1540*$x_ratio), Round(920*$y_ratio), -1,
BitOR($WS_EX_TOPMOST,$WS_EX_TOOLWINDOW))
$frmBot = GUICreate("notAres' Sarkoth Extension", 280, 121,
Round(1540*^ ERROR
Error:Variable used without being declared. Why iis everyones script working fine except me
notAres just a note on the tomes, the filenames arent the same (from the png and the code in the script. The first letter is capital in the png filename and the script is calling it without a capital)
In the meantime for people using the script now, to make sure the tomes are getting stashed properly you must change the spelling of the "tomeIcon.png" in the script to "TomeIcon.png". Or change the filename of the png to have a small caps 't'.
hi all got it working a while but ive been encountering an error
Line269
If $VendorLoot Then
It ^ ERROR
any ideas?
i have tried the original and my modified one and they both have this error
notAres responded to you last page mentioning to try and take out the _ratio variables, have you tried that yet?
In place of Round(1540*$x_ratio), Round(920*$y_ratio), just put the x and y:
$frmBot = GUICreate("notAres' Sarkoth Bot", 270, 121, 1540, 920, -1, BitOR($WS_EX_TOPMOST,$WS_EX_WINDOWEDGE))
Try that and see if it works?
Gems are being mistakenly sold when selling magic items.. How to fix this?
Yes, I did try that. Hence i said "Still" as in I already did it. I just deleted the whole thing and im getting another error
Until _ImageSearchArea($string, 1, $startX, $startY, $endX, $endY, $gX,
$gY, $tolerance)
Until ^ ERROR
Error:Unknown function name
Only problem I have is that it tried to sell unidentified yellows. Turned selling them off and just stashing them for now.
Still had the Main Menu loop within exit game. Added an imagesearch. Maybe this works, will test it for some hours
I'm having a couple of problems:
got problem stashing the rares, it got stuck selling the unidentified rare when selling blues to the vendor.
sometimes, i gut stuck in the network disconnect(?) any idea what can i add to the script just to press the ok button when this happens?
not a big deal, but tome counter not incrementing?
i think somethings off when using the smoke screen when the script detects and tries to go to dank cellar. it keeps on saying skill not ready? that never happened on previous versions.
thanks guys!
how i can run that bot on 1680x1050 resolution?
Download https://i.imgur.com/gvo2Y.png and put in pics directory
Line 262-264 v1.5d pastebin version (replace) :
Function, copy/paste at the bottom of the script if you don't know where to put it.Code:If $VendorLoot Then If $VendorRare Then Call("IdentifyRares") Call("VendorLoot") EndIf
Code:Func IdentifyRares() ; Requires https://i.imgur.com/gvo2Y.png to be put in pics directory $gX = 0 $gY = 0 GUICtrlSetData($lblStatus, "Status: Identifying Rares") Sleep(500) Send("c") Sleep(500) While _ImageSearchArea($pngLoc & "gvo2Y.png",1,1398*$x_ratio,572*$y_ratio,1914*$x_ratio,888*$y_ratio,$gX,$gY,120) sleep(Random(75, 150)) MouseClick("right",$gX,$gY) sleep(Random(3000, 3500)) WEnd Send("c") Sleep(500) EndFunc