Thread: RuneScape Wildy/FT AutoVoter - Let's bring back wildy Rune-Server!

Results 1 to 5 of 5
  1. #1 RuneScape Wildy/FT AutoVoter - Let's bring back wildy Rune-Server! 
    Registered Member
    Join Date
    Nov 2009
    Posts
    9
    Thanks given
    0
    Thanks received
    4
    Rep Power
    0
    [Copy + pasted from my thread as "Hustle" on RL:

    My desire towards bringing back wilderness and free trade is GREAT.
    I want every RuneScape-related community to use Enfilade's AutoVoter!
    What this nerd gadgetmajig does:
    This program will allow you to generate valid RuneScape usernames and then use them to vote "YES" on the new petition to bring free trading and the old wilderness back.

    It will also connect to the RuneScape website using a proxy. Click the "Find a proxy" link in the program window to pick one off of the list.

    Pictures:




    Source:
    Code:
    import java.awt.Cursor;
    import java.awt.Desktop;
    import java.awt.event.MouseAdapter;
    import java.awt.event.MouseEvent;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    import java.io.OutputStreamWriter;
    import java.net.HttpURLConnection;
    import java.net.InetSocketAddress;
    import java.net.Proxy;
    import java.net.URL;
    import java.net.URLEncoder;
    import java.util.ArrayList;
    import java.util.regex.Matcher;
    import java.util.regex.Pattern;
    
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.*;
    
    public class RSVoter extends JFrame implements Runnable {
    
        private static final Pattern pattern = Pattern.compile("<td class=\"alL\"><a href=\"hiscorepersonal\\.ws\\?user1=[^\"]+\">([^<]+)</a></td>");
    
        public RSVoter() {
            initComponents();
            setLocationRelativeTo(null);
            proxyLink.setCursor(Cursor.getPredefinedCursor(Cursor.HAND_CURSOR));
        }
    
        @SuppressWarnings("unchecked")
        // <editor-fold defaultstate="collapsed" desc="Generated Code">
        private void initComponents() {
    
            lookupDD = new JComboBox();
            jLabel1 = new JLabel();
            jLabel2 = new JLabel();
            rankBox = new JTextField();
            jLabel3 = new JLabel();
            ipBox = new JTextField();
            jLabel4 = new JLabel();
            jLabel5 = new JLabel();
            portBox = new JTextField();
            startButton = new JButton();
            stopButton = new JButton();
            jLabel6 = new JLabel();
            usernameLabel = new JLabel();
            jLabel8 = new JLabel();
            statusLabel = new JLabel();
            proxyLink = new JLabel();
    
            setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            setTitle("Enfilade's Vote Spoofer");
            setResizable(false);
    
            lookupDD.setModel(new DefaultComboBoxModel(new String[] { "Overall (Total Levels)", "Attack", "Defence", "Strength", "Constitution", "Ranged", "Prayer", "Magic", "Cooking", "Woodcutting", "Fletching", "Fishing", "Firemaking", "Crafting", "Smithing", "Mining", "Herblore", "Agility", "Thieving", "Slayer", "Farming", "Runecrafting", "Hunter", "Construction", "Summoning", "Dungeoneering" }));
    
            jLabel1.setText("Retrieve names from:");
    
            jLabel2.setText("Starting rank:");
    
            rankBox.setText("500000");
    
            jLabel3.setText("Proxy Settings:");
    
            ipBox.setHorizontalAlignment(JTextField.RIGHT);
            ipBox.setText("222.88.40.6");
    
            jLabel4.setText("IP:");
    
            jLabel5.setText("Port Number:");
    
            portBox.setHorizontalAlignment(JTextField.RIGHT);
            portBox.setText("8080");
    
            startButton.setText("Start Voting!");
            startButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent evt) {
                    startButtonActionPerformed(evt);
                }
            });
    
            stopButton.setText("Stop Voting");
            stopButton.setEnabled(false);
            stopButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent evt) {
                    stopButtonActionPerformed(evt);
                }
            });
    
            jLabel6.setText("Last used username:");
    
            usernameLabel.setText("N/A");
    
            jLabel8.setText("Status:");
    
            statusLabel.setText("N/A");
    
            proxyLink.setText("<html><a href=\"http://www.hidemyass.com/proxy-list/\">Find a proxy</a></html>");
            proxyLink.addMouseListener(new MouseAdapter() {
                public void mouseClicked(MouseEvent evt) {
                    proxyLinkMouseClicked(evt);
                }
            });
    
            org.jdesktop.layout.GroupLayout layout = new org.jdesktop.layout.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(layout.createSequentialGroup()
                    .addContainerGap()
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                        .add(lookupDD, 0, 173, Short.MAX_VALUE)
                        .add(jLabel1)
                        .add(jLabel2)
                        .add(rankBox, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 173, Short.MAX_VALUE)
                        .add(jLabel3)
                        .add(org.jdesktop.layout.GroupLayout.TRAILING, layout.createSequentialGroup()
                            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                                .add(jLabel4)
                                .add(jLabel5))
                            .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.TRAILING, false)
                                .add(portBox)
                                .add(ipBox, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 105, Short.MAX_VALUE)))
                        .add(proxyLink)
                        .add(layout.createSequentialGroup()
                            .add(10, 10, 10)
                            .add(statusLabel))
                        .add(layout.createSequentialGroup()
                            .add(10, 10, 10)
                            .add(usernameLabel))
                        .add(startButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 173, Short.MAX_VALUE)
                        .add(stopButton, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, 173, Short.MAX_VALUE)
                        .add(jLabel6)
                        .add(jLabel8))
                    .addContainerGap())
            );
            layout.setVerticalGroup(
                layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(layout.createSequentialGroup()
                    .addContainerGap()
                    .add(jLabel1)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(lookupDD, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jLabel2)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(rankBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jLabel3)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(ipBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE)
                        .add(jLabel4))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(layout.createParallelGroup(org.jdesktop.layout.GroupLayout.BASELINE)
                        .add(jLabel5)
                        .add(portBox, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE, org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, org.jdesktop.layout.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(proxyLink)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(startButton)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(stopButton)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jLabel6)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(usernameLabel)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(jLabel8)
                    .addPreferredGap(org.jdesktop.layout.LayoutStyle.RELATED)
                    .add(statusLabel)
                    .addContainerGap(org.jdesktop.layout.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
            );
    
            pack();
        }// </editor-fold>
    
        private void startButtonActionPerformed(ActionEvent evt) {
            new Thread(this).start();
        }
    
        private void stopButtonActionPerformed(ActionEvent evt) {
            stop = true;
        }
    
        private void proxyLinkMouseClicked(MouseEvent evt) {
            try {
                URL link = new URL("http://www.hidemyass.com/proxy-list/");
                Desktop.getDesktop().browse(link.toURI());
            } catch(Exception e) {
                alert("An error occured while opening the link.\nVisit http://www.hidemyass.com/proxy-list/ manually.");
            }
        }
    
        public static void main(String args[]) {
            try {
                UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
            } catch(Exception e) {}
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    RSVoter voterFrame = new RSVoter();
                    voterFrame.setVisible(true);
                }
            });
        }
    
        private boolean stop;
    
        public void run() {
            int portNumber;
            try {
                portNumber = Integer.parseInt(portBox.getText());
            } catch(NumberFormatException e) {
                alert("The port number must be an integer number!");
                return;
            }
            final Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress(ipBox.getText(), portNumber));
            final int skill = lookupDD.getSelectedIndex();
            int rank;
            try {
                rank = Integer.parseInt(rankBox.getText());
                if(rank < 1 || rank > 999978) {
                    alert("The starting rank must be greater than 1\nand less than 999978.");
                    return;
                }
            } catch(NumberFormatException e) {
                alert("The starting rank must be an integer number!");
                return;
            }
            stop = false;
            stopButton.setEnabled(true);
            startButton.setEnabled(false);
            String username;
            ArrayList<String> list = new ArrayList<String>(22);
            while(!stop) {
                try {
                    if(list.isEmpty()) {
                        if(rank < 1) {
                            alert("Out of names. Please choose a different skill!");
                            break;
                        }
                        statusLabel.setText("Loading usernames...");
                        URL highscoreURL = new URL("http://services.runescape.com/m=hiscore/overall.ws?rank=" + rank + "&table=" + skill + "&scroll=true&category_type=0");
                        HttpURLConnection c = (HttpURLConnection)highscoreURL.openConnection(proxy);
                        c.setDoInput(true);
                        BufferedReader in = new BufferedReader(new InputStreamReader(c.getInputStream()));
                        String line;
                        Matcher m;
                        while((line = in.readLine()) != null) {
                            m = pattern.matcher(line);
                            if(m.find())
                                list.add(m.group(1));
                        }
                        in.close();
                        c.disconnect();
                        rank -= 22;
                        rankBox.setText("" + rank);
                    }
                    username = list.remove(0);
                    usernameLabel.setText(username);
                    statusLabel.setText("Voting...");
                    String data = URLEncoder.encode("name", "UTF-8") + "=" +
                            URLEncoder.encode(username, "UTF-8") + "&" +
                            URLEncoder.encode("submit", "UTF-8") + "=" + URLEncoder.encode("vote", "UTF-8") +
                            URLEncoder.encode("submit", "UTF-8") + "=";
                    URL urlToVote = new URL("http://runescape.com/m=poll/wildy.ws");
                    HttpURLConnection connection = (HttpURLConnection)urlToVote.openConnection(proxy);
                    connection.setRequestMethod("POST");
                    connection.setDoOutput(true);
                    OutputStreamWriter wr = new OutputStreamWriter(connection.getOutputStream());
                    wr.write(data);
                    wr.flush();
                    wr.close();
                    statusLabel.setText("Voted. Waiting for response...");
                    connection.getResponseMessage();
                    connection.disconnect();
                    statusLabel.setText("Server response received.");
                } catch(IOException e) {
                    statusLabel.setText("Vote failed.");
                }
            }
            statusLabel.setText("Done.");
            stopButton.setEnabled(false);
            startButton.setEnabled(true);
        }
    
        public void alert(String message) {
            JOptionPane.showMessageDialog(this, message);
        }
    
        // Variables declaration - do not modify
        private JTextField ipBox;
        private JLabel jLabel1;
        private JLabel jLabel2;
        private JLabel jLabel3;
        private JLabel jLabel4;
        private JLabel jLabel5;
        private JLabel jLabel6;
        private JLabel jLabel8;
        private JComboBox lookupDD;
        private JTextField portBox;
        private JLabel proxyLink;
        private JTextField rankBox;
        private JButton startButton;
        private JLabel statusLabel;
        private JButton stopButton;
        private JLabel usernameLabel;
        // End of variables declaration
    
    }
    Please download this at:


    WE CAN GET THE WILDERNESS BACK PEEPS!
    SPREAD WORD ON LINK!


    Note: The .jar applet must be in the SAME folder as the lib, it loads from THERE.
    I advise running 5 or more at a time, they use 4kbps, which was proven in a few tests.
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Nov 2009
    Posts
    9
    Thanks given
    0
    Thanks received
    4
    Rep Power
    0
    ♥♥♥♥
    Reply With Quote  
     

  3. #3  
    Registered Member HenryL's Avatar
    Join Date
    Sep 2009
    Posts
    342
    Thanks given
    6
    Thanks received
    5
    Rep Power
    1
    nice ip.
    lol
    Reply With Quote  
     

  4. #4  
    Registered Member
    Kelvin's Avatar
    Join Date
    Jun 2007
    Posts
    1,433
    Thanks given
    48
    Thanks received
    33
    Rep Power
    269
    Quote Originally Posted by HenryL View Post
    nice ip.
    so? you can't do shit with his ip anyway.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Nov 2009
    Posts
    9
    Thanks given
    0
    Thanks received
    4
    Rep Power
    0
    Quote Originally Posted by HenryL View Post
    nice ip.
    It's the proxy's DEFAULT IP, dumbfuck.
    Goob job of making an ass of yourself..
    Reply With Quote  
     

  6. Thankful user:



Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. Free Trade & Wildy Autovoter.
    By Mr Chainsaw in forum Guides
    Replies: 25
    Last Post: 02-04-2011, 04:50 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •