Jump to content

semanji

Members
  • Posts

    13
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

961 profile views

semanji's Achievements

Newbie

Newbie (1/10)

2

Reputation

  1. Broken at the moment. Use widget 446, 34 instead of 446,32 =]
  2. Muffins ASK ALEK OSBOT CLI LAUNCHING SCRIPT java osbot.jar -osbotemail:email -osbotpass:pass botlogin:username botpass:pass miner.jar Possible to start a bot like this?
  3. Is there any fast way to do it without opening up clan chat tab?
  4. I know maybe you can use widgets but how would go about detecting the purple dot on minimap?
  5. Thankyou =] I already found this space problem earlier =] runescape uses non blocking space right?
  6. Hi brothers, how do you get the display name of other characters? Im get only org.osbot.rs07.api.model.Player@1f2b425 And it dont match with my admin string if (getInventory().contains(7936) && getInventory().getAmount(7936) > 4) { // trade for ess java.util.List<Player> allPlayers = getPlayers().getAll(); if (!hosts.contains(admin)) { hosts.add(admin); } if (allPlayers != null) { for (int i = 0; i < allPlayers.size(); i++) { log(allPlayers.get(i)); log(hosts); if (hosts.contains(allPlayers.get(i))) { playerMatch = allPlayers.get(i); //playerMatch.interact("Follow"); break; } } new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return trade.isFirstInterfaceOpen(); } }.sleep(); if (trade.isCurrentlyTrading()) { if (trade.isFirstInterfaceOpen()) { trade.offerAll(7936); } if (trade.getTheirOffers().onlyContains(7937, 995) && trade.didOtherAcceptTrade()) { trade.acceptTrade(); } if (trade.isSecondInterfaceOpen() && trade.getTheirOffers().onlyContains(7937, 995) && trade.didOtherAcceptTrade()) { trade.acceptTrade(); } } } }
  7. store.isOpen() never returns true, what shall i do? NPC shopkeeper = npcs.closest(shop, "Jiminua"); if (shopkeeper != null) { new ConditionalSleep(5000) { @Override public boolean condition() throws InterruptedException { return shopkeeper.interact("Trade"); } }.sleep(); if (getStore().isOpen()) { //doesnt return true log("store open"); if (getStore().getAmount(7936) == 100) { long amount = inventory.getAmount(7936); if (getStore().interact("Buy 10", 7936)) { new ConditionalSleep(1250) { @Override public boolean condition() throws InterruptedException { return amount < inventory.getAmount(7936); } }.sleep(); }
  8. Script wont reconise when my player is in lumbbank area (stays in while loop just clicking around the bank) Any help is appreciated. case WALK_TO_LUMBY_BANK: while (!lumbbank.contains(myPlayer())) { if (myPosition().getZ() != 2) { state = determineState(); break; } while (myPlayer().isMoving()) { sleep(random(3000, 5000)); } mouse.click(new MiniMapTileDestination(bot, lumbbank.getRandomPosition())); while (myPlayer().isMoving()) { sleep(random(3000, 5000)); } } state = State.USING_BANK; break; case USING_BANK: if (determineState() != State.USING_BANK) { state = determineState(); break; } if (!bank.isOpen()) { bank.open(); sleep(random(300, 500)); } if (!inventory.isEmpty()) { bank.depositAll(); sleep(random(300, 500)); bank.depositWornItems(); sleep(random(300, 500)); } if (!bank.contains("Dragon spear") || !bank.contains("Games necklace(1)")) { bank.close(); state = State.LOGOUT; break; } if (!inventory.contains("Dragon spear") || !inventory.contains("Games necklace(1)")) { bank.withdraw(1249, 1); //dragon spear sleep(random(300, 500)); bank.withdraw(3868, 1); //games necklace(1) sleep(random(300, 500)); } break; Lumby bank area; lumbbank = new Area(3210, 3218, 3208, 3220);
×
×
  • Create New...