Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singapore Login doesn't work #29

Open
MaxiBoether opened this issue Sep 21, 2014 · 4 comments
Open

Singapore Login doesn't work #29

MaxiBoether opened this issue Sep 21, 2014 · 4 comments

Comments

@MaxiBoether
Copy link
Contributor

Hey,

I've been trying to connect to the SG Garena server with my Garena credentials that DO work in the Garena client and Garena SG LoL Forums, but still I always receive:
Exception in thread "main" net.boreeas.riotapi.com.riotgames.platform.account.management.InvalidCredentialsException
at net.boreeas.riotapi.loginqueue.LoginQueue.getAuthToken(LoginQueue.java:58)
at net.boreeas.riotapi.loginqueue.QueueTimer.run(QueueTimer.java:89)

My credentials are 100% correct, checked multiple times. Connecting to XMPP with those credentials works too, must be a riotapi problem.
My Java code:
sgClient = new AlertClient(Shard.SG, ChatServer.SEA, "username, eg. Mayesters",
"password");
try {
sgClient.connect();
} catch (NoServerSpecifiedException | InterruptedException e) {
log(stackTraceToString(e), LogLevel.ERROR);
}

(Custom Methods etc., just posted them to be complete)
Do Garena credentials need to be altered in some way?

Sincerely,
Mayesters

@strangeglyph
Copy link
Member

As far as I'm aware, the Garena regions use a lightly different login process, but I haven't had a garena account to test it with. If you want to help, it would be great if you could do some digging: Could you install a network monitoring tool like netmon and see where the client connects to during the login process?

@MaxiBoether
Copy link
Contributor Author

I'll do that later today when I come home, but the problem with Garena is that you have the Garena+ launcher and this launcher opens LoL. So should I capture the whole process or just the LOL Launcher (you dont log in in the lol launcher, garena does that for you)?

I am not that pro of a dev, I am sorry :(

Am 22.09.2014 um 05:34 schrieb Boreeas [email protected]:

As far as I'm aware, the Garena regions use a lightly different login process, but I haven't had a garena account to test it with. If you want to help, it would be great if you could do some digging: Could you install a network monitoring tool like netmon and see where the client connects to during the login process?


Reply to this email directly or view it on GitHub.

@strangeglyph
Copy link
Member

Capture the whole process, the login is the interesting part

@MaxiBoether
Copy link
Contributor Author

I did capture it, the Garena login seems to be very complicated (Binary based) and everything on the web is outdated. If you hit me up on IRC we can have a look, maybe. I can't solve this for myself.
https://github.com/achimala/leaguelib/blob/master/src/com/gvaneyck/rtmp/LoLRTMPSClient.java
If you look at the getGarenaToken function you'll see what I mean. But this function is outdated, it does work until the league auth servers tho.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants