My first small release :D
To fix auto register:
Go to the Loginpasswordhandler.java file.
Find:
Replace with:Code:PreparedStatement ps = DatabaseConnection.getConnection().prepareStatement("INSERT INTO accounts (name, password, email, birthday, macs, lastknownip) VALUES (?, ?, ?, ?, ?, ?, ?)");
Thank god for printStackTrace() !Code:PreparedStatement ps = DatabaseConnection.getConnection().prepareStatement("INSERT INTO accounts (name, password, email, birthday, macs, lastknownip) VALUES (?, ?, ?, ?, ?, ?)");
Possible cause for error: BubbleDev does not use the password2 column which ThePack does. Therefore, it does not set the password2 column. However, the last parameter of the sql statement was not erased.


Reply With Quote

