1 Attachment(s)
[Release] Login fix - ID Already Logged
Edited 2 ---- MapleClient.java
Search
Code:
if (state == MapleClient.LOGIN_SERVER_TRANSITION) {
Timestamp ts = rs.getTimestamp("lastlogin");
long t = ts.getTime();
long now = System.currentTimeMillis();
if (t + 30000 < now) { // connecting to chanserver timeout
state = MapleClient.LOGIN_NOTLOGGEDIN;
updateLoginState(MapleClient.LOGIN_NOTLOGGEDIN);
}
}
change to
Code:
if (state == MapleClient.LOGIN_SERVER_TRANSITION) {
Timestamp ts = rs.getTimestamp("lastlogin");
long t = ts.getTime();
long now = System.currentTimeMillis();
if (t + 30000 < now) { // connecting to chanserver timeout
state = MapleClient.LOGIN_NOTLOGGEDIN;
updateLoginState(MapleClient.LOGIN_NOTLOGGEDIN);
}
updateLoginState(MapleClient.LOGIN_NOTLOGGEDIN);
loggedIn = false;
serverTransition = false;
}
http://forum.ragezone.com/attachment...1&d=1219545070
D/C..... Omg already logged F5555555
CLick again LOGIN button :drinks_ch
********
Quote:
Originally Posted by
narvin
so basically does this mean when u click the login button and it says its already logged in, it automatically logs you off from there?
what if a person is actually online already? lol
it only fix LOGIN_SERVER_TRANSITION error after D/C
LOGIN have 3 states
LOGIN_NOTLOGGEDIN = 0;
LOGIN_SERVER_TRANSITION = 1; (After CC, Change map, etc...)
LOGIN_LOGGEDIN = 2;
********
Quote:
Originally Posted by
thisisakevin
Lol nice... Yeah...
I've been having some problems on my server... People don't log off when they really are logged off :/
I tried !dc and !worldtrip on them... But nothing happens...
I hope this will fix it
sometimes I have this problem, how could any fix?
***************
Some experts in Java .... it is necessary to put
loggedIn = false;
below
updateLoginState(MapleClient.LOGIN_NOTLOGGEDIN); ????????????????? O.O
*****************
Re: [Release] Login fix - ID Already Logged
Nice Release Dude, Gonno Go Test :)
Re: [Release] Login fix - ID Already Logged
Re: [Release] Login fix - ID Already Logged
.. What if someone's on the account for reals? And your trying to hack them. Would the person on the acc d/c?
Re: [Release] Login fix - ID Already Logged
so basically does this mean when u click the login button and it says its already logged in, it automatically logs you off from there?
what if a person is actually online already? lol
Re: [Release] Login fix - ID Already Logged
Lol i actually also dont get can you please Tell us what its for?
Re: [Release] Login fix - ID Already Logged
it only fix LOGIN_SERVER_TRANSITION error after D/C
LOGIN have 3 states
LOGIN_NOTLOGGEDIN = 0;
LOGIN_SERVER_TRANSITION = 1;
LOGIN_LOGGEDIN = 2;
Re: [Release] Login fix - ID Already Logged
Are you retarded HonorMS? If fixes the Already logged in glitch
Re: [Release] Login fix - ID Already Logged
you dont have to flame Me :(
Re: [Release] Login fix - ID Already Logged
Quote:
Originally Posted by
HonorMs
you dont have to flame Me :(
That made me loled.
Re: [Release] Login fix - ID Already Logged
okay, Mostly this is used so people dont need those CMS things on there website..
And it will automatically log them out. Yay. We understand? if not.. wow..
Re: [Release] Login fix - ID Already Logged
edit: nvm my bad and ty for release.
Re: [Release] Login fix - ID Already Logged
Uhmmm.
Ok so this is a semi logged in bug fix.
Since it only affects status 1 and most of the login problems are status 2.
Useful but still gonna have the other form of login glitch. :\
Re: [Release] Login fix - ID Already Logged
Own two accounts? So when you log in to one, the other (by right) should DC, right?
Re: [Release] Login fix - ID Already Logged
Omfg, Gawd, Lemme explain what this does...
Ever was in the middle of selecting a character? Or after you select one, you DC? Then when you try and login, its says you already are?
Well what this does, if you DC, before going into the actual world, it sets it back to 0 automatically. :]
This should stop the narb questions :]