Jump to content

Search the Community

Showing results for tags 'image'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • RuneLocus
    • News & Announcements
    • Information Booth
    • Website Support
    • Introductions
    • Chat
    • Forum Games
  • RuneScape Development
    • RSPS General
    • RuneScape Private Server (RS2)
    • RuneScape Private Server (503+)
    • RuneScape Private Server (EoC 742+)
  • Other
    • Digital Art
    • Gaming
    • Webdevelopment
    • Computers
  • Marketplace
    • RuneScape Market
    • RSPS Market
    • Others Market
    • Freelance Middleman Services
  • Super Secret Club's Topics

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 26 results

  1. Hi. When I have other people download my rsps they Experiancse this issue... Uncaught error fetching image: Java.lang.NullPointerException At sun.awt.image.UrlImageSource.getConnection(Unkown Source) Ect... ( message if you need whole thing ) I can log on just fine im using poanizer 714 rsps. They have downloaded it by Mediafire and I have done archive... I have googled and can't find anything related to a rsps or that I can understand. If you can help please put it simple as this is my first month using Java. Thanks!
  2. How would I go about doing an image carousel/slider thing? Hopefully you know what i'm talking about. I know html, basic java, but no php. If someone could just write something up and share with me/the community that would be awesome.
  3. Hello, I finished almost all of this myself I just need to add in my mp3 music file for the loading sound and adding the button so people can mute it. Looking for someone to do this asap Thanks,
  4. Well, I blame @[B][URL="http://www.runelocus.com/forums/member.php?u=63406"]high105[/URL][/B] for this lol. [B]Creating your own dynamic image of yours/others server's status[/B] To start off, you want to open a new file, be sure the file extension is saved as PHP (obviously) You want to first start off by adding [B]function [/B][COLOR=#00ffff]LoadPNG[/COLOR]: [spoiler=Requirements] A font preferably, I chose verdana. An offline / online image, again preferably in PNG, though you could choose your own, just be sure to change "imagecreatefrom[COLOR=#ff0000][B]png[/B][/COLOR]" to what ever image you have gone to. and "image[COLOR=#ff0000][B]png[/B][/COLOR]", "header('Content-Type: image/[COLOR=#ff0000][B]png[/B][/COLOR]');" [/spoiler] [spoiler=LoadPNG] [php] This is to call up an image for your status checker. function LoadPNG($imgname) { /* Attempt to open the image... */ $im = imagecreatefrompng($imgname); /* See if it failed */ if(!$im) { $im = imagecreatetruecolor(150, 30); $bgc = imagecolorallocate($im, 255, 255, 255); $tc = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 150, 30, $bgc); /* Output an error message */ imagestring($im, 1, 5, 5, 'Error loading ' . $imgname, $tc); } return $im; } [/php] [/spoiler] [spoiler=Defining IP and Port to read from] [php]define("IP", $_GET["IP"]); define("PORT", $_GET["PORT"]);[/php] [/spoiler] [spoiler=fsockopen] Now, you will need to find out the status of a server some how, so that's where fsockopen comes in! [php] $status = @fsockopen(IP, PORT, $errno, $errstr, 1); [/php] [/spoiler] [spoiler=Calling image + status of server response] [php] if ($status > 0){ header('Content-Type: image/png'); $img = LoadPNG('online.png');; $tc = imagecolorallocate($img, 178, 150, 150); // Font colour imagettftext($img, 12, 0, 30, 30, $tc, "verdana.ttf", IP); imagettftext($img, 8, 0, 60, 43, $tc, "verdana.ttf", "On the port: ".PORT); imagepng($img); imagedestroy($img); } else { header('Content-Type: image/png'); $img = LoadPNG('offline.png');; $tc = imagecolorallocate($img, 178, 150, 150);// Font colour imagettftext($img, 12, 0, 30, 30, $tc, "verdana.ttf", IP); imagettftext($img, 8, 0, 60, 43, $tc, "verdana.ttf", "On the port: ".PORT); imagepng($img); imagedestroy($img); } [/php] [/spoiler] [spoiler=Results] [php] function LoadPNG($imgname) { /* Attempt to open the image... */ $im = imagecreatefrompng($imgname); /* See if it failed */ if(!$im) { $im = imagecreatetruecolor(150, 30); $bgc = imagecolorallocate($im, 255, 255, 255); $tc = imagecolorallocate($im, 0, 0, 0); imagefilledrectangle($im, 0, 0, 150, 30, $bgc); /* Output an error message */ imagestring($im, 1, 5, 5, 'Error loading ' . $imgname, $tc); } return $im; } define("IP", $_GET["IP"]); define("PORT", $_GET["PORT"]); $status = @fsockopen(IP, PORT, $errno, $errstr, 1); if ($status > 0){ header('Content-Type: image/png'); $img = LoadPNG('online.png');; $tc = imagecolorallocate($img, 178, 150, 150); // Font colour imagettftext($img, 12, 0, 30, 30, $tc, "verdana.ttf", IP); imagettftext($img, 8, 0, 60, 43, $tc, "verdana.ttf", "On the port: ".PORT); imagepng($img); imagedestroy($img); } else { header('Content-Type: image/png'); $img = LoadPNG('offline.png');; $tc = imagecolorallocate($img, 178, 150, 150);// Font colour imagettftext($img, 12, 0, 30, 30, $tc, "verdana.ttf", IP); imagettftext($img, 8, 0, 60, 43, $tc, "verdana.ttf", "On the port: ".PORT); imagepng($img); imagedestroy($img); } [/php] [/spoiler] [spoiler=Rewriting page (optional)] Create a file named [B].htaccess[/B] Inside it, write: [code] Options +FollowSymlinks RewriteEngine on RewriteBase /status RewriteRule (.*):(.*)\.png$ [B]FILE_NAME_HERE[/B].php?IP=$1&PORT=$2[/code] Make sure that IP and PORT are the right ones as in the tutorial above, as you can obviously change them :) [/spoiler] [B]Going to the page: [/B][U]With .htaccess[/U] Simply enter in your website, IE: [URL]http://127.0.0.1/YOURIP:YOURPORT.png[/URL] [U]Without .htaccess[/U] Again, simply enter in your website, IE: [URL]http://127.0.0.1/[/URL][B]FILE_NAME_HERE.php?IP=YOURIP&PORT=YOURPORT[/B] Let me know if you run into any problems, Just wrote this off the top of my head, may be some errors I may not of foreseen o-o
  5. everytime I try to run my client in Eclipse, I get this: [code]Uncaught error fetching image: java.lang.NullPointerException at sun.awt.image.URLImageSource.getConnection(Unknown Source) at sun.awt.image.URLImageSource.getDecoder(Unknown Source) at sun.awt.image.InputStreamImageSource.doFetch(Unknown Source) at sun.awt.image.ImageFetcher.fetchloop(Unknown Source) at sun.awt.image.ImageFetcher.run(Unknown Source)[/code] What I have tried: - Switching compiler version to Java 6, 7, and 8. (Currently running on 7 as it should be) - Restarting Eclipse - Restarting server
  6. Hey there, I saw the notification for server owners that they needed to re-upload their server images, so I went ahead and tried to reupload, getting this error: [url]http://gyazo.com/7d5dc11186e867d8d8492d5e93a31ebb[/url] I'm not sure if it's just me getting this issue, or if everyone is having it. Please let me know when it's resolved, thanks!
  7. [IMG]http://i.imgur.com/weHjjDv.jpg[/IMG]
  8. i am 99% of the way there, i have made my server image on Photoshop and i just need to add it into the code so that my background image shows up on the client, does anyone know where it is and how to change it?
  9. Hello , as the title states my dragon mace icon in inventory and shops is bugged i see a dragon head instead. any ideas as to how I could fix this? lots of thanks already!
  10. I want to try making my own webpage for my server before going and asking a friend to do it for me. I realized html is 50x easier then javascript, at least to what i've seen so far. My only question is how do I load images from a certain source. For example, say I wan't to show someone my website and I send them the html document, they won't be able to see any images because the location path on the image is set to the path on my computer, not theirs. Of course I could always just upload them online, but for now I want to keep all my files in one folder, and be able to send that folder to someone else and have all the files inside still work. Any ideas? Thanks in advanced :)
  11. Could anybody Be so generous and make an Image slider for me? I tried looking one up and used the code. But it did not work successfully.
  12. On RuneScape's download page they are dumping all there GE images. Enjoy here: [url]http://www.runescape.com/downloads.ws[/url]
  13. I've been trying to vote and have been unsuccessful because I can't read the security image. It's real frustrating...
  14. I want to change the Quest tab icon to something different, I would know how to do it, but whereabouts should I look for the images and files? I'm using "Rscalifornia" as my starting source/cache and client. Any help would be appreciated, do not troll like "You should start at 317".
  15. Since I saw Emily's post containing this I thought it might be useful if everyone can just do it themselves for in the future. [url]http://pastebin.com/EbgEsaqB[/url] Run with an IDE, I'm not supplying with pre-compiled code as I cba.
  16. Well, This is disturbing me very bad, and I want to fix it some how? The images use to show up but not anymore: [img]http://envi-scape.com/pics/A69t4t.png[/img]
  17. Yea , basically the Title asks it all :P .
  18. Hi, I made an 'I support' signature for the Animus project, I hope you all like it (: CnC is always welcome (: [img]http://i.imgur.com/Df09L.png[/img] EDIT: Made the big ass logo smaller: [img]http://i.imgur.com/OxX0E.png[/img]
  19. Hello, I need help on how to get rid of the "RuneScape" picture located on my client. Here is a picture of what I mean [url]http://screensnapr.com/v/IYKVV4.jpg[/url] Any help is appreciated, thanks (It's not in Spirts)
  20. Alright i dont know if this is the right place to post sorry. If it is please just tell me nicely. Anyways i have purchased a homepage from a friend and i saw pictures of it thinking it was good well when i got the files uploaded them all the picture were all over the place. I realized its becaue it doesnt change with diffrent computer screens. I was wondeirng if anyone knows a way to make it so they fix them self on diffrent pages. Here is what i got it to look like on my screen [IMG]http://img46.imageshack.us/img46/625/newhomapgej.png[/IMG] But on internet explorer or on my other computer it is horrible. Please post ideas.
  21. Ok so for my donator it shows the right image to other people, and in Pms but in clan it shows it as owner? Idk if it clanchathandler or client.java, if its client witch 1? I messed with like all them.
  22. It's now possible to choose multiple status images (the ones from the competition) in the status checker: [URL="http://www.runelocus.com/index.php?action=statuschecker"]www.runelocus.com/index.php?action=statuschecker [IMG]http://i40.tinypic.com/2qmdac8.png[/IMG][/URL]
  23. So I'm still trying to get better at photoshop, made this: [img]http://i967.photobucket.com/albums/ae151/Toxicturn/Awesomeassasinscreedpicture.png[/img] Feedback please :D
  24. Toxicturn

    Another image

    Lol, I've been practicing quite a bit, I wanted to make a silhouette, and it came out like this: [img]http://i967.photobucket.com/albums/ae151/Toxicturn/silluette1.png[/img] Feedback please :D (Critism would be great)
  25. So, I created this simple little JPanel with a button which, as of now, does absolutely nothing (y). However, I want to add an image from a locally stored file. Initially, I did what all of the tutorials said I should and created a buffered image. The code for that looked like this: [url]http://pastebin.com/DhQgGhny[/url] However, it wouldn't allow me to cast it as a normal graphics object from the buffered image format. So, therefore, I couldn't use a buffered image object ._. Below is the code for the JPanel [code] import javax.swing.*; import java.awt.*; import javax.swing.JPanel; public class ImageGUI extends JFrame { private JPanel panel; //Constructing buttons JButton b1 = new JButton("Button 1"); //setting up the gui public ImageGUI() { super("Blake"); //setting the size setSize(280, 300); //Constructing buttons b1 = new JButton("Button 1"); //Constructor of JPanel JPanel panel = new JPanel(); panel.add(b1); //setting the layout panel.setLayout(new GridLayout(5, 1)); //? getContentPanel Container pane = getContentPane(); pane.add(panel, BorderLayout.WEST); setContentPane(pane); setVisible(true); //paintComponent(null); } public static void main (String[] args){ ImageGUI jps = new ImageGUI(); } } [/code] Hao 2 ad imaeg plawkzz?
×