Jump to content

LoudIP - Client IP Checker


LoudPacks

Recommended Posts

IP Checker - As Requested By Users


c861f8942f1dd9cdcb34d6f29e3e230f.png


 


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 by LoudPacks
  • Like 5
Link to comment
Share on other sites

  • 1 month later...
  • 11 months later...
  • 3 years later...
  • 3 years later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...