Auto donation system,317-508-525-614
This works for my 614:
Tested Sources - Not giving name
Difficulty - 3/10
Base - PI
Revision - 614
Programs needed - Xampp, install the service MySql and Apache in Xampp (download from google)
Files Modified - Client.java, sql.java
~ Starting ~
First Download Xampp, Sql Java, and Donate Sql File>>>>> LINKS WILL BE AT BOTTOM!<<<<<<<
Next install it and install the services: MySql and Apache.
Now go to into the server folder and go to src > server > util > and put the sql.java file inside there. Please change the settings that correspond to yours. [Defualt is root for username and nothing for the pass]
Next go to src > server > model > players > Client.java and add this at the top:
import server.util.SQL;
Now search for the logout method and below:
PlayerSave.saveGame(this);
Add this:
SQL.createConnection();
SQL.saveStatus(this);
SQL.isDonator(this);
SQL.destroyConnection();
Now open Xampp and start Apache then MySql.
Then click Admin for MySql. Now login and create a Database called "status"
Then click import and import the donate.sql file
The system should now be setup, if any quires please contact me on the forums, or ingame ~thanks