Jump to content

Search the Community

Showing results for tags 'object'.

  • 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 1 result

  1. Hi, I'm trying to make a fishing script but my character isn't fishing the fishing spot. Can you guys help me? It doesn't log "Fishing.." so i guess it's not in the fishing STATE? I'm trying to Net fish @ lumby private enum State { FISH, DROP, WAIT }; private State getState() { if (!inventory.isEmpty()) return State.DROP; if (!inventory.isFull()) return State.FISH; return State.WAIT; } @Override public int onLoop() throws InterruptedException { NPC fishingSpot = npcs.closest("Fishing spot"); switch (getState()) { case FISH: if (fishingSpot != null) { if (fishingSpot.isVisible()) { fishingSpot.interact("Net"); log("Fishing.."); } } break; case DROP: inventory.dropAllExcept(303); break; case WAIT: sleep(random(500, 700)); log("Waiting"); break; } return random(200, 300); }
×
×
  • Create New...