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

Show the status in game #153

Open
scarrrr316 opened this issue Aug 4, 2022 · 3 comments
Open

Show the status in game #153

scarrrr316 opened this issue Aug 4, 2022 · 3 comments

Comments

@scarrrr316
Copy link

show the current status of the game e.g. deceive active! (offline)
at friend list ↓
image
so dont need to right click deceive to check the status

@aPinat
Copy link
Contributor

aPinat commented Aug 4, 2022

You can DM the Deceive 'friend' with status and it will reply with the currently selected status.

@scarrrr316
Copy link
Author

You can DM the Deceive 'friend' with status and it will reply with the currently selected status.

but its not straightforward enough

@Indeedornot
Copy link

Indeedornot commented Aug 8, 2022

I do believe such a feature would come in handy. I am curious as to what would take to implement it. I've looked around in the code and from what I can see the chat is inserted into requested by Riot friend list. That does not seem to update itself other than upon a restart - similiar to what is needed to see a new nickname of a person that has changed their name. The only thing I was able to modify was the name registered at the start in the outgoing loop

            content = content.Insert(
              content.IndexOf(roster, StringComparison.Ordinal) + roster.Length,
              $"<item jid='41c322a1-b328-495b-a004-5ccd3e45eae8@eu1.pvp.net' name='&#9;{Status}!' subscription='both' puuid='41c322a1-b328-495b-a004-5ccd3e45eae8'>"
              + "<group priority='9999'>Deceive</group>"
              + $"<id name='&#9;{Status}!' tagline=''/><lol name='&#9;{Status}!'/>"
              + "</item>"

Worked some more and found some way that this could be achieved - through requesting a friend list again in outgoing loop with adding get query. For now i do not have yet a working example however it seems very plausable to work should it be deemed valuable to be added by devs

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

3 participants