Jump to content

Soldtodie

Members
  • Posts

    505
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Soldtodie

  1. It's not the real runescape page. It's an phishing link.
  2. Don't click on this link. It's an phishing link its not the real runescape page.
  3. Nice, it's really handy. I honor you that you comment your code.
  4. No it's a looter.
  5. Hey guys, today i will show you my new project SLooter. SLooter is an all in one looter. You will be able to record and save your path. At the moment it's under development. Features at the moment: Record your own path with ladders or staircases. Automatic door handler Fast looting Set your own looting distance Better and faster interaction with objects Banking GUI Features under development: Record path with agility shortcuts Save and load path Paint Here is a little video where you can see the record path function. Now it's faster.
  6. Soldtodie

    item dump

    This is pointless because you can get all item ids from the official runescape page.
  7. Soldtodie

    BETA v1.7.68

    All who get this error download the client again until it works.
  8. Nice! How you get the declared fields?
  9. I think i will write the script and then i will decide if i make it open-source or not.
  10. Why?
  11. Yes i make it free.
  12. Soldtodie

    SWoodCutter

    Hey guys, I will make a AIO WoodCutter but i don`t know if i will make it open or closed source. Please write what you think what i should do under this thread. Thanks.
  13. I know. Now use random(3); The highest amount you can get is 2.
  14. Sorry but this is not right: random(WORLDS.length() - 1) An example: random(28); This can gives you the number 0 or the number 27 and all numbers beetween this two numbers. But not the number 28. This is right: random(WORLDS.length())
  15. You can test it. int test = -999; while((test = random(WORLDS.length)-1) != -1) { } log("It's " + test + " !");
  16. What is when random(WORLDS.length) = 0 is ? You subtract 1 then its -1. A array with -1 is impossible. Don't subtract 1 then it will work.
  17. I hope anyone will give credits when he used this in his script.
  18. No problem. I hope it can help you.
  19. public boolean withdrawX(int itemID, int amount) throws InterruptedException { if(!client.getBank().isOpen() || !client.getBank().contains(itemID)) { return false; } int firstVisibleSlot = -1; int lastVisibleSlot = -1; int itemSlot = client.getBank().getSlotForId(itemID); if(!client.getBank().isSlotVisible(itemSlot)) { for(int i = 0; i < 1000; i++) { if(firstVisibleSlot == -1 && client.getBank().isSlotVisible(i)) { firstVisibleSlot = i; } else if(firstVisibleSlot != -1 && !client.getBank().isSlotVisible(i)) { lastVisibleSlot = i - 1; break; } } if(itemSlot >= firstVisibleSlot && itemSlot <= lastVisibleSlot) { //Visible //No Scrolling! } else { //Invisible //Scrolling! if(itemSlot < firstVisibleSlot) { //Scrolling up! MouseDestination md = new RectangleDestination(new Rectangle(481, 60, 12, 12)); client.moveMouse(md, true); while(!client.getBank().isSlotVisible(itemSlot)) { client.clickMouse(false); } } else if(itemSlot > lastVisibleSlot) { //Scrolling down! MouseDestination md = new RectangleDestination(new Rectangle(481, 272, 12, 12)); client.moveMouse(md, true); while(!client.getBank().isSlotVisible(itemSlot)) { client.clickMouse(false); } } } } return client.getBank().withdrawX(itemID, amount); } public boolean withdrawAll(int itemID) throws InterruptedException { if(!client.getBank().isOpen() || !client.getBank().contains(itemID)) { return false; } int firstVisibleSlot = -1; int lastVisibleSlot = -1; int itemSlot = client.getBank().getSlotForId(itemID); if(!client.getBank().isSlotVisible(itemSlot)) { for(int i = 0; i < 1000; i++) { if(firstVisibleSlot == -1 && client.getBank().isSlotVisible(i)) { firstVisibleSlot = i; } else if(firstVisibleSlot != -1 && !client.getBank().isSlotVisible(i)) { lastVisibleSlot = i - 1; break; } } if(itemSlot >= firstVisibleSlot && itemSlot <= lastVisibleSlot) { //Visible //No Scrolling! } else { //Invisible //Scrolling! if(itemSlot < firstVisibleSlot) { //Scrolling up! MouseDestination md = new RectangleDestination(new Rectangle(481, 60, 12, 12)); client.moveMouse(md, true); while(!client.getBank().isSlotVisible(itemSlot)) { client.clickMouse(false); } } else if(itemSlot > lastVisibleSlot) { //Scrolling down! MouseDestination md = new RectangleDestination(new Rectangle(481, 272, 12, 12)); client.moveMouse(md, true); while(!client.getBank().isSlotVisible(itemSlot)) { client.clickMouse(false); } } } } return client.getBank().withdrawAll(itemID); }
  20. Because scrolling up does not work!
  21. Hey i have made a working withdraw method and i will share it with you! public boolean withdraw(int itemID, int amount) throws InterruptedException { if(!client.getBank().isOpen() || !client.getBank().contains(itemID)) { return false; } int firstVisibleSlot = -1; int lastVisibleSlot = -1; int itemSlot = client.getBank().getSlotForId(itemID); if(!client.getBank().isSlotVisible(itemSlot)) { for(int i = 0; i < 1000; i++) { if(firstVisibleSlot == -1 && client.getBank().isSlotVisible(i)) { firstVisibleSlot = i; } else if(firstVisibleSlot != -1 && !client.getBank().isSlotVisible(i)) { lastVisibleSlot = i - 1; break; } } if(itemSlot >= firstVisibleSlot && itemSlot <= lastVisibleSlot) { } else { if(itemSlot < firstVisibleSlot) { MouseDestination md = new RectangleDestination(new Rectangle(470, 60, 12, 12)); client.moveMouse(md, true); while(!client.getBank().isSlotVisible(itemSlot)) { client.clickMouse(false); } } else if(itemSlot > lastVisibleSlot) { MouseDestination md = new RectangleDestination(new Rectangle(470, 272, 12, 12)); client.moveMouse(md, true); while(!client.getBank().isSlotVisible(itemSlot)) { client.clickMouse(false); } } } } return client.getBank().withdrawX(itemID, amount); }
  22. Soldtodie

    BETA v1.7.19

    @Laz i wrote this before you edited the post.
×
×
  • Create New...