July 21, 20169 yr IP Checker - As Requested By Users Download: http://download1503.mediafire.com/6datvo8lpfrg/dqkf65cp60j3atz/LoudIP.jar Source: import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.net.MalformedURLException; import java.net.URL; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; @ScriptManifest(author = "LoudPacks", info = "Displays / Logs IP Address", logo = "https://i.gyazo.com/00abb63af082b08c5223160fa5129871.png", name = "LoudIP", version = 0) public class main extends Script { private String ip = null; @Override public int onLoop() throws InterruptedException { if (ip == null) { try { URL whatismyip = new URL("http://checkip.amazonaws.com"); BufferedReader in = new BufferedReader(new InputStreamReader(whatismyip.openStream())); ip = in.readLine(); } catch (MalformedURLException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } else { log("Your IP Address is: " + ip); } return 3000; } @Override public void onPaint(Graphics2D g) { g.setColor(new Color(72, 62, 51, 200)); g.fillRect(0, 285, 518, 53); g.setColor(new Color(186, 171, 140, 255)); g.setFont(new Font("Lucida Sans", Font.BOLD, 24)); g.drawString("Your IP Address is: " + ip, 30, 330); } } Virus Scan: SIKE Edited July 21, 20169 yr by LoudPacks
July 21, 20169 yr wow that's pretty cool and useful, good job and nice wizzy (g) and mystic show off Team Mystic woo
July 21, 20169 yr you'd expect that the client would tell you itself in like the runtime info or something. btw it wouldnt be hard to guess the first 2 numbers of your IP as the rest are easy to see what they are
September 16, 20241 yr does that script work? how do i add it to osbot? Edited September 16, 20241 yr by Freedomliving77
Create an account or sign in to comment