Page 2 of 4 FirstFirst 1234 LastLast
Results 26 to 50 of 90

Thread: Runescape Loader.

  1. #26
    Join Date
    Feb 2007
    Posts
    287
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Quote Originally Posted by weequ View Post
    The point of that video was that they 'click' collect before they can even see the item. Watch them instantly stop when I collect the item. My point is that that bot doesn't seem to actually use clicking. Should be super easy for jagex to detect though.
    all hope of packet based botting ended with rs2.

    If you ever used arga, it had the same ability as the bots in the video, and I'm pretty sure that is what you saw there. More or less the bot interfaced with the client to act as if it right clicked and clicked pick up as soon as the item was detected. I remember the actual method used for scripting this was really nice for opening doors around the game ahaha

  2. #27
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Quote Originally Posted by quazzymodem View Post
    all hope of packet based botting ended with rs2.

    If you ever used arga, it had the same ability as the bots in the video, and I'm pretty sure that is what you saw there. More or less the bot interfaced with the client to act as if it right clicked and clicked pick up as soon as the item was detected. I remember the actual method used for scripting this was really nice for opening doors around the game ahaha
    Ok thanks for the response

    Btw when was arga around? I can only hardly remember the name.
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  3. #28
    Join Date
    Feb 2007
    Posts
    287
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    It was the first working bot after the earlier 'clusterfutter' that killed aryan. I think it was Taois who developed it, I know PplSuqBlz was involved with the client interfacing aspects.

  4. #29
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Quote Originally Posted by quazzymodem View Post
    It was the first working bot after the earlier 'clusterfutter' that killed aryan. I think it was Taois who developed it, I know PplSuqBlz was involved with the client interfacing aspects.
    Cool. I remember using aryan but I have no-idea how it worked. Please tell me if you know
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  5. #30
    Join Date
    Sep 2011
    Posts
    20
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    To the OP: If you could, I would like a copy of the source so that I can learn how to make a loader. (I learn by reading and doing) Especially since I'm in college to be a programmer and programming is my passion. If you would send me a link to the source I would be forever grateful. Thanks,
    Chandlerethan.
    BTW If you do send me a link, I swear under oath to not disclose the link or any of the contents to ANYONE AT ALL.

  6. #31
    Join Date
    Oct 2010
    Posts
    180
    Mentioned
    0 Post(s)
    Quoted
    11 Post(s)

    Default

    nice work!

  7. #32
    Join Date
    Nov 2010
    Posts
    305
    Mentioned
    0 Post(s)
    Quoted
    6 Post(s)

    Default

    I'm quite sure whenever you send a packet with WPE Pro into Runescape you get a disconnect, therefore impossible? Correct me when I'm wrong, I tried to send sometimes a packet and disconnected.

  8. #33
    Join Date
    Feb 2007
    Posts
    287
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    Aryan was basically the first well working injection bot, the update that killed it required a new way to deob the client (very similar to clusterfutter) but the bot I was talking about was ARGA and if i remember correctly that spawned a few other communities like rs-resources that eventually lead to rsbot (pre powerbot days, different devs) ? They were in direct competition with impsoft (which had a very very shitty bot at the time) with that competition it allowed for lots of nice innovations to be made. Someone even wrote a script that allowed others to write really simple scripts for arga..scripts kinda looked like this if you had this plugin script thingy

    Login (details)
    Walk to (xx,yy)
    Cut tree (type)
    Bank (locatin)
    Repeat

    the best part was it worked almost flawlessly too :P

  9. #34
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    433
    Mentioned
    1 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by quazzymodem View Post
    It was the first working bot after the earlier 'clusterfutter' that killed aryan. I think it was Taois who developed it, I know PplSuqBlz was involved with the client interfacing aspects.
    Taios and Zappacky.

    But umm, about rs2 ending packet based botting, I believe you are wrong, RSDemon was (to my knowledge) 100% packet based and it pretty much raped the F2P trees for around a year.

    And what you referring to above in your last post, would be textscript -engine, textscript was widely supported form of script in RS1 bots.

  10. #35
    Join Date
    Dec 2007
    Location
    FL, USA
    Posts
    149
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    It would be great for a release, or even a customizable release that has other things incorporated into it

    kinda like swiftkit but better cuz its SRL :P

    also wondering is it possible to code the java for possible a mobile runescape client that we could actually play?!
    YAKKY

    LEGEND....WAIT FOR IT..........DARY!!!

  11. #36
    Join Date
    Feb 2009
    Location
    inside Hello World! Application
    Posts
    232
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    :P barebone client for rs would be faster then Firefox and other browsers and also swiftkit :/ Would be awesome to release ^^ i'd make side part for Text like Notepad thingy
    I'm not a lesser Being imma Lesser demon


    http://i.imgur.com/faGr0.png << First Script With Paint. Good First proggy? exp 21k/hr is ok pretty buggy

  12. #37
    Join Date
    Dec 2011
    Location
    Belgium
    Posts
    623
    Mentioned
    0 Post(s)
    Quoted
    3 Post(s)

    Default

    nice!
    Yes you should release it

    Made by P1ng

  13. #38
    Join Date
    Sep 2010
    Location
    Northern Kentuckeh
    Posts
    759
    Mentioned
    0 Post(s)
    Quoted
    1 Post(s)

    Default

    I'd love to use it as well.
    Quote Originally Posted by h_king1998 View Post
    how come it does not bank in al-kharid when i do mine 1 drop 1

  14. #39
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Source with runnable jar attached.

    Have fun.

  15. #40
    Join Date
    Nov 2011
    Location
    In your bed ;)
    Posts
    123
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    why is jagexs client bad? i use it all the time and its pretty good

  16. #41
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by dgpro View Post
    why is jagexs client bad? i use it all the time and its pretty good

    I dislike installers and It isn't portable.

  17. #42
    Join Date
    Feb 2009
    Location
    inside Hello World! Application
    Posts
    232
    Mentioned
    0 Post(s)
    Quoted
    8 Post(s)

    Default

    Quote Originally Posted by wyn10 View Post
    I dislike installers and It isn't portable.
    also its made by jagex and kinda bulky and not very trusting :/

    /ot

    Thanks now i can have one more free tab on Firefox! ^^

    also about the coding you make the client seem as if it is Firefox to the client if i'm not mistaken becuase of that update RS did about only allowing certain Clients and browsers to run the Java Client right? (client or something .jar?)



    edit: 0.0
    Last edited by Swatarianess; 01-05-2012 at 01:51 PM.
    I'm not a lesser Being imma Lesser demon


    http://i.imgur.com/faGr0.png << First Script With Paint. Good First proggy? exp 21k/hr is ok pretty buggy

  18. #43
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by bro433 View Post
    also its made by jagex and kinda bulky and not very trusting :/

    /ot

    Thanks now i can have one more free tab on Firefox! ^^

    also about the coding you make the client seem as if it is Firefox to the client if i'm not mistaken becuase of that update RS did about only allowing certain Clients and browsers to run the Java Client right? (client or something .jar?)



    edit: 0.0
    You need JDK 7.

    http://www.oracle.com/technetwork/ja...d-1377129.html

    If that still doesn't solve your problem just compile it yourself.

    About the http headers its do to looking legit when grabbing/Loading the Loader. So if Jagex happens to at me up, to them I am using firefox and not a jar.
    Last edited by Wyn; 01-06-2012 at 04:54 AM.

  19. #44
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    I have same error as Bro433. I think your manifest file is wrong somehow.

    Quote Originally Posted by bro433 View Post
    also about the coding you make the client seem as if it is Firefox to the client if i'm not mistaken becuase of that update RS did about only allowing certain Clients and browsers to run the Java Client right?
    It uses the same user agent that firefox uses. Search for "addRequestProperty" in the source code.

    Edit: Also wyn do you think it matters if I don't load the splash2 image at all? Would that be detectable? (Making my own loader)
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  20. #45
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by weequ View Post
    I have same error as Bro433. I think your manifest file is wrong somehow.

    It uses the same user agent that firefox uses. Search for "addRequestProperty" in the source code.

    Edit: Also wyn do you think it matters if I don't load the splash2 image at all? Would that be detectable? (Making my own loader)
    Hmm. I'll try using a different Ide for making the Jar then..(Used Eclipse)

    The splash image was for giggles, if your using mine as a base be nice if you left me credit...

    Tell me if this works...Used BlueJ instead to make the jar...

  21. #46
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    Quote Originally Posted by wyn10 View Post
    Hmm. I'll try using a different Ide for making the Jar then..(Used Eclipse)

    The splash image was for giggles, if your using mine as a base be nice if you left me credit...

    Tell me if this works...Used BlueJ instead to make the jar...
    Well I wouldn't say I used yours as a base but it helped me enormously.

    Here is my loader. (Got to clean it up and maybe add Exception handling).
    Code:
    import java.applet.Applet;
    import java.applet.AppletContext;
    import java.applet.AppletStub;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.net.URLConnection;
    import java.util.HashMap;
    import java.util.Map;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    
    
    public class Main extends JFrame {
        
        URL codebase = null;
        private Map<String, String> parameters = new HashMap<String, String>();
        private JButton userInput;
        
        
        public Main() throws Exception {
            setTitle("Weequ's runescape loader");
            setLayout(new GridLayout());
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setPreferredSize(new Dimension(840, 680));
            pack();
            Applet applet = prepareApplet();
            add(applet);
            System.out.println(applet.toString());
            pack();
            setVisible(true);
            Component[] ca = applet.getComponents();
            for (Component c : ca) {
                System.out.println(c.toString());
            }
        }
        
        
        public String getLink() throws Exception{
     
            URL url = new URL("http://www.runescape.com/game.ws?j=1");
            System.out.println("Parsing "+url.toString());
            URLConnection spoof = url.openConnection();
            //Spoof the connection so we look like a web browser
            spoof.addRequestProperty("Host", url.getHost());
            spoof.addRequestProperty("Connection", "keep-alive");
            spoof.addRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7");
            spoof.addRequestProperty("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
            spoof.addRequestProperty("Accept-Encoding", "gzip,deflate,sdch");
            spoof.addRequestProperty("Accept-Language", "fi-FI,fi;q=0.8,en-US;q=0.6,en;q=0.4");
            spoof.addRequestProperty("Accept-Charset", "ISO-8859-1,utf-8;q=0.7,*;q=0.3");
            BufferedReader in = new BufferedReader(new InputStreamReader(spoof.getInputStream()));
            String strLine = "";
            while ((strLine = in.readLine()) != null){
                int index = strLine.indexOf("\"game\" src=\"");
                if (index == -1) continue;
                for (int index2 = index+12; index2 < strLine.length(); index2++) {
                    if (strLine.charAt(index2) == '"') return strLine.substring(index+12, index2);
                }
            }
            System.out.println("Failed parsin the link from http://www.runescape.com/game.ws?j=1");
            return null;
        }
        
        public String getArchive(String link) throws Exception {
            if (link == null) return null;
            System.out.println("Found the link. Parsing "+link);
            URL url = new URL(link);
            URLConnection spoof = url.openConnection();
            spoof.addRequestProperty("Host", url.getHost());
            spoof.addRequestProperty("Connection", "keep-alive");
            spoof.addRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7");
            spoof.addRequestProperty("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
            spoof.addRequestProperty("Referer", "http://www.runescape.com/game.ws?j=1");
            spoof.addRequestProperty("Accept-Encoding", "gzip,deflate,sdch");
            spoof.addRequestProperty("Accept-Language", "fi-FI,fi;q=0.8,en-US;q=0.6,en;q=0.4");
            spoof.addRequestProperty("Accept-Charset", "ISO-8859-1,utf-8;q=0.7,*;q=0.3");
            BufferedReader in = new BufferedReader(new InputStreamReader(spoof.getInputStream()));
            String result = null;
            String strLine = "";
            while ((strLine = in.readLine()) != null){
                if (result == null) {
                    int index = strLine.indexOf("archive=");
                    if (index == -1) continue;
                    for (int index2 = index+8; index2 < strLine.length(); index2++) {
                        if (strLine.charAt(index2) == '\'') result = strLine.substring(index+8, index2);
                    }
                } else {
                    int index = strLine.indexOf("<param name=\"");
                    if (index == -1) continue;
                    String key = null;
                    for (int index2 = index+13; index2 < strLine.length(); index2++) {
                        if (strLine.charAt(index2) == '"') {
                            key = strLine.substring(index+13, index2);
                            break;
                        }
                    }
                    if (key == null) continue;
                    index = strLine.indexOf("value=\"");
                    if (index == -1) continue;
                    String value = null;
                    for (int index2 = index+7; index2 < strLine.length(); index2++) {
                        if (strLine.charAt(index2) == '"') {
                            value = strLine.substring(index+7, index2);
                            break;
                        }
                    }
                    if (value == null) continue;
                    parameters.put(key, value);
                }
            }
            System.out.println(result);
            if (result == null) System.out.println("Failed to find gamepack from "+link);
            return result;
        }
        
        public final Applet prepareApplet() throws Exception {
            String link = getLink();
            String archive = getArchive(link);
            URL gamepack = new URL("http://"+new URL(link).getHost()+"/"+archive);
            codebase = new URL("http://"+gamepack.getHost());
            System.out.println("Loading the client with these parameters:");
            System.out.println(parameters.toString());
            final Applet applet = (Applet) new URLClassLoader(
    						new URL[] {gamepack})
    				.loadClass("Rs2Applet").newInstance();
            System.out.println("Client loaded. Setting AppletStub.");
            AppletStub stub = new AppletStub() {
    
                @Override
                public boolean isActive() {
                    System.out.println("Applet requested isActive.");
                    return true;
                }
    
                @Override
                public URL getDocumentBase() {
                    System.out.println("Applet requested DocumentBase. Returned "+codebase.toString());
                    return codebase;
                }
    
                @Override
                public URL getCodeBase() {
                    System.out.println("Applet requested CodeBase. Returned "+codebase.toString());
                    return codebase;
                }
    
                @Override
                public String getParameter(String name) {
                    String result = parameters.get(name);
                    System.out.println("Applet requested parameter name \""+name+"\". Returned "+result);
                    System.out.println("Applet requested DocumentBase. Returned "+codebase.toString());
                    return result;
                }
    
                @Override
                public AppletContext getAppletContext() {
                    System.out.println("Applet requested AppletContext.");
                    return null;
                }
    
                @Override
                public void appletResize(int width, int height) {
                    System.out.println("Applet requested to set the applet size to ("+width+", "+height+"). Doing so.");
                    applet.setSize(width, height);
                }
            };
            applet.setStub(stub);
            System.out.println("AppletStub set! Initializing applet.");
            applet.init();
            System.out.println("Applet Initialized! Starting applet.");
            applet.start();
            System.out.println("Applet Started!");
            return applet;       
        }
     
        public static void main(String[] args) throws Exception{
            new Main();
        }
    }
    Ah btw that's for finnish users because of this
    spoof.addRequestProperty("Accept-Language", "fi-FI,fi;q=0.8,en-US;q=0.6,en;q=0.4");


    Edit: your v2 didn't work.
    Last edited by weequ; 01-06-2012 at 05:34 AM.
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  22. #47
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    Quote Originally Posted by weequ View Post
    Well I wouldn't say I used yours as a base but it helped me enormously.

    Here is my loader. (Got to clean it up and maybe add Exception handling).
    Code:
    import java.applet.Applet;
    import java.applet.AppletContext;
    import java.applet.AppletStub;
    import java.awt.Component;
    import java.awt.Dimension;
    import java.awt.GridLayout;
    import java.io.BufferedReader;
    import java.io.InputStreamReader;
    import java.net.URL;
    import java.net.URLClassLoader;
    import java.net.URLConnection;
    import java.util.HashMap;
    import java.util.Map;
    import javax.swing.JButton;
    import javax.swing.JFrame;
    
    
    public class Main extends JFrame {
        
        URL codebase = null;
        private Map<String, String> parameters = new HashMap<String, String>();
        private JButton userInput;
        
        
        public Main() throws Exception {
            setTitle("Weequ's runescape loader");
            setLayout(new GridLayout());
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            setPreferredSize(new Dimension(840, 680));
            pack();
            Applet applet = prepareApplet();
            add(applet);
            System.out.println(applet.toString());
            pack();
            setVisible(true);
            Component[] ca = applet.getComponents();
            for (Component c : ca) {
                System.out.println(c.toString());
            }
        }
        
        
        public String getLink() throws Exception{
     
            URL url = new URL("http://www.runescape.com/game.ws?j=1");
            System.out.println("Parsing "+url.toString());
            URLConnection spoof = url.openConnection();
            //Spoof the connection so we look like a web browser
            spoof.addRequestProperty("Host", url.getHost());
            spoof.addRequestProperty("Connection", "keep-alive");
            spoof.addRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7");
            spoof.addRequestProperty("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
            spoof.addRequestProperty("Accept-Encoding", "gzip,deflate,sdch");
            spoof.addRequestProperty("Accept-Language", "fi-FI,fi;q=0.8,en-US;q=0.6,en;q=0.4");
            spoof.addRequestProperty("Accept-Charset", "ISO-8859-1,utf-8;q=0.7,*;q=0.3");
            BufferedReader in = new BufferedReader(new InputStreamReader(spoof.getInputStream()));
            String strLine = "";
            while ((strLine = in.readLine()) != null){
                int index = strLine.indexOf("\"game\" src=\"");
                if (index == -1) continue;
                for (int index2 = index+12; index2 < strLine.length(); index2++) {
                    if (strLine.charAt(index2) == '"') return strLine.substring(index+12, index2);
                }
            }
            System.out.println("Failed parsin the link from http://www.runescape.com/game.ws?j=1");
            return null;
        }
        
        public String getArchive(String link) throws Exception {
            if (link == null) return null;
            System.out.println("Found the link. Parsing "+link);
            URL url = new URL(link);
            URLConnection spoof = url.openConnection();
            spoof.addRequestProperty("Host", url.getHost());
            spoof.addRequestProperty("Connection", "keep-alive");
            spoof.addRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7");
            spoof.addRequestProperty("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8");
            spoof.addRequestProperty("Referer", "http://www.runescape.com/game.ws?j=1");
            spoof.addRequestProperty("Accept-Encoding", "gzip,deflate,sdch");
            spoof.addRequestProperty("Accept-Language", "fi-FI,fi;q=0.8,en-US;q=0.6,en;q=0.4");
            spoof.addRequestProperty("Accept-Charset", "ISO-8859-1,utf-8;q=0.7,*;q=0.3");
            BufferedReader in = new BufferedReader(new InputStreamReader(spoof.getInputStream()));
            String result = null;
            String strLine = "";
            while ((strLine = in.readLine()) != null){
                if (result == null) {
                    int index = strLine.indexOf("archive=");
                    if (index == -1) continue;
                    for (int index2 = index+8; index2 < strLine.length(); index2++) {
                        if (strLine.charAt(index2) == '\'') result = strLine.substring(index+8, index2);
                    }
                } else {
                    int index = strLine.indexOf("<param name=\"");
                    if (index == -1) continue;
                    String key = null;
                    for (int index2 = index+13; index2 < strLine.length(); index2++) {
                        if (strLine.charAt(index2) == '"') {
                            key = strLine.substring(index+13, index2);
                            break;
                        }
                    }
                    if (key == null) continue;
                    index = strLine.indexOf("value=\"");
                    if (index == -1) continue;
                    String value = null;
                    for (int index2 = index+7; index2 < strLine.length(); index2++) {
                        if (strLine.charAt(index2) == '"') {
                            value = strLine.substring(index+7, index2);
                            break;
                        }
                    }
                    if (value == null) continue;
                    parameters.put(key, value);
                }
            }
            System.out.println(result);
            if (result == null) System.out.println("Failed to find gamepack from "+link);
            return result;
        }
        
        public final Applet prepareApplet() throws Exception {
            String link = getLink();
            String archive = getArchive(link);
            URL gamepack = new URL("http://"+new URL(link).getHost()+"/"+archive);
            codebase = new URL("http://"+gamepack.getHost());
            System.out.println("Loading the client with these parameters:");
            System.out.println(parameters.toString());
            final Applet applet = (Applet) new URLClassLoader(
    						new URL[] {gamepack})
    				.loadClass("Rs2Applet").newInstance();
            System.out.println("Client loaded. Setting AppletStub.");
            AppletStub stub = new AppletStub() {
    
                @Override
                public boolean isActive() {
                    System.out.println("Applet requested isActive.");
                    return true;
                }
    
                @Override
                public URL getDocumentBase() {
                    System.out.println("Applet requested DocumentBase. Returned "+codebase.toString());
                    return codebase;
                }
    
                @Override
                public URL getCodeBase() {
                    System.out.println("Applet requested CodeBase. Returned "+codebase.toString());
                    return codebase;
                }
    
                @Override
                public String getParameter(String name) {
                    String result = parameters.get(name);
                    System.out.println("Applet requested parameter name \""+name+"\". Returned "+result);
                    System.out.println("Applet requested DocumentBase. Returned "+codebase.toString());
                    return result;
                }
    
                @Override
                public AppletContext getAppletContext() {
                    System.out.println("Applet requested AppletContext.");
                    return null;
                }
    
                @Override
                public void appletResize(int width, int height) {
                    System.out.println("Applet requested to set the applet size to ("+width+", "+height+"). Doing so.");
                    applet.setSize(width, height);
                }
            };
            applet.setStub(stub);
            System.out.println("AppletStub set! Initializing applet.");
            applet.init();
            System.out.println("Applet Initialized! Starting applet.");
            applet.start();
            System.out.println("Applet Started!");
            return applet;       
        }
     
        public static void main(String[] args) throws Exception{
            new Main();
        }
    }
    Ah btw that's for finnish users because of this
    spoof.addRequestProperty("Accept-Language", "fi-FI,fi;q=0.8,en-US;q=0.6,en;q=0.4");


    Edit: your v2 didn't work.
    Runs nicely, don't forget to center the window and Frame it :P

    And if V2 didn't work make me a jar . Cause both run fine for me.

  23. #48
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    I was making it for over 10 hours yesterday What you mean by framing it?
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

  24. #49
    Join Date
    Jun 2006
    Posts
    694
    Mentioned
    0 Post(s)
    Quoted
    31 Post(s)

    Default

    setPreferredSize(new Dimension(840, 680));

    =

    setPreferredSize(new Dimension(763, 504));


    .

    Can you make me a Jar with my source also? I don't see where my manifest is wrong, I tried two different Ide's lol.

  25. #50
    Join Date
    Nov 2006
    Posts
    2,369
    Mentioned
    4 Post(s)
    Quoted
    78 Post(s)

    Default

    wyn10 I have the same problem with the jar as you do. I think we will figure it out
    Last edited by weequ; 01-06-2012 at 06:08 AM.
    Quote Originally Posted by DeSnob View Post
    ETA's don't exist in SRL like they did in other communities. Want a faster update? Help out with updating, otherwise just gotta wait it out.

Page 2 of 4 FirstFirst 1234 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •