Jump to content

Recommended Posts

  • 4 weeks later...
  • 6 months later...
Posted

no work for frozen :(

It just needs some minor modifications to work on l2jfrozen. It is not that hard to do it even if you are a newbie.

 

But someone has already shared this on frozen forum adapted for frozen.

Posted

It just needs some minor modifications to work on l2jfrozen. It is not that hard to do it even if you are a newbie.

 

But someone has already shared this on frozen forum adapted for frozen.

 

yeah i changed all imports and works fine no errors while compile but when login no appear in screen..

  • 2 weeks later...
  • 3 weeks later...
Posted

mia xara douleuei eseis logika tha kanete kapoio lathos sto code

no work for frozen :(

[code]Index: LoginController.java

		if (ok)
		{
			client.setAccessLevel(access);
			client.setLastServer(lastServer);
+				statement = con.prepareStatement("UPDATE accounts SET lastactive=?, lastIP=? WHERE login=?");
-				statement = con.prepareStatement("UPDATE accounts SET lastactive=? WHERE login=?");
			statement.setLong(1, System.currentTimeMillis());
+				statement.setString(2, address.getHostAddress());
+				statement.setString(3, user);
-				statement.setString(2, user);
			statement.execute();
			statement.close();
		}

should be:

Index: LoginController.java

		if (ok)
		{
			client.setAccessLevel(access);
			client.setLastServer(lastServer);
-				statement = con.prepareStatement("UPDATE accounts SET lastactive=?, lastIP=? WHERE login=?");
+				statement = con.prepareStatement("UPDATE accounts SET lastactive=? WHERE login=?");
			statement.setLong(1, System.currentTimeMillis());
-				statement.setString(2, address.getHostAddress());
-				statement.setString(3, user);
+				statement.setString(2, user);
			statement.execute();
			statement.close();
		}

check +/-

Posted

Tested and working fine in my server, in few hours I will post picture!

yea of course it's working, I just tested it.. but as I said, the plus should be minus in the patch of LoginController.java
  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock