Jump to content

Lazuli

Members
  • Posts

    1
  • Joined

  • Last visited

  • Feedback

    0%

Profile Information

  • Gender
    Male

Lazuli's Achievements

Newbie

Newbie (1/10)

0

Reputation

  1. Just an quick little tool to help with making scripts. Start it, enable input in the client, walk to the spots that you need your bot to walk to, write down the position. Thats all Download: https://www.mediafire.com/?7b7rql0yfg3de8d package com.lazuli; import java.awt.Color; import java.awt.Graphics2D; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author="lazuli", info = "", logo = "", name = "Location Logger", version = 0) public class main extends Script { private int x, y; @Override public void onStart() { x = myPlayer().getX(); y = myPlayer().getY(); } @Override public int onLoop() throws InterruptedException { x = myPlayer().getX(); y = myPlayer().getY(); return 800; } @Override public void onPaint(Graphics2D g) { g.setColor(Color.black); g.fillRect(20, 60, 150, 20); g.setColor(Color.blue); g.drawString("Position: (" + x + ", " + y + ")", 25, 72); } }
×
×
  • Create New...