oops read it wrong
oops read it wrong
Last edited by Angrycoder; 07-01-2012 at 02:09 AM. Reason: Read Wrong
I havent changed anything so I think it should be the same as everyone elses, but here ya go
Code:Func GoldPerHour() Send("i") Sleep(200) $CurrentGold = _TesseractScreenCapture(0, "", 1, 2, 1450*$x_ratio, 504*$y_ratio, 1570*$x_ratio, 530*$y_ratio, 0) Sleep(200) Send("i") $CurrentGold = StringRegExpReplace($CurrentGold, "[^0-9]", "") $trt = TimerDiff($t) If $StartingGold <= 0 Then $StartingGold = $CurrentGold If $StartingGold > 0 Then $AccumulatedGold = $CurrentGold - $StartingGold $GPH = $AccumulatedGold / ($trt / 1000) * 3600 If $GPH >= 0 and $AccumulatedGold >=0 then If $GPH > 1000000 Then $GPH = Round($GPH/1000000,2) & "M" ElseIf $GPH > 1000 Then $GPH = Round($GPH/1000) & "K" EndIF If $AccumulatedGold > 1000000 Then $AccumulatedGold = Round($AccumulatedGold/1000000,2) & "M" ElseIf $AccumulatedGold > 1000 Then $AccumulatedGold = Round($AccumulatedGold/1000) & "K" EndIF GUICtrlSetData($lblGold,$GPH & " Per Hour - Accumulated Gold: " & $AccumulatedGold) EndIf EndFunc ;==>GoldPerHour
This really is an excellent script chancity. Are there any future plans to add salvaging based on ilvl? Just curious before I go diving in and make it myself.
up until i actually start the bot, then it just goes and teleports to town, and leaves the game, and repeats. in the trouble shooting it gives you info on the png, and how its in the top right hand corner..but this litterally is no help, i dunno what to do . any help?
i've got all the skills set up as it should, window'd fullscreen, 1920x1080. but it always just teleports to town.
************************************************
Chancity's Dank Celler
Stats:
Total Runtime: 9 hours, 20 minutes
Total Cellars Found: 0 (0%)
Total Cellars Not Found: 1147 (100%)
Total Deaths: 2 (0%)
Total Repairs: 0 (0%)
Loot:
Magic: 1076 - Gems: 0 - Tomes: 48
Legendary: 7 - Set: 0 - Rare: 50
426K Per Hour - Accumulated Gold: 3.97M
************************************************
Using a modified script just copypastad the archon teleport into the dank cellar part of the script and changed magic weapon to hydra so it still clicks 4. Works really nice although the output is buggy the gold and magic found is right.
What version are you using? Does the bot mouse over Sarkoth? Does the bot immidiatly goes out of Archon or first wait a while(As long as the attacktime shoulda been)?
Script is working for a lot of people, that it isn't working for you likely has to do with your computer being too slow to handle the sleep times or something. Try and figure out exactly between which steps it's going wrong and adjust the sleeptime inbetween the actions. This is the first time I've been using an AutoIt script and already understand most/all of the code. It's quite intuitive IMO.
Hi,
my problem is:
Script and version: 2.0.3
Help or request: Does not teleport to town if the cellar isnt open
Desktop resolution: 1920x1080
Diablo 3 window type: Full screen
Operating system (32-bit or 64-bit): 64-bit
Manual or auto install: Auto
Move bound to mouse3: Yes
Game language English
If the bot founds the cellar he teleports to town but if not he isn't. :<
Please tell me a solution