Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Close game when failed to login due to expired token #57

Open
cunhar opened this issue Aug 25, 2023 · 1 comment
Open

Comments

@cunhar
Copy link

cunhar commented Aug 25, 2023

is it possible to make the game close down if it gets an invalid session?

image

@Bstn1802
Copy link
Owner

Ah, I don't know if like that idea...
So the purpose is to relaunch the game to re-validate the session, or rather create a new one actually, to then be able to reconnect to a certain server. The problem is, that this requires some sort of mechanism that restarts the game automatically after it closes and additionally connects to a specific server and I don't want to rely on people having third party programs or launchers like you do and just kill the game, leaving the restarting and reconnecting part to those programs/launchers.

There is a mod by axieum called AuthMe, which adds a re-login button to the screen allowing for people to re-login from within the game. I'm not sure if it works automatically actually, I rarely ran into that problem while afking, but I am making sure, those two mods work together, simply because I'm using it myself and you might want to look into that mod, try it out, see if it already solves or at least improves your problem and maybe it's better to request some sort of auto-re-login there, which wouldn't actually be a new request iirc, so maybe instead bump on of the open requests there if you can find it, I think I've seen something along those lines be for, not sure.
Alternatively it might be possible to make a mod or an autoclicker automatically click through the buttons added by AuthMe, under the assumption that the microsoft login would work without having to enter any username or password, which sometimes does work, but might not in this case specifically.

Then finally we could again think about a better idea of auto-reconnecting, by relaunching the entire game, preferably without relying on other programs/launchers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants