I like your ideas, sadly i would need some kind of multithreating for that, i can simply not check the farmers location until it went through the entire loop. Anyway I made it very fast now, using the distance between mouse and farmer. Since it pickpockets faster it kinda keeps following the guy.
To search it rotates 90 degrees with a little random anti ban addition, but I deleted spacing in the case to speed up the searching, it will take almost less than 10 seconds to find the farmer once lost.
Originally Posted by
drub
Oh so you're making a delay for the player to reach the farmer and pickpocket...i see. I think..
I had an idea for how you could keep the farmer on screen:
currently, it appears to randomly rotate the camera until it happens on the farmer, setting other parts of the script in motion.
What if you change that part of the script so that it divides the screen in half. if the script no longer detects the farmer after it was just on the right side of the screen, then the script could rotate to the right. Then the rest of the script would stay the same. Is that possible and would that work? Or could that interfere with certain randoms...
this is the waiting between pickpocket btw:
Code:
wait((distance(Ox, Oy, x, y) * 5) + random(250))
what you're seeing is the anti-ban.
0.8 released
Please use the latest version.
If you use the normal 0.8 chances of dieing are high!!!!