Pauler Posted May 11, 2012 Posted May 11, 2012 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.
maximilion2 Posted May 11, 2012 Posted May 11, 2012 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..
ExCaLiBuR® Posted May 11, 2012 Posted May 11, 2012 mia xara douleuei eseis logika tha kanete kapoio lathos sto code
Spidey* Posted June 13, 2012 Posted June 13, 2012 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 +/-
Dulens. Posted June 13, 2012 Posted June 13, 2012 Tested and working fine in my server, in few hours I will post picture!
Spidey* Posted June 13, 2012 Posted June 13, 2012 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
sunleo Posted July 6, 2012 Posted July 6, 2012 sounds cool and its really usefull .. thanks for sharing :)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now