Jump to content

Search the Community

Showing results for tags 'connection'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


Last Updated

  • Start


Filter by number of...


  • Start



Found 94 results

  1. Ziek`


    1. Cart



    2. Ziek`


      This is a 100% real screenshot from MSN days

    3. Ziek`


      I also have


  2. Hey all, ran into a connection pooling library called c3p0 and it's really proven itself to be promising. I went over some documentation and articles on it and wanted to provide RL with a basic class already setup so users can either use/fool around with it. For those who don't know what connection pooling is, you can just [URL="https://www.google.com/search?q=what+is+connection+pooling&ie=utf-8&oe=utf-8"]google it[/URL]. It cuts down SQL connection time significantly and I consider it a must have for any application using SQL. For this to work, you need to include the following jars in your project. [URL="http://www.filedropper.com/pooling"]Download Here[/URL] [code] package org.pooling; import java.sql.Connection; import java.sql.Statement; import java.util.Timer; import java.util.TimerTask; import com.mchange.v2.c3p0.ComboPooledDataSource; import com.mysql.jdbc.CommunicationsException; public class PooledSource { private static PooledSource pooledSource; private ComboPooledDataSource cpds; private boolean online; private static final String IP = "", PORT = "3306", DATABASE ="db_name", USERNAME = "db_username", PASSWORD = "db_password"; private PooledSource() { try { cpds = new ComboPooledDataSource(); cpds.setDriverClass("com.mysql.jdbc.Driver"); cpds.setJdbcUrl("jdbc:mysql://" + IP + ":" + PORT + "/" + DATABASE); cpds.setUser(USERNAME); cpds.setPassword(PASSWORD); cpds.setInitialPoolSize(5); cpds.setAcquireIncrement(10); cpds.setMinPoolSize(10); cpds.setMaxPoolSize(200); cpds.setMaxStatements(200); Timer timer = new Timer(); timer.scheduleAtFixedRate(new TimerTask() { [MENTION=15855]Over[/MENTION]ride public void run() { updateDatabaseStatus(); } }, 0, 5000); } catch (Exception e) { e.printStackTrace(); } } /** * updateDatabaseStatus() * Updates the status of the database to online/offline */ private void updateDatabaseStatus() { try { Connection connection = getConnection(); Statement stmt = connection.createStatement(); stmt.executeQuery("select 1+1 from DUAL"); stmt.close(); connection.close(); online = true; } catch (CommunicationsException e) { online = false; } catch (Exception e) {} System.out.println("Database is " + (online ? "online" : "offline")); } /** * query(sql) - for non data returning queries * [MENTION=75098]Para[/MENTION]m sql - sql statement to be executed */ public void query(String sql) { if (online) { try { Connection connection = getConnection(); Statement stmt = connection.createStatement(); stmt.executeQuery(sql); stmt.close(); connection.close(); } catch (Exception e) { e.printStackTrace(); } } } /** * getInstance() * [MENTION=184045]return[/MENTION] - instance of our connection pool */ public static PooledSource getInstance() { try { if (pooledSource == null) { pooledSource = new PooledSource(); return pooledSource; } else { return pooledSource; } } catch (Exception e) { e.printStackTrace(); } return null; } /** * getConnection() * [MENTION=184045]return[/MENTION] - a connection from our pool */ public Connection getConnection() { try { return this.cpds.getConnection(); } catch (Exception e) { e.printStackTrace(); } return null; } public boolean isOnline() { return online; } } [/code] Example Use: [code] PooledSource ps = PooledSource.getInstance(); //This only needs to be initialized once. Put it in your server startup or wherever you choose. //called wherever you want Connection connection = ps.getConnection(); Statement smt = connection.createStatement(); ResultSet rs = smt.executeQuery("SELECT * FROM members WHERE bla..."); //do stuff with resultset rs.close(); smt.close(); connection.close(); //make sure all your resources are closed [/code]
  3. Hi I'm currently having a problem with others getting onto my rsps. I'm using a 562 version of spawnscape and I can log on perfectly. But others are getting the error connection timed out... I have port forwarded correctly I think using 43594 as a port and I have put my no-ip.biz In for then changed it back once I uploaded the file to mediafire. I have also compiled and have the source and my client running once they try to log on. I also have no-ip.biz running and I is giving me all checks. BUT! the website canyouseeme.org is saying that it can't see me and gives me error connection timed out. Please help me!
  4. Lately i've been using TrisidiaX as a source/client but i realized how glitchy it is so i switched to Biohazard 474,basically i changed the IP but i still get an error while the game is still loading "Connection error - retrying in" ... i need help what am i doing wrong? Thank you ! :gg:
  5. Hello guys, I'm running my Project-Exile sourge on my VPS, but i dont realy know what to do.. Sourge is saying this; [url]http://i.imgur.com/fGhuh0W.png[/url] [url]http://i.imgur.com/U5wfrzV.png[/url] And when i try to run my client, it says "Connection Error, retrying in .. seconds." [url]http://i.imgur.com/iQLQlC8.png[/url] Only thing i did is changed the client IP with eclipse.. And changed the location of java ofc.. :P I'm new to coding rsps but i want to run this project exile.. :P Hope someone of you can help me.. Paying 15$ the person who can fix it today! + making jar client for friends! Greetz, Glenn
  6. Hello, Dear Moparscapers. I have a very strange issue, I have never ever faced before. I am working on one of the old SoulSplit PI releases. I have been working on it for a while, however, I have been facing this issue, where only one person can login to the server and no one else. We have tried making a jar, same situation. We have checked the IP's and ports and everything seems to be "A ok" Does anyone know what kind of problem I am running into? Where no one can login but only 1 person. When more than one person tries to login, it says: "Connection Lost - please wait attempting to re-establish...." as soon as you login, it goes through until the black screen, then it says: Connection lost..... and logs you out. When you try the second time, it says: "Your account is already logged in, please try again in 60 seconds... " However, the account isn't actually online... Anyways, I hope someone can help here. Thanks.
  7. So I've stumbled across this problem. Whenever I try to run the client it will show the error message "Connection error - Retrying in ..." after requesting the title screen. I have never seen this problem before and it seems to only occur when I'm using a 317 source. I've tried different sources but they all display the same problem. [B]I am able to run the client by using the Run.exe in the client folder but when I use JarMaker the problem occurs.[/B] I am pretty sure that this is where the problem is, though I cannot figure out what it might be? I have portforwarded the server and it listens to the port on canyouseeme.org. All help is appreciated! Kind regards.
  8. Firstly, I have the cache in the right place. It unzips fine. I have the ip's in the right place. Then let me connect from my computer to my vps which runs my server. My problem is. When I run it through the client folder, it connects fine. But when I jar i (correctly) and run it through that. It fails me and says connection error - retying in 5...4... etc [IMG]http://i.gyazo.com/076b672a92d6b17d50717406c496d009.gif[/IMG] [IMG]http://i.gyazo.com/85d05b801854b32dc334d5179788db76.gif[/IMG]
  9. When I run the source and client, I get an error. It loads past the requesting title screen, and then says "Connection error - retrying in..." Does anyone know how I can fix this? I am using the 2006Remade Source/Client; found here - [url]http://www.runelocus.com/forums/showthread.php?87354-2006-Remade-Tutorials-Included-Super-Stable[/url] I am at a loss here guys, any help is needed.
  10. Hey guys.. I'm using the CompanionScape Release (718 loading 742 cache). I am also using the basic 718 client to connect to it, I have no issues compiling or running both server or client. I have changed the IP address in Loader.java (using no-ip properly, which I can connect to, aswell as localhost) as I've port forwarded etc, but my friend cannot connect. He gets this error: (Used puush to take screenshot) [url]http://puu.sh/dus0B/db1de9a4d7.png[/url] I am not very experienced with RSPS, but I do know that the cache is saved in the Servers "data\cache" folder, but don't 718's usually auto download the cache? What can I do to fix this, so my friends can join me?
  11. Thorin

    Connection Issues

    So im using Matrix 718 client, and i needed my friend to come on to help me with some things, and so i jarred the client(correctly) but when HE runs it it stays at "Checking for updates - 0%" Now im used to [PI] and having a cache downloader, but with 718 the cache is in the server right? so does it pull the cache from the server if they are on another computer? Or is there someting im doing wrong?
  12. Hello there, after following many jarring process I've ran into the solution that I'm jarring/signing correctly. However each time I start my client.jar i get this [IMG]http://i62.tinypic.com/2zi6000.png[/IMG] [SIZE=5][B][U][FONT=Arial Black]1) I know that it can't find the file "main_file_cache.dat" [/FONT][/U][/B][/SIZE] However, I do know that the Main_file_cache.dat is located in my "CACHE" folder within the client. [IMG]http://i61.tinypic.com/11ihkch.png[/IMG] I've zipped the FILE in the CACHE folder not the CACHE FOLDER itself the "files in the cache folder" .zip... Upload it to dropbox, added [dl.] infront of my url. but still it doesnt work.... Here is my signlink.java [url]http://pastebin.com/JKEbRJKP[/url] Here is my CacheDownloader.java [url]http://pastebin.com/fwPiKVgt[/url] Here is my client.java [url]http://pastebin.com/eGrjZJnc[/url] Question is what do i do? Is there an antileech somewhere that I do not know? add me on skype: ayye.geo I also have teamviewer: 521 849 540 add and pm ------------------------------------------------------------------------ Edit#1 Before all of this, when I jar it would say "Could not find or load main class client" So i put SIGNLINK.java/Class into folder SIGN, then I took out all of my .class and .java into the open folder like this [IMG]http://i60.tinypic.com/2zxuxlh.png[/IMG] and it finally open but led to not being able to connect.
  13. I'm trying to play a server and no matter whether I use the downloaded client or the webclient, I get the error 'requesting title screen' followed by 'connection error retrying in __seconds' I've looked all over the place for a solution and finally decided to make a new thread because I can't find a fix. I've established it's something to do with the cache of the server. I've tried deleting and redownloading several times and the problem still occurs. I'm using a 64 bit version of Windows Ultimate and I'm running version 7 update 60 of java. Any help would really be appreciated.
  14. samar

    Connection Error

    Hi guys. When I run my client , it gives my "connection error retrying in 5 4 3 2 1" . I have the cache uploaded to dropbox and changed the link in cachedownloader.java but still im getting this error. Can someone please help me , please??
  15. Okay so I cannot connect to my server and I have already -portforwarded correctly. -coded the client to my servers no-ip I don't know what else I am missing. please help. skype - Rizen255 contact me anytime or reply on this. I have team viewer as well
  16. Title above^^^ that's my problem , i wanna play a server and everyone is saying to me the server works and is online but not for me , i try'd to re install java and such ( java 7 55 ) , also deleted the cache more than 7 times . Thank you in advance for any help you can provide.
  17. L2rUN FOR ME


    For some reason, I have port 5555 open, runelocus says my server is online, canuseeme says port is open, but when I try to log in through my client it says No response from server. Please try using a different world and theirs say error connecting to server. I can connect through Since it's hosted off my internet. But not my no-ip.
  18. Hi guys, I'm having serious troubles getting the webclient to work. It says that it's requesting title screen, but then gives me a connection error. After Googling some about it - It seems like it could be a problem with the cache? Even though I've specified the path in both server.java and client.java. It also downloads the client. However, I've seen some people saying it might download the cache in directory B when it should have been in directory A. Just an example. I can help out with something in return with websites if someone can please help me with this?
  19. I cant connect to the vps to play my vanity source but if i run trisidiax3 (horrible just testing connection) it will play however if i use localhost i can play my vanity source i cant see the problem please help. Skype tanxx_pure
  20. Hey! I just added a ton of shops to my server and they were all working fine, but now all of a sudden whenever I click on any shop.. I get Connection Lost! What happened?! I don't wanna have to go back and remove and re-add all my shops again. How can I fix this? Error I get in: java.lang.ArrayIndexOutOfBoundsException: -86 at client.parseLincomingPakcets<clients.java:17914> at client.packetProcess<client.java:17914> at client.packetSending<client.java:17867> at PlayerHandler.process<PlayerHandler.java:153> at server.main<server.java:49> pimpscape Server [fatal] - exception *The -86 number changes depending on the shop I click on.. Other shops I get -93, -95.. etc*.. Whats wrong!!? PLEASE HELP!
  21. Hello there, I downloaded Serenity 747 earlier and I changed everything that I could. After all that I turned on the source and it turned on perfect. So I loaded the client it loaded perfect. I typed in my username and pass and clicked login. And it loaded to 100% and then says Connection lost. Everytime. It's annoying... If someone can help I would appreciate it. Message me. Please.
  22. So i can connect to my server when i use the ip but when i set it to my actual ip address or use the no-ip.biz address it wont work. i portfowarded and did inbound and outbound rules still nothing. can anyone help me?
  23. Erm, I've searched and searched for what is causing this problem but to no avail. I've tried path, firewalls, turning internet off and trying to run it, class path, etc... Has anyone had this problem and know how to fix it? [ATTACH=CONFIG]8883[/ATTACH]
  24. Oxi

    Help with Connection.

    Problem done /close or /delete.
  25. i have updated all the compliers and run's there working prefectly fine , but the client will pop up and get a connection error and won't load up.