Lazuli Posted July 29, 2016 Share Posted July 29, 2016 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); } } Quote Link to comment Share on other sites More sharing options...
Saiyan Posted July 29, 2016 Share Posted July 29, 2016 (edited) you could just grab the position by doing myPlayer().getPosition(); you could also log it log("Player Pos" + myPlayer().getPosition()); but then i guess you're painting it so idk Edited July 29, 2016 by Saiyan Quote Link to comment Share on other sites More sharing options...