Fixed some playerobject deltas not being sent correctly, Added quest acceptance window, Added /abadonquest, Fixed a few statement errors preventing zone in via character creation

This commit is contained in:
Waverunner
2014-08-26 12:46:18 -04:00
parent 7a891289db
commit 274e6a9926
8 changed files with 93 additions and 21 deletions
+2 -2
View File
@@ -128,12 +128,12 @@ public class ConnectionService implements INetworkDispatch {
try {
preparedStatement = databaseConnection.preparedStatement("SELECT accountId FROM sessions WHERE key=?");
preparedStatement = databaseConnection.preparedStatement("SELECT \"accountId\" FROM sessions WHERE key=?");
preparedStatement.setBytes(1, clientIdMsg.getSessionKey());
resultSet = preparedStatement.executeQuery();
if (resultSet.next()) {
long accountId = resultSet.getLong("accountID");
long accountId = resultSet.getLong("accountId");
client.setAccountId(accountId);
client.setSessionKey(clientIdMsg.getSessionKey());