This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.awt.Dimension; | |
| import java.awt.Graphics; | |
| import java.awt.Graphics2D; | |
| import java.awt.GridBagConstraints; | |
| import java.awt.GridBagLayout; | |
| import java.awt.Rectangle; | |
| import java.awt.event.ActionEvent; | |
| import java.awt.event.ActionListener; | |
| import java.awt.event.WindowEvent; | |
| import java.awt.event.WindowListener; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.awt.Rectangle; | |
| import java.io.File; | |
| import java.io.IOException; | |
| import org.powerbot.concurrent.Task; | |
| import org.powerbot.concurrent.strategy.Condition; | |
| import org.powerbot.concurrent.strategy.Strategy; | |
| import org.powerbot.game.api.ActiveScript; | |
| import org.powerbot.game.api.Manifest; | |
| import org.powerbot.game.api.methods.Environment; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Override | |
| public void paint(Graphics gr) { | |
| Graphics2D g = (Graphics2D) gr; | |
| Point center = new Point(100, 100); | |
| g.drawLine(center.x, center.y, center.x + 1, center.y + 1); | |
| // Draw small circle | |
| int wh = 5; // width and height | |
| g.drawOval(center.x - wh / 2, center.y - wh / 2, wh, wh); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public boolean validate(int userId) { | |
| try { | |
| final String id = hash(userId); | |
| final URL url = new URL("your raw pastebin link"); | |
| final BufferedReader in = new BufferedReader(new InputStreamReader(url.openStream())); | |
| String line; | |
| while ((line = in.readLine()) != null) { | |
| if (Integer.parseInt(line).equals(id)) { | |
| return true; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.awt.Color; | |
| import java.awt.GradientPaint; | |
| import java.awt.Graphics; | |
| import java.awt.Graphics2D; | |
| import java.awt.Point; | |
| import java.awt.Rectangle; | |
| import java.awt.RenderingHints; | |
| import java.awt.event.MouseEvent; | |
| import java.awt.event.MouseListener; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import org.powerbot.game.bot.Context; | |
| import java.awt.event.MouseListener; | |
| /** | |
| * @author HelBorn | |
| */ | |
| public class MouseBlock { | |
| private static MouseListener mouseListener; | |
| private static boolean enabled; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var word=prompt("What word?","Jacmob");var clean="";for(var i=0;i<word.length;i++){clean+=word.charAt(i)+String.fromCharCode(173)}prompt("Here, copy this: ",clean); |