Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 08/21/14 in all areas

  1. You should have been accepting of her wanting to just be friends. Ask her to hang out, get her drunk, fuck her and never call her again. gg rekt
    5 points
  2. I'm making a Twitch Trivia bot for mine and others streams that will ask questions and give points to the users that answer the fastest. I just need some questions to use to put in ^_^ If you have some or just one it helps a lot c: Heres some already made, please use this format when submitting :3 What level do you need to use an Abyssal Whip?*70 How much expierence do you need for 99 in a skill?*13,034,431 Who is the king of East Ardougne?*Lathis What level prayer is required to use smite?*52 Who was the #1 ranked player in 2005*Zezima What level thieving is required for Desert Treasure*53 Who is the king of the Gnomes?*Narnode Shareen Who is the god of the goblins?*Bandos What year did Santa Claus make his first appearence in Runescape?*2004 Questions can be 07 or rs3
    3 points
  3. You must have dicks so far up your ass to think paying $400 a month for insurance is acceptable to have a status symbol. Just buy a toyota camry and swap an LS1 + turbo. Watch peoples eyes light up as you smoke them in their Mustang GT's I also pay $30 a month for insurance. umad?
    3 points
  4. Uh, there you are, maybe someone will finnaly finish his webwalker using this. Code isnt efficient, it was written for fun, so please dont judge too hard ;P https://www.dropbox.com/sh/su057cnlso03vlx/AADYNSPVFyVG8tA0IRv3SCvQa What it does?: http://osbot.org/forum/topic/53823-having-fun-with-jagex-map/?p=600763
    2 points
  5. You're telling me you made ~$45k off RS?
    2 points
  6. Do what you need, but i don't recommend using meh code xD
    2 points
  7. Updated for OSBot 2's API! Hello again everyone! I hope you enjoyed my first tutorial, and I hope you'll enjoy this on as well. All feedback is appreciated, so feel free to post your thoughts! This tutorial will use some of my methods for simple banking and path walking! We’ll expand upon our script we were working on last time, so you'll need the source. Step I: Converting to a Banking Script Now as we all know, this script isn’t only boring, it will keep trying to click the rocks after we mine them, even if that vein isn’t ready! To remedy this, we’ll be searching for the rocks using object IDs instead of names. Since we’ll be using specific IDs, we have to choose what and where we’ll be mining! For this second tutorial, we’ll make a script that mines tin in the mines south-east of Varrock: Finding Object IDs Finding object IDs in OSBot is very simple, stand near the object you want the ID of, press Settings: Then press Advanced Settings: Then finally press Object Info: This will lag your client a lot, but don’t worry, you can shut it off as soon as you get the IDs. To get the ID, just look for the number near/on the object you’re looking for: Note: Some objects and NPCs in Runescape have deviations of themselves (like tin), so the same object/NPC may have different IDs (make sure to get all the IDs of whatever you’re using). Now that we have tin’s ID, we’ll make a constant in our script: private static final int[] TIN_ID = { 7140, 7141, 7142 }; We’ll put this line right after this: public class BasicMiner extends Script { Now that we have the object ID found and defined, let’s change our original code to use the ID instead of a name, simply by changing this line: RS2Object vein = objects.closest("Rocks”); to this: RS2Object vein = objects.closest(TIN_ID); Step II: Area Based State For this script, we’ll see which state we should be in with the help of OSBot’s Area class, which is defined as Area(int x1, int y1, int x2, int y2). Simply stand on two opposite corners and fill in the x and y. For the areas, put this after our path variable: private static final Area MINE_AREA = new Area(3277, 3358, 3293, 3371); private static final Area BANK_AREA = new Area(3250, 3419, 3257, 3423); Step II: Path Making The first step to path walking, would be path making! We’ll be making a path by enabling the “Player Position” setting (same place we enabled Object Info): Now, I like to open notepad, or some other text editor while finding my path, so do that now. Alright, finding a path to the bank is pretty simple, but can be slightly confusing at first. Start at the tin veins, and add the position you’re current at (this will be used when we reverse the path to walk from the bank back): Then act like you’re walking to the bank, but only press ONCE on the minimap. Let your player walk to that position and stop, then write down your first position to that path. Then keep doing that until you’re in the bank, here’s what I got: 3283, 3363 3290, 3374 3292, 3386 3290, 3374 3291, 3401 3287, 3413 3282, 3427 3270, 3429 3256, 3429 3254, 3421 To turn this path into something we can use in our script, we’ll be using an array (collection of a type of variable). We’ll put this line of code right after where we defined TIN_ID: private Position[] path = { new Position(3283, 3363, 0), new Position(3290, 3374, 0), new Position(3292, 3386, 0), new Position(3290, 3374, 0), new Position(3291, 3401, 0), new Position(3287, 3413, 0), new Position(3282, 3427, 0), new Position(3270, 3429, 0), new Position(3256, 3429, 0), new Position(3254, 3421, 0) }; Yay! We now have a full path from the mines to the bank, which we’ll reverse to go from the bank to the mines (saving us a step)! Step IV: Path Walking Now that we have a path, let’s put it to use! First of all, let’s change our enum by removing the DROP constant, and adding WALK_TO_BANK, BANK, WALK_TO_MINES: private enum State { MINE, WALK_TO_BANK, BANK, WALK_TO_MINE }; Now it’s time to change our getState() function to return what exact state we should be in: private State getState() { if (inventory.isFull() && MINE_AREA.contains(myPlayer())) return State.WALK_TO_BANK; if (!inventory.isFull() && BANK_AREA.contains(myPlayer())) return State.WALK_TO_MINE; if (inventory.isFull() && BANK_AREA.contains(myPlayer())) return State.BANK; return State.MINE; } Now that the script knows what state we should be in, let’s handle the actual path walking, with a pretty simple method to traverse the whole path: private void traversePath(Position[] path, boolean reversed) throws InterruptedException { if (!reversed) { for (int i = 1; i < path.length; i++) if (!walkTile(path[i])) i--; } else { for (int i = path.length-2; i > 0; i--) if (!walkTile(path[i])) i++; } } You can put this method after getState() if you’d like, and the walkTile(path) will be underlined red, because we’re about to make that method too! I’ll explain this method, as it may look confusing: If the path isn’t reversed, we’ll iterate through the path starting at position 1 (note that arrays start at 0, but remember, our 0 is in the mine) until we end in the bank. If the path is reversed, we’ll simply do the opposite! We’ll start at the 2nd to last position (path.length - 2) and continue to decrease through the path until we end up back in the mine! The reason we aren’t using OSBot’s walk() method is because, well, it doesn’t work nicely at all. It tends to continue clicking the position til you’re there, and many other problems can happen. So here’s the walkTile(Position p) method, put this after the traversePath() method: private boolean walkTile(Position p) throws InterruptedException { client.moveMouse(new MinimapTileDestination(bot, p), false); sleep(random(150, 250)); client.pressMouse(); int failsafe = 0; while (failsafe < 10 && myPlayer().getPosition().distance(p) > 2) { sleep(200); failsafe++; if (myPlayer().isMoving()) failsafe = 0; } if (failsafe == 10) return false; return true; } Simply put, we move the mouse to where the tile is on the minimap, then press the mouse button. After that, we’ll sit around and wait until we’re pretty close to the tile we’re walking to. I also implemented a simple failsafe here, just incase we misclicked or something, that will reclick the same position until we're actually near that position. Step V: Preparing for Banking Now let’s actually make the walking states actually walk, by changing our onLoop() to this: @Override public int onLoop() throws InterruptedException { switch (getState()) { case MINE: if (!myPlayer().isAnimating()) { RS2Object vein = objects.closest(TIN_ID); if (vein != null) { if (vein.interact("Mine")) sleep(random(1000, 1500)); } } break; case WALK_TO_BANK: traversePath(path, false); sleep(random(1500, 2500)); break; case WALK_TO_MINE: traversePath(path, true); sleep(random(1500, 2500)); break; } return random(200, 300); } Step VI: Banking Now that we’ve managed to walk to and from the bank, let’s actually do some banking! If we’re in the bank state, that means we’re already in the bank! Now, let’s add this case to our onLoop() function (as seen above), by simply adding this after the last “break;” and before the ‘}’: case BANK: RS2Object bankBooth = objects.closest("Bank booth"); if (bankBooth != null) { if (bankBooth.interact("Bank")) { while (!bank.isOpen()) sleep(250); bank.depositAll(); } } break; This looks for the bank booth, if it isn’t null and if we actually managed to click on it, we’ll wait til it’s open, then deposit everything except our pickaxe, which is hardcoded so you’ll have to change this to whatever pickaxe you’re using. We’ll automatically detect which pickaxe we’re using in the next tutorial. Conclusion If you managed to get through this whole tutorial without error, congratulations! If not, you can find the full source here. I hope you've learned something from this, and if you didn’t, don’t worry! Programming takes time to learn, look this over a few times, I promise you’ll get it! Thanks for viewing my second tutorial, stay tuned for future tutorials!
    1 point
  8. Hello Community Ever since I joined OSBot In late December of last year, no matter what I've done, I've had my OSBot Chatbox open. It's even my top most visited page according to my Chrome when I need to open a new tab. Most of my E-friends, I've met here. Lot's of funny memories and conversations go on in there, or at least did. The chatbox has been on a slow road to death, I've even had for my homepage for a little while, and you simply just can't abandon your home. Some I'm gonna be looking for new roommates. And I'll even be giving some of you a little home coming gift. Plus I wanna break in These gifts can range from 1M 07 Bond VIP Graphics made personally by me. Sponsor + More For anything, follow the following : Be active in the chatbox Help around Follow the standard rules of the chatbox along with the global. (Optional) If your reward allows you to change your member title, let me know if I can add Gifted by Asuna at the end of it Don't ask me for stuff (This is also against rules in general) If you worried that timezones are going to be a problem and I won't notice you, don't worry, I on like 20 hours a day. Confirmed by @Arctic And If somehow you manage to find a way to void me in my 4 hours, I have unbiased scouts on the lookout for me. The chatbox can be found by clicking "Chat Box" in the navigation bar at the top. Or click here Rewarded Members 1. 2. @Acerd
    1 point
  9. to have been there in person... I would of been like...
    1 point
  10. I remember I made a topic called "bought a new cadillac Escalade 2015 $80k" and then wrote no i didnt in a spoiler and maldesto closed it before anyone could comment
    1 point
  11. ^^ you took my last name
    1 point
  12. There's 3 Yes's 2 No's One of those No's is the OP The other is Hero of Time. /thread
    1 point
  13. shits so annoying gotta shave every few days..... i cant go more than a weekwithout shaving cause it jst gets annoying/irritates me... slightly shaved/trimmed or w/e and you got like a light beard showing is beast af
    1 point
  14. Everything is pretty much high risk :P
    1 point
  15. The 12 hrs of the whole trilogy is watchable!
    1 point
  16. Holy shit you sound like a 45 year old woman beginning menopause. First of all, who gives a fuck if you're only friends. Girls know girls, who know girls, who know girls, etc. It's like a never ending cycle of premium vagina. Second, if you're 22 and still worried about "going in for the kiss", you should switch from tampons to pads since that's how much of a bitch you are. Lastly, always remember women are just a walking pair of knockers so you shouldn't ever be stressing over them. Like my papa always told me; men are just young, dumb and full of cum.
    1 point
  17. Your appeal will not be read by Jagex. Unfortunately
    1 point
  18. I really do have it, it is very amazing. You would not be disappointed.
    1 point
  19. DnB and Hardstyle is my jam. But almost anything electronic, besides all this EDM crap that has been releasing recently.
    1 point
  20. I got cancer reading through this thread, thank you.
    1 point
  21. Where is the Water Altar located?: Lamberdidge Swep Where are dust devils located?: Smoke dungeon Which NPC has the highest level requirement to pickpocket?: Elf What cooking level is required for completing Recipe For Disaster? 70
    1 point
  22. Dear community, We are aware that many of you are finding it difficult to bot due to random events. Well, not for long! After spending many hours working on the random issues yesterday, I believe I have finally fixed the bugs. Sorry about the XP rates; the fighter was taken at Chickens, and the chopper was taken at willows, using a bronze hatchet. But the point is, those are two solid 6 hour proggies, with no inteference by a human. The problem with starting/suspending/stopping scripts has been fixed as well. I have pushed these fixes to the API dev repository, and they will be put in place on the next release of OSBot 2.
    1 point
  23. Way to grave dig a month old topic.
    1 point
  24. Terrible gif made by @Yoshiki
    1 point
  25. hey fuck you and your fullstops m8
    1 point
  26. Who Is the highest level slayer master on Rs3?*Morvan lorwerth
    1 point
  27. I feel like I just got high
    1 point
  28. 1 point
  29. i love nick offerman
    1 point
  30. 1 point
  31. Such an amazing gif of the highest quality.
    1 point
  32. Grunge == Alternative rock in the 90s that originated out of the Seattle Area. Some example bands include Nirvana, Soundgarden, Pearl Jam, Stone Temple Pilots, and Alice in Chains
    1 point
  33. @Volta! congrats! was funny af lmfao.
    1 point
  34. 1 point
  35. Yeah cause you're that guy who used Macs before Swift was introduced
    1 point
  36. Just so everyone knows this group ended like 6 months ago lol
    1 point
  37. Flags are bs, haven't finished calculations for them. And um na its not topographical map XD It might looks like but na.
    1 point
×
×
  • Create New...