Jump to content

Temsei

Members
  • Posts

    91
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Temsei

  1. On 26.2.2017 at 2:12 PM, Marshman said:

    Seems like a good idea. I ran the script for one trip then the bot got stuck in an infinite loop at the bank. Continuously doe this:  

    [INFO][Bot #1][02/26 12:10:37 PM]: isBanking = true. canFight = false
    [INFO][Bot #1][02/26 12:10:37 PM]: BankTask = isBanking is: true
    [INFO][Bot #1][02/26 12:10:37 PM]: script ready

     

    Hmm, you sure you have the food you entered in GUI in your bank? Worked fine for me last time I ran it.

  2. Cbf making the thread pretty so I'll just give some basics about the script and leave you guys a download.

    Requirements: 17 agility, 15 slayer

    Recommended: 40+ ranged level, 40-50+ hitpoints for running through the dungeon to twisted banshees

    Basic features: Kills twisted banshees in the catacombs using a safe spot until your inventory is full. Banks and repeats, hops if another player is at the safe spot upon arrival.

    Start the script near the Catacombs of Kourend statue in Zeah. A GUI will pop up. Type in the food you wish to use and hit enter, and then click the start button.

    The script works very well in general, but its clear weak point is running through crowds of mobs when banking as it's not able to eat food while running. If you have a low defense level or low hitpoints, you run a risk of dying. 

     

    09411e00e1.png

     

    Download:

    https://drive.google.com/open?id=0B5zfq4J918uyS18zMFJOU3hGSTQ

    • Like 1
  3. Script seems to be running fine, even after 2 hours ohmy.png Guys make sure to use normal client not VIP client, there is currently a bug in the vip client with a pending bugfix.

     

    Will add an update just in case, including an update for adding fishing skillcape :D

     

    A bit off topic but what's the bug with VIP client? Any more information on it somewhere?

    • Like 2
  4. looks nice man. any idea how much gp/h?

     

    If you're asking about profit, you don't make any. It's only useful for iron men or if you need to buy more bone bolts than GE buy limits can get you.

    Don't know how many it buys per hour, sorry.

  5. Pretty straightforward, buys bone bolt packs at the Dorgesh-kaan mines, unpacks them and hops when shop runs out of stock.

     

    Needed it for myself and thought might as well release it in case anyone else ever needs it.

     

    Download jar: https://drive.google.com/open?id=0B5zfq4J918uyZHc1YTJMWEM3QUU

     

    Source:

     

    import org.osbot.rs07.api.model.NPC;
    import org.osbot.rs07.api.ui.Message;
    import org.osbot.rs07.script.Script;
    import org.osbot.rs07.script.ScriptManifest;
    import org.osbot.rs07.utility.ConditionalSleep;
    
    @ScriptManifest(author = "Temsei", info = "Bone Bolt Buyer", name = "Bone Pack Buyer", version = 0, logo = "")
    public class Buyer extends Script {
     
        @[member='Override']
        public void onStart() {
        }
        
        private enum State {
    		BUY, UNPACK, WAIT
    	};
    	
    	
    	private State getState() {
    		if (!inventory.isFull())
    			return State.BUY;
    		if (inventory.isFull())
    			return State.UNPACK;
    		return State.WAIT;
    	}
    	
    	public void buyBolts() throws InterruptedException {
    		NPC npc = npcs.closest("Nardok");
    		if (!inventory.isFull() && npc != null){
    			npc.interact("Trade");
    			new ConditionalSleep(3000) {
    				@[member='Override']
    				public boolean condition() {
    					return store.isOpen();
    				}
    			}.sleep();
    			if (store.isOpen()) {
    				while (store.getAmount("Bone bolt pack") > 0 && !inventory.isFull()) {
    					store.buy("Bone bolt pack", 10);
    				}
    				if (store.isOpen())
    				store.close();
    			}
    		}
    	}
    	
    	public void unpackBolts() throws InterruptedException {
    			while (inventory.getAmount("Bone bolt pack") > 0) {
    				inventory.getItem("Bone bolt pack").interact("Open");
    		}
    	}
    	
    	public void onMessage(Message message) throws java.lang.InterruptedException {	
    		String txt = message.getMessage().toLowerCase();
    		if (txt.contains("stock")) {
    			worlds.hopToP2PWorld();
    		}
    	}
     
        @[member='Override']
        public int onLoop() throws InterruptedException {
        	switch (getState()) {
        	case BUY:    		
        	buyBolts();
        	break;
        	case UNPACK:   		
        	unpackBolts();
         	break; 		
    	default:
    	break;  
        	}
        	return random(200, 300);
        } 
    } 

    • Like 5
  6. You could splash the magic & then alch

    cannon the range

    Would be 10 hp then ^^

     

    I wouldn't it to be to be 10 hp. Do you know how much accounts like this would be worth if they were leveled up in traditional ways (normal hp level)?

×
×
  • Create New...