Everything posted by zeejfps
-
Implementing this into my scripts?
U should do this, when script detects randoms, untill randoms are implemented
-
Rate The User Before You
5/10 >_< for beeing mean! Lol and not knowing who i am!I am a new script writer, hopefully one day i can get the official group tag thingy
-
Script Help Please
As far as I know there is no way you can do this simply... Because if I understand correctly you want it to eat every lets just say 20 seconds, but you still want the script to run normally.... However, you can try this, not guaranteed it will work but still: private final int timeToWait = 10; //In seconds;private int startTime;private int runTime; @Overridepublic void onStart(){ startTime = System.currentTimeMillis(); //Set the start time for first time..} @Overridepublic void onPaint(Graphics g){ updateInfo(); //Update the runTime every second, There might be a better way but idk what it is.} @Overridepublic int onLoop(){ if(runTime > timeToWait){ //Checks if the run time passed the wait time eatFood(); //Some method... You will have to make this I wont spoon feed you. startTime = System.currentTimeMillis(); //Resets the startTime. }} private void updateInfo(){ runTime = (System.currentTimeMillis() - startTime) / 1000; //Basicaly takes the current time and subtracts from time started then finds it in seconds.}
-
how to get player animation
^^^ What he said, or if you are doing this in another class, you can pass the script over and then use it like so: public class Test1 extends Script{ private final Test2 someOtherClass = new Test2(this); } public class Test2 { private final Script script; public Test2(final Script script){ this.script = script; } private void doSomething(){ script.getBot().getClient().getMyplayer().getAnimations(); } } Lol, sorry just a little tip there.
-
How cool is this?
woot ?lol farming bot coming up ? xD
-
Script help
goovy blah, I want java syntax! your missing a bunch of semicolos xD On topic... I can't seem to spot an error... Odd Edit: try to get rid of this: || mineRock.isInArea() Because i think thats the error... Edit again: also add a null check here: int getRock() { MineRock = closestObject(2093) if(MineRock != null && distance(MineRock.getPosition() > 5)) { //What happens if it can't find the rock ! //will add idle state here if(gRandom(100) < 10) { return 1200 + gRandom(1000, (1000*120)) }
-
Osbot 1.3.x Coming Soon!
omg, awesomeawesomeawesome!!! To bad I won't have time this weekend to work on a new script
-
Rate The User Before You
8/10 -2 for the avatar, its weird o_Oi
-
Im New Here But My Bot Says Osbot Has Been Updated ? Was Using Fine 5 Mins Ago
Me too ! Right as i release my script it updates >.< I hope it doesnt break!
-
Code To Find Player's Run %
Ok, thank you for the reply This topic should be closed.
-
Osbotters Getting Reported And Banned
In time better scripts will be created, just be patient, that is all i have to say.
-
Code To Find Player's Run %
Is there a way I can find the players Run % and based on that make him run ??? i cant seem to find anything in the API...
-
Zpowerchop, A Rs Power Cutter.
Woot, i got same error, its late i wont be able to re upload untill tomorow, sorry Just Reuploaded, added a virus scan aswell
-
I'm Being Reported By Ijava For Scamming, Lel.
That was a smart move
-
Picking Up Items
GroundItem cowhide = closestGroundItem(cowhideID);If(cowhide.exists()){ selectOption(cowhide, cowhide.getMouseDestination(), "Take");} Put this inside a method, i typed this on my ipad so errors are possible
-
Site Downtime
Yeah some support dude has been Pming people.... Glad to see the site is back
-
Our Goals For This Week
Can't wait
-
Clipping masks tut
Can you please explain how to get to the clipping mask? I know i can just google, but that would defeat the purpose of a tutorial lol
-
Zpowerchop, A Rs Power Cutter.
I need someone to tell me if simply unziping the file into scripts folder works, because I have multiple packages, It works for me but idk if it works for others.
-
Zpowerchop, A Rs Power Cutter.
extract the "com" folder into your script folder. Atleast that is how it works for me, I am about to update and see if i can make the installation easier
- Zpowerchop, A Rs Power Cutter.
-
Zpowerchop, A Rs Power Cutter.
BROKE BECAUSE OF NEW CLIENT, UPDATE IN PROGRESS!!! This is my first script for osBot. More updates will be coming as I get more time to work on this! Currently the Script Power Chops Only Willow Trees and then drops them. Feedback would be appreciated Description: Chops down Willow trees and drops them for quick WoodCutting XP. Supports all Axes! -- Need Verification (to much of a noob to aford hatchets xD...) Do not forget, BABYSIT, no anti-random support yet! Know Bugs: Walks far away, trying to examine a Duck... will fix tomorow! Future Updates: [*]Include Paint. [*]Ent Detection [*]Better Paint [*]Even Better Dropping system (default sucks...) [*]More Tree Support [*]All Hatchet Support [*]Fail Safes Change Log: v1.1: Updated Droping system to make it faster. Added Support for all hatchets! Added VERY BASIC Paint! v1.0: Initial Release. Instalation: Unzip the file and place "zPowerChop" folder into your Scripts folder! Images: My quick 10 Min Progress Report, if anyone got a better one please post Virus Scan: zPowerChop V1.1: http://www.mediafire.com/?f1nc6gzghgjo379
-
Hay There :d
Hay, I am zeejfps, and I hope I will be able to contribute to this Bot by making some Scripts Starting on my powerchopper rite this minute.