Jump to content

Rah

Members
  • Posts

    128
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Rah

  1. Game was dumb, someone just took that old helicopter game and remade it with a bird. First time I saw someone playing it, I thought they were playing Mario.
  2. The equivalent of $100.00. QE: That was for Route, sorry. :P 1M
  3. Apparently I cannot post images on this forum. Here is the raw link: http://postimg.org/image/jr538qlgv/ Anyways, this is what happens when I try to log in to the client. Is this client version related, or something with VPS? Using centOS 5.6 EDIT: Found the problem, had to update java.. was still on 1.6. Please close. For anyone who might experience this problem in the future; yum java -version if it is 1.6 yum install java-1.7.0-openjdk.i386
  4. Rah

    SwiftFlax

    SwiftFlax Current version: N/A Date started: 29/09/2013 Hello reader, I'm creating a script called "SwiftFlax". The script will obviously pick flax, and then proceed to bank them once the bots inventory is full. So far, I have created the picking part of the script. I wish to improve my proficiency with scripting a bot, so I will start with a pretty basic script. If you wish to leave your support, a tip, or anything that could potentially help me, I would greatly appreciate it. So far, I have created a way for the bot to pick the flax. This is all made off the top of my head, I do not have an account for me to test it with because of the bans that took place on three of my accounts last night. I'll leave this here, and build off on it whenever I get a chance to. I believe in open-sourcing your work, to an extent. This is just the class to execute "picking" the flax. I would like to thank exuals for providing the node tutorial. I really like the organization, and this way helps me understand how to structure things properly. package swiftflax.nodes; import org.osbot.script.Script; import org.osbot.script.rs2.model.Entity; import org.osbot.script.rs2.utility.Area; import swiftflax.api.Node; public class PickNode extends Node { private Area FLAX_FIELD = new Area(0000, 0000, 0000, 0000); // Get the coordinates. private Entity flax; public PickNode(Script script) { super(script); } @Override public boolean validate() throws InterruptedException { return !inventoryIsFull(); } @Override public boolean execute() throws InterruptedException { return pickFlax(); } private boolean inventoryIsFull() { return s.client.getInventory().isFull(); } private boolean playerBusy() { return s.client.getMyPlayer().isUnderAttack() || s.client.getMyPlayer().isMoving(); } private boolean inFlaxField() { return s.client.getMyPlayer().isInArea(FLAX_FIELD); } private boolean flaxAvailable() { flax = s.closestObjectForName("Flax"); return flax.exists() && flax.isVisible() && flax.isInArea(FLAX_FIELD) && flax != null; } private boolean pickFlax() throws InterruptedException { flax = s.closestObjectForName("Flax"); if (!playerBusy()) { if (inFlaxField()) { if (flaxAvailable() && flax.interact("Pick")) { return true; } } else { s.log("Not in flax field."); // Walk to the flax field. } } else { s.log("Busy."); return false; } return false; } }
  5. Thanks! I appreciate the resources, but unfortunately I'm not looking for tutorials per say. I'm trying to locate someone who can provide tutorials such as the ones you have included, but also be able to provide insight to any questions that may come up during my learning process. I am interested in programming scripts within OSBot, but I am also wanting to take it further than the OSBot API and potentially branch off into my own projects once I have gained enough knowledge. I really do appreciate your effort in trying to help though!
  6. Hello, I'm looking for someone who is proficient in the language, enough to where they are able to teach me the basics through the "advanced" of what they know. I tried to read some tutorials online, but I am a better learner if I have someone who actually guides me through it, and "tests" me over what we went through. I am willing to pay for such a tutor, I have a steady income (Benefit of being in the military! ) so, anything reasonable will be taken into consideration! Leave a message here, or simply message me and I'll pass over my Skype username over to you and we can discuss further. Unfortunately, I am unavailable at times from 5 AM - 4 PM EST. So, anything after those times would be preferred for lessons. Thanks!
  7. Mintpez.USMC - Rah Mainly playing recon. Good at AA with tanks.
×
×
  • Create New...