Jump to content

mitsuki

Lifetime Sponsor
  • Posts

    119
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by mitsuki

  1. I'm trying to get the paint to count the xp and time how long the script has been running. Every time a shrimp is caught, the counter shows 10xp for a second or 2, then goes back to 0. The timer doesn't work at all for some reason. Any advice? I have a feeling that the xp counter is due to it being before the return random event. Do i need to make a new public method for the xp tracker?
  2. Holy shit dude, thanks a lot, i completely forgot about using the debugger! Now it is finally working, and i'm trying different ways of using the api My final question is how do i add a check within the script to check if the inventory is full before dropping the shrimp? Would it be (taking into account that the net is one inventory space) : if (getInventory().contains("Raw shrimps") 27) or if (getInventory() == 28) Are you into cryptocurrency? I can send you some as a thank you for all the help on starting me off with scripting
  3. still no luck after making amendments. All of the functions are correct aren't they? I would call upon getObject() still for a fishing spot, wouldn't i?
  4. in total, 2 lots of just under 2 hours. i've been banned on one account before, different pc, and different isp the account was my pure, so altogether about 30 hours of actual playtime Already read this thread, that's why i was going to be sticking to the 4 hour a day and 10 hour a week maximum botting times
  5. Ran the script for less than 4 hours in a 24 hour period, and got banned. I was even doing other things in between like questing and combat. >.<
  6. Any idea why this won't work? I'm trying to get it to find the closest Fishing spot, and fish from it, then drop the anchovies or shrimp. But when i run the script, it does nothing? package core; import java.awt.Graphics2D; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "Mitsuki", info = "AutoShrimper", name = "AutoShrimper", version = 0, logo = "") public class AutoFisher extends Script { @Override public void onStart() { log("Let's get started!"); } @Override public int onLoop() throws InterruptedException { RS2Object FishingSpot = getObjects().closest("Net Fishing spot"); if (getInventory().contains("Raw shrimps")) { getInventory().drop("Raw shrimps"); } if (getInventory().contains("Raw anchovies")) { getInventory().drop("Raw anchovies"); } else if (FishingSpot != null && !myPlayer().isAnimating()) { FishingSpot.interact("Net-Fishing-spot"); } return random(200, 300); } @Override public void onExit() { log("Thanks for running my AutoShrimper!"); } @Override public void onPaint(Graphics2D g) { } }
  7. I can't find the "stall" object anywhere. What would i use for a fishing spot? would i just put "fishing spot"? and where it says "steal-from", would it be "fish-from"?
  8. Don't suppose you can help me with something else? what asset package are all of the referenced functions in? Like Rock id, Tree id, stall? i've been looking in the rs2object sub classes, and can't find them. Cheers in advance dude
  9. getting the above error with the source code for the script. Everything else is fine, just doesn't seem to like the RS2Object, any help?
  10. any videos of it in action dude? really interested
  11. this still working? and is it $25 a month?
×
×
  • Create New...