Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 02/01/14 in all areas

  1. Is removed Like dis post. Don't really care if you have a lot of likes, it doesn't make your e-peen bigger. Rule gone.
    9 points
  2. PL0x someone like this for no reason
    9 points
  3. swapping likes for likes!!!!!!!!!
    8 points
  4. In that case.. where's the dislike button?!
    5 points
  5. amg pls like i'l like you tooo xxxx
    5 points
  6. I think that is common sense, there shouldn't need to be a rule to keep people from doing this.
    5 points
  7. So I can make a new account, and go like all my shit... Make>Like>SignOut>Repeat?
    5 points
  8. like this for no reason lulululul
    3 points
  9. my comment never gets any thumbs up shit wrong site
    3 points
  10. must be sad to do that---like this
    3 points
  11. Overview: Many users are unaware of how to properly submit bug reports, a vital communication tool between users and scripters. Bug reports provide scripters with the information they need to fix bugs and issues in their scripts. I've decided to create this short guide to teach everyone how to submit an effective bug report to ensure minimal downtime of their favorite scripts. This guide may seem obvious to some, but it has become evident it is necessary. Before Submitting Report: Before even submitting the bug report, make sure the following statements apply to you completely. I am exactly following the scripts instructions. I am using the newest version of the script (if local download). I am using the newest version of the OSBot client. I am using the newest version of Java. I am NOT using low CPU mode. If and only if you answered yes to all of the above questions should you submit a bug report. Do not submit a report about anything related to random events, these are not controlled by the script. What to Include in Report: Include at a minimum the following in your bug report: Client version Script version Date Low CPU mode? What caused the bug to occur/when did the bug occur? Where was the character when the bug occurred? Screenshot (if applicable) Providing all of the above information will allow the scripter to quickly assess the issue and fix the bug. Do not post anything vague in your report as this only leads to confusion. Where to Submit Report: When submitting your bug report either post it in the script's thread or send the script writer a private message. Posting a bug report anywhere else is entirely useless. Example Template: Client Version: Script Version: Date: Low CPU Mode (yes/no): Bug Description: Bug Occurs When: Where Bug Occurs: Screenshots (if applicable): Examples of Good Reports: Examples of Bad Reports: Thank you for following this guide, Eliot and the OSBot scripters thank you!
    2 points
  12. “I'm selfish, impatient and a little insecure. I make mistakes, I am out of control and at times hard to handle. But if you can't handle me at my worst, then you sure as hell don't deserve me at my best.” - Marilyn Monroe
    2 points
  13. That moment when i remove the like rule just for 10 mins to get likes then add it back hahahahahah
    2 points
  14. Anyone wants to trade scripts for likes :3?
    2 points
  15. WTF? Remove this shit so I can like everyone's comments....
    2 points
  16. 2 points
  17. 2 points
  18. 2 points
  19. I've never heard of this game.
    2 points
  20. Updated for OSBot 2's API! Hello future script writers and other OSBot members! This will be my first OSBot script writing tutorial, and it's geared toward beginners with at least some understanding of Java (however, I'll still be covering some fundamentals). So, let us begin. Step I: Getting the IDE An IDE (integrated development environment) is software that makes programming much easier on you, the programmer. There are many Java IDE's to choose from (IntelliJ, NetBeans, Eclipse, and many more), but for this tutorial, we'll be using Eclipse. You can download Eclipse here. Simply choose the Eclipse Standard and download the version for your computer (32 or 64 bit). Once downloaded, use a program to decompress the archive, and move the eclipse folder to wherever you'd like (C:\, your desktop, it honestly doesn't matter). To open Eclipse, go into that folder and open the Eclipse application. Congratulations, your one step closer to making OSBot scripts! Step II: Basic Java Fundamentals Java, like C++, PHP, and Javascript, is a high-level programming language, which simply means it's very readable by humans (we use English while programming in these languages) and therefore much simpler to write code. If you're an absolute beginner, with no background in programming at all, this is going to go by extremely fast, and I will likely skip over some important topics. If you fall into this category, you absolutely NEED to read these tutorials by Oracle. I'm not sure about most of you, but I feel that a great way to learn something is to dive right in, and worry about the little things after you've started to understand the bare essentials. With that in mind, let's take a look at a simple HelloWorld class: public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World, I'm learning Java!"); } } Now looking at that might be intimidating if you're new to this, but believe me it's very simple! I'll break down some of the common words used above: public: This could be public, private, protected, or default. It simply states the visibility of this class/method/variable. Public items can be seen from outside of your package, private items can't be seen by other classes in your package, protected items can only be seen by the subclasses of your package, and default can only be seen by your package. class: A class is like a blueprint from which objects are created (Oracle). static: This is a keyword that simply means that only one instance of it will ever exist, even if you recreate it infinitely. void: This is the return type of this method. Void methods return nothing, int methods return integers, String methods return strings, and so on. String[]: This is an array. Arrays are just containers that hold a specific number of items (of one type). For example, this method takes an array of strings as a parameter. System.out.println: This is just a method that prints a message to the console and then prints the newline character. ;: Semi-colons are used at the end of any Java statement (note: conditionals and loops do not count as statements), without them, your compiler will give you errors. { }: These curly braces are used to surround/contain the contents of a class/method/etc. This is all of the Java basics I will teach, simply because there are already many resources out there (see above). Step III: Setting up a Java Project Setting up a Java project in Eclipse for making OSBot scripts is simple, just follow these steps: Step 1: Press File>New Java Project and name your project, then press finish Step 2: Add the OSBot .JAR file to your build path Step 3: Add a class to your new project And you're ready to actually start script writing! Step IV: Creating Your Script Now here's where we actually start making your script! For this example, we'll be creating a very simple mining script that will mine and drop everything once the inventory is full (please note: this example is hardly usable for a script, but it shows the basics. With a real mining script, you'll want to replace the object name with the ID(s) of the rocks, so you don't try mining empty veins). Here's the full source: import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "You!", info = "I made this script!", name = "Basic Miner", version = 0, logo = "") public class BasicMiner extends Script { private enum State { MINE, DROP }; private State getState() { if (inventory.isFull()) return State.DROP; return State.MINE; } @Override public void onStart() { log("I can't believe script writing is this easy! I love learning!"); } @Override public int onLoop() throws InterruptedException { switch (getState()) { case MINE: if (!myPlayer().isAnimating()) { RS2Object vein = objects.closest("Rocks"); if (vein != null) { vein.interact("Mine"); } } break; case DROP: inventory.dropAll(); break; } return random(200, 300); } @Override public void onExit() { log("Thanks for using this wonderful script!"); } @Override public void onPaint(Graphics2D g) { } } Now most of that will be confusing, but don't worry, I'm here to help you! I'll break this down for you. import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; These lines import other classes for their use in your script. @ScriptManifest(author = "You!", info = "I made this script!", name = "Basic Miner", version = 0, logo = "") This is the script manifest, which simply tells OSBot your script's author, info, name, and current version (for use in their class loader). public class BasicMiner extends Script { ... } This just defines our class, and extends OSBot's Script class, so we can use all of their fancy API methods. private enum State { MINE, DROP }; private State getState() { if (inventory.isFull()) return State.DROP; return State.MINE; } Here we make an enum (collection of constants) called State which holds two states: mine and drop. Then we have a method that's return type is State (so it returns a State, which we just made). If your inventory is full, this method will return the dropping state, otherwise it will return the mining state. @Override public void onStart() { log("I can't believe script writing is this easy! I love learning!"); } This method is part of OSBot's Script class (which we're extending from). The onStart() method is only called once, and is called at the beginning of the script. This is where you should define some variables that only need defined once (the start time, start experience/level, etc.). @Override public int onLoop() throws InterruptedException { switch (getState()) { case MINE: if (!myPlayer().isAnimating()) { RS2Object vein = objects.closest("Rocks"); if (vein != null) { vein.interact("Mine"); } } break; case DROP: inventory.dropAll(); break; } return random(200, 300); } This is another method from OSBot's Script class (see that @Override?). onLoop() returns an integer, or how many milliseconds to wait before doing onLoop() again. We then use a switch statement to see what we should be doing. If we're to mine, we check if our player is currently animating (mining). If we aren't, we find the closest rock to mine, if that doesn't exist (or is null), we stop right there. But if it isn't null, we interact with the rocks by pressing "Mine". If we're to drop, we simply drop everything in your inventory (you did have your pickaxe equipped, right?). @Override public void onExit() { log("Thanks for using this wonderful script!"); } @Override public void onPaint(Graphics2D g) { } onExit() and onPaint(Graphics g) are two more methods from the Script class. onExit() is called once your script is stopped, and onPaint(Graphics g) is called every time the screen is updated. Step V: Exporting Your Script The final step to this tutorial will be exporting the script we just made so we can actually test it out! Step 1. Right click your project and press Export... Step 2: Choose JAR file Step 3: Choose your OSBot's scripts directory and export it! Well that's all for this tutorial, thanks for reading! You can find Part II here! Also: post suggestions for future tutorials, and I'll definitely consider it!
    1 point
  21. Stats Blackmarks (uh oh) Has a few chaotics left, It was hacked for most of it, lost the tokhaar-kal too Has like CLS/Chaotic Kite, like 75% of the quests done. Not sure how I'll be deciding how to give it away, just post here if you want it or you have any questions about it or have ideas how I should give it away. Also has a pretty cool name. ~Yuuki Asuna~ edit; I'd like to say this is a gift from me to you of osbot, I can't control it if you resell this account and I by no means have intentions of recovering it. But I'd rather it go to someone who plays actively on RS3 and would use it accordingly. Not as a goldfarmer, or just some account to sell. But It is a giveaway and I would just like it if you would respect it accordingly. But again I can't read the future so saying "Im gonna main this account forever" isin't going to help. Just as being honest saying "yeah im a sell the shit out of this" won't diminish your chances. edit2; I'll be giving it the night to gain some notice, and Feburary first is my birthday so I probly won't be around to give it away then. 2/2 maybe the deadline
    1 point
  22. small proggy provided by the great qw3
    1 point
  23. How can you add -lolmanden When the whole quote was used be christ knows how many people "u must b fun at parties" incoming
    1 point
  24. Some guy I know sells them and they're real tough some police even came asking to stop selling them as they weren't happy with em
    1 point
  25. This is Maldesto and I confirm this mesage.
    1 point
  26. Mark Burger $3.99 Big Mac+ Mark Burger - Meal $5.69 Cheeseburger $1.29 2 Cheeseburgers - Meal $4.69 Quarter Pounder with Cheese $3.69 Quarter Pounder with Cheese - Meal $5.39 Double Quarter Pounder with Cheese $4.69 Double Quarter Pounder with Cheese - Meal $6.39 Filet-O-Fish $3.49 Filet-O-Fish - Meal $5.19 Double Cheeseburger $1.22 Chicken Ranch BLT (Grilled or Crispy) $4.19 Club Chicken (Grilled or Crispy) $4.29 Classic Chicken (Grilled or Crispy) $3.99 Chicken $Mark Nuggets $3.89 Sweet Treats MarkFlurry (Small) $1.99 MarkFlurry (Large) $2.49 Sundae (Hot Fudge or Caramel) $1.19 Pies (Apple or Cherry) $0.99
    1 point
  27. Could you like, add a decent setting explorer? (or configs as you call it >_>) because this one is.... well... bad.
    1 point
  28. public void toggleRun() throws Exception { if (currentTab() != Tab.SETTINGS) { openTab(Tab.SETTINGS); sleep(300+random(700)); } client.getInterface(261).getChild(34).interact(); } quick fix until the hook is updated in the api.
    1 point
×
×
  • Create New...