Farmith / D2RMIM

Diablo II : Resurrected - Multi Instance Manager - Open multiple clients on one PC
GNU General Public License v3.0
68 stars 19 forks source link

proof of concept of refreshing tokens from battle.net #11

Closed dschu012 closed 2 years ago

dschu012 commented 2 years ago

this isnt really something meant to be merged in without some more code behind it.... but basically is a proof of concept of letting the users login via the browser, obtaining the token from there, and "encrypting" it, and using the browser token as your registry WEB_TOKEN. this lets user's configure their accounts via logging in with a browser as opposed to launching the game and getting it from there. also from what i've heard these tokens last a bit longer than the ones refreshed by the game, so you do not want to replace these token's w/ the ones that are in game.