mta-discord-rpc icon indicating copy to clipboard operation
mta-discord-rpc copied to clipboard

Doesn't work at all when server changes your nick

Open Fernando-A-Rocha opened this issue 3 years ago • 2 comments

According to the README:

The status gets set to "Idle", even though I'm still connected to the server This often happens on servers which change your MTA:SA nickname (for instance, when you login to a server with a custom account system). Make sure the nickname you've set in the MTA:SA settings is equal to the one you have on the server you're connected to.

Many servers change your nick, notably servers which an have accounts/characters system (an important percentage of active MTA servers).

Is there any way you can fix the app so it works with nick changes?

Fernando-A-Rocha avatar May 14 '22 12:05 Fernando-A-Rocha

FRP doesnt change my nick at all, for example, but it still gets stuck at Idle

pcislocked avatar Aug 01 '22 00:08 pcislocked

Unfortunately, this isn't possible with the current implementation, as it identifies the player by name. To get around this, you would also have to build a server-side implementation, which I tried to avoid. If you have an idea or a better approach, let me know.

pkfln avatar Jan 13 '23 17:01 pkfln