Everything posted by FrostBug
- FrostHunter
-
Attack closest player
Player closestPlayer = getPlayers().closest((Filter<Player>) (Player v) -> { return true; });
-
Dubzie's Sheep Shearer, 120k/hr+ Straight out of tut island!, Anti-ban, Fast, F2P, Fully-afkable, Waiting on SDN
Pretty high profit for a no-req script Looks good , good luck with the release
-
return true if any other player is on a certain tile
Position pos = new Position(x, y, z); boolean playerOnPosition = !getPlayers().filter(new PositionFilter<>(pos)).isEmpty(); Just wrote it out in here, so the syntax might be slightly off. But the concept should work. EDIT: nevermind; what Flamez said is a better approach
-
Drop 5 of a certain item
Just do something like if(getInventory().getAmount("Item") > 10) { getInventory().drop("Item"); } If you're using a non-sequential framework, it should get repeated in every loop cycle until you've dropped 5
-
Quick-Hopper
Guess I should add that it will pick a random world (excluding PVP worlds) within the provided HopMode
- World switcher
-
Quick-Hopper
This class uses the recently added instant hop feature to switch worlds. FrostHopper.java Example usage:
-
Fruity Barrows (Frost Barrows)
That is indeed still the case, unfortunately. I will make an announcement & edit the FAQ if it should become compatible with mirror.
-
object visible when it's not
You could compare the camera yaw angle to the angle between the supposedly blocking object and the tree. If they differ more than ~90 degrees or so, it shouldn't be in front. The yaw angle might need to be translated first, though.
-
object visible when it's not
I suppose it would be possible Use the camera yaw angle to determine what positions are located between the tree and the viewport (not as difficult as it may sound). Find all of the objects in these positions Intersect the model areas of every one of these objects with the model area of the tree. The remaining area (if any) is what should be visible on the screen.
-
interact() returning true even though entity is not interacted with
Generally speaking you should not ever use potentially infinite loops. You should do your action, and determine the result from the state / positions of the player or its surroundings. If your state does not change as a result of the action; try the action again in the next loop.
-
Fruity Barrows (Frost Barrows)
Yes, as also stated in the FAQ, it doesn't run on the mirror client
-
Script disappeared
Sounds like his alt got banned, which is understandable
-
Fruity Barrows (Frost Barrows)
That is indeed possible.
-
Fruity Barrows (Frost Barrows)
Could you post a screenshot of the position + console? EDIT: Also, not running mirror mode, were you?
-
Fruity Barrows (Frost Barrows)
There's an X button on the add, use that to close it. The reasons for stopping are typically printed to the log and console. Please check that first (Both of you).
- FrostHunter
-
Fruity Barrows (Frost Barrows)
That doesn't really hold any advantage over using a ClanWars or Lumbridge route, though
-
Loot item before Starting another attack.
The logic here is overall very flawed If cow/cowhide is not null (aka. it exists), you do stuff with it, and if not, you move the camera to it. Please explain to me how one moves the camera to something that does not exist :L For your actual question; you could either modify your getState method to not pick another fight while there is cowhide on the ground; or you could add a cowhide check to the KILL case.
-
Fruity Barrows (Frost Barrows)
Adding
-
Fruity Barrows (Frost Barrows)
Nice proggy. I don't know what you guys are referring to when you say the script clicks inaccurately. I will not be moving away from OSBot's mouse algorithm (or the built in MouseDestinations), but if there are specific issues, please fill in a bug report (template in the OP), and I will most certainly see what I can do. Adding a trial ______ Planned updates will be a bit delayed, due to the ban of my main account. I am training up new ones already, though.
-
Fruity Barrows (Frost Barrows)
I committed a patch for this bug earlier today, and it should be live now. Please try restarting your script. If it isn't live yet, know that this bug can be avoided by starting the script with an item in the last inventory slot (bottom right). It should already be dealt with, though.
-
Fruity Barrows (Frost Barrows)
Indeed, the changes to mouse speed and persistence in 2.3.67 will require some additional adjustments and cooldowns. These will be included in the next script update
-
Phishing sites
Nay There are 1-3 people at GE in every world spamming shet 24/7 to try phishing ppl.. My ignore list is filling at an alarming rate Seriously annoying