Jump to content

LifezHatred

Members
  • Posts

    423
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by LifezHatred

  1. Honestly im not going to buy paints, if you decide to join the project though you would get a cut of the profits based on how much work you do It takes about, a day or 2 at this point to write a fully functioning script so depending when i can get a gui designer will be pushing around 3-4 scripts a week that are flawless and more efficient than any other scripts of that kind Bro are you like a coding prodigy?? Dude it aint that much code, i've been programming for 6-7 years now hell i've known laz and maxi for years
  2. Honestly im not going to buy paints, if you decide to join the project though you would get a cut of the profits based on how much work you do It takes about, a day or 2 at this point to write a fully functioning script so depending when i can get a gui designer will be pushing around 3-4 scripts a week that are flawless and more efficient than any other scripts of that kind
  3. Project X Project x is a project that is going to release a wide variety of exceptionally good quality scripts Our scripts will be flawless, efficient, and better than our competitors Current Scripts (Released) XYewCutter - http://pastebin.com/Jp3xQgw4 In Development XDruid - Progress on my druid bot (started about 2 hours ago haha) Fastest possible combat, attacks druids that attack you or the nearest druid that can be attacked Unique Pick up system, pick up herbs in a mass amount to speed up the amount of herbs you can get per hour Eating, Eats when your health falls below a certain percentage (randomly around that percentage) To-Do Paint Starting GUI Path from bank to Druids, supporting tele tabs or not XWoodCutter - Multiple locations with banking, picks up nests, detects randoms, and unique pathing XFletcher - Supports all items with fletching, logs, arrows, bows, stringing XMiner - Mines any rocks in multiple locations Development Team LifezHatred - programmer, lead developer Mace - Graphics Designer We are looking for a GUI designer who can design unique interfaces, And any one who can contribute to the project
  4. yeah apparently no matter how many times i re pasted it the tabs would not show up =[ tabbed version - http://pastebin.com/djSDJb2p You have to use spaces instead of tabs. Also the word wrapping can mess things up so, start any new line on a new line to prevent weird word wrapping. Hope you don't mind here is the code formatted below public long lastRun = 0; public Position lastClick = null; public int randomDistance = 0; public boolean walkToLocation(Position p) throws InterruptedException { int maxY; int maxX; boolean revY = false; boolean revX = false; Position playerPosition = myPlayer().getPosition(); if(playerPosition.getX() < p.getX()) { revX = true; int distance = p.getX()-playerPosition.getX(); if(distance > 17) { maxX = 17; } else { maxX = distance; } } else { int distance = playerPosition.getX()-p.getX(); if(distance > 17) { maxX = 17; } else { maxX = distance; } } if(playerPosition.getY() < p.getY()) { revY = true; int distance = p.getY()-playerPosition.getY(); if(distance > 17) { maxY = 17; } else { maxY = distance; } } else { int distance = playerPosition.getY()-p.getY(); if(distance > 17) { maxY = 17; } else { maxY = distance; } } int addX = (int) (10+(Math.random()*(maxX-10))); int addY = (int) (10+(Math.random()*(maxY-10))); if(maxX < 10) { addX = maxX; } if(maxY < 10) { addY = maxY; } if(!revX) { addX = addX*-1; } if(!revY) { addY = addY*-1; } if(lastClick == null) { if(walk(new Position(playerPosition.getX()+addX, playerPosition.getY()+addY, playerPosition.getZ()))) { lastClick = new Position(playerPosition.getX()+addX, playerPosition.getY()+addY, playerPosition.getZ()); randomDistance = (int) (3+(Math.random() * 3)); } } else { if(lastClick.distance(myPlayer().getPosition()) < randomDistance) { if(walk(new Position(playerPosition.getX()+addX, playerPosition.getY()+addY, playerPosition.getZ()))) { lastClick = new Position(playerPosition.getX()+addX, playerPosition.getY()+addY, playerPosition.getZ()); randomDistance = (int) (3+(Math.random() * 3)); } } } if(lastClick.distance(p) < 5) { lastClick = null; return true; } return false; } i like my conventions better, yours is more of a C++ convention plus if people want a tabbed version i did provide a link
  5. yeah apparently no matter how many times i re pasted it the tabs would not show up =[ tabbed version - http://pastebin.com/djSDJb2p
  6. i guess i could add a few more methods to it, n put it in a class the only thing it would need now is add a a method that executes waypoints which would be something like public Position[] waypoints = {...}; public int offset = 0; public boolean executeWaypoints(Position[] p) { if(walkToLocation(p[offset])) { offset++; if(offset == p.length) { offset = 0; return true; } } return false; } which returns true once it reaches the end
  7. (Apparently this forums do not like to keep my tabbed code) This code will walk a random path every time to a coordinate, use waypoints to move around buildings/fences will return true once it is within 5 spaces of the end point. (WILL WALK ANY DISTANCE) tabbed version- http://pastebin.com/djSDJb2p place this in your script public long lastRun = 0; public Position lastClick = null; public int randomDistance = 0; public boolean walkToLocation(Position p) throws InterruptedException { int maxY; int maxX; boolean revY = false; boolean revX = false; Position playerPosition = myPlayer().getPosition(); if(playerPosition.getX() < p.getX()) { revX = true; int distance = p.getX()-playerPosition.getX(); if(distance > 17) { maxX = 17; } else { maxX = distance; } } else { int distance = playerPosition.getX()-p.getX(); if(distance > 17) { maxX = 17; } else { maxX = distance; } } if(playerPosition.getY() < p.getY()) { revY = true; int distance = p.getY()-playerPosition.getY(); if(distance > 17) { maxY = 17; } else { maxY = distance; } } else { int distance = playerPosition.getY()-p.getY(); if(distance > 17) { maxY = 17; } else { maxY = distance; } } int addX = (int) (10+(Math.random()*(maxX-10))); int addY = (int) (10+(Math.random()*(maxY-10))); if(maxX < 10) { addX = maxX; } if(maxY < 10) { addY = maxY; } if(!revX) { addX = addX*-1; } if(!revY) { addY = addY*-1; } if(lastClick == null) { if(walk(new Position(playerPosition.getX()+addX, playerPosition.getY()+addY, playerPosition.getZ()))) { lastClick = new Position(playerPosition.getX()+addX, playerPosition.getY()+addY, playerPosition.getZ()); randomDistance = (int) (3+(Math.random() * 3)); } } else { if(lastClick.distance(myPlayer().getPosition()) < randomDistance) { if(walk(new Position(playerPosition.getX()+addX, playerPosition.getY()+addY, playerPosition.getZ()))) { lastClick = new Position(playerPosition.getX()+addX, playerPosition.getY()+addY, playerPosition.getZ()); randomDistance = (int) (3+(Math.random() * 3)); } } } if(lastClick.distance(p) < 5) { lastClick = null; return true; } return false; } Use (in the onLoop() Method) if(walkToLocation(new Position(x,y,z))) { //what happens once it reaches end } Will release a detailed guide soon to determine waypoints Guide: And
  8. Now would this be a free bot? If it was it would ruin the economy and make the people who bought ATMerch angry It wouldn't ruin the economy, but i'd definitely make it like 99 cents, something that keeps it from being mass distributed, used but cheap enough that the average person would buy and use i'd also make it so only 1 account can use it per computer
  9. Yo, would you like to team up with me? I'm going to make a mass amount of scripts and need a dedicated GUI/graphics designer The script im currently working on right now is a Merchanting Bot that exceeds all expectations
  10. It'd be nice to have a Snippets Section where we could post usefull things for script developers
  11. Jagex can't do anything, theres nothing illegal about a bot i think wbot was just bullshitting
  12. hey do you guys need someone to help develop random events? i'm very experienced at java, idk if you know me on rune-server or not (user zach.)
×
×
  • Create New...