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. Quote
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.. Quote
ExCaLiBuR® Posted May 11, 2012 Posted May 11, 2012 mia xara douleuei eseis logika tha kanete kapoio lathos sto code Quote
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 +/- Quote
Dulens. Posted June 13, 2012 Posted June 13, 2012 Tested and working fine in my server, in few hours I will post picture! Quote
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 Quote
sunleo Posted July 6, 2012 Posted July 6, 2012 sounds cool and its really usefull .. thanks for sharing :) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.