Jump to content

Search the Community

Showing results for tags 'fighter'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OSBot
    • News & Announcements
    • Community Discussion
    • Bot Manager
    • Support Section
    • Mirror Client VIP
    • Script Factory
  • Scripts
    • Official OSBot Scripts
    • Script Factory
    • Unofficial Scripts & Applications
    • Script Requests
  • Market
    • OSBot Official Voucher Shop
    • Currency
    • Accounts
    • Services
    • Other & Membership Codes
    • Disputes
  • Graphics
    • Graphics
  • Archive

Product Groups

  • Premium Scripts
    • Combat & Slayer
    • Money Making
    • Minigames
    • Others
    • Plugins
    • Agility
    • Mining & Smithing
    • Woodcutting & Firemaking
    • Fishing & Cooking
    • Fletching & Crafting
    • Farming & Herblore
    • Magic & Prayer
    • Hunter
    • Thieving
    • Construction
    • Runecrafting
  • Donations
  • OSBot Membership
  • Backup

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Skype


Location:


Interests

Found 3 results

  1. I have read alot of other scripts and examples of how to loot before attacking again. I cannot understand this concept, could somebody explain me how to do this inside of my own code. This is my code for now: =============================================================================================== NPC npc = getNpcs().closest(o -> o.getName().equals("Cow") && o.getInteracting() == null && !o.isUnderAttack()); if (npc != null && npc.getName().equals("Cow") && npc.getHealthPercent() > 0 && npc.isAttackable() && npc.hasAction("Attack") && map.canReach(npc) && !npc.isUnderAttack()) { if (npc.equals(myPlayer().getInteracting())) { } else { npc.interact("Attack"); if (npc.interact("Attack")) { sleep(random(3500,5000)); } } } else { camera.toEntity(npc); npc = npcs.closest("Cow"); } ==================================================================================================
  2. Please request a PM to verify it's me before any service is done Prices may vary based on your accounts stats/levels
  3. GoblinKiller - First script ever made includes no antibans or banking -very basic just clicks and attacks the goblins -will be adding an antiban & banking support -will be adding a deathwalker support anyways her is the script, DOWNLOAD: http://www.mediafire.com/file/1wocoivsei6pd79/GoblinKiller.jar Here is the open code: import org.osbot.rs07.api.map.Area; 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 = "Aftabdear", info = "Simple Goblin Killer", name = "GoblinKiller", version = 0.1, logo = "") @SuppressWarnings("unused") public class GoblinKiller extends Script { Area GOBLIN_SPOT = new Area( new int[][]{ { 3240, 3252 }, { 3240, 3243 }, { 3243, 3240 }, { 3244, 3235 }, { 3246, 3233 }, { 3249, 3232 }, { 3251, 3230 }, { 3252, 3229 }, { 3255, 3230 }, { 3257, 3230 }, { 3259, 3230 }, { 3262, 3230 }, { 3264, 3229 }, { 3266, 3229 }, { 3266, 3230 }, { 3266, 3232 }, { 3266, 3234 }, { 3266, 3236 }, { 3265, 3240 }, { 3265, 3242 }, { 3265, 3244 }, { 3265, 3245 }, { 3264, 3246 }, { 3264, 3248 }, { 3264, 3249 }, { 3264, 3250 }, { 3264, 3251 }, { 3264, 3252 }, { 3264, 3253 }, { 3264, 3253 }, { 3240, 3254 }}); Player[] randomPlayers = new Player [] {}; private String Goblins; public boolean isGoblin() { NPC Goblin = npcs.closest(Goblins, "Goblin"); if (Goblin.isUnderAttack()){ return true; } else return false; } public void OnStart() throws InterruptedException { log("Here it begins"); } private enum State { KILL, IDLE}; @SuppressWarnings("unused") private State getState() { if (GOBLIN_SPOT.contains(myPlayer()) && !myPlayer() .isAnimating()) return State.KILL; else return State.IDLE; } @Override public int onLoop() throws InterruptedException { switch(getState()) { case KILL: NPC Goblin = npcs.closest(Goblins, "Goblin"); if (GOBLIN_SPOT.contains(myPlayer())) { if (Goblin.getAnimation() ==3029); Goblin.interact("Attack"); }else if (Goblin == null) getWalking().webWalk(GOBLIN_SPOT); case IDLE: log("case IDLE:"); break; } return 1000; }}
×
×
  • Create New...