package scripts;
import bot.ScriptMethods;
public class Slycutter extends ScriptMethods implements Runnable {
//-------------------------------------------------------------------------------------------------//
//
//
//
//
//
//
//
//
//-------------------------------------------------------------------------------------------------//
public Thread scriptThread;
public boolean scriptRunning = false;
public void start() {
getAccountSettings();
System.gc();
scriptRunning = true;
scriptThread = new Thread(this);
scriptThread.start();
//-------------------------------------------------------------------------------------------------//
}
public void stop(); {
System.gc();
scriptRunning = false;
debug("Stopped script.");
}
//-------------------------------------------------------------------------------------------------//
public void run(); {
while (scriptRunning) {
try {
handleEvents();
int[] tree = getObjectById(1);
int[] tree2 = getObjectById(0);
int[] tree3 = getObjectById(70);
if (!isSleeping()) {
//-------------------------------------------------------------------------------------------------//
if (tree[0] != -1) {
atObject(tree[1], tree[2]);
wait(random(600, 1000));
//-------------------------------------------------------------------------------------------------//
} else if (tree2[0] != -1) {
atObject(tree2[1], tree2[2]);
wait(random(600, 1000));
//-------------------------------------------------------------------------------------------------//
} else if (tree3[0] != -1) {
atObject(tree3[1], tree3[2]);
wait(random(600, 1000));
//-------------------------------------------------------------------------------------------------//
} else {
wait(200);
}
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
//-------------------------------------------------------------------------------------------------//
public void handleEvents() throws Exception; {
if (welcomeBoxOpen())
setWelcomeBox();
if (!isLoggedIn())
doLogin();
if (getFatigue() > 80 && !isSleeping()) {
wait(600);
useItem(1263);
wait(600);
//-------------------------------------------------------------------------------------------------//
}
if (getFatigueSleeping() < 10 && isSleeping())
doSleeping();
if (getFightMode() != fightMode)
setFightMode();
}
}
}
//-------------------------------------------------------------------------------------------------//
Compile information.
Parsing Input... Compiling... Standard Output from javac: /tmp/jc_12694/Slycutter.java:83: class, interface, or enum expected } ^ 1 error Output File(s) No Output File created

New Topic/Question
Reply


MultiQuote



|