Jump to content

Google rapes Bing

  • Content count

  • Joined

  • Last visited

About Google rapes Bing

  • Rank
    Iron Member
  1. Add more Comments please. :) Also state your string arrays in your constructor XD
  2. Thanks for the link Stacx, this will help me with my code organization and also help me learn new things if I haven't learn them already or need to relearn them. :)
  3. lol I haven't changed this in a long time and no this wasn't matrix source *facepalm*. EDITING: Adding more commands in.
  4. Looks good but still need to add things I see; Maybe add more comments in your classes a bit to explain?
  5. Anyone have any other suggestions or problems with my code organization? Thank you, Steve. Thank you Stacx for reminding me of the rules of java and pointing out the problems. Arix, thank you for seeing things in different ways.
  6. I'm putting it as a field for right now even though I can fix that problem. I knew this already; I was not double checking my code and should have checked it over for that is my fault. I am still learning methods and other things involving java and I haven't taken a java course in a year. :(
  7. Stacx, i'll fix that thank you for your help. Like I said before this isn't the best but my organization of code is horrible. Stacx, I know it isn't a constructor I meant put something else I made this half-sleep sorry. :S Thank you for the link. :) Edited it [MENTION=444]Stacx[/MENTION]
  8. [quote name='ShishirG2']so funi lyk dis if u lauf evry tim[/QUOTE] Lmao true^
  9. Hey guys, Googlerapesbing here. I just wanted to share some code with you guys. If you have any suggestions I could do or can do post down below. This isn't complete at all because I still have to add other things to it. There are better ways of doing this but this is one way. The thread says it all. Enjoy :) [CODE]package net.xiduth.tools.security; import javax.swing.*; import java.sql.*;//Using SQL later on import java.awt.event.*; import java.awt.*; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; /** * [MENTION=52317]auth[/MENTION]or Kyle(Googlerapesbing) * */ public class Security extends JFrame implements ActionListener { /** * [MENTION=25984]serial[/MENTION] creates the generated number * [MENTION=59059]Text[/MENTION]Field creates a field for the user * [MENTION=5145]Password[/MENTION]Field creates a field for the user's password * @Labels states the entrance of either the user or password * [MENTION=133937]button[/MENTION] creates an ActionListener to login if it has the correct information */ private static final long serialVersionUID = 2573208763127585548L; JTextField userField; JPasswordField passField; JLabel username; JLabel password; JButton login; JLabel status; static Security l; /* * [MENTION=46681]security[/MENTION] creates location and sets the x and y to set the fields * (TextField,PasswordField,Labels, etc.) */ public Security(){ userField = new JTextField(10); passField = new JPasswordField(10); username = new JLabel("Username:"); password = new JLabel("Password:"); login = new JButton("Login"); status = new JLabel("Status:"); setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);/*Sets the close operation*/ setSize(600, 500);/*Sets the Size of the window*/ setResizable(true);/*Resizable or not*/ GridBagLayout grid = new GridBagLayout(); GridBagConstraints c = new GridBagConstraints(); setLayout(grid); c.gridx = 0; c.gridy = 0; add(username,c);/*Adds the username name label*/ c.gridx = 0; c.gridy = 1; add(password,c);/*Ads the password label*/ c.gridx = 1; c.gridy = 2; add(login, c);/*Login button*/ c.gridx = 0; c.gridy = 3; add(status,c);/*Sends a message*/ c.gridx = 1; c.gridy = 0; add(userField,c);/*Entering user name*/ c.gridx = 1; c.gridy = 1; add(passField,c);/*Entering password*/ login.addActionListener(this);/*Adds THIS listener*/ setVisible(true); } /* * [MENTION=31647]Main[/MENTION] runs Security */ public static void main(String[] args){ l = new Security(); } /* *@Performs the login action */ [MENTION=19271]supp[/MENTION]ressWarnings("deprecation") public void actionPerformed(ActionEvent e) { if(e.getSource() == login){ String user = userField.getText(); String pass = passField.getText(); if(user.equals("kyle") && pass.equals("lol")){ status.setText("Status:Logged in"); try {/* [MENTION=165742]Write[/MENTION]s inside the set location(have to make the boolean true or it will not write a new line) */ BufferedWriter fw = new BufferedWriter(new FileWriter("C:\\Users\\Kyle\\Desktop\\writer.txt", true)); fw.write(user + " " + pass);/ [MENTION=165742]Write[/MENTION]s what you want it to write*/ fw.newLine();/*@Creates a new line */ fw.flush();/*@Flushes it*/ fw.close();/*@Closes it*/ } catch (IOException ee) { /* [MENTION=33707]Cat[/MENTION]chs if needed */ } }else if(!user.equals("kyle")){/*@If not equal to the string(user) then sends a message*/ status.setText("Status:You entered the wrong username."); }else if(!pass.equals("lol")){/*@If not equal to the string(password) then sends a message*/ status.setText("Status:You entered the wrong password."); }else{ status.setText("Status:Error has occured."); } } } }[/CODE] Sincerely,Googlerapesbing Hopefully this would be usually for some. :)
  10. why don't you set one to port 43594 and other to 43595.....
  11. Never mind, I found a solution to this problem.
  12. I was wondering if anyone had a method just like addwalkstep but instead gets the player's x and y and the object so when its clicked on walks a certain amount of steps. This would be very helpful to me at least get me started on it don't have to spoon feed me. Sincerely, Google rapes bing
  13. just do if player's level is more than or equal to (level) - this
  14. 1) It means the revisions of Rs, meaning updated graphics and other things of Rs. 2) You will need a jar or give them a another copy of client(not source).
  15. I think we are ok right now and you haven't post enough to help you community nor have the ability yet to become one also we need mature people not 15 year olds to be a mod.