Jump to content

Ande

Members
  • Posts

    555
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    100%

Posts posted by Ande

  1. I've had a lot going on in my life but I wanted to post this for anyone that still uses osbot. I want to apogoly anyone who purchased one of my premium scripts and didn't get to use it enough to make up for the money they used to buy it. I should've keep them updated for longer but it just didn't happen. I made lot's of free scripts because I knew this was going to happen sooner or later.

    I'm sorry. It's okay if you are angry at me.

    • Like 4
  2. Ande's Quester

     

    I'm trying to script all F2P quests because why not. After I've done all the f2p ones I'll add some p2p quests too. I think I'll record videos of some quests soon. I'm trying to make the script to collect most of the items if it doesn't take too much time. For most quests you need almost no items.

     

     

    Quests

    • Black Knights' Fortress
    • Cook's Assistant
    • Demon Slayer
    • Doric's Quest
    • Dragon Slayer
    • Ernest the Chicken
    • Goblin Diplomacy
    • Imp Catcher
    • The Knight's Sword
    • Pirate's Treasure
    • Prince Ali Rescue
    • The Restless Ghost
    • Romeo & Juliet
    • Rune Mysteries
    • Sheep Shearer
    • Shield of Arrav
    • Vampire Slayer
    • Witch's Potion

    Not started | Has some bugs | Working or some minor bugs

     

    Things to do:

    • Add all f2p quests and make them flawless
    • Quest chaining system
    • Nice GUI
    • Like 9
  3. Something like this would work I think

    long amount = client.getInventory().getAmount("Item");
            item.interact("Take");
            sleep(500);
            while(myPlayer().isMoving()){
                sleep(50);
            }
            sleep(500);
            if(amount != client.getInventory().getAmount("Item")){
                itemsLooted++;
            }

    Yeah basically the same as above...

  4. thanks alot but it doesn't seem to work for me, the client doesn't even open , the old method however still loads 

     

    java -DsocksProxyHost=IP -DsocksProxyPort=PORT -cp "OSBot 1.8.1.jar" org.osbot.engine.Main

     

    forgot the quotes

  5. java -DsocksProxyHost=IP -DsocksProxyPort=PORT  java -cp OSBot 1.8.1.jar org.osbot.engine.Main

     

    like this??

     

    take that one extra java out of there

     

    java -DsocksProxyHost=IP -DsocksProxyPort=PORT -cp OSBot 1.8.1.jar org.osbot.engine.Main

     

    • Like 1
  6. Got this when starting the client

    Going to test my scripts and see if the emulator runs them correctly

    [ERROR][04/04 08:37:02 ip.]: Uncaught exception!
    java.lang.NullPointerException
    	at org.osbot.Hc.iiiiIIIIII(tf:262)
    	at org.osbot.lB.IIiiIiIiii(wh:281)
    	at org.osbot.lB.IiiiiiIiii(wh:126)
    	at org.osbot.A.actionPerformed(wh:341)
    	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    	at org.pushingpixels.substance.internal.utils.RolloverButtonListener.mouseReleased(RolloverButtonListener.java:124)
    	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    	at java.awt.Component.processMouseEvent(Unknown Source)
    	at javax.swing.JComponent.processMouseEvent(Unknown Source)
    	at java.awt.Component.processEvent(Unknown Source)
    	at java.awt.Container.processEvent(Unknown Source)
    	at java.awt.Component.dispatchEventImpl(Unknown Source)
    	at java.awt.Container.dispatchEventImpl(Unknown Source)
    	at java.awt.Component.dispatchEvent(Unknown Source)
    	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    	at java.awt.Container.dispatchEventImpl(Unknown Source)
    	at java.awt.Window.dispatchEventImpl(Unknown Source)
    	at java.awt.Component.dispatchEvent(Unknown Source)
    	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    	at java.awt.EventQueue.access$200(Unknown Source)
    	at java.awt.EventQueue$3.run(Unknown Source)
    	at java.awt.EventQueue$3.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    	at java.awt.EventQueue$4.run(Unknown Source)
    	at java.awt.EventQueue$4.run(Unknown Source)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
    	at java.awt.EventQueue.dispatchEvent(Unknown Source)
    	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    	at java.awt.EventDispatchThread.run(Unknown Source)
    [INFO][04/04 08:37:02 ip.]: Welcome to OSBot 2.0.16 BETA
    [INFO][04/04 08:37:02 ip.]: The #1 and most popular free bot for OldSchool RuneScape!
    [INFO][04/04 08:37:04 ip.]: Connected to remote server!
    [INFO][04/04 08:37:04 ip.]: Loaded 33 local scripts and 0 custom random solvers!
    [INFO][04/04 08:37:05 ip.]: Loaded hooks for client revision : 43
    [ERROR][04/04 08:37:05 ip.]: Failed to download SDN script list from server!
    [INFO][04/04 08:37:07 ip.]: Loaded 5 remote SDN scripts!
    

     

    Got this when using worldhopper with the emulator. It logs out and then starts throwing that error. I think someone already mentioned this but not sure if it's the same.

    [ERROR][Bot #1][04/04 08:54:04 ip.]: Error on random executor!
    java.lang.NullPointerException
    	at org.osbot.legacy.script.rs2.randoms.RandomBehaviourHook.shouldActivate(qj:152)
    	at org.osbot.legacy.script.rs2.randoms.RandomManager$1.shouldActivate(ci:81)
    	at org.osbot.script.event.RandomExecutor.run(rk:161)
    	at java.lang.Thread.run(Unknown Source)
    
    

    Another one, was starting script. I think i tried to start it once before that and it didn't start properly so I tried again.

    
    [DEBUG][04/04 09:00:50 ip.]: Launching script...
    [INFO][Bot #1][04/04 09:00:50 ip.]: Loaded 26 built-in and third-party random solvers!
    [INFO][04/04 09:00:50 ip.]: Started script : Ande's Chopper v1.23
    [ERROR][04/04 09:00:50 ip.]: Uncaught exception!
    java.lang.ThreadDeath
    	at java.lang.Thread.stop(Unknown Source)
    	at org.osbot.script.event.ScriptExecutor.stop(lh:35)
    	at org.osbot.TA.run(wh:354)
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    	at java.lang.Thread.run(Unknown Source)
    
    
    

    Scrolling in the script selector with mousewheel seems very slow, it took 7 scrolls to scroll through this forum page and 24 scrolls in the script selector to go from top to bottom and I only have 5 sdn scripts and few local ones

     

  7. Test code made it out to release somehow.../quits

    Anyways thanks, I just reuploaded it as .98 because it probably doesn't affect that many people. It'll be available in about 1 minute.

    Edit:

    Now available.

     

    Thanks, had to kill those damn chickens when training new accounts.

  8. I would probably do it like this

    public final Position[] positions = {new Position(2827,3087,0), new Position(2827,3036,0), new Position(2826,3087,0), new Position(2826,3085,0)};
    
    public Position getRandomPosition(){
        return positions[random(positions.length)];
    }
    
    • Like 2
×
×
  • Create New...