Forums › English Language Forums › Technical › Technical Issues

Search

auto-login with a standalone client by using a extra.txt file

3 replies [Last post]
Fri, 09/05/2014 - 03:13
Jenovasforumchar's picture
Jenovasforumchar

Hello community,

I already used successfully an extra.txt file to login with a standalone client (the downloadable thing from spiral homepage).

Now I got my friend in this game who created her account on the spiralknights-page itselfe.

My question:
How do I have to write the extra.txt file to automatically login without the need to enter the password each time - given that I know the PW and ID?

I already searched in various java guides and login-issue problems form this page (whose are unfortunally about other issues like steam-logins generally), but I could not have any success yet.

Please tell me what to write into the file or where I can read a guide about manipulating with the extra.txt file in general.

Thanx for helping in advance.

Sat, 09/06/2014 - 04:43
#1
Sandwich-Potato's picture
Sandwich-Potato

I use Kongregate, and my extra.txt file looks something like this:

-Dkongregate=true
-DkongregateName=XXX
-DkongregateId=XXX
-DkongregateAuthToken=XXX

If you right click on the web page launcher and click "View Frame Source", it should open a new tab that might have some information similar to what I use. Other than that though, I'm not sure how to help you though, since I generally didn't use the main website account at all.

Sat, 09/06/2014 - 06:49
#2
Jenovasforumchar's picture
Jenovasforumchar

Yea, sandwich, I am very greatful that you posted that in the two other topics. Actually it was your post that made my extra.txt working with my kongregate account.

But this is a slightly different problem. Since you are the one who figured out what to write into the extra.txt for kongregate, please explain me how you got to the point, how did you know what to enter and where did you get your knowledge from?

I am willing to find the way myselfe, but tell me how to start it please.

Thu, 10/02/2014 - 02:47
#3
Jenovasforumchar's picture
Jenovasforumchar
SOLVED !

Okay I figured it out, thanx Sandwich for the hint:

1) Create the extra.txt in the correct place (view other topics for that. Sandwich may insert a link here)

2) The extra.txt needs to have fallowing content with all minuses and Ds that are written down. the ### are placeholders

-Dapplet=true
-DsessionKey=################################
-Dusername=###

3) change the placeholders to the correct information.

-Dusername is the ID or usenerame you enter while logging in. just as usual

-DsessionKey needs to be figured out yourselfe by doing as fallowing:
1. Log in at www.spiralknights.com
2. Go to the main page where you see the button *play now*. Click this.
3. At the next page do a right click anywhere and select *show source code* (in German "Quelltext anzeigen").
4. Look in the sourcecode for the line
param name="app_properties" value="
and copy the alphanumerical 'sessionKey' into your extra.txt

4) save the extra.txt, close the extra.txt and double click the launcher by never ever needing to enter your password again - voilá

EDIT:
It does work like written above but there is one issue: Spiral Knights will change the sessionKey on a daily base.
You can set a auto-login function each day, so you can fastly login for further sessions on the same day; but you have to redo it each day.

For my girlfriend I did create a link to the extra.txt file on her desktop and since she saved her login password on the website, it is only 3 clicks till she can get the sessionKey herselfe. She deeply aprecciate this way, so it may be a though for you, too ;)

Powered by Drupal, an open source content management system