Skocz do zawartości

dawwwwwwwwwidek

Members
  • Postów

    285
  • Rejestracja

  • Ostatnia wizyta

O użytkowniku

  • Płeć
    Mężczyzna

Osiągnięcia dawwwwwwwwwidek

  1. nie ma linków do sciągnięcia możesz zrobic update?
  2. XorRom ma x10 exp http://rom.xor-net.com/Site/Main/ a na rom4u [/b]http://www.mpcforum.pl/topic/487341-best-priv-rom4u/ link do tematu na forum[/b] [b]a tutaj masz raty[/b] - 10x EXP - 10x Tp - 10x Drop - 3x Gold [b][b] w kodzie masz na wszelki wypadek do oficlanych stronek tam wszystko znajdziesz przynajmniej na tej pierwszej ta dróga troche okrojona jest ;/
  3. pewnie masz kilka dni opóźnienia
  4. co do tych twoich pro skryptów to nie mam nic ale znając youtube to same śmieci są wolę sprawdzoną stronkę z skryptami z milionami użytkowników i miliardami postów, które są 100% bez wirów i sprawdzone
  5. Dzięki za info bo powerbota znam bo kożystam z nich 4 lata tylko troszke im zajeło przeniesienie forum i wszystkich skryptów bo zamknięciu strony i znowu wrucili w wielkim stylu a 2 pozostałych nie znałem dzięki za info
  6. Polecam Powerbot.org sorki za reklamowanie ale to głowna strona bota najlepszego ludzie najczesciej dostaja bana tylko dlatego ze taki mod czy ktos przyjdzie zablokuje np. NPC-ka i wysyła raporty pokolei ale to raz na dzien około 20-23 są takie naloty a tak to ogólnie dobrze się bocie najlepiej po max 10-15h wtedy gówno mogą zrobić bo normalnie idzie tez tyle grac a boce od 4 lat a najszybsze expo to jest na p2p moim zdaniem które mam juz od 4 miesięcy i wbiłem w te 4 miechy ponad 50m xp więc nie tak źle moim zdaniem
  7. Kolega nie szuka gier lecz silników do tych gier na google pewnie już jakieś są znając życie
  8. co to ma być za tut a gdzie masz napisane o sawmill treningu ?? tu masz może połowę tutka czego nazwac tak nie można tej garstki informacji, którą podałeś a będzie plus
  9. Skrypty zapisywać w bocie RSBot\Scripts\Sources wszystko daje w kodzie aby nie było to tak na sam początek dam agality skrypt Zapisać jako AIOAgalityarena.java on jest na: Barbarian Gnome curse (1 lvl co się ćwiczy) import java.awt.*; import java.awt.image.*; import java.awt.event.*; import java.io.*; import java.net.*; import java.text.*; import java.util.*; import java.util.Timer; import javax.imageio.ImageIO; import org.rsbot.script.*; import org.rsbot.script.methods.Inventory; import org.rsbot.script.methods.MethodContext; import org.rsbot.script.util.*; import org.rsbot.script.wrappers.*; import org.rsbot.event.listeners.PaintListener; import org.rsbot.gui.AccountManager; import org.rsbot.script.wrappers.RSTile; import org.rsbot.util.GlobalConfiguration; import java.awt.Graphics; import java.util.ArrayList; @ScriptManifest(authors = "Doout", name = "Doout's Agility", version = 1.6, description = "") public class DooutAgility extends Script implements PaintListener, MouseMotionListener, MouseListener { private Var var = new Var(); private DecimalFormat XP = new DecimalFormat("###,###,###"); double CoureXP = 0; Timer runTime; int Course; String ts = "Setting Up"; RSObject c = null; Paint p; private static boolean GUIPaint = true; private final Image showPaint = getImage("show.png"); private final Image hidePaint = getImage("hide.png"); private final Image UNS = getImage("mouse%20unselected.png"); private final Image S_1 = getImage("1selected.png"); private final Image S_2 = getImage("2selected.png"); private final Image S_3 = getImage("3selected.png"); private final Image S_4 = getImage("4selected.png"); private final Image S_5 = getImage("5selected.png"); private final Image S_6 = getImage("6selected.png"); private final Image S_7 = getImage("7selected.png"); private final Image S_8 = getImage("8selected.png"); private final Image GNOME = getImage("gnomecourse.png"); // private final Image ADV_GONME = getImage("advgnomecourse.png"); private final Image BARB = getImage("barbariancourse.png"); // private final Image ADVBARB = getImage("advbarbariancourse.png"); // private final Image APE = getImage("apeatollcourse.png"); private final Image Start = getImage("start.png"); private final Image[] cous = new Image[] { GNOME, BARB /* * ,APE, ADV_GONME, * ADVBARB */}; private final Image[] a = new Image[] { UNS, S_1, S_2, S_3, S_4, S_5, S_6, S_7, S_8 }; boolean paintGUI = true; int part = 1; int Cous = 0; int mouses = 0; private boolean show = true; public final void GUIPaint(Graphics2D g) { random(100, 2000); if (part == 1) { g.drawImage(cous[Cous], -1, 339, null); } else if (part == 2) { g.drawImage(a[mouses], -1, 339, null); } else if (part == 3) { g.drawImage(Start, -1, 339, null); } } public void mouseClicked(MouseEvent e) { Rectangle next = new Rectangle(431, 347, 70, 22); Rectangle back = new Rectangle(7, 347, 70, 22); if (!GUIPaint) { if (next.contains(e.getPoint())) show = !show; if (!next.contains(e.getPoint())) { Point back_To_Point = mouse.getLocation(); mouse.hop(e.getPoint()); mouse.click(true); mouse.hop(back_To_Point); } } else if (GUIPaint) { if (next.contains(e.getPoint())) { if (part == 3) return; part++; } if (back.contains(e.getPoint())) { if (part == 1) return; part--; } if (part == 1) { Polygon nexts = new Polygon(); nexts.addPoint(426, 374); nexts.addPoint(426, 447); nexts.addPoint(474, 411); Polygon backs = new Polygon(); backs.addPoint(77, 374); backs.addPoint(77, 447); backs.addPoint(28, 411); if (nexts.contains(e.getPoint())) { if (Cous == 1) { Cous = 0; } else Cous++; } if (backs.contains(e.getPoint())) { if (Cous == 0) { Cous = 1; } else Cous--; } } else if (part == 2) { Rectangle z1 = new Rectangle(93, 400, 25, 25); Rectangle z2 = new Rectangle(127, 400, 25, 25); Rectangle z3 = new Rectangle(161, 400, 25, 25); Rectangle z4 = new Rectangle(197, 400, 25, 25); Rectangle z5 = new Rectangle(93, 435, 25, 25); Rectangle z6 = new Rectangle(127, 435, 25, 25); Rectangle z7 = new Rectangle(161, 435, 25, 25); Rectangle z8 = new Rectangle(197, 435, 25, 25); if (z1.contains(e.getPoint())) mouses = 1; else if (z2.contains(e.getPoint())) mouses = 2; else if (z3.contains(e.getPoint())) mouses = 3; else if (z4.contains(e.getPoint())) mouses = 4; else if (z5.contains(e.getPoint())) mouses = 5; else if (z6.contains(e.getPoint())) mouses = 6; else if (z7.contains(e.getPoint())) mouses = 7; else if (z8.contains(e.getPoint())) mouses = 8; } else if (part == 3) { Rectangle Start = new Rectangle(83, 349, 337, 121); if (Start.contains(e.getPoint())) { mouse.setSpeed(mouses); BuiltCourse(Cous); if (Cous == 0) CoureXP = 86.5; else if (Cous == 1) CoureXP = 139.5; else if (Cous == 2) CoureXP = 580; else if (Cous == 3) CoureXP = 725; else if (Cous == 4) CoureXP = 740.7; startTime = System.currentTimeMillis(); GUIPaint = false; } } } } public void mousePressed(MouseEvent e) { } public void mouseReleased(MouseEvent e) { } public void mouseEntered(MouseEvent e) { } public void mouseExited(MouseEvent e) { } public void mouseDragged(MouseEvent e) { } public void mouseMoved(MouseEvent e) { var.m = e.getPoint(); } public void onRepaint(Graphics g1) { Graphics2D g = (Graphics2D) g1; if (!GUIPaint) { drawMouse(g); getMouseloc(); if (show) p.paint(g); // --------------------------------------------- g.drawImage(show ? hidePaint : showPaint, -1, 339, null); // --------------------------------------------- Start(g); Mouse(g); if (c != null) { if (c.isOnScreen()) { Point m = getCenter(c); g.setColor(Color.white); g.drawLine(m.x, m.y - 5, m.x, m.y + 5); g.drawLine(m.x - 5, m.y, m.x + 5, m.y); g.setColor(Color.black); } } } else if (GUIPaint) GUIPaint(g); } private final Image getImage(String fileName) { try { File f = new File(GlobalConfiguration.Paths.getScriptsDirectory() + "/" + fileName); if (f.exists()) { log.info("Successfully loaded " + fileName + " from scripts folder."); return ImageIO.read(f.toURI().toURL()); } Image img = ImageIO.read(new URL("http://doout.net84.net/images/" + fileName)); if (img != null) { ImageIO.write((RenderedImage) img, "PNG", f); log.info("Saved " + fileName + " to Scripts folder successfully."); return img; } } catch (IOException e) { log.info("No Internet Connection or Broken Image Link"); } return null; } private final RenderingHints antialiasing = new RenderingHints( RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON); private final Color red = new Color(255, 0, 0, 103), green = new Color(51, 255, 51, 95); private double[] startExp, expToLevel, expGained, expPerHour, TTL; private long startTime; private final double Version = 1.6; private int latestVersion, version; private int CDone; private int CTL; private int CPH; public final void drawSqaure(Graphics g, Point p, int size) { int size2 = size - 1; Polygon poly = new Polygon(), poly2 = new Polygon(); poly.addPoint(p.x - size, p.y); poly.addPoint(p.x, p.y + size); poly.addPoint(p.x + size, p.y); poly.addPoint(p.x, p.y - size); poly2.addPoint(p.x - size2, p.y); poly2.addPoint(p.x, p.y + size2 + 1); poly2.addPoint(p.x + size2 + 1, p.y); poly2.addPoint(p.x, p.y - size2); ((Graphics2D) g).setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_ON); g.setColor(new Color(255, 0, 0, 175)); g.fillPolygon(poly2); g.setColor(Color.black); g.drawPolygon(poly); int line = 5; g.setColor(Color.white); g.drawLine(poly.xpoints[0], poly.ypoints[0], poly.xpoints[0] - line, poly.ypoints[0]); g.drawLine(poly.xpoints[2], poly.ypoints[0], poly.xpoints[2] + line, poly.ypoints[0]); g.drawLine(poly.xpoints[1], poly.ypoints[1], poly.xpoints[1], poly.ypoints[1] + line); g.drawLine(poly.xpoints[3], poly.ypoints[3], poly.xpoints[3], poly.ypoints[3] - line); ((Graphics2D) g).setRenderingHint(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF); } public final void drawMouse(Graphics g) { Point m = mouse.getLocation(); long mpt = System.currentTimeMillis() - mouse.getPressTime(); if (mpt < 80 && mpt > 0 && mpt != -1) drawSqaure(g, m, 7); else if (mpt >= 80 && mpt < 160) drawSqaure(g, m, 6); else if (mpt >= 160 && mpt < 240) drawSqaure(g, m, 5); else if (mpt >= 240 && mpt < 320) drawSqaure(g, m, 4); else if (mpt >= 320 && mpt < 400) drawSqaure(g, m, 3); else if (mpt >= 480 && mpt < 560) drawSqaure(g, m, 2); else if (mpt >= 560 && mpt < 640) drawSqaure(g, m, 2); else if (mpt >= 640 && mpt < 720) drawSqaure(g, m, 2); else if (mpt >= 720 && mpt < 800) drawSqaure(g, m, 3); else if (mpt >= 800 && mpt < 880) drawSqaure(g, m, 4); else if (mpt >= 880 && mpt < 960) drawSqaure(g, m, 5); else if (mpt >= 960 && mpt < 1040) drawSqaure(g, m, 6); if (mpt >= 1040) drawSqaure(g, m, 7); } boolean paint; @SuppressWarnings("static-access") public final void Start(Graphics g1) { float totalSec = 0; long millis = System.currentTimeMillis() - startTime; final long hours = millis / (1000 * 60 * 60); millis -= hours * 1000 * 60 * 60; final long minutes = millis / (1000 * 60); millis -= minutes * 1000 * 60; final long seconds = millis / 1000; totalSec = hours * 3600 + minutes * 60 + seconds; Graphics2D g = (Graphics2D) g1; g.setRenderingHints(antialiasing); int counter = -1; p.setRuntime((long) totalSec * 1000); p.addLine(ts, 1); g.setFont(new Font("Arial", 0, 9)); for (int i = 0; i < 24; i++) { if ((startExp != null) && ((skills.getCurrentExp(i) - startExp[i]) > 0)) { counter++; int yl = 333 - (17 * counter); expGained[i] = skills.getCurrentExp(i) - startExp[i]; expPerHour[i] = (int) ((expGained[i]) * 3600000D / (System .currentTimeMillis() - startTime)); expToLevel[i] = skills.getExpToNextLevel(i); TTL[i] = skills.getExpToNextLevel(i) / (expGained[i] / totalSec); TTL[i] = expPerHour[i] / 60; String name = skills.SKILL_NAMES[i]; final String cap = name.substring(0, 1).toUpperCase() + name.substring(1); /* AGILITY Part Being */ if (skills.SKILL_NAMES[i].contains("agility")) { CDone = (int) (expGained[i] / CoureXP); CPH = (int) ((CDone) * 3600000D / (System .currentTimeMillis() - startTime)); CTL = (int) (expToLevel[i] / CoureXP); p.addLine( "Lap Done[> " + CDone + " <][> " + CPH + "/Hr <]", 6); p.addLine("Lap To Level [> " + CTL + " <]", 7); } /* AGILITY Part End */ drawBar(5, 320 - (17 * counter), i, g); g.setColor(Color.WHITE); Rectangle point = new Rectangle(5, 320 - (17 * counter), 507, 17); if (point.contains(var.m)) paint = true; else paint = false; String EXPG = !paint ? ToString(expGained[i]) : XP .format(expGained[i]); String expPerH = !paint ? ToString(expPerHour[i]) : "" + XP.format(expPerHour[i]); String EXTL = !paint ? ToString(expToLevel[i]) : "" + XP.format(expToLevel[i]); g .drawString( cap + "| XP Gained: " + EXPG + " | XP/H " + expPerH + " | TTL " + getFormattedTimeToLevel((expToLevel[i] / expPerHour[i]) * 60) + " | XP TL " + EXTL, 21, yl); } } } private void drawBar(int x, int y, int skill, Graphics2D g) { g.setColor(Color.BLACK); g.drawRoundRect(x, y, 507, 17, 16, 16); g.setColor(red); g.fillRoundRect(x, y, 507, 17, 16, 16); g.setColor(green); g.fillRoundRect(x, y, (skills.getPercentToNextLevel(skill) * 514 / 100), 17, 10, 10); } private String getFormattedNumber(Double p_number) { NumberFormat l_nf = NumberFormat.getInstance(); String l_rVal; l_nf.setMaximumFractionDigits(1); l_nf.setMinimumFractionDigits(0); l_rVal = new String(l_nf.format(p_number.doubleValue())); return l_rVal; } private String getFormattedTimeToLevel(double mins) { String st = ""; if (mins < 1) { st = getFormattedNumber((double) mins * 60) + " sec"; if ((double) mins * 60 > 1) st = st + "s"; } else if (mins >= 1 && mins < 60) { st = getFormattedNumber((double) mins) + " mins"; } else { st = getFormattedNumber((double) mins / 60) + " hour"; if ((double) mins / 60 > 1) st = st + "s"; } return st; } private String ToString(double Current) { if (Current > 999) { double PerHour = Current / 1000; DecimalFormat thousand = new DecimalFormat("#.#"); return thousand.format(PerHour) + "k"; } else { return Integer.toString((int) Current); } } public int PerHour(int Current) { return (int) ((Current) * 3600000D / (System.currentTimeMillis() - startTime)); } public final Color[] co = { Color.RED, Color.ORANGE, Color.YELLOW, Color.GREEN, Color.BLUE, /* VIOLET */new Color(138, 43, 226), /* INDIGO */new Color(75, 0, 130) }; private Set<Actions> actions; private ArrayList<Long> time = new ArrayList<Long>(); private Vector<Point> mouseloc = new Vector<Point>(); public void getMouseloc() { if (isRunning()) { Point m = mouse.getLocation(); if (this.check(m)) { mouseloc.addElement(m); time.add(time.size(), System.currentTimeMillis() + 500); } } } public boolean check(Point p) { for (int i = 0; i < mouseloc.size(); i++) if (p.equals(mouseloc.get(i))) return false; return true; } public void Mouse(Graphics2D g) { g.setRenderingHints(antialiasing); if (mouseloc.size() > 2) for (int j = 1; j < mouseloc.size(); j++) { Point e = new Point(mouseloc.get(j)); Point s = new Point(mouseloc.get((j - 1))); g.setColor(Color.WHITE); if (System.currentTimeMillis() > time.get(j)) g.setColor(co[0]); if (System.currentTimeMillis() > (time.get(j) + 200)) g.setColor(co[1]); if (System.currentTimeMillis() > (time.get(j) + 200 * 1)) g.setColor(co[2]); if (System.currentTimeMillis() > (time.get(j) + 200 * 2)) g.setColor(co[3]); if (System.currentTimeMillis() > (time.get(j) + 200 * 3)) g.setColor(co[4]); if (System.currentTimeMillis() > (time.get(j) + 200 * 4)) g.setColor(co[5]); if (System.currentTimeMillis() > (time.get(j) + 200 * 5)) g.setColor(co[6]); g.drawLine(e.x, e.y, s.x, s.y); } if (mouseloc.size() > 2) { if (System.currentTimeMillis() > time.get(0) + 1000) { time.remove(0); mouseloc.remove(0); } } } /** * Not using ATM. so need to fix **/ private Thread Camera = new Thread(new Runnable() { @Override public void run() { while (isRunning()) { try { int failcount = 0; if (c != null) { while (getMyPlayer().getAnimation() != -1 || getMyPlayer().isMoving() || c.isOnScreen()) Thread.sleep(50); while (!c.isOnScreen()) { camera.setAngle(camera .getTileAngle (c.getLocation())); failcount++; if (failcount == 3) camera.setPitch(false); else if (failcount >= 4) walking.walkTo(c.getLocation ()); } } } catch (InterruptedException e) { } } } }); public boolean onStart() { p = new Paint(); log("Cleaning Paint..."); p.setName("SwiftAgility"); p.setVersion(Version); p.setAntiAliasing(true); if (version < latestVersion) { p.addLine("***Outdated***", 3); p.addLine("v" + latestVersion + " is available!", 4); } else { p.addLine("Fully updated", 3); p.addLine("Latest version", 4); } startExp = new double[24]; expToLevel = new double[24]; expGained = new double[24]; expPerHour = new double[24]; TTL = new double[24]; for (int i = 0; i < 24; i++) { startExp[i] = skills.getCurrentExp(i); expToLevel[i] = skills.getExpToNextLevel(i); } actions = new HashSet<Actions>(); return true; } private Actions action; @Override public int loop() { if (game.isLoggedIn()) { if (combat.getHealth() > 50) { if (action != null) { if (action.isValid()) { ts = action.getInfo(); action.execute(); } else { action = null; } } else { for (Actions a : actions) { if (a.isValid()) { action = a; break; } } } } else { if (inventory.getCount() >= 26) if (inventory.contains(2114)) inventory.getItem(2114).doAction("drop"); eat(); } } return 10; } private void sleeprandom(int time) { var.sleeptime = random(time, time + random(-5, 5)); for (int i = 0; i < 10; i++) var.sleeptime = random(time, time + random(-5, 5)); var.timetosleep = random(var.sleeptime + random(random(-40, -10), random(10, 40)), (var.sleeptime * 3 / 2) + random(random(-40, -10), random(10, 40))); sleep(var.timetosleep); } public class Gnome { public Log Log = new Log(); public Net Net = new Net(); public Branch Branch = new Branch(); public Rope Rope = new Rope(); public TreeBranch TreeBranch = new TreeBranch(); public Net2 Net2 = new Net2(); public Pipe Pipe = new Pipe(); public class Log extends Actions { @Override public boolean execute() { if (camera.getPitch() != 1024) camera.setPitch(false); if (action(new RSTile(2474, 3435), "Walk-across", 's', true)) { Wait(1000, 3429, 0); if (getMyPlayer().getAnimation() != -1) { Camera('s'); } return true; } return false; } @Override public String getInfo() { return "Walking on Log..."; } @Override public boolean isValid() { if (game.getPlane() == 0) { if (getMyPlayer().getLocation().getY() > 3429 && getMyPlayer().getLocation().getX() <= 3430) return true; else if (getMyPlayer().getLocation().getY() > 3436) return true; } return false; } } public class Net extends Actions { @Override public boolean execute() { if (action(objects.getNearest(2285).getLocation(), "Climb-over", 's')) { Wait(1000, 0, 1); return true; } return false; } @Override public String getInfo() { return "Climbing Over Net..."; } @Override public boolean isValid() { if (game.getPlane() == 0) { if (Playerin(2468, 3414, 2481, 3429)) return true; } return false; } } public class Branch extends Actions { @Override public boolean execute() { sleep(500); if (action(new RSTile(2473, 3422), "Climb", 'e')) { Wait(1000, 0, 2); return true; } return false; } @Override public String getInfo() { return "Climbing up branch"; } @Override public boolean isValid() { if (game.getPlane() == 1) return true; return false; } } public class Rope extends Actions { @Override public boolean execute() { if (action(objects.getNearest(2312).getLocation(), "Walk-on", 'o')) { Wait(3000, 3420, 0, 1000); return true; } return false; } @Override public String getInfo() { return "Walking on Rope..."; } @Override public boolean isValid() { if (game.getPlane() == 2) { if (getMyPlayer().getLocation().getX() < 2478) { return true; } } return false; } } public class TreeBranch extends Actions { @Override public boolean execute() { if (action(objects.getNearest(2314).getLocation(), "Climb", 'n')) { Wait(3000, 0, 0, 1000); return true; } return false; } @Override public String getInfo() { return "Climbing down..."; } @Override public boolean isValid() { if (game.getPlane() == 2) { if (getMyPlayer().getLocation().getX() >= 2483) { return true; } } return false; } } public class Net2 extends Actions { @Override public boolean execute() { if (action(objects.getNearest(2286).getLocation(), "Climb", 'n')) { Wait(3000, 0, 0, 1000); return true; } return false; } @Override public String getInfo() { return "Climbing over net..."; } @Override public boolean isValid() { if (game.getPlane() == 0) { if (Playerin(2482, 3414, 2489, 3426)) { return true; } } return false; } } public class Pipe extends Actions { @Override public boolean execute() { if (action(new RSTile(2483, 3431), "Squeeze-through", 'w')) { Wait(3000, 3437, 0, 1000); return true; } return false; } @Override public String getInfo() { return "Squeeze-throught Pipe..."; } @Override public boolean isValid() { if (game.getPlane() == 0) { if (Playerin(2482, 3427, 2489, 3431)) { return true; } } return false; } } } public class Barbarian { public final Rope Rope = new Rope(); public final Log Log = new Log(); public final Net Net = new Net(); public final Ledge Ledge = new Ledge(); public final Ladder Ladder = new Ladder(); public final Wall Wall = new Wall(); public final Wall2 Wall2 = new Wall2(); public final RopeFail RopeFail = new RopeFail(); public class Rope extends Actions { @Override public boolean execute() { RSPlayer[] playeron = players.getAll(new Filter<RSPlayer>() { @Override public boolean accept(RSPlayer p) { return p.getLocation().equals(new RSTile(2551, 3554)); } }); if (playeron != null ? action(new RSTile(2551, 3553), "Swing-on", 's') : action(new RSTile(2552, 3553), "Swing-on", 's')) { sleep(500); while (getMyPlayer().getAnimation() != -1 && getMyPlayer().getLocation().getY() > 3551) sleep(50); return true; } return false; } @Override public String getInfo() { return "Swinging On Rope..."; } @Override public boolean isValid() { if (Playerin(2543, 3550, 2549, 3555) || Playerin(2549, 3554, 2553, 3559) || Playerin(2554, 3550, 2555, 3555)) { return true; } return false; } } public class Log extends Actions { @Override public boolean execute() { if (action(new RSTile(2550, 3546), "Walk-across", 'w')) { Wait(random(1000, 1500), 2541, 0, random(1500, 2000)); return true; } return false; } @Override public String getInfo() { return "Walking across Log..."; } @Override public boolean isValid() { if (Playerin(2544, 3542, 2553, 3549) || Playerin(2549, 3544, 2554, 3550)) { return true; } return false; } } public class Net extends Actions { @Override public boolean execute() { if (Playerin(2533, 3545, 2537, 3547)) { walking.walkTo(new RSTile(2540, 3546)); sleep(500, 1000); } else if (!Playerin(2533, 3545, 2537, 3547)) if (action(new RSTile(2538, random(3545, 3546)), "Climb-over", 'w')) { Wait(random(1000, 1500), 0, 1, 200); return true; } return false; } @Override public String getInfo() { return "Climbing Up Net..."; } @Override public boolean isValid() { if (game.getPlane() == 0) { if (Playerin(2533, 3545, 2542, 3547)) { return true; } } return false; } } public class Ledge extends Actions { @Override public boolean execute() { if (action(new RSTile(2535, 3547), "Walk-across", 'n')) { Wait(1000, 2532, 0); return true; } return false; } @Override public String getInfo() { return "Walking across Ledge..."; } @Override public boolean isValid() { if (game.getPlane() == 1) { if (getMyPlayer().getLocation().getX() >= 2536) { return true; } } return false; } } public class Ladder extends Actions { @Override public boolean execute() { if (action(new RSTile(2532, 3545), "Climb-down", 'o')) { Wait(1000, 0, 0); } return false; } @Override public String getInfo() { return "Climbing Down"; } @Override public boolean isValid() { if (game.getPlane() == 1) { if (getMyPlayer().getLocation().getX() == 2532) { return true; } } return false; } } public class Wall extends Actions { @Override public boolean execute() { camera.setPitch(false); if (action(new RSTile(2537, 3553), "Climb-over", 'e')) { Wait(2000, 2538, 0); return true; } return false; } @Override public String getInfo() { return "Climbing Over Wall 1"; } @Override public boolean isValid() { if (game.getPlane() == 0) { if (Playerin(2529, 3542, 2533, 3548) || Playerin(2530, 3548, 2537, 3556) || Playerin(2534, 3555, 2541, 3556)) { return true; } } return false; } } public class Wall2 extends Actions { @Override public boolean execute() { if (action(new RSTile(2542, 3553), "Climb-over")) { Wait(2000, 2543, 0); return true; } return false; } @Override public String getInfo() { return "Climbing Over Wall 2"; } @Override public boolean isValid() { if (game.getPlane() == 0) { if (Playerin(2538, 3552, 2542, 3554)) { return true; } } return false; } } public class RopeFail extends Actions { @Override public boolean execute() { if (action(objects.getNearest("Ladder").getLocation(), "Climb-up", 's')) { sleep(600, 800); return true; } return false; } @Override public String getInfo() { return "Fail On Rope, Trying to Climb-up"; } @Override public boolean isValid() { if (Playerin(2546, 9948, 2555, 9955)) { return true; } return false; } } } // Method _______________________________________________________________ public void BuiltCourse(int courseID) { Gnome g = new Gnome(); Barbarian b = new Barbarian(); // Ape a = new Ape(); if (courseID == 0) { actions.add(g.Log); actions.add(g.Net); actions.add(g.Branch); actions.add(g.Rope); actions.add(g.TreeBranch); actions.add(g.Net2); actions.add(g.Pipe); } else if (courseID == 1) { actions.add(b.Rope); actions.add(b.Log); actions.add(b.Net); actions.add(b.Ledge); actions.add(b.Ladder); actions.add(b.Wall); actions.add(b.Wall2); actions.add(b.RopeFail); } } private Point getCenter(RSObject j) { RSModel m = j.getModel(); if (m == null) return null; try { int x = 0, y = 0, total = 0; for (Polygon poly : m.getTriangles()) { for (int i = 0; i < poly.npoints; i++) { x += poly.xpoints[i]; y += poly.ypoints[i]; total++; } } return new Point(x / total, y / total); } catch (Exception e) { } return null; } private boolean walkto(RSTile[] path) { if (walking.getDestination() != null) { if (calc.distanceBetween(getMyPlayer().getLocation(), walking .getDestination()) < 4) { walking.walkTileMM(walking.nextTile(path)); } } else if (walking.getDestination() == null) { walking.walkPathMM(path); } return false; } private boolean walkto(RSTile path) { return walkto(walking.findPath(path)); } private boolean Playerin(int... Tile) { int x = getMyPlayer().getLocation().getX(); int y = getMyPlayer().getLocation().getY(); if (x >= Tile[0] && x <= Tile[2] && y >= Tile[1] && y <= Tile[3]) { return true; } return false; } private boolean action(RSTile tile, String Action) { return action(tile, Action, 'o', false); } private boolean action(RSTile tile, String Action, char direction) { return action(tile, Action, direction, true); } private boolean use = false; private boolean action(RSTile tile, String Action, char direction, boolean usecamera) { final RSObject Tile = objects.getTopAt(tile); if (getMyPlayer().getAnimation() != -1 || getMyPlayer().isMoving()) return true; if (Tile != null) { c = Tile; if (fixAngle(tile)) { if (!use && Tile.isOnScreen()) mouse.move(getCenter(Tile)); if (Click(Action)) { if (usecamera) Camera(direction); sleeprandom(800); } else { use = true; if (Tile.doAction(Action)) { if (usecamera) Camera(direction); sleeprandom(800); use = false; } } RSPlayer m = getMyPlayer(); return true; } } return false; } private boolean Click(String Action) { String[] menuAction = menu.getActions(); if (menuAction != null) if (menuAction[0].contains(Action)) { mouse.click(true); return true; } else if (menuAction[0] != Action) { if (menu.contains(Action)) { if (!menu.isOpen()) mouse.click(false); menu.doAction(Action); sleeprandom(800); return true; } } return false; } public boolean Wait(int time, int X_Y, int level) { return Wait(time, X_Y, level, time); } private boolean Wait(int time, int X_Y, int level, int TimeWait) { long Time = System.currentTimeMillis() + time; int floor = game.getPlane(); while (System.currentTimeMillis() < Time) { if (System.currentTimeMillis() < ((Time - time) + TimeWait)) if (getMyPlayer().getAnimation() == -1 && !getMyPlayer().isMoving()) return true; if (getMyPlayer().getLocation().getX() == X_Y || getMyPlayer().getLocation().getY() == X_Y || (floor != level && game.getPlane() == level)) return true; sleep(50); } return false; } public boolean eat() { if (combat.getHealth() < 75) { if (edible() != null) { if (edible().doAction("eat")) sleep(1000); } else if (edible() == null && inventory.containsAll(946, 2114)) { inventory.useItem(inventory.getItem(946), inventory .getItem(2114)); sleep(500, 600); if (interfaces.getComponent(905, 14).isValid()) { interfaces.getComponent(905, 14).doClick(); sleep(2000, 2400); } } } return false; } private RSItem edible() { RSItem[] is = inventory.getItems(); for (RSItem i : is) { if (i.getComponent().getActions() == null || i.getComponent().getActions()[0] == null) { continue; } if (i.getComponent().getActions()[0].contains("Eat")) { return i; } } return null; } public void Camera(char direction) { int angle = camera.getAngle(); switch (direction) { case 'n': if (angle >= (359 - 5) && angle <= (359 + 5)) return; camera.setAngle(359 + random(-5, 5)); break; case 'w': if (angle >= (89 - 5) && angle <= (89 + 5)) return; camera.setAngle(89 + random(-5, 5)); break; case 's': if (angle >= (179 - 5) && angle <= (179 + 5)) return; camera.setAngle(179 + random(-5, 5)); break; case 'e': if (angle >= (269 - 5) && angle <= (269 + 5)) return; camera.setAngle(269 + random(-5, 5)); break; case 'o': break; default: if (angle >= (359 - 5) && angle <= (359 + 5)) return; camera.setAngle(359 + random(-5, 5)); break; } } private class Paint { private double scriptVersion; // -------------------------end private String scriptName = ""; private String runtime = "00:00:00"; private String lineList[] = new String[25]; private Font fontlist[] = new Font[25]; private Color colorlist[] = new Color[25]; private boolean antiAliasing; private Color paintColor = new Color(0, 0, 0); private Font font = new Font("Arial", 0, 10); private Image getImage(String url) { try { return ImageIO.read(new URL(url)); } catch (IOException e) { return null; } } private Image img; private boolean imageLoaded; public Paint() { for (int i = 0; i < lineList.length; i++) { lineList[i] = ""; fontlist[i] = this.getFont(); colorlist[i] = this.getColor(); } } public void paint(Graphics g) { if (!this.imageLoaded) { this.img = getImage("http://doout.net84.net/images/Back.png"); this.imageLoaded = true; } g.drawImage(img, 6, 344, null); if (antiAliasing) paintAntiAliasing(g); int currY = 350; int row = 15; boolean fack = false; for (int i = 0; i < lineList.length; i++) { if (!lineList[i].isEmpty() || lineList[i] != null) { if (i > 10 && !fack) { row = 140; currY = 350; fack = true; } currY += 12; drawString(g, lineList[i], row, currY, getColor(), getFont()); } } g.drawString(scriptName, 416, 82 + 344); g.drawString("Runtime: " + runtime, 128, 125 + 344); g.setFont(new Font("Arial", 0, 20)); g.drawString(" " + scriptVersion, 438, 118 + 344); } protected void drawString(Graphics g, String txt, int x, int y, Color c, Font f) { g.setColor(c); g.setFont(f); g.drawString(txt, x, y); } public void setAntiAliasing(boolean { this.antiAliasing = b; } public Font getFont() { return this.font; } public Color getColor() { return this.paintColor; } public void setName(String name) { this.scriptName = name; } public void setVersion(double v) { this.scriptVersion = v; } public void addLine(String t, int i) { this.addLine(t, i, this.getColor(), this.getFont()); } public void addLine(String t, int i, Color c, Font f) { lineList[i - 1] = t; fontlist[i - 1] = f; colorlist[i - 1] = c; } final NumberFormat nf = NumberFormat.getInstance(); public void setRuntime(long ms) { this.runtime = formatTime((int) ms); } private String formatTime(final int milliseconds) { if (milliseconds <= 0) { return "00:00:00"; } final long t_seconds = milliseconds / 1000; final long t_minutes = t_seconds / 60; final long t_hours = t_minutes / 60; final int seconds = (int) (t_seconds % 60); final int minutes = (int) (t_minutes % 60); final int hours = (int) (t_hours % 60); return nf.format(hours) + ":" + nf.format(minutes) + ":" + nf.format(seconds); } private void paintAntiAliasing(Graphics g) { RenderingHints antialiasing = new RenderingHints( RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON); Graphics2D g1 = (Graphics2D) g; g1.setRenderingHints(antialiasing); } } final private boolean fixAngle(RSTile t) { if (calc.tileOnScreen(t)) return true; if (!calc.tileOnScreen(t)) { camera.setAngle(camera.getTileAngle(t)); if (!calc.tileOnScreen(t)) { camera.setPitch(camera.getPitch() + random(20, 50)); if (!calc.tileOnScreen(t)) walking.walkTo(t); } } return false; } // End of Method ________________________________________________________ private abstract class Actions { public abstract boolean execute(); public abstract boolean isValid(); public abstract String getInfo(); } private class Var { private Point m = new Point(0, 0); public int timetosleep; int sleeptime; } } Thieving: import java.awt.event.*; import java.net.URL; import java.text.DecimalFormat; import java.awt.*; import javax.imageio.ImageIO; import javax.swing.*; import org.rsbot.event.events.ServerMessageEvent; import org.rsbot.event.listeners.*; import org.rsbot.script.*; import org.rsbot.script.methods.Skills; import org.rsbot.script.util.Timer; import org.rsbot.script.wrappers.*; @ScriptManifest(authors = "BOOM BOOM", keywords = { "Thieving" }, name = "BOOM BOOM Tea Stall", version = 1.0, description = "Steals tea from the stall.") public class BBTeaStall extends Script implements PaintListener, ServerMessageListener, MouseListener { private static final DecimalFormat k = new DecimalFormat("#.#"); public int startLevel, startXP, steals = 0, option = 0, mouseH = 0; public String getState = "Null..."; public long startTime, antibanTimer1, antibanTimer2; public final RSTile stealTile = new RSTile(3268, 3410); public BBTeaStallGUI gui; public Image name; public enum State { SHOO, STEAL, DROP } public enum MouseHandler { HUMAN_SLOW, HUMAN, HUMAN_FAST, SUPERHUMAN_SLOW, SUPERHUMAN, SUPERHUMAN_FAST } public State getState() { if (canShoo()) { getState = "Shooing dog..."; return State.SHOO; } else if (!inventory.isFull() || inventory.getCount(1978) < 28) { getState = "Stealing..."; return State.STEAL; } getState = "Dropping..."; return State.DROP; } public MouseHandler handleMouse() { if (mouseH == 1) return MouseHandler.HUMAN; else if (mouseH == 2) return MouseHandler.HUMAN_FAST; else if (mouseH == 3) return MouseHandler.SUPERHUMAN_SLOW; else if (mouseH == 4) return MouseHandler.SUPERHUMAN; else if (mouseH == 5) return MouseHandler.SUPERHUMAN_FAST; return MouseHandler.HUMAN_SLOW; } public void setMouse() { switch (handleMouse()) { case HUMAN_SLOW: mouse.setSpeed(random(10, 11)); break; case HUMAN: mouse.setSpeed(random(8, 9)); break; case HUMAN_FAST: mouse.setSpeed(random(6, 7)); break; case SUPERHUMAN_SLOW: mouse.setSpeed(random(4, 5)); break; case SUPERHUMAN: mouse.setSpeed(random(2, 3)); break; case SUPERHUMAN_FAST: mouse.setSpeed(random(0, 1)); break; } } public boolean walkPath(RSTile[] path) { RSTile tile1 = walking.getDestination(); RSTile tile2 = walking.nextTile(path); if (tile1 != null && tile2 != null) { if (calc.distanceBetween(players.getMyPlayer().getLocation(), tile1) < 7 || !players.getMyPlayer().isMoving()) { walking.walkTileMM(tile2); } } else if (!getMyPlayer().isMoving() || calc.distanceTo(tile1) < 7 && tile2 != null) { walking.walkTileMM(tile2); } return false; } public void walkTile(final RSTile tile) { if (calc.tileOnScreen(tile)) { walking.walkTileOnScreen(tile); } else { walkPath(walking.findPath(tile)); } } public boolean canShoo() { RSNPC dog = npcs.getNearest(5917); if (gui.shoo == true && dog != null && calc.distanceTo(dog) <= 1) { return true; } return false; } public void mouseAntiban() { int r = random(1, 4); if (r == 1) { log("[ANTIBAN] Moving mouse randomly."); moveMouseRandomly(random(1000, 5000)); } else if (r == 2) { mouse.moveRandomly(random(200, 350)); log("[ANTIBAN] Moving mouse."); } else if (r == 3) { log("[ANTIBAN] Moving mouse off screen."); mouse.moveOffScreen(); } } public void moveMouseRandomly(int timeout) { Timer timeToMove = new Timer(timeout); int maxX = 765; int minX = 0; int maxY = 503; int minY = 0; while (timeToMove.isRunning()) sleep(10); mouse.move(random(minX, maxX), random(minY, maxY)); } private String format(long time) { if (time <= 0) { return "--:--:--"; } final StringBuilder t = new StringBuilder(); final long TotalSec = time / 1000; final long TotalMin = TotalSec / 60; final long TotalHour = TotalMin / 60; final int second = (int) TotalSec % 60; final int minute = (int) TotalMin % 60; final int hour = (int) TotalHour; if (hour < 10) { t.append("0"); } t.append(hour); t.append(":"); if (minute < 10) { t.append("0"); } t.append(minute); t.append(":"); if (second < 10) { t.append("0"); } t.append(second); return t.toString(); } public boolean onStart() { if (game.isLoggedIn()) { gui = new BBTeaStallGUI(); while (gui.startB == false) { sleep(100); } setMouse(); startLevel = skills.getRealLevel(Skills.THIEVING); startXP = skills.getCurrentExp(Skills.THIEVING); try { name = ImageIO.read(new URL("http://i54.tinypic.com/25rys5j.gif")); } catch (final java.io.IOException e) { e.printStackTrace(); } startTime = System.currentTimeMillis(); } else { log("Please login and start again."); return false; } return true; } public void onFinish() { gui.dispose(); int gainedLevels = skills.getRealLevel(Skills.THIEVING) - startLevel; int gainedXP = skills.getCurrentExp(Skills.THIEVING) - startXP; long runTime = System.currentTimeMillis() - startTime; log("You have gained " + gainedLevels + " Thieving levels."); log("You have gained " + gainedXP + " Thieving experience."); log("You have stole " + steals + " Cups of Tea."); log("Total Run Time: " + format(runTime) + " ."); } @Override public void mousePressed(MouseEvent e) { Point mp = e.getPoint(); final Rectangle toggleRectangle = new Rectangle(448, 344, 64, 19); if (toggleRectangle.contains(mp)) { if (option == 0) { option = 1; } else { option = 0; } } } @Override public void mouseClicked(MouseEvent arg0) { } @Override public void mouseEntered(MouseEvent arg0) { } @Override public void mouseExited(MouseEvent arg0) { } @Override public void mouseReleased(MouseEvent arg0) { } @Override public void serverMessageRecieved(ServerMessageEvent e) { final String m = e.getMessage(); if (m.contains("You steal a cup of tea")) { steals = steals + 1; } else if (m.contains("Thieving level")) { log("Congratulations you've gained a Thieving level!"); log("Your level is now " + skills.getCurrentLevel(Skills.THIEVING) + "."); } } @Override public void onRepaint(Graphics render) { Graphics2D g = (Graphics2D) render; Font font1 = new Font("Fixedsys", 0, 15); Font font2 = new Font("Fixedsys", 1, 14); Font font3 = new Font("Fixedsys", 1, 13); Font font4 = new Font("Fixedsys", 0, 13); Font font5 = new Font("Fixedsys", 0, 11); Color color1 = Color.BLACK; Color color2 = Color.WHITE; Color color3 = new Color(71, 40, 57, 255);//Text Color color4 = new Color(99, 68, 84, 255);//Bar fill Color color5 = new Color(255, 219, 130, 255);//Background Color color6 = new Color(255, 0, 0, 215);//Close Color color7 = new Color(0, 153, 0);//Open BasicStroke stroke1 = new BasicStroke(1); if (game.isLoggedIn()) { int gainedLevels = skills.getRealLevel(Skills.THIEVING) - startLevel; int gainedXP = skills.getCurrentExp(Skills.THIEVING) - startXP; int percent = skills.getPercentToNextLevel(Skills.THIEVING); int nxtLevel = skills.getRealLevel(Skills.THIEVING) + 1; int xpTNL = skills.getExpToNextLevel(Skills.THIEVING); double eph = (gainedXP * 3600000D / (System.currentTimeMillis() - startTime)); double sph = (steals * 3600000D / (System.currentTimeMillis() - startTime)); long ttl = (long) ((skills.getExpToNextLevel(Skills.THIEVING) * 3600000D) / eph); long runTime = System.currentTimeMillis() - startTime; g.setColor(color1); g.setStroke(stroke1); g.drawRect(1, 319, 516, 19); g.setColor(color5); g.fillRect(2, 320, 515, 18); g.setColor(color4); g.fillRect(2, 320, (int) (percent * 515 / 100.0), 18); g.setColor(color1); g.setFont(font3); g.drawString("" + percent + "% to " + nxtLevel + " Thieving" + " - " + k.format(xpTNL / 1000D) + "K XP" + " - " + format(ttl) + " TTL", 125, 335); if (option == 0) { g.setColor(color5); g.fillRect(7, 344, 505, 130); g.setColor(color1); g.setFont(font5); g.drawString("V1.0", 440, 465); g.setFont(font4); if (gui.shoo == true && gui.antiban == true) { g.drawString("On, On", 140, 376); } else if (gui.shoo == true && gui.antiban == false) { g.drawString("On, Off", 140, 376); } else if (gui.shoo == false && gui.antiban == true) { g.drawString("Off, On", 140, 376); } else if (gui.shoo == false && gui.antiban == false) { g.drawString("Off, Off", 140, 376); } g.drawString("" + skills.getCurrentLevel(Skills.THIEVING) + " (" + gainedLevels + ")", 140, 391); g.drawString("" + k.format(gainedXP / 1000D) + "K", 140, 406); g.drawString("" + k.format(eph / 1000) + "K", 140, 421); g.drawString("" + steals, 140, 436); g.drawString("" + k.format(sph), 140, 451); g.setFont(font2); g.drawString("Runtime: " + format(runTime), 15, 361); g.drawString("Current State: " + getState, 175, 361); g.setColor(color3); g.drawString("GUI Settings: ", 15, 376); g.drawString("Current Level: ", 15, 391); g.drawString("XP Gained: ", 15, 406); g.drawString("XP Gained/Hour: ", 15, 421); g.drawString("Steals: ", 15, 436); g.drawString("Steals/Hour: ", 15, 451); g.setColor(color6); g.fillRect(448, 344, 64, 19); g.setColor(color1); g.setStroke(stroke1); g.drawRect(448, 344, 64, 19); g.setFont(font1); g.setColor(color2); g.drawString("Hide", 466, 360); g.drawImage(name, 7, 344, null); } else { g.setColor(color7); g.fillRect(448, 344, 64, 19); g.setColor(color1); g.setStroke(stroke1); g.drawRect(448, 344, 64, 19); g.setFont(font4); g.setColor(color2); g.drawString("Show", 462, 360); } g.setColor(color2); Point m = mouse.getLocation(); g.drawLine((int) m.getX() - 5, (int) m.getY(), (int) m.getX() + 5, (int) m.getY()); g.drawLine((int) m.getX(), (int) m.getY() - 5, (int) m.getX(), (int) m.getY() + 5); } } @Override public int loop() { if (!players.getMyPlayer().isIdle()) return random(100, 500); switch (getState()) { case SHOO: RSNPC dog = npcs.getNearest(5917); if (dog.doAction("Shoo")) { return random(1000, 1250); } case STEAL: RSObject stall = objects.getNearest(635); if (stall != null) { if (stall.isOnScreen() && players.getMyPlayer().getLocation().equals(stealTile)) { if (stall.doAction("Steal")) return random(1500, 1750); } else if (!stall.isOnScreen()) { getState = "Turning to Stall..."; camera.turnToObject(stall); } else { getState = "Walking to safe spot..."; walkTile(stealTile); return random(1000, 1500); } } else { if (gui.antiban == true) { if ((System.currentTimeMillis() - antibanTimer2) >= (random(25, 100) * random(600, 2500))) { getState = "Doing Antiban..."; antibanTimer2 = System.currentTimeMillis(); mouseAntiban(); } } } break; case DROP: RSItem tea = inventory.getItem(1978); if (tea != null) { if (tea.doAction("Drop")) return random(1500, 1750); } break; } return 100; } public class BBTeaStallGUI extends JFrame implements ActionListener { private static final long serialVersionUID = 692719107941625662L; public BBTeaStallGUI() { initComponents(); } private void initComponents() { label1 = new JLabel(); comboBox1 = new JComboBox(SELECT_OPTION1); button1 = new JButton(); button2 = new JButton(); checkBox1 = new JCheckBox(); checkBox2 = new JCheckBox(); Container contentPane = getContentPane(); setTitle("BBTeaStall GUI"); setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE); label1.setText("Mouse speed?"); comboBox1.addActionListener(this); button1.setText("Start"); button1.addActionListener(this); button2.setText("Cancel"); button2.addActionListener(this); checkBox1.setText("Shoo dog?"); checkBox1.addActionListener(this); checkBox2.setText("Antiban?"); checkBox2.addActionListener(this); GroupLayout contentPaneLayout = new GroupLayout(contentPane); contentPane.setLayout(contentPaneLayout); contentPaneLayout.setHorizontalGroup( contentPaneLayout.createParallelGroup() .addGroup(contentPaneLayout.createSequentialGroup() .addComponent(button1, GroupLayout.PREFERRED_SIZE, 121, GroupLayout.PREFERRED_SIZE) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addComponent(button2, GroupLayout.DEFAULT_SIZE, 125, Short.MAX_VALUE)) .addGroup(contentPaneLayout.createSequentialGroup() .addContainerGap() .addGroup(contentPaneLayout.createParallelGroup() .addGroup(contentPaneLayout.createSequentialGroup() .addComponent(checkBox1) .addGap(18, 18, 18) .addComponent(checkBox2)) .addGroup(contentPaneLayout.createSequentialGroup() .addComponent(label1, GroupLayout.PREFERRED_SIZE, 91, GroupLayout.PREFERRED_SIZE) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED) .addComponent(comboBox1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE))) .addContainerGap(93, Short.MAX_VALUE)) ); contentPaneLayout.setVerticalGroup( contentPaneLayout.createParallelGroup() .addGroup(contentPaneLayout.createSequentialGroup() .addContainerGap() .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE) .addComponent(label1) .addComponent(comboBox1, GroupLayout.PREFERRED_SIZE, GroupLayout.DEFAULT_SIZE, GroupLayout.PREFERRED_SIZE)) .addPreferredGap(LayoutStyle.ComponentPlacement.UNRELATED) .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE) .addComponent(checkBox1) .addComponent(checkBox2)) .addPreferredGap(LayoutStyle.ComponentPlacement.RELATED, 9, Short.MAX_VALUE) .addGroup(contentPaneLayout.createParallelGroup(GroupLayout.Alignment.BASELINE) .addComponent(button1) .addComponent(button2))) ); pack(); setLocationRelativeTo(getOwner()); setVisible(true); } private void Start(ActionEvent e) { setVisible(false); startB = true; } public void Stop(ActionEvent e) { setVisible(false); startB = false; stopScript(); } @Override public void actionPerformed(ActionEvent e) { if (e.getSource() == comboBox1) { if (comboBox1.getSelectedItem().equals("Human - Slow")) { mouseH = 0; } else if (comboBox1.getSelectedItem().equals("Human")) { mouseH = 1; } else if (comboBox1.getSelectedItem().equals("Human - Fast")) { mouseH = 2; } else if (comboBox1.getSelectedItem().equals( "SuperHuman - Slow")) { mouseH = 3; } else if (comboBox1.getSelectedItem().equals("SuperHuman")) { mouseH = 4; } else if (comboBox1.getSelectedItem().equals( "SuperHuman - Fast")) { mouseH = 5; } } else if (e.getSource() == button1) { Start(e); dispose(); } else if (e.getSource() == button2) { Stop(e); dispose(); } else if (e.getSource() == checkBox1) { if (checkBox1.isSelected()) { shoo = true; } else { shoo = false; } } else if (e.getSource() == checkBox2) { if (checkBox2.isSelected()) { antiban = true; } else { antiban = false; } } } public boolean startB, shoo, antiban; private JLabel label1; private JComboBox comboBox1; private JButton button1; private JButton button2; private JCheckBox checkBox1; private JCheckBox checkBox2; private final String[] SELECT_OPTION1 = new String[] { "Human - Slow", "Human", "Human - Fast", "SuperHuman - Slow", "SuperHuman", "SuperHuman - Fast" }; } } Zapisać jako " BBTeaStall.java " Polecam na niskich lvlach thievingu
  10. dawwwwwwwwwidek

    Ruter Wifi

    może ja na głównym charze boce bo 10-20h dziennie nocki co 2 dzień i bana jeszcze nie dostałem plus 3 konta mniejsze i bana nie mam wiec nie wiem od czego to zależy
  11. dawwwwwwwwwidek

    Ruter Wifi

    razor nie koniecznie ja grałem na 3 postaciach na jednym świecie przez długo i bana nie dostałem więc nie wiem co to za przesądy tak samo jak botów banują ale jak się umie bocić to sie bana nie dostanie
  12. tut fajny ale miejscówka do dupy na każdym serwie po 20 ludzi tyra do jednego yaka ;/ byłem tam przez godzine i przy 0 afk zrobiłem około 20-30k xp
  13. razor to co ja wiem to one sa na 2 lvlu sos a nie na 3 lvlu bo na 3 lvlu sos-a są pająki na 50+ lvl czy jakoś tak a tam opłaca się stawiać bota na ithemki tylko na membie bo fajne runki i charmy leca a na free nic ciekawego ;/ niestety
  14. magia jest jedynie dobra do teleportów do wiekszych miast i po lunar aby robić astral runki a do walki raczej nie jest i nie będzie przydatna ;/ jak i teraz i nigdy moim zdaniem
  15. polak to ty chyba jakiś mądry inaczej jesteś ja to ustawiłem zresetowałem bota i działa normalnie ...
×
×
  • Dodaj nową pozycję...