Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (Main.fishType == "shrimp") {
- if (Fish.interact("Net","Fishing spot")) {
- Condition.wait(new Callable<Boolean>(){
- @Override
- public Boolean call() throws Exception {
- return ctx.players.local().animation()!=-1;
- }
- }, 25, 20);
- Main.Status = "Fishing";
- new AntibanTimer(ctx, timerDuration);
- } else {
- ctx.camera.pitch(Random.nextInt(90, 99));
- }
- } else if (Main.fishType == "trout" || Main.fishType == "salmon") {
- Component noFeathers = ctx.widgets.component(229, 0);
- if (noFeathers.visible()) {
- ctx.widgets.component(229, 1).interact("Continue");
- ctx.controller.stop();
- String timeStamp = new SimpleDateFormat("HH:mm:ss").format(Calendar.getInstance().getTime());
- System.out.println("Stopping Script, no feathers "+timeStamp);
- }
- if (Fish.interact("Lure","Fishing spot")) {
- Condition.wait(new Callable<Boolean>(){
- @Override
- public Boolean call() throws Exception {
- return ctx.players.local().animation()!=-1;
- }
- }, 25, 20);
- Main.Status = "Fishing";
- new AntibanTimer(ctx, timerDuration);
- } else {
- ctx.camera.pitch(Random.nextInt(90, 99));
- }
- } else if (Main.fishType == "tuna" || Main.fishType == "swordfish") {
- if (Fish.interact("Harpoon","Fishing spot")) {
- Condition.wait(new Callable<Boolean>(){
- @Override
- public Boolean call() throws Exception {
- return ctx.players.local().animation()!=-1;
- }
- }, 25, 20);
- Main.Status = "Fishing";
- new AntibanTimer(ctx, timerDuration);
- } else {
- ctx.camera.pitch(Random.nextInt(90, 99));
- }
- } else if (Main.fishType == "lobsters") {
- if (Fish.interact("Cage","Fishing spot")) {
- Condition.wait(new Callable<Boolean>(){
- @Override
- public Boolean call() throws Exception {
- return ctx.players.local().animation()!=-1;
- }
- }, 25, 20);
- Main.Status = "Fishing";
- new AntibanTimer(ctx, timerDuration);
- } else {
- ctx.camera.pitch(Random.nextInt(90, 99));
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement