Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/07/13 in all areas

  1. Hello, first of all I am sorry if this is in the wrong section, it seemed to be the most logical section to post this in in my eyes. The reason I am posting this is, I recently noticed that many people do not understand how the break timer actually works, I know to some this may seem easy, and make this post unneccesary, but I think this still needs to get out there So here it goes: Average interval: is after how long do you want it to take a break? Interval deviation: How long can it vary from the interval time Break time: how long does it take a break? Break time deviation: how long can it vary from the break time Example: I want it to take a break every 2-4 hours, for 30-60 min Average interval: 180 min (=3 hour) Interval dev: 60 min (so it can vary from 180-60 to 180+60 = 2-4 hour) Break time: 45 min Break time dev: 15 min (makes it vary from 45-15 to 45+15 min)
    2 points
  2. meanwhile a convicted rapist or murderer gets like 5 years...
    2 points
  3. V1.1 Released! Hello, For all my scripts I require a walking class so I made this class that DOESN'T glitch/pause on breaks. Example (V1.1): This class/package is able to: Manage the run energy Open doors (ONLY closed ones) Clicks next Position when it is in range for smooth walking Path randomization which can be turned of for each position DOESN'T glitch/stop Easy to use! Has a debug paint Requirements/How to implement: Import the jar first (You can also open the JAR with 7Zip and go to the walker folder for the source) States makes this alot easier. First you need to make a new PathTile, a PathTile is a class that extends Position so you can use it as a Position aswell. By not specifying the randomize boolean it will be true (so randomized) PathTile tile = new PathTile(Entity ent); PathTile tile = new PathTile(Entity ent, boolean randomize); PathTile tile = new PathTile(int x, int y, int z); PathTile tile = new PathTile(int x, int y, int z, int randomize); Then you make a PathTile array PathTile[] pathTiles = new PathTile[] { new PathTile(3186, 3429, 0), new PathTile(3191, 3429, 0), new PathTile(3196, 3429, 0), new PathTile(3196, 3424, 0), new PathTile(3197, 3419, 0, false) }; // By not specifying the randomize boolean it will be true (so randomized) After that you can make a new Path Path path = new Path(Script s, PathTile[] pathtiles, int maxRandom); // For example Path path = new Path(this, pathTiles, 2); // This will make a new Path with the Path Tiles we made before and the randomization value is 2. (So the x can vary between -2 and 2) Then we need to make our walker class Walker walker = new Walker(Script s, int doorDistance); // For example Walker walker = new Walker(this, 2); So how do we combine these things? Because it doesn't glitch on breaks you should use states. if (State.START_WALK) { path.start(); } if (State.IS_WALKING) { walker.walkPath(path); } // For the IS_WALKING state you can use path.isWalking(); // For the START_WALK state you could use an area for example. If you want to draw the debug paint then put this in your onPaint: //Make walker and your path public/private/protected public void onPaint(Graphics g) { this.walker.drawDebug(g, this.path); } If you want to draw the path on screen then put this in your onPaint: public void onPaint(Graphics g) { this.walker.drawPath(g, this.path, Color.CYAN, Color.RED); } If you don't understand it watch this very basic implementation video: --Updating Changelog; ---------------V1.2--------------- Added Walker.recover(); It will try to find the closest PathTile of the last path and start walking from there. Useful to put in your Idle state (where nothing happens so your bot is stuck) ---------------V1.1--------------- Added drawPath(Graphics g, Path p, Color c1, Color c2) - Credits to jelknab Added doorDistance to the Walker constructor: Walker w = new Walker(Script s, int doorDistance) : if doorDistance is 0 then it won't detect doors! Changed the randomization, the path will be randomized when you use Path.start() and not when getting new points. Source is now in the Walker folder. ---------------V1.0--------------- Release Download V1.2: http://uppit.com/8vp0h4o867xc/AIOWalker.jar Source (Pastebin) V1.2: Path.java: http://pastebin.com/hcUjnafE PathTile.java: http://pastebin.com/4FB7nqYk Walker.java: http://pastebin.com/37tjiZ4g Download V1.1: http://uppit.com/vwqn9srba1k1/AIOWalker.jar Source (Pastebin) V1.1: Path.java: http://pastebin.com/hcUjnafE PathTile.java: http://pastebin.com/4FB7nqYk Walker.java: http://pastebin.com/60M51rcu Download V1.0: http://uppit.com/tlub9ozv2t3o/AIOWalker.jar Source (Pastebin) V1.0: Path.java: http://pastebin.com/y7GdDZLG PathTile.java: http://pastebin.com/VBK0cTnR Walker.java: http://pastebin.com/FV013cG9
    1 point
  4. I was originally going to make this for another bot, but it seems that it will have a larger audience here, and it'll be easier to develop as the OSBot API is very broad and there will be less things that I'll have to code from scratch, such as banking. Essentially people will be able to fight nearly any monster they want by creating custom paths that permit not just walking, but also NPC/Object/Item interaction. http://www.youtube.com/watch?v=EA4gz-2o0oc
    1 point
  5. My entry to the promotional video contest. I know it don't have much in it but main things are covered i believe. EDIT: If i win the contest and get the chance to look over osbot youtube page, i'll be perfecting the intro and promotional video, possibly make a new one because i'll have no time limit unlike in the contest. Watch in 720p http://youtu.be/L0IVjoS5574
    1 point
  6. works for me I check OSbot regularly on my phone during the day.
    1 point
  7. And it's back to normal.
    1 point
  8. Hi Helpmeples, First of all, our sincere apologies for letting you wait for so long. I've sended you a PM. I will reset your password when you've answered some of my questions correctly. Thread locked.
    1 point
  9. Post it in the real-life section.
    1 point
  10. 1 point
  11. Yeah not his list and no need to make a thread with simple copy and paste job.. should have just post link and/or gave credit to who put this together originally. Grats
    1 point
  12. That's sort of what the paths are for :p
    1 point
  13. I'm just wondering why you'd like your own post, no offence. More approaches to superior features, increase of members and new skills somehow unrelated to RS2. RuneScape is evolving without the questionings of players, which will cause curiosity also resulting to payment of membership. Intelligence is underrated at Jagex.
    1 point
×
×
  • Create New...