Jump to content

Tom

Scripter III
  • Posts

    5330
  • Joined

  • Last visited

  • Days Won

    5
  • Feedback

    100%

Everything posted by Tom

  1. for(int i = 0; i < 28; i ++){ item = instance.inventory.getItemInSlot(i); if(item == null) continue; instance.inventory.interact(i, "Drop"); for(int temp = 0; temp < i; temp ++){ //This part of the method should counter Item tempItem = instance.inventory.getItemInSlot(temp); // items being skipped due to unknown causes, presumably lag. if(tempItem != null)){ MethodProvider.sleep(MethodProvider.random(200,400)); inventory.interact(temp, "Drop"); } } } } You can probably change this around a bit, but what it does is goes back when items are accidentally skipped due to lag, instead of looping through the entire inventory, then checking if there are items left over. Snippet I provided is not very bot like. Just add the ferret check line, and you should be all G
  2. Tom

    osFisher

    Yes, it is our lord and saviour Johnny Sins. Thanks for testing for me by the way, I really need to redesign the GUI when i get the chance.
  3. Tom

    osFisher

    Hmm ok, i'll take another look into that when I get the chance, it should work 100% if you have pirates treasure completed though, so if you wanted to give that a try while I fix it Edit: If you get the chance, please re download the newest version I have uploaded, it should be version 2.01 If you could test that for me, it would be much appreciated Edit 2: Submitted a fix that should work.
  4. Tom

    osFisher

    Karamja is supported.
  5. You would have to return out of the method, a simple method like this would work better public boolean canAnimate(){ return System.currentTimeMillis() > (lastAnimation + 3000); }
  6. Depending on what you smelt, you are never going to have a full inventory.
  7. Its all a mix between pattern detection, sometimes client detection, and even mods just being a bitch and busting you. Operating system does not get taken into account
  8. I really don't know why I havent been using conditional sleeps all this time.
  9. The animation stops between each bar that is smelted. The best way to do this is to record the currentTimeMillis when the player is animating, then check if that recorded time has been increased by x amount of milliseconds, and if thats true then allow it to continue. I can show you a snippet perhaps when I get home.
  10. Tom

    Banned :D

    If that was the case, 99% of us would be banned
  11. I have noticed this as well
  12. Tom

    osFisher

    Banking support has been added, just havent updated the thread. Check now.
  13. You mean Windows and + for magnifier?
  14. So would protected be a better options? Or even re adjusting my packages so i dont have to use these modifiers at all? Thanks for pointing it out though, I do feel very clumsy using it a lot, my entire GUI class is utter shit in my opinion
  15. The instance lets me access all of the Script features that are extended in the main class Why do you say this? Is it because of my use of the static class WalkHandler? Or the excess use of public variables throughout main and GUI? Or perhaps i should be using protected?
  16. I see, i forgot the ! , I havent really gotten around to testing the bait side of things, since i pretty much re wrote the entire thing yesterday. Other than this, what do you think? Note: still working on the gui code, it is utter shit in my opinion
  17. If the bot it self is detected they ban you within 15 minutes
  18. Thread finished, source now hidden.
  19. Tom

    osFisher

    Fixed now, sorry about that!
  20. Tom

    osFisher

    Updated to version 1.1 Change-log - New dropping algorithms to increase anti ban - New Toggleable paint
  21. Yeah i've pretty much adjusted it now to work with my switch. Testing it now, will post back. @Novak works like a charm mate, thanks Now ive only gotta fix deselecting, which seems to be bugged
  22. 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!
  23. 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.
  24. 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.
  25. 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)
×
×
  • Create New...