Jump to content

Rumb

Members
  • Posts

    19
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

1117 profile views

Rumb's Achievements

Newbie

Newbie (1/10)

6

Reputation

  1. can we get a disable "Mirror client BETA (x32) vblah blah" "Please not that proxies are not supported yet" because I am usually in mirror mode when writing my script and those two pieces of text are where the mouse position and player position shows up
  2. I used this script for about 7h and got banned with mirror mode, how can I get a refund for this?
  3. UPDATE #2!!! TOTAL TIME RAN: 30 minutes TOTAL KEY'S OPENED: 200 Profit: 500k!
  4. I did 250 keys last night, made 700k and took 40m, depending on luck for example in one key you could get 3 rune bars at 15k each, 45k profit from 1 key or you can get spinach which is a 6k loss I just bought 200 keys for 5m, ill post a screenshot later and add up the profits/loss's Update #1 BUGS: Counting # of chests is wrong if computer is laggy Change Log: Version 1.0 - Initial Release Version 1.1 - Fixed Ring glitch and portal glitch, also fixed walking to chest glitch. Finally fixed chest count number glitch
  5. ProCrystalKey Requirements 1. Have your home set in Taverly 2. Have Home teleport tabs in bank 3. Have keys in bank 4. Have ring's of dueling in bank (any charges) 5. Start script in Castle Wars bank WHAT DOES IT DO? This is a bot I whipped up in about 2h's for my own personal use, pretty basic but 100% working script which basically takes 8 keys in your inventory, a teleport to house tab, and a ring of dueling if you don't have one on right then. Then it teleports to your house, exit's it in Taverly, walks to the crystal chest and uses the key's on the chests. Currently drops junk runes, swordfish and eats spinach rolls Remember guys this is something I just whipped up in a total of 2 hours, let me know if you want anything changed in the script/any bugs Happy Chest Opening JAR DOWNLOAD CrystalKey.jar Source Code http://pastebin.com/U76dusx1 Change Log: Version 1.0 - Initial Release Version 1.1 - Fixed Ring glitch and portal glitch, also fixed walking to chest glitch. Finally fixed chest count number glitch Version 1.2 - Finally fixed portal glitch
  6. The issue was fixed witg the most recent update but it would have given the same message with browser
  7. Did you place this above the public class? @ScriptManifest(author = "Rumble", info = "Smelts Ores", logo = "", name = "OreSmelter", version = 1.01)
  8. nah, I got it all down, I used to code for p****bot like 4 years ago, p****bot is where I first learned java. Just when I code I like to "get it working", once I get the script working and it is doing it's job properly I will then go in and edit it all up, make it actual code and slowly improve the script till it is at full potential. This script I wrote was only 30m of sitting down and creating the working script, the problem is I am stuck at this bank problem which has caused me to dumb up my code even more to the basics to find the problem. Still no solution though, I don't get it.
  9. I just added a 4-5 second delay just to kinda see if that was the problem and it stood there doing nothing for 4-5 seconds in the bank, then immediately after the 4-5 seconds went for the close button sleep(random(4500,5000)); Doesnt seem to be the problem
  10. Hello everyone So I was working on a new script of mine and I was literally 30m into coding when I ran into the weirdest problem, for some reason the bank closes every single time I open it even though I don't call it: Here is my code, notice that it is extreemly messy and the fact that I am not using bank.open() and bank.close() purely because I was trying to eliminate them because it just kept closing, also I have been working on this project for 30m when I got stuck by this. package OreSmelter; import org.osbot.rs07.api.filter.Filter; import org.osbot.rs07.api.model.Item; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.api.ui.Tab; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; import OreSmelter.Util; @ScriptManifest(author = "Rumble", info = "Smelts Ores", logo = "", name = "OreSmelter", version = 1.01) public class OreSmelter extends Script{ private String iron = "Iron ore"; public void tabCheck() throws InterruptedException { Tab currentTab = tabs.getOpen(); if(currentTab == Tab.MAGIC) { click(); } else { tabs.open(Tab.MAGIC); return; } } public void click() throws InterruptedException { int rand = Util.randomNumb(1,100); if(rand <= 70) { mouse.move(random(663,671), random(304,307)); } else if(rand > 70) { mouse.move(random(658,675), random(295,311)); } while(inventory.getAmount(iron) > 1) { mouse.click(false); sleep(random(50,150)); } int amount = random(3,6); for(int x = 0; x < amount; x++) { mouse.click(false); } while(inventory.contains(iron) && myPlayer().getAnimation() != -1) { sleep(random(100,200)); } clickBank(); } public void clickBank() throws InterruptedException { Filter<RS2Object> boothFilter = new Filter<RS2Object>() { public boolean match(RS2Object o) { if (!o.getName().equals("Bank booth")) return false; return true; } }; RS2Object booth = objects.closest(boothFilter); booth.hover(); int amount = random(2,4); for(int x = 0; x < amount; x++) { mouse.click(false); sleep(random(20,50)); } sleep(random(1500,2000)); if(bank.isOpen()){ log("bank()"); bank(); } else { log("Reclick clickBank()"); clickBank(); } } public void bank() throws InterruptedException { if(inventory.contains("Steel bar")) { log("Deposit Steel Bar: 9"); bank.deposit("Steel bar", 9); } else { if(!inventory.contains("Coal") && !inventory.contains("Iron ore")) { log("Withdrawing Coal and Ore"); bank.withdraw("Coal", 1); bank.withdraw("Iron ore", 9); sleep(random(200,400)); bank.withdraw("Coal", 10); sleep(random(100,200)); bank.withdraw("Coal", 10); sleep(random(200,400)); } else if(inventory.isFull() && bank.isOpen()) { log("Closing Bank"); sleep(random(500,1000)); mouse.move(random(485,495),random(18,26)); mouse.click(false); sleep(random(1000,2000)); } else if(inventory.contains("Coal") && inventory.contains("Iron ore") && !inventory.isFull()) { log("Secondary Withdraw: Coal"); bank.withdraw("Coal", 10); } else if(inventory.contains("Coal") && !inventory.contains("Iron ore")) { log("Secondary Withdraw: Iron"); bank.withdraw("Iron ore", 9); } } } @Override public int onLoop() throws InterruptedException { if (Util.ins == null) { log("Init utils"); Util.initUtils(this); } if(inventory.getAmount(iron) > 2 && !bank.isOpen()) { if(getInventory().getItemInSlot(10).getName().equals(iron)) { tabCheck(); } } return 5; } } As you can see bank.open() and bank.close() are never called in this but every time I open the bank it automatically goes to close it, any suggestions why and thanks guys ahead of time
  11. Also I dont want to wait for the tab to open, I want to start the moving process before it opens up automatically
  12. Ok I figured out the problem, moveDest = getInventory().getMouseDestination(pattern[i]); when it uses this it looks for the item in the inventory, since it can't see it it ties to open the inventory, what I want is to have it so that it will automatically go to the location whether it can see it or not so I am not waiting for the inventory to pop up and I can just go there while it it popping up, any solutions to this?
  13. So I had to completely restart my script because it was getting reallly out of had, I started to use your guy's code because I figured with a clean slate I should try to solve it before it gets out of hand again, it kinda work but for some reason it clicks on the inventory first before anything, any idea's why? package SapphireEnchanter; import org.osbot.rs07.api.model.Item; import org.osbot.rs07.api.ui.Spells.NormalSpells; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "Rumble", info = "Sapphire Enchanter", logo = "", name = "SapphireEnchanter", version = 1.01) public class SapphireEnchanter extends Script { private int[] pattern = new int[] {27, 26, 25, 24, 20, 21, 22, 23, 19, 18, 17, 16, 12, 13, 14, 15, 11, 10, 9, 8, 4, 5, 6, 7, 3, 2, 1, 0}; @Override public int onLoop() throws InterruptedException { for (int i = 0; i < pattern.length; i++) { Item item = getInventory().getItemInSlot(pattern[i]); if(item.getName().equals("Sapphire ring")) { if(getMagic().castSpell(NormalSpells.LVL_1_ENCHANT)) { sleep(random(400,500)); mouse.click(getInventory().getMouseDestination(pattern[i]), false); } } } return 133 + 7; } }
  14. I can't just use a for loop like that, I have to click the enchant sapphire button every time so just going though and clicking all of them won't enchant all of them, also what do you mean change the order of the ints in the slotArray, why won't they obey and what should I try to change it too for them to obey?
×
×
  • Create New...