-
Posts
2136 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by Isolate
-
How to take use input decide what cordiantes to use for an area?
Isolate replied to Twin's topic in Scripting Help
More people should use polygon areas. -
How to take use input decide what cordiantes to use for an area?
Isolate replied to Twin's topic in Scripting Help
something is only final if you don't intend on changing it. The Area bits would go where all your other variables go and the if would go in your on start. the area your script will use in this case is 'mine' which will be defined by which area you are standing in on start. if you want it to be more complicated you could if you're not in an area on start it will wait until you're in one of these two before starting. -
How to take use input decide what cordiantes to use for an area?
Isolate replied to Twin's topic in Scripting Help
final Area COAL = blah blah blah; final Area IRON = blah blah blah; Area mine = null; if(COAL.contains(myPlayer()){ mine = COAL; }else if(IRON.contains(myPlayer()){ mine = IRON; } -
I don't think you accounted for the title, things around the actualy lyrics
-
Last few days i've been pretty out of it. Didn't think it looked right at all, dunno why i bothere + or - 0's but ay i did :P
-
Really unsure sorry int currentHealth(){ int percperone = (100 / skills.getStatic(Skill.HITPOINTS)); return (percperone * skills.getDynamic(Skill.HITPOINTS)); } I think would do it or just int currentHealth(){ return ((100 / skills.getStatic(Skill.HITPOINTS)) * skills.getDynamic(Skill.HITPOINTS)); }
-
feel free to remove the +0 :')
-
health returns a % and only when in combat. best to compare static/dynamic level of hitpoints
-
Random rand = new Random(); if(getPlayers().getAll() != null) { java.util.List<Player> p = getPlayers().getAll(); int randomNum = rand.nextInt(((p.size()-1) - 0) + 1) + 0; Player randomPlayer = p.get(randomNum); if(randomPlayer != null){ randomPlayer.hover(); } } you could try something like this to get a random one, i dont know how accurate my random function is... i'm not good at it instead of hover you could do whatever you wanted, like right click on him or whatever
-
Use: to tell when trying to use the auto account login if 1. you've been banned, 2. game updates, stop spamming login
-
I have skype 'isolatepb' the Australian one
-
4 hours from the last buy. technically from the first buy/per item, before the last buy is 4 hours up you should be able to buy the first buy again if you were buying an item with a limit of 4 and it brought 1 hour a part each time you could keep buying them. (this is if it works like rs3 limits)
-
Language: Java Program (IDE): Eclipse or IntelliJ What do: Learn the basics of java from tutorials or books. Learn all the glory of void,boolean, int,if,else,while,for, ect. Learn to read an api and have a grasp of logical step processing. Tutorials, each to their own really, i'm self taught/picked up as i went, watched a little of thenewboston to get started but people here seem to not like him. There are also tutorials around the forums, i think, even if the API is outdated it should give an insight into how a script should look and the java base functions required to write one.
-
RS2Object tree = objects.closest("Tree"); //Overuse null checks if you need to, you can never have enough if(tree != null){ //if the tree has been found by the client if(!myPlayer().isAnimating()){ //chop the tree } } myPlayer(); is the base to access things to do with your character
-
http://osbot.org/api/ Find the thing you want to access on the left and click on it Scroll down til you find the methods it has on the right. EG Banking: then it brings up on the right which you'd use like bank.depositAll(); bank.isOpen(); bank.depositAllExcept(x): ect
-
TeamViewer
-
if you need any help with the setup/ect i can TV you are something
-
1. use IntelliJ 2. add client as a library 3. objects.closest("Tree"); 4. inventory.contains("Logs");
-
only if its not on the screen in this case make swaaaaaaag like yoru starting position or something. using "Walk here" and this code seems to work find for me and my bird catcher
-
Which one... non of them there are unused? + my interaction is wrong its "Walk here" i think for walking
-
would something like: Position swaaaag = new Position((myPosition().getX() +- 0),(myPosition().getY() +- 0),0); if(swaaaag != null){ if(swaaaag.isVisible(bot)){ //move camera up high or whatever swaaaag.interact(bot, "Walk"); }else{ camera.toEntity((org.osbot.rs07.api.model.Entity) swaaaag); } } work? "Herp derp isolate is trying to cast a position as an entity" = for some reason my IDE did it so i didnt bother changing it
-
Console spams all my scripts with the same issue, not sure what's wrong.
Isolate replied to Twin's topic in Scripting Help
Java.lang.NullPointerException at BirdHunter.onLoop(BirdHunter.java:43) Something on line 43 is returning null so the script cant work with it -
Why do you want to bot on a private server.... I'm assuming you understand a private server and the real game are 100% differnet so i don't understand this at all. Edit: oh just like a virtual pet... each to their own i guess?