• Log in or sign up for an account here: https://www.sythe.org/login

Lost and found random for Rsbot (Fixed) By me

Pivotnewb

Forum Addict
Joined
Feb 23, 2008
Sythe Gold
0
Messages
257
Heh Im forever_madness on www.rsbot.org im a well known scripter (I think)
Well I dunno if it works 100% So I need testers so will somone gladly test it :love:
Here you go
*Apparantly what made it not work before was that the guy (budda) who supposedly fixed it forgot to put in the (FindObject) Method so It wouldnt look at anything*
Post your results
Code:
import com.speljohan.rsbot.script.Random;
import com.speljohan.rsbot.script.wrappers.*;

public class LostAndFound extends Random {

	public static final RSTile LOSTANDFOUND = new RSTile(2338, 4747);
	public int[] APPENDAGEID = {8994, 8995, 8996, 8997};
	public String getName() {
		return "LostAndFound";
	}

	public int loop() {
		if (!(distanceTo(LOSTANDFOUND) <= 9) && APPENDAGEID != null) {
	    RSObject APPENDAGE = findObject(APPENDAGEID);
		atObject(APPENDAGE, "Operate");
			wait(random(500, 1000));
			for (int i = 0; i < 2; i++) {
				clickMouse(300, 450, true);
				wait(random(1500, 2000));
			}
			return -1;
		}
		return -1;
	}

	public boolean activateCondition() {
		if (!isLoggedIn()) {
			return false;
		}
		getNearestNPCByID(2470);
		if (distanceTo(LOSTANDFOUND) <= 25) {
			return true;
		}
		return false;
	}

	public String getAuthor() {
		return "Forever_madness; Fixed by Budda Then refixed by Forever";
	}

	public double getVersion() {
		return 1;
	}
}
 
What does this actualy do ? :s
 
Runescape Gamblingrunescape gambling
Back
Top