kyukyu
Members-
Posts
103 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by kyukyu
-
I'm interested as well!
-
Recently some people made rsautoswitcher which you can use alongside your other clients, but they kind of charge alot
-
most likely more ram will be beneficial, but i dont know the speccs of your pc so i cant tell you for sure
-
set up my proxy! :)
-
fuck talking to people lets go ai
-
+1 to that, i have a blitz gmaul rusher in this bracket and 60 hp is a safe spot to be in
-
gimme dat sucky sucky
-
hp bar of current enemy would be a good feature to add ^^
-
hey im interested in buying and testing the v2 for zulrah, but dont have a v1 sub. If i buy a v1 sub will i get an auth for v2?
-
update: private version i've been working on now supports banking
-
stand under your cannon and youll shoot yours yeah those are problems that kind of come with what i was trying to do. I just wanted to replicate afk cannon behavior so the time inbetween clicks on the cannon is quite a bit long. Basically i wanted to make a script that afks for me
-
currently doesnt bank, start at the desired sandcrab spot with an inventory full of tuna ^.^ will consider making this one nice if its well recieved sandCrabber.jar
-
update: fixed have a fully functioning afk sandcrab script
-
how would i declare the variable globally so that it can be called from in the onloop method?
-
package Main; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.*; import org.osbot.rs07.api.map.Position; import java.awt.*; @ScriptManifest(name = "CrabKiller", author = "kyu", version = 1.0, info = "noob scripting", logo = "") public class Main extends Script { @Override public void onStart() { log("welcome to kyu crabs"); //Code here will execute before the loop is started } private enum State{ FIGHTING, RESET; } private State getState(){ if(myPlayer().isHitBarVisible() || myPlayer().isUnderAttack()) return State.FIGHTING; return State.RESET; } @Override public void onExit() { log("ending...."); //Code here will execute after the script ends } final Position starting = myPlayer().getPosition(); final Position reset = new Position(1750,3503,0); @Override public int onLoop() throws InterruptedException{ switch(getState()){ case FIGHTING: if(myPlayer().getHealthPercent()<50) getInventory().interact("Eat","Tuna"); return 20000; case RESET: log("walking...."); getWalking().walk(reset); sleep(15000); log("walking to start"); getWalking().walk(starting); sleep(15000); } return 5000; //The amount of time in milliseconds before the loop starts over } @Override public void onPaint(Graphics2D g) { //This is where you will put your code for paint(s) } } I was building a simple afk sandcrabber for personal use but when i went to test it wouldnt even start running. The logger doesnt even show the onstart text so i'm looking for a quick troubleshoot
-
import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.*; import java.awt.*; @ScriptManifest(name = "Cannon Clicker", author = "Kyu", version = 1.0, info = "", logo = "") public class Main extends Script { private long startTime; @Override public void onStart() { //Code here will execute before the loop is started startTime = System.currentTimeMillis(); } @Override public void onExit() { //Code here will execute after the script ends } @Override public int onLoop() { RS2Object cannon = getObjects().closest("Dwarf multicannon"); if(cannon.hasAction("Repair")) cannon.interact("Repair"); if(cannon.hasAction("Fire")) cannon.interact("Fire"); return random(30000,40000); //The amount of time in milliseconds before the loop starts over } @Override public void onPaint(Graphics2D g) { final long runTime = System.currentTimeMillis() - startTime; g.drawString(formatTime(runTime), 30, 30); //This is where you will put your code for paint(s) } public final String formatTime(final long ms){ long s = ms / 1000, m = s / 60, h = m / 60; s %= 60; m %= 60; h %= 24; return String.format("%02d:%02d:%02d", h, m, s); } } first script be gentle