Jump to content

Search the Community

Showing results for tags 'clientwebclient'.



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 3 results

  1. Hello, so i got a 667 client, everytime when some 1 else run the .jar client on their computer they get this error: [IMG]http://i.imgur.com/x0nSvaP.png[/IMG] I do not know how to fix this :( or maybie iam doing something wrong when making the .jar thing Another thing when I want to start the Webclient with this .jar file ( uploaded to dropbox ) i get this error [IMG]http://i.imgur.com/qwRTkjG.png[/IMG] [IMG]http://i.imgur.com/YcqdGjZ.png[/IMG] The Client (.jar) is working perfect on my computer but the webclient dont work on my computer MORE INFO: I compile the client before making it .jar with jdk1.6.0_45 (i did it with the newest but also no change) I use this HTML code for the webclient [url]https://dl.dropboxusercontent.com/u/106603353/webclient.rar[/url]
  2. Okay. The client get's stuck at "Connecting to update" I have the port open, canyouseeme.org can see it. They connect from MY ip. If I try and connect from 127.0.0.1 it does not work as well. EDIT: SOMETHING IN THE CODE BELOW STOPS THE CLIENT FROM CONNECTION, AS IT WORKS FROM A CLEAN, UNTOUCHED CLIENT. First let me post the tutorial I followed. 1. Make a new Java class named CacheDownloader and paste this into it. Cache link and names posted are correct [CODE]import java.io.*; import java.net.URL; import java.net.URLConnection; import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; public class CacheDownloader { private static cacheGUI gui; private static final int BUFFER = 1024; /* * Only things that should be edited */ private static final int VERSION = 1; private static String cacheName = "cache"; private static String cacheLink = "http://dl.dropbox.com/u/94342549/cache.zip"; private static String fileToExtract = getCacheDir() + getArchivedName(); private static String getCacheDir() { return System.getProperty("user.home") + "/" + cacheName + "/"; } private static String getCacheLink() { return cacheLink; } private static boolean setCacheVersion(int v) { try { File file = new File(getCacheDir() + "version.dat"); if (file.exists()) { file.delete(); } DataOutputStream dataoutputstream = new DataOutputStream(new FileOutputStream(getCacheDir() + "version.dat")); dataoutputstream.writeInt(v); dataoutputstream.close(); return true; } catch (Exception e) { return false; } } private static int getCacheVersion() { File versionFile = new File(getCacheDir() + "version.dat"); if (!versionFile.exists()) return -1; try { DataInputStream datainputstream = new DataInputStream(new FileInputStream(getCacheDir() + "version.dat")); int i = datainputstream.readInt(); datainputstream.close(); return i; } catch (Exception _ex) { return -1; } } public static CacheDownloader downloadCache() { try { File location = new File(getCacheDir()); if (!location.exists()) { boolean check = location.mkdir(); if (!check) return null; gui = new cacheGUI(); setInfoLabel("Downloading Cache..."); downloadFile(getCacheLink(), getArchivedName()); unZip(); setCacheVersion(VERSION); } else { if (getCacheVersion() < VERSION) { gui = new cacheGUI(); setInfoLabel("Downloading Cache..."); downloadFile(getCacheLink(), getArchivedName()); unZip(); setCacheVersion(VERSION); } else { return null; } } } catch (Exception e) { return null; } return null; } private static void downloadFile(String adress, String localFileName) { OutputStream out = null; URLConnection conn; InputStream in = null; try { URL url = new URL(adress); out = new BufferedOutputStream(new FileOutputStream(getCacheDir() + "/" + localFileName)); conn = url.openConnection(); in = conn.getInputStream(); byte[] data = new byte[BUFFER]; int numRead; long numWritten = 0; int length = conn.getContentLength(); while ((numRead = in.read(data)) != -1) { out.write(data, 0, numRead); numWritten += numRead; int percentage = (int) (((double) numWritten / (double) length) * 100D); updateProgressBar(percentage, "Downloaded " + (double) (numWritten / (1024 * 1024)) + " MB of " + (double) (length / (1024 * 1024)) + " MB"); } setInfoLabel("Extracting cache, Please wait!"); } catch (Exception exception) { exception.printStackTrace(); } finally { try { if (in != null) { in.close(); } if (out != null) { out.close(); } } catch (IOException ioe) { } } } private static String getArchivedName() { int lastSlashIndex = getCacheLink().lastIndexOf('/'); if (lastSlashIndex >= 0 && lastSlashIndex < getCacheLink().length() - 1) { return getCacheLink().substring(lastSlashIndex + 1); } else { System.err.println("error retreiving archivaed name."); } return ""; } private static void unZip() { try { InputStream in = new BufferedInputStream(new FileInputStream(fileToExtract)); ZipInputStream zin = new ZipInputStream(in); ZipEntry e; while ((e = zin.getNextEntry()) != null) { if (e.isDirectory()) { (new File(getCacheDir() + e.getName())).mkdir(); } else { if (e.getName().equals(fileToExtract)) { unzip(zin, fileToExtract); break; } unzip(zin, getCacheDir() + e.getName()); } } zin.close(); File cache = new File(fileToExtract); gui.dispose(); cache.delete(); } catch (Exception e) { e.printStackTrace(); } } private static void unzip(ZipInputStream zin, String s) throws IOException { FileOutputStream out = new FileOutputStream(s); byte[] b = new byte[BUFFER]; int len = 0; while ((len = zin.read(b)) != -1) { out.write(b, 0, len); } out.close(); } public static void setInfoLabel(String text) { if (gui != null) gui.labelInfo.setText(text); } public static void updateProgressBar(int amount, String text) { if (gui != null) gui.progressBar.setValue(amount); gui.progressBar.setString(text); } public static class cacheGUI extends javax.swing.JFrame { public cacheGUI() { initComponents(); setLocationRelativeTo(null); setVisible(true); } private void initComponents() { progressBar = new javax.swing.JProgressBar(); labelInfo = new javax.swing.JLabel(); setTitle("Cache Downloader"); setResizable(false); setAlwaysOnTop(true); setDefaultCloseOperation(javax.swing.WindowConstants.DO_NOTHING_ON_CLOSE); progressBar.setStringPainted(true); labelInfo.setHorizontalAlignment(javax.swing.SwingConstants.CENTER); labelInfo.setText("Download Cache..."); javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane()); getContentPane().setLayout(layout); layout.setHorizontalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(layout.createSequentialGroup() .addContainerGap() .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addComponent(progressBar, javax.swing.GroupLayout.DEFAULT_SIZE, 241, Short.MAX_VALUE) .addComponent(labelInfo, javax.swing.GroupLayout.DEFAULT_SIZE, 241, Short.MAX_VALUE)) .addContainerGap()) ); layout.setVerticalGroup( layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING) .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup() .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE) .addComponent(labelInfo) .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED) .addComponent(progressBar, javax.swing.GroupLayout.PREFERRED_SIZE, 24, javax.swing.GroupLayout.PREFERRED_SIZE) .addContainerGap()) ); pack(); } private javax.swing.JLabel labelInfo; private javax.swing.JProgressBar progressBar; } }[/CODE] 2. In client.java, replace public static void main(String[] arg0) with [CODE]public static void main(String[] arg0) { try { try { Class93.anInt1227 = 0; Class1_Sub7.anInt3581 = 2; Class214.anInt3138 = 0; Class1_Sub7_Sub1.anInt5208 = 0; Class165.method2414(Class1_Sub7_Sub1.anInt5208, (byte) 53); Class131_Sub24.aBoolean4472 = false; Class112.aBoolean1447 = false; Class126.anInt1696 = 0; Class131_Sub41.anInt4669 = 0; Class131_Sub2_Sub21.anInt5848 = Class126.anInt1696; Class131_Sub2_Sub22.anInt5863 = 0; Class23_Sub2_Sub2.aString5186 = ""; CacheDownloader.downloadCache(); client var_client = new client(); Class131_Sub2_Sub39.aClient6084 = var_client; var_client.method40((byte) 39, 562, 29, 32 - -Class214.anInt3138, 503, false, 765, "runescape"); Class158.aFrame2095.setLocation(40, 40); } catch (Exception exception) { Class45.method563(null, exception, 0); } anInt3477++; } catch (RuntimeException runtimeexception) { throw Class131_Sub2_Sub6.method1495(runtimeexception, ("client.main(" + (arg0 != null ? "{...}" : "null") + ')')); } }[/CODE] 3. Replace public void init() with [CODE]public void init() { try { anInt3465++; if (this.method51((byte) -61)) { Class93.anInt1227 = 66; Class1_Sub7.anInt3581 = 0; Class214.anInt3138 = 0; Class1_Sub7_Sub1.anInt5208 = 0; Class165.method2414(Class1_Sub7_Sub1.anInt5208, (byte) 53); Class112.aBoolean1447 = false; Class131_Sub24.aBoolean4472 = false; Class126.anInt1696 = 0; Class131_Sub2_Sub22.anInt5863 = 0; Class160.aString2128 = "http://www.google.com/";//The Quit URL Class23_Sub2_Sub2.aString5186 = ""; Class131_Sub41.anInt4669 = 0; Class131_Sub2_Sub21.anInt5848 = 0; CacheDownloader.downloadCache(); Class131_Sub2_Sub39.aClient6084 = this; this.method36(503, (byte) 76, Class214.anInt3138 + 32, 765, 562); } } catch (RuntimeException runtimeexception) { throw Class131_Sub2_Sub6.method1495(runtimeexception, "client.init(" + ')'); } }[/CODE] Now in Signlink.java search for public static File method2685(boolean arg0, int arg1, String arg2, String arg3) and replace that whole method with [CODE]public static File method2685(boolean arg0, int arg1, String arg2, String arg3) { try { if (arg0 != true) return null; File file = (File) aHashtable2889.get(arg3); if (null != file) return file; String[] strings = { System.getProperty("user.home") }; String[] strings_1_ = {new StringBuilder().append("/CACHENAME").toString()}; for (int i = 0; (i ^ 0xffffffff) > -3; i++) { for (int i_2_ = 0; (strings_1_.length ^ 0xffffffff) < (i_2_ ^ 0xffffffff); i_2_++) { for (int i_3_ = 0; strings.length > i_3_; i_3_++) { String string = new StringBuilder().append(strings[i_3_]).append(strings_1_[i_2_]).append("/").append(arg3).toString(); RandomAccessFile randomaccessfile = null; File file_4_; try { File file_5_ = new File(string); if (0 == i && !file_5_.exists()) continue; String string_6_ = strings[i_3_]; if (1 == i && (string_6_.length() ^ 0xffffffff) < -1 && !new File(string_6_).exists()) continue; new File(new StringBuilder().append(strings[i_3_]).append(strings_1_[i_2_]).toString()).mkdir(); if (arg2 != null) new File(new StringBuilder().append(strings[i_3_]).append(strings_1_[i_2_]).append("/").append(arg2).toString()).mkdir(); randomaccessfile = new RandomAccessFile(file_5_, "rw"); int i_7_ = randomaccessfile.read(); randomaccessfile.seek(0L); randomaccessfile.write(i_7_); randomaccessfile.seek(0L); randomaccessfile.close(); aHashtable2889.put(arg3, file_5_); file_4_ = file_5_; } catch (Exception exception) { try { if (randomaccessfile != null) { randomaccessfile.close(); Object object = null; } } catch (Exception exception_8_) { /* empty */ } continue; } return file_4_; } } } throw new RuntimeException(); } catch (RuntimeException runtimeexception) { throw runtimeexception; } }[/CODE] 5. Now open up applet_sub1.java and search for public void method36(int arg0, byte arg1, int arg2, int arg3, int arg4) In that method, you will find a piece of code that looks like this [CODE]Class131_Sub13.aSignLink_4259 = Class23_Sub4.aSignLink_3734 = new SignLink(this, arg2, null, 0);[/CODE] replace this with [CODE]Class131_Sub13.aSignLink_4259 = Class23_Sub4.aSignLink_3734 = new SignLink(this, arg2, null, 29);[/CODE] Here is my client files: [url]http://dl.dropbox.com/u/94342549/client.zip[/url] It's set to localhost.
  3. Hey guys, need help making a webclient, iv been scammed twice while trying to get ppl to help me.... :L i have two main problems.... 1. i dont know where to start with the webclient :L 2. when i copy a HTML code from internet, it always say cannot find main class Gui and another one... my client.jar always says cannot find main class Gui.jar i have watched atleast 1gb downloads worth of "how to make a webclient" and "how to make a client.jar" videos, so if some one could help me, id be so grateful, will ++REP
×