Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. 1.) Coppy QSL.java and "com" folder in to src/server/util/
  2. 2.) Make a new database on your webhost.
  3. 3.) Open sql.java file and add details about mysql:
  4. con = DriverManager.getConnection("jdbc:mysql://zigiscape.info:3306/database_name","database_user","password;
  5. 4.) Open client.java (serversided) and search for public void initialize() {
  6. and under it add:
  7. if (playerRights != 3) {
  8. SQL.createConnection();
  9. SQL.saveHighScores(this);
  10. SQL.destroyConnection();
  11. }
  12.  
  13. 5.) Go to old webhost and coppy highscores folder to your new host.
  14. 6.) Change all the details in highscore files (links, qsl info, etc).
  15.  
  16. thats all i think....
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement