Jump to content

Tom

Scripter III
  • Posts

    5258
  • Joined

  • Last visited

  • Days Won

    5
  • Feedback

    100%

Everything posted by Tom

  1. This isn't quite the solution I'm looking for, but I will try the use of using inventory slot numbers rather than looping through the items in the inventory. That should help isolate my problem with items being dropped twice. Thanks!
  2. Due to the current inbuilt methods being a bit too "botlike", i decided to have a crack and tried to code my own, but introducing common human errors. Here is what I have: package com.ggplugins.osFisher; import java.util.ArrayList; import org.osbot.rs07.api.model.Item; import org.osbot.rs07.script.MethodProvider; import org.osbot.rs07.script.Script; public class Powerfish{ private Script instance; public Powerfish(Script instance){ this.instance = instance; } public void clearInventory(ArrayList<Item> safelist) throws InterruptedException{ for(Item i : instance.inventory.getItems()){ if(!safelist.contains(i)){ switch(MethodProvider.random(0, 200)){ case 25: instance.inventory.interact("Examine", i.getName()); MethodProvider.sleep(MethodProvider.random(300,600)); instance.inventory.drop(i.getName()); break; case 50: instance.inventory.interact("Use", i.getName()); MethodProvider.sleep(MethodProvider.random(300,600)); //Deselect item instance.inventory.drop(i.getName()); break; default: instance.inventory.drop(i.getName()); break; } MethodProvider.sleep(MethodProvider.random(350,750)); } } } } So what happens is, occasionally it will skip items, then it will jump back to them a few drops later, and once it gets down to the last 8 items in the inventory it decides to throw a null pointer on instance.inventory.drop(i.getName()); In the default case. So instead of staring at it for another 2 hours, I decided another pair of eyes might just be what I need so I've posted it here. Any help is appreciated, thanks.
  3. Tom

    osFisher

    No, it was made by Maxi and modified by Swizzbeat I only started scripting for OSBot yesterday, so my knowledge is still minimal Pictures coming soon, once I get feathers.
  4. Tom

    osFisher

    Price: ONLY $8.99 LIFETIME PURCHASE (Click to Purchase) Only have RSGP? Buy an OSBot voucher HERE. COMMENT ON THE THREAD FOR A 1 TIME 24 HOUR TRIAL NOW SUPPORTS AERIAL FISHING! Feature Highlights Selectable Locations / Fish Selectable Drop Methods and Banks Script Speed Customization Other Features DEADMAN MODE SUPPORT: - Will run to closest bank if player is under attack Command-Line Interface (CLI) osFisher currently supports CLI! There is currently 1 parameter required, which is the name of your properties file Example: This will load config.properties from your OSBot/Data/osFisher folder, the properties file can be named whatever you like, in case you would like multiple setups for different bots Feel free to post here / pm me if you are having problems with this feature! Progress Reports Please submit any if you get the chance! PLEASE REPORT ANY BUGS USING THE TEMPLATE BELOW SO THEY CAN BE FIXED ASAP Minnow Support Start script on west side of the expansion platform (left if facing north)
  5. Solved, had to be a SOCKS proxy, and the one I bought wasn't. For people looking to use proxies, make sure its SOCKS!
  6. Corrupted Edit: was almost 2MB less in file size as well, perhaps you forgot something
  7. Tom

    Dynamic Sleeping

    The world needs more people like you James, people that aren't afraid to express their opinions, and certainly don't treat everything like they are competing for the world title.
  8. The current version 2.3.34 seems broken, and the version 2.3.33 was when I was originally getting the issue that I posted about. So unless the problems started when 2.3.33 was released, I don't think trying an older version is going to help me very much Thanks though
  9. Hey all, so I joint this community the other day and noticed the client had an inbuilt proxy feature, so I went along and bought a private proxy. The client started, I entered the ip, port and authentication details and that worked all fine and dandy. It then took me to this screen: Edit: Just updated to 2.3.34 and now it doesnt get past "Loaded x RS Accounts!" Which seemed normal, then I tried to login and upon clicking the login button (after I had entered my details), it was like it wasn't sending out the login request, so basically nothing was happening. About 15 minutes later I finally get a pop up saying the socket has timed out, or something along those lines. Edit: I got the proxy from http://www.myprivateproxy.net/ so if anyone else has experience with these guys, please let me know! Any help is appreciated
×
×
  • Create New...