[Looting]
Sets=True
Legendaries=True
Rares=True
Magic=True
Gems=True
Tomes=True
Custom=False
Should be correct. I guess designs should be looted too? and hopefully stashed and not vendored?
Again didn“t loot 2 yellow items.
[Looting]
Sets=True
Legendaries=True
Rares=True
Magic=True
Gems=True
Tomes=True
Custom=False
Should be correct. I guess designs should be looted too? and hopefully stashed and not vendored?
Again didn“t loot 2 yellow items.
Last edited by bandersnatch; 06-25-2012 at 07:18 AM.
Hey All,
First off THANK YOU for all the awesome work on these scripts - I read every post in this thread and after much trial and error have (mostly) gotten it working. I am currently using tofuartist's latest version (for some reason Blacksack's kept missing the cellar for me, despite having identical code for running over there as far as I could tell). I am still having 3 problems that I would very much appreciate some help with:
1. When I had vending enabled my barb could never actually find the vendor to sell my loot. Currently I have it disabled, but it would be nice to get that extra $$.
2. Whenever my barb tries to repair, he successfully repairs, but then I get an error which stops the script:
Line 392 (File "C:\Users\bob\Downloads\tofuartist's_barbarian_sarkoth_script3.au3):
Sleep(Random(1000, 2000)
Sleep(Rnadom(1000, 2000^ ERROR
Error: Error parsing function call
Here is the function that seems to be causing the problem:
Func DoRepair()
Sleep(Random(75, 150))
Call("TownPortal")
If Call("CheckDead") Then
Return
EndIf
If CheckFor("NewTristram", "Area", 1500 * $x_ratio, 0 * $y_ratio, 1920 * $x_ratio, 80 * $y_ratio, 6, 180) Then
RandClick("left", Round(1480 * $x_ratio), Round(281 * $y_ratio), 1, 1) ;begin movement towards merchant
Moving(1875)
RandClick("left", Round(1316 * $x_ratio), Round(206 * $y_ratio), 1, 1) ;moves to get merchant in screen
Moving(1875)
RandClick("left", Round(845 * $x_ratio), Round(225 * $y_ratio), 1, 1) ;NPC Merchant to the right of cain's home
Sleep(1200)
RandClick("left", Round(521 * $x_ratio), Round(506 * $y_ratio), 1, 1) ;button to open up repair menu
Sleep(400)
RandClick("left", Round(260 * $x_ratio), Round(595 * $y_ratio), 1, 1) ;button to pay for repairs
Sleep(Random(1000, 2000)
Send("{Escape}")
If Not Call("CheckDead") Then
Call("LeaveGame")
EndIf
EndIf
EndFunc ;==>DoRepair
3. When using Blacksack's (which might not give me this vending problem?) I was missing the cellar often, I have no idea, but if fixing that issue is easier I'm up for that too.
Thanks again!!!!
Lovely 10 hour proggy using BlackSacks modified version.
![]()
*I found out why the script sometimes stops on your profile page!*
*NEED HELP FIXING IT*
Right after it runs the first triangle to pick up gold after attacking Sarkoth, it immediately leaves the game rather than looting.
It then attempts to loot after it is back at the main menu, this clicks on the banner and brings up the banner page.
After it "loots" it tried to teleport back to town and gets the "Not in New Tristam" error and attempts to leave the game, even though you are in the main menu.
Doing this closes the banner page and clicks on your character (where the leave button should be) and brings up the profile page.
If anyone has any idea why it does this (I know many people are having this issue sporadically) , or how to fix it let me know!
Some ideas are either fixing the problem in the first place, or when it errors out "Resume button not found" to search for an image in the profile page. If it finds it, it closes the page and restarts the "Start Game" part of the script.
*EDIT*
Maybe making it as simple as hitting the "Esc" key when the "Resume button not found" comes up would be simpler.
Okay, so I "patched" the issue. I made it hit the escape key when it couldn't find the resume button and that worked. Now I just need to solve why it tries to leave the game before looting, then tries to loot after it leaves the game.
*EDIT*
The only solutions that I can come up with is that it is calling the CheckDead() function before looting and leaving the game. I have disabled the two calls for CheckDead() in the cellar and will post an update after running the script for awhile.
Last edited by SamSmitty; 06-25-2012 at 10:03 AM.
Okay so I fixed my issue finding the cellar by putting tofu's code for finding it in blacksack's, but unfortunately I confirmed that BOTH scripts are not finding the vendor after going to the stash. They successfully stash my gems etc. but then miss the vendor and stand in the corner near him. Does anyone have a modified function for walking from the stash to the vendor or can someone help me figure out how to change it? Thanks!
Hmmmm.. I got a little problem here 4/10 time my char leap in a short distance near to the entrance follow my shout and sprint but didnt manage to reach the cellar, it stop somewhere near the woods and teleport back to town and leave game . Anyone know what cause this? Anyone facing this matter? Everything run perfectly except the leaping part in the beginning, btw my Ping is around 280-420 not really stable.. Is my connection cause this issue? How can I set to stay idle for 1 or 2 second before my char start walk and do leap,shout,sprint? Thank you and sorry for my bad English
<Problems removed after I downlowded some updated scripts OP posted. Now my only problem is that CoA (# Key) does not consisttenly launch. Is there a way to spam 1-4 during takedown of Sarkoth?>
Added some click 4's to both the fail to find cellar routine and the battle routine. Seems to work great so far.
Last edited by amustrami; 06-25-2012 at 01:19 PM. Reason: Update
the script relies heavily on having good latency. The best thing to do is change all of the wait times to be higher, the script does not know when you are lagging, for example, Sleep(3000) waits exactly 3 seconds to do the next action no matter what. If your next action took 5 seconds, it already moved on before your character caught up.
Everywhere that you see " Sleep(xxx) " you need to make that number higher.
For example, the first movement is
Sleep(Random(990, 1140))
If you are not getting to the correct location before it leaps, you must change this to
Sleep(Random(1300, 1500)).
The first leap is
Send($Skill1)
Sleep(300)
Change it to
Send($Skill1)
Sleep(500)
and you will have an extra 20 milliseconds.
Can you take it from there?
The script registers anything brown on the screen as a legendary, don't pay any mind to that, but everything else is accurate.
Can anyone help? When i change my ini file to the settings i want the script still runs the original settings. I have been looking around and cant find the answer, im sure it is something simple. Thanks in advance!
Hello I m trying to use this script but when I start script on resume screen its starting game from checkpoint and portaling town back leave game and resume game and portal back and leave game all the time its not going farm just repeat this loop what can be the problem ? Thanks .
I'd like to make a contribution with my own mod(-ish), just in case this helps anyone here.
Link to script: http://pastebin.com/FCWmVVJq
Link to /pics/ files: Zippyshare.com - pics.zip
The bad:
- Higher wait times between clicks and mouse moves.. also lower mouse speed (can be modified in the script)
- Removed _old_ custom stash options
- no update code (not planning on shipping updates)
- no gold calculator, no logging (nice features, I personally don't need them)
The good:
- over 10hrs of runtime and 0% cellar miss
- script only shows the successful cellar runs onscreen
- Improved error handling (not getting stuck on banner page?)
- New Analyze Loot Settings Options like "salvage", "stash", and "vend"
ex:
$i59Rare = "stash"
$i60Rare = "stash"
$i61Rare = "stash"
$i62Rare = "stash"
$i63Rare = "stash"
$i59Magic = "vend"
$i60Magic = "vend"
$i61Magic = "salvage"
$i62Magic = "salvage"
$i63Magic = "stash"
The requirements are the same as before. Hope it works for you guys.
Last edited by ILackSkill; 06-25-2012 at 06:21 PM. Reason: going old. forgetting stuff.