public void getOutfit(String user, String pass)
    {
        int tor[];
        if (offline)
        {
            StringTokenizer st = new StringTokenizer(p.getProperty("outfit"),",");
                int total = st.countTokens()/3;
                for (int i = 0; i < total; i++)
                {
                    APPLET.Clothing[i] = Byte.parseByte(st.nextToken());
                }
                for (int i = 0; i < total; i++)
                {
                    APPLET.Colors[i] = Integer.parseInt(st.nextToken());
                }
                 for (int i = 0; i < total; i++)
                {
                    APPLET.Colors2[i] = Integer.parseInt(st.nextToken());
                }
                 return;
        }
        try {
            //String userQuery = "SELECT User,Pass FROM Accounts WHERE User = '"+user+"' AND Pass='"+pass+"' AND Active=1";
            //ArrayList<String> signin = log(Susername, Spassword, "jdbc:mysql://SQL09.FREEMYSQL.NET/waffles", userQuery); 
            //return signin.size()>1?true:false;
            URL steve = new URL(base+"/getOutfit.php?username="+user+"&password="+pass);
            String req = null;
            try (Scanner read = new Scanner(steve.openStream())) {
                req = read.next();
                read.close();
            } catch (IOException ex) {
                Logger.getLogger(ConnectToDatabase.class.getName()).log(Level.SEVERE, null, ex);
            }
           // System.out.println(req);
                StringTokenizer st = new StringTokenizer(req,",");
                int total = st.countTokens()/3;
                for (int i = 0; i < total; i++)
                {
                    APPLET.Clothing[i] = Byte.parseByte(st.nextToken());
                }
                for (int i = 0; i < total; i++)
                {
                    APPLET.Colors[i] = Integer.parseInt(st.nextToken());
                }
                 for (int i = 0; i < total; i++)
                {
                    APPLET.Colors2[i] = Integer.parseInt(st.nextToken());
                }
                //System.out.println(tor);
        } catch (MalformedURLException | NumberFormatException ex) {
            error(ex);
        
        }
    }