@here
[Engine Update]
- added **LoginManager**
-> accessable through top menu bar
-> this will add the possibility to maintain login tokens of multiple d2r accounts to easily switch/set them without the need of external tools like **D2RML**
D2R login works via registry keys the bnet launcher and the game set and use
these tokens expire after n amount of hours not being connected to the online d2r server
which means that you need to set this up manuallly again after a certain amount of time not being connected with the given account
**Setup Example with 2 Accounts**
- use retail bnet launcher to login to Account A and start the game
- connect to the game server until u are in the main screen with the char selection
- close d2r and launch it again via mosquito so you get the Infinity.D2R engine injected
- open **LoginManager** and enter a name of the new logindata u want to save and press **Add**
- an entry will automatically appear with the **WEB_TOKEN** from registry alrdy stored and attached to it
- close d2r
- use retail bnet launcher to login to Account B and start the game
- connect to the game server until u are in the main screen with the char selection
- close d2r and launch it again via mosquito so you get the Infinity.D2R engine injected
- open **LoginManager** and enter a name of the new logindata u want to save and press **Add**
- an entry will automatically appear with the **WEB_TOKEN** from registry alrdy stored and attached to it
- now you can launch a 2nd d2r instance via mosquito (if you have a 2nd licence for Infinity.D2R)
- after d2r launch and **BEFORE** you click into the screen to connect to the server you need to open **LoginManager**
and press the **Login** btn of the entry you want to use now
- this will set the previously stored/updated WEB_TOKEN in registry
- once done you will also see the currently used entry marked red in the LoginManager GUI
- if you dont have a 2nd Infinity.D2R licence you can also use this tech to set the WEB_TOKEN of a normal d2r instance u launch via the D2R.exe without bnet retail launcher
-> with your mosquito launched d2r instance alrdy logged in and in-game you can simply set the desired logindata via **LoginManager** and launch a non-infinity instance of d2r manually and login to set account
**keep in mind that loggin into accounts and using them without infinity.d2r injected it wont update the WEB_TOKEN of currently used account which means it will invalidate em and they cant be used for next login/acc switch with infinity, which means you need to manually set the tokens again**
**Updating Tokens of alrdy created LoginManager entries**
- same steps as if you would freshly create some, so using bnet retail launcher to login to desired account and start it once and login without infinity
- before connect-to-server screen or if alrdy in main-menu with char select you now just press the **Refresh** button in LoginManager in the entry of choice
-> this will update the WEB_TOKEN and its rdy to be used again