Jump to content

Honeycomb

Members
  • Posts

    40
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Honeycomb

  1. http://osbot.org/forum/topic/3792-script-stopping-doesnt-work-with-multiple-tabs

    [ERROR][]: Error on executing random worker!
    java.lang.NullPointerException
    	at org.osbot.engine.Bot.K(el:310)
    	at org.osbot.LPt1.shouldActivate(tn:25)
    	at org.osbot.script.rs2.randoms.RandomManager.scan(fn:27)
    	at org.osbot.G.run(kj:205)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    	at java.lang.Thread.run(Thread.java:722)
    

    Well, this goes away if I use 1.6.12, but script pausing and stopping is still broken in 1.6.12, 1.7.1 and 1.6.9... I'm guessing it worked in 1.6.5, as I remember it once working, but we're no longer allowed to connect with 1.6.5...


    Well, it works in 1.7.1 if you use an added account... SCRIPT PAUSING AND STOPPING IS STILL BROKEN, THOUGH...

  2. Please fix the tabs or allows us to launch multiple clients... Right clicking a tab, when multiple tabs are open, crashes the bot... Trying to close a tab, when multiple tabs are open, crashes the bot... Trying to stop or pause a script, when multiple taps are open, doesn't work (and screws up the bot). So, yeah... Unless you only start scripts, trying to run multiple accounts is too labor intensive because the entire client must be restarted each time a single tab runs into an issue.

  3. It should not autologin when you use the stop function to stop your script :0

    Well, it does...

    private void logout() throws InterruptedException {
    	if (currentTab() != Tab.LOGOUT) {
    		openTab(Tab.LOGOUT);
    		this.IRT = random(1024, 2048);
    		sleep(this.IRT);
    	}
    	selectInterfaceOption(182, 6, "Ok");
    	sleep(random(2048, 4096));
    	stop();
    }
    
  4. Does it turn into an NPC? Or does it giveout an animation?

     

    I believe it has an animation, and I've noticed that it has a verticeCount > 128 (due to the added animation), while regular rocks have a verticeCount < 128, so I tried

    while (client.getMyPlayer().isAnimating()) {
    	if (closestRock.getModel().getVerticeCount() > 128) {
    		walkMiniMap(new Position(client.getMyPlayer().getPosition().getX() + random(-1, 1), client.getMyPlayer().getPosition().getY() + random(-1, 1), 0));
    		this.MRT = random(2048, 4096);
    		sleep(this.MRT);
    	}
    }
    

    , but it isn't working...

    your rock id changes, make a constant check on what your player is interacting with.

     

    Can you point me to the method that allows me to get the object that my character is interacting with?

  5. When looting I use:

    this.client.rotateCameraPitch(Int);
    

    It makes the camera move upto the int, I believe the highest is between 62-69, can't remember fully. 

     

    NOTE: Not sure if this is what you meant, if so, you're welcome smile.png

    Yeah, I used another method to find the values I wanted. I guess I wasn't using the correct values earlier. Great bot; I'll probably be purchasing VIP soon.

  6. I'm writing an autofighter and while testing it, my character just sat there fighting an Evil Chicken... Can I add something to my script that allows OSBot to handle it, or do I have to handle it myself?

     

    Nevermind... It just solved Mysterious Old Man... I guess Evil Chicken is broken...

×
×
  • Create New...