add it after
Func VendItems($color, $tolerance)
$c = 0
While $c <= 20
Sleep(Random(20, 100))
$VendPixel = PixelSearch(1400 * $x_ratio, 580 * $y_ratio, 1914 * $x_ratio, 888 * $y_ratio, $color, $tolerance)
If Not @error Then
MouseClick("right", $VendPixel[0], $VendPixel[1], 1, 4)
$c += 1
Else
ExitLoop
EndIf
WEnd
EndFunc ;==>VendItems
The game client will pop up that says disconnected from network about every 45min-1.5hr. (If clicked Ok then the script would continue to work) Anyone has the same issue?? or a fix??
I have about 120-135 ms latency
I thought it was already in the code to check for that. You can go back a page or 2 and look for the info I posted about the banner problem and follow those instructions for a fix if it's not there
After lookin at the pastebin code it checks for that you either aren't waiting Lon enough for it to detect it usually takes like 1-2mins or either you need to redo the image for it
Last edited by stealthingyew; 07-01-2012 at 09:29 AM.
my runs are taking up to 60 seconds per run how can i make it faster? it seems like it takes forever to pick up the items
I got the GPH functions to work. But you're missing a few global variables in your main post.
Post them and I will edit and update it I thought I just added them to the back I might have forgot to copy some I was gonna post my whole global line but it has a lot of variables his main script doesn't use so didn't want to add more clutter
$hFont = 0, $title, $Paused, $Go = False, $i = 0, $gX = 0, $gY = 0, $LegendaryCount = 0,$RepairCount=0, $SetCount = 0, $RareCount = 0, $MagicCount = 0,$deathLabel, $GemCount = 0, $TomeCount = 0, $deathCount = 0, $cellarCount = 0, $t = TimerInit(), $rt = 0, $run = 0, $yellow = 0xFFF000, $red = 0xD90000, $lblRun, $lblLocation, $lblStatus, $lblLast, $lblRuntime, $lblGear, $lblItems,$lblGold, $lblFailed, $StartingGold = 0,$AccumulatedGold = 0,$GPH = 0, $StartingG, $AccumulatedG, $TotalGold, $CurrentGoldCaptured , $CurrentGoldInteger
Last edited by stealthingyew; 07-01-2012 at 10:12 AM.
"$StartingGold
$AccumulatedGold
$lblGold
$GPH"
I believe thats it.
BTW thanks.
Last edited by nmaharg; 07-01-2012 at 10:14 AM.
I also posted salvage for all magic items but it's in the thread for chancity wizard but it also works with this script. Keep In mind it's all magic not by item level and it will decrease your gph but you get crafting mats
http://www.ownedcore.com/forums/diab...ml#post2337902 ([Goldfarming] Dank Celler Gold and Loot [AutoIT Script] [WIZARD] [1920x1080])
Last edited by stealthingyew; 07-01-2012 at 10:24 AM.
I keep getting false positive's on legendary and set pickups, never had that issue before and not changed anything.
Before when it said i could be sure to find them in stash, now stats report one atleast every 12 hours but never anything in stash/bags
Any1 know why this is suddenly happening ?
Is your inventory getting filled up by accidentally picking up whites/grays and not getting them vendored over extended sessions? I think if your inventory is full and the script tries to pick up an item, it'll just keep flipping it over and over on the ground, raising the counter.
So, you might have actually had 1 drop, but your character couldn't pick it up, but tried to 10+ times before you portal out.
I always seem to accidentally pick up a white/gray item here or there, which over a 10+ hour period ends up filling up my inventory. I finally changed my settings to not pick up anything but rares, legendaries, and set items if I'm running for 10+ hours at a time, to hopefully not miss any rare items.
It cuts down your gold per hour a little bit, not having blues to vendor, but I think its worth it to not miss a legendary/set item accidentally
im pretty new to this but i have gotten a few other scripts to work for me i just cant get this one to work.
whats going on is it starts. the run counter pops up. the mouse pointer goes to the bottom right corner. and the run counter begins to say cant find resume, cant find old ruins, cant find crypt so on and so forth. it was saying it could not find .png files but i think i got this fixed i put the .png for my resolution (1600x900) in C:\scripts\pics\ i then changed the ini the line that says PNG Location=C:\scripts\pics\ <---- looks exactly like that. i no longer get the error that it cant find the .png files. but the run counter just tells me resume and such are not found.
do i need to create my own .png files? if so how exactly is this done?
do i just take a program like paint or what not take a screen shot of the word to be made into the .png with my current resolution black out the background crop it down? and rename it with the .png extension?
any help to clarify why its doing this and how i can fix it would be amazingly helpful. and remember im new to this so try to dumb it down a bit for me lol thanks
Edit: okay so i tryed to make a resume png i used my resolution and made it look exactly like the one that was already there renamed it and it still told me resume was not found so i dont think my png files are bad it must be somthing else any one?
Last edited by xrpgkingx; 07-01-2012 at 01:06 PM.