Jump to content

shtknt

Members
  • Posts

    2
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Recent Profile Visitors

305 profile views

shtknt's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. That's not my issue, also the information im gathering really only needs to sit within the onStart method as it is only needed to run once, for data collection, not repetitively
  2. Hey there, started to play around with scripting, although I can't find where to test my script, nothing is shown within the client, i'm assuming something is not right with my script manifest?, my code; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(name = "Cow Killer", author = "programer", version = 1.0, info = "", logo = "") public class CowKiller extends Script{ private String message; @Override public void onStart() throws InterruptedException { for(NPC n : npcs.getAll()){ if(n != null) message = n.getName() + ", " + n.getId(); System.out.println(message); } } @Override public int onLoop() throws InterruptedException { return 0; } }
×
×
  • Create New...