Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

hajar424

Members
  • Joined

  • Last visited

Everything posted by hajar424

  1. Do you have Java if not install java, it is not a .exe file because this bot is made with java, thats why its a .jar file
  2. Hey, do someone know how to check if you have item in your inventory and if not tell it to withdraw from bank ( not to walking to bank)
  3. hajar424 replied to Mesa's topic in Archive
    Oh sorry i was typed it wrong 14m "FACEPALM" add me on skype: skypehajar
  4. hajar424 replied to Mesa's topic in Archive
    i do it for 4m
  5. I do dragon defender for 4m and firecape 10m
  6. You can change it to a dragon dagger instead xD
  7. Here is a mouse icon i made with illustrator, if you want you can download it and modify it. Adobe illustrator cc 2015 format http://www.mediafire.com/view/u8uuor50xx6r24b/osbot_mouse.ai
  8. Here is a signature i made with Adobe illustrator cc 2015 that you can modify and make your own. If you want a tutorial on it then comment. Here is download link: http://www.mediafire.com/view/tabghqcr56kt5zs/osbot.ai
  9. ABOUT Guidelines help you position images or elements precisely. Guideline appear as nonprinting lines that float over the image. You can move and remove. You can also lock them so that you don’t move them by accident. Before adding guideline You have to add Rulers so go to View -> Rulers or CTRL+R Two ways of adding guideline There is two ways of adding guideline, "the fast way" and "the precise way" Try to avoid "the precise way", it takes to much time. "The fast way" is by holding down vertical or horizontal ruler and dragging it out to the content. "the precise way" is by going to View -> New Guide... Guideline color If you want to change the color go to Edit -> Preference -> Guide & Grids & Slices or CTRL+K -> Guide & Grids & Slices Changing Ruler unit Right click on the ruler and then choose a unit or go to CTRL+K -> Units & Rulers Hidding Guideline View -> Show->Guides (Uncheck) Locking all the guidelines View -> Lock Guides You lock them because you don't want to select them while working Removing a Guideline CTRL+Z or click on the guideline and drag it out of the window Example of guidelines
  10. hajar424 replied to Poker's topic in Introductions
    Hola!
  11. i do it for 1mil add my on Skype : skypehajar
  12. [removed] - not allowed
  13. Hey i would like to buy 14mil for $22.4
  14. How much money do you make per hour by telegrabing seeds while training range?
  15. ERROR][07/14 02:16:25 fm]: Failed to start script [AL Kharid Warrior] java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at org.osbot.auX.run(to:583) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NullPointerException at main.<init>(main.java:41) ... 8 more one question what should getstate return ?
  16. My Al kharid warrior bot wont start, can anyone help me? import org.osbot.rs07.script.ScriptManifest; import java.awt.*; import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.api.ui.Skill; import org.osbot.rs07.script.MethodProvider; import org.osbot.rs07.script.Script; import org.osbot.rs07.utility.Area; import javax.imageio.ImageIO; import java.io.IOException; import java.net.URL; import java.util.ArrayList; import java.util.concurrent.TimeUnit; // Manifest @ScriptManifest(author = "Hajar424", info = "Kills Al Kharid Warrior", name = "AL Kharid Warrior", version = 1.18 , logo = "http://i.imgur.com/rYghTrD.png") public class main extends Script implements org.osbot.rs07.canvas.paint.Painter { private ArrayList alist = new ArrayList<String>(); //Variables private final Image bg = getImage("http://i.imgur.com/5ai2EYf.png"); private long timeBegan; private long timeRan; private int ATTcurrentLevel; private int ATTbeginningLevel; private int STRcurrentLevel; private int STRbeginningLevel; private int DEFcurrentLevel; private int DEFbeginningLevel; private int RANcurrentLevel; private int RANbeginningLevel; private int levelsGained; private int warrior_id = 3103; NPC warrior = npcs.closest(warrior_id); //Path private Position[] toWarrior = {new Position(3295,3171,0)}; //Areas private final Area door_area = new Area(3282,3177,3303,3167); private final Area warrior_area = new Area(3282,3177,3303,3167); private final Area bank_area = new Area(3272,3173,3269,3161); //Random Path public static Position[] getRandomPath(Position[] path, int radius){Position[] newPath = new Position[path.length];int idx = 0;for( Position node : path) newPath[idx++] = node.translate(MethodProvider.random(radius), MethodProvider.random(radius));return newPath;} //onLoop @Override public int onLoop() throws InterruptedException { switch (getState()) { case killWarrior: killMethod(); break; case banking: bankingMethod(); break; case walk_bank: walk_bankMethod(); break; case walk_warrior: walk_warriorMethod(); break; default:break; } return (0); } // OnStart @Override public void onStart() { ATTbeginningLevel = skills.getStatic(Skill.ATTACK); STRbeginningLevel = skills.getStatic(Skill.STRENGTH); DEFbeginningLevel = skills.getStatic(Skill.DEFENCE); RANbeginningLevel = skills.getStatic(Skill.RANGED); timeBegan = System.currentTimeMillis(); experienceTracker.startAll(); } private enum State { killWarrior, banking, walk_bank, walk_warrior, idle } private State getState() { if(!myPlayer().isAnimating() && myPlayer().getInteracting() == null && !myPlayer().isMoving() && warrior != null) { return State.killWarrior; } else if (!myPlayer().isAnimating() && myPlayer().getInteracting() == null && !myPlayer().isMoving() && warrior != null) { return State.banking; } else if (!bank_area.contains(myPlayer())) return State.walk_bank; else if (myPlayer().isAnimating() && myPlayer().getInteracting() != null) { return State.walk_warrior; } return (State.idle); } private void bankingMethod() throws InterruptedException { } // -----------Methods------------ public void killMethod() throws InterruptedException { NPC warrior = npcs.closest(warrior_id); if( !myPlayer().isMoving() && !myPlayer().isUnderAttack() && !inventory.isFull() && !doorHandler.handleNextObstacle(door_area)) { if(warrior != null && warrior.isAttackable() && warrior.isOnScreen() ) { warrior.interact("Attack"); } } else { camera.toEntity(warrior); } } private void walk_warriorMethod() throws InterruptedException { } private void walk_bankMethod() throws InterruptedException { } @Override public void onPaint(Graphics2D g) { //THEME g.setColor(new Color(25, 25, 25, 150)); g.fillRect(7, 345, 516, 320); g.setColor(new Color(255, 244, 243, 170)); g.setFont(new Font("Arial", Font.BOLD, 14)); g.fillRect(0, 325, 520, 20); //NAME OF THE BOT g.setColor(new Color(0, 0, 0)); g.setFont(new Font("Arial", Font.BOLD, 14)); g.drawString("AL KHARID WARRIOR", 10, 338); // XP tracker g.setColor(new Color(255, 255, 255)); g.setFont(new Font("Arial", Font.BOLD, 10)); g.drawString("Attack: " + experienceTracker.getGainedXP(Skill.ATTACK) + " Xp", 10, 364); g.drawString("Strength: " + experienceTracker.getGainedXP(Skill.STRENGTH) + " Xp", 10, 384); g.drawString("Defence: " + experienceTracker.getGainedXP(Skill.DEFENCE) + " Xp", 10, 404); g.drawString("Range: " + experienceTracker.getGainedXP(Skill.RANGED) + " Xp", 10, 424); // combat lvl ATTcurrentLevel = skills.getStatic(Skill.ATTACK); g.drawString("| LVL: " + ATTbeginningLevel+"/"+ATTcurrentLevel, 120,364); STRcurrentLevel = skills.getStatic(Skill.STRENGTH); g.drawString("| LVL: " + STRbeginningLevel+"/"+STRcurrentLevel, 120,384); DEFcurrentLevel = skills.getStatic(Skill.DEFENCE); g.drawString("| LVL:" + DEFbeginningLevel+"/"+DEFcurrentLevel, 120,404); RANcurrentLevel = skills.getStatic(Skill.RANGED); g.drawString("| LVL:" + RANbeginningLevel + "/" + RANcurrentLevel, 120, 424); // Paint time and xp per hour g.setFont(new Font("Arial", Font.BOLD, 12)); timeRan = System.currentTimeMillis() - this.timeBegan; g.drawString("[ Time: "+ft(timeRan)+" ]",10,444 ); String myskill = "STRENGTH"; g.drawString("Xp/Hour: " + experienceTracker.getGainedXPPerHour(Skill.forName(myskill)) + " Xp" , 120, 444); g.drawImage(bg, 397, 364, null); } //Image private Image getImage(String url) {try {return ImageIO.read(new URL(url));} catch (IOException e) {}return null; } //Time private String ft(long duration) { String res = ""; long days = TimeUnit.MILLISECONDS.toDays(duration); long hours = TimeUnit.MILLISECONDS.toHours(duration) - TimeUnit.DAYS.toHours(TimeUnit.MILLISECONDS.toDays(duration)); long minutes = TimeUnit.MILLISECONDS.toMinutes(duration) - TimeUnit.HOURS.toMinutes(TimeUnit.MILLISECONDS .toHours(duration)); long seconds = TimeUnit.MILLISECONDS.toSeconds(duration) - TimeUnit.MINUTES.toSeconds(TimeUnit.MILLISECONDS .toMinutes(duration)); if (days == 0) {res = (hours + ":" + minutes + ":" + seconds); }else { res = (days + ":" + hours + ":" + minutes + ":" + seconds); } return res; } }
  17. i do it I have got over 25+ firecapes in my runescape career
  18. So how do i check what skill the user gets Xp from, sorry for asking to much but i would like to be a good SDN scripter
  19. Hey right now i can only show xp/hour for a specific skill experienceTracker.getGainedXPPerHour(Skill.STRENGTH) How can i show all the skills in Xp/hour
  20. i have used JFrame alot but the problem is how do i start..
  21. I have already made a STAT but i have to improve it, i am not so good at Java And i know JFrame i just dont know how to start with adding a button and implement it to my bot. What i need is someone who have time to just show me how to begin
  22. NEW TITE: Are you interested to work with me? Al Kharid Warrior Hello i am working on my Al kharid warrior bot but i need someone who knows how to use STATES and making a form where you can type food you would like to eat and get from bank. Right now my bot is a bit slower then kwarrior and i would like to improve that My bot can: Attack Warrior Open doors if there is a warrior inside. Show info about Time,Xp and so on... I Wish to: Go to Bank for food Having a form for the kind of food you would like to get in bank Faster or as fast as Kwarrior
  23. Here is some tips: I added "Willow logs" so it don't drop the important things in the inventory and in the second code i removed the "Chop-down" and added "Chop down" inventory.dropAll("Willow logs"); Willow.interact("Chop down");
  24. If i had VIP i would acess the VIP bots, but not for botting but instead learning how a good VIP bot works and then improving my scripting by understanding how professional programmers write think and solve problems !
  25. How do you add a counter or something that show how many seconds,minutes and hours you have played?

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.