Doout
-
Posts
184 -
Joined
-
Last visited
-
Feedback
100%
Posts posted by Doout
-
-
For the script to work you need to be login.
The script check your inv for raw fish so it can grab the ID
-
myPlayer().getFacing() == null
is better.
Not true.
What the point of testing it to be null, Might be use full but testing it with another entity is the way to go.
-
You're not understanding. I mean the actual mouse and box and lines that is up when you're running a script. I use the PK helper and the lines and box get in the way when pking.
REND MY POST.
If you want to remove that mouse paint then you need to follow it
-
Here the file that it try to download.
Place it in osbot/libswww.osscripts.com/scripts/libs.rar
- 1
-
I will but i got this
VIPRE has determined that the site you are trying to visit contains potentially harmful or objectionable content.
Do not trust that website to unblock it on my antivirus
-
If you want you can disable the mouse.
Setting > Advanced > Mouse Coordinates -
no VIP for me
this is one sad day
no VIP for me
this is one sad day
-
"However setting turnCamera to false doesn't work, it still rotates the camera and sets the pitch to minimum... which is the annoying part."
^ does that when the object clearly IS visible.
Try and make your own method.
-
here the code to get the xp to the level, you can do the rest
public int experienceForLevel(int level) { double total = 0; for (int i = 1; i < level; i++) { total += Math.floor(i + 300 * Math.pow(2, i / 7.0)); } return (int) Math.floor(total / 4); } public int getExpToNextLevel(Skill s) { return experienceForLevel(script.client.getSkills().getLevel(s) + 1) - script.client.getSkills().getExperience(s); }
-
-
Plz google before posting.
That thing you are looking for are Thread. -
or you can try to use this
public NPC getNPC(int... ids) { List<NPC> npcs = client.getLocalNPCs(); int d = 999; NPC temp = null; for (NPC n : npcs) { if (n != null) { for (int id : ids) { if (n.getId() == id) { if (distance(n) < 15 && !n.isUnderAttack() && distance(n) < d) { d = .distance(n); temp = n; } } } } } return temp; }
-
I do not see the point in this,
If apple is good then he should have got script writer.
Apple can ask laz or maxi for a review of his script to get him the rank.But, getting the full rank is not as easy as people think
-
http://osbot.org/api/org/osbot/script/rs2/model/RS2Object.html
We do have object support. There's a small bug though where Agility objects aren't recognized.
Most of the object are,
-
-
-
-
I dont know.. check your methods again. I dont have any idea what could be causing that.
The method i use is fine, It the built-in method that spam click the minimap
-
Random event you mean? I think the random event solver may be causing that as your script pauses when a Random event take a place. Correct me if im wrong.
when ever the script try to click something that moving, it try to move by using the minimap even thought the npc/entily is on the screen.
My script do not use the built-in method for the entily.interact("");, Also, my script stop if it out of the areas.
-
None of my script use the bult-in interact(""), but when ever i get in a random, it spam click the minimap when it try to click an entity
Here is the method that I use, you can use it if you like
public static boolean interact(Entity entity, Script script, String str) throws InterruptedException { if (entity.getPosition().isVisible(script.bot)) { MouseDestination loc = entity.getMouseDestination(); script.client.moveMouse(loc, false); if (loc.destinationReached(script.client.getMousePosition())) { click(script, str); } } else if (isTileOnMiniMap(entity.getPosition(), script.bot)) { // script.walking.walk(entity.getPosition(), true); Use what ever // walking method you like here, Pm if you like my script.sleep(1000); } return false; } private static int ySetOff = 18; private static int indexOffSet = 14; public static boolean isTileOnMiniMap(final Position tile, Bot bot) { return !org.osbot.script.rs2.utility.Utilities.getMinimapScreenCoordinate(bot, tile.getX(), tile.getY()).equals(new Point(-1, -1)); } public static boolean click(Script methods, String str) throws InterruptedException { if (contains(methods, str)) { if (methods.client.getMenu().get(0).action.contains(str)) { methods.client.clickMouse(false); return true; } else { if (!methods.client.isMenuOpen()) methods.client.clickMouse(true); if (methods.client.isMenuOpen()) { int i = getIndex(methods, str); MouseDestination click = new RectangleDestination(new Rectangle( methods.client.getMenuX(), methods.client.getMenuY() + ySetOff + (i * indexOffSet + 1), methods.client.getMenuWidth(), indexOffSet)); methods.client.moveMouse(click, false); methods.sleep(100); if (click.destinationReached(methods.client.getMousePosition())) { methods.client.clickMouse(false); return true; } } } } return false; } public static int getIndex(Script methods, String str) { List<Option> s = methods.client.getMenu(); for (int i = 0; i < s.size(); i++) { if (s.get(i).action.contains(str)) { return i; } } return -1; } public static boolean contains(Script methods, String str) { for (Option n : methods.client.getMenu()) { if (n.action.contains(str)) return true; } return false; }
-
Nice, If you need the frog Interface once you get teleport just pm me.
-
I love the 0 byte
-
any idea when its gnna be released?(A) cant play legit.. rofl
Sometime this week.
-
by skills
Will be awesome to do npcs.getSkills().getHeath();
I believe he is talking about NPC
OS cooking script
in Archive
Posted
go to Rogues Den and start the script