hello everyone. I am trying things with sarkoth farming and i need HELP how can i create function in it to analyze and show average gold per hour, time farmed, total runs, cellar spawn times, items looted. Can anybody help me? Would appreciate it.
hello everyone. I am trying things with sarkoth farming and i need HELP how can i create function in it to analyze and show average gold per hour, time farmed, total runs, cellar spawn times, items looted. Can anybody help me? Would appreciate it.
That is WAY to much work to do with an AutoIT script, and most things are even impossible.
First of it is impossible to read the gold picked up, best you could do is output an image of the gold after every run which wont make sense.
Time farmed is easy, just add a timestamp before the loop ( So this gets output only once ) and then add a timestamp in your pause function. This way you can see what time it started and what time it got paused.
Total runs should be doable by adding a simple function in the loop adding +1 to a variable every time the loop is completed.
Cellar spawns: You are working with an If/else loop so add a function in both loops that does the same as above.
Items looted is impossible. Unless you want to go about making a screenshot of every single item you loot and then manually look through that.
actually it is possible to read gold
you can capture images of 0-9 and use those images to read
Edit: Sorry my original post was somehow quoted in this post, just ignore this line.
Yeah but adding 10 imagesearches per number means you have to do at least 60 imagesearches to just read a gold amount of 100K. This would slow down your script by a lot and it would be a hell to code. And it would be useless as well, you would be better of just noting down the gold you had when you started and the gold you have when you finish, which takes no effort at all.
Or you can find the offset for your gold value and have it display the value before and after the run,, and divide that by the total run time
just tell it to snapshot a small area that tells the gold amount (right above your inventory), then call a dll that can analyze the shot - similar to how people crack the 'captcha'. except these are plain numbers, not even distorted or alphabetic so should be piece of cake.
could also do the imagesearch thing for each digit. not as tedious as it sounds, could work ok but more room for error.
doesn't seem so hard. but then again, neither does writing down how much gold you had when you started the bot, then do a 10 second calculation when you come back to it half an hour or an hour later.
Last edited by TanookiLover; 06-22-2012 at 04:14 PM.
Use OCR as notAres did. You don't need to read every single gold pick up, just open the inventory every certain period and calculate the difference. The position of the gold in inventory is always the same.
sorry im noob in programmind. I just looked some examples and created good wizard bot for sarkoth farm. Could anyone give example or write it for me?
D3 Gold profiles
take your pick
i like shimizoki's script, then i just throw in pathing, attack routine, abort from chancity for wiz or tofuartist for barb
Last edited by TanookiLover; 06-22-2012 at 04:21 PM.
yeah its pretty simple, there are examples of reading mem values in the mem section of course.
(goldEnd-goldStart)/(timeEnd-timeStart)
No injection? i'm new here what do you mean
edit: you don't even need to read mem values, just make a popup and type in the gold values yourself, time can be managed by macro
?? reading memory values injects code? I thought thats the point, if you JUST read, there is no injection