Jump to content

Archon

Members
  • Posts

    112
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Archon

  1. Just do what the assignment asks for. Storing the data in an array isn't necessary for the results are quite obvious. Just use a new thread to determine what amount of time you'd like execution to occur on. import java.util.Random; /** * Created by Archon */ public class VehicleSimulator { private static final Random RANDOM = new Random(); public static void main(String[] args) { VehicleSimulator camry = new VehicleSimulator(1, 100, 20, 1); camry.start(); } /** * Separator */ private int passengers, fuelCap, mpg, gear; private boolean acc, running; public VehicleSimulator(int passengers, int fuelCap, int mpg, int gear) { this.passengers = passengers; this.fuelCap = fuelCap; this.mpg = mpg; this.gear = gear; this.running = true; } private void start() { new Thread(new Runnable() { @Override public void run() { while(running) { accDec(); changeGears(); debug(); try { Thread.sleep(1000L); } catch(InterruptedException e) { e.printStackTrace(); } } } }, this.getClass().getName()).start(); } private void accDec() { if(gear == 1) { /** * Cannot decelerate at this point! */ acc = true; return; } acc = RANDOM.nextBoolean(); } private void changeGears() { int change = acc ? +1 : -1; gear += change; } private void debug() { System.out.println("Accelerate: " + acc + " Gear: " + gear); } }
  2. Archon

    FIX MY ACCOUNT

    I have no idea who you are, are you new? I've contacted several of the administrators such as Maxi, Laz, and Zach. Also, you never replied to me when I brought it up to you. I don't live off of this site, I can care less about my reputation. It's either my scripts are purchased or they are not.
  3. Archon

    FIX MY ACCOUNT

    I'm tired of not being able to see my scripts from the sales page. I'm tired of being ignored by the administration team. I have no reason to update my scripts when I get this kind of treatment.
  4. OSBot's scrolling to an item from the bank interface isn't the greatest and is buggy. Also, who honestly scrolls with the tiny up and down arrows? Anyways, this will scroll more human like. Feel free to use it. private boolean scrollToItem(String name) throws InterruptedException { RS2Interface bankInterface = client.getInterface(12); if(bankInterface == null || !bankInterface.isVisible()) return false; Item[] bankItems = bankInterface.getItems(6); if(bankItems == null || bankItems.length < 400) { log("Invalid items container child id!"); return false; } int itemSlot; Item bankItem = null; for(itemSlot = 0; itemSlot < bankItems.length; itemSlot++) { Item item = bankItems[itemSlot]; if(item == null || !item.getName().equalsIgnoreCase(name)) continue; bankItem = item; break; } if(bankItem == null) { log(name + " not found in bank!"); return false; } if(client.getBank().isSlotVisible(itemSlot)) return true; int row = itemSlot > 8 ? itemSlot / 8 : 0; System.out.println("Scrolling to row: " + row); int x = 482; int y = 75 + (int) (row * 3.5); int width = 14; int height = 10; return client.moveMouseTo(new RectangleDestination(x, y, width, height), false, true, false); }
  5. Archon

    Raflesia

    you're lucky i dont want to get you banned ......... i wont dispute you Clearly I was joking, but feel free to dispute.
  6. Archon

    Raflesia

    No offense, but I couldn't see you being a good administrator regardless of the community.
  7. Firstly, this is probably not the correct section but hopefully the ones who visit this section have better knowledge on the subject. I understand that pooling connections allows for connections to be 'recycled' but whenever I read about the action of pooling connections there is always something that states: "Make sure you close the connection when you're finished with it to put it back into the pool." Now, I've also read that having to re-open a connection is very costly, so I don't see how a pool helps if the connection is always being closed and re-opened. Someone help me better understand this subject, Archon
  8. If you're a hater click the spoiler you *%@$!!
  9. Not sure if it was intentional but now I can't even see my Pest Control script on the page where you are supposed to be able to see your own scripts. Not nice.
  10. Not sure if it was intentional but now I can't even see my Pest Control script on the page where you are supposed to be able to see your own scripts. Not nice.
  11. Once again, I wasn't complaining simply asking a question directed towards the staff members.
  12. @The people who say Jagex isn't entirely against bots. http://services.runescape.com/m=news/jagex-vs-ibot--anti-bot-update If that was so, they wouldn't of had a 2 year lawsuit with a botting company that originated in the US. You know how much money that probably cost them?
  13. Yeah and the thing is I wasn't ranting about OSBot not paying, all I did was ask when they do actually pay because I haven't yet received a payment. Kids blew everything way out of proportion.
  14. Now now I know you can't stand me but no need to get offensive. I have as many rights to post in this thread as anyone else. As far as the job comparison, I don't remember signing any contracts which state that you will be payed EXACTLY every 7 days. Not to mention if I remember correctly the SDN section says that they will do their best to pay you every 7 days. No, you don't. I was posting this thread directly to the administration team with the following issue: "Why isn't my script showed on the scripts page?" and "When does OSBot pay scrtipers?" You cannot answer either of these questions with confidence, so please be on your way.
  15. Now now I know you can't stand me but no need to get offensive. I have as many rights to post in this thread as anyone else. As far as the job comparison, I don't remember signing any contracts which state that you will be payed EXACTLY every 7 days. Not to mention if I remember correctly the SDN section says that they will do their best to pay you every 7 days. No, you don't. I was posting this thread directly to the administration team with the following issue: "Why isn't my script showed on the scripts page?" and "When does OSBot pay scrtipers?" You cannot answer either of these questions with confidence, so please be on your way.
  16. I don't like to do this but let me write this out for you Archon said the following: Now we're going to do some simple counting: Wed nr 1 - Start Thu - Day nr 1 Fri - Day nr 2 Sat - Day nr 3 Sun - Day nr 4 Mon - Day nr 5 Tue - Day nr 6 Wed nr 2 - Day nr 7 Thu - Complain day According to this 8 days passed since the pay date. The complaints started the 8th day. So he has been waiting a maximum of 8 days (which isn't that long in my opinion). And instead of PMing the admin for information he goes public with it causing people to spread rumors like: "seeing so many scripters not getting paid. its ridicilious. staff doesnt give a fuck.". I made this up using the information in the thread correct me if I am wrong. I don't see why you are being completely blatant. Tell me this, if you go to a job and you are told you will be paid every certain day but after that days go by two times without being paid will you do something to question why or simply sit back and say "Oh it's only been 8 days." Also, I have messaged Laz, Maxi, and Raflesia. You really have no place of even replying to this thread as you are no body in this community, beside the fact that you probably know the basics of Java and can put together a few scripts. Clearly this thread was a last resort to get an Administrators attention.
  17. *removed* I cannot see my Archon Agility script on this page. Also, when does OSBot pay scrtipers? I was told every Wednesday but it's been two Wednesdays now without anything.
  18. About time. (Don't know why this double posted) Anyway, how about pulling all of the SDN upload requests. It's been 2 days. http://osbot.org/forum/topic/13167-update-your-script-here/
  19. Man I payed $800 for my Husky, good luck with your search.
  20. http://www.youtube.com/watch?v=BlHM7wC-_co&feature=player_detailpage&list=UUMGQWJXbI53Gk6lYE6Prxvw
×
×
  • Create New...