LoudPacks Posted July 21, 2016 Posted July 21, 2016 (edited) 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, 2016 by LoudPacks 5
Krys Posted July 21, 2016 Posted July 21, 2016 wow that's pretty cool and useful, good job and nice wizzy (g) and mystic show off
Juggles Posted July 21, 2016 Posted July 21, 2016 wow that's pretty cool and useful, good job and nice wizzy (g) and mystic show off Team Mystic woo
RDM Posted July 21, 2016 Posted July 21, 2016 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
Prolax Posted August 3, 2016 Posted August 3, 2016 Nice one. Also no adverts on that checkip.amazonaws.com site, which is good.
moerrts20 Posted March 14, 2021 Posted March 14, 2021 it still shows my ip when im using proxifier and mirror mode
Freedomliving77 Posted September 16, 2024 Posted September 16, 2024 (edited) does that script work? how do i add it to osbot? Edited September 16, 2024 by Freedomliving77