Jump to content

Lemons

Lifetime Sponsor
  • Posts

    620
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Everything posted by Lemons

  1. has combat levels, full graceful, and typical BF equipment.
  2. This can happen if you have really long executing loops, the script executor will assume its hung then start a new instance. Most likely its due to the design of your script.
  3. There definitely is client detection, the bot sends plenty of data they can use since long ago to compare against the "official" clients. If there wasn't, new accounts wouldn't get locked on only bot clients. Also its not unique to injection clients.
  4. Quantum Account Shop | Cheap tutorial island accounts | Bulk - Accounts - OSBot :: 2007 OSRS Botting
  5. Heres the camera from my QuantumAPI, I fixed a few issues since I posted that snippet. You'll need to adapt it to work without the API but it shouldn't be hard: package rip.quantum.api; import java.awt.Point; import java.awt.event.MouseEvent; import org.osbot.rs07.api.map.Position; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.model.Vector3D; import org.osbot.rs07.script.MethodProvider; import rip.quantum.QuantumAPI; /** * Camera that uses the middle-mouse button and mouse movements. * * @author lemons */ public class QuantumCamera extends QuantumAPI { public QuantumCamera(MethodProvider methodProdiver) { super(methodProdiver); } /** * Moves the camera to the desired yaw and pitch. * * @param yaw * @param pitch */ public void moveCamera(int yaw, int pitch) { if (pitch > 67) pitch = 67; else if (pitch < 34) pitch = 34; int pitchCur = getPitchAngle(), yawCur = getYawAngle(), pitchDir = pitch < pitchCur ? -1 : 1, pitchDiff = Math.abs(pitch - pitchCur), yawDir = yaw > yawCur ? -1 : 1, yawDiff = Math.abs(yaw - yawCur); if (yawDiff > 180) { // Flip how we get there yawDiff = 360 - yawDiff; yawDir *= -1; } if (yawDiff < 22 && pitchDiff < 14) return; int x = yawDir * yawDiff * 3, y = pitchDir * pitchDiff * 3; int minX = 40 - (yawDir == -1 ? x : 0), maxX = 724 - (yawDir == 1 ? x : 0), minY = 40 + (pitchDir == -1 ? y : 0), maxY = 460 + (pitchDir == 1 ? y: 0); try { Point bot = getMouse().getPosition(); for (int i = 0; i < 5 && !getMouse().isOnScreen(); i++) { getMouse().move(random(minX, maxX), random(minY, maxY)); sleep(50); } if (bot.x < minX || bot.x > maxX || bot.y < minY || bot.y > maxY) { getMouse().move(random(minX, maxX), random(minY, maxY)); sleep(50); } mousePress(true); bot = getMouse().getPosition(); int newX = Math.min(764, Math.max(0, bot.x + x)), newY = Math.min(502, Math.max(0, bot.y + y)); // Use OSBots move here getMethods().getMouse().move(newX, newY); sleep(50); mousePress(false); } catch (InterruptedException e) { getLogger().error("", e); } } public boolean toEntity(Entity e) { return toEntity(myPosition(), e); } /** * Turns the camera toward the entity as if the player were positioned at origin. * @param origin * @param e * @return */ public boolean toEntity(Vector3D origin, Entity e) { if (e == null) return false; moveCamera(getAngleTo(origin, e), getPitchTo(origin, e)); return true; } /** * Turns the camera toward the tile as if the player were positioned at origin. * @param origin * @param tile * @return */ public boolean toVector3D(Vector3D origin, Vector3D tile) { if (getMap().distance(origin, myPosition()) > 16) return false; moveCamera(getAngleTo(origin, tile), getPitchTo(origin, tile)); return true; } /** * Turns the camera towards tile from the players current position. * @param tile * @return */ public boolean toVector3D(Vector3D tile) { return toVector3D(myPosition(), tile); } /** * Turns the camera towards the position from the origin. * @param tile * @return */ public boolean toPosition(Position origin, Position p) { return toVector3D(origin, p); } public boolean toPosition(Position p) { return toVector3D(p); } /** * Faces the camera roughly north. */ public void toNorth() { int r = random(0, 30); if (r > 15) r = 375 - r; getCamera().moveYaw(r); } /** * Faces the camera roughly west. */ public void toWest() { getCamera().moveYaw(75 + random(0, 30)); } /** * Faces the camera roughly south. */ public void toSouth() { getCamera().moveYaw(165 + random(0, 30)); } /** * Faces the camera roughly east. */ public void toEast() { getCamera().moveYaw(255 + random(0, 30)); } public int getLowestPitchAngle() { return getMethods().getCamera().getLowestPitchAngle(); } public int getPitchAngle() { return getMethods().getCamera().getPitchAngle(); } public int getX() { return getMethods().getCamera().getX(); } public int getY() { return getMethods().getCamera().getY(); } public int getYawAngle() { return getMethods().getCamera().getYawAngle(); } public int getZ() { return getMethods().getCamera().getZ(); } public boolean isDefaultScaleZ() { return getMethods().getCamera().isDefaultScaleZ(); } public boolean movePitch(int degrees) { moveCamera(getYawAngle(), degrees); return true; } public boolean moveYaw(int degrees) { moveCamera(degrees, getPitchAngle()); return true; } public boolean toBottom() { return movePitch(0); } public boolean toTop() { return movePitch(67); } private void mousePress(boolean press) { getBot() .getMouseEventHandler() .generateBotMouseEvent(press ? MouseEvent.MOUSE_PRESSED : MouseEvent.MOUSE_RELEASED, System.currentTimeMillis(), 0, getMouse().getPosition().x, getMouse().getPosition().y, 1, false, MouseEvent.BUTTON2, true); } private int getPitchTo(Vector3D origin, Vector3D t) { int pitch = 67 - (int) (getMap().distance(origin, t) * 4); if (pitch > 67) { pitch = 67; } else if (pitch < 22) { pitch = 22; } return pitch; } private int getAngleTo(Vector3D origin, Vector3D tile) { int degree = (int) Math.toDegrees(Math.atan2( tile.getY() - origin.getY(), tile.getX() - origin.getX())); int a = ((degree >= 0 ? degree : 360 + degree) - 90) % 360; return a < 0 ? a + 360 : a; } }
  6. Seems you have some extra spaces, try: java -jar "osbot 2.5.8.jar" -debug 5005 -login user@gmail.com:pass -bot user@gmail.com:pass:0000 -world 394 -script FishingBot:none -allow norandoms,lowresource
  7. Word to the wise: http://wiki.c2.com/?PrematureOptimization
  8. Lemons

    Sold

    As our TOS states, we are unable to recover this account if requested. Keep this in mind when purchasing.
  9. You can do requests outside the webpage, just spoof the headers. I make all my accounts in a java program.
  10. https://osbot.org/forum/topic/137156-quantum-account-shop-cheap-tutorial-island-accounts-bulk/
  11. Lemons

    Sold

    Be aware we can not recover this account if sold, as our TOS states.
  12. Use getGrandExchange().getStatus(Box) and the other Box related methods for getting GE data. It tells you everything but how many are left to collect to my knowledge. The only configs that are used with GE are from the buy/sell interfaces (quantity, item ID, price) iirc. https://osbot.org/api/org/osbot/rs07/api/GrandExchange.html
  13. Bots don't have to move the mouse, you can just send a mouse click instantly to any point of the screen. The mouse only moves to comfort the end users. Certain bots don't even have a mouse to click with :p The fact its on mobile doesn't change much.
  14. Lemons

    OSBot 2.5.3

    As far as I can tell, the hooks in the standard client have been fixed. Try your scripts again.
  15. " In order to purchase most weapons, the purchaser must obtain a weapon acquisition permit (art. 8 WG/LArm). Swiss citizens and foreigners with a C permit over the age of 18 who are not psychiatrically disqualified nor identified as posing security problems, and who have a clean criminal record can request such a permit. " Thats the difference. In the US you can go to a gun show and pick up a AR15 with no background check. Fail that, you can order everything but a lower action, buy a 80% complete lower action and drill a few holes and you got an unregistered lower action. Most of the people I know with guns that probably shouldn't own guns got them through back channels like that. There is no psych test and Trump reversed a law where people with mental health problems can buy guns again (that is they have a known mental health issue and still can get guns). The problem is also a lobby (the NRA) that is too powerful and is used by the weapon manufacturers to make laws that allow as many guns to be sold as possible. Thats my take on it. Guns are fun, but there should psych checks and security clearances to owning any semi-automatic weapon. In the US there is not at the moment in a lot of places. If you listen to our politicians though its all them violent vidya games and movies that do it, so the problem is never dealt with.
  16. Generally this only affects the top socket, its wired that way for lamps and etc in rooms without fixed lighting. Move it to the other socket and its no longer an issue.
  17. You can only save/load to the OSBot/Data folder in your home directory. Use Script.getDirectoryData() to get the directory.
×
×
  • Create New...