Everything posted by semanji
-
[F2P][33k EXP/HR][80k GP/HR] jak's Free Gold Amulet (u) Crafter
Broken at the moment. Use widget 446, 34 instead of 446,32 =]
-
Start a script from CLI?
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?
-
How to check if other player is in our clan chat?
Is there any fast way to do it without opening up clan chat tab?
-
How to check if other player is in our clan chat?
I know maybe you can use widgets but how would go about detecting the purple dot on minimap?
-
List allPlayers = getPlayers().getAll(); - How to get display names?
Thankyou =] I already found this space problem earlier =] runescape uses non blocking space right?
-
List allPlayers = getPlayers().getAll(); - How to get display names?
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(); } } } }
-
Help with karamja store please
this th area
-
Help with karamja store please
Does not work with either
-
Help with karamja store please
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(); }
-
Problem with area check
That worked, thanks alot.
-
Problem with area check
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);