twisteroidambassador / llsifclient

A partial implementation of Love Live School Idol Client game client
GNU General Public License v3.0
33 stars 9 forks source link

Does this work for the newest EN version of LLSIF? #3

Open lykkelille opened 7 years ago

lykkelille commented 7 years ago

I am quite new to python but I am trying to make this work. I have a hmac-key that i HOPE is correct, (b'- - u - - - - t - - i) (11 letters)? Is this for the EN version, or for the JP? I really hope I can make this work and that I have the correct key.

I tried to put the key in, but I got some error about server maintenance? Am I lost?

Thanks.

chazeon commented 7 years ago

I'm sure it will not work for JP server since the login method changed two months ago yet the code didn't. For a server is on maintenance response, most likely you are not sending an updated version number.

chazeon commented 7 years ago

See the header section in the client.py, look for bundle / client / server version keywords, update them with the most updated version number.

lykkelille commented 7 years ago

Okay, so, it will work for the newest EN version? 4.1.3 ? Does the key look correct?

Thank you so much!

chazeon commented 7 years ago

Sorry I haven't play with the EN server... Not sure about the key. For 4.1.3 it should work since the update in login method happens at 4.3 update on JP server.

chazeon commented 7 years ago

Maybe you could capture some requests and calculate to verify whether the key is correct.

lykkelille commented 7 years ago

Thanks again. I am getting help for this so I am kind of a middleman asking questions :) Do you know what the server URL is for the EN version?

Thank you!!

lykkelille commented 7 years ago

Now Im getting HTTP status code 403, "Error from Cloudfront, does this mean that the HMAC is wrong?

chazeon commented 7 years ago

Wrong HMAC will indeed cause 403.

twisteroidambassador commented 7 years ago

I haven't updated this code in a long time, and do not expect it to work with latest JP.

I know the correct key for JP pre-update, no idea whether it's still the same key. Your key has the same length, but the content looks different.