I'll try to out-line the various transition states.



Game Account State1 - auth by user/pass

Game Account State2 - auth by user/pass, and linked to steam

Game Account State3 - auth linked to steam



So if you had an account in any of the 3 states prior to transition, it is itself a unique account. So when we go to transition:



State1 - download patcher login user/pass -> get old gameforge id -> re-cache credentials, mark as transitioned, clear gameforge linkage



State2 -

possible senario #1

step 1 - transition via user/pass -> ask migrate -> check gameforge id -> re-cache creds, mark as transitioned, clear gameforge linkage

step 2 - login via steam -> see gameforge steam linkage -> ask migrate -> get gameforge id, can't find it, lookup already transitioned account, link to that.



senario #2

step 1 - connect via steam -> ask migrate -> check gameforge id -> detect we have no user/pass show "create user/pass dialog"

senarios -> user enters user/pass from old linkage, lookup is preformed, if same gameforge id -> link account

else its a different gameforge id, its a different account no merging supported.

user enters user/pass but maybe forgot the password, you get account exists error (you need your correct gameforge user/pass)

user enters new user/pass -> make sure its really new (check gameforge, check hex) then cache that set it on the account, this old gameforge ID now has this user/pass auth (along with steam auth), the original gameforge user/pass is no longer valid, because this is now set for the migrated account.



step 2

option1 - user logins in the normal client with old gameforge/user pass, can't find this in hex's auth, check gameforge, check hex again on the id returned, notice its already transitioned, get invalid_account error, you didn't use the "new" user pass set in step1.



option2 - user login in the normal client uses new user/pass, you're in



State 3 - (user only had steam linkage)

step1 -> connect via steam -> ask migrate -> check gameforge -> detected we have no valid user/pass show "create user/pass dialog

user must end new unique email/pass all steam accounts require email pass now. (allows SSO on forums).





So if you had a unique Steam account and a unique Normal auth account, these accounts are still separate accounts, we can't merge the data its not supported.



Probably the biggest hiccup here is, you have normal and steam auth on your account, but you've been using steam so long you forgot your normal auth, now you can't link. In that case you would need to reset your password with gameforge's system (so you knew what it was) then enter the credentials in the "create account" popup. The link to reset your pass with gameforge; I'm working on seeing where that might be, but as of right now I'm not sure if there is one. Or you could pick a new email and live with that as your normal email/pass auth. If you do pick a new email, there is no recovery of your old email. At some point when gameforge is no longer checked for migration you could recover it at that point (once we add in change email functionality).