Jump to content

Chris

Scripter II
  • Posts

    8365
  • Joined

  • Last visited

  • Days Won

    14
  • Feedback

    100%

Everything posted by Chris

  1. gg slayed TWC leader. Whats the big prize?
  2. i bot blue drags till my script just breaks and I have to reqrite it again. i think I do 12+ a day There really is no safe way. anything past 9hrs is suiciding imo
  3. hey its me your brother
  4. Chris

    Halp :doge:

    ill try this! thanks BR
  5. But I do that anyways
  6. How would I make my character find loot off the minimap? code : GroundItem g = sA.groundItems.closest(c.loot); if (g != null && g.exists()) { if (sA.inventory.isFull()) { sA.inventory.getItem(c.food).interact("Eat"); sA.sleep(2000); } else { g.interact("Take"); sA.sleep(sA.random(1500)); } }
  7. import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.api.model.Player; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "Jards", info = "A Script", name = "Goblin Killer", version = 0.01, logo = "") public class main extends Script { @Override public void onStart() { log("Welcome to gusegger's bot!"); } // all the states we can be in private enum State { IDLE, ATTACKING_GOBLIN, IN_COMBAT, AT_FIELD }; // if player is by the goblin field public boolean atField() { Player player = myPlayer(); int x = player.getPosition().getX(); int y = player.getPosition().getY(); //stating if we're in these positions if ((x > 3242) && (x < 3249) && (y > 3243) && (y < 3249)) { log("x : " + x + " y " + y); log("You're at the goblins son!"); return true; } log("x : " + x + " y : " + y); return false; } // seeing if we're in combat public boolean inCombat() { if(myPlayer().isUnderAttack()) { log("We're in combat!"); return true; } log("We're not in combat yet, punk!"); return false; } public void killingGoblin() { NPC Goblin = npcs.closest("Goblin"); if (Goblin != null && Goblin.getHealth() != 0 && Goblin.isAttackable() && Goblin.getName().contains("Goblin")) { if (map.canReach(Goblin)) { log("Attacking that punk ass goblin!"); Goblin.interact("Attack"); } } else { log("No goblins found!"); } } private State getstate() { // if we are at the field of goblins but not in combat // if we are at the field and in combat, set to in_combat if (atField() && !inCombat()) return State.ATTACKING_GOBLIN; // if we are under attack, set to in_combat if (myPlayer().isUnderAttack()) return State.IN_COMBAT; //if nothing is happening, set to idle return State.IDLE; } @Override public int onLoop() throws InterruptedException { switch (getstate()) { case IN_COMBAT: break; case ATTACKING_GOBLIN: log("Start killing a goblin!"); killingGoblin(); break; } return random(100,300); } @Override public void onExit() { log("Thanks for using gusegger's bot!"); } @Override public void onPaint(Graphics2D g) { //NYI } }
  8. real grill ?
  9. /thread
  10. Deceiv is nub GG
  11. wgsedrgerdg
  12. Sinatra, Ayyy lmao, dmxrb, cowhide123, Trackson, stryk, artkid0, Rich A S F, happykid, Acerd, The Hero of Time, Deceiver, NoahTheWisewolf, Botre, Rebel5lion, Keven, Anne, Mysteryy, Jack
  13. Sinatra, Ayyy lmao, dmxrb, cowhide123, Trackson, stryk, artkid0, Rich A S F, happykid, Acerd, The Hero of Time, Deceiver, NoahTheWisewolf, Botre, Rebel5lion, Keven, Anne, Mysteryy, Jack
  14. Sinatra, Acerd, artkid0, stryk, Ayyy lmao, Ballbanger5, Google Bot, Trackson, happykid, dmxrb, The Hero of Time, Rich A S F, cowhide123, Deceiver, NoahTheWisewolf, Botre, Rebel5lion, Keven, Anne, Mysteryy, Jack
  15. Sinatra, Acerd, artkid0, stryk, Ayyy lmao, Ballbanger5, Google Bot, Trackson, happykid, dmxrb, The Hero of Time, Rich A S F, cowhide123, Deceiver, NoahTheWisewolf, Botre, Rebel5lion, Keven, Anne, Mysteryy, Jack
  16. Sinatra, stryk, dudeami, Google Bot, Ayyy lmao, artkid0, The Hero of Time, Trackson, dmxrb, Ballbanger5, Rich A S F, empathy, cowhide123, Deceiver, NoahTheWisewolf, happykid, Acerd, Botre, Rebel5lion, Keven, Anne, Mysteryy, Jack, K00wal
  17. Sinatra, stryk, dmxrb, Rich A S F, Ballbanger5, Google Bot, Ayyy lmao, artkid0, The Hero of Time, empathy, Trackson, cowhide123, dudeami, Deceiver, NoahTheWisewolf, happykid, Acerd, Botre, Rebel5lion, Keven, Anne, Mysteryy, Jack, K00wal inb4 its a scam
  18. Sinatra, stryk, dmxrb, Rich A S F, Ballbanger5, Google Bot, Ayyy lmao, artkid0, The Hero of Time, empathy, Trackson, cowhide123, dudeami, Deceiver, NoahTheWisewolf, happykid, Acerd, Botre, Rebel5lion, Keven, Anne, Mysteryy, Jack, K00wal
  19. Sinatra, empathy, Ballbanger5, Trackson, The Hero of Time, Ayyy lmao, cowhide123, artkid0, dmxrb, stryk, cutvision, dudeami, Deceiver, NoahTheWisewolf, Greengo, happykid, Acerd, Botre, Rebel5lion, Keven, Rich A S F, Anne, Mysteryy, Jack, K00wal
  20. Sinatra, empathy, Ballbanger5, Trackson, The Hero of Time, Ayyy lmao, cowhide123, artkid0, dmxrb, stryk, cutvision, dudeami, Deceiver, NoahTheWisewolf, Greengo, happykid, Acerd, Botre, Rebel5lion, Keven, Rich A S F, Anne, Mysteryy, Jack, K00wal
  21. Sinatra, empathy, Ballbanger5, Trackson, The Hero of Time, Ayyy lmao, cowhide123, artkid0, dmxrb, stryk, cutvision, dudeami, Deceiver, NoahTheWisewolf, Greengo, happykid, Acerd, Botre, Rebel5lion, Keven, Rich A S F, Anne, Mysteryy, Jack, K00wal
  22. Sinatra, The Hero of Time, cowhide123, dmxrb, stryk, Ballbanger5, Trackson, Ayyy lmao, dudeami, Deceiver, NoahTheWisewolf, Greengo, happykid, Acerd, Botre, Rebel5lion, Keven, Rich A S F, Anne, cjbreezey, Mysteryy, Jack, K00wal, Skizow
  23. Sinatra, The Hero of Time, cowhide123, dmxrb, stryk, Ballbanger5, Trackson, Ayyy lmao, dudeami, Deceiver, NoahTheWisewolf, Greengo, happykid, Acerd, Botre, Rebel5lion, Keven, Rich A S F, Anne, cjbreezey, Mysteryy, Jack, K00wal, Skizow
×
×
  • Create New...